/* Madar — the shop-front world. Blue steel shutter, painted signboard, goods on shelves. */

:root {
  --blue: #3A83F7;
  --blue-deep: #2563EB;
  --blue-soft: #60A5FA;
  --navy: #0F172A;
  --amber: #FFD27A;

  --ground: #F8FAFC;
  --wall: #EEF3FA;
  --surface: #FFFFFF;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --line: #E5E7EB;
  --board: #FFFFFF;
  --board-ink: #1F2937;
  --paper: #FFFDF7;
  --paper-rule: #D7E3F5;
  --counter-top: #DCE4EF;
  --counter-face: #C9D4E3;
  --plank: #D9C3A0;
  --plank-edge: #B89A6E;

  --steel-1: #5B9BFB;
  --steel-2: #3A83F7;
  --steel-3: #2563EB;
  --steel-4: #1D4FC0;
  --bar: #1F2937;

  --shadow-1: 0 1px 2px rgb(15 23 42 / .06), 0 4px 12px rgb(15 23 42 / .06);
  --shadow-2: 0 2px 4px rgb(15 23 42 / .06), 0 18px 40px rgb(15 23 42 / .12);

  --f-ruqaa: 'Aref Ruqaa', 'Tajawal', serif;
  --f-body: 'Tajawal', system-ui, sans-serif;
  --f-num: 'Poppins', 'Tajawal', sans-serif;

  --r: 14px;
  --slant: .26;            /* tan(14.6deg): the CODEIFY logo lean */
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --lip: 44px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --ground: #0B1220;
  --wall: #0E1729;
  --surface: #121B2E;
  --ink: #E8EEF7;
  --ink-2: #A3B2C7;
  --line: #23314B;
  --board: #0F172A;
  --board-ink: #F1F5F9;
  --paper: #172238;
  --paper-rule: #263552;
  --counter-top: #1B2740;
  --counter-face: #142036;
  --plank: #5A4630;
  --plank-edge: #3E2F1F;

  --steel-1: #3F7FE0;
  --steel-2: #2C68C9;
  --steel-3: #1F53A8;
  --steel-4: #163F84;
  --bar: #070C17;

  --shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 4px 12px rgb(0 0 0 / .25);
  --shadow-2: 0 2px 4px rgb(0 0 0 / .3), 0 18px 40px rgb(0 0 0 / .45);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue); color: #fff; }
