/* ==========================================================================
   Grab-n-Go AI — grab2goshop.ca
   Industrial-precision brand: black on white, one restrained steel accent.
   Bespoke stylesheet (no framework). Shared by EN (/) and FR (/fr/).
   ========================================================================== */

/* ------------------------- Self-hosted fonts ---------------------------- */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/inter-600.woff2") format("woff2");
}

:root {
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --ink-3: #6b6b6b;
  --paper: #ffffff;
  --panel: #141414;
  --panel-2: #1e1e1e;
  --line: #e4e4e4;
  --line-2: #2c2c2c;
  --accent: #2e5568;
  --accent-hi: #4d7f97;
  --focus: #2e5568;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }

/* --------------------------- Layout helpers ----------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--panel { background: var(--panel); color: #f4f4f4; }
.section--soft { background: #fafafa; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.section--panel .eyebrow { color: var(--accent-hi); }

.h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 20ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 62ch; margin-top: 1.25rem; }
.section--panel .lede { color: #c9c9c9; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ------------------------ One reveal style ------------------------------ */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .42s ease, transform .42s ease; }
.reveal-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal-up { opacity: 1; transform: none; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.95em 1.6em;
  border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff;
  border-radius: 2px; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--onpanel { background: #fff; color: var(--ink); border-color: #fff; }
.btn--onpanel:hover { background: transparent; color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow { transition: none; } }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: .1em;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a.navlink { font-size: 0.95rem; color: var(--ink-2); padding: .4rem 0; }
.nav a.navlink:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .1rem;
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.lang a { padding: .35rem .6rem; color: var(--ink-3); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:not([aria-current="true"]):hover { background: #f2f2f2; color: var(--ink); }

.nav-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .header-cta.header-cta--desktop { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 1px solid var(--line); border-radius: 2px;
    padding: .5rem .7rem; font-size: .85rem; color: var(--ink);
    font-family: var(--font-display); font-weight: 600;
  }
  .mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav.open { display: block; }
  /* :not(.btn) — otherwise this rule overrides the CTA's white text and padding,
     rendering the booking button black-on-black. */
  .mobile-nav a:not(.btn) {
    display: block; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-weight: 600; color: var(--ink);
  }
  .mobile-nav .btn { margin: 1rem var(--gutter); }
}

/* ------------------------ Media treatment helpers ----------------------- */
.media { position: relative; overflow: hidden; border-radius: 4px; background: #eee; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------- Typographic panel ---------------------------- */
/* Brand-style content panel used where we have no owned photograph.
   Deliberately typographic — never a dimensioned placeholder. */
.tpanel {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px),
    radial-gradient(120% 90% at 25% 10%, #243d4a 0%, #182530 55%, #0f1720 100%);
  color: #eaf2f6;
  display: flex; flex-direction: column; justify-content: center;
  gap: .9rem; padding: clamp(1.5rem, 4vw, 2.4rem);
}
.tpanel__kicker {
  font-family: var(--font-body); font-weight: 600; font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi);
}
.tpanel__line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem); line-height: 1.15; letter-spacing: -0.02em;
}
.tpanel__list { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .55rem; }
.tpanel__list li {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 500; font-size: .86rem; color: #cfdde4;
}
.tpanel__list li::before {
  content: ""; width: 7px; height: 7px; flex: none; background: var(--accent-hi);
}

/* --------------------- System map (two units, one board) ---------------- */
.sysmap {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.6rem);
}
.sysmap__unit {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px; padding: clamp(1.1rem, 2.5vw, 1.6rem);
  display: flex; flex-direction: column; gap: .7rem;
}
.sysmap__unit svg { width: 46px; height: 46px; color: var(--accent-hi); }
.sysmap__tag {
  font-family: var(--font-body); font-weight: 600; font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi);
}
.sysmap__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #f4f4f4; }
.sysmap__note { font-size: .88rem; color: #b9c6cd; line-height: 1.5; }
.sysmap__join {
  grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem;
  padding-top: .2rem;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; color: #dfe7ea;
}
.sysmap__join::before, .sysmap__join::after {
  content: ""; height: 1px; background: rgba(255,255,255,.2); flex: 1;
}
@media (max-width: 560px) { .sysmap { grid-template-columns: 1fr; } }

/* -------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  /* No bottom padding: the next section supplies the full section gap. Having
     both stacked left ~256px of dead space under the attribution line. */
  padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0;
  background:
    radial-gradient(120% 120% at 85% 0%, #f3f5f6 0%, rgba(255,255,255,0) 55%),
    linear-gradient(#ffffff, #ffffff);
}
.hero::after {  /* subtle grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 15ch; margin-top: 1.2rem; }

/* Hero machine: contained, never stretched or letterboxed. The render already
   carries balanced padding around the unit, so the column just centres it.
   The render is a dark 2:3 portrait, so it reads as its own panel against the
   light hero rather than sitting on white — hence the hairline and drop shadow.
   380px keeps it ~570px tall, matching the footprint of the 3:4 render it
   replaced, so the hero's vertical rhythm is unchanged. */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__machine {
  display: block;
  width: 100%; max-width: 380px; height: auto; border-radius: 6px;
  border: 1px solid rgba(16, 24, 28, .10);
  box-shadow: 0 18px 40px -18px rgba(16, 24, 28, .45);
  opacity: 0; transform: translateY(10px);
  animation: heroIn .6s ease .08s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero__visual { margin-top: 2.6rem; }
  /* 300px → 450px tall, the same height the 340px-wide 3:4 render occupied. */
  .hero__machine { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__machine { opacity: 1; transform: none; animation: none; }
}
/* Hero video player. DORMANT — no page uses .vplayer today. It waits on our own
   9:16 footage of our own machine; supplier-branded clips are not an option.
   To activate, drop the machine still in .hero__visual for this:

     <div class="vplayer" data-vplayer>
       <video class="vplayer__video" preload="none" playsinline disablepictureinpicture
         poster="assets/hero-poster.webp"
         controlslist="nodownload noplaybackrate noremoteplayback"
         oncontextmenu="return false" width="360" height="640"
         aria-label="[describe what the clip shows]">
         <source src="assets/hero.mp4" type="video/mp4">
       </video>
       <button class="vplayer__btn" type="button" data-vplay aria-pressed="false">
         <span class="vplayer__icon" aria-hidden="true"></span>
         <span class="vplayer__label">Play the demonstration</span>
       </button>
     </div>

   9:16 slot, media contained and vertically centred with balanced padding —
   never stretched, never re-cropped. Media-only by design: no native control
   bar, one play/pause button, nothing else. */
.vplayer {
  position: relative;
  /* Width, not height, is capped — capping height would fight aspect-ratio and
     silently flatten the slot. 338px keeps the 9:16 box at ~600px tall, which
     matches the hero text column. */
  width: 100%; max-width: 338px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  background: var(--panel);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0; transform: translateY(10px);
  animation: heroIn .6s ease .08s forwards;
}
.vplayer__video {
  width: 100%; height: 100%;
  object-fit: contain;   /* balanced bands top and bottom; no crop, no stretch */
  display: block;
  background: var(--panel);
}
.vplayer__btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  padding: 0; border: 0; background: transparent;
  color: #fff; cursor: pointer;
  transition: inset .25s ease, width .25s ease, height .25s ease, background-color .2s ease;
}
.vplayer__btn::before {   /* the disc behind the glyph */
  content: ""; position: absolute;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(10, 10, 10, .55);
  border: 2px solid rgba(255, 255, 255, .85);
  transition: width .25s ease, height .25s ease, background-color .2s ease;
}
.vplayer__btn:hover::before { background: var(--accent); border-color: var(--accent-hi); }
.vplayer__icon {
  position: relative; z-index: 1;
  width: 0; height: 0; margin-left: 5px;
  border-left: 19px solid currentColor;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
/* While playing, the control retreats to a small corner button so it never
   sits on top of the picture. */
.vplayer.is-playing .vplayer__btn {
  inset: auto 12px 12px auto; width: 46px; height: 46px;
}
.vplayer.is-playing .vplayer__btn::before { width: 46px; height: 46px; }
.vplayer.is-playing .vplayer__icon {
  width: 16px; height: 18px; margin-left: 0; border: 0;
  background:
    linear-gradient(currentColor, currentColor) left / 5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right / 5px 100% no-repeat;
}
.vplayer__label {   /* accessible name only */
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) {
  .vplayer { max-width: 300px; }
}
/* Reduced motion: show the poster only — no playback offered. */
@media (prefers-reduced-motion: reduce) {
  .vplayer { opacity: 1; transform: none; animation: none; }
  .vplayer__btn { display: none; }
  .vplayer__video { pointer-events: none; }
}

.hero .lede { margin-top: 1.6rem; }
/* The any-industry phrase carries the positioning, so it is lifted out of the
   body colour. Weight is pinned to 600 because Inter ships 400/500/600 only —
   the default <strong> 700 would be synthesised by the browser. Scoped to the
   hero: on .section--panel the lede sits on dark, where --accent would sink. */
.hero .lede strong { color: var(--accent); font-weight: 600; }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { font-size: .9rem; color: var(--ink-3); }

/* ------------------------ Attribution line motif ------------------------ */
.attrib {
  /* Explicit margin — <figure> defaults to `1em 40px`, which added stray space
     below and indented the block 40px out of alignment with the headline. */
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  background: linear-gradient(180deg, #fafafa, #ffffff);
}
.attrib__label {
  font-family: var(--font-body); font-weight: 600;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.2rem;
}
.attrib__nodes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(.6rem, 2.5vw, 2rem);
}
.a-node { display: flex; flex-direction: column; align-items: center; text-align: center; }
.a-node__art { order: -1; height: 88px; display: grid; place-items: center; margin-bottom: 1.15rem; }
.a-node__art svg { width: 72px; height: 72px; color: var(--ink); }
.a-node__art .accent { color: var(--accent); }

/* The rail: the dot always sits at the vertical centre of its own row, and the
   connecting segments are drawn from that same centre — so line and labels can
   never overlap regardless of art or label height. */
.a-node__rail { position: relative; width: 100%; height: 12px; display: grid; place-items: center; }
.a-node__rail::before, .a-node__rail::after {
  content: ""; position: absolute; top: 50%; height: 2px; margin-top: -1px;
  background: var(--accent); opacity: .45; transform: scaleX(0); transform-origin: left center;
}
.a-node__rail::before { right: 50%; left: calc(clamp(.6rem, 2.5vw, 2rem) / -2); }
.a-node__rail::after  { left: 50%;  right: calc(clamp(.6rem, 2.5vw, 2rem) / -2); }
.a-node:first-child .a-node__rail::before,
.a-node:last-child  .a-node__rail::after { display: none; }
.a-node__dot {
  position: relative; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px #fff;
  opacity: 0; transform: scale(.4);
}
.a-node__label {
  margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.a-node__desc { margin-top: .4rem; font-size: .87rem; line-height: 1.5; color: var(--ink-2); max-width: 24ch; }
.a-node__art, .a-node__label, .a-node__desc { opacity: 0; transform: translateY(10px); }

/* Reveal: rule draws left-to-right, then each node fades in, once. */
.attrib.reveal .a-node__rail::before,
.attrib.reveal .a-node__rail::after { animation: railIn .34s ease forwards; }
.attrib.reveal .a-node:nth-child(1) .a-node__rail::after  { animation-delay: .05s; }
.attrib.reveal .a-node:nth-child(2) .a-node__rail::before { animation-delay: .39s; }
.attrib.reveal .a-node:nth-child(2) .a-node__rail::after  { animation-delay: .73s; }
.attrib.reveal .a-node:nth-child(3) .a-node__rail::before { animation-delay: 1.07s; }
.attrib.reveal .a-node__dot { animation: dotIn .3s ease forwards; }
.attrib.reveal .a-node__art,
.attrib.reveal .a-node__label,
.attrib.reveal .a-node__desc { animation: nodeIn .42s ease forwards; }
.attrib.reveal .a-node:nth-child(1) :is(.a-node__art, .a-node__label, .a-node__desc) { animation-delay: .1s; }
.attrib.reveal .a-node:nth-child(2) :is(.a-node__art, .a-node__label, .a-node__desc) { animation-delay: .55s; }
.attrib.reveal .a-node:nth-child(3) :is(.a-node__art, .a-node__label, .a-node__desc) { animation-delay: 1s; }
.attrib.reveal .a-node:nth-child(1) .a-node__dot { animation-delay: .1s; }
.attrib.reveal .a-node:nth-child(2) .a-node__dot { animation-delay: .55s; }
.attrib.reveal .a-node:nth-child(3) .a-node__dot { animation-delay: 1s; }
@keyframes railIn { to { transform: scaleX(1); } }
@keyframes dotIn  { to { opacity: 1; transform: none; } }
@keyframes nodeIn { to { opacity: 1; transform: none; } }

/* Mobile: stack vertically, rail runs down the left between the nodes. */
@media (max-width: 640px) {
  .attrib__nodes { display: block; }
  .a-node {
    display: grid; grid-template-columns: 24px 1fr;
    align-items: start; text-align: left; column-gap: 1.1rem;
    padding-bottom: 2rem;
  }
  .a-node:last-child { padding-bottom: 0; }
  .a-node__rail { grid-column: 1; grid-row: 1 / span 3; width: 24px; height: 100%; align-content: start; }
  /* One continuous segment per node, running from its dot down to the next. */
  .a-node__rail::after { display: none; }
  .a-node__rail::before {
    display: block; top: 6px; bottom: calc(-2rem - 6px);
    left: 50%; right: auto; width: 2px; height: auto; margin: 0 0 0 -1px;
    transform: scaleY(0); transform-origin: center top;
  }
  /* Re-enable the first node's segment: the desktop rule that hides it is
     :first-child-qualified and outranks the plain selector above. */
  .a-node:first-child .a-node__rail::before { display: block; }
  .a-node:last-child .a-node__rail::before { display: none; }
  .a-node__dot { margin-top: 6px; }
  .a-node__art { grid-column: 2; grid-row: 1; height: auto; margin: 0 0 .7rem; place-items: start; }
  .a-node__art svg { width: 52px; height: 52px; }
  .a-node__label { grid-column: 2; grid-row: 2; margin-top: 0; }
  .a-node__desc { grid-column: 2; grid-row: 3; max-width: none; }
  .attrib.reveal .a-node__rail::before { animation-name: railInY; }
  .attrib.reveal .a-node:nth-child(1) .a-node__rail::before { animation-delay: .18s; }
  .attrib.reveal .a-node:nth-child(2) .a-node__rail::before { animation-delay: .63s; }
}
@keyframes railInY { to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .a-node__rail::before, .a-node__rail::after { transform: none; animation: none !important; }
  .a-node__dot, .a-node__art, .a-node__label, .a-node__desc { opacity: 1; transform: none; animation: none !important; }
}
.no-js .a-node__rail::before, .no-js .a-node__rail::after { transform: none; }
.no-js .a-node__dot, .no-js .a-node__art,
.no-js .a-node__label, .no-js .a-node__desc { opacity: 1; transform: none; }

/* --------------------------- Any-context band --------------------------- */
.anyband {
  background: #f2f6f7;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(46px, 6vw, 76px);
}
.anyband__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: start;
}
@media (max-width: 860px) { .anyband__grid { grid-template-columns: 1fr; } }
.anyband .eyebrow { margin-bottom: .9rem; }
.anyband__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 16ch; }
.anyband__body {
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 60ch;
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}
@media (max-width: 860px) { .anyband__body { border-left: 0; padding-left: 0; } }

/* ------------------------------ Pillars --------------------------------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin-top: 2.5rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.pillar .media, .pillar .tpanel { aspect-ratio: 16 / 10; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.pillar__body { padding: clamp(1.5rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; gap: .9rem; }
.pillar__tag {
  font-family: var(--font-body); font-weight: 600; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.pillar h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.pillar p { color: var(--ink-2); }

/* ------------------------- Industry photo cards ------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.2rem); margin-top: 2.5rem; }
@media (max-width: 820px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2;
  display: block; background: #111;
}
.ind-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.62) contrast(1.02); transition: filter .35s ease, transform .5s ease;
}
.ind-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 40%, rgba(10,10,10,.72) 100%);
}
.ind-card .ind-label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
}
.ind-card:hover img { filter: brightness(.78) contrast(1.04); transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ind-card img { transition: none; } .ind-card:hover img { transform: none; } }
.industries-note { margin-top: 1.8rem; color: #b8b8b8; font-size: 1.05rem; }

/* ----------------------------- How it works ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); margin-top: 3rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.step .media { aspect-ratio: 3 / 2; margin-bottom: 1.1rem; }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  line-height: 1; color: var(--accent); letter-spacing: -0.03em;
}
.step h3 { font-size: 1.3rem; margin: .7rem 0 .5rem; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* mini withdrawal log (step 3 + reused) */
.logcard { background: var(--panel); border-radius: 6px; padding: 1rem; margin-bottom: 1.1rem; aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.logcard .logrow {
  display: flex; align-items: center; gap: .6rem; color: #dfe7ea;
  font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .01em;
}
.logcard .logrow .tick { width: 7px; height: 7px; background: var(--accent-hi); flex: none; }
.logcard .logrow.new { opacity: 0; transform: translateX(-8px); }
.logcard.is-visible .logrow.new { animation: logIn .5s ease .2s forwards; }
@keyframes logIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .logcard .logrow.new { opacity: 1; transform: none; animation: none; } }

/* badge tap card (step 1) — code-built sibling of .logcard */
.badgecard {
  background: var(--panel); border-radius: 6px; padding: 1rem; margin-bottom: 1.1rem;
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: center; gap: .8rem;
}
.badgecard__badge {
  display: flex; align-items: center; gap: .7rem;
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 4px; padding: .6rem .7rem;
}
.badgecard__chip { width: 22px; height: 16px; flex: none; border-radius: 2px; background: var(--accent-hi); }
.badgecard__who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.badgecard__label {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.badgecard__num {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: #dfe7ea; letter-spacing: .02em;
}
.badgecard__wave { display: flex; align-items: flex-end; gap: .3rem; height: 18px; padding-left: .2rem; }
.badgecard__wave i { width: 5px; border-radius: 1px; background: var(--accent-hi); opacity: .2; }
.badgecard__wave i:nth-child(1) { height: 8px; }
.badgecard__wave i:nth-child(2) { height: 13px; }
.badgecard__wave i:nth-child(3) { height: 18px; }
.badgecard.is-visible .badgecard__wave i { animation: tapIn .35s ease forwards; }
.badgecard.is-visible .badgecard__wave i:nth-child(2) { animation-delay: .12s; }
.badgecard.is-visible .badgecard__wave i:nth-child(3) { animation-delay: .24s; }
@keyframes tapIn { to { opacity: .9; } }
.badgecard__state {
  display: flex; align-items: center; gap: .6rem; color: #dfe7ea;
  font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .01em;
  opacity: 0; transform: translateX(-8px);
}
.badgecard .tick { width: 7px; height: 7px; background: var(--accent-hi); flex: none; }
.badgecard.is-visible .badgecard__state { animation: logIn .5s ease .38s forwards; }
@media (prefers-reduced-motion: reduce) {
  .badgecard__wave i { opacity: .9; animation: none; }
  .badgecard__state { opacity: 1; transform: none; animation: none; }
}

.footnote {
  margin-top: 2.6rem; padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent); background: #f7f7f7;
  color: var(--ink-2); font-size: .95rem; border-radius: 0 3px 3px 0;
}
.claim {
  margin-top: 2.6rem; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink);
  max-width: 46ch; line-height: 1.35;
}
.claim small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--ink-3); margin-top: .7rem; letter-spacing: 0; }

