/* NYOM site v4: off-white page, graphite windows, one signal colour (lime) used as a fill or a dot, never as a thin line or text.
   Type: Baloo 2 (Latin) and Baloo Da 2 (Bangla), one rounded family; big and bold for headings, 1.45 to 1.6 for reading. Native scroll; everything that moves uses transform and opacity. */
:root {
  --ground: #F8F7F2; --fg: #2F3E37; --muted: #4B594B; --line: rgba(47, 62, 55, .12);
  --graphite: #2F3E37; --graphite-2: #263330; --chalk: #F1EDE3; --chalk-muted: #C9CEC4; --forest: #3E554A; --lime: #C8F23C; --terra: #C97E6A;
  --pill: #ECEAE2; --pill-hover: #E3E0D6;
  --ease: cubic-bezier(.7, 0, .2, 1); --out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 3vw, 44px); --maxw: 1440px;
  --r-win: clamp(18px, 2vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { background: var(--ground); color: var(--fg); font-family: "Baloo 2", "Baloo Da 2", system-ui, sans-serif; font-size: 17px; line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
html:not([lang="bn"]) :lang(bn) { font-family: "Baloo Da 2", "Baloo 2", sans-serif; }
h1 :lang(bn), h2 :lang(bn), .win__state:lang(bn) { line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 12px 18px; border-radius: 99px; background: var(--fg); color: var(--chalk); font-weight: 700; transition: top .2s; } .skip:focus { top: 12px; }
h1, h2, h3 { text-wrap: balance; } p { text-wrap: pretty; }

/* ---------- curtain: the ন rises into place, settling like the pieces do; first visit also counts to 100 ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; background: #263330; color: var(--chalk); display: grid; place-items: center; transform: translateY(0); transition: transform .9s var(--ease) .18s; pointer-events: none; }
.curtain__mid { display: grid; justify-items: center; gap: clamp(22px, 3vw, 34px); }
.curtain__sym { display: block; overflow: hidden; padding: 6px; transition: transform .6s var(--ease), opacity .45s; }
.curtain__sym img { display: block; height: clamp(104px, 13vw, 160px); width: auto; max-width: none; transform-origin: 30% 80%; animation: nyomIn 1.1s cubic-bezier(.3, 1.35, .45, 1) both, nyomBreathe 2.6s ease-in-out 1.1s infinite; }
@keyframes nyomIn { 0% { clip-path: inset(100% 0 0 0); transform: translateY(38%) rotate(-16deg); } 55% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes nyomIn2 { 0% { clip-path: inset(100% 0 0 0); transform: translateY(38%) rotate(-16deg); } 55% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes nyomBreathe { 0%, 100% { transform: none; } 50% { transform: translateY(-3%) rotate(-1.5deg); } }
.curtain__bar { position: relative; width: clamp(110px, 12vw, 150px); height: 4px; border-radius: 2px; background: #3E554A; overflow: hidden; display: block; }
.curtain__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lime); border-radius: 2px; }
.is-seen .curtain__bar i { width: 40%; animation: sweep 1s var(--ease) infinite; } @keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.curtain__n { position: absolute; left: var(--pad); bottom: 6px; font-size: clamp(64px, 11vw, 150px); line-height: 1; font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.is-seen .curtain__n { display: none; }
.is-seen .curtain__sym img { animation: nyomBreathe 2.6s ease-in-out infinite; }
.is-ready .curtain { transform: translateY(-101%); }
.is-ready .curtain__sym { transform: translateY(-40px) scale(.92); opacity: 0; }
.is-leaving .curtain, .is-leaving.is-ready .curtain { transform: translateY(0); transition: transform .55s var(--ease); }
.is-leaving .curtain__sym, .is-leaving.is-ready .curtain__sym { transform: none; opacity: 1; transition: none; }
.is-leaving .curtain__sym img { animation: nyomIn2 .9s cubic-bezier(.3, 1.35, .45, 1) .3s both, nyomBreathe 2.6s ease-in-out 1.2s infinite; }
.js-off .curtain, .is-static .curtain { display: none; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 40; inset: 0 0 auto; height: 80px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; transition: background .4s, box-shadow .4s, transform .5s var(--out); }
.is-scrolled .top { background: rgba(248, 247, 242, .9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.is-hidden-top .top { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; } .brand img { max-width: none; } .brand__sym { height: 30px; width: 28px; } .brand__word { height: 22px; width: auto; }
.top__end { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--pill); color: var(--fg); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: transform .35s var(--out), background .3s; }
.pill:hover { background: var(--pill-hover); } .pill:active { transform: scale(.97); }
.pill--dark { background: var(--fg); color: var(--chalk); } .pill--dark:hover { background: #3E554A; }
.pill--dark i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); transition: transform .35s var(--out); } .pill--dark:hover i { transform: scale(1.6); }
.pill--lg { min-height: 56px; padding: 0 28px; font-size: 14px; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .4s var(--out); }
[aria-expanded="true"] .dots i:first-child { transform: translateX(3.5px); } [aria-expanded="true"] .dots i:last-child { transform: translateX(-3.5px); }
.lang { display: inline-flex; align-items: center; background: var(--pill); border-radius: 99px; padding: 0 3px; min-height: 44px; }
.lang a { border: 0; background: none; min-height: 44px; background-clip: content-box; border-block: 4px solid transparent; min-width: 44px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ground); color: var(--fg); box-shadow: 0 1px 2px rgba(47, 62, 55, .12); }

/* the menu: a graphite card that drops in, links arrive one after another */
.menu { position: fixed; z-index: 35; inset: 0; padding: 88px var(--pad) var(--pad); background: rgba(248, 247, 242, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.menu.is-open { opacity: 1; }
.menu__card { margin-left: auto; max-width: 620px; background: var(--graphite); color: var(--chalk); border-radius: var(--r-win); padding: clamp(20px, 3vw, 36px); transform: translateY(-16px) scale(.98); transform-origin: top right; transition: transform .6s var(--out); }
.menu.is-open .menu__card { transform: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(241, 237, 227, .12); font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--out), color .3s; }
.menu nav a small { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--chalk-muted); font-variant-numeric: tabular-nums; }
.menu nav a:hover { color: var(--chalk); } .menu nav a[aria-current="page"] small { color: var(--chalk); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .04s; } .menu.is-open nav a:nth-child(3) { transition-delay: .08s; } .menu.is-open nav a:nth-child(4) { transition-delay: .12s; } .menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--chalk-muted); }

