/* ==========================================================================
   Tokyo Bollywood Club — /onboard/  ·  premium split-screen, oxblood
   982-inspired: cinematic left panel + scrollable accordion column.
   ========================================================================== */
/* Cinzel — self-hosted cinematic display face for the TBC lockup */
@font-face {
  font-family: "Cinzel";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/cinzel-700.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/cinzel-900.woff2") format("woff2");
}
/* Saira Extra Condensed — tall, narrow, black, sleek caps for the TBC lockup:
   a Madrid-style urban-luxury display (OFL, free for commercial use) */
@font-face {
  font-family: "Saira Extra Condensed";
  font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/saira-xc-800.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Extra Condensed";
  font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/saira-xc-900.woff2") format("woff2");
}
/* Limelight — Art-Deco / vintage cinema-marquee throwback for the TBC lockup */
@font-face {
  font-family: "Limelight";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/limelight-400.woff2") format("woff2");
}
/* Anton — black, condensed, tall grotesque: closest free-for-commercial
   stand-in for the "Madrid" look (which is personal-use only) */
@font-face {
  font-family: "Anton";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/anton-400.woff2") format("woff2");
}

:root {
  --display:   "Cinzel", "Trajan Pro", "Hoefler Text", Georgia, serif;
  --ox:        #3f0b10;   /* oxblood — brand, deepened with a darker shade */
  --ox-deep:   #240609;
  --ox-black:  #110304;
  --ink:       #120306;
  --gold:      #e8b552;
  --gold-soft: #d9a94e;
  --cream:     #f5ecdd;
  --text:      #f3e8da;
  --muted:     #c9a9a2;
  --muted-2:   #a1817c;
  --line:      rgba(232,181,82,.22);
  --line-soft: rgba(245,236,221,.10);
  --panel:     rgba(255,255,255,.03);
  --danger:    #ff9db0;
  --sans: "Helvetica Neue", Inter, system-ui, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --serif: "Hoefler Text", "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ox-black);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* ===================== Top nav ===================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(23,4,6,.85), rgba(23,4,6,0));
  backdrop-filter: blur(6px);
}
.wordmark {
  font-weight: 800; letter-spacing: .18em; font-size: 1.15rem; color: #fff;
}
.wordmark-dot { color: var(--gold); }
.nav-links {
  display: flex; gap: clamp(16px, 3vw, 40px);
  font-size: .82rem; letter-spacing: .04em; color: var(--muted);
}
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.apply-btn {
  border: 1px solid var(--gold); color: var(--gold);
  padding: 9px 20px; border-radius: 2px; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; transition: all .22s ease; white-space: nowrap;
}
.apply-btn:hover { background: var(--gold); color: var(--ox-deep); }

/* right side of nav: language switch + join button */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-switch button {
  background: transparent; border: none; color: var(--muted);
  font: inherit; font-size: .74rem; letter-spacing: .05em;
  padding: 7px 12px; cursor: pointer; transition: background .2s, color .2s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--cream); }
.lang-switch button.active { background: var(--gold); color: var(--ox-deep); font-weight: 700; }
@media (max-width: 640px) {
  .nav-right { gap: 8px; }
  .lang-switch button { padding: 6px 9px; font-size: .68rem; }
  .apply-btn { padding: 7px 12px; font-size: .72rem; }
}

/* ===================== Split stage ===================== */
.stage {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}