/* ---------------------------- Customization ----------------------------- */
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.2rem); margin-top: 2.5rem; }
@media (max-width: 640px) { .custom-grid { grid-template-columns: 1fr; } }
.custom-tile { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: #111; border: 1px solid var(--line); }
.custom-tile .media, .custom-tile .miniframe { position: absolute; inset: 0; border-radius: 0; }
.custom-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.custom-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.02) 45%, rgba(10,10,10,.7) 100%); }
.custom-tile .tile-label {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.22;
}
.custom-tile .mark { position: absolute; z-index: 3; top: .8rem; left: 1rem; color: var(--accent-hi); font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
/* mini dashboard frame inside a tile */
.miniframe { background: #fff; }
.miniframe svg { width: 100%; height: 100%; }

/* ------------------------------ Case ------------------------------------ */
.case .lede { max-width: 56ch; }

/* --------------------------- Hover states ------------------------------- */
/* Restrained: a border that picks up the accent, and a small lift. */
.pillar, .ind-card, .custom-tile, .sysmap__unit {
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -18px rgba(46, 85, 104, .55);
}
.ind-card:hover { border-color: var(--accent-hi); }
.custom-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.sysmap__unit:hover { border-color: var(--accent-hi); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .pillar, .ind-card, .custom-tile, .sysmap__unit { transition: none; }
  .pillar:hover, .custom-tile:hover, .sysmap__unit:hover { transform: none; }
}

/* ----------------------------- Dashboard -------------------------------- */
.dash { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash ul { margin: 1.6rem 0 0; padding: 0; }
.dash li { list-style: none; padding-left: 1.6rem; position: relative; margin-bottom: .8rem; color: var(--ink-2); }
.dash li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--accent); }
.dash figure { margin: 0; }
.dash figcaption { margin-top: .7rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-body); font-weight: 600; }

