/* Alokito / আলোকিত
   Visual identity taken from the brand reel: cream daylight paper, a deep
   indigo and a flame orange for "the two people", heavy literary Bangla type
   with one word picked out in flame. One dusk band for the lamps. */

:root {
  --cream: #ece5d2;
  --paper: #f5f1e4;
  --peach: #efd4a7;
  --indigo: #2c276a;
  --flame: #e15f21;          /* shapes and accents only: 2.85:1 on cream */
  --flame-text: #c4480f;     /* large text: 3.9:1 on cream, 3.4:1 on peach */
  --flame-deep: #a83b0a;     /* small text: 5.1:1 on cream */
  --ink: #1b1838;
  --ink-soft: #4d4875;       /* 6.7:1 on cream */
  --rule: rgba(44, 39, 106, 0.16);
  --dusk: #1c1945;
  --dusk-text: #ece5d2;
  --dusk-soft: #b9b3d6;
  --wick: #9b9183;

  --f-display: "Fraunces", "Noto Serif Bengali", Georgia, serif;
  --f-body: "Newsreader", "Anek Bangla", Georgia, serif;
  --f-ui: "Anek Bangla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lh-display: 1.08;
  --lh-body: 1.55;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius-panel: clamp(14px, 1.6vw, 22px);
  --shadow-card: 0 1px 0 rgba(27, 24, 56, 0.04), 0 18px 40px -18px rgba(27, 24, 56, 0.35);

  color-scheme: light;
}

/* Bangla: the display face comes first so punctuation matches, and lines get
   room for headstrokes, matras above and the hasanta / ya-phala below. */
