/* =========================================================
   Kyezi Web
   Direction: studio spec sheet on paper. Sharp corners, hairline
   rules, a left rail of section labels, real screenshots as plates.
   Off-white ground throughout, with one warmer bone band for the
   case study. The dark screenshots carry the contrast.
   Display face is Bebas Kai, Kyezi's own brand font.
   ========================================================= */

/* Bebas Kai by Dharma Type, SIL Open Font License v1.1.
   Licence text ships beside the font at fonts/OFL.txt. */
@font-face {
  font-family: 'Bebas Kai';
  src: url('fonts/BebasKai.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ground: paper */
  --ink:        #FBFAF8;
  --ink-2:      #F3F0EA;
  --ink-3:      #ECE8E0;
  --bone:       #EFE9DF;
  --bone-2:     #E4DDD1;
  --shot-bg:    #0A1628;

  /* brand */
  --pur:        #8816D7;
  --pur-lt:     #971CD9;
  --pur-dk:     #6E0FB0;

  /* signal */
  --up:         #0B8A58;
  --up-soft:    #3DDC97;
  --dim:        #9A93A4;
  --discord:    #5865F2;

  /* type on paper */
  --fg:         #14101C;
  --fg-2:       #4C4557;
  --fg-3:       #7B7386;

  /* type on bone */
  --on-bone:    #16101E;
  --on-bone-2:  #564C62;

  --rule:       rgba(20,16,28,0.14);
  --rule-bone:  rgba(22,16,30,0.18);

  --shell:      1220px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);

  --d:          'Bebas Kai', 'Oswald', 'Arial Narrow', sans-serif;
  --b:          'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m:          'JetBrains Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 300 17px/1.62 var(--b);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pur); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- display type ---------- */
.h2, .hero__h, .talk__h, .fig, .handle__n {
  font-family: var(--d);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }

.kick {
  font: 600 0.72rem/1 var(--b);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pur-lt); margin-bottom: 20px;
}

.lede { color: var(--fg-2); font-size: 1.02rem; max-width: 56ch; margin-top: 18px; }

/* numerals line up */
.fig, .calc__big, .handle__n { font-variant-numeric: tabular-nums; }

/* =========================================================
   BUTTONS
   ========================================================= */
.dbtn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  background: var(--discord); color: #fff;
  font: 500 0.95rem var(--b);
  border: 0; cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.dbtn:hover { background: #4752e0; transform: translateY(-2px); }
.dbtn:active { transform: none; }
.dbtn--sm { min-height: 40px; padding: 0 15px; font-size: 0.87rem; }
.dbtn--lg { min-height: 58px; padding: 0 28px; font-size: 1.04rem; }

.ghost {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0 24px;
  border: 1px solid var(--rule); color: var(--fg);
  font: 500 1.04rem var(--b); cursor: pointer; background: none;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.ghost:hover { border-color: var(--pur-lt); background: rgba(178,38,221,0.08); }
.ghost--sm { min-height: 42px; padding: 0 18px; font-size: 0.87rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,248,0.84);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.nav.stuck { border-bottom-color: var(--rule); background: rgba(251,250,248,0.96); }
.nav__in {
  width: min(100% - 40px, var(--shell)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand span { font-family: var(--d); font-size: 1.4rem; letter-spacing: 0.03em; text-transform: uppercase; }
.brand i { font-style: normal; color: var(--pur-lt); }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font: 400 0.9rem var(--b); color: var(--fg-2);
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.nav__links a:hover, .nav__links a.on { color: var(--fg); border-bottom-color: var(--pur-lt); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0 clamp(52px, 7vw, 96px); }

@keyframes halo {
  0%, 100% { opacity: 0.40; transform: scale(0.94); }
  50%      { opacity: 0.80; transform: scale(1.06); }
}

.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 96px; opacity: 0.4;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
}

/* copy left, the before and after right, so the proof is in the first screen */
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 4vw, 56px); align-items: center;
}

.hero__h { font-size: clamp(2.5rem, 4.9vw, 4.5rem); }
.hero__h .hl { display: block; overflow: hidden; }
.hero__h .hl > span,
.js .hero__h .hl { display: block; }
.hl--hit { color: var(--up); font-style: normal; }

.hero__p { margin-top: 28px; max-width: 50ch; color: var(--fg-2); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marq {
  border-block: 1px solid var(--rule);
  background: var(--ink-2);
  overflow: hidden; padding: 16px 0;
}
.marq__track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: slide 38s linear infinite;
}
.marq__track span {
  font-family: var(--d); font-size: 1.5rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--fg-2); white-space: nowrap;
}
.marq__track b { color: var(--up); font-weight: 400; font-variant-numeric: tabular-nums; }
.marq__track img { width: 24px; height: 24px; opacity: 0.9; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================
   BANDS + RAIL
   ========================================================= */
.band { padding: clamp(64px, 8vw, 112px) 0; border-bottom: 1px solid var(--rule); }

.band--bone {
  background: var(--bone); color: var(--on-bone);
  border-bottom-color: var(--rule-bone);
}
.band--bone .rail__tag { color: var(--on-bone); border-color: var(--rule-bone); }
.band--bone .lede { color: var(--on-bone-2); }

.rail {
  display: grid; grid-template-columns: 190px 1fr; gap: 40px;
  align-items: start; margin-bottom: clamp(36px, 5vw, 60px);
}
.rail__tag {
  font: 600 0.72rem/1 var(--b); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg); padding-top: 10px; border-top: 2px solid var(--pur);
  position: sticky; top: 92px;
}