/* ---------- shared type ---------- */
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 242, 60, .3); }
.h1 { font-size: clamp(36px, 4.8vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; max-width: 22ch; }
.h2 { font-size: clamp(34px, 5.2vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; max-width: 15ch; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.pull { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; max-width: 24ch; }

/* word-by-word masked reveal (each word rises from behind its own line) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--out); transition-delay: calc(var(--i, 0) * 28ms); }
[data-split].in .w > span { transform: none; }
.js-off [data-split] .w > span, .is-static [data-split] .w > span { transform: none; transition: none; }
/* paragraphs: arrive slightly soft, then settle */
.rv { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--out), transform 1s var(--out), filter .9s var(--out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }
.js-off .rv, .is-static .rv { opacity: 1; transform: none; filter: none; transition: none; }

/* ---------- hero: a tall section with a sticky frame ---------- */
.hero { height: 250vh; position: relative; }
.hero--product { height: 230vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 96px var(--pad) 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(14px, 2vh, 24px); max-width: var(--maxw); margin: 0 auto; }
.hero__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32ch); gap: 24px; align-items: end; }
.hero__side { font-size: 16px; line-height: 1.45; color: var(--muted); font-weight: 500; display: grid; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--fg); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 242, 60, .35); }

.win { position: relative; border-radius: var(--r-win); overflow: hidden; min-height: 280px; isolation: isolate;
  background: radial-gradient(120% 90% at 38% 30%, #3E554A 0%, #2F3E37 55%, #263330 100%); }
.win canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.win__readout { position: absolute; z-index: 2; left: 20px; top: 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; color: var(--chalk); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.win__state { font-size: 15px; letter-spacing: 0; text-transform: none; }
.win__pct { color: var(--chalk-muted); font-variant-numeric: tabular-nums; } .win__pct b { color: var(--chalk); }
.win__labels span { position: absolute; z-index: 2; left: 0; top: 0; translate: -50% -50%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-muted); white-space: nowrap; pointer-events: none; opacity: 0; }
.win__labels span[data-a="start"] { translate: 0 -50%; }
.win__btn { position: absolute; z-index: 2; right: 14px; bottom: 14px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--chalk); color: var(--fg); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .35s var(--out); }
.win__btn:active { transform: scale(.97); } .win__btn:focus-visible { outline-color: var(--terra); }
.win__hint { position: absolute; z-index: 2; left: 20px; bottom: 26px; color: var(--chalk-muted); font-size: 13px; font-weight: 600; pointer-events: none; transition: opacity .6s; }
.win.is-touched .win__hint { opacity: 0; }
.win.no-gl .win__btn, .win.no-gl .win__hint, .win.no-gl .win__pct { display: none; }
.win.no-gl::after { content: ""; position: absolute; inset: 18% 12%; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(241, 237, 227, .5) 34px 52px); border-radius: 12px; mask: linear-gradient(transparent, #000 20%, #000 80%, transparent); opacity: .5; }

.marks { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; height: 44px; font-size: 18px; font-weight: 400; }
.marks span:nth-child(2) { text-align: right; } .marks span:nth-child(4) { text-align: left; } .marks span:last-child { text-align: right; }
.marks__t { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 0 24px; }

/* ---------- sections ---------- */
.sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(96px, 16vh, 180px) var(--pad) 0; }
.sec__label { display: flex; align-items: center; gap: 14px; padding-top: 16px; margin-bottom: clamp(28px, 4vw, 48px); border-top: 1px solid var(--fg); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sec__label span { font-variant-numeric: tabular-nums; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.split__b { display: grid; gap: clamp(20px, 3vw, 36px); justify-items: start; }

/* product cards: graphite art panel with pieces that line up on hover */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.card { display: grid; border-radius: var(--r-win); background: #EFEDE5; overflow: hidden; transition: transform .6s var(--out); }
.card:hover { transform: translateY(-4px); }
.card__art { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 38% 30%, #3E554A 0%, #2F3E37 60%, #263330 100%); overflow: hidden; }
.card__body { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; justify-items: start; }
.card__n { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.card p { color: var(--muted); max-width: 40ch; } .card p strong { color: var(--fg); font-weight: 650; }
.card__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 44px; padding: 0 20px; border-radius: 99px; background: var(--fg); color: var(--chalk); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card__go i { font-style: normal; transition: transform .4s var(--out); } .card:hover .card__go i { transform: translateX(4px); }
/* the kantha patches in the card art (built by site.js): soft cloth with a dashed running stitch */
.patch { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border-radius: 7px; background: var(--c);
  background-image: radial-gradient(120% 140% at 30% 20%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 50%), linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .22));
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .7), inset 0 -2px 3px rgba(0, 0, 0, .14); transform: translate(var(--mx), var(--my)) rotate(var(--mr)); transition: transform 1.1s var(--out); transition-delay: var(--dl, 0s); }
.patch::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--t); border-radius: 4px; opacity: .75; }
.card:hover .patch, .card:focus-visible .patch, .card.is-tidy .patch { transform: none; }

/* rules: big numbered rows */
.rules { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--out); }
.rules__n { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rules h3 { font-size: clamp(24px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.rules p { color: var(--muted); max-width: 38ch; }
@media (hover: hover) { .rules li:hover { padding-left: 14px; } .rules li:hover .rules__n { color: var(--fg); } }

/* story: words fill in as you read */
.story { font-size: clamp(30px, 4.4vw, 68px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; max-width: 22ch; }
.story .word { transition: opacity .2s linear; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); margin: clamp(36px, 5vw, 72px) 0; color: var(--muted); font-size: 18px; }
.two p { max-width: 40ch; }

/* marquee band */
.band { margin-top: clamp(96px, 16vh, 180px); overflow: hidden; border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 26px) 0; }
.band__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); width: max-content; animation: band 38s linear infinite; }
.band span { font-size: clamp(56px, 9vw, 150px); line-height: 1; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.band span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }
.band span[lang="bn"] { line-height: 1.25; }
.band i { width: clamp(18px, 2vw, 30px); height: clamp(18px, 2vw, 30px); border-radius: 50%; background: var(--lime); flex: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- footer: a graphite card with the giant wordmark ---------- */
.foot { padding: clamp(96px, 16vh, 180px) var(--pad) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.foot__card { background: var(--graphite); color: var(--chalk); border-radius: var(--r-win); padding: clamp(24px, 4vw, 56px); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot__sym { height: 64px; width: 59px; max-width: none; margin-bottom: 24px; }
.foot__h { font-size: clamp(40px, 6vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.foot__sig { margin-top: 18px; font-size: 20px; font-weight: 600; max-width: 26ch; }
.foot__note { margin-top: 8px; color: var(--chalk-muted); font-size: 15px; }
.foot__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-muted); margin-bottom: 10px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; transition: color .3s; } .foot ul a:hover { color: var(--chalk); }
.foot :focus-visible { outline-color: var(--terra); }
.foot__giant { width: 100%; height: auto; margin: clamp(48px, 7vw, 96px) 0 clamp(20px, 3vw, 32px); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(241, 237, 227, .14); font-size: 13px; color: var(--chalk-muted); }
.foot__legal span:last-child { max-width: 70ch; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .hero__head { grid-template-columns: minmax(0, 1fr); gap: 10px; } .hero__side { display: none; }
  .split, .cards, .two { grid-template-columns: minmax(0, 1fr); }
  .rules li { grid-template-columns: 56px minmax(0, 1fr); } .rules p { grid-column: 2; }
  .foot__grid { grid-template-columns: 1fr 1fr; } .foot__lead { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { height: 68px; } .brand__word { display: none; }
  .lang a { min-width: 40px; padding: 0 8px; }
  .top__end .pill--dark { display: none; }
  .hero__sticky { padding-top: 80px; }
  .marks { grid-template-columns: 1fr auto 1fr; } .marks span:nth-child(2), .marks span:nth-child(4) { display: none; }
  .win__hint { display: none; } .win__readout { left: 14px; top: 12px; }
  .rules li { grid-template-columns: minmax(0, 1fr); } .rules p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } .rules li, .card, .patch { transition: none; } }
.win__readout { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }

/* scroll-linked reveals: site.js drives these every frame, so no CSS transitions on them */
.scrub, .scrub .w > span { transition: none !important; will-change: transform; } .rv.scrub { filter: none; }
.scrub .w { padding-bottom: .12em; margin-bottom: -.12em; }
.is-leaving .curtain__n { display: none; } .is-leaving .curtain__bar i { width: 40%; animation: sweep 1s var(--ease) infinite; }
.lang a { display: inline-flex; align-items: center; justify-content: center; }
/* Bangla pages: Baloo 2 for Latin, Baloo Da 2 for Bangla; Bangla needs more line height and no negative tracking */
html[lang="bn"] body { font-family: "Baloo 2", "Baloo Da 2", system-ui, sans-serif; line-height: 1.6; }
html[lang="bn"] .h1 { font-size: clamp(32px, 4.2vw, 66px); }
html[lang="bn"] .h2 { font-size: clamp(30px, 4.5vw, 72px); }
html[lang="bn"] .h1, html[lang="bn"] .h2, html[lang="bn"] .story, html[lang="bn"] .foot__h, html[lang="bn"] .pull, html[lang="bn"] .card h3, html[lang="bn"] .rules h3, html[lang="bn"] .menu nav a, html[lang="bn"] .top2 b { line-height: 1.3; letter-spacing: -.005em; }
html[lang="bn"] [data-split] .w, html[lang="bn"] .scrub .w { padding-bottom: .22em; margin-bottom: -.22em; }
html[lang="bn"] .lede, html[lang="bn"] .two, html[lang="bn"] .rules p, html[lang="bn"] .card p, html[lang="bn"] .hero__side { line-height: 1.75; }
html[lang="bn"] .kick, html[lang="bn"] .sec__label, html[lang="bn"] .card__n, html[lang="bn"] .foot__label, html[lang="bn"] .marks__t, html[lang="bn"] .win__pct, html[lang="bn"] .win__labels span, html[lang="bn"] .app .wh, html[lang="bn"] .kpi span, html[lang="bn"] .ac1 span { letter-spacing: .02em; }
html[lang="bn"] .pill, html[lang="bn"] .win__btn, html[lang="bn"] .card__go { letter-spacing: .01em; font-size: 14px; }
html[lang="bn"] .story { max-width: 26ch; }
html[lang="bn"] .sec__label, html[lang="bn"] .kick, html[lang="bn"] .card__n, html[lang="bn"] .foot__label, html[lang="bn"] .marks__t, html[lang="bn"] .win__readout, html[lang="bn"] .app .wh, html[lang="bn"] .kpi span, html[lang="bn"] .ac1 span, html[lang="bn"] .win__labels span { font-size: 14.5px; }

/* ---------- Baloo type: rounded and bold like the wordmark; Baloo runs tall, so headings get a touch more line height and much less negative tracking ---------- */
body { font-size: 18px; }
.h1, .h2, .story, .foot__h, .rules h3, .card h3, .menu nav a, .pull, .band span, .top2 b { font-weight: 700; letter-spacing: -.012em; }
.h1, .h2 { line-height: 1.04; } .story { line-height: 1.12; } .foot__h { line-height: 1.02; }
.card h3, .rules h3 { line-height: 1.1; } .pull { font-weight: 600; line-height: 1.3; }
.lede, .two, .rules p, .card p, .hero__side { font-weight: 400; }
.hero__side { font-size: 17px; }
.kick, .sec__label, .card__n, .foot__label, .marks__t, .pill, .win__btn, .card__go, .win__readout, .app .wh, .kpi span, .ac1 span, .win__labels span { font-weight: 700; }
.curtain__n { font-weight: 500; letter-spacing: -.03em; }
/* the word mask: Baloo's tall ascenders need room at the top too */
[data-split] .w { padding-top: .12em; margin-top: -.12em; }
/* Bangla: semibold headings, roomier lines, calmer labels */
html[lang="bn"] .h1, html[lang="bn"] .h2, html[lang="bn"] .story, html[lang="bn"] .foot__h, html[lang="bn"] .rules h3, html[lang="bn"] .card h3, html[lang="bn"] .menu nav a, html[lang="bn"] .top2 b { font-weight: 600; letter-spacing: 0; line-height: 1.25; }
html[lang="bn"] .pull { line-height: 1.4; }
html[lang="bn"] .lede, html[lang="bn"] .two, html[lang="bn"] .rules p, html[lang="bn"] .card p, html[lang="bn"] .hero__side { font-size: 18px; line-height: 1.6; }
html[lang="bn"] .sec__label, html[lang="bn"] .kick, html[lang="bn"] .card__n, html[lang="bn"] .foot__label, html[lang="bn"] .marks__t, html[lang="bn"] .win__readout, html[lang="bn"] .app .wh, html[lang="bn"] .kpi span, html[lang="bn"] .ac1 span, html[lang="bn"] .win__labels span, html[lang="bn"] .pill, html[lang="bn"] .win__btn, html[lang="bn"] .card__go { font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.lede, .two, .rules p, .card p, .hero__side, .foot__note, .note { font-weight: 450; }
/* header logo scaled to the page: bigger symbol and wordmark, a taller bar to hold them */
.top { height: 96px; } .brand { gap: 14px; } .brand__sym { height: 42px; width: 39px; } .brand__word { height: 30px; }
.hero__sticky { padding-top: 112px; } .menu { padding-top: 104px; }
@media (max-width: 640px) { .top { height: 76px; } .brand__sym { height: 36px; width: 33px; } .hero__sticky { padding-top: 88px; } .menu { padding-top: 84px; } }
/* Bangla headings in Fiona Bangla Round (Bongolipi): Latin in them stays Baloo 2, body text stays Baloo Da 2 */
:is(.h1, .h2, .story, .foot__h, .rules h3, .card h3, .menu nav a, .pull, .band, .top2 b),
:is(.h1, .h2, .story, .foot__h, .rules h3, .card h3, .menu nav a, .pull, .band, .top2 b) *,
html:not([lang="bn"]) :is(.h1, .h2, .story, .foot__h, .rules h3, .card h3, .pull, .band) :lang(bn) { font-family: "Baloo 2", "Fiona Bangla Round", "Baloo Da 2", sans-serif; font-synthesis: none; }
.foot__credit { margin-top: 6px; font-size: 13px; color: var(--chalk-muted); } .foot__credit a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ================= Group A: scroll weight, header, card menu, odometer, type, labels ================= */
/* scroll: the native scroll drives a fixed page that eases after it (site.js); pins replace position: sticky there */
.is-smooth #smooth { position: fixed; inset: 0 0 auto 0; will-change: transform; }
.is-smooth .hero__sticky { position: relative; will-change: transform; }

/* header: no bar, no hiding; the logo swaps to chalk over dark surfaces */
.is-scrolled .top { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-hidden-top .top { transform: none; }
.brand__sym, .brand__word { position: relative; display: block; }
.brand__sym img, .brand__word img { height: 100%; width: auto; max-width: none; transition: opacity .35s var(--out); }
.brand__alt { position: absolute; inset: 0; opacity: 0; }
.top.is-dark .brand__alt { opacity: 1; } .top.is-dark .brand__sym img:not(.brand__alt), .top.is-dark .brand__word img:not(.brand__alt) { opacity: 0; }

/* menu: a small stack of cards that drops from the Menu button */
.menu { inset: 0; padding: 0; background: linear-gradient(90deg, rgba(248, 247, 242, 0) 30%, rgba(248, 247, 242, .82)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu__stack { position: absolute; top: 88px; right: var(--pad); width: min(380px, calc(100% - 2 * var(--pad))); display: grid; gap: 8px; }
.menu__card { display: block; border-radius: 18px; padding: 20px 22px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(38, 51, 48, .35);
  opacity: 0; transform: translateY(-12px) scale(.98); transform-origin: top right; transition: opacity .35s var(--out), transform .55s var(--out); }
.menu.is-open .menu__card { opacity: 1; transform: none; }
.menu.is-open .menu__card:nth-child(2) { transition-delay: .05s; } .menu.is-open .menu__card:nth-child(3) { transition-delay: .1s; }
.menu__nav { display: grid; gap: 2px; padding: 12px 22px; }
.menu__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; border: 0; padding: 0; transition: color .25s, transform .35s var(--out); }
.menu__nav a::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); transform: scale(0); transition: transform .35s var(--out); }
.menu__nav a[aria-current="page"]::after { transform: none; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 242, 60, .3); }
.menu__nav a:hover { transform: translateX(4px); } .menu__nav a:hover::after { transform: scale(.7); }
.menu__cta { display: flex; align-items: center; justify-content: space-between; background: var(--fg); color: var(--chalk); font-size: 22px; font-weight: 700; letter-spacing: -.01em; padding: 22px; }
.menu__cta i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--fg); font-size: 18px; transition: transform .4s var(--out); }
.menu__cta:hover i { transform: rotate(45deg); }
.menu__note { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--pill); box-shadow: none; font-size: 13px; font-weight: 600; color: var(--muted); padding: 14px 22px; }
@media (max-width: 640px) { .menu__stack { top: 80px; } .menu { background: rgba(248, 247, 242, .82); } }

