/* T.G. Prasanna — site styles
   Layout concept: a book in emerald and pearl. Dark emerald "boards" hold the
   covers and trailers; pearl "pages" hold the reading text. Gold is used only
   for hairlines, the monogram seal, and the one action that matters. */

:root {
  color-scheme: dark;
  --ink: #0A2A21;        /* page ground */
  --deep: #061C16;       /* trailer band, footer */
  --emerald: #0F3B2E;
  --raised: #154A3A;
  --pearl: #F7F3EA;      /* reading surfaces */
  --mist: #DCE5DF;
  --gold: #D9A43A;       /* the one accent */
  --gold-hi: #E8BE5E;
  --gold-line: rgba(217, 164, 58, 0.28);
  --gold-line-2: rgba(217, 164, 58, 0.55);
  --brass: #B8892C;      /* gold for decoration on pearl */
  --text: #F7F3EA;
  --text-2: #CFE0D6;
  --muted: #A9CBB9;
  --muted-2: #8FB3A2;
  --on-pearl: #0F3B2E;
  --on-pearl-2: #2B4A40;
  --on-pearl-3: #4F7466;
  --mid: #1F6B52;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-ta: "Noto Serif Tamil", "Noto Sans Tamil", "Latha", serif;
  --f-body: "IBM Plex Sans", "IBM Plex Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --sec: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 12px; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.narrow { max-width: 860px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.eyebrow-dark { color: var(--mid); }
.eyebrow-rule { display: flex; align-items: center; gap: 16px; }
.eyebrow-rule::before { content: ""; width: 48px; height: 1px; background: var(--gold); flex: none; }
.display { font-family: var(--f-display); font-weight: 300; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -0.01em; }
.display-sm { font-size: clamp(30px, 3.4vw, 44px); }
.display-xl { font-size: clamp(44px, 6.4vw, 88px); }
.display-italic { font-style: italic; }
.display:lang(ta), .display-sm:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.35; letter-spacing: 0; }
.display-ta { display: block; font-family: var(--f-ta); font-size: 0.34em; font-weight: 400; color: var(--mid); margin-top: 12px; letter-spacing: 0; }
.display-ta-lg { font-family: var(--f-ta); font-size: clamp(20px, 2.2vw, 26px); color: var(--muted); margin-top: 14px; }
.lead { font-family: var(--f-display); font-weight: 300; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.65; }
.lead-muted { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 62ch; margin-top: 20px; }
.muted { color: var(--muted); }
.muted-dark { color: var(--on-pearl-3); }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted-2); }

