/* =====================================================================
   lverbeeck.com - base.css
   Two-tone editorial design system. Adapted 1:1 from ogakidigital.com.
   Serif: Newsreader (self-hosted). Sans: Archivo (self-hosted, caps only).
   No external requests. No build step.
   ===================================================================== */

/* -------------------------------------------------- @font-face
   Self-hosted subsets (latin + latin-ext). Variable weight 300-400. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/newsreader-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: 'Newsreader';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/newsreader-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: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/newsreader-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: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/newsreader-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: 'Archivo';
  font-style: normal;
  font-weight: 400 500;
  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: 'Archivo';
  font-style: normal;
  font-weight: 400 500;
  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;
}

/* -------------------------------------------------- Tokens */
:root {
  /* palette */
  --bg: #F2EDEB;
  --bg-alt: #E8E4E1;
  --ink: #221F20;
  --ink-soft: rgba(34, 31, 32, .62);
  --rule: rgba(34, 31, 32, .18);

  /* type families */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* fluid type scale (clamp: min / preferred / max) */
  --fs-hero-tag: clamp(1.15rem, 1.4vw + .7rem, 1.6rem);
  --fs-display: clamp(2.1rem, 4.2vw + .6rem, 4rem);   /* big serif statements ~64px */
  --fs-h2: clamp(1.95rem, 3.8vw + .5rem, 3.25rem);
  --fs-h3: clamp(1.35rem, 1.1vw + 1rem, 1.75rem);     /* card titles ~28px */
  --fs-body: clamp(1.0625rem, .4vw + .95rem, 1.125rem);
  --fs-stat: clamp(2.4rem, 3.4vw + 1rem, 3.5rem);     /* ~56px */
  --fs-footer: clamp(2.5rem, 6vw + .5rem, 5rem);
  --fs-label: clamp(.72rem, .2vw + .68rem, .8125rem);

  /* layout */
  --maxw: 1370px;
  --pad: clamp(20px, 4vw, 36px);
  --header-h: clamp(64px, 8vw, 88px);
  --section-gap: clamp(90px, 14vw, 180px);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fall-ease: cubic-bezier(.3, .9, .35, 1.15);   /* letter drop-in: slight overshoot settle */
}

/* -------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.02; }
::selection { background: var(--ink); color: var(--bg); }

/* -------------------------------------------------- Utilities */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.rule { border: 0; border-top: 1px solid var(--rule); width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* caps label - Archivo, small, tracked, uppercase (often wrapped in parens in copy) */
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}
.label--soft { color: var(--ink-soft); }

/* arrow link - caps label + inline arrow that nudges on hover */
.arrow-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.arrow-link .arw { transition: transform .35s var(--ease); }
.arrow-link:hover .arw { transform: translateX(6px); }
.arw { flex: none; }

/* -------------------------------------------------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.4vw + .6rem, 1.4rem);
  letter-spacing: .02em;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--ink);
}
/* Brand mark: hexagon with inscribed V, sits immediately left of the wordmark */
.wordmark__mark {
  flex: none;
  width: 27px;
  height: 27px;
  stroke-width: 3.4;
  transform: translateY(-3px);
}
.wordmark__text { line-height: 1; }
.nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
}
.nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }

.header-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: inline-block; }
/* tiny brand mark standing in for the header meta dot (WAW <mark> time) */
.meta-mark { flex: none; width: 9px; height: 9px; }
#clock { font-variant-numeric: tabular-nums; min-width: 4ch; }

/* burger - hidden on desktop */
.burger {
  justify-self: end;
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  padding: 10px 6px;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger span + span { margin-top: 6px; }

/* mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--pad);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 11vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.mobile-menu .mm-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -------------------------------------------------- Layout scaffold */
main { display: block; }
.section { padding-block: clamp(64px, 10vw, 130px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }

/* -------------------------------------------------- Hero */
.hero {
  position: relative;
  padding-top: var(--header-h);
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__inner { position: relative; width: 100%; }
.hero__tag {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-hero-tag);
  line-height: 1.25;
  max-width: 22ch;
  margin-left: auto;               /* top-right */
  text-align: left;
  padding-top: clamp(28px, 6vw, 64px);
  padding-bottom: clamp(40px, 9vw, 120px);
  display: flex;
  gap: .7em;
}
.hero__tag .tick {
  flex: none;
  width: 1.6em; height: 1px;
  background: var(--ink);
  margin-top: .75em;
}
/* tumbled display letters - L V B K ® scattered like the reference */
.hero__letters {
  display: flex;
  align-items: flex-end;
  font-family: var(--serif);
  font-weight: 300;
  line-height: .7;
  font-size: clamp(5.5rem, 34vw, 30rem);
  color: var(--ink);
  margin-left: -.04em;
  margin-bottom: -.06em;           /* let baselines overlap the rule below */
  user-select: none;
  pointer-events: none;
}
/* Each letter's final tumbled transform lives in per-letter custom props
   (--rot / --ty) plus a stagger delay (--drop). The same values drive both
   the static no-JS state (rule below) and the JS drop-in animation further
   down, so the two can never disagree. */
.hl {
  display: inline-block;
  transform-origin: bottom center;
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0));
}
.hl--l { --rot: -5deg; --ty: 2%;  --drop: 0ms; }
.hl--v { --rot: 8deg;  --ty: -9%; --drop: 110ms; margin-left: -.05em; }
.hl--b { --rot: -9deg; --ty: 5%;  --drop: 220ms; margin-left: -.02em; }
.hl--k { --rot: 5deg;  --ty: -5%; --drop: 330ms; margin-left: -.05em; }
/* ® keeps its bespoke superscript transform; it only fades in (last). */
.hl--r { font-size: .17em; margin-left: -.2em; transform: translateY(-260%) rotate(-4deg); }