/* curtain: the counter rolls like an odometer; the bar is a running stitch */
.curtain__n { display: flex; overflow: hidden; height: 1em; line-height: 1; bottom: 14px; }
.odo { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.35, 0, 0, 1); }
.odo__strip span { display: block; height: 1em; }
.curtain__bar { background: rgba(241, 237, 227, .14); height: 3px; }
.curtain__bar i { width: 100%; transform: scaleX(0); transform-origin: left; background: repeating-linear-gradient(90deg, var(--terra) 0 9px, transparent 9px 14px); }
.is-seen .curtain__bar i, .is-leaving .curtain__bar i { width: 40%; transform: none; }

/* pills: labels roll up to a copy of themselves */
.roll { display: inline-flex; }
.roll__c { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; height: 1.25em; }
.roll__c > span { display: block; transition: transform .5s cubic-bezier(.35, 0, 0, 1); transition-delay: calc(var(--i) * 14ms); }
:is(.pill, .card__go, .menu__cta):hover .roll__c > span, .card:hover .card__go .roll__c > span { transform: translateY(-100%); }

/* decoding labels wait hidden until their turn */
[data-decode].is-wait { visibility: hidden; }

/* type: section headlines go bigger, the first line steps in like an editorial page */
.h2 { font-size: clamp(42px, 7vw, 124px); line-height: .98; max-width: 16ch; text-indent: clamp(28px, 9vw, 160px); }
.split .h2 { font-size: clamp(40px, 5.8vw, 100px); }
html[lang="bn"] .h2 { font-size: clamp(34px, 5.6vw, 96px); line-height: 1.2; }
.sec__label { border-top-color: var(--line); }

