/* ============================================================
   WOMBAT TECH — Home · "Una casa, dos mundos"
   Neutral studio hall → threshold → Tools (cool) → threshold →
   Games (warm). One house, two temperatures.
   Self-contained: the home does NOT load style.css.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* neutral hall — no warm/cool bias */
  --ink:      #0e0f12;
  --ink-2:    #141519;
  --ink-3:    #1b1c21;
  --bone:     #ededf0;
  --bone-dim: #c8c9d0;
  --slate:    #8a8c94;
  --slate-2:  #63656d;
  --line:     #26272d;
  --line-2:   #34353c;

  /* tools world — cool / civic */
  --ice:      #3fd4e6;
  --ice-2:    #7fe6f2;
  --ice-dim:  rgba(63, 212, 230, 0.14);
  --ice-line: rgba(63, 212, 230, 0.28);
  --tool-bg:  #080d12;
  --tool-bg2: #0b1218;

  /* games world — warm / noir */
  --ember:    #e79a34;
  --ember-2:  #f4b65c;
  --ember-dim:rgba(231, 154, 52, 0.16);
  --ember-line:rgba(231, 154, 52, 0.30);
  --game-bg:  #0f0a08;
  --game-bg2: #150d09;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;
  --font-poster:  'Oswald', 'Bricolage Grotesque', sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-py: clamp(72px, 10vw, 132px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }

/* progressive reveal — main.js adds .js + toggles .visible */
.fade-in { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .fade-in { opacity: 0; transform: translateY(18px); }
.js .fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAV — neutral, quiet, sticky
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 15, 18, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__container {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 44px);
  display: flex; align-items: center; gap: 18px;
}
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo-img { width: 30px; height: 30px; object-fit: contain; }
.nav__logo-text {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.02rem; letter-spacing: -0.01em; color: var(--bone);
}
.nav__logo-accent { color: var(--slate); }

.nav__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.lang__btn {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--slate);
  padding: 6px 10px; background: none; border: none; cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang__btn:hover { color: var(--bone); }
.lang__btn.active { color: var(--ink); background: var(--bone); }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--slate);
  padding: 9px 14px; border-radius: 8px; display: block;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--bone); }
.nav__link--cta {
  color: var(--bone); border: 1px solid var(--line-2);
}
.nav__link--cta:hover { border-color: var(--bone); background: var(--bone); color: var(--ink); }

.nav__toggle {
  display: none; width: 40px; height: 40px; background: none; border: 0;
  cursor: pointer; position: relative; order: 3;
}
.nav__toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO — the studio hall (neutral)
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 128px 0 84px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 88% 8%, rgba(63,212,230,0.05) 0%, transparent 46%),
    radial-gradient(120% 80% at 90% 92%, rgba(231,154,52,0.05) 0%, transparent 46%),
    linear-gradient(180deg, #101116 0%, var(--ink) 62%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__inner { animation: none; } }

.hero__content { max-width: 640px; }
.hero__overline {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--slate);
  display: flex; align-items: center; gap: 12px; margin-bottom: 30px;
}
.hero__overline::before { content: ''; width: 26px; height: 1px; background: var(--line-2); }

.hero__statement {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.035em; color: var(--bone);
  margin-bottom: 26px;
}
.hero__statement .hs-tool { color: var(--ice); }
.hero__statement .hs-game { color: var(--ember); }