/* live dashboard component */
.dashwrap { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.dashboard {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.32); font-family: var(--font-display);
}
.db-bar { background: var(--panel); display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; }
.db-bar .dbdot { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.db-bar .dbdot.live { background: var(--accent-hi); }
.db-bar .dbtitle { color: #eaeaea; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-left: .3rem; }
.db-bar .dbtag { margin-left: auto; color: #9fb6c0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.db-body { display: grid; grid-template-columns: 116px 1fr; }
.db-side { background: #f4f4f4; border-right: 1px solid var(--line); padding: .9rem .7rem; display: flex; flex-direction: column; gap: .55rem; }
.db-side .s { height: 9px; border-radius: 2px; background: #d3d3d3; }
.db-side .s.on { background: var(--accent); width: 78%; }
.db-side .s.w1 { width: 64%; } .db-side .s.w2 { width: 52%; } .db-side .s.w3 { width: 70%; }
.db-main { padding: .9rem; display: grid; gap: .8rem; }
.db-sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.db-site { border: 1px solid var(--line); border-radius: 5px; padding: .6rem; }
.db-site .name { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.db-site .val { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: .25rem; }
.db-site .val.accent { color: var(--accent); }
.db-chart { border: 1px solid var(--line); border-radius: 5px; padding: .7rem; }
.db-chart .bars { display: flex; align-items: flex-end; gap: .35rem; height: 66px; }
.db-chart .bars .b { flex: 1; background: #dfe6e9; border-radius: 2px 2px 0 0; height: var(--h, 40%); }
.db-chart .bars .b.grow { transition: height .9s cubic-bezier(.2,.7,.2,1); }
.db-alerts { display: grid; gap: .45rem; }
.db-alert { display: flex; align-items: center; gap: .55rem; font-size: .74rem; color: var(--ink-2); }
.db-alert .pip { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.db-alert .pip.low { background: var(--accent); }
.db-alert .pip.exp { background: #b06a2e; }
.db-log { border-top: 1px solid var(--line); padding-top: .6rem; display: grid; gap: .4rem; }
.db-logline { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--ink-2); }
.db-logline .tk { width: 6px; height: 6px; background: var(--accent-hi); flex: none; }
.db-logline.new { opacity: 0; transform: translateX(-8px); }
.dashboard.is-visible .db-chart .bars .b.grow { height: var(--h2, 70%); }
.dashboard.is-visible .db-logline.new { animation: logIn .55s ease .35s forwards; }
@media (prefers-reduced-motion: reduce) {
  .db-chart .bars .b.grow { transition: none; height: var(--h2, 70%); }
  .db-logline.new { opacity: 1; transform: none; animation: none; }
}
/* phone frame */
.phone { justify-self: start; width: 190px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -30px rgba(0,0,0,.3); }
.phone .p-top { background: var(--panel); height: 34px; display: flex; align-items: center; justify-content: center; }
.phone .p-notch { width: 52px; height: 6px; border-radius: 4px; background: #3a3a3a; }
.phone .p-body { padding: .8rem; display: grid; gap: .55rem; }
.phone .p-stat { border: 1px solid var(--line); border-radius: 6px; padding: .55rem .6rem; }
.phone .p-stat .k { font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-display); }
.phone .p-stat .v { font-size: 1.05rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.phone .p-stat .v.accent { color: var(--accent); }
.dash .dashwrap { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 520px) { .dash .dashwrap { grid-template-columns: 1fr; } .phone { justify-self: center; } }

/* ------------------------------ Gallery --------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.6vw, 1rem); margin-top: 2.5rem; }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } .gallery-item:hover img { transform: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(8,8,8,.92); padding: 4vw; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: 4px; }
.lightbox__close {
  position: absolute; top: 18px; right: 20px; width: 44px; height: 44px;
  background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 3px;
  color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,.12); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 46px; height: 46px; border-radius: 3px; font-size: 1.4rem; cursor: pointer; }
.lightbox__nav.prev { left: 16px; } .lightbox__nav.next { right: 16px; }
.lightbox__nav:hover { background: rgba(255,255,255,.12); }

/* -------------------------------- Form ---------------------------------- */
.contact { position: relative; }
.contact--dark { background: var(--panel); color: #f3f3f3; overflow: hidden; }
.contact--dark .eyebrow { color: var(--accent-hi); }
.contact--dark .h2 { color: #fff; }
.contact--dark .lede { color: #c9c9c9; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.2); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.6), rgba(20,20,20,.86)); }
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; background: #fff; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 6px; color: var(--ink); box-shadow: 0 30px 70px -40px rgba(0,0,0,.6); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid #cfcfcf; border-radius: 3px; background: #fff;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,85,104,.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form .btn { margin-top: .4rem; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------- Footer --------------------------------- */
.site-footer { background: var(--panel); color: #d5d5d5; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer a { color: #d5d5d5; }
.site-footer a { transition: color .18s ease; }
.site-footer a:hover { color: var(--accent-hi); }
@media (prefers-reduced-motion: reduce) { .site-footer a { transition: none; } }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; font-size: .95rem; }
.footer-meta .sep { color: #555; }
.footer-lang a { text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); font-weight: 600; font-size: .82rem; }
.footer-lang a[aria-current="true"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--line-2); margin-top: 2rem; padding-top: 1.4rem; font-size: .82rem; color: #8f8f8f; }

/* --------------------------- Thank-you page ----------------------------- */
.ty-wrap { min-height: 100vh; display: grid; place-items: center; padding: var(--gutter); }
.ty-card { max-width: 560px; text-align: center; }
.ty-mark { width: 64px; height: 64px; margin: 0 auto 1.6rem; }
.ty-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.ty-card p { color: var(--ink-2); margin-top: 1rem; font-size: 1.08rem; }
.ty-contact { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .95rem; }
.ty-card .btn { margin-top: 2rem; }

/* utilities */
.center { text-align: center; }