/* ghost word: a giant outline that drifts sideways behind the rules */
.sec--ghost { position: relative; overflow: hidden; }
.ghost { position: absolute; z-index: -1; left: -4vw; top: clamp(140px, 22vw, 320px); white-space: nowrap; font-size: clamp(120px, 24vw, 420px); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.2px rgba(47, 62, 55, .16); pointer-events: none; will-change: transform; }
.ghost span { font-family: "Fiona Bangla Round", "Baloo Da 2", sans-serif; font-weight: 400; margin-left: .2em; }
.rules { position: relative; background: linear-gradient(rgba(248, 247, 242, 0), rgba(248, 247, 242, 0)); }
.h2 .w, .h2 .w > span { text-indent: 0; }   /* text-indent is inherited: only the line steps in, not every word */
/* split sections: the big headline gets the full width, the text sits under it on the right, like an editorial page */
.split { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.split .h2 { font-size: clamp(42px, 7vw, 124px); max-width: 18ch; }
.split__b { margin-left: auto; width: min(100%, 620px); }
.top.is-dark .pill--dark { background: var(--chalk); color: var(--fg); }
.menu .menu__nav a { opacity: 1; transform: none; font-size: 19px; line-height: 1.2; padding: 6px 0; border-bottom: 0; color: var(--fg); letter-spacing: -.01em; transition: color .25s, transform .35s var(--out); }
.menu .menu__nav a:hover { color: var(--fg); transform: translateX(4px); }
.menu .menu__nav a + a { border-top: 1px solid var(--line); }
.menu__cta { width: 100%; }
html[lang="bn"] .menu .menu__nav a { font-size: 18px; letter-spacing: 0; }

/* ================= Group B: the thread, the trail, tilting cards, opening app windows ================= */
#fx, #trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#fx { z-index: 30; } #trail { z-index: 31; }
.is-static #trail { display: none; }

@property --hy { syntax: "<length>"; inherits: false; initial-value: 0px; }
.cards { perspective: 1400px; }
.card[data-tilt] { transform-origin: 50% 100%; transform: translate3d(0, calc(var(--ty, 0px) + var(--hy)), 0) rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); filter: blur(var(--bl, 0px)); transition: --hy .6s var(--out), box-shadow .6s var(--out); will-change: transform; }
.card[data-tilt]:hover { --hy: -6px; transform: translate3d(0, calc(var(--ty, 0px) + var(--hy)), 0) rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); box-shadow: 0 30px 60px -36px rgba(38, 51, 48, .45); }
.card h3 { position: relative; transition: transform .55s var(--out); }
.card h3::before { content: "→"; position: absolute; left: 0; top: 0; transform: translateX(-1.1em); opacity: 0; transition: transform .55s var(--out), opacity .3s; font-weight: 600; }
.card:hover h3 { transform: translateX(1.1em); } .card:hover h3::before { opacity: 1; }
.card[data-tilt] .card__art { transition: transform .8s var(--out); } .card[data-tilt]:hover .card__art { transform: scale(1.02); }