/* ---- Left: cinematic oxblood hero ---- */
.hero {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 64px);
  background: linear-gradient(155deg, var(--ox) 0%, var(--ox-deep) 55%, var(--ox-black) 100%);
}
/* looping video — left hero panel only, centered */
.page-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0; pointer-events: none;
  filter: brightness(1.18) contrast(1.03) saturate(1.05);
}
/* oxblood tint over the hero video — keeps the TBC lockup legible + on-brand */
.page-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 20% 8%, rgba(232,181,82,.12), transparent 55%),
    linear-gradient(155deg, rgba(74,13,18,.28) 0%, rgba(44,7,11,.40) 55%, rgba(23,4,6,.66) 100%);
}
/* film grain over the hero */
.page-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* oversized faint glyph (कमल = lotus) */
.hero-glyph {
  position: absolute; right: -4%; top: 6%; z-index: 2;
  font-family: var(--serif);
  font-size: clamp(9rem, 22vw, 20rem); line-height: .8;
  color: rgba(245,236,221,.05);
  letter-spacing: -.03em; pointer-events: none; user-select: none;
  writing-mode: vertical-rl;
}
.hero::after { /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 160px 20px rgba(0,0,0,.28);
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.hero-title {
  font-family: "Anton", var(--display); font-weight: 400;
  font-size: clamp(4.8rem, 11vw, 8.4rem); line-height: .9;
  margin: 0 0 6px; letter-spacing: .04em; text-transform: uppercase;
  /* gold gradient fill for a richer, luxe finish */
  color: var(--gold);
  background: linear-gradient(160deg, #f4d585 0%, var(--gold) 48%, #c8923a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 26px rgba(0,0,0,.55));
}
.hero-fullname {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px;
  min-height: 1.4em; text-align: left;
  transition: opacity .2s ease;
}
.hero-tag {
  max-width: 30rem; color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0;
}
.hero-foot {
  position: relative; z-index: 2; margin-top: 30px;
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
}
.dotsep { color: var(--gold); }

/* ---- Right: reader / accordion ---- */
.reader {
  background: linear-gradient(165deg, var(--ox-deep) 0%, #200609 55%, var(--ox-black) 100%);
  padding: clamp(90px, 12vh, 130px) clamp(22px, 4vw, 72px) 60px;
  min-height: 100vh;
}
.reader-lede { margin-bottom: 26px; }
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 12px;
}
.lede-copy { font-size: 1.15rem; line-height: 1.55; color: var(--cream); max-width: 34rem; margin: 0; }

/* featured event banner (The Fake Shaadi) */
.event-banner {
  display: block; margin-bottom: 26px; padding: 22px 24px;
  border: 1px solid rgba(232,181,82,.5); border-radius: 12px; color: inherit;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(232,181,82,.18), transparent 60%),
    linear-gradient(160deg, rgba(74,13,18,.72), rgba(23,4,6,.6));
  box-shadow: 0 20px 55px -26px rgba(0,0,0,.75);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.event-banner:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 26px 60px -24px rgba(0,0,0,.85); }
.ev-tag { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ev-title { display: block; font-family: "Cinzel", var(--display); font-weight: 900; color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1; letter-spacing: .02em; margin-bottom: 8px; }
.ev-sub { display: block; color: var(--cream); font-size: .98rem; margin-bottom: 16px; max-width: 34rem; }
.ev-btn { display: inline-block; background: var(--gold); color: var(--ox-deep);
  padding: 11px 22px; border-radius: 5px; font-weight: 800; letter-spacing: .03em; font-size: .92rem;
  box-shadow: 0 6px 20px -6px rgba(232,181,82,.5); }

/* primary CTA card — the conversion moment, high on the page */
.cta-card {
  margin-top: 26px; padding: 24px 26px;
  border: 1px solid rgba(232,181,82,.34); border-radius: 10px;
  background: linear-gradient(160deg, rgba(74,13,18,.55), rgba(23,4,6,.35));
  box-shadow: 0 18px 50px -24px rgba(0,0,0,.7);
}
.cta-head {
  font-family: var(--sans); font-weight: 700; color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); letter-spacing: .005em; margin-bottom: 8px;
}
.cta-sub { color: var(--cream); margin: 0 0 18px; font-size: 1rem; line-height: 1.55; max-width: 32rem; }
.cta-btn {
  display: inline-block; background: var(--gold); color: var(--ox-deep);
  padding: 14px 28px; border-radius: 5px; font-weight: 800; letter-spacing: .03em;
  font-size: .98rem; box-shadow: 0 6px 22px -6px rgba(232,181,82,.55);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.cta-btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 28px -6px rgba(232,181,82,.7); }
.cta-note { margin: 14px 0 0; font-size: .82rem; color: var(--gold-soft); letter-spacing: .02em; }

/* accordion panels */
.panel { border-top: 1px solid var(--line-soft); }
.panel:last-of-type { border-bottom: 1px solid var(--line-soft); }
.panel > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 2px; font-size: 1.18rem; color: #fff;
  font-family: var(--sans); font-weight: 600; letter-spacing: .005em;
  transition: color .2s;
}
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary:hover { color: var(--gold); }
.panel > summary::after {
  content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1;
  color: var(--gold); transition: transform .3s ease;
}
.panel[open] > summary::after { content: "×"; }
.panel-body {
  padding: 0 2px 30px; color: var(--muted); max-width: 40rem;
  animation: fade .35s ease;
}
.panel-body p { margin: 0 0 16px; }
.panel-body p:last-child { margin-bottom: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* steps */
.steps { list-style: none; margin: 0 0 20px; padding: 0; }
.steps li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--cream);
}
.steps li:last-child { border-bottom: none; }
.steps li .num {
  font-family: var(--serif); color: var(--gold); font-size: .95rem; min-width: 26px;
}