/* -------- JS drop-in: letters start upright, then fall into place --------
   Under html.js the four caps reset to upright and hold; when script.js adds
   .letters-drop to the container (after webfonts are ready) each one tumbles
   to its final transform with a left-to-right stagger and an overshoot
   settle. The ® fades in once the letters have landed. */
html.js .hero__letters .hl:not(.hl--r) {
  transform: none;
  transition: transform .9s var(--fall-ease);
  transition-delay: var(--drop, 0ms);
  will-change: transform;
}
html.js .hero__letters.letters-drop .hl:not(.hl--r) {
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0));
}
html.js .hero__letters .hl--r {
  opacity: 0;
  transition: opacity .5s var(--ease);
  transition-delay: .8s;
}
html.js .hero__letters.letters-drop .hl--r { opacity: 1; }

/* -------------------------------------------------- Logo / client row */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 72px);
}
.logos li {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: .04em;
  color: var(--ink);
  opacity: .8;
}

/* -------------------------------------------------- Two-column statement + image */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.split__media { width: 100%; max-width: 420px; justify-self: end; }
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 32ch;
}
.statement--wide { max-width: 34ch; }
.statement p + p { margin-top: .6em; }
.statement-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: .01em;
  line-height: 1.35;
  text-transform: uppercase;
  max-width: 26ch;
}
.mt-cta { margin-top: clamp(28px, 4vw, 48px); }

/* -------------------------------------------------- Image placeholder mat */
.img-ph {
  background-color: var(--bg-alt);
  /* faint centered brand watermark behind the caps label (data-URI, no request) */
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20fill='none'%20stroke='%23221F20'%20stroke-opacity='0.12'%20stroke-width='2'%20stroke-linejoin='round'%20stroke-linecap='round'%3E%3Cpath%20d='M50%206%2088.11%2028%2088.11%2072%2050%2094%2011.89%2072%2011.89%2028Z'/%3E%3Cpath%20d='M11.89%2028%2050%2094%2088.11%2028'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 64px auto;
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 10%;
  text-align: center;
}
.img-ph span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.img-ph--wide { aspect-ratio: 16 / 11; }
.img-ph--square { aspect-ratio: 1 / 1; }
.img-ph--tall { aspect-ratio: 3 / 4; }

/* Real images that replace the .img-ph mats. The WHOLE screenshot is shown
   inside a fixed-ratio frame on the --bg-alt tint mat, never a zoomed crop:
   landscape app dashboards sit matted (object-fit: contain) so the entire
   dashboard reads; tall screenshots opt into --cover so they fill the frame
   top-anchored and show the site's top recognizably. */
.card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 4 / 3;               /* work-listing tile: consistent landscape mat */
  background-color: var(--bg-alt);
}
.card-img--wide { aspect-ratio: 16 / 11; }   /* home featured cards (landscape dashboards, contained full) */
/* Tall/portrait screenshots (full-page sites, mobile-app captures): fill the
   frame from the top instead of shrinking into side mats. */
.card-img--cover { object-fit: cover; object-position: top; }
/* Portrait PHOTO (about + home split): fills its 3:4 frame, not matted. */
.card-img--tall { aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }

/* Journal illustration mat (blog listing + home journal teaser) */
.post-art {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 7;
  object-fit: contain;
  padding: 9%;
  background-color: var(--bg-alt);
  border: 1px solid var(--rule);
}

/* -------------------------------------------------- Browser-frame window
   Minimal, two-tone chrome that wraps a COMPLETE product screenshot: a thin
   top bar (a small dot cluster left + a faux address pill in Archivo caps,
   centred) over the dashboard image shown at its natural aspect, so nothing
   is ever cropped. Editorial ink-lines on cream, not glossy macOS chrome.
   Used by the app case-study heroes/figures and the home band. */
.browser {
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(34, 31, 32, .03), 0 22px 50px -30px rgba(34, 31, 32, .4);
}
.browser__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: clamp(34px, 3.2vw, 46px);
  padding-inline: clamp(12px, 1.4vw, 18px);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.browser__dots { justify-self: start; display: inline-flex; gap: 7px; }
.browser__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--rule);
}
.browser__url {
  justify-self: center;
  max-width: 100%;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(.62rem, .4vw + .5rem, .75rem);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .34em 1.15em;
}
.browser__img {
  display: block;
  width: 100%;
  height: auto;              /* natural aspect: the whole dashboard, uncropped */
  background: var(--bg-alt);
}