:lang(bn) {
  --f-display: "Noto Serif Bengali", "Fraunces", serif;
  --f-body: "Anek Bangla", "Newsreader", sans-serif;
  --lh-display: 1.32;
  --lh-body: 1.72;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html.i18n-wait body { visibility: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:lang(bn) body, body:lang(bn) { font-size: clamp(1.03rem, 0.35vw + 0.95rem, 1.125rem); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--peach); color: var(--ink); }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.lamp-band :focus-visible { outline-color: var(--peach); }
main:focus { outline: none; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 6px;
  font-family: var(--f-ui); line-height: 1.3; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: var(--lh-display);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.012em;
  color: var(--indigo);
  text-wrap: balance;
}
:lang(bn) .display, .display:lang(bn) { letter-spacing: 0; font-weight: 800; }
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
:lang(bn) .h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h3 {
  font-family: var(--f-display); font-weight: 700; color: var(--indigo);
  font-size: clamp(1.3rem, 1.6vw + 0.8rem, 1.75rem); line-height: 1.2; text-wrap: balance;
  letter-spacing: -0.005em;
}
:lang(bn) .h3 { line-height: 1.4; letter-spacing: 0; }
.eyebrow {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.82rem; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame-deep);
}
:lang(bn) .eyebrow { letter-spacing: 0.02em; font-size: 0.95rem; text-transform: none; }
.lede { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.lede-lg { font-size: clamp(1.15rem, 0.8vw + 1rem, 1.45rem); color: var(--ink-soft); max-width: 32em; line-height: 1.5; }
:lang(bn) .lede-lg, :lang(bn) .lede { line-height: 1.7; }

/* One word picked out in flame, with the reel's hand-drawn underline. */
.hl {
  font-style: normal; color: var(--flame-text);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5 C 50 3.5 110 3 197 6' fill='none' stroke='%23e15f21' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 0.16em;
  padding-bottom: 0.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:lang(bn) .hl { background-position: 0 96%; padding-bottom: 0.1em; }
.lamp-band .hl { color: #f4a65a; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--f-ui); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.72rem 1.25rem; min-height: 2.75rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-lg { font-size: 1.08rem; padding: 0.9rem 1.6rem; min-height: 3.25rem; }
.btn-flame { background: var(--flame); color: var(--ink); }
.btn-flame:hover { background: #ec7338; }
.btn-ink { background: var(--indigo); color: var(--paper); }
.btn-ink:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: rgba(44, 39, 106, 0.35); }
.btn-ghost:hover { border-color: var(--indigo); background: rgba(44, 39, 106, 0.05); }
.btn:active { transform: translateY(1px); }
.link-arrow {
  font-family: var(--f-ui); font-weight: 500; line-height: 1.3; color: var(--indigo);
  text-decoration: underline; text-decoration-color: rgba(44, 39, 106, 0.35); text-underline-offset: 0.3em;
  padding-block: 0.5rem;
}
.link-arrow:hover { text-decoration-color: var(--flame); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236, 229, 210, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.75rem; min-height: 4.25rem; }
.mark {
  display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; color: var(--indigo);
  font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1; white-space: nowrap;
  padding-block: 0.4rem;
}
.mark-diya { width: 1.7rem; height: auto; margin-right: 0.25rem; margin-top: -0.2rem; }
.mark-slash { color: var(--flame); font-weight: 400; margin-inline: 0.1rem; }
.mark-bn { font-family: "Noto Serif Bengali", serif; font-weight: 800; font-size: 1.05em; line-height: 1; position: relative; top: 0.04em; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem 1.6rem; }
.site-nav a:not(.btn) {
  font-family: var(--f-ui); font-weight: 500; font-size: 0.98rem; line-height: 1.3;
  color: var(--ink); text-decoration: none; padding-block: 0.4rem;
  background: linear-gradient(var(--flame), var(--flame)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.25s ease;
}
.site-nav a:not(.btn):hover { background-size: 100% 2px; }
.nav-cta-item { display: none; }
.header-tools { display: flex; align-items: center; gap: 0.9rem; }
.lang { display: inline-flex; border: 1px solid rgba(44, 39, 106, 0.28); border-radius: 999px; padding: 3px; }
.lang button {
  font-family: var(--f-ui); font-size: 0.88rem; font-weight: 500; line-height: 1.2;
  background: none; border: 0; color: var(--ink-soft); cursor: pointer;
  padding: 0.38rem 0.75rem; border-radius: 999px; min-height: 2.1rem;
}
.lang button[aria-pressed="true"] { background: var(--indigo); color: var(--paper); }
.lang button[lang="bn"] { font-family: "Anek Bangla", sans-serif; }
.menu-btn { display: none; }

@media (max-width: 1099px) {
  .header-inner { gap: 0.75rem; }
  .header-tools { margin-left: auto; gap: 0.5rem; }
  .header-cta { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: none; border: 1px solid rgba(44, 39, 106, 0.28); border-radius: 999px;
    padding: 0.4rem 0.85rem 0.4rem 0.7rem; min-height: 2.6rem; cursor: pointer;
    font-family: var(--f-ui); font-weight: 500; font-size: 0.92rem; line-height: 1.2; color: var(--ink);
  }
  .menu-icon { display: inline-flex; flex-direction: column; gap: 5px; width: 16px; }
  .menu-icon span { height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s ease; }
  .menu-open .menu-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  /* With JS: the nav becomes a drop-down panel. */
  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(27, 24, 56, 0.35);
    max-height: calc(100vh - 4.25rem); overflow-y: auto;
  }
  .js .menu-open .site-nav { display: block; }
  .js .site-nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
    width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 0.5rem 1.5rem;
  }
  .js .site-nav li { border-bottom: 1px solid var(--rule); }
  .js .site-nav a:not(.btn) {
    display: block; padding-block: 0.95rem; font-family: var(--f-display); font-weight: 700;
    font-size: 1.35rem; color: var(--indigo); background: none;
  }
  .js .site-nav .nav-cta-item { display: block; border: 0; padding-top: 1.25rem; }
  .js .nav-cta { width: 100%; }

  /* Without JS: the nav simply wraps under the brand. */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
  html:not(.js) .site-header { position: static; }
}
html:not(.js) .lang { display: none; }
@media (max-width: 420px) {
  .site-header .mark-latin, .site-header .mark-slash { display: none; }
  .site-header .mark { font-size: 1.25rem; }
  .lang button { padding-inline: 0.6rem; }
}

/* ---------- the two people: panels ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 14px); align-items: end; position: relative; }
.panel {
  position: relative; border-radius: var(--radius-panel); height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  overflow: hidden;
}
.panel-indigo { background: var(--indigo); color: var(--paper); }
.panel-flame { background: var(--flame); color: var(--ink); }
.face { position: relative; width: 56%; aspect-ratio: 1; }
.face .sil { width: 100%; height: 100%; fill: currentColor; opacity: 0.92; transition: filter 0.5s ease, opacity 0.5s ease; }
.panel-indigo .face .sil { fill: #e9e4f6; }
.panel-flame .face .sil { fill: #fbe3cf; }
.face .qmark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 900; font-size: 4.2em; line-height: 1;
  color: var(--paper); transition: opacity 0.4s ease, transform 0.4s ease;
}
.panel-flame .face .qmark { color: var(--indigo); }
.face.is-hidden .sil { filter: blur(7px); opacity: 0.55; }
.face:not(.is-hidden) .qmark { opacity: 0; transform: scale(0.7); }
.bar {
  display: block; width: 62%; height: 0.55rem; border-radius: 99px;
  background: currentColor; opacity: 0.85;
  transition: filter 0.5s ease, opacity 0.5s ease;
}
.bar-short { width: 42%; }
.panel-indigo .bar { background: #e9e4f6; }
.panel-flame .bar { background: #fbe3cf; }
.bar.is-hidden { filter: blur(4px); opacity: 0.45; }

/* Turn-taking: the speaker's panel stands taller. */
.turn-label {
  position: absolute; left: 0; right: 0; bottom: 14%;
  text-align: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.3; transition: opacity 0.4s ease;
}
.panel-indigo .turn-label { color: var(--paper); }
.panel-flame .turn-label { color: var(--ink); }
.turns .panel { transition: height 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.turns .panel-indigo { height: 100%; }
.turns .panel-flame { height: 78%; }
.turns .t-b { opacity: 0; }
.motion-ok .turns .panel-indigo { animation: tall-short 9s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.motion-ok .turns .panel-flame { animation: short-tall 9s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.motion-ok .turns .t-a { animation: label-a 9s ease infinite; }
.motion-ok .turns .t-b { animation: label-b 9s ease infinite; }
@keyframes tall-short { 0%, 40% { height: 100%; } 50%, 90% { height: 78%; } 100% { height: 100%; } }
@keyframes short-tall { 0%, 40% { height: 78%; } 50%, 90% { height: 100%; } 100% { height: 78%; } }
@keyframes label-a { 0%, 38% { opacity: 1; } 44%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes label-b { 0%, 44% { opacity: 0; } 50%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* Three dots: waiting quietly. */
.dots { display: inline-flex; gap: 6px; align-items: center; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); display: block; }
.dots-lg i { width: 12px; height: 12px; }
.dots-lg { gap: 9px; }
.motion-ok .dots i { animation: wait 2.4s ease-in-out infinite; }
.motion-ok .dots i:nth-child(2) { animation-delay: 0.3s; }
.motion-ok .dots i:nth-child(3) { animation-delay: 0.6s; }
@keyframes wait { 0%, 60%, 100% { opacity: 1; transform: none; } 30% { opacity: 0.35; transform: translateY(-2px); } }

/* ---------- diya ---------- */
.diya { overflow: visible; }
.diya-bowl { fill: var(--flame); }
.diya-wick { fill: var(--wick); }
.diya-flame { transform-box: fill-box; transform-origin: 50% 100%; }
.motion-ok .diya.lit .diya-flame, .motion-ok .mark-diya .diya-flame { animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  25% { transform: scale(0.97, 1.04) skewX(-1.5deg); }
  50% { transform: scale(1.02, 0.97) skewX(1deg); }
  75% { transform: scale(0.98, 1.03) skewX(-0.5deg); }
}

/* ---------- reveal ---------- */
.motion-ok .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion-ok .reveal.is-in { opacity: 1; transform: none; }
.motion-ok .steps .reveal:nth-child(2), .motion-ok .asks .reveal:nth-child(2), .motion-ok .notes-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.motion-ok .steps .reveal:nth-child(3), .motion-ok .asks .reveal:nth-child(3), .motion-ok .notes-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.motion-ok .notes-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- sections ---------- */
.band-paper { background: var(--paper); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 52rem; }
.sub-title { margin-bottom: 2rem; }
.note h3 { margin-bottom: 0.6rem; }
.note p { color: var(--ink-soft); max-width: 32em; }

/* Hero */
.hero { padding-block: clamp(1rem, 3vw, 2.5rem) var(--section); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.wordmark {
  display: flex; flex-direction: column; align-items: flex-start;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.wordmark-bn {
  font-family: "Noto Serif Bengali", serif; font-weight: 900; color: var(--indigo);
  font-size: clamp(4rem, 18.5vw, 16.5rem); line-height: 1.12; letter-spacing: 0;
  margin-left: -0.04em;
}
.wordmark-latin {
  font-family: var(--f-ui); font-weight: 600; font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--flame-deep); line-height: 1.4;
  margin-top: -0.4em; padding-left: 0.15em;
}
.hero h1 { font-size: clamp(2.15rem, 3.6vw, 3.4rem); max-width: 15em; }
:lang(bn) .hero h1 { font-size: clamp(2.05rem, 3.3vw, 3.1rem); }
.hero .lede { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

.hero-art { position: relative; padding-top: 0.5rem; }
.qcard {
  position: relative; z-index: 2;
  background: var(--paper); border-radius: 14px;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
  margin-inline: 4% -2%;
}
.qcard-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qcard-label { font-family: var(--f-ui); font-size: 0.88rem; font-weight: 500; line-height: 1.4; color: var(--flame-deep); }
.qcard-text {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem); margin-block: 1rem 1.4rem;
  min-height: 3.3em; color: var(--ink);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
:lang(bn) .qcard-text { min-height: 4.1em; font-size: clamp(1.35rem, 1.9vw, 1.75rem); }
.qcard-text.is-out { opacity: 0; transform: translateY(6px); }
.qcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qcard-count { font-family: var(--f-ui); font-size: 0.85rem; color: var(--ink-soft); line-height: 1; font-variant-numeric: tabular-nums; }
.duo-hero { height: clamp(260px, 30vw, 380px); margin-top: -2.2rem; margin-inline: 8% 6%; }
.duo-hero .face { width: 46%; margin-top: 1.5rem; }
.duo-hero .turn-label { bottom: 9%; }
.duo-hero .bar { width: 50%; }

/* Reel */
.reel { padding-block: var(--section); }
.reel-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.reel-copy { display: grid; gap: 1.25rem; max-width: 36rem; }
.reel-copy .lede-lg { color: var(--ink); }
.phone { justify-self: center; width: clamp(240px, 26vw, 330px); }
.phone-screen {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: var(--peach);
  box-shadow: 0 0 0 10px var(--ink), 0 40px 70px -30px rgba(27, 24, 56, 0.55);
  transform: rotate(1.5deg);
}
.phone-screen video { width: 100%; height: 100%; object-fit: cover; background: var(--peach); }
.play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 0.6rem; padding-bottom: 18%;
  background: linear-gradient(to top, rgba(27, 24, 56, 0.32), rgba(27, 24, 56, 0) 45%);
  border: 0; cursor: pointer; color: var(--paper);
  font-family: var(--f-ui); font-weight: 600; font-size: 1rem; line-height: 1.2;
}
.play[hidden] { display: none; }
.play-disc {
  width: 76px; height: 76px; border-radius: 50%; background: var(--flame); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(225, 95, 33, 0.7); transition: transform 0.25s ease;
}
.play-disc svg { width: 32px; height: 32px; fill: var(--ink); margin-left: 4px; }
.play:hover .play-disc { transform: scale(1.06); }
.play:focus-visible { outline-offset: -6px; outline-color: var(--paper); border-radius: 30px; }
.play-text { text-shadow: 0 1px 8px rgba(27, 24, 56, 0.5); }
.phone-cap { margin-top: 1.75rem; text-align: center; font-family: var(--f-ui); font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }

/* Practice */
.practice { padding-block: var(--section); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); counter-reset: step; }
.step { counter-increment: step; display: flex; flex-direction: column; }
.step-art { height: 190px; display: flex; align-items: flex-end; margin-bottom: 1.75rem; }
.duo-sm { width: 190px; height: 160px; }
.step-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.2; color: var(--indigo); margin-bottom: 0.6rem; display: flex; align-items: baseline; gap: 0.6rem; }
:lang(bn) .step-title { line-height: 1.4; }
.step-title::before { content: counter(step); color: var(--flame-text); font-weight: 900; }
:lang(bn) .step-title::before { content: counter(step, bengali); }
.step p { color: var(--ink-soft); max-width: 26em; }

.match .panel { height: 100%; justify-content: flex-start; padding-top: 22%; gap: 12px; align-items: flex-start; padding-left: 16%; }
.match .line { display: block; height: 7px; border-radius: 9px; opacity: 0.9; }
.match .panel-indigo .line { background: #e9e4f6; }
.match .panel-flame .line { background: #fbe3cf; }
.match .l1 { width: 64%; } .match .l2 { width: 44%; } .match .l3 { width: 54%; }

.asked .panel { height: 82%; }
.mini-card {
  position: absolute; z-index: 2; left: 10%; right: 6%; top: 0; height: 32%;
  background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-card); transform: rotate(-3deg);
  display: flex; align-items: center; padding-left: 12%;
}
.mini-card span { font-size: 1.6rem; color: var(--flame-text); font-family: "Fraunces", serif; }
.duo-sm.turns .turn-label { font-size: 1rem; bottom: 12%; }

.asks-block { margin-top: clamp(5rem, 9vw, 8rem); }
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.asks li { border-top: 3px solid var(--indigo); padding-top: 1.25rem; }
.ask-title { font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin-bottom: 0.75rem; }
.asks p { color: var(--ink-soft); }

.hope {
  margin-top: clamp(5rem, 9vw, 8rem);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem);
  background: var(--peach); border-radius: clamp(18px, 2vw, 28px);
  padding: clamp(2rem, 5vw, 4.5rem);
}
.hope-head { display: grid; gap: 1.1rem; align-content: start; }
.hope-head p { color: var(--ink); max-width: 28em; }
.hope-list { display: grid; gap: 0; align-content: center; }
.hope-list li {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem); padding-block: 1rem; color: var(--indigo);
  border-bottom: 1px solid rgba(44, 39, 106, 0.2);
}
.hope-list li:first-child { padding-top: 0; }
.hope-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* What stays hidden */
.hidden-sec { padding-block: var(--section); }
.hidden-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.hidden-list .eyebrow { margin-bottom: 1rem; }
.toggles { border-top: 1px solid var(--rule); }
.toggles li { border-bottom: 1px solid var(--rule); }
.toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: clamp(0.9rem, 1.6vw, 1.3rem) 0.25rem; cursor: pointer; text-align: start;
}
.toggle-text { font-size: clamp(1.9rem, 4vw, 3.3rem); transition: color 0.3s ease; }
:lang(bn) .toggle-text { font-size: clamp(1.75rem, 3.9vw, 3.2rem); }
.toggle-state {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.9rem; line-height: 1.2;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1.5px solid rgba(44, 39, 106, 0.35); color: var(--ink-soft);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.toggle-state::before {
  content: ""; width: 0.95rem; height: 0.4rem; border-radius: 9px; background: currentColor; filter: blur(1.5px); opacity: 0.7;
}
.toggle:hover .toggle-state { border-color: var(--indigo); color: var(--indigo); }
.toggle[aria-pressed="true"] .toggle-state { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }
.toggle[aria-pressed="true"] .toggle-state::before { filter: none; opacity: 1; width: 0.5rem; height: 0.5rem; background: var(--flame); }
.toggle[aria-pressed="false"] .toggle-text { color: var(--indigo); }
.after { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink); max-width: 30em; }
.toggle-hint { margin-top: 0.4rem; font-family: var(--f-ui); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
html:not(.js) .toggle-hint, html:not(.js) .toggle-state, html:not(.js) .qcard-foot { display: none; }
html:not(.js) .toggle { cursor: default; }

.duo-profile { height: clamp(300px, 30vw, 400px); }
.duo-profile .panel { justify-content: center; padding-top: 2.4rem; gap: 0.9rem; }
.duo-profile .panel-indigo { height: 100%; }
.duo-profile .panel-flame { height: 88%; }
.duo-profile .face { width: 66%; margin-bottom: 0.6rem; }
.panel-tag {
  position: absolute; top: 0.9rem; left: 0; right: 0; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.3;
}

.notes-grid {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem);
}
.notes-grid .note { border-top: 3px solid var(--flame); padding-top: 1.25rem; }
.notes-grid .note:last-child { border-top-color: var(--indigo); }

/* Questions */
.questions { padding-block: var(--section); }
.themes { border-top: 1px solid var(--rule); }
.theme {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 1.5rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 4vw, 3.25rem); border-bottom: 1px solid var(--rule);
}
.theme-head { display: grid; gap: 0.4rem; align-content: start; }
.theme-title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.theme:nth-child(odd) .theme-title { color: var(--flame-text); }
.theme-qs { display: grid; gap: 0.25rem; }
.theme-qs li {
  font-family: var(--f-display); font-weight: 500; color: var(--ink);
  font-size: clamp(1.2rem, 1.5vw + 0.6rem, 1.6rem); line-height: 1.3; text-wrap: pretty;
  padding-block: 0.7rem; padding-left: 1.6rem; position: relative;
}
:lang(bn) .theme-qs li { line-height: 1.55; font-weight: 600; font-size: clamp(1.15rem, 1.3vw + 0.6rem, 1.5rem); }
.theme-qs li::before {
  content: ""; position: absolute; left: 0; top: calc(0.7rem + 0.55em);
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--flame);
}

/* Lamp band */
.lamp-band {
  background: var(--dusk); color: var(--dusk-text);
  padding-block: var(--section);
  position: relative; overflow: hidden;
}
.lamps { display: flex; justify-content: space-between; gap: clamp(0.4rem, 2vw, 2rem); margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.lamps .diya { width: clamp(38px, 9vw, 120px); height: auto; flex: 0 1 auto; }
.lamps .diya:nth-child(even) .diya-bowl { fill: var(--peach); }
.lamps .diya-glow { transition: opacity 1.2s ease; }
.lamps .diya-flame { transition: opacity 0.6s ease, transform 0.6s ease; }
.lamps .diya-bowl { transition: opacity 0.8s ease; }
.motion-ok .lamps .diya:not(.lit) .diya-flame { opacity: 0; transform: scale(0.3); }
.motion-ok .lamps .diya:not(.lit) .diya-glow { opacity: 0; }
.motion-ok .lamps .diya:not(.lit) .diya-bowl { opacity: 0.45; }
.motion-ok .lamps .diya { --d: calc(var(--i) * 0.42s); }
.motion-ok .lamps .diya .diya-flame, .motion-ok .lamps .diya .diya-glow, .motion-ok .lamps .diya .diya-bowl { transition-delay: var(--d); }
.lamp-eyebrow { color: #f4a65a; margin-bottom: 1.5rem; }
.lamp-quote p.display { color: var(--dusk-text); font-size: clamp(2.1rem, 5.2vw, 4.6rem); max-width: 16em; }
:lang(bn) .lamp-quote p.display { font-size: clamp(1.9rem, 4.4vw, 3.9rem); }
.lamp-after { margin-top: 1.75rem; font-size: clamp(1.15rem, 1vw + 0.9rem, 1.5rem); color: var(--dusk-soft); }

/* About */
.about { padding-block: var(--section); }
.about .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.about-intro { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 700; color: var(--ink); }
:lang(bn) .about-intro { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.about-notes { display: grid; gap: 2.5rem; }
.about-notes .note { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

/* FAQ */
.faq { padding-block: 0 var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--rule); padding-top: clamp(3rem, 6vw, 5rem); }
.faq .section-head { margin-bottom: 0; align-content: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.25rem;
  font-family: var(--f-display); font-weight: 700; color: var(--indigo);
  font-size: clamp(1.2rem, 1.2vw + 0.8rem, 1.55rem); line-height: 1.3;
}
:lang(bn) .faq-list summary { line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1.5px solid rgba(44, 39, 106, 0.3);
  background:
    linear-gradient(var(--indigo), var(--indigo)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--indigo), var(--indigo)) center / 2px 0.8rem no-repeat;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg); background-color: var(--flame); border-color: var(--flame);
}
.faq-list summary:hover::after { border-color: var(--indigo); }
.faq-list details p { padding: 0 3.5rem 1.5rem 0; color: var(--ink-soft); max-width: 36em; }
.faq-list details a { color: var(--indigo); text-decoration-color: var(--flame); text-decoration-thickness: 2px; }

/* Join */
.join { background: var(--peach); padding-block: var(--section); }
.join-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.join-diya { width: clamp(84px, 9vw, 116px); height: auto; margin-bottom: 2rem; }
.join-title { font-size: clamp(2.4rem, 6vw, 5.2rem); color: var(--ink); max-width: 13em; }
:lang(bn) .join-title { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.join .lede { margin-top: 1.5rem; color: var(--ink); text-wrap: balance; }
.join-form {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); width: min(100%, 52rem);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto; gap: 1rem; align-items: end;
  text-align: start;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--f-ui); font-weight: 600; font-size: 0.92rem; line-height: 1.4; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem;
  font-family: var(--f-ui); font-size: 1.02rem; line-height: 1.3;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid rgba(44, 39, 106, 0.35); border-radius: 12px;
}
.field input::placeholder { color: #807a9c; }
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; border-color: var(--indigo); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 1rem; top: 50%; width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.form-note { min-height: 1.7em; margin-top: 1.25rem; font-family: var(--f-ui); font-weight: 600; line-height: 1.5; color: var(--ink); }
.form-note[data-kind="empty"], .form-note[data-kind="invalid"], .form-note[data-kind="failed"] { color: #8f2f06; }
.form-note[data-kind="demo"] { color: var(--indigo); }
.form-small { margin-top: 0.25rem; font-family: var(--f-ui); font-size: 0.92rem; line-height: 1.5; color: #4a3f52; }

/* Footer */
.site-footer { background: var(--cream); padding-block: 2.5rem 3rem; border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.footer-mark { font-size: 1.15rem; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.site-footer nav a { font-family: var(--f-ui); font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--indigo); text-decoration: underline; }
.foot-note { font-family: var(--f-ui); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero-grid, .reel-grid, .hidden-grid, .about-grid, .faq-grid, .hope { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 30rem; width: 100%; justify-self: center; }
  .reel-copy { max-width: none; }
  .phone { width: min(300px, 74vw); }
  .steps, .asks { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; align-items: start; }
  .step-art { grid-row: span 2; height: auto; margin: 0.35rem 0 0; }
  .duo-sm { width: 112px; height: 100px; }
  .duo-sm.turns .turn-label { font-size: 0.72rem; }
  .mini-card span { font-size: 1.1rem; }
  .match .panel { gap: 7px; }
  .match .line { height: 5px; }
  .theme { grid-template-columns: minmax(0, 1fr); }
  .hidden-art { max-width: 24rem; width: 100%; justify-self: center; order: -1; }
  .duo-profile { height: 270px; }
  .faq-grid { gap: 2rem; }
}
@media (max-width: 599px) {
  .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .join-form { grid-template-columns: minmax(0, 1fr); }
  .join-form .btn { width: 100%; }
  .wordmark-bn { font-size: 20.5vw; }
  .qcard { margin-inline: 0; }
  .duo-hero { margin-inline: 10% 8%; height: 240px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step-art { grid-row: auto; margin-bottom: 1.25rem; }
  .duo-sm { width: 132px; height: 112px; }
  .faq-list details p { padding-right: 0; }
  .toggle-state { font-size: 0.8rem; padding: 0.35rem 0.65rem; }
  .toggle-state::before { display: none; }
  .lamps .diya { width: 52px; }
  .lamps .diya:nth-child(n+6) { display: none; }
}

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