input, textarea { caret-color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--blue) var(--ground); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 8px; border: 3px solid var(--ground); }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ruqaa { font-family: var(--f-ruqaa); font-weight: 700; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
.lead { margin-top: 14px; color: var(--ink-2); font-size: 1.2rem; max-width: 60ch; }
.text-link { display: inline-flex; margin-top: 22px; color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
[data-theme="dark"] .text-link { color: var(--blue-soft); }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue-deep); color: #fff; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--blue); transform-origin: right; transform: scaleX(var(--p, 0)); }

/* ---------- buttons ---------- */
.btn {
  --k: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; border-radius: 12px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%);
  transform: translateX(110%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(-110%); }
.btn-wa { background: var(--blue-deep); color: #fff; box-shadow: 0 6px 18px rgb(37 99 235 / .35); }
.btn-wa:hover { background: #1D4ED8; box-shadow: 0 10px 26px rgb(37 99 235 / .45); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(0 0 0 / .2); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .7); }
.btn-outline-light:hover { background: rgb(255 255 255 / .12); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1.12rem; }
.btn-sm { padding: 10px 18px; font-size: .98rem; }
.btn .ic { width: 1.3em; height: 1.3em; }

/* ---------- signboard header ---------- */
.sign { position: sticky; top: 0; z-index: 50; transition: transform .45s var(--ease); }
.sign.is-hidden { transform: translateY(-100%); }
.sign-board {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gut);
  background:
    radial-gradient(380px 110px at var(--lamp-x, 12%) 0, rgb(255 196 92 / .28), transparent 70%),
    linear-gradient(180deg, #FFFFFF, #EAF1FC);
  color: var(--board-ink);
  /* enamel plate: a thick painted frame band with a pinstripe inside it */
  box-shadow: inset 0 0 0 6px var(--blue-deep), inset 0 0 0 9px #FFFFFF, inset 0 0 0 10px var(--blue-deep);
  border-bottom: 6px solid var(--navy);
  padding-block: 16px;
  transition: background-color .5s var(--ease);
}
[data-theme="dark"] .sign-board {
  background:
    radial-gradient(420px 120px at var(--lamp-x, 12%) 0, rgb(255 210 122 / .22), transparent 70%),
    linear-gradient(180deg, #13203A, var(--board));
  box-shadow: inset 0 0 0 6px var(--blue-deep), inset 0 0 0 9px var(--board), inset 0 0 0 10px var(--blue-soft);
  border-bottom-color: #020617;
}
.sign-logo img { height: 44px; width: auto; }
.sign-nav { margin-inline-start: auto; }
.sign-nav ul { display: flex; gap: 4px; }
.sign-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--board-ink);
  transition: color .2s, background-color .2s;
}
.sign-nav a:hover { background: color-mix(in srgb, var(--blue) 12%, transparent); }
.sign-nav a.is-active { color: var(--blue-deep); }
[data-theme="dark"] .sign-nav a.is-active { color: var(--blue-soft); }
.sign-actions { display: flex; align-items: center; gap: 12px; }
.sign-cta { --k: 12px; border-radius: 0; padding-inline: 28px; box-shadow: none; clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%); }
.sign-cta:hover { box-shadow: none; }
.shutter-box {
  height: 12px;
  background: linear-gradient(180deg, #94A3B8, #64748B 60%, #475569);
  box-shadow: 0 3px 6px rgb(15 23 42 / .18);
}
[data-theme="dark"] .shutter-box { background: linear-gradient(180deg, #334155, #1E293B 60%, #0F172A); }

/* the lamp is the theme switch */
.lamp {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
  transition: border-color .3s, background-color .3s;
}
.lamp:hover { border-color: var(--blue); }
.lamp .ic { grid-area: 1 / 1; width: 22px; height: 22px; transition: transform .5s var(--ease), opacity .3s; }
.lamp-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .lamp-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="dark"] .lamp-moon { opacity: 1; transform: none; color: var(--amber); }
.lamp-bulb { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; opacity: .55; transition: opacity .5s; box-shadow: 0 4px 22px 6px rgb(255 196 92 / .4); }
[data-theme="dark"] .lamp-bulb { opacity: 1; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 120px var(--gut) 40px;
  background: var(--ground); display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 0; font-size: 1.5rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- hero: the shop ---------- */
.shop {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 80px);
  display: flex; align-items: center;
  padding: calc(var(--lip) + clamp(32px, 6vw, 72px)) 0 clamp(96px, 10vw, 120px);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--blue) 22%, transparent) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    var(--wall);
}
.shop::after { /* the counter */
  content: ""; position: absolute; inset: auto 0 0; height: clamp(56px, 7vw, 80px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / .7) 0 2px, transparent 2px),
    linear-gradient(180deg, var(--plank) 0 16px, var(--plank-edge) 16px 20px, transparent 20px),
    repeating-linear-gradient(90deg, var(--counter-face) 0 calc(25% - 2px), color-mix(in srgb, var(--counter-face) 80%, #000) calc(25% - 2px) 25%);
  box-shadow: 0 -10px 24px rgb(15 23 42 / .10);
}
.shop-in {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: end;
}
.hero-copy { padding-bottom: clamp(40px, 6vw, 72px); }
.hero-title { font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: 1.35; color: var(--ink); }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--blue-deep); }
[data-theme="dark"] .hero-title em { color: var(--blue-soft); }
.hero-sub { margin-top: 20px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--ink-2); font-weight: 700; font-size: 1rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--blue); }