/* ---------- Links & buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px; border-radius: 2px; border: 1px solid transparent; font: 500 13px/1.3 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn:lang(ta) { text-transform: none; letter-spacing: 0.02em; font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); color: var(--ink); }
.btn-line { border-color: var(--gold-line-2); color: var(--text); background: transparent; justify-content: space-between; }
.btn-line:hover { border-color: var(--gold); color: var(--text); }
.btn-dark { background: var(--on-pearl); color: var(--pearl); }
.btn-dark:hover { background: var(--mid); color: var(--pearl); }
.btn-block { display: flex; width: 100%; justify-content: space-between; flex-wrap: wrap; }
.btn-aside { font-size: 12px; letter-spacing: 0.06em; text-transform: none; opacity: 0.85; }
.link-gold { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); padding-block: 6px; }
.link-quiet { color: var(--text-2); text-decoration: none; padding-block: 6px; }
.link-quiet:hover { color: var(--gold); }
.link-play { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; padding-block: 10px; border-bottom: 1px solid var(--gold-line-2); letter-spacing: 0.03em; }
.link-play svg { width: 12px; height: 12px; fill: var(--gold); }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.inline-links a { color: var(--on-pearl); text-decoration: none; border-bottom: 1px solid var(--brass); padding-block: 6px; }
.inline-links-light a { color: var(--text); border-color: var(--gold); }

/* ---------- Seal ---------- */
.seal { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--f-display); font-size: 14px; letter-spacing: 0.1em; color: var(--gold); flex: none; }
.seal-lg { width: 58px; height: 58px; font-size: 17px; }
.seal-xl { width: 120px; height: 120px; font-size: 34px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--gold-line); position: relative; z-index: 20; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 18px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { color: var(--text-2); text-decoration: none; padding-block: 10px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }
.nav-right-wrap { justify-self: end; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-name { font-family: var(--f-display); font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.lang-chip { font-size: 12px; color: var(--muted); border: 1px solid var(--gold-line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--text); font: 500 12px var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; justify-self: end; }
.menu-bars { width: 20px; height: 9px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.mobile-nav { border-top: 1px solid var(--gold-line); background: var(--deep); }
.mobile-nav-inner { display: flex; flex-direction: column; padding-block: 12px 20px; }
.mobile-nav a { color: var(--text); text-decoration: none; font-family: var(--f-display); font-size: 22px; font-weight: 300; padding-block: 10px; border-bottom: 1px solid var(--gold-line); }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .nav-right-wrap { display: none; }
  .brand { flex-direction: row; justify-self: start; gap: 12px; }
  .brand-name { font-size: 15px; }
  .seal { width: 40px; height: 40px; font-size: 13px; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section-tight { padding-block: clamp(40px, 6vw, 72px) var(--sec); }
.section-top0 { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; padding-bottom: 24px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--gold-line); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.section-head-dark { border-bottom-color: rgba(184, 137, 44, 0.4); }
.band-pearl { background: var(--pearl); color: var(--on-pearl); padding-block: var(--sec); }
.band-pearl a { color: var(--mid); }
.band-deep { background: var(--deep); border-block: 1px solid var(--gold-line); padding-block: var(--sec); }
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.page-head .eyebrow { margin-bottom: 18px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 112px) clamp(64px, 9vw, 136px); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 8vw, 120px); }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-title { display: flex; flex-direction: column; gap: 14px; }
.hero-title-main { font-family: var(--f-display); font-weight: 300; font-size: clamp(48px, 7vw, 100px); line-height: 1.05; }
.hero-title-main:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: clamp(46px, 7vw, 100px); line-height: 1.18; }
.hero-title-sub { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); color: var(--text-2); }
.hero-hook { font-family: var(--f-display); font-weight: 300; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.7; color: var(--text-2); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.hero-meta { font-size: 13px; letter-spacing: 0.03em; color: var(--muted-2); }
.hero-cover { flex: 0 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero-cover .framed { width: 100%; max-width: 380px; }

/* Offset gold frame */
.framed { position: relative; display: block; padding: 0 18px 18px 0; }
.framed::before { content: ""; position: absolute; inset: 18px 0 0 18px; border: 1px solid var(--gold-line-2); pointer-events: none; }
.framed > * { position: relative; }
.framed-pearl::before { border-color: var(--brass); inset: 22px 22px 0 0; }
.framed-pearl { padding: 0 0 22px 22px; }

/* ---------- Covers ---------- */
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5); max-width: 100%; }
.cover-type { background: var(--cover, var(--emerald)); padding: 9% 9% 10%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), inset 1px 0 0 rgba(255, 255, 255, 0.06), inset 6px 0 12px rgba(0, 0, 0, 0.25); }
.cover-rule { width: 36px; height: 2px; background: var(--gold); }
.cover-title { font-family: var(--f-display); font-weight: 400; color: var(--pearl); line-height: 1.12; font-size: 26px; overflow-wrap: anywhere; }
.cover-title:lang(ta) { font-family: var(--f-ta); font-weight: 700; line-height: 1.3; }
.cover-author { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 243, 234, 0.72); }
.cover-author:lang(ta) { font-family: var(--f-ta); letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.cover-lg .cover-title { font-size: clamp(30px, 3.4vw, 42px); }
.cover-sm { width: 72px; flex: none; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45); padding: 10px; }
.cover-sm .cover-title { font-size: 11px; }
.cover-sm .cover-rule, .cover-sm .cover-author { display: none; }

/* ---------- Works grid ---------- */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 48px); max-width: 1080px; }
.work { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.work-cover, a.framed, .more-item { text-decoration: none; }
.work-cover { display: block; margin-bottom: 8px; transition: transform .35s ease; }
@media (max-width: 600px) {
  .works:not(.works-catalogue) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 12px; scrollbar-width: thin; }
  .works:not(.works-catalogue) .work { flex: 0 0 64%; scroll-snap-align: start; }
  .works-catalogue { grid-template-columns: minmax(0, 1fr); }
  .works-catalogue .work-cover { max-width: 240px; }
  .works .cover-title { font-size: 17px; }
  .works .cover-author { font-size: 10px; }
  .work-title { font-size: 19px; }
  .work-meta { flex-direction: column; gap: 2px; font-size: 10px; }
  .work-links { flex-direction: column; align-items: flex-start; }
  .hero-cover .framed, .book-cover { max-width: 300px; margin-inline: auto; }
}
.work-cover:hover { transform: translateY(-4px); }
.work-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.work-title { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.25; }
.work-native { font-size: 15px; color: var(--muted); }
.work-native:lang(ta) { font-family: var(--f-ta); }
.work-pub { font-size: 14px; color: var(--muted-2); }
.work-hook { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.work-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; margin-top: 4px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--gold-line); }
.filters button { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); font: 14px var(--f-body); padding: 12px 0; cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--gold); }