.app[data-fly] { position: relative; transform-origin: 50% 0; transform: perspective(1600px) translate3d(0, var(--fy, 0px), 0) rotateX(var(--frx, 0deg)) scale(var(--fs, 1)); will-change: transform; }
.app[data-fly]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #3E554A; mix-blend-mode: color; opacity: calc(var(--ft, 0) * .9); border-radius: inherit; }
.is-static .card[data-tilt], .is-static .app[data-fly] { transform: none; filter: none; }

/* finish: soft vignette and fine grain on every dark surface, so the forest gradients never band and read like printed cloth */
:root { --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.win::after, .card__art::after, .foot__card::before, .app::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background: var(--grain), radial-gradient(130% 110% at 45% 35%, rgba(0, 0, 0, 0) 55%, rgba(10, 16, 14, .38) 100%); background-size: 160px 160px, 100% 100%; mix-blend-mode: overlay; opacity: .55; }
.win.no-gl::after { mix-blend-mode: normal; }
.foot__card, .app { position: relative; }
.foot__card > * { position: relative; z-index: 4; }

/* ================= Group C: the quilt curtain, sideways steps, next page, product accents ================= */
/* curtain: a quilt of patches covers the page and flips away; leaving, it flips back in */
.curtain.has-grid { background: transparent; transform: none !important; transition: none; }
.curtain__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); }
.curtain__grid i { position: relative; background: var(--c); border-radius: 6px; transform: scale(1.08); transition: transform .5s cubic-bezier(.35, 0, 0, 1) var(--d), border-radius .5s var(--d); }
.curtain__grid i::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(241, 237, 227, .16); border-radius: 4px; }
.is-ready .curtain__grid i { transform: scale(0) rotate(var(--r)); border-radius: 30%; }
.is-leaving .curtain__grid i, .is-leaving.is-ready .curtain__grid i { transform: scale(1.08); border-radius: 6px; }
.curtain__mid, .curtain__n { position: relative; z-index: 2; transition: opacity .4s; }
.curtain.has-grid .curtain__n { position: absolute; }
.is-ready .curtain.has-grid .curtain__mid, .is-ready .curtain.has-grid .curtain__n { opacity: 0; }
.is-leaving .curtain.has-grid .curtain__mid { opacity: 1; transition: opacity .3s .35s; }

