/* =============================================================================
   COMING SOON v5 — STYLES
   Every colour comes from CSS variables that main.js fills from the preset.
   Sections:  1 tokens · 2 fonts · 3 reset · 4 background · 5 layout · 6 top bar
              7 hero · 8 countdown · 9 progress · 10 buttons · 11 subscribe
              12 card · 13 showcase · 14 contact · 15 footer · 16 floating
              WhatsApp · 17 reveal · 18 theme panel · 19 responsive · 20 motion
   ========================================================================== */

/* ── 1. Tokens ────────────────────────────────────────────────────────────── */
/* Layout: two columns on desktop — message + countdown left, a showcase
   card (brand artwork + contact) right; one column on phones.              */
:root {
  /* filled by main.js from the preset (r g b triplets) */
  --a1: 43 80 200;          /* brand colour            */
  --a2: 201 164 76;         /* gradient partner        */
  --a3: 232 200 119;        /* highlight (dark mode)   */
  --on-accent: 255 255 255; /* text on brand buttons   */
  --bg: 6 11 28;            /* page background         */
  --bg-dark: 6 11 28;       /* always the dark bg — used by the showcase */

  --radius: 16px;

  --font-sans:  'Plus Jakarta Sans', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Noto Sans Bengali', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono:  'Geist Mono', 'Noto Sans Bengali', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: var(--font-sans);

  /* dark surface tokens */
  color-scheme: dark;
  --text: 241 244 251;
  --muted: .64;
  --faint: .42;
  --surface: 255 255 255;
  --surface-a: .035;
  --surface-hover-a: .065;
  --line: 255 255 255;
  --line-a: .09;
  --hl: var(--a3);
  --shadow-a: .55;
  --glow-a: 1;
  --grid-a: .045;
  --grain-a: .06;
  --spot-a: .10;

  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-mode="light"] {
  color-scheme: light;
  --text: 13 18 33;
  --muted: .66;
  --faint: .46;
  --surface: 255 255 255;
  --surface-a: .72;
  --surface-hover-a: .96;
  --line: 15 23 42;
  --line-a: .10;
  --hl: var(--a1);
  --shadow-a: .10;
  --glow-a: .55;
  --grid-a: .06;
  --grain-a: .035;
  --spot-a: .12;
}
[data-font="serif"] { --font-display: var(--font-serif); }

/* ── 2. Fonts (self-hosted) ──────────────────────────────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/PlusJakartaSans-Variable-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/GeistMono-Variable-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/InstrumentSerif-Regular-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/InstrumentSerif-Italic-latin.woff2') format('woff2');
}
/* Bangla — downloaded only when Bangla text is on the page */
@font-face {
  font-family: 'Noto Sans Bengali';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/NotoSansBengali-Variable-bengali.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}

/* ── 3. Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: rgb(var(--text));
  background: rgb(var(--bg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, p { margin: 0; }
::selection { background: rgb(var(--a1) / .35); }
:focus-visible { outline: 2px solid rgb(var(--hl)); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

/* ── 4. Background ───────────────────────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg > * { position: absolute; }
.bg__glow {
  inset: 0;
  opacity: var(--glow-a);
  background:
    radial-gradient(60vmax 45vmax at 8% -10%, rgb(var(--a1) / .30), transparent 60%),
    radial-gradient(50vmax 40vmax at 100% 105%, rgb(var(--a2) / .16), transparent 60%);
}
.bg__grid {
  inset: 0;
  background-image:
    linear-gradient(rgb(var(--text) / var(--grid-a)) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--text) / var(--grid-a)) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 30% 35%, #000 10%, transparent 75%);
          mask: radial-gradient(ellipse 80% 70% at 30% 35%, #000 10%, transparent 75%);
}
.bg__spot {
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 30%), rgb(var(--hl) / var(--spot-a)), transparent 60%);
}
.bg__particles { inset: 0; width: 100%; height: 100%; }
.bg__grain {
  inset: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-a);
  animation: grain 1.4s steps(4) infinite;
}
[data-mode="light"] .bg__grain { filter: invert(1); }
@keyframes grain { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-1%,1%); } }

/* ── 5. Layout ────────────────────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-block: clamp(14px, 2.4vh, 26px);
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(16px, 3vh, 40px);
}
.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.6vh, 28px);
  min-width: 0;
}
.aside { min-width: 0; }

/* single column when the right side has nothing to show */
.main--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.main--single .content { align-items: center; text-align: center; }
.main--single .timer, .main--single .progress { width: min(100%, 620px); }
.main--single .buttons { justify-content: center; }