.soon { margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: 24px; }
.soon-item { display: flex; flex-direction: column; gap: 8px; }
.soon-title { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; }
.soon-title:lang(ta) { font-family: var(--f-ta); font-weight: 600; line-height: 1.45; }
.soon-meta { color: var(--muted); font-size: 15px; }
.soon-follow { color: var(--muted-2); font-size: 14px; }

/* ---------- Pull quote ---------- */
.quote-band { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 980px; }
.quote-mark { font-family: var(--f-display); font-size: 80px; line-height: 0.5; color: var(--brass); }
.pull-quote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; }
.pull-quote:lang(ta) { font-family: var(--f-ta); font-style: normal; }
.quote-source { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); }

/* ---------- Trailers ---------- */
.trailer-band { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.trailer-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 14px; }
.trailer-more a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--gold-line-2); padding-block: 8px; }
.yt { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: var(--emerald); border: 1px solid var(--gold-line); overflow: hidden; }
.yt-cinema { aspect-ratio: 21 / 9; }
.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-shade { position: absolute; inset: 0; background: rgba(6, 28, 22, 0.35); }
.yt-caption { position: absolute; left: 24px; bottom: 20px; right: 120px; text-align: left; font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); color: var(--pearl); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.yt-caption:lang(ta) { font-family: var(--f-ta); font-weight: 600; }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(6, 28, 22, 0.55); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, transform .2s; }
.yt-play:hover { background: var(--gold); }
.yt-play svg { width: 26px; height: 26px; fill: var(--gold); margin-left: 4px; }
.yt-play:hover svg { fill: var(--ink); }
.yt-out { position: absolute; right: 16px; bottom: 14px; font-size: 12px; letter-spacing: 0.12em; color: var(--text-2); text-decoration: none; background: rgba(6, 28, 22, 0.6); padding: 6px 10px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-list { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.trailer-item { display: flex; flex-direction: column; gap: 20px; }
.trailer-item-text { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 640px) {
  .yt-cinema { aspect-ratio: 16 / 9; }
  .yt-play { width: 64px; height: 64px; }
  .yt-caption { left: 14px; bottom: 12px; right: 96px; font-size: 16px; }
}

/* ---------- Read / page sheet ---------- */
.read-split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.read-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-sheet { flex: 1.4 1 520px; min-width: 0; background: var(--pearl); color: var(--on-pearl-2); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.sheet-label { font-family: var(--f-display); font-style: italic; color: var(--mid); }
.sheet-label :lang(ta) { font-family: var(--f-ta); font-style: normal; }
.sheet-text { font-family: var(--f-display); font-size: 19px; line-height: 1.85; font-weight: 300; }
.sheet-text:lang(ta) { font-family: var(--f-ta); font-weight: 400; line-height: 2.05; }
.dropcap::first-letter { float: left; font-size: 3.4em; line-height: 0.9; padding: 6px 10px 0 0; color: var(--on-pearl); font-weight: 600; }
.sheet-actions { border-top: 1px solid var(--mist); padding-top: 20px; }
.sheet-actions a { color: var(--on-pearl); border-bottom: 1px solid var(--brass); text-decoration: none; padding-block: 6px; }
.read-list { display: flex; flex-direction: column; border-top: 1px solid var(--gold-line); }
.read-item { display: flex; flex-direction: column; gap: 6px; padding-block: 24px; border-bottom: 1px solid var(--gold-line); color: var(--text); text-decoration: none; }
.read-item .work-title:lang(ta) { font-family: var(--f-ta); }

/* ---------- Author ---------- */
.author { display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 112px); align-items: center; }
.author-photo { flex: 0 1 420px; min-width: 0; width: 100%; max-width: 420px; }
.author-photo img, .photo-seal { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-seal { background: var(--emerald); display: flex; align-items: center; justify-content: center; }
.author-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.roles { font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--mid); }
.roles-light { color: var(--gold); }
.lead-light { font-family: var(--f-display); font-weight: 300; font-size: clamp(20px, 2vw, 24px); line-height: 1.6; }
.body-light { font-size: 17px; line-height: 1.8; color: var(--text-2); max-width: 65ch; }
.signature { width: 220px; height: auto; }
.author-page { align-items: flex-start; }
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plain-list a { color: var(--text); }
.plain-list :lang(ta) { font-family: var(--f-ta); }

/* ---------- Voices / reviews ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.voices-list { display: contents; }
.voice { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.voice blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 20px; line-height: 1.7; }
.voice blockquote:lang(ta) { font-family: var(--f-ta); font-weight: 400; font-size: 18px; line-height: 1.9; }
.voice figcaption { font-size: 13px; letter-spacing: 0.04em; color: var(--muted-2); }
.stars { font-size: 15px; letter-spacing: 0.25em; color: var(--gold); }
.star-empty { color: rgba(217, 164, 58, 0.3); }
.empty-note { font-size: 15px; }
.video-review { display: flex; gap: 18px; align-items: center; color: var(--text); text-decoration: none; }
.video-thumb { flex: 0 0 72px; aspect-ratio: 9 / 16; border: 1px solid var(--gold-line-2); background: var(--emerald); display: flex; align-items: center; justify-content: center; }
.video-thumb svg { width: 18px; height: 18px; fill: var(--gold); }
.video-text { display: flex; flex-direction: column; gap: 6px; }
.video-title { font-family: var(--f-display); font-size: 20px; font-weight: 300; }
.video-title:lang(ta) { font-family: var(--f-ta); font-size: 17px; font-weight: 600; }
.video-review-light { color: var(--on-pearl); }
.video-review-light .video-thumb { background: var(--on-pearl); }

.reviews-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .reviews-layout { grid-template-columns: 240px minmax(0, 1fr); } .reviews-layout .review-list, .reviews-layout .video-list { grid-column: 2; } .reviews-layout .review-summary { grid-row: 1 / span 2; } }
.review-summary { display: flex; flex-direction: column; gap: 6px; }
.avg { font-family: var(--f-display); font-size: 52px; font-weight: 300; line-height: 1; }
.avg-of { font-size: 16px; color: var(--on-pearl-3); margin-left: 8px; }
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-card { background: #FFFFFF; border: 1px solid var(--mist); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--on-pearl); }
.review-card .stars { color: var(--brass); }
.review-card .star-empty { color: rgba(184, 137, 44, 0.3); }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.review-who { font-weight: 600; font-size: 15px; }
.review-meta { font-size: 13px; color: var(--on-pearl-3); }
.review-text { font-size: 16px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.review-text:lang(ta) { font-family: var(--f-ta); }
.video-list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Forms ---------- */
.review-form, .site-form { margin-top: clamp(40px, 5vw, 64px); background: #FFFFFF; border: 1px solid var(--mist); padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; color: var(--on-pearl); }
.site-form { margin-top: 0; }
.form-title { font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.form-title:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: 22px; }
.rating-field { border: 0; margin: 0; padding: 0; }
.rating-field legend { font-size: 14px; font-weight: 600; padding: 0 0 10px; }
.rating-options { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-options label { min-width: 56px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #C9D9CF; font-size: 15px; cursor: pointer; padding: 0 12px; }
.rating-options input:checked + label { border-color: var(--brass); background: #FBF3E0; box-shadow: inset 0 0 0 1px var(--brass); }
.rating-options input:focus-visible + label { outline: 2px solid var(--mid); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C9D9CF; border-radius: 0; background: #FFFFFF; color: var(--on-pearl); font: 16px/1.6 var(--f-body); color-scheme: light; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--mid); outline-offset: 0; border-color: var(--mid); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--on-pearl-2); cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 14px; color: var(--mid); }
.form-status.is-error { color: #9A3412; }

/* ---------- Book page ---------- */
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; letter-spacing: 0.06em; color: var(--muted-2); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs :lang(ta) { font-family: var(--f-ta); }
.book-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.book-hero-inner { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: flex-start; }
.book-cover { flex: 0 1 400px; min-width: 0; width: 100%; max-width: 400px; }
.book-info { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--gold-line-2); padding: 5px 10px; color: var(--text-2); }
.tag:lang(ta) { letter-spacing: 0.02em; text-transform: none; font-size: 13px; }
.tag-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.book-title { display: flex; flex-direction: column; gap: 12px; }
.book-title-main { font-family: var(--f-display); font-weight: 300; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.08; }
.book-title-main:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.22; }
.book-title-sub { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); color: var(--text-2); }
.book-tagline { font-family: var(--f-display); font-weight: 300; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--text-2); }
.book-tagline:lang(ta) { font-family: var(--f-ta); font-weight: 400; line-height: 1.8; }
.book-byline { font-size: 15px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.rating-link { color: var(--text-2); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.buy-box { border: 1px solid var(--gold-line-2); background: var(--emerald); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.buy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-head h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.buy-head h2:lang(ta) { font-size: 16px; letter-spacing: 0.02em; text-transform: none; color: var(--text-2); }
.price { font-family: var(--f-display); font-size: 30px; font-weight: 400; font-variant-numeric: tabular-nums; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 24px; }
.facts dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.facts dt:lang(ta) { letter-spacing: 0.02em; text-transform: none; font-size: 13px; }
.facts dd { margin: 4px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.facts-wide { margin-top: 32px; max-width: 640px; }
.prose-block { display: flex; flex-direction: column; gap: 22px; }
.prose { font-family: var(--f-display); font-weight: 300; font-size: 19px; line-height: 1.85; color: var(--on-pearl-2); max-width: 65ch; }
.prose:lang(ta) { font-family: var(--f-ta); font-weight: 400; font-size: 18px; line-height: 2.05; }
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px; margin-top: 32px; }
.cast-item { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--gold-line); }
.cast-item img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 8px; }
.cast-name { font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.cast-name:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: 20px; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; margin-top: 32px; }
.more-item { display: flex; gap: 16px; align-items: center; color: var(--text); text-decoration: none; }
.more-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.more-title { font-family: var(--f-display); font-size: 19px; }
.more-title:lang(ta) { font-family: var(--f-ta); font-weight: 600; font-size: 17px; }

.sticky-buy { display: none; }
@media (max-width: 760px) {
  .page-book { padding-bottom: 84px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; background: var(--deep); border-top: 1px solid var(--gold-line-2); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .sticky-buy .btn { min-height: 46px; padding: 10px 16px; font-size: 12px; white-space: nowrap; }
  .sticky-buy .btn:lang(ta) { font-size: 14px; }
  .sticky-buy-text { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
  .sticky-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-title:lang(ta) { font-family: var(--f-ta); }
}

/* ---------- Media & legal ---------- */
.media-list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--gold-line); }
.media-item { padding-block: 24px; border-bottom: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: 8px; }
.media-title { font-family: var(--f-display); font-size: 22px; color: var(--text); text-decoration: none; }
.legal { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.8; color: var(--text-2); max-width: 70ch; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--text); margin-top: 16px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- Closing & footer ---------- */
.closing { border-top: 1px solid var(--gold-line); padding-block: var(--sec); }
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; max-width: 900px; }
.site-footer { background: var(--deep); border-top: 1px solid var(--gold-line); padding-block: 64px 36px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.footer-names { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--f-display); font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-name-ta { font-family: var(--f-ta); color: var(--muted); font-size: 15px; }
.footer-nav, .footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-nav a { color: var(--text-2); text-decoration: none; padding-block: 8px; }
.footer-social a { color: var(--gold); text-decoration: none; padding-block: 8px; }
.footer-base { width: 100%; border-top: 1px solid var(--gold-line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 12px; color: var(--muted-2); text-align: left; }
.footer-base a { color: var(--muted-2); }

/* ---------- Gentle entrance (visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .hero-cover { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-cover { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- About page ---------- */
.about-subtitle { font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); color: var(--gold); margin-top: 18px; }
.about-body { gap: 20px; }
.about-section { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; margin-top: 12px; border-top: 1px solid var(--gold-line); }
.about-heading { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); color: var(--text); }
.about-quote { margin: 12px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--gold); font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--text); max-width: 34ch; }
.author-quote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--mid); max-width: 40ch; }
.sign-off { display: flex; flex-direction: column; gap: 4px; font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--gold); margin-top: 8px; }
.sign-off :lang(ta) { font-family: var(--f-ta); font-style: normal; font-size: 17px; color: var(--muted); }
@media (min-width: 901px) { .author-page .author-photo { position: sticky; top: 32px; align-self: flex-start; } }