/* =========================================================
   FIGURES
   ========================================================= */
.figs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.figs li { padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
.figs li + li { border-left: 1px solid var(--rule); padding-left: 28px; }
.figs li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.fig { font-size: clamp(2.6rem, 5.2vw, 4rem); color: var(--up); display: block; }
.fig--plain { color: var(--fg); }
.fig__l { display: block; margin-top: 10px; font-size: 0.84rem; color: var(--fg-2); }

/* =========================================================
   CALCULATOR
   Their figure, their currency. Nothing on this page states our
   revenue as an amount, only as a percentage.
   ========================================================= */
html:not(.js) .calc { display: none; }

.calc {
  margin-top: clamp(40px, 5vw, 60px);
  border: 1px solid var(--rule); background: var(--ink-2);
  padding: clamp(24px, 3vw, 34px);
}
.calc__tag {
  font: 600 0.68rem/1 var(--b); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--up); margin-bottom: 10px;
}
.calc__h {
  font-family: var(--d); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1; margin: 0;
}
.calc__body {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 40px); align-items: center;
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--rule);
}
.calc__lbl {
  font: 600 0.7rem var(--b); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); display: block; margin-bottom: 10px;
}
.calc__field input {
  width: 100%; background: var(--ink); color: var(--fg);
  border: 1px solid var(--rule); border-radius: 0;
  padding: 14px 16px;
  font: 400 clamp(1.5rem, 3vw, 2.1rem)/1 var(--m);
  font-variant-numeric: tabular-nums;
}
.calc__field input:focus-visible { border-color: var(--pur-lt); }
.calc__note { margin-top: 10px; font-size: 0.78rem; color: var(--fg-3); max-width: 34ch; }
.calc__arrow { color: var(--fg-3); display: grid; place-items: center; }
.calc__big {
  font-family: var(--d); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; color: var(--up);
  font-variant-numeric: tabular-nums;
}
.calc__delta { margin-top: 12px; font-size: 0.86rem; color: var(--fg-2); max-width: 38ch; }
.calc__delta b { color: var(--up); font-weight: 600; }
.calc__fine {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: 0.8rem; color: var(--fg-3); max-width: 74ch;
}

/* =========================================================
   WORK PLATES
   ========================================================= */
.opHead { display: flex; gap: 28px; align-items: flex-start; }
.opLogo { width: 118px; height: auto; flex: none; }

.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plate { margin: 0; grid-column: span 1; }
.plate--wide { grid-column: 1 / -1; }

.plate img {
  width: 100%;
  border: 1px solid var(--rule-bone);
  background: var(--shot-bg);
}
.band--bone .plate img { box-shadow: 0 18px 40px -28px rgba(22,16,30,0.7); }

.plate figcaption {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--rule-bone);
  font-size: 0.88rem; color: var(--on-bone-2); max-width: 62ch;
}
.plate figcaption b {
  display: block; font: 600 0.72rem var(--b); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--on-bone); margin-bottom: 5px;
}

/* =========================================================
   WHAT SHIPS
   ========================================================= */