/* ── 6. Top bar ───────────────────────────────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand[href]:hover .brand__name { color: rgb(var(--hl)); }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: calc(var(--radius) * .7);
  font: 700 17px/1 var(--font-sans);
  color: rgb(var(--on-accent));
  background: rgb(var(--a1));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 8px 20px -10px rgb(var(--a1) / .9);
}
.brand__mark--image { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; }
.brand__mark--image img { height: var(--logo-h, 38px); width: auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand__name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.brand__tagline { font: 400 12px/1.3 var(--font-mono); letter-spacing: .02em; color: rgb(var(--text) / var(--muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgb(var(--line) / var(--line-a));
  background: rgb(var(--surface) / var(--surface-a));
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .02em;
  color: rgb(var(--text) / .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.status__dot, .eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgb(var(--hl));
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--hl) / .55); } 70% { box-shadow: 0 0 0 8px rgb(var(--hl) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--hl) / 0); } }
.mode-toggle {
  position: relative; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgb(var(--line) / var(--line-a));
  background: rgb(var(--surface) / var(--surface-a));
  transition: background .2s, border-color .2s;
}
.mode-toggle:hover { background: rgb(var(--surface) / var(--surface-hover-a)); border-color: rgb(var(--hl) / .45); }
.mode-toggle svg { position: absolute; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.mode-toggle .ic-sun { opacity: 0; transform: rotate(-70deg) scale(.6); }
[data-mode="light"] .mode-toggle .ic-sun { opacity: 1; transform: none; }
[data-mode="light"] .mode-toggle .ic-moon { opacity: 0; transform: rotate(70deg) scale(.6); }

/* ── 7. Hero ──────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(var(--hl));
}
.eyebrow::after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, rgb(var(--hl) / .7), transparent); }
.main--single .eyebrow::before { content: ''; width: 40px; height: 1px; background: linear-gradient(270deg, rgb(var(--hl) / .7), transparent); order: -1; }

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.3rem + 3.1vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -.038em;
  text-wrap: balance;
  max-width: 16ch;
}
.title__accent {
  background: linear-gradient(100deg, rgb(var(--hl)) 10%, rgb(var(--a2)) 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: .06em; margin-bottom: -.06em;
}
[data-mode="light"] .title__accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: rgb(var(--a1)); }
[data-font="serif"] .title {
  font-weight: 400;
  font-size: clamp(2.9rem, 1.4rem + 4.1vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.012em;
}
[data-font="serif"] .title__accent { font-style: italic; padding-right: .06em; }

.lede {
  max-width: 47ch;
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  line-height: 1.65;
  color: rgb(var(--text) / var(--muted));
  text-wrap: pretty;
}

/* ── 8. Countdown ─────────────────────────────────────────────────────────── */
.timer { width: min(100%, 560px); display: flex; flex-direction: column; gap: 10px; }
.timer__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font: 500 11.5px/1.3 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--text) / var(--muted));
}
.timer__date { letter-spacing: .04em; text-transform: none; color: rgb(var(--text) / .85); }
.timer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgb(var(--line) / var(--line-a));
  border-radius: calc(var(--radius) + 2px);
  background: rgb(var(--surface) / var(--surface-a));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
[data-mode="light"] .timer__grid { box-shadow: 0 18px 40px -28px rgb(15 23 42 / .35); }
.tu {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(14px, 2vh, 20px) clamp(14px, 1.6vw, 22px) clamp(16px, 2.2vh, 22px);
}
.tu + .tu { border-left: 1px solid rgb(var(--line) / var(--line-a)); }
.tu__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.1rem + 2.1vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
[data-font="serif"] .tu__value { font-weight: 400; letter-spacing: 0; font-size: clamp(2.3rem, 1.3rem + 2.4vw, 3.5rem); }
.tu__value.tick { animation: tick .5s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(-.18em); } to { opacity: 1; transform: none; } }
.tu__label {
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(var(--text) / var(--muted));
}
.tu__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(var(--line) / .05); }
.tu__bar i { display: block; height: 100%; width: var(--p, 0%); background: rgb(var(--hl)); opacity: .9; transition: width .9s linear; }
.tu__bar i.no-anim { transition: none; }

