/* Wildman Studio — plates of black and white, one navy undertone.
   See ../design-plan.md. */

/* Self-hosted Google Fonts (OFL). Same families, weights and unicode ranges the Google CSS served. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 112%;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 112%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #06080F;
  --paper: #F4F5F8;
  --ash: #8B90A0;
  --navy: #0F1B3D;
  --hair-ink: rgba(6, 8, 15, .14);
  --hair-paper: rgba(244, 245, 248, .16);

  --margin: clamp(24px, 5vw, 96px);
  --mark-top: 26vh;
  --mark-block: 60vh;            /* set by JS: top + height + gap */

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.62, .05, .01, .99);
}

html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; background: var(--ink); color: var(--paper); }
body {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

::selection { background: var(--navy); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

/* ---------- nav — lives in difference blend, so it inverts on every plate ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--margin);
  color: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav a { pointer-events: auto; }
.nav button { pointer-events: auto; }
.nav__mark svg { width: 34px; height: auto; display: block; color: var(--paper); }
.nav__cta {
  font-size: 13px; letter-spacing: .01em; font-weight: 500;
  position: relative; padding-bottom: 4px;
}
.nav__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(1); transform-origin: right;
  transition: transform .6s var(--ease-io);
}
.nav__cta:hover::after { transform: scaleX(0); transform-origin: left; }
.nav__cta:hover::after { animation: underline-back .6s var(--ease-io) .6s forwards; }
@keyframes underline-back { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* the menu button: a word and two hairlines that become a cross */
.nav__right { display: flex; align-items: center; gap: 30px; }
.nav__menu {
  appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: 0 0 4px;
  font: inherit; font-size: 13px; letter-spacing: .01em; font-weight: 500; line-height: 1.4; color: inherit;
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
}
.nav__menu-glyph { display: block; width: 18px; height: 9px; position: relative; }
.nav__menu-glyph i {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .6s var(--ease-io), top .6s var(--ease-io);
}
.nav__menu-glyph i:first-child { top: 0; }
.nav__menu-glyph i:last-child { top: 8px; }
.menu-open .nav__menu-glyph i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .nav__menu-glyph i:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- hero (fixed; everything else slides over it) ---------- */
.hero {
  position: fixed; inset: 0; z-index: 0;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__ocean { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__line {
  position: absolute; left: var(--margin); bottom: 8vh; margin: 0;
  font-size: 13px; letter-spacing: .01em; color: var(--paper);
  z-index: 2;
}
.hero__line .w { display: inline-block; will-change: transform, opacity, filter; }
.hero__scroll {
  position: absolute; right: var(--margin); bottom: 8vh; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash);
}
.hero__scroll i { display: block; width: 56px; height: 1px; background: var(--paper); opacity: .5; transform-origin: left; animation: scroll-rule 2.8s var(--ease-io) infinite; }
@keyframes scroll-rule { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.hero-spacer { height: 100vh; }

/* ---------- the wordmark — one object, crosses the boundary ---------- */
.mark-layer {
  position: fixed; left: var(--margin); right: var(--margin); top: var(--mark-top);
  z-index: 3; pointer-events: none;
  mix-blend-mode: difference;
  color: var(--paper);
  will-change: transform;
}
.wordmark { display: flex; flex-direction: column; align-items: flex-start; }
.wordmark__name {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: 200px;                /* JS fits this to the measure */
  line-height: .82;
  letter-spacing: -.015em;
  white-space: nowrap;
  display: block;
  perspective: 1400px;
}
.wordmark__studio {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: calc(var(--mark-fs, 200px) * .3);
  line-height: 1;
  letter-spacing: 0;
  align-self: flex-end;
  margin-top: .06em;
  margin-right: .02em;
  perspective: 1400px;
}
/* per-letter roll (code-rolling-text) */
[data-roll] .ch { display: inline-block; transform-origin: 50% 50% -.5em; backface-visibility: hidden; will-change: transform, opacity; }
.is-ready [data-roll] .ch { animation: roll-in 1.1s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
@keyframes roll-in { from { transform: rotateX(-92deg); opacity: 0; } to { transform: rotateX(0); opacity: 1; } }
/* drop-text: words blur/drop in */
.is-ready [data-drop] .w { animation: drop-in 1s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms + 900ms); }
@keyframes drop-in { from { transform: translateY(18px); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: blur(0); } }
[data-roll] .ch, [data-drop] .w { opacity: 0; }
.is-still [data-roll] .ch, .is-still [data-drop] .w { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
.is-ready [data-roll] .ch, .is-ready [data-drop] .w { opacity: 1; }

/* ---------- plates ---------- */
.plates { position: relative; z-index: 2; }
.plate { position: relative; }
.plate--white { background: var(--paper); color: var(--ink); }
.plate--black { background: var(--ink); color: var(--paper); }

.track { position: relative; }
.track > .sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* ---------- white plate: statement ---------- */
#statement { padding-top: var(--mark-block); }
.track--statement { height: 260vh; }
.plate__bg { position: absolute; inset: 0; overflow: clip; pointer-events: none; z-index: 0; }
.plate__bg-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.mesh { position: absolute; inset: -10%; width: 120%; height: 120%; filter: blur(48px); opacity: 1; }
#statement > .track, #statement > .void { position: relative; z-index: 1; }
.statement {
  position: absolute; left: var(--margin); right: var(--margin); top: 50%; transform: translateY(-50%);
  margin: 0; z-index: 2;
  font-weight: 700; font-variation-settings: "wdth" 100;
  font-size: clamp(30px, 5.2vw, 88px);
  line-height: 1.04; letter-spacing: -.035em;
  max-width: 15ch;
}
.statement .w { display: inline-block; opacity: .12; will-change: opacity; }
/* ---------- white plate: spiral (floating-carousel-spiral, WebGL port) ---------- */
.track--spiral { height: 440vh; }
.spiral { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.void { height: 30vh; }

/* ---------- black plate: pixel fill ---------- */
.track--fill { height: 220vh; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- black plate: zoom slider ---------- */
.track--slider { height: 520vh; }
.slider { touch-action: pan-y; cursor: grab; user-select: none; }
.slider.is-dragging { cursor: grabbing; }
.slider__strip { position: absolute; inset: 0; }
.slider__card { position: absolute; left: 0; top: 0; will-change: transform; }
.slider__wrap { position: relative; overflow: hidden; border: 1px solid var(--hair-paper); border-bottom: 0; background: var(--ink); will-change: width, height; }
.slider__wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.06); pointer-events: none; }
.slider__caption {
  position: absolute; left: var(--margin); top: 12vh; z-index: 5;
  color: var(--paper);
}
.slider__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 54px); line-height: 1; letter-spacing: -.01em; }
.slider__title .ln { display: block; overflow: hidden; }
.slider__title .ln span { display: block; animation: caption-in .7s var(--ease-out) both; }
@keyframes caption-in { from { transform: translateY(110%); } to { transform: none; } }

/* ---------- white plate: circular split roll ---------- */
.track--roll { height: 560vh; }
.roll { display: block; }
.roll__col { position: absolute; top: 50%; left: 0; width: 0; height: 0; }
.roll__name {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 60;
  font-size: clamp(26px, 3.2vw, 60px); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  opacity: 0; will-change: transform, opacity;
}
.roll__card {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: var(--card-w, 190px); height: var(--card-h, 400px);
  overflow: hidden; border: 1px solid var(--hair-ink); background: var(--paper);
  opacity: 0; will-change: transform, opacity;
  box-shadow: 0 40px 80px -30px rgba(6, 8, 15, .35);
}
.roll__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 1024px) {
  .track--roll { height: 480vh; }
  .roll__name { font-size: clamp(15px, 4.3vw, 22px); }
  .roll__card { box-shadow: 0 24px 48px -20px rgba(6, 8, 15, .35); }
}

/* ---------- black plate: closer (Grainient → CTA) ---------- */
.track--closer { height: 260vh; }
.closer { isolation: isolate; }
.closer__smoke { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.closer__stage { position: absolute; inset: 0; z-index: 2; perspective: 1200px; transform-style: preserve-3d; overflow: visible; }
.closer__tile {
  position: absolute; transform-style: preserve-3d; transform: translate(-50%, -50%);
  border: 1px solid var(--hair-paper); background: var(--ink); overflow: hidden;
  will-change: transform, opacity;
}
.closer__tile img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.05); }
.closer__cta {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5vh;
  opacity: 0; transform: scale(.7); will-change: transform, opacity;
  pointer-events: none;
}
.closer__cta.is-live { pointer-events: auto; }
.cta {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(56px, 11vw, 200px); line-height: 1; letter-spacing: -.02em;
  /* shiny-text: a monochrome sheen, kept as material */
  background: linear-gradient(100deg, var(--paper) 0%, var(--paper) 35%, var(--ash) 50%, var(--paper) 65%, var(--paper) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5.5s var(--ease-io) infinite;
}
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.closer__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 5vw; }
.closer__lines a {
  font-weight: 600; font-size: clamp(16px, 2.1vw, 30px); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  position: relative; padding-bottom: 6px;
}
.closer__lines a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }
.closer__lines a:hover::after { transform: scaleX(1); transform-origin: left; }