.ships { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ship { background: var(--ink); padding: 26px 24px 30px; display: flex; flex-direction: column; }
/* natural height: these are whole components, cropping them defeats the point */
.ship__shot {
  border: 1px solid var(--rule); background: var(--shot-bg);
  margin-bottom: 22px; overflow: hidden;
  display: flex; align-items: center; min-height: 120px;
  /* the shot absorbs the slack so every h3 in a row sits on one line */
  flex: 1 1 auto;
}
.ship__shot img { width: 100%; }

/* Hover or focus a shot and it lifts a little over its neighbours. Kept
   small on purpose: enough to read the detail, not enough to take over the
   page. Origin is pinned per column so an edge card grows inwards and the
   page never gains a horizontal scrollbar. Pointer devices only: on touch
   there is no hover, and a stuck zoom would be worse than none. */
.ship__shot {
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
@media (hover: hover) and (min-width: 761px) {
  .ship__shot:hover, .ship__shot:focus-visible {
    position: relative; z-index: 30;
    transform: scale(1.16);
    box-shadow: 0 22px 44px -26px rgba(20,16,28,0.55);
  }
  .ships > :nth-child(3n+1) .ship__shot { transform-origin: left center; }
  .ships > :nth-child(3n)   .ship__shot { transform-origin: right center; }
  .ship--wide .ship__shot   { transform-origin: left center; }
}
.ship h3 { font: 500 1.06rem/1.3 var(--b); margin: 0 0 8px; }
.ship p { font-size: 0.88rem; color: var(--fg-2); margin-top: 0; }

/* On a phone ten cards is a very long scroll, so four show and the rest
   sit behind a button. The clip class is added by JS only under 760px, so
   with JS off or on a desktop every card is always in the page. */
.shipsMore { display: none; }
@media (max-width: 760px) {
  .ships.is-clipped > .ship:nth-child(n+5) { display: none; }
  .shipsMore {
    display: inline-flex; justify-content: center;
    width: 100%; margin-top: 20px;
  }
}

/* ten cards in a three column grid leaves one over, so it runs wide */
.ship--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  column-gap: 30px; align-items: center;
}
.ship--wide .ship__shot { grid-row: span 2; margin-bottom: 0; }
.ship--wide h3 { align-self: end; margin: 0; }
.ship--wide p { align-self: start; margin: 8px 0 0; }

/* =========================================================
   BEFORE AND AFTER
   ========================================================= */
.ba { margin: 0; }
.ba__cap {
  padding-bottom: 18px; font-size: 0.86rem;
  color: var(--fg-2); max-width: 46ch;
}
.ba__cap b {
  display: block; font: 600 0.7rem var(--b); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg); margin-bottom: 6px;
}
.ba__grid { display: grid; gap: 14px; }
.ba__side { position: relative; }
.ba__tag {
  display: inline-block; margin-bottom: 9px; padding: 4px 10px;
  font: 600 0.64rem/1 var(--b); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2); border: 1px solid var(--rule);
}
.ba__tag--on { color: #fff; background: var(--pur); border-color: var(--pur); }

/* the beat between the two states */
.ba__step {
  display: flex; align-items: center; gap: 14px;
  font: 600 0.62rem/1 var(--b); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pur); padding: 4px 0;
}
.ba__step::before, .ba__step::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}

.ba__shot {
  display: block; position: relative; overflow: hidden;
  border: 1px solid var(--rule); background: var(--shot-bg);
  box-shadow: 0 18px 40px -30px rgba(20,16,28,0.8);
}
.ba__shot img { width: 100%; display: block; }

/* the after plate is the live store, so it opens it */
.ba__shot--live { border-color: rgba(136,22,215,0.35); }
.ba__visit {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; background: var(--pur); color: #fff;
  font: 500 0.76rem/1 var(--b);
  box-shadow: 0 10px 26px -12px rgba(20,16,28,0.9);
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.ba__shot--live:hover .ba__visit { background: var(--pur-dk); transform: translateY(-2px); }
.ba__shot--live:focus-visible { outline: 2px solid var(--pur-lt); outline-offset: 3px; }

/* =========================================================
   TALK
   ========================================================= */
.talk { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 130px) 0; }
.talk__mark {
  position: absolute; left: 50%; top: 50%;
  width: min(70vw, 520px); pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0.13;
  animation: breatheC 8s ease-in-out infinite;
}
.talk__mark::before {
  content: ""; position: absolute; inset: 10%; opacity: 0.6;
  border-radius: 50%; background: radial-gradient(circle, rgba(151,28,217,0.2), transparent 66%);
  filter: blur(70px); animation: halo 8s ease-in-out infinite;
}
.talk__mark img { position: relative; }
@keyframes breatheC {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.11; }
  50%      { transform: translate(-50%, -52%) scale(1.04); opacity: 0.17; }
}
.talk__in { position: relative; z-index: 1; text-align: center; }
.talk__h { font-size: clamp(2.6rem, 8vw, 6rem); }
.talk__p { margin: 24px auto 0; max-width: 46ch; color: var(--fg-2); }