/* launched state */
.live {
  width: min(100%, 560px);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 18px;
  padding: 20px 22px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgb(var(--hl) / .35);
  background: rgb(var(--surface) / var(--surface-a));
}
.live__badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgb(var(--a1)); color: rgb(var(--on-accent)); }
.live__badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.live__title { font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
[data-font="serif"] .live__title { font-weight: 400; font-size: 1.7rem; }
.live__text p { color: rgb(var(--text) / var(--muted)); font-size: .95rem; }
.live .btn { grid-column: 1 / -1; justify-self: start; }
.main--single .live { text-align: left; }

/* ── 9. Progress ──────────────────────────────────────────────────────────── */
.progress { width: min(100%, 560px); display: flex; flex-direction: column; gap: 9px; }
.progress__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font: 500 11.5px/1.3 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--text) / var(--muted));
}
.progress__value { color: rgb(var(--text)); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.progress__track { height: 4px; border-radius: 999px; background: rgb(var(--line) / calc(var(--line-a) + .02)); overflow: hidden; }
.progress__fill {
  position: relative; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(var(--a1)), rgb(var(--hl)));
  transition: width 1.6s var(--ease);
  overflow: hidden;
}
.progress__fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent);
  transform: translateX(-120%);
  animation: sweep 3.2s ease-in-out 1.6s infinite;
}
@keyframes sweep { to { transform: translateX(220%); } }

