/*
Theme Name: Ramender
Theme URI: https://ramendra.in/
Author: Custom Theme
Description: Custom WordPress theme converted from the Ramendra Kumar HTML landing page, with reusable header/footer and a single main page layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ramender
*/
/* ============================================================
   Ramendra Kumar — editorial author site
   One serif (Romie) · one sans (Satoshi) · strict scale & rhythm
   ============================================================ */
@font-face {
  font-family: "Romie";
  src: url("assets/fonts/romie-regular.woff2") format("woff2"),
       url("assets/fonts/romie-regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kalice";
  src: url("assets/fonts/Kalice-Regular.woff2") format("woff2"),
       url("assets/fonts/Kalice-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  /* palette — Ink & Vermilion */
  --ink:       #1b1a18;
  --ink-soft:  #6b655c;
  --teal-deep: #1b1a18;  /* dark section (near-black) */
  --accent:    #d1402a;
  --gold:      #e2a63f;
  --paper:     #f6f2ea;
  --cream:     #ece5d8;
  --line:      #e4ddce;
  --line-soft: rgba(27,26,24,.12);

  /* type */
  --serif:   "Romie", "Kalice", Georgia, "Times New Roman", serif;
  --display: "Romie", "Kalice", Georgia, "Times New Roman", serif;
  --sans:    "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* fluid type scale */
  --fs-display: clamp(56px, 8.5vw, 116px);
  --fs-statement: clamp(28px, 4.4vw, 56px);
  --fs-h2:      clamp(34px, 4.6vw, 56px);
  --fs-h3:      clamp(22px, 2.4vw, 30px);
  --fs-lead:    19px;
  --fs-body:    17px;
  --fs-small:   14px;
  --fs-eyebrow: 13px;

  /* rhythm */
  --section: clamp(84px, 11vw, 150px);
  --wrap: 1160px;
  --narrow: 860px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* layout primitives */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: var(--narrow); }
.section { padding: var(--section) 0; }

/* shared type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
.display { font-family: var(--display); font-weight: 400; }
.accent, em.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow.light { color: var(--gold); }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); margin: 18px 0 0; max-width: 52ch; line-height: 1.55; }

/* section header pattern */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.sec-head.stacked { display: block; max-width: 60ch; }
.sec-head h2 em { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--accent); color: #fff; }
.btn-pink:hover { background: #b0351f; }
.btn-ghost { background: transparent; border-color: var(--line-soft); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: transparent; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
/* soft washed-out gradient glow behind the header (fades down into the page) */
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 190px;
  background:
    radial-gradient(120% 140% at 50% -40%, rgba(226,166,63,.26) 0%, rgba(209,64,42,.08) 38%, rgba(246,242,234,0) 70%);
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity .25s ease;
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled {
  background: rgba(246,242,234,.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .wrap { max-width: none; padding: 0 clamp(24px, 3.5vw, 56px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.logo { font-family: var(--display); font-size: 22px; color: var(--accent); letter-spacing: -0.02em; }
.logo.light { color: #fff; }
.brand-meta { display: flex; flex-direction: column; border-left: 1px solid var(--line-soft); padding-left: 12px; line-height: 1.25; }
.brand-name { font-size: 13px; font-weight: 500; }
.brand-tag { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.header-cta { padding: 8px 18px; font-size: 14px; }

/* ============================================================
   1 · Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - 62px);
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2.4vw, 32px) 0 clamp(18px, 2.4vw, 32px);
}
.hero .wrap { max-width: 1180px; position: relative; z-index: 1; }
.hero-grid {
  width: 100%;
  flex: 1 1 auto;            /* fill the fold above the stats */
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;   /* give the headline column more room */
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
  align-content: center;     /* keep the row vertically centred as it grows */
}
.achiev-wrap { flex: 0 0 auto; }   /* pinned to the bottom of the fold */
.hero-media {
  border-radius: 3px;
  overflow: hidden;
  /* source is 1100×1100 — keep rendered size close to native so it stays crisp */
  height: min(62vh, 480px);
  align-self: center;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-media:hover img { transform: scale(1.04); }
.hero-body {
  text-align: left;
  /* optical nudge: lift slightly above mathematical center */
  transform: translateY(-1.5%);
}
.hero-body h1 { font-size: clamp(66px, 10vw, 158px); line-height: 0.86; letter-spacing: -0.035em; }
.hero-body h1 .name { color: var(--accent); display: block; font-style: normal; }

/* Rotating-identity headline: "Meet / a writer. … Ramen."
   Sized (with a specificity high enough to beat `.hero-body h1`) so the
   longest rotating phrase fits the column without crossing into the photo. */
.hero-body h1.hero-title { font-size: clamp(44px, 6vw, 76px); line-height: 0.94; letter-spacing: -0.03em; }
.hero-title .ht-fixed { display: block; color: var(--ink); }
.rotator {
  display: block; position: relative;
  height: 1em;                 /* one line; words are stacked & cross-fade */
  color: var(--accent);
}
.rot-word {
  position: absolute; top: 0; left: 0;   /* left-aligned hero body */
  white-space: nowrap;
  opacity: 0; transform: translateY(0.32em);
  /* leaving word fades out quickly so the two never sit garbled on top of each other */
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.75,.2,1);
  will-change: opacity, transform;
}
.rot-word.is-current {
  opacity: 1; transform: none;
  /* incoming word waits for the previous one to clear */
  transition: opacity .5s ease .22s, transform .6s cubic-bezier(.2,.75,.2,1) .22s;
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: clamp(30px, 3.4vw, 48px);
  flex-wrap: wrap;
}
/* Key-achievements bar — all five on one line, full width */
.achiev {
  list-style: none; margin: 0; padding: clamp(18px, 2.2vw, 26px) 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 48px);
}
.achiev li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.achiev b {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 3vw, 46px); color: var(--accent); line-height: 1;
}
.achiev span { font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

/* ============================================================
   2 · Manifesto
   ============================================================ */
.manifesto { text-align: center; }
.statement {
  font-size: var(--fs-statement);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.statement mark { background: rgba(189,46,101,.14); color: var(--accent); padding: 0 .08em; border-radius: 4px; }

/* --- Inline "coins" --------------------------------------------------
   Live inline medallions: each shows a cycling stack of themed photos
   by default (the icon lives on the hidden back face). */
.coin {
  display: inline-flex;
  font-size: inherit;           /* buttons don't inherit font-size — force it */
  width: .9em; height: .9em;    /* ~.9 of the statement's type size */
  margin: 0 .14em; padding: 0; border: 0;
  vertical-align: -0.18em;
  background: none; border-radius: 50%;
  cursor: pointer;
  perspective: 320px;
  -webkit-tap-highlight-color: transparent;
}
.coin:focus-visible { outline: none; }
.coin-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  transform-style: preserve-3d;
  transform: rotateY(180deg);   /* photo face forward by default */
  transition: transform .55s cubic-bezier(.2,.75,.2,1);
  box-shadow: 0 1px 2px rgba(27,26,24,.18);
}
/* pop the coin forward on hover / focus (transform only → no reflow) */
.coin:hover .coin-inner,
.coin.is-active .coin-inner,
.coin:focus-visible .coin-inner {
  transform: rotateY(180deg) scale(1.65);
  box-shadow: 0 10px 24px rgba(27,26,24,.28), 0 0 0 3px rgba(246,242,234,.9);
}
.coin-face {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.coin-front { color: #fff; }
.coin-front svg { width: 56%; height: 56%; }
.coin-back { transform: rotateY(180deg); background: var(--ink); }
.coin-back img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s ease;
}
.coin-back img.is-shown { opacity: 1; }

/* themes (icon back face — only seen if JS/3D is unavailable) */
.coin--ink    .coin-front { background: var(--ink); }
.coin--accent .coin-front { background: var(--accent); }
.coin--gold   .coin-front { background: var(--gold); color: var(--ink); }

/* dancer — two dots twirling around each other like dance partners */
.coin-dance { background: radial-gradient(circle at 50% 45%, #27251f 0%, var(--ink) 70%); }
.coin-dance i {
  position: absolute; top: 50%; left: 50%;
  width: 24%; height: 24%; margin: -12% 0 0 -12%;
  border-radius: 50%;
  transform-origin: 50% 50%;
}
.coin-dance i:nth-child(1) { background: var(--gold); }
.coin-dance i:nth-child(2) { background: var(--accent); }
.coin.is-playing .coin-dance i { animation: coin-twirl 2.1s linear infinite; }
.coin.is-playing .coin-dance i:nth-child(2) { animation-delay: -1.05s; } /* opposite side */
@keyframes coin-twirl {
  from { transform: rotate(0deg) translateX(95%); }
  to   { transform: rotate(360deg) translateX(95%); }
}

.wrap.header-inner a.btn.btn-ghost.header-cta img{width:18px;}

@media (prefers-reduced-motion: reduce) {
  .coin-inner { transition: transform .01ms; }
  .coin-back img { transition: opacity .01ms; }
  .coin.is-playing .coin-dance i { animation: none; }
  .coin-dance i:nth-child(1) { transform: translateX(95%); }
  .coin-dance i:nth-child(2) { transform: translateX(-95%); }
}

.signature {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.signature img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.signature span { font-style: italic; font-family: var(--serif); font-size: 19px; color: var(--ink-soft); max-width: 46ch; text-align: left; }

/* ============================================================
   Figures (big numeral motif)
   ============================================================ */
.fig-num { font-family: var(--display); line-height: .9; color: var(--accent); display: block; }
.fig-cap { display: block; font-size: var(--fs-small); color: var(--ink-soft); margin-top: 12px; max-width: 22ch; }
.figure-lg .fig-num { font-size: clamp(96px, 13vw, 184px); }
.figure-lg .fig-cap { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* ============================================================
   3 · The work (Books)
   ============================================================ */
.work .sec-head { align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.figure-lg { text-align: right; }

/* Full-bleed horizontal rail of larger covers */
/* rail + visible nav arrows */
.rail { position: relative; }
.rail-nav {
  position: absolute; top: calc(50% - 28px); z-index: 3;
  transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -10px rgba(27,26,24,.4);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, opacity .25s ease;
}
.rail-nav svg { width: 22px; height: 22px; }
.rail-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rail-nav:active { transform: translateY(-50%) scale(.94); }
.rail-nav.prev { left: clamp(10px, 3vw, 40px); }
.rail-nav.next { right: clamp(10px, 3vw, 40px); }
.rail-nav[disabled] { opacity: 0; pointer-events: none; }

/*
.book-rail {
  display: flex;
  gap: clamp(24px, 2.4vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scroll-padding-inline: max(32px, calc((100vw - var(--wrap)) / 2 + 32px));
  padding: 10px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.book-rail::-webkit-scrollbar { display: none; }
.book-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
*/

.book-rail {
  display: flex;
  gap: clamp(24px, 2.4vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  scroll-padding-inline: max(32px, calc((100vw - var(--wrap)) / 2 + 32px));
  padding: 10px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.book-rail .book:last-child {
  scroll-snap-align: end;
}

/* iOS Safari slider fix */
@supports (-webkit-touch-callout: none) {
  .book-rail { scroll-snap-type: none !important; }
  .book .cover { -webkit-transform: translateZ(0); transform: translateZ(0); }
}


.book {
  flex: 0 0 clamp(168px, 15vw, 210px);
  scroll-snap-align: start;
}
.book .cover {
  border-radius: 10px; overflow: hidden; aspect-ratio: 173 / 268;
  background: var(--cream); box-shadow: 0 20px 44px rgba(27,26,24,.18);
}
.book .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.book:hover .cover img { transform: scale(1.05); }
.book .b-title { font-size: 18px; margin: 18px 0 5px; line-height: 1.2; }
.book .b-type { font-size: var(--fs-small); color: var(--ink-soft); padding-top:12px;}

/* ============================================================
   4 · Impact — a typographic grid
   ============================================================ */
.impact { background: var(--paper); }

/* ============================================================
   3.5 · Book in focus — Paplu spotlight panel
   ============================================================ */
.book-focus { background: var(--cream); }
.focus-grid {
  display: grid;
  grid-template-columns: minmax(170px, 200px) 1fr;   /* source is only 326×500 — keep it small so it stays crisp */
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.focus-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(27,26,24,.45);
  /* the cover art is ~326×500 (≈ 2:3) */
  aspect-ratio: 326 / 500;
}
.focus-cover img { width: 100%; height: 100%; object-fit: cover; }
.focus-body h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  margin: 14px 0 0;
}
.focus-body h2 em { color: var(--accent); }
.focus-body .lead { color: var(--ink-soft); margin: 18px 0 0; max-width: 48ch; }

/* Book-in-focus record bullets */
.focus-points { list-style: none; margin: clamp(26px, 3vw, 36px) 0 0; padding: 0; }
.focus-points li {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--display); font-size: clamp(19px, 2vw, 24px); line-height: 1.3;
  padding: 14px 0; border-top: 1px solid var(--line-soft);
}
.focus-points li:first-child { border-top: 0; }
.focus-points li em { color: var(--ink-soft); font-size: .72em; }
.focus-points .fp-mark {
  flex: none; width: 9px; height: 9px; margin-top: .45em; border-radius: 50%;
  background: var(--accent);
}

/* Modular, hairline-ruled stat ledger */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.stat {
  display: flex; flex-direction: column;
  min-height: clamp(240px, 36vh, 420px);
  padding: clamp(22px, 2.2vw, 34px) clamp(18px, 1.7vw, 28px) clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stat-tag {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(84px, 11vw, 150px);   /* bold, near full-fold presence */
  line-height: .82; letter-spacing: -0.035em;
  color: var(--accent);
  margin-top: auto;                        /* pin the numerals to a shared baseline */
}
.stat-num .unit { font-size: .4em; letter-spacing: -0.01em; vertical-align: .18em; margin-left: .01em; }
.stat-label {
  margin-top: 18px;
  font-size: 13.5px; line-height: 1.4; color: var(--ink-soft);
  max-width: 22ch;
}

/* staggered reveal (only when JS has armed it) */
.stat-grid.js-reveal .stat { opacity: 0; transform: translateY(14px); }
.stat-grid.js-reveal.is-revealed .stat {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.stat-grid.is-revealed .stat:nth-child(2) { transition-delay: .08s; }
.stat-grid.is-revealed .stat:nth-child(3) { transition-delay: .16s; }
.stat-grid.is-revealed .stat:nth-child(4) { transition-delay: .24s; }

/* Recognition index block */
.impact-cols { display: block; }
.impact-cols .eyebrow { margin-bottom: 16px; }
.recognition {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.recognition .eyebrow { grid-column: 1 / -1; }

.feature h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.feature h3 em { color: var(--accent); }
.feature > p { color: var(--ink-soft); margin: 16px 0 0; font-size: 16px; max-width: 46ch; }

/* inline stat ledger inside the feature */
.ledger {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  margin: clamp(28px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--line-soft);
}
/* borders live on the items so the bottom rule and dividers always meet;
   horizontal padding keeps the numbers off the divider lines */
.ledger-item { padding: 18px 28px; border-bottom: 1px solid var(--line-soft); }
.ledger-item:first-child { padding-left: 0; }
.ledger-item:last-child { padding-right: 0; }
.ledger-item:not(:last-child) { border-right: 1px solid var(--line-soft); }
.ledger dt { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: var(--ink); }
.ledger dd { margin: 8px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.partners { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; padding: 0; }
.partners li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.partners img { width: 28px; height: 28px; object-fit: contain; flex: none; }

/* recognition index */
.recognition .rec-lead { padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.rec-title { display: block; font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.rec-org { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.rec-list li:last-child { border-bottom: 0; }
.rec-role { font-family: var(--display); font-size: 19px; }

/* Recognition section — editorial two-column index on a warm band */
.recognition-section { background: var(--cream); }
.rec-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 100px);
  border-top: 1px solid var(--line-soft);
}
.rec-grid li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.rec-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(209,64,42,.1); color: var(--accent);
}
.rec-ico svg { width: 23px; height: 23px; }
.rec-text { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.rec-grid .rec-role { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.rec-grid .rec-org { font-size: 13px; color: var(--ink-soft); letter-spacing: .02em; }
@media (max-width: 760px) {
  .rec-grid { grid-template-columns: 1fr; border-top: 0; }
  
.wrap.header-inner a.btn.btn-ghost.header-cta{border: 0;
text-indent: -99999px;
padding: 0; gap:0}
.wrap.header-inner a.btn.btn-ghost.header-cta img{width:23px!important;}
  
}

@media (prefers-reduced-motion: reduce) {
  .stat-grid.js-reveal .stat { opacity: 1; transform: none; }
}

/* ============================================================
   5 · On stage (dark breather)
   ============================================================ */
.dark { background: var(--teal-deep); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em { color: var(--gold); }
.dark .lead { color: rgba(255,255,255,.72); }

.video-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vtile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255,255,255,.08); }
.vtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vtile:hover img { transform: scale(1.04); }
.vlabel {
  position: absolute; inset: auto 0 0 0; padding: 22px 24px;
  font-family: var(--display); font-size: 22px; color: #fff;
  background: linear-gradient(transparent, rgba(15,59,71,.88));
}
.play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.play::after { content: ""; border-left: 18px solid var(--accent); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.vtile:hover .play, .icard:hover .play { transform: scale(1.08); }

.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.icard .thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: rgba(255,255,255,.08); }
.icard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.icard .play { width: 50px; height: 50px; }
.icard .play::after { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.icard p { margin: 16px 0 0; font-family: var(--display); font-size: 20px; }

.warrior {
  margin-top: clamp(56px, 7vw, 88px);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.warrior .w-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.warrior .w-body { padding: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.warrior .w-body h3 { font-size: clamp(30px, 3.4vw, 44px); margin: 6px 0 14px; }
.warrior .w-body h3 em { color: var(--gold); }
.warrior .w-body p { color: rgba(255,255,255,.72); margin: 0; }

/* ============================================================
   6 · Selected appearances (two-column index)
   ============================================================ */
.appear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 100px);
}
.appear-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.appear-col .appear-row:first-child { border-top: 0; }
.ar-flag { flex: none; font-size: 21px; line-height: 1; }
.ar-name { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 25px); line-height: 1.2; }
.ar-note { margin-left: auto; text-align: right; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

/* relocated background strip — quiet footnote */
.bg-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(52px, 6vw, 84px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line-soft);
}
.bg-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 10px; }
.bg-item p { color: var(--ink-soft); margin: 0; font-size: 15px; max-width: 44ch; line-height: 1.6; }

/* ============================================================
   8 · Sessions (accordion)
   ============================================================ */
.accordion { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: clamp(22px, 2.6vw, 32px) 2px;
  font-family: var(--display); color: var(--ink);
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15;
}
.acc-title { transition: color .2s ease; }
.acc-head:hover .acc-title, .acc-item.is-open .acc-title { color: var(--accent); }
.acc-chevron {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.75,.2,1), background .2s ease, color .2s ease, border-color .2s ease;
}
.acc-chevron svg { width: 20px; height: 20px; }
.acc-item.is-open .acc-chevron { transform: rotate(180deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.acc-panel { overflow: hidden; height: 0; transition: height .34s cubic-bezier(.2,.75,.2,1); }
.acc-inner { padding: 2px 2px clamp(24px, 3vw, 34px); max-width: 60ch; }
.acc-inner > p { margin: 0; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; }
.offer + .offer { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.offer h4 { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2vw, 24px); margin: 0 0 6px; }
.offer p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

/* ============================================================
   9 · Booking + contact
   ============================================================ */
.booking-grid { max-width: 720px; }

/* rich custom dropdown for the session type */
.rich-select { position: relative; }
.rs-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px 13px 16px; cursor: pointer;
  font-family: var(--sans); font-size: 16px; color: var(--ink); text-align: left;
  transition: border-color .18s ease;
}
.rs-trigger:focus-visible { outline: none; border-color: var(--accent); }
.rich-select.is-open .rs-trigger { border-color: var(--accent); }
.rs-value[data-placeholder="true"] { color: var(--ink-soft); }
.rs-chevron { flex: none; display: flex; color: var(--ink-soft); transition: transform .3s cubic-bezier(.2,.75,.2,1); }
.rs-chevron svg { width: 20px; height: 20px; }
.rich-select.is-open .rs-chevron { transform: rotate(180deg); color: var(--accent); }
.rs-panel {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0;
  list-style: none; margin: 0; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(27,26,24,.4);
}
.rs-panel li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px; border-radius: 8px; cursor: pointer;
  transition: background .15s ease;
}
.rs-panel li:hover, .rs-panel li.is-active { background: var(--cream); }
.rs-opt-title { font-weight: 600; font-size: 15px; }
.rs-opt-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(24,52,62,.1);
}
.contact-card h3 { font-size: 28px; }
.cc-sub { color: var(--ink-soft); margin: 10px 0 30px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); font-family: var(--sans); font-size: 16px; padding: 8px 0; outline: none;
}
.field textarea { resize: vertical; min-height: 54px; }
.field select { appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.contact-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.wa-link svg { width: 20px; height: 20px; color: #25a366; }
.disclaimer { color: var(--ink-soft); font-size: 13px; margin-top: 22px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--teal-deep); color: #fff; padding: 56px 0 44px; }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.16); }
.f-contact { color: rgba(255,255,255,.8); font-size: 15px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.socials a:hover { background: #fff; color: var(--teal-deep); }
.socials svg { width: 18px; height: 18px; }
.f-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 24px; color: rgba(255,255,255,.55); font-size: 13px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero { min-height: auto; padding: 28px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { height: 52vh; max-height: 500px; }
  .hero .wrap { max-width: var(--wrap); position: relative; z-index: 1; }
  .hero-body { text-align: left; transform: none; }
  .hero-body h1 { font-size: clamp(56px, 12vw, 104px); }
  .hero-body h1.hero-title { font-size: clamp(34px, 8vw, 72px); }
  .hero-actions { justify-content: flex-start; }
  /* hero no longer stretches, so give the stats divider room below the CTAs */
  .achiev-wrap { margin-top: clamp(32px, 6vw, 48px); }
  .sec-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .book { flex-basis: clamp(220px, 34vw, 300px); }
  .focus-grid { grid-template-columns: 1fr; gap: 32px; }
  .focus-cover { max-width: 200px; }
  .rec-grid { grid-template-columns: 1fr; border-top: 0; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 720px) {
  :root { --section: clamp(52px, 9vw, 80px); }   /* tighter rhythm → less scroll */
  .brand-meta { display: none; }
  .header-cta { display: inline-flex; }          /* keep the CTA in the sticky nav */

  .hero { padding: 18px 0 30px; }
  .hero-media { height: 44vh; max-height: 400px; }

  /* key achievements — tidy 2-up grid, all visible */
  .achiev { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .achiev li { flex-direction: column; align-items: flex-start; gap: 3px; white-space: normal; }
  .achiev b { font-size: clamp(30px, 9vw, 40px); }
  .achiev span { max-width: none; }

  /* On stage — horizontal rails instead of tall stacks */
  .video-row, .icards {
    display: flex; flex-wrap: nowrap; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 6px;
    margin-inline: -24px; padding-inline: 24px;   /* bleed to screen edges */
  }
  .video-row::-webkit-scrollbar, .icards::-webkit-scrollbar { display: none; }
  .video-row .vtile { flex: 0 0 86%; scroll-snap-align: start; }
  .icards .icard { flex: 0 0 70%; scroll-snap-align: start; }

  .book { flex-basis: min(66vw, 240px); }
  .book-rail { scroll-padding-inline: 24px; padding-inline: 24px; }
  .warrior { grid-template-columns: 1fr; }
  .appear-grid { grid-template-columns: 1fr; column-gap: 0; }
  .appear-col:last-child .appear-row:first-child { border-top: 1px solid var(--line-soft); }
  .bg-strip { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .signature span { text-align: center; }
  .wa-link{margin-top:15px;}
  
}
@media (max-width: 360px) {
  .achiev { grid-template-columns: 1fr; gap: 14px; }
}

/* Enquiry form feedback and validation */
.ramender-form-notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 8px; font-size: 15px; line-height: 1.5; }
.ramender-form-notice.success { background: #edf8f0; color: #185b2b; border: 1px solid #b9e2c2; }
.ramender-form-notice.error { background: #fff0ef; color: #8c2118; border: 1px solid #efc1bc; }
#contact-help { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; opacity: .8; }
