/* Usha Numo Graphology — public site
   Brand: navy #19194E · gold #FABC38 · green #128D48 (from her logo)
   Phone first: 15px text, 44px tap targets, hairlines instead of boxes.
   Cormorant only at 22px and above; Lora for everything else. */
:root {
  --navy: #19194E;
  --navy-2: #2A2A66;
  --ink: #1F1D2B;
  --muted: #5B5768;
  --line: #E2D9C8;
  --line-2: #EFE8DA;
  --ivory: #F7F2E7;
  --paper: #FFFDF8;
  --gold: #FABC38;
  --gold-ink: #7A5A0F;
  --green: #128D48;
  --green-ink: #0F7A3E;
  --wa: #0F7A3E;
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Lora", Georgia, serif;
  --te: "Noto Serif Telugu", "Nirmala UI", "Gautami", serif;
  --gut: 16px;
  --bar: 52px;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--text); font-size: .9375rem; line-height: 1.53; font-variant-numeric: lining-nums tabular-nums; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
[lang="te"], .te { font-family: var(--te); line-height: 1.6; }
[hidden] { display: none !important; }
p { margin: 0 0 .75em; }
ul, ol { margin: 0 0 .75em; padding-left: 1.2em; }
h1, h2, h3 { color: var(--navy); margin: 0 0 .4em; }
h1, .display { font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1.15; letter-spacing: -.005em; }
h2 { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
h3, .h3 { font-family: var(--text); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--navy); margin: 0 0 .4em; }
.wrap { width: min(1040px, 100% - 2 * var(--gut)); margin-inline: auto; }
.small { font-size: .8125rem; line-height: 1.45; }
.muted { color: var(--muted); }
.ic { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; top: 6px; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; }
.head-row { display: flex; align-items: center; gap: 12px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand-name { font: 600 1.0625rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.brand:hover { color: var(--gold); }
.main-nav { display: none; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; transition: transform .15s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 52px 0 0; z-index: 39; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 80px; }
.drawer a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line-2); color: var(--navy); text-decoration: none; font-weight: 600; }
.drawer a.sub { font-weight: 400; padding-left: 12px; }
.drawer a span { font-size: .875rem; color: var(--green-ink); font-weight: 400; }
.drawer-h { margin: 14px 0 0; font-size: .75rem; color: var(--muted); }
html.menu-open { overflow: hidden; }

.crumbs { font-size: .75rem; color: var(--muted); padding-top: 10px; }
.crumbs a { color: var(--muted); }