/* sideways steps: the section pins while the row of step cards slides across */
.hsec { padding-top: 96px; }
.hsec__pin { position: sticky; top: 0; padding-top: 8px; overflow: visible; }
.is-smooth .hsec__pin { position: relative; }
.htrack { display: flex; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(28px, 4vw, 52px); width: 100%; will-change: transform; }
.hcard { flex: none; width: clamp(280px, 38vw, 560px); min-height: clamp(260px, 34vh, 380px); display: grid; align-content: space-between; gap: 18px; padding: clamp(22px, 2.6vw, 38px); border-radius: var(--r-win); background: #EFEDE5; transform: rotate(var(--lean, 0deg)); transition: transform .5s var(--out); position: relative; overflow: hidden; }
.hcard .rules__n { font-size: clamp(56px, 7vw, 112px); line-height: .9; font-weight: 700; letter-spacing: -.03em; color: var(--accent, var(--chalk)); -webkit-text-stroke: 1.5px var(--fg); }
.hcard h3 { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
.hcard p { color: var(--muted); max-width: 34ch; }
.hcard::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(47, 62, 55, .16); border-radius: calc(var(--r-win) - 6px); pointer-events: none; }
html[lang="bn"] .hcard h3 { font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.is-static .hsec { height: auto !important; } .is-static .htrack { flex-wrap: wrap; transform: none !important; }

/* next page: at the very bottom, a dark panel fills its stitch as you keep scrolling */
.nextp { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px 24px; margin-top: 12px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-win); background: #263330; color: var(--chalk); position: relative; overflow: hidden; }
.nextp__k { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-muted); }
.nextp__t { font-size: clamp(36px, 6vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.nextp__bar { width: clamp(120px, 18vw, 260px); height: 4px; border-radius: 2px; background: rgba(241, 237, 227, .14); overflow: hidden; margin-bottom: 1.1em; }
.nextp__bar i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: repeating-linear-gradient(90deg, var(--terra) 0 9px, transparent 9px 14px); }
.nextp:hover .nextp__bar i { transform: scaleX(.18); transition: transform .5s var(--out); }
html[lang="bn"] .nextp__t { font-weight: 600; line-height: 1.25; }
@media (max-width: 640px) { .nextp { grid-template-columns: 1fr; } }

/* each product carries its own accent */
[data-page="home"] { --accent: var(--lime); } [data-page="erp"] { --accent: var(--terra); } [data-page="pft"] { --accent: var(--lime); }
[data-page="erp"] .kick::before, [data-page="erp"] .status::before { background: var(--terra); box-shadow: 0 0 0 3px rgba(201, 126, 106, .3); }
[data-page="erp"] .top .pill--dark i { background: var(--terra); }
.hsec .h2 { font-size: clamp(36px, 4.8vw, 80px); max-width: 20ch; }
.hcard { min-height: clamp(230px, 30vh, 340px); }
@media (max-height: 760px) { .hsec .h2 { font-size: clamp(32px, 4vw, 64px); } .hcard .rules__n { font-size: 56px; } }

/* ================= Group D: the closing scene ================= */
.finale { position: relative; height: 340vh; margin-top: clamp(96px, 16vh, 180px); background: radial-gradient(120% 80% at 50% 40%, #33463D 0%, #263330 55%, #1C2622 100%); color: var(--chalk); }
.finale__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.is-smooth .finale__pin { position: relative; }
.finale canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.finale::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--grain); background-size: 160px; mix-blend-mode: overlay; opacity: .5; }
.finale__readout { position: absolute; z-index: 2; left: var(--pad); top: 112px; display: flex; gap: 14px; align-items: baseline; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.finale__state { font-size: 15px; letter-spacing: 0; text-transform: none; } .finale__pct { color: var(--chalk-muted); } .finale__pct b { color: var(--chalk); }
.finale__marks { position: absolute; left: var(--pad); right: var(--pad); bottom: 8px; color: var(--chalk-muted); }
.finale__end { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(70px, 12vh, 130px); display: grid; justify-items: center; opacity: var(--end, 0); transform: translateY(calc((1 - var(--end, 0)) * 40px)); pointer-events: none; }
.finale__end a { pointer-events: auto; }
.finale__cta { display: inline-flex; align-items: center; gap: 18px; padding: 18px 20px 18px 34px; border-radius: 99px; background: var(--chalk); color: var(--fg); font-size: clamp(24px, 3vw, 44px); font-weight: 700; letter-spacing: -.01em; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transition: transform .4s var(--out); }
.finale__cta i { font-style: normal; display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--lime); font-size: .8em; transition: transform .45s var(--out); }
.finale__cta:hover i { transform: rotate(45deg) scale(1.08); } .finale__cta:active { transform: scale(.98); }
@media (min-width: 641px) { .sticker.sticker--plate { left: auto; right: 8%; top: 32%; } }
.stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sticker { position: absolute; left: var(--x); top: var(--y); width: clamp(64px, 8vw, 128px); transform: rotate(var(--r)) scale(calc(var(--s) * var(--end, 0))); transition: transform .2s linear; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out calc(var(--i) * -.7s) infinite; }
.sticker svg { display: block; width: 100%; height: auto; overflow: visible; }
.sticker.sticker--plate { display: grid; place-items: center; width: max-content; white-space: nowrap; text-align: center; padding: .22em .6em .32em; border-radius: 14px; background: #fff; border: 4px solid #18A06B; outline: 5px solid #fff; color: #E2463A; font-family: "Fiona Bangla Round", "Baloo Da 2", sans-serif; font-size: clamp(26px, 3vw, 44px); line-height: 1.3; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.finale.no-gl::before { content: ""; position: absolute; inset: 30% 40%; background: url("assets/logo/option-D-curved-na/symbol-chalk.svg") center / contain no-repeat; opacity: .9; }
.is-static .finale { height: auto; } .is-static .finale__pin { height: 100vh; } .is-static .finale__end, .is-static .sticker { --end: 1; }
@media (max-width: 640px) { .sticker { width: 56px; } .finale__readout { top: 92px; } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }
/* sound button: flat bars when off, a soft wave when on */
.snd { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pill); cursor: pointer; transition: background .3s, transform .35s var(--out); }
.snd:hover { background: var(--pill-hover); } .snd:active { transform: scale(.94); }
.snd__bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.snd__bars i { width: 2px; height: 2px; border-radius: 1px; background: var(--fg); transition: height .3s var(--out); }
.snd.is-on .snd__bars i { animation: wave 1s ease-in-out infinite; } .snd.is-on .snd__bars i:nth-child(2) { animation-delay: -.2s; } .snd.is-on .snd__bars i:nth-child(3) { animation-delay: -.4s; } .snd.is-on .snd__bars i:nth-child(4) { animation-delay: -.6s; } .snd.is-on .snd__bars i:nth-child(5) { animation-delay: -.8s; }
@keyframes wave { 0%, 100% { height: 3px; } 50% { height: 13px; } }
@media (max-width: 640px) { .snd { display: none; } }
@media (prefers-reduced-motion: reduce) { .snd.is-on .snd__bars i { animation: none; height: 8px; } }
/* phones: the thread runs under the page (seen only in the gaps), the header packs tighter and gets a soft backing once you scroll */
@media (max-width: 700px) {
  #fx { z-index: -1; }
  .top__end { gap: 6px; } .top .pill { padding: 0 14px; letter-spacing: .04em; } .lang a { min-width: 36px; padding: 0 7px; }
  .is-scrolled .top { background: rgba(248, 247, 242, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .is-scrolled .top.is-dark { background: rgba(38, 51, 48, .6); }
  .hcard { width: 78vw; }
}

/* ================= audit fixes ================= */
/* nothing may widen the page: on phones a too-wide row makes the browser zoom the whole page out */
html { overflow-x: clip; } body { overflow-x: clip; }
.hsec { overflow-x: clip; }
/* the page colour lives on html only, so layers behind the content (the thread on phones, the ghost word) show through */
body { background: transparent; }
.sec--ghost { isolation: isolate; }
/* touch screens use the native sticky pin: keep the pinned steps clear of the fixed header */
.hsec__pin { top: 96px; } .is-smooth .hsec__pin { top: auto; }
@media (max-width: 640px) { .hsec__pin { top: 76px; } .hsec { padding-top: 76px; } }
/* closing scene on phones: stickers sit clear of the header, the edges and the button */
@media (max-width: 640px) {
  .sticker:nth-child(1) { --x: 4% !important; --y: 20% !important; }
  .sticker:nth-child(2) { --x: 10% !important; --y: 16% !important; }
  .sticker:nth-child(3) { --x: 78% !important; --y: 58% !important; }
  .sticker:nth-child(4) { --x: 4% !important; --y: 62% !important; }
  .sticker:nth-child(5) { --x: 76% !important; --y: 70% !important; }
  .sticker:nth-child(6) { --x: 40% !important; --y: 15% !important; }
  .sticker:nth-child(7) { display: none; }
  .sticker.sticker--plate { left: auto; right: 18px; top: max(84px, 14%); font-size: 22px; }
}

/* Keep the final symbol and its reading area separate on short viewports. */
@media (max-width:640px) and (max-height:740px) {
  .finale .sticker:nth-child(2) { top:31%; left:4%; width:42px; }
  .finale .sticker:nth-child(3) { top:53%; left:84%; width:38px; }
  .finale .sticker:nth-child(4) { top:44%; left:4%; width:38px; }
}
@media (min-width:641px) and (max-height:520px) {
  .finale__end { left:46%; right:4%; bottom:50px; }
  .finale__end .finale-promise { font-size:22px; }
  .finale__cta { font-size:24px; }
  .finale .sticker { width:42px; }
  .finale .sticker:nth-child(1) { left:4%; top:40%; }
  .finale .sticker:nth-child(2), .finale .sticker:nth-child(3), .finale .sticker:nth-child(5), .finale .sticker:nth-child(6) { display:none; }
  .finale .sticker.sticker--plate { width:max-content; right:6%; top:27%; font-size:22px; }
}