/* -------------------------------------------------- Proof / stat row */
.proof-head { text-align: center; margin-bottom: clamp(48px, 8vw, 96px); }
.proof {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-stat);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__label {
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* -------------------------------------------------- Centered image band */
.band { text-align: center; }
.band__media { max-width: 640px; margin-inline: auto; }
/* framed variant: a complete dashboard in the browser window, a touch wider */
.band__media--frame { max-width: 860px; }
.band__caption {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 34ch;
  margin-inline: auto;
}
.band__cta { margin-top: clamp(24px, 3vw, 36px); }

/* -------------------------------------------------- Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.card { display: block; }
.card__media { margin-bottom: clamp(18px, 2vw, 26px); overflow: hidden; }
.card__media .img-ph,
.card__media .card-img { transition: transform .6s var(--ease); }
.card:hover .card__media .img-ph,
.card:hover .card__media .card-img { transform: scale(1.02); }
.card__client {
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card__title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.1;
  margin-top: 10px;
  max-width: 18ch;
  margin-inline: auto;
}
.card__tags {
  text-align: center;
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -------------------------------------------------- Blog teaser (2-up) */
.posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.post { display: block; }
.post__media { margin-bottom: clamp(16px, 2vw, 24px); overflow: hidden; }
.post__cat {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.post__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.12;
  margin-top: 10px;
  max-width: 22ch;
}
.post__excerpt { margin-top: 12px; color: var(--ink-soft); max-width: 40ch; }

/* -------------------------------------------------- Numbered index rows (services etc.) */
.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}
.index-row:last-child { border-bottom: 1px solid var(--rule); }
.index-row__num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.index-row__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.index-row__desc {
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}
.index-row__price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  white-space: nowrap;
}

/* -------------------------------------------------- Section heading pattern */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
}

/* -------------------------------------------------- Footer */
.site-footer { padding-top: clamp(56px, 8vw, 96px); }
.footer-crumb { margin-top: clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); color: var(--ink-soft); }
/* brand mark above the giant "Let's build something." statement */
.footer-mark {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--ink);
  stroke-width: 3.4;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.footer-giant {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-footer);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 12ch;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr .8fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-col__head {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-address {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}
.footer-links a { transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--ink); }

/* newsletter form */
.newsletter { max-width: 420px; }
.newsletter__field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
.newsletter__field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .02em;
}
.newsletter__field input::placeholder { color: var(--ink-soft); }
.newsletter__field input:focus { outline: none; }
.icon-btn {
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}
.icon-btn .arw { transition: transform .35s var(--ease); }
.icon-btn:hover .arw { transform: translateX(5px); }
.form-note {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
  min-height: 1.2em;
}
.form-note--error { color: var(--ink); }
.getintouch { margin-top: clamp(28px, 4vw, 40px); }
.getintouch a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  border-bottom: 1px solid var(--rule);
  transition: border-color .25s var(--ease);
}
.getintouch a:hover { border-color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-block: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-bottom p {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -------------------------------------------------- 404 */
.notfound {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) var(--pad) 0;
  gap: 24px;
}
/* large faint brand mark behind the 404 headline */
.notfound__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 50vw, 360px);
  height: auto;
  color: var(--ink);
  stroke-width: 1.6;
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}
.notfound > :not(.notfound__mark) { position: relative; z-index: 1; }
.notfound__code {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(6rem, 26vw, 18rem);
  line-height: .8;
  letter-spacing: -.04em;
}
.notfound__msg {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  letter-spacing: -.02em;
  max-width: 16ch;
}

/* -------------------------------------------------- Reveal animations
   Default (no-js): everything visible. When JS adds .js to <html>,
   .reveal elements start hidden and fade/slide in via .in. */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; }

/* staggered children - each direct .reveal child delayed in sequence */
html.js .stagger > .reveal:nth-child(1) { transition-delay: 0s; }
html.js .stagger > .reveal:nth-child(2) { transition-delay: .08s; }
html.js .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
html.js .stagger > .reveal:nth-child(4) { transition-delay: .24s; }
html.js .stagger > .reveal:nth-child(5) { transition-delay: .32s; }
html.js .stagger > .reveal:nth-child(6) { transition-delay: .40s; }

/* -------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  /* header collapses to burger */
  .nav, .header-meta { display: none; }
  .burger { display: block; }
  .site-header__inner { grid-template-columns: 1fr auto; }

  .split { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 48px); }
  .split__media { justify-self: start; }
  .proof { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 6vw, 48px) 24px; }
  .posts { grid-template-columns: 1fr; }
  .index-row { grid-template-columns: auto 1fr; row-gap: 10px; }
  .index-row__price { grid-column: 2; justify-self: start; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .logos { justify-content: flex-start; gap: 20px 32px; }
  .hero__tag { max-width: 100%; }
}

@media (max-width: 400px) {
  .proof { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  /* Hero letters: skip the drop, render in the final tumbled state at once. */
  html.js .hero__letters .hl:not(.hl--r) {
    transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0));
    transition: none;
  }
  html.js .hero__letters .hl--r { opacity: 1; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