/* ── 10. Buttons ──────────────────────────────────────────────────────────── */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: calc(var(--radius) * .75);
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.ic--fill { fill: currentColor; stroke: none; }
.btn--primary {
  color: rgb(var(--on-accent));
  background: rgb(var(--a1));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 12px 28px -14px rgb(var(--a1));
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 18px 34px -14px rgb(var(--a1)); }
.btn--ghost {
  border: 1px solid rgb(var(--line) / calc(var(--line-a) + .05));
  background: rgb(var(--surface) / var(--surface-a));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { transform: translateY(-1px); border-color: rgb(var(--hl) / .55); background: rgb(var(--surface) / var(--surface-hover-a)); }
.btn--ghost svg { color: rgb(var(--hl)); }

/* ── 11. Subscribe ───────────────────────────────────────────────────────── */
.subscribe { width: min(100%, 560px); display: flex; flex-direction: column; gap: 10px; }
.main--single .subscribe { align-items: center; }
.subscribe__title { font-weight: 600; font-size: .95rem; }
.field {
  width: 100%; display: flex; gap: 8px; padding: 6px;
  border-radius: calc(var(--radius) * .75 + 6px);
  border: 1px solid rgb(var(--line) / calc(var(--line-a) + .04));
  background: rgb(var(--surface) / var(--surface-a));
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: rgb(var(--hl) / .6); box-shadow: 0 0 0 4px rgb(var(--hl) / .12); }
.field input { flex: 1; min-width: 0; padding: 0 12px; background: none; border: 0; outline: 0; font-size: .95rem; }
.field input::placeholder { color: rgb(var(--text) / var(--faint)); }
.field .btn { height: 44px; }
.subscribe__note { font-size: .8rem; color: rgb(var(--text) / var(--muted)); }
.subscribe__msg { font-size: .88rem; font-weight: 500; }
.subscribe__msg.is-ok { color: rgb(var(--hl)); }
.subscribe__msg.is-err { color: #F87171; }

/* ── 12. Card ─────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgb(var(--line) / var(--line-a));
  background: rgb(var(--surface) / var(--surface-a));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / var(--shadow-a));
  overflow: hidden;
  isolation: isolate;
}
[data-mode="light"] .card { background: rgb(255 255 255 / .82); box-shadow: 0 30px 70px -36px rgb(15 23 42 / .30); }

/* ── 13. Showcase ─────────────────────────────────────────────────────────── */
.showcase {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 85% at 8% 0%, rgb(var(--a1) / .95), transparent 64%),
    radial-gradient(70% 65% at 100% 100%, rgb(var(--a2) / .42), transparent 62%),
    rgb(var(--bg-dark));
  border-radius: calc(var(--radius) + 9px) calc(var(--radius) + 9px) 0 0;
}
.card > .showcase:last-child { border-radius: calc(var(--radius) + 9px); }
.showcase__art { position: absolute; inset: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; }
.blob--1 { width: 58%; aspect-ratio: 1; left: -10%; top: -20%; background: rgb(var(--a1)); opacity: .85; animation: drift-a 18s ease-in-out infinite alternate; }
.blob--2 { width: 44%; aspect-ratio: 1; right: -12%; bottom: -26%; background: rgb(var(--a2)); opacity: .5; animation: drift-b 22s ease-in-out infinite alternate; }
.blob--3 { width: 30%; aspect-ratio: 1; left: 52%; top: 4%; background: rgb(var(--a3)); opacity: .3; animation: drift-c 20s ease-in-out infinite alternate; }
.showcase__art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(var(--bg-dark) / .7), rgb(var(--bg-dark) / 0) 48%);
}
@keyframes drift-a { to { transform: translate(22%, 18%) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-18%, -14%) scale(.92); } }
@keyframes drift-c { to { transform: translate(-30%, 34%) scale(1.15); } }
.orbits {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: rgb(255 255 255 / .22); stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.orbits circle, .orbits line { vector-effect: non-scaling-stroke; }
.orbits .dash { stroke-dasharray: 2 6; stroke: rgb(255 255 255 / .34); }
.orbits .faint { stroke: rgb(255 255 255 / .09); }
.orbits .sat { fill: #fff; stroke: none; filter: drop-shadow(0 0 6px rgb(255 255 255 / .9)); }
.orbit { transform-origin: 200px 200px; transform-box: view-box; }
.orbit--a { animation: spin 26s linear infinite; }
.orbit--b { animation: spin 40s linear infinite reverse; }
.orbit--c { animation: spin 58s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.showcase__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .14; mix-blend-mode: overlay;
}
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.showcase--photo .showcase__art, .showcase--photo .plate { display: none; }
.showcase--photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / .05) 55%, rgb(0 0 0 / .25));
}
.plate {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 92px; height: 92px;
  border-radius: calc(var(--radius) + 8px);
  font: 700 38px/1 var(--font-sans);
  letter-spacing: -.02em;
  color: #fff;
  background: rgb(255 255 255 / .12);
  border: 1px solid rgb(255 255 255 / .28);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 24px 50px -18px rgb(0 0 0 / .6);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  z-index: 1;
}
.plate--image { width: auto; min-width: 92px; max-width: 70%; height: auto; padding: 16px 22px; background: rgb(255 255 255 / .94); }
.plate--image img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.showcase__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px;
  border-radius: 999px;
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: .03em;
  color: rgb(255 255 255 / .92);
  background: rgb(0 0 0 / .22);
  border: 1px solid rgb(255 255 255 / .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.showcase__tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.showcase__caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  text-shadow: 0 1px 12px rgb(0 0 0 / .35);
}
.showcase__eyebrow { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .72); }
.showcase__date { font: 600 22px/1.15 var(--font-display); letter-spacing: -.02em; }
[data-font="serif"] .showcase__date { font-weight: 400; font-size: 27px; letter-spacing: 0; }
.showcase__time { font: 400 12px/1.2 var(--font-mono); color: rgb(255 255 255 / .78); }