/* ---------- First line & places ---------- */
.first-line { margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; border-bottom: 1px solid rgba(184, 137, 44, 0.4); }
.first-line .eyebrow:lang(ta), .places .eyebrow:lang(ta) { letter-spacing: 0.04em; text-transform: none; font-size: 14px; }
.first-line blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; color: var(--on-pearl); }
.first-line blockquote:lang(ta) { font-family: var(--f-ta); font-style: normal; font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.8; }
.places { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(184, 137, 44, 0.4); }
.places-list { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--f-display); font-size: 18px; color: var(--on-pearl); }
.places-list:lang(ta) { font-family: var(--f-ta); font-size: 16px; }
.places-list span + span::before { content: "·"; color: var(--brass); padding: 0 12px; }

/* ---------- Instagram reviews ---------- */
.insta-count { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line-2); padding-block: 4px; }
.ig-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 326px), 1fr)); gap: 24px; align-items: start; }
.ig-item { min-width: 0; }
.ig-wall .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
.ig-card { margin: 0; background: var(--emerald); border: 1px solid var(--gold-line); }
.ig-fallback { display: flex; align-items: center; gap: 14px; padding: 22px; color: var(--text); text-decoration: none; min-height: 88px; }
.ig-fallback:hover { color: var(--gold); }
.ig-mark svg, .ig-glyph { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.ig-mark circle:last-child { fill: var(--gold); stroke: none; }
.ig-text { font-size: 15px; }
.ig-text:lang(ta), [lang="ta"] .ig-text { font-size: 14px; }
.ig-more { margin-top: 28px; }
.ig-more .btn { width: auto; }

/* ---------- Praise ---------- */
.rating-static { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); text-decoration: none; }
.rating-static .stars { font-size: 13px; letter-spacing: 0.2em; }
.praise-stat { display: flex; align-items: center; gap: 16px; }
.praise-avg { font-family: var(--f-display); font-weight: 300; font-size: 56px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.praise-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); max-width: 30ch; }
.praise-grid { columns: 3 300px; column-gap: clamp(24px, 3vw, 44px); }
.praise-item { break-inside: avoid; margin: 0 0 clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: 14px; }
.praise-item blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 20px; line-height: 1.6; color: var(--text); }
.praise-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--muted-2); }
.praise-item figcaption a, .voice figcaption a { color: var(--gold); text-decoration: none; }
.praise-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.ig-optin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.media-group { margin-bottom: clamp(48px, 6vw, 80px); }
.review-index { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 32px; }
.review-index li { break-inside: avoid; display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--gold-line); font-size: 15px; }
.review-index a { color: var(--text); text-decoration: none; }
.review-index a:hover { color: var(--gold); }
.review-index .muted { font-size: 13px; }
.media-more-title { margin-bottom: 16px; }
.quote-source a { color: var(--mid); text-decoration: none; }