/* ---------------------------------------------------------------- page heads */
.page-head { padding: 6px 0 14px; }
.page-head h1 { margin-top: .2em; }
.te-line { color: var(--green-ink); font-size: .875rem; margin: -.2em 0 .5em; }
.lead { color: var(--muted); max-width: 64ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.btn-row > .btn { flex: 1 1 140px; }

/* hero (home) */
.hero { padding: 16px 0 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-id { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hero-id picture { flex: none; }
.portrait { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--gold); }
.hero-name { font: 600 1.375rem/1.1 var(--display); color: var(--navy); margin: 0; }
.hero-role { font-size: .8125rem; color: var(--muted); margin: 2px 0 2px; }
.rating { font-size: .8125rem; color: var(--ink); text-decoration: none; }
.rating b { color: var(--gold-ink); }
.rating:hover { text-decoration: underline; }
.hero .display { font-size: 1.75rem; margin-bottom: .25em; }
.cred { font-size: .75rem; color: var(--muted); margin: 8px 0 0; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 22px 0; border-top: 1px solid var(--line); }
.sec.paper { background: var(--paper); }
.sec h2 { margin-bottom: .45em; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { margin-top: .9em; }
.prose h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.more { margin: 10px 0 0; font-size: .875rem; }
.more a + a::before { content: ""; }
.links { font-size: .875rem; }
.also { margin-top: 8px; }
.quiet { font-size: .875rem; color: var(--muted); padding: 18px 0 22px; margin: 0 auto; border-top: 1px solid var(--line); }

/* rows: tappable list rows with hairlines */
.rows { display: grid; border-top: 1px solid var(--line-2); }
.rows a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line-2); color: var(--navy); text-decoration: none; }
.rows a::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 1.1rem; padding-left: 6px; }
.rows .en { font-weight: 600; }
.rows .en small { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.rows .te { margin-left: auto; color: var(--green-ink); font-size: .875rem; text-align: right; }
.rows a:hover .en { color: var(--green); }
.contact-rows .ic { color: var(--navy); }
.contact-rows a:first-child .ic { color: var(--wa); }
.contact-rows .val { margin-left: auto; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.contact-rows a::after { margin-left: 4px; }

/* chips (links) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8125rem; margin: 6px auto; }
.chips > span { color: var(--muted); margin-right: 2px; }
.chips a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); text-decoration: none; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips.other { padding: 14px 0 4px; border-top: 1px solid var(--line); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; font: 600 .9375rem/1.2 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0B6332; color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn.wide { width: 100%; }

/* register (her notes) */
.register { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.register li { display: flex; align-items: baseline; gap: 8px; min-height: 30px; padding: 4px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; }
.register b { font-weight: 600; color: var(--navy); }
.register .num { color: var(--gold-ink); font-weight: 600; }
.register i { color: var(--muted); font-size: .875rem; overflow: hidden; text-overflow: ellipsis; }

/* review quotes */
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; padding-left: 12px; border-left: 3px solid var(--gold); }
.quote blockquote { margin: 0 0 4px; }
.quote figcaption { font-size: .8125rem; color: var(--muted); }

/* videos: compact rows */
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vrow { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: center; }
.vrow .yt { position: relative; padding: 0; border: 0; background: #000; border-radius: 6px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; width: 112px; }
.vrow .yt img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(0,0,0,.6); }
.play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vt { color: var(--ink); text-decoration: none; font-size: .875rem; line-height: 1.35; }
.vt:hover { color: var(--green); text-decoration: underline; }
.vrow.playing { grid-template-columns: 1fr; }
.vrow.playing .yt { width: 100%; }
.vrow .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; padding: 6px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 10px; color: var(--ink); }
.faq-a p { margin: 0; }

/* service pages */
.svc-body { display: grid; gap: 18px; }
.send { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.send ul { padding-left: 1.1em; margin-bottom: 8px; }
.send li { margin-bottom: 3px; }
.send .btn-row { margin-bottom: 0; }

/* about */
.about { display: grid; gap: 14px; }
.about-photo { width: 120px; height: 150px; object-fit: cover; object-position: 50% 15%; border-radius: 10px; }

/* steps (only on /book/) */
.steps { padding-left: 1.3em; margin: 0; }
.steps li { margin-bottom: 6px; padding-left: 2px; }
.steps li::marker { color: var(--gold-ink); font-weight: 600; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .875rem; }
th, td { text-align: left; vertical-align: top; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line-2); }
.send-table th { width: 34%; font-weight: 600; }
.nak-table { font-size: .8125rem; }
.nak-table th, .nak-table td { padding: 3px 6px 3px 0; vertical-align: middle; white-space: nowrap; line-height: 1.2; }
.nak-table td [lang="te"], .nak-table th [lang="te"] { line-height: 1.25; }
.nak-table thead th { font-size: .75rem; color: var(--muted); font-weight: 600; }
.nak-table tbody th { font-weight: 600; color: var(--navy); }
.nak-table tbody th span { display: block; font-weight: 400; color: var(--green-ink); font-size: .875rem; line-height: 1.3; }
.nak-table td [lang="te"] { color: var(--navy); font-size: .875rem; }
.nak-table .n { color: var(--muted); width: 1.6em; }

/* name calculator */
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.calc input { width: 100%; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.calc-out:empty { display: none; }
.tot { border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; }
.tot span { display: block; font-size: .75rem; color: var(--muted); }
.tot b { font: 600 1.75rem/1.1 var(--display); color: var(--navy); }
.tot small { display: block; font-size: .75rem; color: var(--muted); }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.letters span { font-size: .75rem; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.letters b { color: var(--navy); margin-right: 3px; }

/* ---------------------------------------------------------------- enquiry form */
.form-sec { background: var(--paper); }
.enq { display: grid; gap: 12px; max-width: 560px; }
.enq fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-baby { display: grid; gap: 12px; padding: 10px 0 2px !important; border-top: 1px dashed var(--line) !important; border-bottom: 1px dashed var(--line) !important; }
.field { display: grid; gap: 4px; min-width: 0; }
.lbl { font-size: .8125rem; font-weight: 600; color: var(--navy); padding: 0; }
.lbl [lang="te"], .chip [lang="te"], .seg [lang="te"] { font-weight: 400; color: var(--green-ink); font-size: .875rem; line-height: 1.3; }
.hint { font-size: .75rem; color: var(--muted); margin: 0; }
.enq input:not([type="radio"]):not([type="checkbox"]), .enq select, .enq textarea, .calc input {
  font: 400 16px/1.3 var(--text); color: var(--ink); background: #fff; border: 1px solid #CFC5B2; border-radius: 8px; min-height: 44px; padding: 8px 10px; width: 100%; min-width: 0; }
.enq textarea { min-height: 76px; resize: vertical; }
.enq select { padding-right: 4px; }
.enq input:focus, .enq select:focus, .enq textarea:focus, .calc input:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.trio { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; }
.duo { display: grid; grid-template-columns: 2.4fr 1fr; gap: 6px; }
.duo2 { grid-template-columns: 1fr 1fr; gap: 10px; }
.duo2 > div { display: grid; gap: 4px; align-content: start; }
.phone { display: grid; grid-template-columns: 64px 1fr; gap: 6px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 11px; border: 1px solid #CFC5B2; border-radius: 999px; background: #fff; font-size: .875rem; cursor: pointer; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span [lang="te"] { color: var(--gold); }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; border: 1px solid #CFC5B2; border-radius: 8px; overflow: hidden; background: #fff; }
.seg label { flex: 1 1 auto; position: relative; }
.seg label + label { border-left: 1px solid #CFC5B2; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 0 8px; font-size: .8125rem; cursor: pointer; text-align: center; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:checked + span [lang="te"], .seg input:checked + span[lang="te"] { color: var(--gold); }
.tick { display: flex; align-items: center; gap: 6px; font-size: .8125rem; min-height: 32px; }
.tick input { width: 18px; height: 18px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #A3241B; font-size: .875rem; margin: 0; }
.form-note { margin: 0; }
.enq-done { max-width: 560px; }
.done-h { font: 600 1.5rem/1.2 var(--display); color: var(--green); margin-bottom: .2em; }
.enq button[disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- footer + action bar */
.site-foot { background: var(--navy); color: #D9D7EA; font-size: .8125rem; line-height: 1.5; padding: 16px 0 calc(var(--bar) + 16px + env(safe-area-inset-bottom)); }
.site-foot p { margin: 0 0 8px; }
.site-foot a { color: #fff; }
.foot-name { font: 600 1.125rem/1.2 var(--display); color: #fff; }
.foot-name span { font-size: .875rem; color: var(--gold); margin-left: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-links a { min-height: 28px; display: inline-flex; align-items: center; }
.foot-legal { color: #A9A7C4; font-size: .75rem; }
.foot-legal a { color: #C9C7E0; }

.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.3fr 1fr 1fr; height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(25,25,78,.08); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--navy); text-decoration: none; font-size: .8125rem; font-weight: 600; }
.action-bar a + a { border-left: 1px solid var(--line-2); }
.action-bar .ab-wa { background: var(--wa); color: #fff; }
.action-bar .ic { width: 18px; height: 18px; }
html.menu-open .action-bar { display: none; }

/* ---------------------------------------------------------------- larger phones / tablets */
@media (min-width: 560px) {
  .register { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .rows.two { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .quotes { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .vlist { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .about { grid-template-columns: 140px 1fr; align-items: start; }
  .about-photo { width: 140px; height: 180px; }
  .btn-row > .btn { flex: 0 1 auto; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 900px) {
  :root { --gut: 24px; }
  body { font-size: 1rem; line-height: 1.58; }
  h1, .display { font-size: 2.125rem; }
  .hero .display { font-size: 2.5rem; }
  h2 { font-size: 1.625rem; }
  .head-row { height: 60px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.25rem; }
  .menu-btn, .drawer, .action-bar { display: none !important; }
  .main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: .875rem; }
  .main-nav > a, .mega-btn { color: #E7E5F3; text-decoration: none; padding: 8px 10px; border-radius: 6px; background: none; border: 0; font: inherit; cursor: pointer; }
  .main-nav > a:hover, .mega-btn:hover, .main-nav > a[aria-current="page"] { color: var(--gold); }
  .main-nav > a.nav-cta { background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 6px; }
  .main-nav > a.nav-cta:hover { background: #fff; color: var(--navy); }
  .has-mega { position: relative; }
  .mega-btn::after { content: " ▾"; font-size: .7em; }
  .mega { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 12px 30px -12px rgba(25,25,78,.35); }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { display: grid; }
  .mega a { color: var(--navy); text-decoration: none; padding: 8px 10px; border-radius: 6px; }
  .mega a:hover { background: var(--ivory); color: var(--green); }
  .mega-all { border-top: 1px solid var(--line-2); margin-top: 4px; font-weight: 600; }
  html { scroll-padding-top: 72px; }
  .crumbs { padding-top: 14px; }
  .page-head { padding: 8px 0 22px; }
  .lead { font-size: 1.0625rem; }
  .hero { padding: 36px 0 34px; }
  .hero .wrap { display: grid; grid-template-columns: 1fr; max-width: 820px; margin-left: max(var(--gut), (100% - 1040px) / 2); }
  .portrait { width: 112px; height: 112px; }
  .hero-name { font-size: 1.75rem; }
  .sec { padding: 34px 0; }
  .svc-body { grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
  .send { position: sticky; top: 80px; }
  .rows.two, .register { column-gap: 40px; }
  .register { grid-template-columns: 1fr 1fr 1fr; }
  .vlist { grid-template-columns: 1fr 1fr 1fr; }
  .vrow { grid-template-columns: 1fr; }
  .vrow .yt { width: 100%; }
  .quotes { grid-template-columns: 1fr 1fr 1fr; }
  .site-foot { padding-bottom: 20px; }
  .site-foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 40px; }
  .foot-links, .foot-legal { grid-column: 1 / -1; }
  .enq { grid-template-columns: 1fr 1fr; column-gap: 16px; max-width: 760px; }
  .enq > fieldset.field, .enq > .f-baby, .enq > .err, .enq > button, .enq > .form-note, .enq > .field:has(textarea) { grid-column: 1 / -1; }
  .f-baby { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .f-baby > .field:first-child { grid-column: 1 / -1; }
  .enq > button { justify-self: start; width: auto; padding: 0 28px; }
  .about { grid-template-columns: 180px 1fr; gap: 28px; }
  .about-photo { width: 180px; height: 230px; }
}
@media print { .site-head, .action-bar, .drawer, .site-foot { display: none; } }