/* ── 14. Contact ──────────────────────────────────────────────────────────── */
.contact { display: flex; flex-direction: column; }
.contact__head { padding: 18px 22px 8px; display: flex; flex-direction: column; gap: 1px; }
.contact__title { font: 700 17px/1.3 var(--font-sans); letter-spacing: -.01em; }
.contact__note { font-size: 13.5px; color: rgb(var(--text) / var(--muted)); }
.contact__list { list-style: none; margin: 0; padding: 0 10px 6px; }
.contact__list li + li .crow::before {
  content: ''; position: absolute; top: 0; left: 64px; right: 12px; height: 1px;
  background: rgb(var(--line) / var(--line-a));
}
.crow {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px;
  border-radius: calc(var(--radius) * .75);
  transition: background .2s;
}
a.crow:hover { background: rgb(var(--hl) / .07); }
.crow__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: calc(var(--radius) * .6);
  color: rgb(var(--hl));
  background: rgb(var(--hl) / .10);
  border: 1px solid rgb(var(--hl) / .16);
}
.crow__icon svg { width: 18px; height: 18px; }
.crow__icon--wa { color: #25D366; background: rgb(37 211 102 / .10); border-color: rgb(37 211 102 / .2); }
[data-mode="light"] .crow__icon--wa { color: #128C4A; }
.crow__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.crow__label { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--text) / var(--muted)); }
.crow__value { font-weight: 500; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.crow__go { width: 16px; height: 16px; flex: 0 0 auto; color: rgb(var(--text) / var(--faint)); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease), color .2s; }
a.crow:hover .crow__go { transform: translate(2px, -2px); color: rgb(var(--hl)); }
.contact__social {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 22px 14px;
  border-top: 1px solid rgb(var(--line) / var(--line-a));
}
.contact__social-label { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--text) / var(--muted)); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social__link {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: calc(var(--radius) * .55);
  border: 1px solid rgb(var(--line) / var(--line-a));
  color: rgb(var(--text) / .78);
  transition: transform .2s var(--ease), color .2s, border-color .2s, background .2s;
}
.social__link svg { width: 16px; height: 16px; fill: currentColor; }
.social__link:hover { transform: translateY(-2px); color: rgb(var(--hl)); border-color: rgb(var(--hl) / .5); background: rgb(var(--hl) / .07); }
/* the card holds only social links → no top rule */
.contact__list[hidden] + .contact__social, .contact__head[hidden] + .contact__list[hidden] + .contact__social { border-top: 0; }

/* ── 15. Footer ──────────────────────────────────────────────────────────── */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 6px 24px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--line) / var(--line-a));
  font-size: 13px;
  color: rgb(var(--text) / var(--muted));
}
.credit a { color: rgb(var(--text) / .92); font-weight: 600; transition: color .2s; }
.credit a:hover { color: rgb(var(--hl)); }

/* ── 16. Floating WhatsApp (phones & tablets) ────────────────────────────── */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: none; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: #25D366;
  box-shadow: 0 14px 30px -10px rgb(37 211 102 / .7), 0 4px 12px rgb(0 0 0 / .25);
  transition: transform .2s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); }

