/* ==========================================================================
   Sebastian Malm — malm-media.com
   Theme: basalt. Lava cools into ordered columns: heat in, structure out.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@property --flow {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

/* ---------- Tokens ---------- */
:root {
  /* wet basalt */
  --basalt-950: #090b0d;
  --basalt-900: #0e1114;
  --basalt-850: #13171b;
  --basalt-800: #191e23;
  --basalt-700: #232a30;
  --basalt-600: #313940;
  --basalt-500: #4a545c;
  --basalt-400: #6c7780;
  --basalt-300: #98a1a8;
  /* dry stone / sea fog */
  --fog-300: #cfcbc2;
  --fog-200: #dedad2;
  --fog-100: #e9e6df;
  --fog-50: #f4f2ed;
  --stone-ink: #12161a;
  /* lava */
  --ember: #ff6b2c;
  --ember-hot: #ffb866;
  --ember-deep: #b93c0b;
  --lava: linear-gradient(100deg, #ffd9a0 0%, #ff9a3d 30%, #ff5a1f 68%, #e24313 100%);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.theme-dark {
  --bg: var(--basalt-950);
  --bg-2: var(--basalt-850);
  --fg: #ece9e3;
  --muted: #98a1a8;
  --line: rgba(236, 233, 227, 0.13);
  --accent: var(--ember);
  --grain: var(--grain-light);
  color: var(--fg);
  background-color: var(--bg);
}
.theme-light {
  --bg: var(--fog-100);
  --bg-2: var(--fog-50);
  --fg: var(--stone-ink);
  --muted: #555e66;
  --line: rgba(18, 22, 26, 0.16);
  --accent: var(--ember-deep);
  --grain: var(--grain-dark);
  color: var(--fg);
  background-color: var(--bg);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  color: #ece9e3;
  background: var(--basalt-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--ember); color: #1a0c05; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ember);
  color: #1a0c05;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
}
.theme-dark:not(.hero), .theme-light {
  background-image: var(--grain);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-sans);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 0.72em;
  height: 0.83em;
  background: var(--accent);
  clip-path: var(--hex);
}

.sec-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sec-head h2 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  max-width: 12ch;
}
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.sec-head__lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34ch;
  padding-bottom: 0.35rem;
}

