/* =====================================================================
   Satyavathi Ammu · styles
   ===================================================================== */

/* --- base reset ------------------------------------------------------ */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }

/* Layout concept: a Kanjeevaram silk sari. Deep silk ground, a gold zari temple
   border between sections, rani pink and peacock as the woven contrast threads,
   and a kolam / lotus mandala that keeps tala at the centre. Dark-first. */
:root {
  --bg: #1C0715;
  --bg-2: #2A0C20;
  --fg: #FCEFF4;
  --muted: #CDA6BA;
  --line: #4B1D39;
  --rani: #DE1A72;
  --gold: #F2B84B;
  --gold-ink: #F2B84B;
  --peacock: #1BB5A6;
  --maroon: #6E0D2C;
  --on-maroon: #FCEFF4;
  --on-gold: #2A0A1E;
  --glass: rgba(28, 7, 21, .82);

  --f-display: "Rozha One", "Georgia", "Times New Roman", serif;
  --f-indic: "Tiro Telugu", "Gautami", "Nirmala UI", serif;
  --f-body: "Hind Guntur", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --radius: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFF4F8; --bg-2: #FBE4EE; --fg: #2E0920; --muted: #7A4762; --line: #EBC6D6;
    --rani: #D10F68; --gold: #E9AA2B; --gold-ink: #94620A; --peacock: #0A8478;
    --glass: rgba(255, 244, 248, .85); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #FFF4F8; --bg-2: #FBE4EE; --fg: #2E0920; --muted: #7A4762; --line: #EBC6D6;
  --rani: #D10F68; --gold: #E9AA2B; --gold-ink: #94620A; --peacock: #0A8478;
  --glass: rgba(255, 244, 248, .85); color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.02rem; line-height: 1.65; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
/* silk sheen */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background: repeating-linear-gradient(115deg, var(--fg) 0 1px, transparent 1px 5px);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(4rem, 9vw, 7rem); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.h2 { font-family: var(--f-display); font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: 1; letter-spacing: -.01em; }
.h2 .ta { display: block; font-family: var(--f-indic); font-size: clamp(1.05rem, 2.4vw, 1.75rem); color: var(--rani); margin-bottom: .35em; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- zari temple border ------------------------------------------- */
.temple {
  height: 30px;
  background:
    conic-gradient(from 135deg at 50% 0, var(--gold) 90deg, transparent 0) 0 6px / 24px 12px repeat-x,
    linear-gradient(var(--gold) 0 3px, transparent 3px 6px, var(--maroon) 6px 18px, var(--rani) 18px 24px, var(--gold) 24px 27px, var(--maroon) 27px);
}
.temple.flip { transform: scaleY(-1); }

/* --- buttons ------------------------------------------------------- */
.btn { font: 600 .95rem/1 var(--f-body); display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid var(--fg); background: transparent; color: var(--fg); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn-rani { background: var(--rani); border-color: var(--rani); color: #fff; }
.btn svg { width: 1em; height: 1em; }

/* --- header -------------------------------------------------------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; }
.logo span { font-family: var(--f-indic); font-size: .8rem; color: var(--gold-ink); margin-top: .2rem; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right .2s; }
.nav a:not(.btn):hover::after { right: 0; }
.menu-btn { display: none; background: none; border: 2px solid var(--fg); color: var(--fg); border-radius: 999px; padding: .5rem .9rem; font: 600 .85rem var(--f-body); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter-r) 1rem var(--gutter); }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* --- hero ---------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -15vw; top: -20vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rani) 30%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; position: relative; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.hero .tamil-name { font-family: var(--f-indic); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--gold-ink); line-height: 1.2; }
.hero-copy { container-type: inline-size; }
.hero h1 { font-family: var(--f-display); font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-size: clamp(2.4rem, 14cqi, 6.5rem); line-height: .92; letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--rani); padding-left: .4em; }
.tagline { font-size: clamp(1.08rem, 1.7vw, 1.25rem); max-width: 40ch; }
.tagline i { font-family: var(--f-indic); font-style: italic; color: var(--gold-ink); font-size: 1.08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.mandala-wrap { position: relative; min-width: 0; margin-bottom: 3.6rem; }
#mandala { width: 100%; max-width: 100%; aspect-ratio: 1; display: block; }
.season-tag { position: absolute; left: 50%; bottom: -2.6rem; translate: -50% 0; white-space: nowrap; background: var(--gold); color: var(--on-gold); font: 600 .78rem/1.3 var(--f-body); padding: .6rem .9rem; border-radius: 10px; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--rani); }
.season-tag b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mandala-wrap { max-width: 420px; width: 100%; margin: 0 auto 3.6rem; order: -1; }
}


/* --- scrolling band ------------------------------------------------ */
.ribbon { background: var(--maroon); color: var(--on-maroon); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: drift 50s linear infinite; padding-block: .9rem; }
.ribbon-track span { font-family: var(--f-display); font-size: 1.45rem; padding-right: 2rem; white-space: nowrap; }
.ribbon-track span::after { content: "❋"; color: var(--gold); margin-left: 2rem; font-size: .9em; }
@keyframes drift { to { transform: translateX(-50%); } }

/* --- shared section head + chips ----------------------------------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head > p { max-width: 44ch; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 500 .85rem var(--f-body); padding: .45rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; background: transparent; color: var(--fg); cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* --- ensemble ------------------------------------------------------- */
.ensemble { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.artist { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; background: var(--bg-2); }
.artist .inst { font: 500 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--peacock); }
.artist h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.artist p { color: var(--muted); font-size: .9rem; }
.artist svg { width: 2.4rem; height: 2.4rem; color: var(--gold); }
@media (max-width: 900px) { .ensemble { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- about ---------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.portrait { position: relative; aspect-ratio: 4/5; max-width: 100%; margin: 0; }
.portrait { isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--gold); border-radius: 200px 200px 10px 10px; z-index: -1; }
.portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; border-radius: 200px 200px 10px 10px; box-shadow: 14px 14px 0 var(--rani); }
.bio { display: flex; flex-direction: column; gap: 1.3rem; }
.bio .lead { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; }
.bio .lead em { font-style: normal; color: var(--rani); }
.bio p { max-width: 62ch; color: var(--muted); }
.lineage { list-style: none; margin: .4rem 0 0; padding: 0; border-left: 2px solid var(--gold); }
.lineage li { position: relative; padding: 0 0 1.1rem 1.4rem; }
.lineage li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.lineage li:last-child { padding-bottom: 0; }
.lineage li:last-child::before { background: var(--gold); }
.lineage .yr { font: 500 .74rem var(--f-mono); color: var(--gold-ink); letter-spacing: .08em; }
.lineage strong { display: block; font-weight: 600; }
.lineage span { color: var(--muted); font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: .4rem 0 0; }
.facts div { border-top: 1.5px solid var(--gold); padding-top: .7rem; }
.facts dt { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .2rem 0 0; font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 400px; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } }

/* --- honours -------------------------------------------------------- */
.honours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.honour { border-top: 2px solid var(--gold); padding-top: 1rem; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.honour .yr { font: 500 .76rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.honour h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.12; }
.honour p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .honours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .honours { grid-template-columns: 1fr; } }

/* --- in her words --------------------------------------------------- */
.words { background: var(--bg-2); }
.words blockquote { margin: 1.4rem 0 0; display: grid; gap: 1.2rem; max-width: 54rem; }
.words .te { font-family: var(--f-indic); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.5; color: var(--rani); }
.words .en { font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; }
.words cite { font: normal 500 .76rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }

/* --- videos --------------------------------------------------------- */
.videos { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.vid { position: relative; display: flex; flex-direction: column; justify-content: end; gap: .3rem; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; padding: 1.3rem; min-height: 13rem; isolation: isolate; }
.vid:first-child { grid-row: span 2; min-height: 26rem; }
.vid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20, 4, 14, .05) 20%, rgba(20, 4, 14, .6) 55%, rgba(20, 4, 14, .94) 88%); }
.vid .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform .5s ease; } /* scale trims the letterbox bars in YouTube thumbnails */
.vid:hover .bg { transform: scale(1.42); }
.vid .pb { position: absolute; top: 1.2rem; right: 1.2rem; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #F2B84B; color: #2A0A1E; display: grid; place-items: center; transition: transform .2s; }
.vid:hover .pb { transform: scale(1.1); }
.vid .pb svg { width: 1.1rem; height: 1.1rem; margin-left: 3px; }
.vid h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1; }
.vid small { font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } .vid:first-child { grid-row: auto; min-height: 18rem; } }