/* ── 17. Reveal ──────────────────────────────────────────────────────────── */
html.js:not(.no-reveal) .reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .9s var(--ease) forwards;
  animation-delay: calc(var(--i, 1) * 80ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ── 18. Theme panel (index.html?panel=1) ────────────────────────────────── */
.panel {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 288px; padding: 16px;
  border-radius: calc(var(--radius) + 4px);
  font-size: 13px;
  border: 1px solid rgb(var(--line) / calc(var(--line-a) + .04));
  background: rgb(var(--bg) / .86);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .55);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.panel__head span { display: inline-flex; align-items: center; gap: 8px; }
.panel__head .ic { width: 16px; height: 16px; color: rgb(var(--hl)); }
.panel__close { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; opacity: .7; }
.panel__close:hover { opacity: 1; background: rgb(var(--surface) / var(--surface-hover-a)); }
.panel__close .ic { width: 14px; height: 14px; }
.panel__label { display: block; margin: 12px 0 7px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--text) / var(--muted)); }
.panel__presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.swatch { height: 34px; border-radius: 10px; border: 2px solid transparent; background: linear-gradient(135deg, var(--s1) 0 50%, var(--s2) 50% 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transition: transform .2s var(--ease); }
.swatch:hover { transform: translateY(-2px); }
.swatch.is-active { border-color: rgb(var(--text)); }
.panel__row { display: flex; gap: 6px; }
.chip { flex: 1; height: 32px; border-radius: 9px; border: 1px solid rgb(var(--line) / calc(var(--line-a) + .04)); font-weight: 500; font-size: 12.5px; transition: background .2s; }
.chip:hover { background: rgb(var(--surface) / var(--surface-hover-a)); }
.chip.is-active { background: rgb(var(--a1)); color: rgb(var(--on-accent)); border-color: transparent; }
.panel input[type="range"] { width: 100%; accent-color: rgb(var(--a1)); }
.panel__copy { width: 100%; height: 40px; margin-top: 14px; font-size: 13px; }
.panel__hint { margin-top: 8px; font-size: 11.5px; text-align: center; color: rgb(var(--text) / var(--muted)); }

/* ── 19. Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .main { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 40px; padding-block: 32px 40px; }
  .aside { width: min(100%, 560px); }
  .main--single .aside { margin-inline: auto; }
  .wa-float { display: grid; }
  .footer { padding-bottom: 72px; }   /* room for the floating button */
  .footer--no-float { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .page { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .brand__tagline, .status { display: none; }
  .title { font-size: clamp(2.3rem, 1.2rem + 6vw, 3rem); }
  [data-font="serif"] .title { font-size: clamp(2.7rem, 1.4rem + 7vw, 3.5rem); }
  .tu { padding: 14px 10px 16px; gap: 5px; }
  .tu__value { font-size: clamp(1.6rem, .9rem + 3.6vw, 2.1rem); }
  .tu__label { font-size: 9.5px; letter-spacing: .1em; }
  .timer__head { flex-direction: column; gap: 4px; }
  .buttons { width: 100%; }
  .buttons .btn { flex: 1 1 100%; }
  .field { flex-wrap: wrap; }
  .field input { width: 100%; height: 44px; }
  .field .btn { width: 100%; }
  .showcase { aspect-ratio: 4 / 3; }
  .contact__head { padding: 18px 18px 10px; }
  .contact__list { padding-inline: 6px; }
  .contact__social { padding-inline: 18px; }
  .footer { flex-direction: column; text-align: center; justify-content: center; }
  .panel { left: calc(10px + env(safe-area-inset-left, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); width: auto; }
}
/* laptops with short screens — keep the whole page on one screen */
@media (min-width: 1024px) and (max-height: 860px) {
  .page { padding-block: 14px 12px; }
  .main { padding-block: 18px 22px; }
  .content { gap: 16px; }
  .title { font-size: clamp(2.3rem, 1rem + 3.1vw, 3.7rem); }
  [data-font="serif"] .title { font-size: clamp(2.7rem, 1.2rem + 3.8vw, 4.4rem); }
  .lede { font-size: 1rem; }
  .tu { padding: 13px 18px 15px; }
  .tu__value { font-size: clamp(1.9rem, 1rem + 1.8vw, 2.6rem); }
  .btn { height: 46px; }
  .showcase { aspect-ratio: 16 / 7.4; min-height: 170px; }
  .contact__head { padding: 14px 22px 6px; }
  .crow { padding: 6px 12px; }
  .crow__icon { width: 36px; height: 36px; }
  .contact__social { padding: 11px 22px 12px; }
  .footer { padding-top: 12px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .showcase { aspect-ratio: 16 / 6.2; min-height: 150px; }
  .plate { width: 72px; height: 72px; font-size: 30px; }
  .contact__note { display: none; }
}
@media (min-width: 1024px) and (max-height: 660px) {
  .lede { display: none; }
}

/* Bangla: letter-spacing breaks conjuncts, and matras need taller lines */
:lang(bn) .eyebrow, :lang(bn) .status, :lang(bn) .brand__tagline, :lang(bn) .timer__head,
:lang(bn) .tu__label, :lang(bn) .progress__head, :lang(bn) .crow__label,
:lang(bn) .contact__social-label, :lang(bn) .showcase__eyebrow { letter-spacing: 0; text-transform: none; }
:lang(bn) .tu__label, :lang(bn) .crow__label, :lang(bn) .contact__social-label, :lang(bn) .showcase__eyebrow { font-size: 12px; }
:lang(bn) .eyebrow, :lang(bn) .timer__head, :lang(bn) .progress__head { font-size: 13px; }
:lang(bn) .title { letter-spacing: -.01em; line-height: 1.22; }
:lang(bn) .lede { line-height: 1.75; }

/* ── 20. Motion preferences ──────────────────────────────────────────────── */
html.no-motion .blob, html.no-motion .orbit, html.no-motion .bg__grain { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print { .bg, .mode-toggle, .panel, .wa-float { display: none !important; } body { background: #fff; color: #000; } }