.counter { position: relative; padding-bottom: clamp(22px, 3vw, 34px); }
.monitor { position: relative; z-index: 1; }
.monitor-screen {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 12px solid var(--navy); border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-2);
}
[data-theme="dark"] .monitor-screen { border-color: #020617; box-shadow: 0 0 0 1px #23314B, var(--shadow-2); }
.monitor-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1s var(--ease); }
.monitor-screen img.is-on { opacity: 1; }
.monitor-neck { width: 72px; height: 34px; margin: 0 auto; background: linear-gradient(90deg, #334155, #1E293B); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.monitor-foot { width: 200px; height: 10px; margin: 0 auto; border-radius: 6px 6px 2px 2px; background: #1E293B; }

.callout { position: absolute; z-index: 2; pointer-events: none; color: var(--blue-deep); }
[data-theme="dark"] .callout { color: var(--blue-soft); }
.callout .ruqaa { font-size: 1.35rem; white-space: nowrap; }
.callout svg { width: 90px; height: 60px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.callout-hero { top: -54px; inset-inline-start: 6%; display: flex; align-items: flex-start; gap: 4px; }
.callout-hero svg { margin-top: 18px; transform: scaleX(-1); }

.phone-mini {
  position: absolute; z-index: 3; inset-inline-end: -14px; bottom: 0;
  width: clamp(104px, 11vw, 136px); aspect-ratio: 9 / 18.5;
  padding: 22px 10px 10px; border-radius: 20px;
  background: var(--navy); border: 3px solid #334155;
  box-shadow: var(--shadow-2); color: #E8EEF7;
  display: flex; flex-direction: column; gap: 6px;
}
.phone-notch { position: absolute; top: 8px; left: 50%; width: 36%; height: 6px; margin-left: -18%; border-radius: 4px; background: #334155; }
.pm-head { font-size: .62rem; color: #A3B2C7; font-weight: 700; }
.pm-num { font-family: var(--f-num); font-weight: 700; font-size: .78rem; }
.pm-bars { flex: 1; display: flex; align-items: flex-end; gap: 4px; padding-top: 8px; }
.pm-bars i { flex: 1; height: var(--h); background: var(--blue); border-radius: 3px 3px 0 0; }
.pm-soon { align-self: center; font-size: .62rem; font-weight: 800; padding: 2px 10px; background: var(--amber); color: var(--navy); border-radius: 999px; }

/* the shutter */
.shutter-track { position: absolute; inset: 0; z-index: 5; pointer-events: none; transform: translateY(calc(var(--lift, 0) * -1 * var(--lip))); }
.shutter {
  position: absolute; inset: 0;
  transform: translateY(calc(-100% + var(--lip)));
  background:
    linear-gradient(90deg, rgb(0 0 0 / .12), transparent 14%, transparent 86%, rgb(0 0 0 / .12)),
    repeating-linear-gradient(180deg, var(--steel-1) 0 3px, var(--steel-2) 3px 15px, var(--steel-3) 15px 19px, var(--steel-4) 19px 22px);
  box-shadow: 0 10px 24px rgb(15 23 42 / .25);
}
.js-motion .shutter { animation: shutter-up 1.25s var(--ease) .25s both; }
@keyframes shutter-up { from { transform: translateY(0); } }
.shutter-paint {
  position: absolute; inset: 22% 0 auto; text-align: center; color: #fff;
  text-shadow: 0 2px 0 rgb(15 23 42 / .25);
}
.shutter-paint .ruqaa { display: block; font-size: clamp(5rem, 16vw, 12rem); line-height: 1.1; }
.shutter-paint small { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700; opacity: .9; }
.shutter-bar {
  position: absolute; inset: auto 0 0; height: var(--lip);
  background: linear-gradient(180deg, #475569, var(--bar) 30%, var(--bar));
  display: flex; justify-content: center; align-items: center; gap: min(40vw, 420px);
}
.shutter-bar i { width: 64px; height: 12px; border-radius: 6px; background: linear-gradient(180deg, #CBD5E1, #64748B); box-shadow: 0 2px 2px rgb(0 0 0 / .4); }

/* ---------- billboard count ---------- */
.count { padding: var(--sec) var(--gut) calc(var(--sec) * .7); text-align: center; }
.count-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 clamp(16px, 3vw, 40px); }
.count-big { font-weight: 800; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; color: var(--blue-deep); letter-spacing: -.03em; direction: ltr; }
[data-theme="dark"] .count-big { color: var(--blue-soft); }
.count-small { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.4; text-align: start; }
.count-meta { margin: 26px auto 0; max-width: 56ch; color: var(--ink-2); }

/* ---------- street of shopfronts ---------- */
.street { padding-bottom: var(--sec); }
.shops {
  width: min(100% - 2 * var(--gut), var(--wrap)); margin: 48px auto 0;
  display: grid; grid-template-columns: 1.3fr 1fr 1.15fr; align-items: end;
  border-bottom: 10px solid var(--counter-face);
}
.shopfront { padding: 0 clamp(10px, 1.6vw, 22px); border-inline-start: 6px solid var(--counter-face); }
.shopfront:first-child { border-inline-start: 0; }
.sf-sign {
  padding: 10px 16px; text-align: center; font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  background: var(--blue-deep); color: #fff; border-radius: 8px 8px 0 0;
}
.sf-wide .sf-sign { background: var(--navy); }
.sf-mid .sf-sign { background: var(--blue); }
[data-theme="dark"] .sf-wide .sf-sign { background: #1E293B; }
.sf-awning {
  height: 26px;
  background: repeating-linear-gradient(90deg, #fff 0 22px, var(--blue-soft) 22px 44px);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 96% 100%, 4% 100%, 0 60%);
}
[data-theme="dark"] .sf-awning { background: repeating-linear-gradient(90deg, #CBD5E1 0 22px, var(--steel-3) 22px 44px); }
.sf-window {
  position: relative; height: clamp(130px, 15vw, 180px); overflow: hidden;
  background: #fff; border: 6px solid var(--navy); border-top: 0;
}
.sf-window img { width: 100%; height: 100%; object-fit: cover; object-position: top right; transition: transform .8s var(--ease); }
.shopfront:hover .sf-window img { transform: scale(1.05); }
.sf-sign { display: flex; align-items: center; justify-content: center; gap: 12px; }
.sf-sign .ic { width: .8em; height: .8em; stroke-width: 2; opacity: .9; }
.shopfront p { padding: 18px 2px 24px; color: var(--ink-2); font-size: 1.05rem; }

/* ---------- ledger before/after ---------- */
.ledger-sec { padding: var(--sec) 0; background: var(--wall); }
.ledger { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 36px); align-items: center; margin-top: 44px; }
.ledger-page, .ledger-madar { padding: 30px clamp(22px, 3vw, 40px) 34px; border-radius: var(--r); }
.ledger-page {
  background:
    linear-gradient(90deg, transparent calc(100% - 48px), rgb(220 38 38 / .35) calc(100% - 48px) calc(100% - 46px), transparent calc(100% - 46px)),
    repeating-linear-gradient(180deg, transparent 0 43px, var(--paper-rule) 43px 44px),
    var(--paper);
  box-shadow: var(--shadow-1);
  transform: rotate(-1.2deg);
}
.ledger-page h3, .ledger-madar h3 { font-size: 2rem; margin-bottom: 8px; }
.ledger-page li { font-family: var(--f-ruqaa); font-size: 1.3rem; line-height: 44px; position: relative; width: fit-content; color: var(--ink-2); }
.ledger-page li::after {
  content: ""; position: absolute; inset: 50% -4px auto; height: 2px; background: #DC2626;
  transform: scaleX(var(--strike, 1)); transform-origin: right;
}
.ledger-arrow { color: var(--blue); }
.ledger-arrow .ic { width: 44px; height: 44px; stroke-width: 2; }
.ledger-madar { background: var(--surface); box-shadow: var(--shadow-2); }
.ledger-madar h3 { color: var(--blue-deep); }
[data-theme="dark"] .ledger-madar h3 { color: var(--blue-soft); }
.ledger-madar li { display: flex; align-items: center; gap: 12px; line-height: 44px; font-weight: 700; }
.ledger-madar .ic { color: #fff; background: var(--blue-deep); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 3; }

/* ---------- exchange-rate board ---------- */
.rate { padding: var(--sec) 0; }
.rate-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rate-copy p { margin-top: 18px; color: var(--ink-2); max-width: 48ch; }
.board {
  background: var(--navy); color: #E8EEF7; border-radius: 18px;
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-2);
  border: 1px solid #1E293B;
}
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: #A3B2C7; }
.board-btn {
  --k: 12px;
  display: inline-flex; align-items: center; gap: 8px; border: 0;
  padding: 10px 24px; background: var(--blue-deep); color: #fff; font-weight: 700; font-size: .98rem;
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
  transition: background-color .2s, transform .2s;
}
.board-btn:hover { background: #1D4ED8; }
.board-btn:active { transform: scale(.97); }
.board-rate { margin: 14px 0 18px; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700; color: var(--blue-soft); line-height: 1; direction: ltr; text-align: right; }
.board-rate small { font-size: 1.1rem; color: #A3B2C7; font-family: var(--f-body); }
.board-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.board-table th { text-align: start; font-weight: 700; color: #A3B2C7; padding: 8px 6px; border-bottom: 1px solid #23314B; font-size: .92rem; }
.board-table td { padding: 11px 6px; border-bottom: 1px solid #1B263B; }
.board-table td.num { text-align: start; direction: ltr; text-align: right; }
.board-table td[data-usd] { font-weight: 700; color: #fff; transition: color .4s, background-color .6s; border-radius: 6px; }
.board-table td.flash { background: rgb(58 131 247 / .3); color: #BFDBFE; }
.board-note { margin-top: 12px; font-size: .85rem; color: #8193AD; }

/* ---------- aisles (features) ---------- */
.aisles { padding: var(--sec) 0; background: var(--wall); }
.aisle-grid { margin-top: 56px; columns: 3 300px; column-gap: clamp(24px, 3vw, 44px); }
.aisle { break-inside: avoid; padding-top: 34px; margin-bottom: 40px; position: relative; }
.aisle-sign {
  --k: 12px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 30px; font-size: 1.3rem; font-weight: 800; color: #fff;
  background: var(--blue-deep);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
  transform-origin: 50% -34px;
}
.aisle::before { /* the two hanging wires */
  content: ""; position: absolute; top: 0; height: 36px; inset-inline-start: 26px; width: calc(var(--sign-w, 180px) - 52px);
  border-inline: 2px solid color-mix(in srgb, var(--ink) 35%, transparent);
}
.aisle ul { margin-top: 18px; display: grid; gap: 10px; }
.aisle li { position: relative; padding-inline-start: 22px; color: var(--ink-2); }
.aisle li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 9px; height: 9px; background: var(--blue); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }

/* ---------- shelf (screens gallery) ---------- */
.shelf-sec { padding: var(--sec) 0; }
.feature-shot { position: relative; margin: 48px 0 0; }
.shot-open { display: block; width: 100%; padding: 0; border: 12px solid var(--navy); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
.shot-open img { width: 100%; transition: transform .8s var(--ease); }
.shot-open:hover img { transform: scale(1.015); }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: none; }
.pin span {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--blue-deep); color: #fff; font-size: clamp(.95rem, 1.5vw, 1.25rem); white-space: nowrap;
  box-shadow: 0 6px 16px rgb(37 99 235 / .35);
}
.pin::before { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; margin: 6px 0 0 -7px; border-radius: 50%; background: var(--blue-deep); box-shadow: 0 0 0 5px rgb(58 131 247 / .3); }
.feature-shot figcaption { margin-top: 18px; color: var(--ink-2); font-weight: 700; }

.shelf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 56px 0 28px; }
.chip {
  --k: 8px;
  border: 0; padding: 9px 22px; font-weight: 700; font-size: 1rem;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
  transition: background-color .25s, color .25s;
}
.chip:hover { background: color-mix(in srgb, var(--blue) 12%, var(--surface)); }
.chip[aria-selected="true"] { background: var(--blue-deep); color: #fff; box-shadow: none; }
.chip .n { font-family: var(--f-num); font-size: .8rem; opacity: .7; margin-inline-start: 6px; }

.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 92px; padding-bottom: 40px; }
.shelf li { position: relative; padding: 0 clamp(10px, 1.4vw, 20px) 0; }
.shelf li::after { /* plank */
  content: ""; display: block; height: 16px; margin: 0 calc(-1 * clamp(10px, 1.4vw, 20px));
  background: linear-gradient(180deg, var(--plank) 0 10px, var(--plank-edge) 10px);
  box-shadow: 0 10px 14px rgb(15 23 42 / .12);
}
.shelf li.is-hidden { display: none; }
.goods { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; transition: transform .45s var(--ease); }
.goods:hover { transform: translateY(-6px); }
.goods-win { border-radius: 10px 10px 4px 4px; overflow: hidden; background: #fff; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.goods:hover .goods-win { box-shadow: var(--shadow-2); }
.goods-bar { display: flex; gap: 5px; padding: 7px 10px; background: var(--navy); }
.goods-bar i { width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.goods-bar i:first-child { background: var(--blue); }
.goods img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tag {
  position: absolute; z-index: 1; top: calc(100% - 4px); inset-inline-start: clamp(18px, 2vw, 28px);
  max-width: calc(100% - 40px);
  padding: 8px 14px 8px 26px; font-weight: 700; font-size: .98rem; line-height: 1.4;
  background: var(--surface); color: var(--ink); border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
  transform: rotate(-2.5deg); transform-origin: right top;
  transition: transform .5s var(--ease);
}
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--line); }
.tag small { display: block; font-size: .78rem; color: var(--blue-deep); font-weight: 800; }
[data-theme="dark"] .tag small { color: var(--blue-soft); }
.shelf li:hover .tag { transform: rotate(1.5deg); }

/* ---------- steps rail ---------- */
.steps { padding: var(--sec) 0; background: var(--wall); }
.rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 56px; }
.rail::before, .rail::after { content: ""; position: absolute; top: 31px; height: 4px; border-radius: 2px; inset-inline: 12.5%; }
.rail::before { background: var(--line); }
.rail::after { background: var(--blue); transform-origin: right; transform: scaleX(var(--p, 1)); }
.rail li { position: relative; z-index: 1; text-align: center; }
.rail-dot {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--blue-deep);
  box-shadow: inset 0 0 0 3px var(--blue), var(--shadow-1);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.rail-dot .ic { width: 28px; height: 28px; }
.rail li.is-lit .rail-dot { background: var(--blue-deep); color: #fff; box-shadow: 0 0 0 8px rgb(58 131 247 / .2), var(--shadow-1); }
.rail h3 { font-size: 1.3rem; font-weight: 800; }
.rail p { margin-top: 8px; color: var(--ink-2); font-size: 1.02rem; max-width: 26ch; margin-inline: auto; }

/* ---------- hardware ---------- */
.hardware { padding: calc(var(--sec) * .8) 0; }
.hw-grid { display: grid; gap: 34px; }
.hw-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 2px solid var(--line); }
.hw-list li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 10px; font-weight: 800; text-align: center; }
.hw-list li + li { border-inline-start: 2px solid var(--line); }
.hw-list .ic { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.5; }
.hw-net { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 700; }
.hw-net .ic { color: var(--blue); }

/* ---------- video ---------- */
.video-sec { padding: var(--sec) 0; background: var(--wall); text-align: center; }
.tv { margin: 44px auto 0; max-width: 980px; padding: 14px; background: var(--navy); border-radius: 22px; box-shadow: var(--shadow-2); }
.tv-facade, .tv iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; }
.tv-facade { position: relative; padding: 0; background: #000; }
.tv-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform .8s var(--ease); }
.tv-facade:hover img { opacity: 1; transform: scale(1.03); }
.tv-play {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue-deep); color: #fff;
  box-shadow: 0 0 0 0 rgb(58 131 247 / .55); animation: pulse 2.2s infinite;
}
.tv-play .ic { width: 36px; height: 36px; fill: #fff; stroke: none; margin-left: 6px; }
.tv-label { position: absolute; bottom: 16px; right: 18px; padding: 6px 14px; border-radius: 8px; background: rgb(15 23 42 / .75); color: #fff; font-weight: 700; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgb(58 131 247 / 0); } 100% { box-shadow: 0 0 0 0 rgb(58 131 247 / 0); } }

/* ---------- night (mobile app) ---------- */
.night {
  padding: var(--sec) 0; color: #E8EEF7;
  background:
    radial-gradient(600px 300px at 80% 0, rgb(255 210 122 / .14), transparent 70%),
    radial-gradient(circle at 1px 1px, rgb(96 165 250 / .14) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    #0A1120;
}
.night-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.night-copy p { margin-top: 18px; color: #B4C2D6; max-width: 46ch; }
.soon-tag {
  --k: 8px;
  display: inline-block; margin-inline-end: 6px; padding: 0 16px; font-weight: 800; font-size: .95rem;
  background: var(--amber); color: var(--navy);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
}
.night-list { display: grid; gap: 12px; margin-top: 26px; font-weight: 700; }
.night-list li { display: flex; align-items: center; gap: 12px; }
.night-list .ic { color: var(--blue-soft); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; flex-direction: column; padding: 8px 22px; border-radius: 12px;
  border: 1.5px solid #334155; color: #8193AD; font-family: var(--f-num); font-weight: 700; line-height: 1.3;
}
.store small { font-family: var(--f-body); font-size: .78rem; color: var(--amber); }
.night-phone { display: grid; justify-items: center; gap: 14px; }
.phone {
  position: relative; width: min(290px, 70vw); aspect-ratio: 9 / 18.5; padding: 30px 14px 16px;
  border-radius: 40px; background: #020617; border: 4px solid #334155;
  box-shadow: 0 30px 60px rgb(0 0 0 / .5);
}
.phone .phone-notch { top: 12px; height: 8px; }
.app { height: 100%; border-radius: 26px; background: #0F172A; padding: 16px; display: flex; flex-direction: column; gap: 14px; font-size: .9rem; }
.app-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-ruqaa); font-size: 1.5rem; }
.app-top img { width: 40px; height: auto; }
.app-card { padding: 14px; border-radius: 14px; background: linear-gradient(140deg, #1D4ED8, #1E3A8A); display: grid; gap: 2px; }
.app-card small { color: #E0ECFF; font-weight: 700; }
.app-card strong { font-size: 1.5rem; }
.app-up { font-size: .8rem; color: #ECFDF3; font-weight: 700; }
.app-bars { height: 80px; display: flex; align-items: flex-end; gap: 6px; }
.app-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-soft), var(--blue-deep)); }
.app-rows li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #1E293B; }
.app-sell { margin-top: auto; text-align: center; padding: 10px; border-radius: 12px; background: var(--blue-deep); font-weight: 800; }
.mock-note { font-size: .85rem; color: #8193AD; }

/* ---------- about ---------- */
.about { padding: var(--sec) 0; }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-logo img { width: 100%; max-width: 300px; margin-inline: auto; }
.about-lead { margin-top: 18px; font-size: 1.2rem; max-width: 62ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.vm h3 { font-size: 1.25rem; font-weight: 800; color: var(--blue-deep); margin-bottom: 6px; }
[data-theme="dark"] .vm h3 { color: var(--blue-soft); }
.vm p { color: var(--ink-2); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 3px solid var(--blue); }
.timeline li { position: relative; padding: 18px 10px 0 0; font-weight: 700; font-size: 1rem; }
.timeline li::before { content: ""; position: absolute; top: -9px; inset-inline-start: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-deep); box-shadow: 0 0 0 4px var(--ground); }
.timeline .num { display: block; font-size: 1.25rem; color: var(--blue-deep); }
[data-theme="dark"] .timeline .num { color: var(--blue-soft); }
.timeline .is-next::before { background: var(--ground); box-shadow: inset 0 0 0 3px var(--blue), 0 0 0 4px var(--ground); }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; background: var(--wall); }
.faq-wrap { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 800; font-size: 1.15rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 26px; height: 26px; color: var(--blue); transition: transform .4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }
[data-theme="dark"] .faq summary:hover { color: var(--blue-soft); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* ---------- closing shutter ---------- */
.closing { padding: var(--sec) var(--gut) 0; border-bottom: 10px solid var(--counter-face); }
.closing-shutter {
  position: relative; max-width: 1280px; margin: 0 auto; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) var(--gut) calc(var(--lip) + clamp(48px, 7vw, 80px));
  text-align: center; color: #fff; border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .14), transparent 14%, transparent 86%, rgb(0 0 0 / .14)),
    repeating-linear-gradient(180deg, var(--steel-1) 0 3px, var(--steel-2) 3px 15px, var(--steel-3) 15px 19px, var(--steel-4) 19px 22px);
}
.closing-title { font-size: clamp(2.2rem, 5vw, 4rem); text-shadow: 0 2px 0 rgb(15 23 42 / .25); }
.closing-num { margin-top: 12px; font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 800; letter-spacing: .02em; text-shadow: 0 3px 0 rgb(15 23 42 / .25); }
.closing-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.closing .shutter-bar { border-radius: 0; }

/* ---------- contact ---------- */
.contact { padding: var(--sec) 0; }
.contact-list { margin: 40px 0 0; border-top: 2px solid var(--line); }
.c-row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 2px solid var(--line); }
.c-row dt { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.c-row dt .ic { color: var(--blue); }
.c-row dd { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.c-row dd a { font-weight: 700; text-decoration: none; }
.c-row dd a:hover { color: var(--blue-deep); text-decoration: underline; }
.copy { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--wall); display: grid; place-items: center; color: var(--ink-2); transition: background-color .2s, color .2s; }
.copy:hover { background: var(--blue-deep); color: #fff; }
.copy .ic { width: 18px; height: 18px; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.socials a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-2px); }

/* ---------- footer ---------- */
.foot { padding: 56px 0 28px; background: var(--wall); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.foot-links a { text-decoration: none; color: var(--ink-2); font-weight: 700; }
.foot-links a:hover { color: var(--blue-deep); }
.foot-made { display: grid; gap: 8px; justify-items: start; color: var(--ink-2); font-size: .95rem; }
.foot-made img { height: 40px; width: auto; }
.foot-copy { margin-top: 40px; text-align: center; color: var(--ink-2); font-size: .92rem; }

/* ---------- floating ---------- */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-deep); color: #fff; box-shadow: 0 10px 26px rgb(37 99 235 / .45);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pulse 2.6s 2s 2; }
.wa-float.is-away { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-float { transition: transform .3s var(--ease), opacity .3s; }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; left: calc(100% + 12px); white-space: nowrap; padding: 6px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: .92rem; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 70; padding: 10px 20px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700;
  transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgb(2 6 23 / .9); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb-inner { width: min(96vw, 1400px); display: grid; gap: 14px; }
.lb-fig { margin: 0; }
.lb-img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 10px; background: #fff; }
.lb-fig figcaption { margin-top: 14px; display: grid; gap: 4px; }
.lb-title { font-size: 1.3rem; }
.lb-desc { color: #B4C2D6; max-width: 80ch; }
.lb-nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.lb-nav button, .lb-close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); display: grid; place-items: center; transition: background-color .2s; }
.lb-nav button:hover, .lb-close:hover { background: var(--blue-deep); }
.lb-close { position: fixed; top: 18px; left: 18px; }

/* ---------- slanted band edges: the logo lean carried across the page ---------- */
.ledger-sec, .aisles, .steps, .video-sec, .faq, .night {
  --cut: clamp(28px, 4vw, 64px);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding-block: calc(var(--sec) + var(--cut) * .5);
  margin-block: calc(var(--cut) * -.5);
  position: relative;
}

/* ---------- reveal (only when motion runs) ---------- */
.has-gsap [data-reveal] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sign-nav { display: none; }
  .menu-btn { display: flex; }
  .sign-actions { margin-inline-start: auto; }
}
@media (max-width: 960px) {
  .shop-in, .rate-grid, .night-grid, .about-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .counter { margin-top: 40px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-logo img { max-width: 220px; margin-inline: 0; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-arrow { justify-self: center; transform: rotate(-90deg); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1.06rem; }
  .sign-cta { display: none; }
  .sign-logo img { height: 38px; }
  .shops { grid-template-columns: 1fr; border-bottom: 0; }
  .shopfront { border-inline-start: 0; padding: 0; }
  .shopfront + .shopfront { margin-top: 18px; }
  .rail { grid-template-columns: 1fr; gap: 26px; }
  .rail::before, .rail::after { top: 33px; bottom: 33px; inset-inline: auto; right: 32px; width: 4px; height: auto; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .rail li { display: grid; grid-template-columns: 66px 1fr; gap: 0 18px; text-align: start; }
  .rail-dot { margin: 0; grid-row: span 2; }
  .rail p { margin-inline: 0; }
  .hw-list { grid-template-columns: 1fr 1fr; }
  .hw-list li:nth-child(3) { border-inline-start: 0; }
  .hw-list li:nth-child(n+3) { border-top: 2px solid var(--line); }
  .vm { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .c-row { grid-template-columns: 1fr; gap: 6px; }
  .pin { display: none; }
  .callout-hero { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .shutter-bar { gap: 46vw; }
  .shutter-bar i { width: 44px; }
}
@media (max-width: 520px) {
  .shelf { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .board-table { font-size: .9rem; }
  .board-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion .shutter { animation: none; }
}

/* hero entrance: the copy rises as the shutter clears */
.js-motion .hero-title .line, .js-motion .hero-sub, .js-motion .hero-cta, .js-motion .hero-facts, .js-motion .counter {
  animation: rise 1s var(--ease) both;
}
.js-motion .hero-title .line:nth-child(1) { animation-delay: .75s; }
.js-motion .hero-title .line:nth-child(2) { animation-delay: .87s; }
.js-motion .hero-sub { animation-delay: 1s; }
.js-motion .hero-cta { animation-delay: 1.1s; }
.js-motion .hero-facts { animation-delay: 1.2s; }
.js-motion .counter { animation-delay: .6s; animation-duration: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
.js-motion .callout-hero .draw path { stroke-dasharray: 200; animation: draw 1.2s var(--ease) 1.6s both; }
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js-motion .hero-title .line, .js-motion .hero-sub, .js-motion .hero-cta, .js-motion .hero-facts, .js-motion .counter, .js-motion .callout-hero .draw path { animation: none; }
}
