/* Global Mercis Trading — the living port
   Brand tokens from DESIGN.md (GMT orange on dark chrome). One family: Inter. */

:root {
  --ground: #0b0f16;          /* night ground behind the scene */
  --plate: rgba(11, 15, 22, .88);
  --plate-solid: #0f141c;
  --ink: #f2f5f9;
  --ink-2: #c3ccd7;
  --muted: #9aa6b5;
  --accent: #e8821a;          /* GMT dot / action */
  --accent-deep: #b85c00;     /* GMT primary */
  --accent-light: #ffc580;
  --dark: #1e2533;
  --dark-2: #2e3a4e;
  --paper: #f6f7fa;
  --paper-ink: #111827;
  --paper-muted: #6b7280;
  --line: #e4e7ec;
  --wa: #1f9d55;

  --gut: clamp(16px, 4vw, 48px);
  --plate-pad: clamp(24px, 3vw, 44px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 72px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #1a1205; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: fixed; left: var(--gut); top: -60px; z-index: 100;
  background: var(--accent); color: #1a1205; padding: .7rem 1rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------- the 3D stage ---------------- */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; display: block; touch-action: pan-y;
}
.fallback {
  position: fixed; inset: 0; z-index: 0; display: none;
  background: #0b0f16 url("../img/hero-ship.webp") center / cover no-repeat;
}
.fallback::after { content: ""; position: absolute; inset: 0; background: rgba(11, 15, 22, .55); }
.no-webgl #scene { display: none; }
.no-webgl .fallback { display: block; }
.no-webgl .hud__time, .no-webgl #hudQuality, .no-webgl .hud__keys { display: none; }

.tip {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  background: var(--accent); color: #1a1205; font-weight: 700; font-size: 14px;
  padding: .45rem .7rem; white-space: nowrap;
  opacity: 0; transform: translate(-9999px, 0);
  transition: opacity .18s;
}
.tip.is-on { opacity: 1; }

/* loader */
.loader {
  position: fixed; inset: 0; z-index: 60; background: var(--ground);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity .9s var(--ease), visibility .9s;
  animation: loaderFailsafe .01s 3.5s forwards;
}
.no-js .loader, html:not(.js) .loader { display: none; }
.loader__card { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 var(--gut); }
.loader img { width: 64px; height: 64px; animation: bob 2.4s ease-in-out infinite; }
.loader__name { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: 1; display: none; }
.loader__name b { color: var(--accent); }
.loader__go { display: none; justify-items: center; gap: 14px; }
.loader__snd { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; cursor: pointer; }
.loader__snd input { width: 18px; height: 18px; accent-color: var(--accent); }
/* the port is ready: the card floats over the view from above the clouds */
.intro-on .loader { background: rgba(11, 15, 22, .38); animation: none; opacity: 1; visibility: visible; }
.intro-on .loader__t, .intro-on .loader__bar { display: none; }
.intro-on .loader__name { display: block; }
.intro-on .loader__go { display: grid; animation: rise .8s var(--ease) both; }
.intro-on .hud, .intro-on .wafloat { opacity: 0; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
/* clean frame for the social preview image */
.og .loader, .og .hud, .og .wafloat, .og .hero__scroll, .og .nav__right, .og .nav__links, .og .nav__burger { display: none !important; }
.og .rise, .og .hero__title .lift { opacity: 1 !important; transform: none !important; transition: none !important; }
/* in-world signs carry the details on desktop; the DOM keeps them for screen readers */
.diegetic .process__plate .step__d,
.diegetic .board .board__row:not(.board__row--talk) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.loader__t { margin: 0; color: var(--muted); font-size: 15px; }
.loader__bar { width: 180px; height: 4px; background: var(--dark); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--accent); animation: load 1.2s var(--ease) infinite; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gut);
  background: rgba(11, 15, 22, .72);
  transition: background .35s, transform .45s var(--ease);
}
.nav.is-stuck { background: rgba(11, 15, 22, .92); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { font-weight: 900; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-here { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-here::after { transform: scaleX(1); }
.nav__portal { color: var(--accent-light) !important; }

.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: rgba(30, 37, 51, .8); }
.lang__btn {
  border: 0; background: transparent; padding: 8px 11px; font-size: 13px; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: background .2s, color .2s;
}
.lang__btn.is-on { background: var(--ink); color: var(--ground); }
.lang__btn:not(.is-on):hover { color: var(--ink); }

.nav__burger { display: none; }

.mmenu {
  position: fixed; inset: 0; z-index: 39; background: var(--ground);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: calc(var(--nav-h) + 20px) var(--gut) 40px;
  opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease);
}
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { font-size: 26px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; padding: 8px 0; }
.mmenu .btn { margin-top: 18px; align-self: flex-start; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: .72rem 1.2rem; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.1;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lg { padding: .95rem 1.4rem; font-size: 15px; }
.btn--accent { background: var(--accent); color: #1a1205; }
.btn--accent:hover { background: var(--accent-light); }
.btn--ghost { background: rgba(242, 245, 249, .1); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ground); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #23b15f; }

/* ---------------- stages (scroll sections over the scene) ---------------- */
main { position: relative; z-index: 2; }
.stage {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  pointer-events: none;             /* let the pointer reach the 3D port */
}
.stage a, .stage button, .stage .plate, .stage form, .stage input, .stage textarea, .stage label { pointer-events: auto; }
.stage__wrap { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 96px; }

.plate {
  background: var(--plate);
  padding: var(--plate-pad);
  max-width: 600px;
  position: relative;
}
.plate::before {                    /* the orange tab, like a container's door placard */
  content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 6px; background: var(--accent);
}

.section__h {
  margin: 0 0 18px;
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.06;
  text-wrap: balance;
}
.section__intro { margin: 0 0 24px; color: var(--ink-2); font-size: 16.5px; max-width: 54ch; }
.lede { margin: 0 0 28px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }

/* hero */
.hero { align-items: flex-end; }
.hero::before {                     /* neutral scrim under the headline over the 3D picture — taste-skill-ignore */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(150% 120% at 0% 100%, rgba(11, 15, 22, .86) 0%, rgba(11, 15, 22, .55) 42%, rgba(11, 15, 22, 0) 72%); /* scrim — taste-skill-ignore */
}
.hero__inner { position: relative; padding-bottom: clamp(96px, 14vh, 150px); padding-top: calc(var(--nav-h) + 40px); }
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(40px, 6.2vw, 100px);
  font-weight: 800; letter-spacing: -.04em; line-height: .98;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .lift { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) .lift { transition-delay: .12s; color: var(--accent); }
.is-ready .hero__title .lift { transform: none; }
.hero__sub { margin: 0 0 30px; max-width: 50ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rise { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__sub.rise { transition-delay: .45s; }
.is-ready .hero__actions.rise { transition-delay: .6s; }
.is-ready .rise { opacity: 1; transform: none; }
html:not(.js) .rise, html:not(.js) .hero__title .lift { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute; right: calc(var(--gut) + 76px); bottom: 32px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-2); text-decoration: none;
}
.hero__scroll svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* about */
.about { min-height: 120vh; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 28px; }
.num__v { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.03em; color: var(--accent); line-height: 1.05; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.num__l { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.about__fin { margin: 0; font-weight: 600; color: var(--accent-light); font-size: 15px; }

/* process: pinned while the camera sails the six buoys */
.process { height: 360vh; display: block; min-height: 0; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.process__plate { max-width: 560px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { position: relative; padding: 10px 0 10px 26px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--dark-2); transition: background .3s, transform .4s var(--ease);
}
.step.is-done::before { background: var(--accent-deep); }
.step.is-on::before { background: var(--accent); transform: scale(1.5); }
.step__t {
  display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--muted);
  transition: color .3s, font-size .4s var(--ease);
}
.step__t:hover { color: var(--ink); }
.step.is-on .step__t { color: var(--ink); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; }
.step__d {
  display: block; overflow: hidden; max-height: 0; opacity: 0; color: var(--ink-2); font-size: 16px;
  transition: max-height .5s var(--ease), opacity .4s, margin .4s;
}
.step.is-on .step__d { max-height: 120px; opacity: 1; margin-top: 6px; }

/* services */
.services { min-height: 130vh; }
.services .stage__wrap { display: flex; justify-content: flex-end; }
.services__plate { max-width: 720px; }
.services .plate::before { left: auto; right: 0; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.svc__row {
  padding: 14px 16px; margin: 0 -16px; cursor: default; outline-offset: -3px;
  transition: background .25s, transform .35s var(--ease);
}
.svc__row.is-hot { background: rgba(232, 130, 26, .16); transform: translateX(6px); }
.svc__t { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.svc__row.is-hot .svc__t { color: var(--accent); }
.svc__d { margin: 0; color: var(--ink-2); font-size: 16px; }

/* quote: the form is a paper bill of lading */
.quote { min-height: 120vh; }
.quote__col { max-width: 640px; }
.quote__head { margin-bottom: 0; max-width: none; }
.qform {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: var(--plate-pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
}
.qform__chips { grid-column: 1 / -1; border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.qform__chips legend { font-weight: 800; font-size: 16px; margin-bottom: 10px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .55rem .95rem; border-radius: 999px; background: #e9ecf1; font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.chip:hover span { background: #dde1e8; }
.chip input:checked + span { background: var(--accent); color: #1a1205; transform: translateY(-2px); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper-ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; padding: .75rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(232, 130, 26, .35); outline-offset: 0; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot, invisible — taste-skill-ignore */
.wpreview { background: #fff2d6; padding: 14px 16px; }
.wpreview__k { display: block; font-weight: 800; font-size: 14px; color: #8a5a00; margin-bottom: 4px; }
.wpreview__msg { margin: 0; white-space: pre-line; font-size: 15px; color: var(--paper-ink); }
.qform__err { grid-column: 1 / -1; margin: 0; color: #a12b2b; font-weight: 600; font-size: 15px; }
.qform__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.qform__note { grid-column: 1 / -1; margin: 0; color: var(--paper-muted); font-size: 14px; }

/* contact: an arrivals board */
.contact { min-height: 110vh; }
.board { max-width: 680px; }
.board__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px;
  padding: 20px 0; background: transparent;
}
.board__row + .board__row { margin-top: 4px; }
.board__row h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.board__time { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.board__time small { color: var(--muted); font-size: 14px; }
.flap {
  display: inline-flex; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent);
  font-variant-numeric: tabular-nums; perspective: 300px;
}
.flap i { font-style: normal; display: inline-block; transform-origin: 50% 55%; }
.flap i.flip { animation: flip .55s var(--ease); }
@keyframes flip { 0% { transform: rotateX(90deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.board__addr { margin: 0; color: var(--ink-2); font-size: 16px; }
.board__row--talk { grid-template-columns: 1fr; gap: 8px; }
.board__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.board__links a { position: relative; font-weight: 700; font-size: 16px; text-decoration: none; padding-bottom: 4px; }
.board__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.board__links a:hover::after, .board__links a:focus-visible::after { transform: scaleX(1); }

/* reveal: parts of every plate rise in turn */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* team: the crew list beside an ID badge that turns in 3D */
.team { min-height: 120vh; }
.team__wrap { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 300px); gap: clamp(24px, 3vw, 44px); align-items: center; }
.team__plate { max-width: none; }
.crew__filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.crew__chip {
  border: 0; cursor: pointer; border-radius: 999px; padding: .45rem .85rem; font-size: 13.5px; font-weight: 600;
  background: rgba(242, 245, 249, .08); color: var(--ink-2); transition: background .2s, color .2s, transform .2s var(--ease);
}
.crew__chip:hover { background: rgba(242, 245, 249, .16); color: var(--ink); }
.crew__chip[aria-pressed="true"] { background: var(--accent); color: #1a1205; }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.crew__row.is-hidden { display: none; }
.crew__btn {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  border: 0; background: transparent; text-align: left; cursor: pointer; padding: 7px 8px; border-radius: 10px;
  transition: background .2s, transform .3s var(--ease);
}
.crew__btn:hover { background: rgba(232, 130, 26, .1); }
.crew__row.is-on .crew__btn { background: rgba(232, 130, 26, .18); transform: translateX(4px); }
.crew__thumb {
  grid-row: 1 / 3; width: 40px; height: 50px; object-fit: cover; border-radius: 6px;
  filter: grayscale(1) contrast(1.05); transition: filter .35s;
}
.crew__btn:hover .crew__thumb, .crew__row.is-on .crew__thumb { filter: none; }
.crew__name { font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink); }
.crew__row.is-on .crew__name { color: var(--accent-light); }
.crew__role { font-size: 13px; line-height: 1.3; color: var(--muted); }
.crew__more { display: none; padding: 4px 8px 12px 60px; }
.crew__bio { margin: 0 0 6px; font-size: 16px; color: var(--ink-2); }
.crew__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.crew__contact a { color: var(--accent-light); text-decoration: none; overflow-wrap: anywhere; }

.badge { perspective: 1100px; }
.badge__in {
  position: relative; transform-style: preserve-3d; border-radius: 18px; background: var(--plate-solid);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .35s var(--ease);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); /* the badge floats over the port — taste-skill-ignore */
  animation: badgeFloat 6s ease-in-out infinite;
}
.badge__in.is-turn { transform: rotateY(88deg); transition-duration: .22s; }
@keyframes badgeFloat { 50% { translate: 0 -8px; } }
.badge__strip {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 16px;
  background: var(--accent); color: #1a1205; font-weight: 800; font-size: 13px; border-radius: 18px 18px 0 0;
  transform: translateZ(18px);
}
.badge__code { font-variant-numeric: tabular-nums; font-weight: 700; }
.badge__photo { padding: 14px 14px 0; transform: translateZ(34px); }
.badge__photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; border-radius: 12px; display: block; }
.badge__text { padding: 12px 16px 16px; transform: translateZ(26px); }
.badge__name { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.badge__role { margin: 2px 0 10px; color: var(--accent-light); font-weight: 600; font-size: 14px; }
.badge__bio { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.badge__contact { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.badge__contact a { color: var(--ink); text-decoration: none; }
.badge__contact a:hover { color: var(--accent); }
@media (max-width: 1080px) {
  .team__wrap { grid-template-columns: 1fr; }
  .badge { display: none; }
  .crew__row.is-on .crew__more { display: block; }
}
@media (prefers-reduced-motion: reduce) { .badge__in { animation: none; } }

/* ---------------- footer ---------------- */
.foot { position: relative; z-index: 2; background: var(--ground); padding: 96px 0 120px; }
.foot__word {
  margin: 0 0 40px; font-size: clamp(36px, 6.4vw, 108px); font-weight: 800; letter-spacing: -.045em; line-height: .95;
}
.foot__word b { color: var(--accent); font-weight: 900; }
.foot__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot__nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.foot__nav a:hover { color: var(--accent); }
.foot__meta p { margin: 0 0 4px; color: var(--ink-2); font-size: 15px; }
.credits { color: var(--muted); font-size: 13px; max-width: 110ch; margin: 0 0 12px; }
.credits a { color: var(--ink-2); }
.foot__copy { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------------- HUD ---------------- */
.hud {
  position: fixed; left: var(--gut); bottom: 18px; z-index: 35;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.hud__btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: rgba(11, 15, 22, .82); color: var(--ink-2);
  padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.hud__btn:hover { color: var(--ink); background: var(--dark); }
.hud__btn:active { transform: scale(.96); }
.hud__btn[aria-pressed="true"] { color: var(--ink); }
#hudSound .hud__waves { opacity: .25; transition: opacity .2s; }
#hudSound[aria-pressed="true"] { background: var(--accent); color: #1a1205; }
#hudSound[aria-pressed="true"] .hud__waves { opacity: 1; }
.hud__clock { font-variant-numeric: tabular-nums; color: var(--ink); }
.hud__phase { color: var(--accent-light); }
.hud__keys { color: var(--muted); font-size: 12.5px; background: rgba(11, 15, 22, .82); padding: 8px 13px; border-radius: 999px; }

/* WhatsApp float */
.wafloat {
  position: fixed; right: var(--gut); bottom: 18px; z-index: 35;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); /* floats over everything — taste-skill-ignore */
  transition: transform .3s var(--ease);
  animation: waPulse 3.2s ease-in-out 3s infinite;
}
.wafloat:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes waPulse { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.1); } }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; background: rgba(30, 37, 51, .8); cursor: pointer;
  }
  .nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { gap: 12px; }
  .hud__keys { display: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .brand__name { font-size: 14px; }
  .brand__mark { width: 32px; height: 32px; }
  .stage { align-items: flex-end; }
  .stage__wrap { padding-top: 46vh; padding-bottom: 84px; }
  .plate { max-width: none; }
  .hero__inner { padding-bottom: 96px; }
  .hero__sub { font-size: 17px; }
  .hero__title { font-size: 8.6vw; }
  .team__wrap { grid-template-columns: 1fr !important; }
  .crew { grid-template-columns: 1fr !important; }
  .hero__scroll { display: none; }
  .nums { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .num__l { font-size: 13.5px; }
  .process { height: 400vh; }
  .process__pin { align-items: flex-end; }
  .process__pin .stage__wrap { padding-top: 0; padding-bottom: 76px; }
  .process__plate .section__intro { display: none; }
  .step { padding: 6px 0 6px 22px; }
  .step::before { top: 14px; }
  .step:not(.is-on) .step__t { font-size: 15px; }
  .quote .stage__wrap { padding-top: 34vh; }
  .qform { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .board__row { grid-template-columns: 1fr; gap: 6px; }
  .flap { font-size: 30px; }
  .hud { bottom: 14px; gap: 4px; }
  .hud__btn { padding: 7px 11px; font-size: 12.5px; }
  .hud__phase, #hudQuality { display: none; }
  .hud { transition: opacity .3s; }
  body:not(.at-hero) .hud { opacity: 0; pointer-events: none; }
  .wafloat { width: 52px; height: 52px; bottom: 14px; }
}

@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 .reveal, .rise, .hero__title .lift { opacity: 1; transform: none; }
}
