/* Eye of Light – the paper theme, over main.css on every page (<body class="paper">).
   One large sheet of paper painted after the middle of the lotus painting (assets/img/paper.jpg: rose ground, drifts and
   fans of fine red filaments, faint cream arcs) lies fixed behind the whole site, alive with drifting light, motes and
   petals (paper-life.js), and runs faintly through its dark bands; bindi red and gold for type, buttons and edges; cards
   as panes of warm paper; the header a veil of the same paper; the lotus from the painting as the mark. */

/* ---------- the paper, and the life on it */
body.paper {
  --ruby: #C8102E; --crimson: #E2233F; --rose: #EE5A6E; --blush: #FAD3D8; --wine: #5A0A18;
  --accent: #C8102E; --accent-2: #FBC9D0; --wash: transparent; --accent-ink: #9C0A22; --bad: #C8102E;
  --paper-veil: rgba(230, 188, 174, .76);
  background: #E2B8A9;
}
/* the sheet breathes: it swells and settles very slowly, so its fibres are never quite still */
body.paper::before { content: ''; position: fixed; inset: -3%; z-index: -1; background: #E2B8A9 url('/assets/img/paper.jpg') center / cover no-repeat;
  animation: paper-breathe 36s ease-in-out infinite alternate; will-change: transform; }