/* ---------- Single quote + video reviews ---------- */
.praise-grid-solo { columns: auto; max-width: 52rem; }
.praise-grid-solo .praise-item blockquote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.45; }
.vr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 3vw, 40px); margin-bottom: clamp(32px, 4vw, 48px); }
.vr-grid:has(> :only-child) { grid-template-columns: minmax(0, 52rem); }
.vr-item { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vr-item figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 14px; }
.vr-item figcaption .link-gold { margin-left: auto; }
.vr-who { font-family: var(--f-display); font-size: 18px; color: var(--text); }
.vr-sub { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.vr-reels { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.vr-reels a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gold-line); color: var(--text); text-decoration: none; }
.vr-reels a:hover .vr-who { color: var(--gold); }
.vr-reels .ig-mark svg { width: 24px; height: 24px; }
.vr-reels .muted { font-size: 13px; }
.vr-reels .vr-go { margin-left: auto; color: var(--gold); }
.vr-reels a > span:nth-child(3) { flex: 0 1 auto; }
.eyebrow:lang(ta), .vr-sub:lang(ta) { letter-spacing: .03em; }
.video-thumb svg.ig-glyph { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.iv-list a { align-items: center; }
.iv-play svg { width: 22px; height: 22px; fill: var(--gold); stroke: none; }
.iv-play { width: 40px; height: 40px; flex: none; border: 1px solid var(--gold-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.iv-play svg polygon { transform: translateX(1px); }
.iv-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.about-section .iv-list { grid-template-columns: 1fr; }