.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--margin) 32px;
  font-size: 12px; color: var(--ash); letter-spacing: .01em;
  border-top: 1px solid var(--hair-paper);
}
.foot__mark { width: 26px; height: auto; color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 700px) {
  :root { --mark-top: 30vh; }
  .nav { padding: 20px var(--margin); }
  .nav__mark svg { width: 28px; }
  .hero__scroll { display: none; }
  .hero__line { bottom: 6vh; max-width: 70%; }
  .statement { max-width: none; font-size: clamp(30px, 8.6vw, 60px); }
  .statement__img { width: 1.5em; height: .95em; }
  .track--statement { height: 220vh; }
  .track--spiral { height: 560vh; }
  .void { height: 16vh; }
  .track--slider { height: 420vh; }
  .slider__caption { top: 9vh; }
  .track--fill { height: 180vh; }
  .track--closer { height: 220vh; }
  .closer__cta { gap: 3.5vh; }
  .closer__lines { flex-direction: column; align-items: center; gap: 10px; }
  .foot { flex-wrap: wrap; font-size: 11px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .is-ready [data-roll] .ch, .is-ready [data-drop] .w { animation: fade-only .8s ease both; }
  @keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
  .hero__scroll i { animation: none; transform: none; }
  .cta { animation: none; background-position: 50% 0; }
  .slider__title .ln span { animation: none; }
}

/* ---------- the menu: an ink plate that rises over the page ---------- */
html.menu-open { overflow: hidden; }
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--paper);
  transform: translateY(100%); visibility: hidden;
  transition: transform .9s var(--ease-io), visibility 0s linear .9s;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .9s var(--ease-io), visibility 0s; }