.handle {
  margin: 38px auto 0;
  display: inline-flex; align-items: center; gap: 0;
  background: var(--ink-2); border: 1px solid var(--rule);
  cursor: pointer; color: var(--fg); padding: 0;
  transition: border-color 200ms var(--ease);
}
.handle:hover { border-color: var(--pur-lt); }
.handle__at {
  padding: 0 18px; align-self: stretch; display: flex; align-items: center;
  font: 600 0.7rem var(--b); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); border-right: 1px solid var(--rule);
}
.handle__n { padding: 16px 22px; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--pur-lt); }
.handle__s {
  padding: 0 20px; align-self: stretch; display: flex; align-items: center;
  background: var(--pur); color: #fff;
  font: 500 0.85rem var(--b);
}
.handle.done .handle__s { background: var(--up); color: #05261A; }

.talk__note { margin-top: 18px; font-size: 0.84rem; color: var(--fg-3); }


/* =========================================================
   AVAILABILITY
   ========================================================= */
.avail {
  display: flex; align-items: center; gap: 9px;
  font: 400 0.78rem var(--b); color: var(--fg-2); white-space: nowrap;
}
.avail__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex: none;
  box-shadow: 0 0 0 0 rgba(61,220,151,0.55);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(61,220,151,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(61,220,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); }
}
.avail__t { color: var(--fg); }
.avail__s { color: var(--fg-3); font-family: var(--m); font-size: 0.72rem; }
.avail__s::before { content: "\00b7"; margin-right: 8px; }

.avail--big {
  justify-content: center; font-size: 0.92rem;
  border: 1px solid var(--rule); padding: 10px 18px;
  width: max-content; margin: 0 auto 30px;
}
.avail--big .avail__s { font-size: 0.82rem; }

/* =========================================================
   HERO EXTRAS
   ========================================================= */
.strap {
  display: flex; flex-wrap: wrap; align-items: center;
  margin-top: 30px;
  border-left: 3px solid var(--pur); padding-left: 18px;
}
.strap li {
  font-family: var(--d); font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--fg); padding: 3px 20px 3px 0;
}
.strap li + li { border-left: 1px solid var(--rule); padding-left: 20px; }
.hero__risk { margin-top: 16px; font-size: 0.84rem; color: var(--fg-3); }

.works {
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.works li {
  display: flex; align-items: center; gap: 10px;
  font: 500 0.82rem var(--b); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-2);
}
.works__lbl {
  font: 600 0.68rem var(--b); letter-spacing: 0.2em;
  color: var(--fg-3);
  /* the row's 28px gap reads as a hole after a small-caps label, so pull it in */
  margin-right: -7px;
}
.works__logo { display: block; width: auto; flex: none; }
.works__logo--mc { height: 17px; }
.works__logo--tebex { height: 26px; }
.works__logo--paynow { height: 15px; }

/* =========================================================
   CASE STUDY
   ========================================================= */
.csHead { display: flex; gap: 34px; align-items: flex-start; margin-bottom: 36px; }
.csLogo { width: 128px; height: auto; flex: none; }
.rail__tag--inline { position: static; display: inline-block; margin-bottom: 14px; }
.h2--wide { max-width: 24ch; }

.csFacts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule-bone); border-block: 1px solid var(--rule-bone);
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.csFacts div { background: var(--bone); padding: 18px 20px 20px 0; }
.csFacts div + div { padding-left: 20px; }
.csFacts dt {
  font: 600 0.68rem var(--b); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-bone-2); margin-bottom: 6px;
}
.csFacts dd { margin: 0; font: 500 0.98rem var(--b); color: var(--on-bone); }