/* ---------- Buttons (elongated hexagons) ---------- */
.btn {
  --btn-bg: var(--lava);
  --btn-fg: #1a0c05;
  --cut: 0.95em;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding: 1.05em 2em;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.4s var(--ease);
}
.btn::before, .btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
}
.btn::before {
  inset: 0;
  background: var(--btn-bg);
  background-size: 160% 100%;
  transition: background-position 0.6s var(--ease), filter 0.3s;
}
.btn::after { display: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { background-position: 100% 0; filter: brightness(1.08); }
.btn:active { transform: translateY(0); }

.btn__arrow {
  width: 1.25em; height: 0.75em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: rgba(236, 233, 227, 0.34);
  --btn-fg: #ece9e3;
}
.btn--ghost::after {
  display: block;
  inset: 1.5px;
  background: var(--basalt-900);
  transition: background 0.3s;
}
.btn--ghost:hover::before { --btn-bg: var(--ember); }
.btn--ghost:hover::after { background: var(--basalt-800); }

.btn--sm { padding: 0.8em 1.5em; font-size: 0.85rem; }
.btn--lg { padding: 1.2em 2.2em; font-size: clamp(0.95rem, 1.6vw, 1.15rem); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #ece9e3;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-stuck {
  background-color: rgba(9, 11, 13, 0.8);
  border-bottom-color: rgba(236, 233, 227, 0.09);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
/* MALM wordmark; the A doubles as a basalt column and carries the ember */
.brand__logo {
  height: 1.3rem;
  width: auto;
  aspect-ratio: 874 / 148;
  fill: currentColor;
  overflow: visible;
}
.brand__a { fill: var(--ember); transition: fill 0.3s; }
.brand:hover .brand__a { fill: var(--ember-hot); }

.nav__links {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(236, 233, 227, 0.78);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }

.nav__tools { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.lang button {
  padding: 0.45rem 0.5rem;
  background: none;
  border: 0;
  color: rgba(236, 233, 227, 0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.lang button + button { border-left: 1px solid rgba(236, 233, 227, 0.2); }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: var(--ember-hot); }

.nav__toggle {
  display: none;
  position: relative;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.6rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 0.6rem; right: 0.6rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 1.05rem; }
.nav__toggle span:nth-child(2) { top: 1.6rem; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 1.32rem; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 1.32rem; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem 0 7rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--basalt-950);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.78) 0%, rgba(9, 11, 13, 0.4) 36%, rgba(9, 11, 13, 0) 62%),
    linear-gradient(0deg, var(--basalt-950) 0%, rgba(9, 11, 13, 0) 22%);
}

.hero__eyebrow { color: rgba(236, 233, 227, 0.8); margin-bottom: 1.6rem; }

.hero__title {
  font-size: clamp(2.9rem, 13.2vw, 5.75rem);
  line-height: 0.86;
  margin-bottom: 2rem;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-top: 0.16em;
  margin-top: -0.16em;
  padding-bottom: 0.04em;
}
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .ch { display: inline-block; white-space: pre; }

.line--molten { color: var(--ember); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .line--molten .ch {
    background-image: linear-gradient(90deg, #ffe0ae 0%, #ffa348 22%, #ff5a1f 50%, #ffa348 78%, #ffe0ae 100%);
    background-size: 560px 100%;
    background-repeat: repeat-x;
    background-position: calc(var(--flow) - var(--x, 0px)) 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* the gradient only paints inside the box: make room for umlaut dots */
    padding-top: 0.22em;
    margin-top: -0.22em;
  }
  .line--molten { animation: flow 9s linear infinite; }
}
@keyframes flow { to { --flow: 560px; } }

.js [data-split] { opacity: 0; }
.js [data-split].is-split { opacity: 1; }
.js [data-split] .ch { transform: translateY(112%); }
.js [data-split].is-in .ch {
  transform: none;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

.hero__lede {
  max-width: 33rem;
  margin-bottom: 2.4rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(236, 233, 227, 0.86);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.js .hero__eyebrow, .js .hero__lede, .js .hero__cta, .js .hero__foot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .hero.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.15s; }
.js .hero.is-ready .hero__lede { opacity: 1; transform: none; transition-delay: 0.95s; }
.js .hero.is-ready .hero__cta { opacity: 1; transform: none; transition-delay: 1.1s; }
.js .hero.is-ready .hero__foot { opacity: 1; transform: none; transition-delay: 1.6s; }

.hero__foot {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 227, 0.55);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 0.8rem; }
.hero__scroll i {
  position: relative;
  width: 1px; height: 2.4rem;
  background: rgba(236, 233, 227, 0.2);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
.hint--touch { display: none; }
@media (hover: none) {
  .hint--mouse { display: none; }
  .hint--touch { display: inline; }
}

/* ---------- Key figures: rising columns ---------- */
.stats {
  --sky: clamp(56px, 8vw, 110px);
  --colmax: clamp(9rem, 19vw, 16rem);
  padding-block: clamp(2rem, 5vw, 4rem) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
}
.stat {
  --rise: var(--h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.stat__num {
  font-size: clamp(2.75rem, 6.2vw, 5.5rem);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__label {
  margin: 0.8rem 0 1.4rem;
  max-width: 15rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--muted);
}
/* a hexagonal prism in side view: cap on top, three visible faces below.
   It keeps going down behind the skyline. */
.stat__col {
  position: relative;
  width: min(100%, 13.5rem);
  height: calc(var(--rise) * var(--colmax) + var(--sky));
  flex: none;
  container-type: inline-size;
  transition: height 1.7s var(--ease), opacity 0.5s linear;
  transition-delay: calc(var(--i, 0) * 140ms);
}
.stat__cap, .stat__body { position: absolute; left: 0; width: 100%; }
.stat__cap {
  top: 0;
  height: 36cqw;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(180deg, #4a565f 0%, #2e373e 100%);
}
.stat__cap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lava);
  opacity: 0;
  transition: opacity 2.8s ease-out;
  transition-delay: calc(var(--i, 0) * 140ms + 1s);
}
.stat__body {
  top: 18cqw;
  bottom: 0;
  clip-path: polygon(0 0, 25% 18cqw, 75% 18cqw, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #13171b 0 25%, #1d2328 25% 75%, #2b333a 75% 100%);
}
.js .stat[data-reveal]:not(.is-in) { --rise: 0; }
.js .stat[data-reveal]:not(.is-in) .stat__col { opacity: 0; }
.js .stat[data-reveal]:not(.is-in) .stat__cap::after { opacity: 1; transition: none; }
.js .stat[data-reveal] .stat__num,
.js .stat[data-reveal] .stat__label {
  transition: opacity 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 140ms + 0.2s);
}
.js .stat[data-reveal]:not(.is-in) .stat__num,
.js .stat[data-reveal]:not(.is-in) .stat__label { opacity: 0; }

/* ---------- Skyline dividers (columns in profile) ---------- */
.skyline {
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: clamp(56px, 8vw, 110px);
  pointer-events: none;
  overflow: hidden;
}
.skyline svg { width: 100%; height: 100%; }
.skyline[data-skyline="fog"] { color: var(--fog-100); }
.skyline[data-skyline="basalt"] { color: var(--basalt-950); }
.skyline rect {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.js .skyline rect {
  transform: scaleY(0);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .skyline.is-in rect { transform: none; }

section:has(> .skyline) { padding-bottom: calc(clamp(5rem, 10vw, 9rem) + clamp(56px, 8vw, 110px)); }
.stats:has(> .skyline) { padding-bottom: 0; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
}
.about .sec-head { margin-bottom: 0; }
.about__body > * + * { margin-top: 1.5rem; }
.lead {
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem !important;
}
.chips li {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

.why {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem !important;
  padding: 1.75rem;
  background: var(--basalt-900);
  color: #ece9e3;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.why__mark {
  width: 3.25rem; height: 3.25rem;
  fill: none;
  stroke: var(--ember);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.why h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.why p { font-size: 1rem; color: rgba(236, 233, 227, 0.86); }

/* ---------- Services ---------- */
.services { padding-top: 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.svc {
  position: relative;
  padding: clamp(1.75rem, 3.4vw, 3rem);
  background: var(--basalt-900);
  background-image: var(--grain-light);
  color: #ece9e3;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--lava);
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.svc:hover::before { transform: scaleX(1); }
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.svc__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--basalt-300);
  text-align: right;
}
.svc h3 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  margin-bottom: 1.2rem;
  max-width: 17ch;
}
.svc > p { color: rgba(236, 233, 227, 0.8); max-width: 34rem; }

.icon {
  width: 2rem; height: 2rem;
  flex: none;
  fill: none;
  stroke: var(--ember);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticks {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(236, 233, 227, 0.13);
}
.ticks li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.6rem;
  border-bottom: 1px solid rgba(236, 233, 227, 0.13);
  font-size: 0.98rem;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0.6rem; height: 0.7rem;
  margin-top: -0.35rem;
  background: var(--ember);
  clip-path: var(--hex);
}

.more {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(4rem, 8vw, 7rem);
}
.more__text h3 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.more__text p { color: var(--muted); max-width: 26ch; font-size: 1.125rem; }

/* honeycomb: column tops seen from above */
.comb {
  --s: clamp(150px, 15.4vw, 200px);
  --g: 8px;
  display: grid;
  grid-template-columns: repeat(6, calc((var(--s) + var(--g)) / 2));
  justify-content: center;
}
.hex {
  position: relative;
  grid-column: span 2;
  width: var(--s);
  height: calc(var(--s) * 1.1547);
  margin-inline: calc(var(--g) / 2);
  background: var(--basalt-800);
  background-image: var(--grain-light);
  clip-path: var(--hex);
  transition: transform 0.6s var(--ease), background-color 0.35s, opacity 0.6s var(--ease);
  transition-delay: 0s;
}
.hex:nth-child(1), .hex:nth-child(6) { grid-column: 2 / span 2; }
.hex:nth-child(n + 3) { margin-top: calc(var(--s) * -0.2887 + var(--g) * 0.866); }
.hex:nth-child(2) { background-color: #20262c; }
.hex:nth-child(3) { background-color: #12161a; }
.hex:nth-child(5) { background-color: #262d33; }
.hex:nth-child(6) { background-color: #1c2227; }
.hex:nth-child(7) { background-color: #0f1316; }
.hex__in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 15%;
  text-align: center;
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ece9e3;
}
.hex .icon { width: 1.75rem; height: 1.75rem; transition: transform 0.6s var(--ease); }
.hex:not(.hex--hub):hover { transform: translateY(-7px); background-color: var(--basalt-600); }
.hex:not(.hex--hub):hover .icon { transform: scale(1.12); }
.hex--hub { background: var(--lava); }
.hub__mark { width: 50%; fill: #1a0c05; }

.js .comb[data-reveal] { opacity: 1; transform: none; }
.js .comb[data-reveal] .hex { opacity: 0; transform: translateY(26px) scale(0.86); }
.js .comb[data-reveal].is-in .hex {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 80ms);
}
.js .comb[data-reveal].is-done .hex { transition-delay: 0s; }
.js .comb[data-reveal].is-done .hex:not(.hex--hub):hover { transform: translateY(-7px); }

/* ---------- Approach (scroll-driven crystallisation) ---------- */
.approach { padding-bottom: clamp(3rem, 6vw, 5rem); }

.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.scrolly__stage {
  position: sticky;
  top: 5.5rem;
  height: calc(100vh - 7rem);
  height: calc(100svh - 7rem);
  max-height: 46rem;
  display: flex;
  align-items: center;
}
.stage { position: relative; width: 100%; height: 100%; }
.stage canvas { width: 100%; height: 100%; }
.stage__hud {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud__temp { min-width: 6.2em; font-variant-numeric: tabular-nums; }
.hud__temp b { font-weight: 500; color: var(--ember-hot); }
.hud__bar { height: 1px; background: var(--line); }
.hud__bar i {
  display: block;
  height: 3px;
  margin-top: -1px;
  background: var(--lava);
  transform: scaleX(0);
  transform-origin: left;
}
.hud__phase { color: var(--fg); }

.scrolly__steps { counter-reset: step; }
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62vh;
  min-height: 62svh;
  opacity: 0.28;
  transition: opacity 0.6s var(--ease);
}
.step.is-active { opacity: 1; }
.step__n {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ember-hot);
}
.step__n::after {
  content: "";
  width: 2.5rem; height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.step.is-active .step__n::after { transform: none; }
.step h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 1.1rem; }
.step p { max-width: 30rem; font-size: 1.125rem; color: rgba(236, 233, 227, 0.8); }

/* ---------- Work ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.4vw, 3rem);
  background: var(--basalt-850);
  background-image: var(--grain-light);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__name {
  margin-top: 1.4rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.case__name small {
  display: inline-block;
  margin-left: 0.4em;
  font-size: 0.5em;
  font-stretch: 100%;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  vertical-align: 0.35em;
}
.case__fig {
  margin-top: clamp(2rem, 5vw, 4rem);
  font-size: clamp(5.5rem, 13.5vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--ember);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .case__fig {
    width: fit-content;
    background: var(--lava);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.case__cap {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.case__text {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  max-width: 34rem;
}

.sub-title {
  margin: clamp(3.5rem, 7vw, 6rem) 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.proj {
  position: relative;
  padding: 1.75rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--line);
}
.proj + .proj { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.proj::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.proj:hover::before { transform: none; }
.proj__tag {
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.proj h4 {
  margin-bottom: 0.7rem;
  font-stretch: 75%;
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.05;
}
.proj p:last-child { font-size: 0.95rem; color: var(--muted); }

.clients {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 3rem;
  align-items: baseline;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.clients__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients ul { display: flex; flex-wrap: wrap; gap: 0.4rem 0; }
.clients li {
  display: inline-flex;
  align-items: center;
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: rgba(236, 233, 227, 0.62);
  transition: color 0.3s;
}
.clients li:hover { color: #fff; }
.clients li:not(:last-child)::after {
  content: "";
  width: 0.26em; height: 0.3em;
  margin: 0 0.5em;
  background: var(--ember);
  clip-path: var(--hex);
}

/* ---------- Résumé (strata) ---------- */
.strata { position: relative; border-bottom: 1px solid var(--line); }
.layer {
  position: relative;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 5vw, 5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.layer::before {
  content: "";
  position: absolute;
  left: -0.42rem; top: -0.5rem;
  width: 0.84rem; height: 0.97rem;
  background: var(--fg);
  clip-path: var(--hex);
}
.layer--now::before { background: var(--ember); }
.layer--now::after {
  content: "";
  position: absolute;
  left: -0.42rem; top: -0.5rem;
  width: 0.84rem; height: 0.97rem;
  background: var(--ember);
  clip-path: var(--hex);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}
.layer__years {
  padding-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.layer--now .layer__years { color: var(--accent); font-weight: 500; }
.layer h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-stretch: 82%;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.layer h3 em {
  font-style: normal;
  font-weight: 450;
  color: var(--muted);
}
.layer h3 em::before { content: "· "; }
.layer__body > p {
  margin-top: 0.7rem;
  max-width: 44rem;
  color: #343c43;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tags li {
  padding: 0.3rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  background: rgba(18, 22, 26, 0.07);
}
.layer--compact { padding: 1.4rem 0; }
.layer--compact h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.layer--compact .layer__body > p { font-size: 0.98rem; margin-top: 0.4rem; }
.layer--compact .tags { margin-top: 0.7rem; }

/* ---------- Contact ---------- */
.contact {
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.contact__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 108%, rgba(255, 107, 44, 0.34) 0%, rgba(255, 107, 44, 0.08) 45%, rgba(255, 107, 44, 0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cpath d='M52 0l52 30v60l-52 30L0 90V30zM0 90v60l52 30 52-30V90' fill='none' stroke='%23ece9e3' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(90% 90% at 80% 100%, #000 0%, transparent 78%);
  mask-image: radial-gradient(90% 90% at 80% 100%, #000 0%, transparent 78%);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas:
    "head form"
    "links form";
  grid-template-rows: auto 1fr;
  gap: 3rem clamp(2rem, 6vw, 6rem);
}
.contact__head { grid-area: head; }
.contact__form { grid-area: form; align-self: start; }
.contact .links { grid-area: links; align-self: end; }

.contact__title {
  font-size: clamp(3.1rem, 7.6vw, 6.75rem);
  max-width: 12ch;
  margin-bottom: 2rem;
}
.contact__lede {
  max-width: 30rem;
  font-size: 1.2rem;
  color: rgba(236, 233, 227, 0.8);
}

/* form */
.form { display: grid; gap: 1.4rem; }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.field label {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label small {
  font-size: 1em;
  letter-spacing: 0.08em;
  color: var(--basalt-400);
}
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--fg);
  background: rgba(14, 17, 20, 0.72);
  border: 1px solid rgba(236, 233, 227, 0.2);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(236, 233, 227, 0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 1px var(--ember);
  background: var(--basalt-900);
}
.field.is-invalid input, .field.is-invalid textarea {
  border-color: #ff7a7a;
  box-shadow: 0 0 0 1px #ff7a7a;
}
.field__error {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #ff9c9c;
}
.form__hp {
  position: absolute;
  left: -200vw;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 0.4rem;
}
button.btn {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
button.btn[disabled] { cursor: progress; opacity: 0.7; }
.form__note {
  flex: 1 1 14rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}
.form__note a { color: var(--fg); text-underline-offset: 0.2em; }
.form__note a:hover { color: var(--ember-hot); }
.form__status { min-height: 1.5rem; font-size: 0.95rem; color: #ff9c9c; }
.form__status:empty { display: none; }
.form__status a { color: var(--fg); }

.sent {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--basalt-850);
  background-image: var(--grain-light);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.sent:focus { outline: none; }
.sent__mark { width: 4rem; height: 4.5rem; margin-bottom: 1.75rem; fill: none; }
.sent__hex {
  stroke: var(--ember);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 1s var(--ease) 0.1s forwards;
}
.sent__tick {
  stroke: #ece9e3;
  stroke-width: 3.5;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.6s var(--ease) 0.7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h3 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin-bottom: 0.9rem; }
.sent p { color: rgba(236, 233, 227, 0.8); font-size: 1.1rem; }

.links { border-top: 1px solid var(--line); }
.links a {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.3s, padding 0.5s var(--ease);
}
.links__k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.links__v { font-size: 1.15rem; font-weight: 550; overflow-wrap: anywhere; }
.links svg {
  width: 1.25rem; height: 0.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.4;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.links a:hover { color: var(--ember-hot); padding-left: 0.6rem; }
.links a:hover svg { transform: translateX(5px); opacity: 1; }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
}
.foot__links { display: flex; gap: 1.75rem; }
.foot a { text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--ember-hot); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal]:not([data-reveal="stat"]):not([data-reveal="comb"]) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal].is-in:not([data-reveal="stat"]):not([data-reveal="comb"]) {
  opacity: 1;
  transform: none;
}

/* ---------- Legal page ---------- */
.legal { padding: 9rem 0 6rem; min-height: 100vh; }
.legal h1 + h2 { margin-top: 0; }
.legal h1 { font-size: clamp(2.75rem, 7vw, 5rem); margin-bottom: 3rem; }
.legal h2 {
  margin: 3.5rem 0 1rem;
  font-stretch: 75%;
  font-size: 1.9rem;
  font-weight: 750;
  line-height: 1.1;
}
.legal h3 { margin: 2rem 0 0.5rem; font-size: 1.1rem; font-weight: 650; }
.legal p, .legal ul { max-width: 46rem; margin-bottom: 1rem; color: #343c43; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--ember-deep); }
.legal .todo {
  padding: 0.1em 0.4em;
  background: #ffd9a0;
  color: #5a1d04;
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.legal__back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .hero__title { font-size: clamp(5.75rem, 9.6vw, 9.75rem); }
}

@media (max-width: 1040px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj:nth-child(odd) { padding-left: 0; border-left: 0; }
  .more { grid-template-columns: 1fr; }
  .more__text p { max-width: 40ch; }
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 5rem var(--gutter) 3rem;
    background: var(--basalt-950);
    background-image: var(--grain-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links a {
    font-stretch: 62%;
    font-weight: 800;
    font-size: clamp(2.6rem, 11vw, 4rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: #ece9e3;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), color 0.2s;
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: 0.05s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: 0.1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: 0.15s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: 0.2s; }
  .nav__links a:hover, .nav__links a.is-current { color: var(--ember); }

  .sec-head--split, .about__grid { grid-template-columns: 1fr; }
  .contact__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "form" "links";
    grid-template-rows: none;
  }
  .about .sec-head { margin-bottom: 1rem; }
  .sec-head__lede { max-width: 46ch; }
  .svc-grid, .cases { grid-template-columns: 1fr; }

  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .scrolly__stage {
    top: 4.5rem;
    z-index: 2;
    height: 46vh;
    height: 46svh;
    padding: 0.75rem 0 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    background: var(--basalt-950);
  }
  .scrolly__stage::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 2rem;
    background: linear-gradient(180deg, var(--basalt-950), rgba(9, 11, 13, 0));
    pointer-events: none;
  }
  .step { min-height: 52vh; min-height: 52svh; justify-content: flex-start; padding-top: 2.5rem; }

  .stats { --colmax: clamp(6rem, 30vw, 10rem); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  .stat:nth-child(-n + 2) .stat__col { height: calc(var(--rise) * var(--colmax) + 1.75rem); }
  .stat__col { width: min(72%, 7.5rem); }
}

@media (max-width: 720px) {
  .comb {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .hex, .hex:nth-child(n) {
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    clip-path: none;
    border-bottom: 1px solid var(--line);
  }
  .hex--hub { display: none; }
  .hex__in {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
    text-align: left;
    font-size: 1.05rem;
    color: var(--fg);
  }
  .hex .icon { stroke: var(--ember-deep); }
  .hex:not(.hex--hub):hover, .js .comb[data-reveal].is-done .hex:not(.hex--hub):hover { transform: none; background: none; }

  .layer { grid-template-columns: 1fr; gap: 0.6rem; }
  .projects { grid-template-columns: 1fr; }
  .proj, .proj + .proj { padding: 1.5rem 0 1.75rem; border-left: 0; }
  .proj__tag { margin-bottom: 1rem; }
  .clients { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .links a { grid-template-columns: 4.6rem 1fr auto; gap: 0.75rem; }
  .form__row { grid-template-columns: 1fr; }
  .links__v { font-size: 0.95rem; }
  .hero { padding-bottom: 6rem; }
  .hero__hint { display: none !important; }
  .brand__logo { height: 1.15rem; }
  .svc__kicker { font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