.menu__inner {
  min-height: 100%; padding: 18vh var(--margin) 9vh;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px 6vw;
}
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a {
  display: inline-block; position: relative; padding-bottom: .06em;
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 96;
  font-size: clamp(44px, 8.5vw, 132px); line-height: 1; letter-spacing: -.02em;
  color: var(--paper); opacity: .48; transition: opacity .5s var(--ease-io);
  perspective: 1400px;
}
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current="page"] { opacity: 1; }
.menu__list a[aria-current="page"]::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: 0; height: 1px; background: currentColor; }
.menu [data-mroll] .ch { display: inline-block; transform-origin: 50% 50% -.5em; backface-visibility: hidden; opacity: 0; }
.menu.is-open [data-mroll] .ch { animation: roll-in 1s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + var(--d, 0ms) + 260ms); }
.menu__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: .5em; }
.menu__aside > a {
  font-weight: 600; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.015em; font-variant-numeric: tabular-nums;
  position: relative; padding-bottom: 5px;
}
.menu__aside > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }
.menu__aside > a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu__social { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.menu__social a { font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.menu__where { color: var(--ash); font-size: 12px; letter-spacing: .01em; margin-top: 14px; }

/* ---------- pages: About / Services / Contact (see design-plan.md, "Pages") ---------- */
.pages { position: relative; z-index: 2; }
.page-head, .contact-head {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;   /* svh: the phone's toolbar never covers the bottom of the head */
  overflow: hidden; isolation: isolate;
}
.page-title {
  position: absolute; left: var(--margin); right: var(--margin); top: var(--mark-top); margin: 0; z-index: 2;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(64px, 13vw, 210px); line-height: .9; letter-spacing: -.02em; color: var(--paper);
}
.page-title [data-roll] { display: inline-block; perspective: 1400px; }
.page-dek {
  position: absolute; left: var(--margin); bottom: 8vh; margin: 0; z-index: 2;
  max-width: 34ch; font-size: 13px; letter-spacing: .01em; line-height: 1.5; color: var(--paper);
}
.page-dek .w, .contact-dek .w { display: inline-block; will-change: transform, opacity, filter; }
.page-body { position: relative; z-index: 1; padding: 12vh 0 10vh; }
.page-body > .plate__bg { z-index: 0; }
.page-body__inner { position: relative; z-index: 1; margin: 0 var(--margin); }
.page-statement {
  margin: 0 0 12vh; font-weight: 700; font-variation-settings: "wdth" 100;
  font-size: clamp(30px, 5.2vw, 88px); line-height: 1.04; letter-spacing: -.035em; max-width: 15ch;
}
.page-statement .w { display: inline-block; opacity: .12; will-change: opacity; }
.rows { border-top: 1px solid var(--hair-ink); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 6vw;
  padding: 6.5vh 0; border-bottom: 1px solid var(--hair-ink);
}
.row h2, .rows-title {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 60;
  font-size: clamp(30px, 3.4vw, 54px); line-height: 1; letter-spacing: -.02em;
}
.rows-title { margin: 14vh 0 4vh; }
.row p, .plain-list li, .steps p, .socials a { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; }
.row p { margin: 0 0 1.1em; max-width: 58ch; }
.row p:last-child { margin-bottom: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; max-width: 58ch; }
.plain-list li { padding: .55em 0; border-bottom: 1px solid var(--hair-ink); }
.plain-list li:last-child { border-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--hair-ink); }
.steps li {
  display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 12px 6vw;
  padding: 4.5vh 0; border-bottom: 1px solid var(--hair-ink); counter-increment: step;
}
.steps li::before { content: counter(step); font-variant-numeric: tabular-nums; color: var(--ash); font-size: 13px; padding-top: .55em; }
.steps h3 { margin: 0 0 .45em; font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.steps p { margin: 0; max-width: 58ch; }
.page-note { margin: 12vh 0 0; font-weight: 600; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.03em; max-width: 24ch; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.socials a { font-weight: 600; position: relative; padding-bottom: 4px; }
.socials a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }
.socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.fineprint { margin: 8vh 0 0; font-size: 12px; color: var(--ash); letter-spacing: .01em; }

/* the closer on a page: the end state of the homepage closer, without the tiles */
.page-closer { position: relative; height: 100vh; min-height: 560px; overflow: hidden; isolation: isolate; }
.page-closer .closer__smoke { z-index: 0; }
.page-closer__inner {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5vh;
}

/* contact: the email address is the one thing, fitted to the measure like the wordmark */
.contact-dek {
  position: absolute; left: var(--margin); top: var(--mark-top); margin: 0; z-index: 2;
  max-width: 34ch; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.45; color: var(--paper);
}
.contact-lines {
  position: absolute; left: var(--margin); right: var(--margin); bottom: 11vh; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact-mail {
  display: block; white-space: nowrap; perspective: 1400px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(28px, 7.4vw, 118px); line-height: 1; letter-spacing: -.02em; color: var(--paper);
}
/* Bodoni's @ is a hairline ring that disappears at phone sizes; the sans carries that one glyph */
.contact-mail .at { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .74em; vertical-align: .1em; letter-spacing: 0; margin: 0 .02em 0 .04em; }
.contact-call { align-self: flex-end; margin-top: .35em; display: flex; align-items: baseline; gap: .55em; font-size: clamp(20px, 2.4vw, 34px); }
.contact-or { font-weight: 500; font-size: .6em; color: var(--ash); letter-spacing: .01em; }
.contact-tel {
  position: relative; padding-bottom: 6px;
  font-weight: 600; font-size: 1em; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.contact-tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }
.contact-tel:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 1024px) {
  .menu__inner { grid-template-columns: 1fr; align-content: end; gap: 34px; }
}
@media (max-width: 700px) {
  .nav__right { gap: 22px; }
  .menu__inner { padding: 14vh var(--margin) 7vh; gap: 28px; }
  .menu__list a { font-size: clamp(40px, 12.5vw, 64px); }
  .page-title { font-size: clamp(56px, 19vw, 96px); }
  .page-dek { bottom: 6vh; max-width: 80%; }
  .page-body { padding: 10vh 0 8vh; }
  .page-statement { max-width: none; font-size: clamp(30px, 8.6vw, 60px); margin-bottom: 8vh; }
  .row, .steps li { grid-template-columns: 1fr; gap: 12px; padding: 5vh 0; }
  .steps li::before { padding-top: 0; }
  .rows-title { margin: 10vh 0 3vh; }
  .contact-dek { max-width: 80%; }
  .contact-lines { bottom: 14vh; }
  .contact-call { align-self: flex-start; margin-top: .7em; }
  .page-closer { min-height: 0; }
  .page-closer__inner { gap: 3.5vh; }
}
@media (prefers-reduced-motion: reduce) {
  .menu { transform: none; opacity: 0; transition: opacity .4s ease, visibility 0s linear .4s; }
  .menu.is-open { opacity: 1; transition: opacity .4s ease, visibility 0s; }
  .menu.is-open [data-mroll] .ch { animation: fade-only .6s ease both; }
  .nav__menu-glyph i { transition: none; }
}