.steps { display: grid; gap: clamp(40px, 5vw, 68px); }
.steps > li { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.steps__n {
  display: block; font-family: var(--m); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; color: var(--pur); margin-bottom: 12px;
}
.steps__txt h3 {
  font-family: var(--d); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 0.98; margin: 0 0 12px;
}
.steps__txt p { font-size: 0.92rem; color: var(--on-bone-2); }

.csOut {
  margin-top: clamp(44px, 5vw, 68px); padding-top: 22px;
  border-top: 1px solid var(--rule-bone);
  font-size: 1.02rem; color: var(--on-bone-2); max-width: 62ch;
}
.csOut b { color: var(--on-bone); font-weight: 600; }

.csVisit { margin-top: 18px; }
.csVisit a {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.92rem var(--b); color: var(--on-bone);
  border-bottom: 2px solid var(--pur); padding-bottom: 3px;
}
.csVisit a:hover { color: var(--pur); }

/* =========================================================
   NEXT STEPS
   ========================================================= */
.next {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin: 38px auto 0; max-width: 820px; text-align: left;
}
.next li {
  background: var(--ink); padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.88rem; color: var(--fg-2);
}
.next span {
  flex: none; width: 24px; height: 24px; border: 1px solid var(--pur);
  color: var(--pur-lt); font: 700 0.72rem var(--m);
  display: grid; place-items: center;
}

/* =========================================================
   FOOTER + STICKY
   ========================================================= */
.foot { border-top: 1px solid var(--rule); padding: 34px 0 46px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot__c { font-size: 0.78rem; color: var(--fg-3); }

.stick {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55;
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; background: var(--discord); color: #fff;
  font: 500 0.95rem var(--b);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.stick[hidden] { display: none !important; }

/* =========================================================
   REVEAL
   ========================================================= */
.js .rv { opacity: 0; transform: translateY(16px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 620ms var(--ease), transform 620ms var(--ease); }

.js .hl > span { display: block; transform: translateY(102%); }
.js .hl.in > span { transform: none; transition: transform 760ms var(--ease); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .ships { grid-template-columns: repeat(2, 1fr); }
  .csFacts { grid-template-columns: repeat(2, 1fr); }
  .steps > li { grid-template-columns: 1fr; gap: 22px; }
  .ship--wide { grid-template-columns: 1fr; }
  .ship--wide .ship__shot { grid-row: auto; margin-bottom: 22px; }
  .next { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 18px; }
  .rail__tag { position: static; display: inline-block; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__h { font-size: clamp(2.7rem, 8.2vw, 5.4rem); }
  .ba__cap { max-width: 68ch; }
  .ba__grid { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .ba__step { display: none; }
  .figs { grid-template-columns: repeat(2, 1fr); }
  .figs li:nth-child(3n+1) { border-left: 1px solid var(--rule); padding-left: 28px; }
  .figs li:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .calc__body { grid-template-columns: 1fr; gap: 24px; }
  .calc__arrow { transform: rotate(90deg); justify-self: start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .nav__in { width: min(100% - 32px, var(--shell)); }
  .nav__links { display: none; }
  .nav__in { gap: 16px; }
  .dbtn--sm { margin-left: auto; }
  .plates { grid-template-columns: 1fr; gap: 34px; }
  .ships { grid-template-columns: 1fr; }
  .ba__grid { grid-template-columns: 1fr; gap: 14px; }
  .ba__step { display: flex; }
  .figs { grid-template-columns: 1fr; }
  .figs li + li { border-left: 0; padding-left: 0; }
  .figs li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .opHead { flex-direction: column; gap: 18px; }
  .opLogo { width: 86px; }
  .hero__cta .dbtn, .hero__cta .ghost { width: 100%; justify-content: center; }
  .stick { display: flex; }
  .avail { display: none; }
  .avail--big { display: flex; flex-wrap: wrap; justify-content: center; white-space: normal; }
  .csHead { flex-direction: column; gap: 20px; }
  .csLogo { width: 92px; }
  .csFacts { grid-template-columns: 1fr; }
  .csFacts div, .csFacts div + div { padding: 14px 0; }
  .qa summary { font-size: 0.96rem; gap: 12px; padding-right: 34px; }
  .qa details p { padding: 0 0 22px 34px; }
  .works { gap: 10px 20px; }
  .strap { display: block; }
  .strap li { padding: 4px 0; }
  .strap li + li { border-left: 0; padding-left: 0; }
  .works li { font-size: 0.74rem; }
  .handle { flex-direction: column; align-items: stretch; width: 100%; }
  .handle__at { border-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 18px; justify-content: center; }
  .handle__s { padding: 14px 20px; justify-content: center; }
  .ship__shot { min-height: 0; }
}

@media (max-width: 420px) {
  .hero__h { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .stick { display: none; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marq__track, .talk__mark, .avail__dot { animation: none; }
  .talk__mark::before { animation: none; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .js .hl > span { transform: none !important; }
}

@media print {
  .nav, .stick, .marq, .talk__mark { display: none !important; }
  body { background: #fff; color: #000; }
  .ba__grid { grid-template-columns: 1fr 1fr; }
}