@keyframes paper-breathe { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(-.8%, -1.1%, 0); } }
body.paper .paper-life { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body.paper .paper-life--light { mix-blend-mode: overlay; }
@media (prefers-reduced-motion: reduce) { body.paper::before { animation: none; } }
body.paper ::selection { background: #F5B9C2; color: #3A0614; }

/* ---------- the header: clear over the home page's painting, then a veil of the paper that fades in as the page
   scrolls; on the other pages the veil is there from the start */
/* The veil and its blur live on a layer behind the header, not on the header itself: a blurred element becomes the frame
   for anything fixed inside it, and the phone menu (fixed, inside the header) would be squeezed into the header's bar. */
body.paper .site-header, body.paper .site-header.is-solid, body.paper .site-header--solid { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
body.paper .site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: rgba(230, 188, 174, 0); box-shadow: 0 1px 0 rgba(176, 124, 46, 0), 0 8px 22px rgba(90, 10, 24, 0);
  -webkit-backdrop-filter: blur(0px) saturate(1); backdrop-filter: blur(0px) saturate(1);
  transition: background-color .9s var(--ease), box-shadow .9s var(--ease), -webkit-backdrop-filter .9s var(--ease), backdrop-filter .9s var(--ease); }
body.paper .site-header.is-solid::before, body.paper .site-header--solid::before { background-color: var(--paper-veil); box-shadow: 0 1px 0 rgba(176, 124, 46, .35), 0 8px 22px rgba(90, 10, 24, .07);
  -webkit-backdrop-filter: blur(12px) saturate(1.05); backdrop-filter: blur(12px) saturate(1.05); }
/* the menu button turns into a cross while the menu is open */
body.paper .menu-btn { border-radius: 999px; }
.menu-btn[aria-expanded='true'] span { background: transparent; }
.menu-btn[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }
body.paper .brand img { width: 58px; filter: drop-shadow(0 2px 3px rgba(110, 8, 28, .22)); }
body.paper .brand__name { background: linear-gradient(180deg, #D42341, #8E0A20); -webkit-background-clip: text; background-clip: text; }
body.paper .brand__tag { color: #7E3A46; }
body.paper .menu-btn { color: var(--accent-ink); border-color: rgba(156, 10, 34, .35); }
/* the booking button keeps its light letters among the dark nav links, and on its own page wears a gold ring, not the nav's marker */
body.paper .nav a.btn, body.paper .nav a.btn:hover, body.paper .nav a.btn[aria-current='page'] { color: #FFF4EE; }
body.paper .nav a.btn[aria-current='page'] { box-shadow: inset 0 0 0 2px rgba(255, 228, 170, .8), var(--lift); }
body.paper .nav a.btn[aria-current='page']::after { content: none; }
@media (min-width: 1061px) {
  body.paper .nav a { color: #6E1022; }
  body.paper .nav a:hover, body.paper .nav a[aria-current='page'] { color: var(--accent); }
  body.paper .nav a[aria-current='page']::after { background: var(--accent); }
}
@media (max-width: 1060px) {   /* the menu opens as a sheet of the paper */
  body.paper .nav { background: rgba(236, 204, 190, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  body.paper .nav a { color: #6E1022; border-bottom-color: rgba(156, 10, 34, .16); }
  body.paper .nav a[aria-current='page'] { color: var(--accent); }
  /* Planets and its sections, set out together */
  .nav__group { display: block; }
  .nav__group > a { display: block; padding-right: 0 !important; border-bottom: 0; }
  .nav__caret { display: none; }
  .nav__sub, .nav__group.is-open .nav__sub { display: grid; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; min-width: 0; padding: 0 0 10px; background: none; border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid rgba(156, 10, 34, .16); }
  .nav__sub::before { content: none; }
  .nav .nav__sub a { padding: 9px 4px; border-bottom: 0; font-size: 1rem; white-space: normal; }
}

/* ---------- the home page: one hero, the verse on the left and the lotus on the right
   (on narrow screens the lotus above and the verse below it) */
body.paper .hero { display: grid; align-items: end; background: transparent; color: var(--ink); }
body.paper .hero__content { position: relative; inset: auto; background: none; padding: 0 var(--gutter) clamp(26px, 5vh, 48px); }
@media (min-width: 900px) {
  body.paper .hero { align-items: center; }
  body.paper .hero__content { width: 50%; padding: 110px clamp(24px, 4vw, 72px) 64px; }
}
body.paper .verse__sa { color: #9E0B25; text-shadow: none; }
/* on a narrow screen the lotus has its own room above the words: a long verse makes the opening section taller rather than cross the flower */
@media (max-width: 899px) { body.paper .hero__content { padding-top: calc(74px + clamp(166px, 46vw, 240px)); } }
body.paper .verse__meaning { background: linear-gradient(90deg, transparent, rgba(255, 240, 232, .5) 18%, rgba(255, 240, 232, .5) 82%, transparent);
  border-image: linear-gradient(90deg, transparent, rgba(176, 124, 46, .75), transparent) 1; }
body.paper .verse__en { color: #571421; }
body.paper .verse__src { color: #74404A; }

/* everything at once: the paper, its life, the lotus, the header and the verse are held back until the lotus has been
   drawn on its paper, then all of them appear in the same frame, with no fade and no slide */
body.paper.is-loading::before, body.paper.is-loading .hero__stage, body.paper.is-loading .paper-life { opacity: 0; }
body.paper.is-loading .hero__content { transform: none; }
body.paper.reveal-ready .hero__content, body.paper.reveal-ready .site-header { transition-property: background-color, box-shadow, -webkit-backdrop-filter, backdrop-filter; }

/* ---------- the other pages: their title on the paper, beside the lotus – one compact band, so that the page's own
   content begins on the first screen, even on a phone */
body.paper .page-hero { background: transparent; color: var(--ink); padding: clamp(100px, 9vw, 118px) 0 clamp(8px, 1.4vw, 16px); overflow: visible; }
body.paper .page-hero::before, body.paper .page-hero::after { display: none; }
body.paper .page-hero h1 { color: #9E0B25; text-shadow: 0 1px 0 rgba(255, 240, 232, .6); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.04;
  margin: 0 0 .2em; max-width: 24ch; text-wrap: balance; }
body.paper .page-hero p { color: #5E1A26; max-width: 60ch; font-size: clamp(1rem, 1.45vw, 1.13rem); line-height: 1.5; }
body.paper .page-hero .gold-dots { margin-top: 10px; }
body.paper .page-hero .gold-dots i { background: #C8973A; }
body.paper .page-hero .gold-dots i:nth-child(2n) { background: #C8102E; }
body.paper .page-hero__bar { margin-top: 16px; gap: 8px 10px; }
body.paper .page-hero__art { right: clamp(-20px, 3vw, 80px); top: 68px; bottom: auto; width: min(240px, 22vw); opacity: 1; filter: drop-shadow(0 14px 20px rgba(110, 8, 28, .2)); }
body.paper .page-hero__art::before { content: ''; position: absolute; inset: -18% -13% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 238, 214, .7), rgba(255, 238, 214, 0)); }
/* the Planets page: where the other pages have their lotus, the ways into the page */
body.paper .page-hero--side .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 40px; }
@media (min-width: 1000px) { body.paper .page-hero--side .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.hlinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hlink { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; padding: 10px 12px; background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .5); border-radius: 12px;
  text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(90, 10, 24, .1); transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.hlink:hover { transform: translateY(-2px); border-color: #B80D29; box-shadow: 0 8px 18px rgba(110, 8, 28, .16); color: var(--ink); }
.hlink:focus-visible { outline: 2px solid #B80D29; outline-offset: 2px; }
.hlink b { font: 600 1rem/1.2 var(--serif); color: var(--ruby); }
.hlink small { grid-column: 1 / -1; font-size: .79rem; line-height: 1.3; color: var(--ink-2); }
.hlink[aria-current] { background: linear-gradient(180deg, #C8102E, #8E0A20); border-color: #8E0A20; box-shadow: 0 8px 18px rgba(110, 8, 28, .3); }
.hlink[aria-current] b, .hlink[aria-current] small, .hlink[aria-current] .sec-icon { color: #FFF; }
.hgrahas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px 2px; margin-top: 8px; padding: 8px 8px 6px; background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .3); border-radius: 12px; }
.hgrahas__label { grid-column: 1 / -1; padding-left: 4px; font: 600 .72rem/1.1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hgraha { display: grid; justify-items: center; gap: 2px; padding: 3px 0; border-radius: 8px; font-size: .68rem; line-height: 1.1; color: var(--ink); text-decoration: none; }
.hgraha:hover { background: rgba(200, 16, 46, .1); color: var(--ink); }
.hgraha .gpick__disc { width: 28px; height: 28px; }
.hgraha .gpick__disc .glyph { width: 17px; height: 17px; }
@media (max-width: 760px) {   /* on a phone: just the six ways in, so that the page's content still begins on the first screen */
  .hlinks { gap: 6px; }
  .hlink { padding: 8px 6px; gap: 2px 4px; }
  .hlink b { font-size: .78rem; }
  .hlink small, .hgrahas { display: none; }
  .hlink .sec-icon { width: 15px; height: 15px; }
}
/* the first section follows the title closely instead of after a band's full breath */
body.paper #page > .band:first-child { padding-top: clamp(18px, 2.6vw, 34px); }
@media (max-width: 760px) {
  body.paper .page-hero { padding: 86px 0 4px; }
  body.paper .page-hero h1 { font-size: 1.95rem; max-width: 15ch; }
  body.paper .page-hero p { font-size: .98rem; line-height: 1.45; max-width: 34ch; }
  body.paper .page-hero .gold-dots { display: none; }
  body.paper .page-hero__bar { margin-top: 12px; }
  body.paper .page-hero__bar .control { padding: 8px 11px; min-height: 40px; font-size: .92rem; }
  body.paper .page-hero__bar > div { max-width: 100%; }
  body.paper .page-hero .dpick { flex-wrap: nowrap; }
  body.paper .page-hero .dpick__open { min-width: 0; flex: 1; white-space: nowrap; }
  body.paper .page-hero__art { width: 104px; right: 2px; top: 74px; opacity: .5; }
  body.paper .page-hero__art::before { inset: -18% 0 -6%; }
  body.paper .journey__replay { margin-top: 8px; }
}
body.paper .page-hero .control, body.paper .ivory-controls .control { background: rgba(255, 246, 240, .72); color: var(--ink); border-color: rgba(176, 124, 46, .5); }
body.paper .page-hero .control svg { color: var(--accent); }
body.paper .page-hero select.control { background-color: rgba(255, 246, 240, .72); background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); }
body.paper .page-hero .link-btn { color: var(--accent-ink); }
body.paper input[type='date'].control::-webkit-calendar-picker-indicator { filter: none; }
body.paper #page > section.band:first-child, body.paper main > section.band--tight:first-of-type { background: transparent; }

/* ---------- buttons */
body.paper .btn--gold { --bg: linear-gradient(180deg, #E2233F, #B80D29); --fg: #FFF4EE; }
body.paper .btn--gold:hover { --bg: linear-gradient(180deg, #EE3550, #C8102E); color: #FFF4EE; }

/* ---------- sections and cards: the light ones show the paper through their cards, the dark ones carry its filaments */
body.paper .band--sandal { background: transparent; }
body.paper .facet > .facet__in { background: linear-gradient(90deg, var(--accent), var(--gold-2) 55%, var(--rose)) top / 100% 4px no-repeat, rgba(255, 246, 240, .82); }
body.paper .facet--sandal > .facet__in { background: linear-gradient(90deg, var(--accent), var(--gold-2)) top / 100% 4px no-repeat, rgba(252, 238, 226, .84); }
body.paper .facet--night > .facet__in { background: linear-gradient(90deg, var(--rose), var(--gold-2)) top / 100% 3px no-repeat, linear-gradient(180deg, #4C0F1D, #2E0711); color: #F5E8DC; }
body.paper .band--night, body.paper .band--wine, body.paper .site-footer { position: relative; isolation: isolate; }
body.paper .band--night::before, body.paper .band--wine::before, body.paper .site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/img/paper.jpg') center / cover fixed; mix-blend-mode: soft-light; opacity: .7; }
body.paper .band--blush, body.paper .band--saffron, body.paper .band--jade { background: transparent; }

/* ---------- the currency switch: dollars or rupees, a gold thumb sliding between them */
.cur-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: rgba(255, 246, 240, .72); border: 1px solid rgba(176, 124, 46, .55); box-shadow: inset 0 1px 3px rgba(90, 10, 24, .12); }
.cur-switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 9px 18px; min-width: 92px; border-radius: 999px;
  font: 500 .92rem/1 var(--sans); letter-spacing: .06em; color: #7E3A46; transition: color .35s var(--ease); }
.cur-switch button b { font: 600 1.05rem/1 var(--serif); margin-right: 2px; }
.cur-switch button[aria-checked='true'] { color: #FFF4EE; }
.cur-switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: linear-gradient(180deg, #E2233F, #A80B26); box-shadow: 0 0 0 1px rgba(236, 200, 111, .75) inset, 0 4px 14px rgba(168, 11, 38, .35);
  transition: transform .45s cubic-bezier(.5, 1.6, .4, 1); }
.cur-switch[data-cur='inr'] .cur-switch__thumb { transform: translateX(100%); }
.cur-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fees__curnote { margin: 0; color: #7E3A46; font-size: .9rem; }

/* ---------- consultations and fees */
.fees { padding-block: clamp(30px, 5vw, 60px); }
.fees__head { max-width: 640px; margin-bottom: clamp(22px, 3.5vw, 38px); }
.fees__head h2 { margin: 0 0 .25em; color: #9E0B25; }
.fees__head p { color: #5E1A26; margin: 0; }
.fees__head .fees__kicker { font: 500 .78rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #B0782E; margin: 0 0 12px; }
.fees__grid { display: grid; gap: clamp(16px, 2.2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); perspective: 1200px; }
.fee-card { --mx: 50%; --my: 30%; --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 10px; isolation: isolate;
  padding: clamp(22px, 2.6vw, 30px); border-radius: 4px; overflow: hidden;
  background: linear-gradient(90deg, #C8102E, #ECC86F 55%, #EE5A6E) top / 100% 3px no-repeat, rgba(255, 246, 240, .8);
  border: 1px solid rgba(176, 124, 46, .38); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 14px 34px -18px rgba(110, 8, 28, .38);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fee-card:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 46px -20px rgba(110, 8, 28, .5); }
.fee-card__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 232, 196, .75), rgba(255, 232, 196, 0) 60%); }
.fee-card:hover .fee-card__glow { opacity: 1; }
.fee-card__seal { position: relative; width: 74px; height: 74px; display: grid; place-items: center; color: #A80B26; margin: 8px 0 4px 8px;
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFF6EC, #F6DCCB 70%); box-shadow: 0 0 0 1px rgba(176, 124, 46, .55), 0 0 0 5px rgba(255, 246, 240, .7), 0 0 0 6px rgba(176, 124, 46, .35); }
.fee-card__seal::after { content: ''; position: absolute; inset: -11px; border-radius: 50%; border: 1px dashed rgba(176, 124, 46, .45); transition: transform 1.6s var(--ease); }
.fee-card:hover .fee-card__seal::after { transform: rotate(60deg); }
.fee-card__seal svg { width: 46px; height: 46px; }
.fee-card__name { margin: 4px 0 0; font: 600 clamp(1.45rem, 2.2vw, 1.7rem)/1.12 var(--serif); color: #8E0A20; }
.fee-card__time { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; font-size: .88rem; color: #7E3A46; letter-spacing: .02em; }
.fee-card__time svg { width: 16px; height: 16px; color: #B0782E; }
.fee-card__dot { width: 4px; height: 4px; background: #C8973A; transform: rotate(45deg); }
.fee-card__summary { margin: 2px 0 0; color: #3E1A20; font-size: .98rem; }
.fee-card__covers { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px dashed rgba(176, 124, 46, .4); display: grid; gap: 7px; }
.fee-card__covers li { position: relative; padding-left: 18px; font-size: .9rem; color: #5E1A26; }
.fee-card__covers li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; transform: rotate(45deg); background: linear-gradient(135deg, #EE5A6E, #A80B26); }
.fee-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.fee-card__price { margin: 0; display: grid; }
.fee-card__price small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8C5A60; }
.fee-card__roll { display: block; overflow: hidden; height: 1.2em; font: 600 clamp(2rem, 3vw, 2.4rem)/1.2 var(--serif); }
.fee-card__amount { display: block; color: #A80B26; font-variant-numeric: lining-nums; }
.fee-card__amount.is-out { animation: fee-out .18s ease-in forwards; }
.fee-card__amount.is-in { animation: fee-in .42s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes fee-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes fee-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.fees--family .fee-card { background: linear-gradient(90deg, #8E0A20, #ECC86F 50%, #8E0A20) top / 100% 3px no-repeat, rgba(252, 238, 226, .84); }
.fees__every { display: grid; gap: clamp(16px, 2.4vw, 30px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.fees__point { padding-top: 14px; border-top: 1px solid rgba(176, 124, 46, .5); }
.fees__point h3 { font: 600 1.3rem/1.15 var(--serif); color: #8E0A20; margin: 6px 0; }
.fees__point p { margin: 0; color: #5E1A26; font-size: .95rem; }
.fees__num { font: 400 1.6rem/1 var(--deva); color: #B0782E; }
.fees__close { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between;
  padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 32px); background: rgba(255, 246, 240, .62); border: 1px solid rgba(176, 124, 46, .4); }
.fees__close p { margin: 0; max-width: 58ch; font: italic 400 clamp(1.1rem, 1.7vw, 1.3rem)/1.4 var(--serif); color: #571421; }
/* cards rise into place as they come into view (only once the script that does it has run) */
body.fees-rise .fee-card:not(.is-in), body.fees-rise .fees__point:not(.is-in) { opacity: 0; transform: translateY(34px); }
body.fees-rise .fee-card.is-in, body.fees-rise .fees__point.is-in { transition: opacity .9s var(--ease) calc(var(--i) * 70ms), transform .9s var(--ease) calc(var(--i) * 70ms); }
body.fees-rise .fee-card.is-in:hover { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }

/* ---------- choosing a consultation in the booking */
.services__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }
.services__group { margin: 26px 0 12px; font: 500 .78rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #B0782E; }
body.paper .service { background: rgba(255, 246, 240, .82); border-color: rgba(176, 124, 46, .4); }
body.paper .service:hover { border-color: var(--accent); }
body.paper .service[aria-pressed='true'] { background: rgba(255, 236, 232, .92); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.service__fee { margin-top: 4px; font: 600 1.35rem/1 var(--serif); color: #A80B26; }

/* ---------- the About page's lotus */
body.paper .about-lotus .facet__in { display: grid; place-items: center; gap: 4px; min-height: 380px;
  background: linear-gradient(90deg, var(--accent), var(--gold-2) 55%, var(--rose)) top / 100% 4px no-repeat, radial-gradient(70% 60% at 50% 42%, rgba(255, 240, 222, .95), rgba(250, 226, 214, .72) 60%, rgba(244, 214, 204, .8)); }
.about-lotus img { width: min(380px, 88%); animation: hero-sway 9s ease-in-out infinite alternate; transform-origin: 50% 85%; filter: drop-shadow(0 18px 24px rgba(110, 8, 28, .22)); }
.about-lotus__line { margin: 0; font: 500 .8rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: #9C0A22; }
@media (prefers-reduced-motion: reduce) { .about-lotus img, body.paper .page-hero__art img { animation: none; } }

/* ---------- the booking, confirmed: a seal whose tick draws itself, then what was booked */
.booked { max-width: 640px; margin: 0 auto; text-align: center; }
.booked__seal { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; color: #FFF6EE;
  background: radial-gradient(circle at 50% 35%, #E2233F, #9C0A22); box-shadow: 0 0 0 6px rgba(255, 246, 240, .7), 0 0 0 7px rgba(176, 124, 46, .45), 0 16px 30px -14px rgba(110, 8, 28, .6);
  animation: booked-in .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.booked__seal svg { width: 36px; height: 36px; stroke-dasharray: 24; stroke-dashoffset: 24; animation: booked-tick .5s .35s ease-out forwards; }
.booked h2 { color: #9E0B25; outline: none; }
.booked .lede { margin-inline: auto; }
.booked .facet { margin-top: 22px; text-align: left; }
@keyframes booked-in { from { transform: scale(.4); opacity: 0; } }
@keyframes booked-tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .booked__seal, .booked__seal svg { animation: none; stroke-dashoffset: 0; } }
.credits { max-width: 82ch; margin: 0; font-size: .82rem; line-height: 1.6; color: #6E3A44; }
/* phones get a portrait sheet of the same paper at full grain, a third of the weight */
@media (max-width: 700px) {
  body.paper::before { background-image: url('/assets/img/paper-m.jpg'); }
  body.paper .band--night::before, body.paper .band--wine::before, body.paper .site-footer::before { background-image: url('/assets/img/paper-m.jpg'); }
}
/* a lotus that arrives after the verse (a slow phone) fades in instead of appearing with a jump */
body.paper .hero__stage.is-late { animation: lotus-late 1.1s var(--ease) both; }
@keyframes lotus-late { from { opacity: 0; } }

/* ---------- the letters, at the head of every footer */
.letters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 48px; align-items: center; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid rgba(236, 200, 111, .18); }
.letters h2 { margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #F6DCA0; }
.letters p { margin: 0; color: #EAD5CC; }
.letters__row { display: flex; gap: 10px; }
.letters__row input { flex: 1; min-width: 0; min-height: 50px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(236, 200, 111, .55);
  background: rgba(255, 246, 240, .08); color: #FFF4EE; font: 400 1rem var(--sans); }
.letters__row input::placeholder { color: #D9BFB4; }
.letters__row input:focus { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.letters__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.letters__msg { min-height: 1.4em; margin-top: 10px !important; font-size: .92rem; color: #CFF5E8 !important; }
.letters__msg.is-bad { color: #FFC4CE !important; }
.letters__fine { font-size: .8rem; color: #D9BFB4 !important; }
.letters__form.is-done input { border-color: rgba(127, 214, 190, .7); }
@media (max-width: 760px) { .letters { grid-template-columns: minmax(0, 1fr); } .letters__row { flex-direction: column; } .letters__row .btn { width: 100%; } }
body.paper .site-footer small { color: #D6BDB3; }

/* ---------- the home page's word to anyone who needs the day's data */
.daily__in { max-width: 860px; text-align: center; }
.daily__kicker { margin: 0 0 12px; font: 600 .78rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #B0782E; }
.daily h2 { margin: 0 0 .35em; color: #9E0B25; font-size: clamp(1.8rem, 4vw, 2.6rem); text-wrap: balance; }
.daily__text { max-width: 62ch; margin: 0 auto; color: #4A1A22; font-size: 1.08rem; }
.daily__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.daily__links a { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(176, 124, 46, .5);
  background: rgba(255, 246, 240, .7); color: #8E0A20; font-size: .92rem; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.daily__links a:hover { border-color: var(--accent); background: rgba(255, 246, 240, .95); }
body.paper .site-footer .brand__name { background: linear-gradient(180deg, #F7DA8E, #C8973A 60%, #9C6A1E); -webkit-background-clip: text; background-clip: text; }

/* ---------- buttons: every one reads as a button at first glance */
body.paper .btn { font-weight: 600; letter-spacing: .02em; }
body.paper .btn--sm { min-height: 44px; padding: 10px 22px; font-size: .98rem; }
body.paper .btn--lg { min-height: 56px; padding: 15px 36px; font-size: 1.12rem; }
body.paper .btn--ghost { --bg: #FFF7F0; --fg: #8E0A20; box-shadow: inset 0 0 0 1.5px #B80D29, 0 8px 18px -12px rgba(110, 8, 28, .55); }
body.paper .btn--ghost:hover { --bg: linear-gradient(180deg, #D3173A, #A80B26); --fg: #FFF4EE; color: #FFF4EE; box-shadow: inset 0 0 0 1.5px #8E0A20, 0 12px 22px -12px rgba(110, 8, 28, .7); transform: translateY(-1px); }
body.paper a.btn::after { content: '→'; font-weight: 600; transition: transform .2s var(--ease); }
body.paper a.btn:hover::after { transform: translateX(4px); }
body.paper .nav a.btn::after, body.paper .hero__actions a.btn--gold::after { content: none; }
/* on the dark bands: light letters in a gold ring, filling with gold to the pointer */
body.paper .band--night .btn--ghost, body.paper .band--wine .btn--ghost, body.paper .site-footer .btn--ghost, body.paper .facet--night .btn--ghost { --bg: rgba(255, 240, 225, .1); --fg: #FCE7B2; box-shadow: inset 0 0 0 1.5px #ECC86F; }
body.paper .band--night .btn--ghost:hover, body.paper .band--wine .btn--ghost:hover, body.paper .site-footer .btn--ghost:hover, body.paper .facet--night .btn--ghost:hover { --bg: linear-gradient(180deg, #F7DA8E, #D4A544); --fg: #4A0A16; color: #4A0A16; box-shadow: inset 0 0 0 1.5px #ECC86F; }
.band--night a.btn, .band--wine a.btn, .site-footer a.btn, .site-footer a.btn:hover { color: var(--fg); }
/* real gold, for the one thing a dark band asks you to do */
body.paper .btn--shine { --bg: linear-gradient(180deg, #FBE3A1, #D9A93E); --fg: #4A0A16; --lift: 0 14px 28px -12px rgba(0, 0, 0, .6); }
body.paper .btn--shine:hover { --bg: linear-gradient(180deg, #FFEDBC, #E5B750); --fg: #4A0A16; color: #4A0A16; }
body.paper .filters button { min-height: 38px; padding: 7px 16px; border: 1.5px solid rgba(176, 124, 46, .7); border-radius: 999px; background: #FFF; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(90, 10, 24, .12); transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
body.paper .filters button:hover { border-color: #B80D29; transform: translateY(-1px); box-shadow: 0 5px 12px rgba(110, 8, 28, .16); }
body.paper .filters button[aria-pressed='true'] { background: linear-gradient(180deg, #C8102E, #9E0B25); border-color: #8E0A20; color: #FFF; }
.section-head .btn { flex: none; }

/* ---------- the quieter text, across the site: a little darker and a little larger, so it reads without effort */
body.paper { --ink-2: #4A2229; --ink-3: #63404A; }
body.paper .muted { font-size: 1.03em; }
body.paper .section-head p { color: #3F1A21; font-size: 1.09rem; }
body.paper .band--night .section-head p, body.paper .band--wine .section-head p { color: #F2DFD6; }
body.paper .row dt { font-size: .98rem; }
body.paper .row dd small { font-size: .9rem; }
body.paper .limb__k { font-size: .96rem; }
body.paper .limb__t { font-size: .94rem; }
body.paper .event__meta { font-size: .94rem; }
body.paper .field .hint { font-size: .9rem; }
body.paper .quote-src { font-size: 1rem; }
body.paper .gochar__what small, body.paper .gochar__stay small { font-size: .88rem; }
body.paper .wheel-key { font-size: .9rem; }

/* ---------- the home page: an even, closer rhythm between its sections */
body.home main > .band { padding-block: clamp(36px, 5.4vw, 68px); }
body.home main > .band--tight { padding-block: clamp(30px, 4.4vw, 56px); }

/* ---------- short lists, laid out in rows of tiles so that all of a list is seen at once */
.tiles-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.tiles-head h3 { margin: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { padding: 12px 14px; border-radius: 12px; background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .4); border-top: 3px solid #B80D29; box-shadow: 0 1px 3px rgba(90, 10, 24, .08); }
.tile p { margin: 0; max-width: none; }
.tile__when { font: 600 .9rem/1.3 var(--sans); color: #8E0A20; font-variant-numeric: tabular-nums lining-nums; }
.tile__name { margin-top: 4px !important; font: 600 1.14rem/1.22 var(--serif); color: var(--ink); }
.tile__alt { margin-top: 1px !important; font-size: .9rem; line-height: 1.3; color: var(--ink-2); }
.tile__meta { margin-top: 3px !important; font-size: .92rem; line-height: 1.35; color: var(--ink-2); }
.tile--major { background: linear-gradient(180deg, #FDEBEC, #FFF9F3); }
.tile[data-kind='ekadashi'] { border-top-color: #2C8C7A; } .tile[data-kind='purnima'] { border-top-color: #D9A21E; } .tile[data-kind='amavasya'] { border-top-color: #5A0C1E; }
.tile[data-kind='chaturthi'] { border-top-color: #E07B12; } .tile[data-kind='sankranti'] { border-top-color: #C2722A; } .tile[data-kind='pradosh'], .tile[data-kind='shivaratri'] { border-top-color: #8E5A86; }
.tiles--night .tile { background: rgba(255, 240, 225, .06); border-color: rgba(236, 200, 111, .3); border-top-color: var(--gold-2); box-shadow: none; }
.tiles--night .tile__when { color: var(--gold-2); }
.tiles--night .tile__name { color: #F7E9DD; }
.tiles--night .tile__meta { color: #EAD5CC; }
@media (max-width: 1000px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .tile { padding: 9px 10px; } .tile__when { font-size: .8rem; } .tile__name { font-size: 1rem; } .tile__alt, .tile__meta { font-size: .82rem; } }

/* ---------- for jyotishis, pandits and every home */
.daily .daily__in { margin-inline: auto; }
.free-tools { list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.free-tool { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 16px 18px; background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .45); border-radius: 16px; text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 6px rgba(90, 10, 24, .08); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.free-tool:hover { transform: translateY(-3px); border-color: #B80D29; box-shadow: 0 16px 28px -14px rgba(110, 8, 28, .4); color: var(--ink); }
.free-tool__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #FFF; background: linear-gradient(145deg, #E2233F, #8E0A20); box-shadow: 0 6px 12px -6px rgba(110, 8, 28, .7); transition: transform .35s var(--ease); }
.free-tool:hover .free-tool__mark { transform: rotate(-8deg) scale(1.08); }
.free-tool__mark svg { width: 24px; height: 24px; }
.free-tool b { font: 600 1.28rem/1.15 var(--serif); color: #8E0A20; }
.free-tool__text { grid-column: 1 / -1; margin-top: 8px; font-size: .98rem; line-height: 1.42; color: #3F1A21; }
.free-tool__go { grid-column: 1 / -1; margin-top: 8px; font: 600 .92rem/1 var(--sans); color: #B80D29; }
.free-tool__go::after { content: ' →'; }
.trust { margin-top: clamp(20px, 3vw, 30px); padding: clamp(18px, 3vw, 30px); border-radius: 18px; color: #F7E9DD; background: radial-gradient(120% 120% at 85% 0%, #8A1530 0%, #5A0A18 52%, #2E0711 100%); box-shadow: 0 18px 40px -22px rgba(60, 6, 18, .8); }
.trust__head h3 { margin: 0 0 .25em; color: #F6DCA0; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.trust__head p { margin: 0; max-width: 74ch; color: #F2DFD6; font-size: 1.05rem; }
.trust__stats { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trust__stats li { padding: 12px 14px; border-radius: 12px; background: rgba(255, 240, 225, .08); border: 1px solid rgba(236, 200, 111, .35); }
.trust__stats b { display: block; font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.05 var(--serif); color: #FBE3A1; font-variant-numeric: lining-nums tabular-nums; }
.trust__stats span { display: block; margin-top: 3px; font-size: .92rem; line-height: 1.3; color: #F2DFD6; }
.trust__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.trust__points li { position: relative; padding-left: 20px; font-size: .98rem; line-height: 1.42; color: #F2DFD6; }
.trust__points li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-2); }
.trust__points b { color: #FFF3DC; font-weight: 600; }
@media (max-width: 900px) { .free-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust__points { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .free-tools { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the head of the footer: booking on the left, the letters on the right */
.foot-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(236, 200, 111, .18); }
.foot-book { padding-right: clamp(20px, 3.4vw, 48px); border-right: 1px solid rgba(236, 200, 111, .3); }
.foot-book h2 { margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #F6DCA0; }
.foot-book p { margin: 0 0 16px; color: #EAD5CC; }
.foot-book__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.foot-cta .letters { display: block; padding: 0 0 0 clamp(20px, 3.4vw, 48px); margin: 0; border: 0; }
.foot-cta .letters > p { margin-bottom: 14px; }
.foot-cta--solo { grid-template-columns: minmax(0, 1fr); }
.foot-cta--solo .letters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: center; padding: 0; }
.foot-cta--solo .letters__form { grid-column: 2; grid-row: 1 / span 2; }
.site-footer__grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot-cta--solo .letters { grid-template-columns: minmax(0, 1fr); } .foot-cta--solo .letters__form { grid-column: 1; grid-row: auto; } .foot-cta { grid-template-columns: minmax(0, 1fr); gap: 28px; } .foot-book { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid rgba(236, 200, 111, .25); } .foot-cta .letters { padding: 0; } }

/* ---------- the closing call to book */
body.paper .cta-band { padding-block: clamp(40px, 6vw, 72px); margin-bottom: clamp(28px, 4.5vw, 56px); }   /* the paper shows between it and the footer, so the two never read as one */
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; }
.cta-band__kicker { margin: 0 0 10px; font: 600 .82rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.cta-band h2 { margin: 0 0 .3em; color: #FBE3A1; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; text-wrap: balance; }
.cta-band__text { margin: 0; font-size: clamp(1.08rem, 1.7vw, 1.24rem); line-height: 1.5; color: #F7E7DA; }
.cta-band__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; font-weight: 500; color: #FFF3DC; }
.cta-band__points li::before { content: '✓'; margin-right: 7px; color: var(--gold-2); font-weight: 700; }
.cta-band__act { display: grid; gap: 12px; justify-items: stretch; padding: clamp(16px, 2.4vw, 24px); border-radius: 18px; background: rgba(255, 240, 225, .08); border: 1px solid rgba(236, 200, 111, .4); }
@media (max-width: 820px) { .cta-band__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the muhurat page */
.m-anchor { scroll-margin-top: 92px; }
.m-h { font-size: var(--step-4); color: #9E0B25; }
.m-sub { color: #3F1A21; font-size: 1.07rem; }
[data-hue='muhurat'] .t th { font: 600 1.1rem/1.2 var(--serif); padding: 12px; color: #6B0A1E; background: rgba(226, 35, 63, .1); }
[data-hue='muhurat'] .facet--night .t th { color: #FBE3A1; background: rgba(236, 200, 111, .12); }
.m-date { display: block; margin-top: 1px; font-size: .84rem; color: var(--ink-3); font-weight: 400; }
.m-num { display: inline-block; min-width: 1.5em; color: var(--ink-3); font-size: .9rem; }
.m-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.m-top .facet { height: 100%; }
.mlimbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.mlimb { display: grid; gap: 2px; align-content: start; padding-top: 8px; border-top: 2px solid rgba(176, 124, 46, .35); }
.mlimb__k { font-size: .95rem; color: var(--ink-3); }
.mlimb__v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 600 1.32rem/1.2 var(--serif); color: #8E0A20; }
.mlimb__v .glyph { width: 26px; height: 26px; color: #B80D29; }
.mlimb__v .gmark { width: 28px; height: 28px; margin: 0; }
.mlimb__t { font-size: .94rem; line-height: 1.4; color: var(--ink-2); }
.mlimb__t .gmark { width: 20px; height: 20px; margin: 0 5px 0 0; }
.mnow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; }
.mnow dt { font-size: .92rem; color: #F0D9CD; }
.mnow dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font: 600 1.14rem/1.2 var(--serif); color: #FFF3E6; }
.mnow dd small { flex-basis: 100%; font: 400 .88rem var(--sans); color: #F0D9CD; }
.mnow .gmark { width: 24px; height: 24px; margin: 0; }
.mnow .glyph { width: 22px; height: 22px; color: var(--gold-2); }
.m-bala__h { margin: 16px 0 6px; font: 600 1.08rem/1.25 var(--serif); color: #8E0A20; }
.m-bala__when { margin: 8px 0 6px; font-size: .95rem; color: var(--ink-2); max-width: none; }
.m-bala__when .glyph { width: 18px; height: 18px; margin: 0 3px; color: #B80D29; }
.m-bala__warn { margin: 6px 0 0; font-size: .92rem; color: #7A1626; max-width: none; }
.m-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.m-chips li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border-radius: 999px; background: #FFF; border: 1px solid rgba(176, 124, 46, .5); font-size: .88rem; line-height: 1.25; }
.m-chips .glyph { width: 16px; height: 16px; color: #B80D29; }
@media (max-width: 900px) { .m-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .mlimbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; } .mlimb__v { font-size: 1.14rem; } }

/* ---------- the birth details: one compact section */
.kform { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .62fr) minmax(0, 1.5fr) auto; gap: 12px 14px; align-items: end; padding: clamp(14px, 2.2vw, 24px); background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .45); border-radius: 18px; box-shadow: 0 14px 34px rgba(110, 8, 28, .1); }
.kform .field label, .kform .field .label { font-weight: 600; color: #4A1A22; font-size: .95rem; }
.kform .field input, .kform .field select { height: 48px; padding: 8px 10px; background: #FFF; border-radius: 10px; }
.kf-time__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.kf-place__btn { width: 100%; height: 48px; justify-content: flex-start; padding: 8px 12px; background: #FFF !important; color: var(--ink) !important; border: 1px solid #DCC59A; border-radius: 10px; text-align: left; }
.kf-place__btn:hover { border-color: #B80D29; }
.kf-place__btn svg { color: #B80D29; flex: none; }
.kf-place__btn #b-place-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kf-place__chg { flex: none; font-size: .86rem; font-weight: 600; color: #B80D29; }
/* place of birth: a search box with its suggestions beneath */
.kf-place__box { position: relative; }
.kf-place__box > svg { position: absolute; left: 12px; top: 14px; width: 20px; height: 20px; color: #B80D29; pointer-events: none; }
.kform .kf-place__box input { padding-left: 40px; background: #FFF; border-color: #DCC59A; }
.kform .kf-place__box input[aria-busy="true"] { background: #FFF linear-gradient(90deg, transparent, rgba(184, 13, 41, .08), transparent) 0 0 / 200% 100%; animation: kf-busy 1s linear infinite; }
@keyframes kf-busy { to { background-position: -200% 0; } }
.kf-place__pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: #FFF; border: 1px solid #DCC59A; border-radius: 12px; box-shadow: 0 16px 34px rgba(90, 12, 30, .18); overflow: hidden; }
.kf-place__pop[hidden] { display: none; }
.kf-place__pop ul { list-style: none; margin: 0; padding: 6px; max-height: min(340px, 50vh); overflow-y: auto; }
.kf-place__pop li { padding: 9px 10px; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.kf-place__pop li b { display: block; font-weight: 600; color: var(--ink); }
.kf-place__pop li small { display: block; margin-top: 2px; font-size: .85rem; color: var(--ink-3); overflow-wrap: anywhere; }
.kf-place__pop li[aria-selected="true"], .kf-place__pop li[role="option"]:hover { background: #FBEDE8; }
.kf-place__pop li.kf-place__msg { cursor: default; color: var(--ink-2); font-size: .92rem; }
.kf-place__foot { margin: 0; padding: 0; border-top: 1px solid #F1E4D2; text-align: right; line-height: 0; }
/* Google Maps attribution: Google's own logo, 16 px tall, with its clear space (10 px beside and above, 5 px below) */
.kf-place__foot img { display: inline-block; height: 16px; width: auto; margin: 10px 10px 5px; }
.kf-maps { grid-column: 3 / -1; justify-content: flex-end; max-width: none; margin: -2px 0 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.kf-maps img { height: 16px; width: auto; margin: 2px 10px; flex: none; }
@media (max-width: 1060px) { .kf-maps { grid-column: 1 / -1; justify-content: center; } }
.kf-place__foot:empty { display: none; }
.kf-go { height: 48px; white-space: nowrap; }
.kf-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; }
.kf-note { margin: 0; font-size: .95rem; color: var(--ink-2); max-width: none; }
.kf-manual { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.kf-manual[hidden] { display: none; }
.kf-err { grid-column: 1 / -1; margin: 0; color: #B80D29; font-weight: 500; }
.kf-err:empty { display: none; }
@media (max-width: 1060px) { .kform { grid-template-columns: repeat(6, minmax(0, 1fr)); } .kf-name { grid-column: span 3; } .kf-date { grid-column: span 3; } .kf-time { grid-column: span 2; } .kf-ampm { grid-column: span 1; } .kf-place { grid-column: span 3; } .kf-go { grid-column: 1 / -1; } }
@media (max-width: 620px) { .kf-name, .kf-date, .kf-place { grid-column: 1 / -1; } .kf-time { grid-column: span 4; } .kf-ampm { grid-column: span 2; } .kf-manual { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kf-manual .field:last-child { grid-column: 1 / -1; } }

/* ---------- one person's chart page */
.kpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 22px); align-items: start; }
.kpage__main { display: grid; gap: clamp(14px, 1.8vw, 22px); min-width: 0; }
.kpage__side { display: grid; gap: clamp(14px, 1.8vw, 22px); min-width: 0; }
.kcard { padding: clamp(12px, 1.5vw, 16px); background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .45); border-radius: 18px; box-shadow: 0 14px 34px rgba(110, 8, 28, .1); scroll-margin-top: 90px; }
.kcard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin-bottom: 8px; }
.kcard__head h2, .dasha__head h2 { margin: 0 0 .1em; font-size: clamp(1.4rem, 2.2vw, 1.7rem); color: #9E0B25; }
.kcard__head h2 small { font: 500 .9rem var(--sans); color: var(--ink-2); }
.kcard__head p, .dasha__head p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.kcard__head .filters { margin: 0; }
.kchart { display: block; width: 100%; height: auto; max-height: max(420px, calc(100svh - 318px)); }
.kchart text { font-family: var(--sans); font-variant-numeric: lining-nums; }
.kchart [data-tip] { cursor: pointer; }
.ktip { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #FBEFDD; font-size: .98rem; color: var(--ink); max-width: none; }
.kkey { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin: 6px 0 0; padding: 0; font-size: .9rem; color: var(--ink-2); }
.kkey b { font-weight: 700; margin-right: 2px; }
.ksum, .klock { background: #FFF9F3; border: 1px solid rgba(176, 124, 46, .45); border-radius: 18px; box-shadow: 0 14px 34px rgba(110, 8, 28, .1); }
.ksum { padding: 6px 16px; }
.ksum__rows { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.ksum__rows > div:nth-last-child(-n+2) { grid-column: 1 / -1; }
.ksum__rows > div { padding: 9px 0; border-bottom: 1px dashed rgba(176, 124, 46, .4); }
.ksum__rows > div:last-child { border-bottom: 0; }
.ksum__rows dt { font-size: .88rem; color: var(--ink-3); }
.ksum__rows dd { margin: 1px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.ksum__rows dd b { font: 600 1.2rem/1.25 var(--serif); color: #8E0A20; }
.ksum__rows dd small { flex-basis: 100%; font-size: .9rem; line-height: 1.35; color: var(--ink-2); }
.ksum__rows .glyph { width: 20px; height: 20px; color: #B80D29; }
.ksum__rows .gmark { width: 22px; height: 22px; margin: 0; }
.klock { position: relative; overflow: hidden; min-height: 340px; }
.klock__data { padding: 16px; filter: blur(6px); -webkit-user-select: none; user-select: none; pointer-events: none; }
.klock__data h3 { margin: 0 0 .25em; font-size: 1.15rem; color: #8E0A20; }
.klock__data h3::before { content: none; }
.klock__data p { margin: 0 0 12px; font-size: .95rem; }
.klock__list { list-style: none; margin: 0 0 12px; padding: 0; font-size: .9rem; }
.klock__data .syllables span { font-size: 1.15rem; padding: 7px 10px; }
.klock__cover { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 18px; text-align: center; background: rgba(255, 246, 238, .56); }
.klock__cover h3 { margin: 0; font-size: 1.32rem; line-height: 1.2; color: #8E0A20; display: block; }
.klock__cover p { margin: 0; font-size: 1rem; line-height: 1.4; color: #3F1A21; }
.dasha__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-bottom: 10px; }
.dasha__btns { display: flex; gap: 6px; }
.dasha__btns button { display: grid; place-items: center; width: 54px; height: 42px; border: 0; border-radius: 999px; color: #FFF; background: linear-gradient(180deg, #D3173A, #9E0B25); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 12px -7px rgba(110, 8, 28, .7); transition: transform .15s var(--ease), filter .15s; }
.dasha__btns button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.dasha__btns button:focus-visible { outline: 2px solid #B80D29; outline-offset: 2px; }
.dasha__btns button:disabled { background: #E7D5C6; color: #A58B86; box-shadow: none; cursor: not-allowed; }
.dasha__btns svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dasha__list { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(176, 124, 46, .5); border-radius: 12px; overflow: hidden; background: #FFFDF7; }
.dasha__row { display: grid; grid-template-columns: minmax(0, 2.2fr) 70px minmax(0, 1.2fr); gap: 12px; align-items: center; width: 100%; padding: 8px clamp(10px, 2vw, 18px); border: 0; border-bottom: 1px solid rgba(176, 124, 46, .18); background: none; font: 500 clamp(1rem, 1.7vw, 1.16rem)/1.3 var(--sans); color: var(--ink); text-align: left; font-variant-numeric: tabular-nums lining-nums; }
.dasha__list li:last-child .dasha__row { border-bottom: 0; }
button.dasha__row { cursor: pointer; transition: background .12s; }
button.dasha__row:hover { background: rgba(236, 200, 111, .22); }
button.dasha__row:focus-visible { outline: 2px solid #B80D29; outline-offset: -2px; }
.dasha__row.is-now, button.dasha__row.is-now:hover { background: #FBE6B8; box-shadow: inset 4px 0 0 #B0782E; }
.dasha__row.is-before { color: var(--ink-3); }
.dasha__row.is-next { border-top: 2px solid rgba(176, 124, 46, .45); }
.dasha__chain { font-weight: 700; }
.dasha__chain i { font-style: normal; color: var(--ink-3); margin: 0 1px; }
.dasha__note { margin: 10px 0 0; font-size: .92rem; color: var(--ink-2); max-width: none; }
@media (max-width: 999px) { .kpage { grid-template-columns: minmax(0, 1fr); } .kchart { max-height: none; } }
@media (max-width: 620px) { .kcard { padding: 12px 10px; } .dasha__btns { width: 100%; } .dasha__btns button { flex: 1; } .dasha__row { grid-template-columns: minmax(0, 1fr) 40px auto; gap: 8px; } }

/* ---------- the chart page's title: one short line, so that a whole chart fits on the first screen */
body.paper.kchart-page .page-hero { padding-bottom: 4px; }
body.paper.kchart-page .page-hero__art, body.paper.kchart-page .page-hero .gold-dots { display: none; }
body.paper.kchart-page .page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
body.paper.kchart-page .page-hero h1 { grid-column: 1; max-width: none; margin-bottom: .05em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
body.paper.kchart-page .page-hero p { grid-column: 1; max-width: none; }
body.paper.kchart-page .page-hero__bar { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
body.paper.kchart-page #page > .band:first-child { padding-top: 10px; }
@media (max-width: 620px) { body.paper.kchart-page .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } body.paper.kchart-page .page-hero__bar { grid-column: 1; grid-row: auto; margin-top: 8px; } }

/* ---------- the About page: sections close enough to read as one page */
body[data-hue='about'] #page > .band { padding-block: clamp(22px, 3vw, 40px); }

/* ---------------------------------------------------------------- nothing may make a page wider than the screen: a phone
   would zoom the whole page out to fit it. Tables that need more room scroll inside their own frames. */
#main, .site-footer { overflow-x: clip; }
.table-wrap { position: relative; }   /* so that nothing inside a scrolling table can escape its frame */
.cal__day { min-width: 0; overflow: hidden; }
@media (max-width: 700px) { .cal__day { padding: 5px 2px 5px 3px; } .cal__day .ev { padding: 1px 0 1px 2px; } }   /* a little more room for each name, which stays inside its day */
/* long unbroken Sanskrit compounds and their transliteration wrap inside the card */
.quote-sa, .quote-tr, .quote-hi, .quote-en, .verse__sa, .verse__en { overflow-wrap: anywhere; }