.hero__lede {
  font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--bone-dim);
  font-weight: 300; max-width: 46ch; line-height: 1.65; margin-bottom: 40px;
}
.hero__index { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.hero__index a {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.02em; padding: 11px 18px; border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--bone); display: inline-flex; align-items: center; gap: 10px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.hero__index a .arw { color: var(--slate); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.hero__index a:hover .arw { transform: translateX(3px); }
.hero__index a.i-tool:hover { border-color: var(--ice-line); color: var(--ice-2); }
.hero__index a.i-tool:hover .arw { color: var(--ice); }
.hero__index a.i-game:hover { border-color: var(--ember-line); color: var(--ember-2); }
.hero__index a.i-game:hover .arw { color: var(--ember); }

/* emblem = keystone of the house */
.hero__brand { display: flex; justify-content: center; align-items: center; }
.hero__logo {
  width: min(400px, 82%); height: auto; border-radius: 26px;
  filter: drop-shadow(0 22px 60px rgba(0,0,0,0.6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }

/* ============================================================
   THRESHOLD — the signature. Cross it, temperature flips.
   ============================================================ */
.threshold {
  position: relative; padding: clamp(30px, 5vw, 46px) 0;
  border-top: 1px solid var(--line);
}
.threshold__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px;
}
.threshold__rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.threshold__rule--r { background: linear-gradient(90deg, var(--line-2), transparent); }
.threshold__key {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.threshold__emblem {
  width: 52px; height: 52px; object-fit: contain; border-radius: 12px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55));
}
.threshold__enter {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--slate-2);
}
.threshold__world {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.threshold--to-tools .threshold__world { color: var(--ice); }
.threshold--to-games .threshold__world { color: var(--ember); }
.threshold--to-tools { background: linear-gradient(180deg, var(--ink) 0%, var(--tool-bg) 100%); }
.threshold--to-games { background: linear-gradient(180deg, var(--tool-bg) 0%, var(--game-bg) 100%); }
.threshold--to-hall { background: linear-gradient(180deg, var(--game-bg) 0%, var(--ink) 100%); }
.threshold--to-hall .threshold__world { color: var(--bone); }

/* ============================================================
   ROOM — shared shell; temperature set per modifier
   ============================================================ */
.room { padding: var(--section-py) 0; position: relative; }
.room--tools { background: var(--tool-bg); }
.room--games { background: var(--game-bg); position: relative; }

/* games grain + vignette (subtle texture, not illustration) */
.room--games::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(231,154,52,0.06), transparent 55%),
    radial-gradient(120% 120% at 50% 120%, rgba(0,0,0,0.55), transparent 60%);
}
.room--games::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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)'/%3E%3C/svg%3E");
}
.room > .wrap { position: relative; z-index: 1; }

.room__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.room__eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.room__eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.5; }
.room--tools .room__eyebrow { color: var(--ice); }
.room--games .room__eyebrow { color: var(--ember); font-family: var(--font-poster); letter-spacing: 0.14em; font-weight: 600; font-size: 0.86rem; }

.room__title {
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem); color: var(--bone); margin-bottom: 16px;
}
.room--tools .room__title { font-family: var(--font-display); }
.room--games .room__title { font-family: var(--font-poster); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; }

.room__sub { font-size: clamp(0.98rem, 1.7vw, 1.1rem); color: var(--bone-dim); font-weight: 300; max-width: 54ch; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

/* ------------------------------------------------------------
   TOOLS card — "instrument": browser-window screen + mono spec
   ------------------------------------------------------------ */
.tool-card {
  background: var(--tool-bg2); border: 1px solid rgba(63,212,230,0.14);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--ice-line); box-shadow: 0 18px 44px rgba(0,0,0,0.5); }

.tool-card__screen { position: relative; background: #05090d; padding: 12px 12px 0; }
.tool-card__chrome { display: flex; align-items: center; gap: 6px; padding: 4px 2px 10px; }
.tool-card__dot { width: 9px; height: 9px; border-radius: 50%; background: #2a3138; }
.tool-card__url {
  margin-left: 10px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--slate-2);
  letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tool-card__shot {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0;
  border-radius: 8px 8px 0 0; border: 1px solid rgba(255,255,255,0.05); border-bottom: 0;
}
.tool-card__status {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.tool-card__status .dot { width: 6px; height: 6px; border-radius: 50%; }
.status--live { color: #6ee7b7; background: rgba(16,40,32,0.7); border: 1px solid rgba(52,211,153,0.35); }
.status--live .dot { background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,0.5);} 70%{box-shadow:0 0 0 7px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.status--dev  { color: var(--ice-2); background: rgba(8,26,32,0.7); border: 1px solid var(--ice-line); }
.status--dev .dot { background: var(--ice); }
@media (prefers-reduced-motion: reduce) { .status--live .dot { animation: none; } }

.tool-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tool-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--bone); margin-bottom: 8px; }
.tool-card__spec {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--ice); text-transform: uppercase; margin-bottom: 14px;
}
.tool-card__desc { font-size: 0.92rem; color: var(--bone-dim); line-height: 1.62; margin-bottom: 20px; flex: 1; }
.tool-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------
   GAMES card — "poster": full-bleed noir art + Oswald title
   ------------------------------------------------------------ */
.game-card {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(231,154,52,0.16);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--ember-line); box-shadow: 0 18px 44px rgba(0,0,0,0.55); }
.game-card__art {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
}
.game-card:hover .game-card__art { transform: scale(1.04); }
.game-card__art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,8,0.15) 0%, rgba(15,10,8,0.55) 52%, rgba(15,10,8,0.95) 100%);
}
.game-card__art--dw { background-image: url('../img/bg_dw1943.webp'); }
.game-card__art--ffd { background-image: url('../img/bg_ffd_new.webp'); }