/* --- contact -------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.signup { background: var(--gold); color: #2A0A1E; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); display: flex; flex-direction: column; gap: 1.1rem; box-shadow: 10px 10px 0 var(--rani); }
.signup .eyebrow { color: #6E0D2C; }
.signup h3 { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; }
.signup form { display: flex; gap: .5rem; flex-wrap: wrap; }
.signup input { flex: 1 1 14rem; min-width: 0; font: 500 1rem var(--f-body); padding: .95rem 1.2rem; border-radius: 999px; border: 2px solid #2A0A1E; background: #FFF8E6; color: #2A0A1E; }
.signup input::placeholder { color: #7a6a60; }
.signup .btn { border-color: #6E0D2C; background: #6E0D2C; color: #FCEFF4; }
.signup .phone { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; user-select: all; }
.vid .te { font-family: var(--f-indic); font-size: 1.05rem; opacity: .95; }
.form-msg { font-weight: 600; min-height: 1.6em; font-size: .9rem; }
.contacts { margin: 0; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; align-items: center; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.contact-row:first-child { border-top: 1.5px solid var(--gold); }
.contact-row dt { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); grid-column: 1; }
.contact-row dd { margin: 0; grid-column: 1; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; user-select: all; }
.copy { grid-column: 2; grid-row: 1 / span 2; font: 600 .8rem var(--f-body); padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; min-width: 5.2rem; }
.copy.done { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* --- footer --------------------------------------------------------- */
.foot { padding-block: 2.5rem 3rem; }
.foot-big { font-family: var(--f-display); font-size: clamp(2.6rem, 9.5vw, 8rem); line-height: .95; letter-spacing: -.02em; }
.foot-big span { display: block; font-family: var(--f-indic); font-size: clamp(1rem, 3vw, 2.5rem); color: var(--gold-ink); letter-spacing: 0; }
.foot-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font: .8rem var(--f-mono); color: var(--muted); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--rani); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* --- small utilities (were inline styles) ---------------------------- */
.btn-sm { padding: .6rem 1.1rem; }
.h2-sm { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.band-flush { padding-top: 0; }
.more-link { margin-top: 1.5rem; }
.booking-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.signup .btn.btn-outline-dark { background: transparent; color: #2A0A1E; border-color: #2A0A1E; }
.contact-title { margin: .6rem 0 1.6rem; }
.copy-link { text-align: center; text-decoration: none; }



/* --- YouTube / Instagram icons in the contact list -------------------- */
.contact-row.has-icon { grid-template-columns: auto minmax(0, 1fr) auto; }
.contact-row.has-icon dt, .contact-row.has-icon dd { grid-column: 2; }
.contact-row.has-icon .copy { grid-column: 3; }
.social-ico { grid-column: 1; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.social-ico svg { width: 1.6rem; height: 1.6rem; }
.social-ico.youtube { background: #FF0000; }
.social-ico.instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }