/* =============================================================================
   GRASSY TO CLASSY · single stylesheet
   Tokens from StartingSpec.md §6, components from §7. Lime-led hardcoded.
   ============================================================================= */

/* ------------------------------------------------------------------ Fonts -- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-800.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrainsmono-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/jetbrainsmono-600.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/caveat-700.woff2") format("woff2");
}

/* ----------------------------------------------------------------- Tokens -- */

:root {
  /* Core ink + paper */
  --ink:        #061410;
  --forest:     #0d2a1c;
  --forest-2:   #133a26;
  --moss:       #1c4a30;
  --paper:      #f3f5ee;
  --paper-2:    #e8ece1;
  --paper-3:    #dde3d4;
  --stone:      #2a2e2a;

  /* Rules + muted */
  --rule-d:     rgba(255, 255, 255, 0.12);
  --rule-l:     rgba(10, 14, 10, 0.10);
  --mute-d:     rgba(255, 255, 255, 0.62);
  --mute-l:     rgba(10, 14, 10, 0.62);

  /* Hi-viz */
  --orange:     #ff5a1f;
  --orange-h:   #ff7038;
  --lime:       #c6f24e;

  /* Accent direction: lime-led (locked) */
  --cta:        var(--lime);
  --cta-h:      #d8ff66;
  --cta-ink:    #0a0e0a;
  --cta-ink-accent: #4a7a0e;  /* darker grass-green: text-accent on light paper (em, dot, drop cap, quote mark). Lime stays for fills. */
  --accent:     var(--orange);

  /* Type */
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand: "Caveat", "Manrope", cursive;

  /* Spacing */
  --pad-x:        clamp(20px, 5vw, 80px);
  --gap-section:  clamp(72px, 10vw, 160px);
  --maxw:         1440px;
}

/* ------------------------------------------------------------------ Reset -- */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
input, textarea, select { font: inherit; color: inherit; }

/* --------------------------------------------------------------- Base type -- */

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

/* Headings */
.h1, h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-wrap: balance;
  margin: 0;
}
.h2, h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
.h3, h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--mute-l);
  text-wrap: pretty;
}
.dark .lede,
[data-bg="dark"] .lede,
[data-bg="ink"] .lede,
[data-bg="forest"] .lede { color: var(--mute-d); }

/* Italic-lime emphasis pattern */
em {
  font-style: italic;
  font-weight: 800;
  color: var(--cta-ink-accent);
  font-synthesis: none;
}
[data-bg="ink"] em,
[data-bg="forest"] em,
.hero em,
.fcta em {
  color: var(--cta);
}

/* Mono labels */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mono-sm { font-size: 12px; letter-spacing: 0.14em; }
.mono-lg { font-size: 14px; letter-spacing: 0.10em; }

/* Lime period — used at end of H2s */
.dot { color: var(--cta-ink-accent); }
[data-bg="ink"] .dot,
[data-bg="forest"] .dot,
.hero .dot,
.fcta .dot {
  color: var(--cta);
}

/* ----------------------------------------------------------------- Layout -- */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section {
  padding-top: var(--gap-section);
  padding-bottom: calc(var(--gap-section) * 0.6);
}
.section-tight {
  padding-top: calc(var(--gap-section) * 0.6);
  padding-bottom: calc(var(--gap-section) * 0.36);
}

/* When two sections share a background, the eye reads stacked padding as one
   big empty band — collapse the top padding on the second so a single section's
   gap does the spacing work. */
.section[data-bg="paper"]   + .section[data-bg="paper"],
.section[data-bg="paper-2"] + .section[data-bg="paper-2"],
.section[data-bg="ink"]     + .section[data-bg="ink"],
.section[data-bg="forest"]  + .section[data-bg="forest"] {
  padding-top: 0;
}

[data-bg="ink"]    { background: var(--ink);    color: var(--paper); }
[data-bg="forest"] { background: var(--forest); color: var(--paper); }
[data-bg="paper"]  { background: var(--paper);  color: var(--ink); }
[data-bg="paper-2"]{ background: var(--paper-2);color: var(--ink); }

/* ---------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }

.btn-primary {
  background: var(--cta);
  color: var(--cta-ink);
  border-color: var(--cta);
}
.btn-primary:hover { background: var(--cta-h); border-color: var(--cta-h); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10,14,10,0.55);
}
.btn-ghost-light:hover { background: rgba(10,14,10,0.04); transform: translateY(-1px); }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 160ms ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn-arrow::after { transition: none; }
  .btn:hover { transform: none; }
}

/* -------------------------------------------------------------- Nav (top) -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 10, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--paper);
  border-bottom: 1px solid var(--rule-d);
}
.nav.solid {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 10px; height: 10px;
  background: var(--cta);
  transform: rotate(45deg);
  display: inline-block;
  flex: 0 0 auto;
  align-self: center;
}
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-loc {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-left: 4px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-self: end;
}
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--cta); }
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--cta);
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.10em;
}
.nav-phone::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
  display: inline-block;
}
.nav-cta { padding: 10px 16px; min-height: 0; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-d);
  border-radius: 2px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--paper);
  transition: transform 160ms ease, opacity 120ms ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top:  6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(0) translateY(6px); opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: rotate(-90deg) translateY(0); top: 0; }

.nav-drawer {
  display: none;
}

@media (max-width: 820px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .brand-loc { display: none; }

  .nav-drawer {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid var(--rule-d);
    border-bottom: 1px solid var(--rule-d);
    padding: 18px var(--pad-x) 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 160ms ease;
  }
  .nav-drawer[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-drawer ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 4px;
  }
  .nav-drawer a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--paper);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-d);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  .nav-drawer a[aria-current="page"] { color: var(--cta); }
  .nav-drawer a .num {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--mute-d);
  }
  .nav-drawer .drawer-phone {
    margin-top: 18px;
    display: flex; align-items: center; gap: 10px;
    color: var(--paper);
    text-decoration: none;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.10em;
  }
  .nav-drawer .drawer-phone::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,90,31,0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-drawer { transition: none; }
}

/* ---------------------------------------------------------- Section heads -- */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  border-top: 1px solid var(--rule-l);
  padding-top: 28px;
  position: relative;
  margin-bottom: clamp(36px, 5vw, 64px);
}
[data-bg="forest"] .sec-head,
[data-bg="ink"] .sec-head { border-top-color: var(--rule-d); }
.sec-head::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 28%;
  height: 2px;
  background: var(--cta);
}
.sec-head .kicker {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
  margin-bottom: 14px;
  display: block;
}
[data-bg="forest"] .sec-head .kicker,
[data-bg="ink"] .sec-head .kicker { color: var(--mute-d); }
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ------------------------------------------------------------------ Hero -- */

.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 820px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.9) contrast(1.05) brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 0 1px,
      transparent 1px 14px
    ),
    linear-gradient(180deg, rgba(6,20,16,0.10) 0%, rgba(6,20,16,0.85) 90%);
}
.hero-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(60px, 10vw, 120px) var(--pad-x) clamp(48px, 8vw, 96px);
  width: 100%;
}
.hero-kicker {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: clamp(20px, 3vw, 36px);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-kicker::before {
  content: "";
  width: 24px; height: 1px; background: var(--cta);
}
.hero-wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 232px);
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-wrap: balance;
  margin: 0;
  color: var(--paper);
}
.hero-wordmark .arrow {
  color: var(--cta);
  font-weight: 800;
  margin: 0 0.06em;
  display: inline-block;
}
.hero-wordmark em { color: var(--cta); }
.hero-sub {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 56ch;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--mute-d);
  line-height: 1.45;
}
.hero-actions {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* ----------------------------------------------------------- Trust strip -- */

.trust {
  background: var(--paper);
  border-block: 1px solid var(--rule-l);
}
.trust-row {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.trust-cell {
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--rule-l);
}
.trust-cell:first-child { border-left: 0; padding-left: 0; }
.trust-cell:last-child { padding-right: 0; }
.trust-cell .label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
}
.trust-cell .value {
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-cell:nth-child(odd)  { border-left: 0; padding-left: 0; }
  .trust-cell:nth-child(even) { padding-right: 0; }
  .trust-cell:nth-child(n+3)  { border-top: 1px solid var(--rule-l); }
}
@media (max-width: 520px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-cell { border-left: 0; padding-inline: 0; }
  .trust-cell:not(:first-child) { border-top: 1px solid var(--rule-l); }
}

/* ------------------------------------------------------------ Photo strip -- */

.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 14px);
}
.photo-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.photo-cell picture {
  display: block;
  width: 100%; height: 100%;
}
.photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-cell--bottom img { object-position: center 60%; }
.photo-cell--contain { background: var(--ink); }
.photo-cell--contain img { object-fit: contain; }
.photo-cell .caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(6,20,16,0.78);
  color: var(--paper);
  padding: 6px 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-cell .caption::before {
  content: "● ";
  color: var(--cta);
}
@media (max-width: 720px) {
  .photos { grid-template-columns: 1fr; }
}

.photo-banner {
  position: relative;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--paper-2);
}
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }
.photo-banner .caption {
  position: absolute;
  left: var(--pad-x); bottom: 18px;
  background: rgba(6,20,16,0.78);
  color: var(--paper);
  padding: 8px 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-banner .caption::before { content: "● "; color: var(--cta); }
@media (max-width: 720px) {
  .photo-banner { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------- Tiles -- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-l);
  border-left: 1px solid var(--rule-l);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--paper);
  border-right: 1px solid var(--rule-l);
  border-bottom: 1px solid var(--rule-l);
  transition: background-color 160ms ease;
}
.tile:hover { background: var(--paper-2); }
.tile-photo {
  height: 140px;
  overflow: hidden;
  background: var(--paper-2);
}
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-body {
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
}
.tile h3 { font-size: 22px; }
.tile p { color: var(--mute-l); margin: 0; }

@media (max-width: 980px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .tiles { grid-template-columns: 1fr; }
}

.tiles-after {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* ------------------------------------------------------ Note from Jeremy -- */

.note {
  background: var(--paper-2);
  border-block: 1px solid var(--rule-l);
}
.note-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.note .kicker {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
}
.note p {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.signoff {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--ink);
  display: inline-block;
  transform: rotate(-2deg);
  margin-top: 12px;
  line-height: 1;
}
@media (max-width: 760px) {
  .note-inner { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- Why -- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.why-item {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--rule-d);
}
.why-item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 28%;
  height: 2px;
  background: var(--cta);
}
.why-stat {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(64px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 18px;
  color: var(--paper);
}
.why-stat em { color: var(--cta); }
.why-item h3 { color: var(--paper); margin-bottom: 12px; }
.why-item p { color: var(--mute-d); margin: 0; }
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------- Where I work -- */

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.area-list {
  list-style: none;
  margin: 0; padding: 0;
}
.area-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-l);
}
.area-row:last-child { border-bottom: 1px solid var(--rule-l); }
.area-row .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mute-l);
}
.area-row .name {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
}
.area-row .cities {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.10em;
  color: var(--mute-l);
  text-transform: uppercase;
  text-align: right;
}
.area-map {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border: 1px solid var(--rule-l);
  position: relative;
  overflow: hidden;
}
.area-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-map .caption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(6,20,16,0.78);
  color: var(--paper);
  padding: 7px 11px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.area-map .caption::before { content: "● "; color: var(--cta); }
.area-closer {
  margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--mute-l);
}
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: 36px 1fr; }
  .area-row .cities { grid-column: 2; text-align: left; }
}

/* ------------------------------------------------------------ Quotes -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.quote {
  padding: 36px 28px;
  border: 1px solid var(--rule-l);
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote::before {
  content: "“";
  font-family: var(--sans);
  font-weight: 800;
  font-size: 80px;
  line-height: 0.7;
  color: var(--cta-ink-accent);
  position: absolute;
  top: 14px; left: 18px;
  pointer-events: none;
}
.quote-body {
  margin-top: 32px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink);
}
.quote-cite {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-l);
  margin-top: auto;
}
.quote.empty {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(10,14,10,0.04) 0 8px,
      transparent 8px 16px
    ),
    var(--paper-2);
  color: var(--mute-l);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
}
.quote.empty::before { display: none; }
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote.empty:last-child { display: none; }
}
@media (max-width: 600px) {
  .quotes { grid-template-columns: 1fr; }
  .quote.empty { display: none; }
}

/* ----------------------------------------------------------- Final CTA -- */

.fcta {
  background: var(--ink);
  color: var(--paper);
}
.fcta-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(72px, 10vw, 140px) var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.fcta h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--paper);
}
.fcta-body { color: var(--mute-d); }
.fcta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .fcta-inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- Footer -- */

.foot {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--rule-d);
}
.foot-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x) 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.foot h4 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin: 0 0 18px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--paper); text-decoration: none; font-size: 16px; }
.foot a:hover { color: var(--cta); }
.foot-brand .wordmark {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.foot-brand .wordmark .arrow { color: var(--cta); }
.foot-brand p {
  margin-top: 16px;
  color: var(--mute-d);
  font-size: 15px;
  max-width: 36ch;
}
.foot-bottom {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 22px var(--pad-x) 32px;
  border-top: 1px solid var(--rule-d);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-d);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .foot-inner { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- Tap-call -- */

.tap-call {
  display: none;
  position: fixed;
  left: 16px; right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  text-decoration: none;
  background: var(--cta);
  color: var(--cta-ink);
  border-radius: 4px;
  padding: 12px 16px 14px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.55), 0 4px 0 rgba(0,0,0,0.06);
  text-align: center;
}
.tap-call .label {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}
.tap-call .num {
  display: block;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
@media (max-width: 720px) {
  .tap-call { display: block; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ----------------------------------------------------------------- Form -- */

.form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-d);
}
[data-bg="paper"] .form-field label,
.form.on-light .form-field label { color: var(--mute-l); }

.form-field input,
.form-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--rule-d);
  color: var(--paper);
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0 10px;
  border-radius: 0;
  width: 100%;
  min-height: 44px;
  outline: none;
  transition: border-color 140ms ease;
}
.form-field textarea {
  min-height: 96px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--mute-d);
  opacity: 0.55;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-bottom-color: var(--cta);
}
.form-field .req {
  color: var(--cta);
  margin-left: 4px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0; width: 0;
  opacity: 0;
}

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-d);
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-d);
}
.form-note.success {
  color: var(--cta);
}
.form-note.error {
  color: #ff8a6a;
}
.form-submit button { min-width: 180px; justify-content: center; }

@media (max-width: 480px) {
  .form-submit { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-submit button { width: 100%; min-width: 0; }
  .form-note { order: 2; text-align: center; }
}

/* ---------------------------------------------------- Contact meta panel -- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: clamp(28px, 4vw, 44px);
}
.contact-meta dt {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 8px;
}
.contact-meta dd {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}
.contact-meta dd a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--rule-d); }
.contact-meta dd a:hover { color: var(--cta); border-bottom-color: var(--cta); }
.contact-meta .small { font-size: 15px; font-weight: 500; color: var(--mute-d); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- Three ways to reach me -- */

.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.way {
  background: var(--paper);
  border: 1px solid var(--rule-l);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.way .label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
}
.way h3 { font-size: 22px; }
.way p { color: var(--mute-l); }
.way a { font-weight: 700; }
@media (max-width: 800px) {
  .ways { grid-template-columns: 1fr; }
}

/* ------------------------------------------- Services page — service group -- */

.svc-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--rule-l);
}
.svc-group:first-of-type { border-top: 0; padding-top: 0; }
.svc-group .group-num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
  margin-bottom: 14px;
}
.svc-group .group-title {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 800;
}
.svc-list {
  list-style: none;
  margin: 0; padding: 0;
}
.svc-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-l);
}
.svc-item:first-child { border-top: 0; padding-top: 0; }
.svc-item:last-child  { padding-bottom: 0; }
.svc-item .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mute-l);
  padding-top: 6px;
}
.svc-item h3 { font-size: 22px; margin-bottom: 6px; }
.svc-item p  { color: var(--mute-l); margin: 0; }
@media (max-width: 760px) {
  .svc-group { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 36px 1fr; gap: 14px; }
}

/* ----------------------------------------------- About page — body block -- */

.about-body {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about-photo {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  margin: 0;
}
.about-photo picture,
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.about-photo .caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(6,20,16,0.78);
  color: var(--paper);
  padding: 6px 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-photo .caption::before {
  content: "● ";
  color: var(--cta);
}
.about-meta {
  display: grid;
  gap: 24px;
}
.about-meta .row .label {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
  margin-bottom: 6px;
}
.about-meta .row .value {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}
.about-prose p {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink);
}
.about-prose p + p { margin-top: 1.1em; }
.about-prose p:first-child::first-letter {
  initial-letter: 3 2;
  -webkit-initial-letter: 3 2;
  font-weight: 800;
  font-size: 4.4em;
  line-height: 0.9;
  margin: 0.05em 0.12em 0 0;
  float: left;
  color: var(--cta-ink-accent);
}
@media (max-width: 760px) {
  .about-body { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .about-prose p:first-child::first-letter {
    initial-letter: 2 2;
    -webkit-initial-letter: 2 2;
    font-size: 3.4em;
  }
}

/* ----------------------------------------------- About page — facts strip -- */

.facts {
  background: var(--paper-2);
  border-block: 1px solid var(--rule-l);
}
.facts-row {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 28px 18px;
  border-left: 1px solid var(--rule-l);
  display: flex; flex-direction: column; gap: 8px;
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact .label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-l);
}
.fact .value {
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
@media (max-width: 820px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(odd)  { border-left: 0; padding-left: 0; }
  .fact:nth-child(even) { padding-right: 0; }
  .fact:nth-child(n+3)  { border-top: 1px solid var(--rule-l); }
}
@media (max-width: 480px) {
  .facts-row { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-inline: 0; }
  .fact:not(:first-child) { border-top: 1px solid var(--rule-l); }
}

/* ------------------------------------------------------- 404 fallback -- */

.lost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-block: clamp(72px, 12vw, 160px);
}
.lost h1 {
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.lost p { max-width: 50ch; color: var(--mute-l); }

/* --------------------------------------------------------- Misc helpers -- */

.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(10,14,10,0.06) 0 10px,
      transparent 10px 20px
    ),
    var(--paper-2);
  color: var(--mute-l);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Selection */
::selection { background: var(--cta); color: var(--cta-ink); }