/* nights grid */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.grid2 h4 { margin: 0 0 6px; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.grid2 p { margin: 0; font-size: .95rem; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px !important; }
.tags span {
  border: 1px solid var(--line); color: var(--gold-soft);
  padding: 5px 12px; border-radius: 2px; font-size: .78rem; letter-spacing: .04em;
}

/* buttons */
.ghost-btn {
  display: inline-block; margin-top: 4px;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 10px 20px; border-radius: 2px; font-size: .82rem; letter-spacing: .06em;
  transition: all .22s;
}
.ghost-btn:hover { background: var(--gold); color: var(--ox-deep); }

/* ===================== Join us — two doors ===================== */
.join-actions { display: grid; gap: 16px; }
.join-card {
  display: block; padding: 20px 22px; border-radius: 10px; color: inherit;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.join-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 18px 44px -24px rgba(0,0,0,.7); }
.join-card.primary { border-color: rgba(232,181,82,.5); background: linear-gradient(160deg, rgba(74,13,18,.5), rgba(23,4,6,.4)); }
.jc-title { display: block; font-family: var(--sans); font-weight: 700; color: #fff; font-size: 1.28rem; letter-spacing: .01em; margin-bottom: 5px; }
.jc-sub { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.jc-go { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: .03em; font-size: .92rem; }
.join-card.primary .jc-go { background: var(--gold); color: var(--ox-deep); padding: 10px 20px; border-radius: 5px; box-shadow: 0 6px 20px -6px rgba(232,181,82,.5); }

/* ===================== Apply / chat ===================== */
.apply-intro { color: var(--cream) !important; margin-bottom: 20px !important; }
.apply-grid {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 20px; align-items: start;
}
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }

.chat-card {
  background: linear-gradient(180deg, rgba(74,13,18,.35), rgba(23,4,6,.5));
  border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 16px 14px; display: flex; flex-direction: column; min-height: 52vh;
}
.stream { flex: 1; overflow-y: auto; padding: 4px 2px 8px; max-height: 46vh; }
.stream:empty { display: none; }
.msg { margin: 10px 0; display: flex; }
.msg.you { justify-content: flex-end; }
.msg .bubble {
  padding: 10px 14px; border-radius: 12px; max-width: 86%; white-space: pre-wrap; font-size: .95rem; line-height: 1.5;
}
.msg.you .bubble { background: linear-gradient(120deg, var(--gold), var(--gold-soft)); color: var(--ox-deep); border-bottom-right-radius: 3px; }
.msg.bot .bubble { background: rgba(245,236,221,.06); border: 1px solid var(--line-soft); color: var(--text); border-bottom-left-radius: 3px; }
.tool { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted-2); margin: 6px 2px; }
.tool .dot { color: var(--gold); }
.tool code { color: var(--gold-soft); font-size: .8rem; }
.typing { font-size: .85rem; color: var(--muted-2); font-style: italic; margin: 6px 2px; }

.composer { display: flex; gap: 8px; margin-top: 10px; }
.composer textarea {
  flex: 1; resize: none; min-height: 46px; max-height: 120px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line-soft); border-radius: 4px;
  color: var(--text); font: inherit; font-size: .95rem; padding: 11px 12px; outline: none;
}
.composer textarea:focus { border-color: var(--gold); }
.btn {
  background: var(--gold); color: var(--ox-deep); border: none; border-radius: 4px;
  padding: 0 20px; font-weight: 700; letter-spacing: .03em; cursor: pointer; font-size: .9rem;
  transition: filter .2s;
}
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .5; cursor: default; }

.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  border: 1px solid var(--line-soft); color: var(--muted); background: rgba(255,255,255,.02);
  padding: 7px 11px; border-radius: 3px; font-size: .78rem; cursor: pointer; transition: all .18s;
}
.chip:hover { border-color: var(--gold); color: var(--cream); }
.hint { font-size: .74rem; color: var(--muted-2); margin: 12px 0 0; }
.err { color: var(--danger); font-size: .85rem; margin: 8px 0 0; min-height: 1em; }

/* passport */
.passport {
  background: linear-gradient(180deg, rgba(74,13,18,.4), rgba(23,4,6,.55));
  border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 16px;
  position: sticky; top: 96px;
}
.passport .sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.passport h2 { margin: 8px 0 12px; color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.progress { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width .5s ease; }
.pfields { display: grid; gap: 2px; }
.pfield { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.pfield:last-child { border-bottom: none; }
.pfield .k { color: var(--muted-2); letter-spacing: .02em; }
.pfield .v { text-align: right; }
.pfield .v.filled { color: var(--cream); }
.pfield .v.empty { color: rgba(161,129,124,.5); }
.enrich { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.etitle { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.enrich ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .85rem; }
.enrich li { margin-bottom: 5px; }

.done-banner { display: none; margin-top: 16px; padding: 14px; border: 1px solid var(--gold); border-radius: 5px; background: rgba(232,181,82,.08); }
.done-banner.show { display: block; }
.done-banner strong { color: var(--gold); font-size: 1.05rem; }
.done-sub { color: var(--muted); font-size: .85rem; margin: 4px 0 12px; }
.done-banner .btn { padding: 10px 16px; width: 100%; }

/* footer */
.reader-foot {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px; color: var(--muted-2);
  font-size: .78rem; letter-spacing: .04em;
}
.fmark { font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.reader-foot .ig-link { color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: .03em; transition: color .2s; }
.reader-foot .ig-link:hover { color: var(--gold-soft); text-decoration: underline; }

/* ===================== Responsive: stack ===================== */
@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; }
  .hero { position: relative; height: auto; min-height: 78vh; justify-content: flex-end; }
  .nav-links { display: none; }
  .reader { padding-top: 48px; }
  .passport { position: static; }
}