.game-card__status {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-2);
  padding: 5px 10px; border-radius: 999px;
  background: rgba(30,18,6,0.72); border: 1px solid var(--ember-line); backdrop-filter: blur(4px);
}
.game-card__body { position: relative; z-index: 1; padding: 26px 24px 24px; }
.game-card__name {
  font-family: var(--font-poster); font-weight: 700; text-transform: uppercase;
  font-size: 1.9rem; line-height: 0.98; letter-spacing: 0.01em; color: #fff; margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.game-card__genre {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ember); margin-bottom: 12px;
}
.game-card__desc { font-size: 0.9rem; color: #d9d2cb; line-height: 1.58; margin-bottom: 18px; max-width: 42ch; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 11px 18px; border-radius: 9px; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; transition: transform 0.2s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn--ice { background: var(--ice); color: #04222a; }
.btn--ice:hover { background: var(--ice-2); }
.btn--ice-ghost { border-color: var(--ice-line); color: var(--ice-2); }
.btn--ice-ghost:hover { background: var(--ice-dim); }
.btn--ember { background: var(--ember); color: #2a1704; }
.btn--ember:hover { background: var(--ember-2); }
.btn--ember-ghost { border-color: var(--ember-line); color: var(--ember-2); }
.btn--ember-ghost:hover { background: var(--ember-dim); }

/* ============================================================
   ABOUT — back in the hall (neutral). The "house" thesis.
   ============================================================ */
.about { padding: var(--section-py) 0; background: var(--ink); border-top: 1px solid var(--line); }
.about__eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.about__eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--line-2); }
.about__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2rem, 5vw, 3.2rem); color: var(--bone); margin-bottom: 26px; max-width: 16ch;
}
.about__title .hs-tool { color: var(--ice); }
.about__title .hs-game { color: var(--ember); }
.about__lead {
  font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--bone); font-weight: 300;
  max-width: 62ch; line-height: 1.55; margin-bottom: 14px;
}
.about__p { font-size: 0.98rem; color: var(--bone-dim); max-width: 60ch; line-height: 1.7; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px 48px; margin-top: 56px; }
.principle { padding: 28px 0 4px; border-top: 1px solid var(--line); }
.principle__k {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-2); margin-bottom: 14px;
}
.principle__t { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--bone); margin-bottom: 10px; letter-spacing: -0.01em; }
.principle__b { font-size: 0.9rem; color: var(--bone-dim); line-height: 1.62; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact { padding: var(--section-py) 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; color: var(--bone); margin-bottom: 16px; }
.contact__text { font-size: 1.02rem; color: var(--bone-dim); max-width: 52ch; line-height: 1.6; margin-bottom: 28px; }
.contact__mail {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--bone); border: 1px solid var(--line-2); border-radius: 11px; padding: 15px 24px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.contact__mail:hover { border-color: var(--bone); background: var(--bone); color: var(--ink); }

.footer { padding: 34px 0; background: var(--ink); border-top: 1px solid var(--line); }
.footer__content { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer__brand { display: flex; align-items: center; gap: 9px; }
.footer__logo { width: 24px; height: 24px; object-fit: contain; }
.footer__name { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--bone); }
.footer__name-accent { color: var(--slate); }
.footer__tagline { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--slate-2); text-transform: uppercase; }
.footer__copy { font-family: var(--font-mono); font-size: 0.68rem; color: var(--slate-2); margin-left: auto; }
.footer__copy a { color: var(--slate); }
.footer__copy a:hover { color: var(--bone); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: 0; right: 0; width: min(78vw, 300px); height: 100vh;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--ink-2); border-left: 1px solid var(--line);
    padding: 88px 26px 26px; z-index: 90;
    transform: translateY(-6px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav__menu.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
  .nav__menu .nav__link { width: 100%; font-size: 0.9rem; padding: 12px 6px; }
  .nav__link--cta { margin-top: 8px; }

  .hero { min-height: auto; padding: 120px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__brand { order: -1; }
  .hero__logo { width: min(230px, 62%); }
  .hero__statement { font-size: clamp(2.7rem, 13vw, 4rem); }

  .threshold__inner { grid-template-columns: 1fr; gap: 14px; }
  .threshold__rule { display: none; }
}

@media (max-width: 460px) {
  .grid { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; width: 100%; }
}

/* keyboard focus */
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
