/* American Arborline — main stylesheet */

:root {
  --ink: #14110f;
  --ink-2: #1c1815;
  --ink-3: #26211d;
  --line: rgba(244, 238, 230, 0.12);
  --line-strong: rgba(244, 238, 230, 0.22);
  --text: #f4eee6;
  --muted: #b9ada0;
  --paper: #f3eee6;
  --paper-2: #e9e2d7;
  --paper-ink: #1d1916;
  --paper-muted: #5e544a;
  --paper-line: rgba(29, 25, 22, 0.14);
  --accent: #e8823a;
  --accent-hover: #f39550;
  --accent-ink: #a9531b;
  --on-accent: #1a0f07;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --radius: 4px;
  --header-h: 76px;
  --section-y: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  /* Sized to the column so "MANUFACTURE." always fits on one line. */
  font-size: min(8.25rem, 100cqi / 7.9);
  font-stretch: 88%;
  font-weight: 850;
  line-height: .88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-stretch: 112%; font-weight: 800; line-height: .98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 110%; font-weight: 780; line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 106%; font-weight: 740; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 38em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 650; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover .i { transform: translateX(3px); }
.text-link .i { transition: transform .25s var(--ease); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(20, 17, 15, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 46px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: none; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 550; text-decoration: none; color: var(--text);
  border-radius: var(--radius);
}
.nav-link:hover, .nav-trigger[aria-expanded="true"] { color: var(--accent); }
.i-chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 8px 32px;
  width: max-content; padding: 28px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s var(--ease); }
.mega-label { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega ul a { display: block; padding: 7px 0; text-decoration: none; font-weight: 550; }
.mega ul a:hover { color: var(--accent); }
.mega-all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; text-decoration: none; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 16px 0 40px; background: var(--ink); border-top: 1px solid var(--line); }
.mobile-list > li { border-bottom: 1px solid var(--line); }
.mobile-list > li > a { display: block; padding: 16px 0; font-size: 1.6rem; font-stretch: 110%; font-weight: 750; text-decoration: none; }
.mobile-sub { padding: 0 0 16px; columns: 2; column-gap: 16px; }
.mobile-sub a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 15px; }
.mobile-actions { display: grid; gap: 12px; margin-top: 28px; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav, .header-phone, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .brand img { height: 40px; }
}
@media (min-width: 901px) { .mobile-nav { display: none !important; } }

/* ---------- sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .lead { color: var(--paper-ink); }
.section--paper .eyebrow { color: var(--accent-ink); }
.section--paper p { color: var(--paper-muted); }
.section--paper .lead, .section--paper h2 + p.lead { color: var(--paper-ink); }
.section--paper .btn--ghost { color: var(--paper-ink); border-color: var(--paper-line); }
.section--paper .btn--ghost:hover { border-color: var(--paper-ink); }
.section--paper .text-link { color: var(--accent-ink); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--row .eyebrow { margin-bottom: 16px; }
.section-head--row .h2 { max-width: 16em; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(232, 130, 58, .10), transparent 60%),
    var(--ink);
}
.toolpath { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tp-guides rect { fill: none; stroke: var(--text); stroke-opacity: .05; stroke-width: 1; }
.tp-live { fill: none; stroke: var(--accent); stroke-opacity: .55; stroke-width: 1.5; stroke-linecap: round; }
.tp-cutter { fill: var(--accent); filter: drop-shadow(0 0 10px rgba(232, 130, 58, .9)); opacity: 0; }
.js .tp-cutter { opacity: 1; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { container-type: inline-size; }
.hero-copy .lead { margin-top: 28px; color: var(--muted); }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-stats dd { margin: 4px 0 0; font-weight: 700; font-stretch: 108%; font-size: 1.05rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.readout {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; gap: 14px; padding: 9px 14px;
  font-size: 12px; color: var(--text);
  background: rgba(20, 17, 15, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
}
.readout span:first-child::before { content: "●"; color: var(--accent); margin-right: 8px; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
  .hero-stats dd { margin: 0; text-align: right; }
  .readout { gap: 10px; font-size: 11px; }
  .hero-media::before { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--accent); color: var(--on-accent); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.marquee b { font-size: clamp(1.1rem, 2vw, 1.5rem); font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.marquee i { font-style: normal; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- split / collage ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev .split-copy { order: 2; }
.split-copy .h2 { margin-bottom: 24px; }
.split-copy .lead { margin-bottom: 20px; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.collage { position: relative; aspect-ratio: 1 / 1; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.collage-a { top: 0; right: 0; width: 72%; height: 72%; }
.collage-b { left: 0; bottom: 0; width: 56%; height: 50%; border: 8px solid var(--paper); }
.section:not(.section--paper) .collage-b { border-color: var(--ink); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-copy { order: 0; }
  .collage { max-width: 520px; }
}

/* ---------- service cards ---------- */
.service-group + .service-group { margin-top: clamp(48px, 6vw, 72px); }
.group-label { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column;
  text-decoration: none; background: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .35s var(--ease);
}
.card:hover { border-color: rgba(232, 130, 58, .6); transform: translateY(-4px); }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-num { font-size: 12px; color: var(--accent); }
.card-title { margin: 8px 0 10px; font-size: 1.35rem; font-stretch: 108%; font-weight: 750; }
.card-body p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 650; color: var(--text); }
.card-link .i { transition: transform .25s var(--ease); }
.card:hover .card-link { color: var(--accent); }
.card:hover .card-link .i { transform: translateX(4px); }
.section--paper .card { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.section--paper .card-body p { color: var(--paper-muted); }
.section--paper .card-link { color: var(--paper-ink); }
.section--paper .card-num, .section--paper .card:hover .card-link { color: var(--accent-ink); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .card-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid, .card-grid--3 { grid-template-columns: 1fr; } .section-head--row { flex-direction: column; align-items: flex-start; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--paper-line); }
.section:not(.section--paper) .steps { border-color: var(--line); }
.step { position: relative; padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--paper-line); }
.section:not(.section--paper) .step + .step { border-color: var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step + .step::before { left: 28px; }
.step-num { font-size: 13px; color: var(--accent-ink); }
.section:not(.section--paper) .step-num { color: var(--accent); }
.step h3 { margin: 14px 0 12px; font-size: 1.4rem; font-stretch: 108%; }
.step p { font-size: 15.5px; color: var(--paper-muted); }
.section:not(.section--paper) .step p { color: var(--muted); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--paper-line); }
  .section:not(.section--paper) .step:nth-child(n+3) { border-top-color: var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step::before { left: 0; }
  .step + .step { border-top: 1px solid var(--paper-line); }
  .section:not(.section--paper) .step + .step { border-top-color: var(--line); }
}

/* ---------- why ---------- */
.why { overflow: hidden; }
.why-bg { position: absolute; inset: 0; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.why-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(20, 17, 15, .7) 60%, rgba(20, 17, 15, .85)); }
.why-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.big-num { margin: 0 0 8px; font-size: clamp(7rem, 18vw, 15rem); font-stretch: 125%; font-weight: 900; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.big-num span { color: var(--accent); -webkit-text-stroke: 0; }
.why-copy .lead { margin-bottom: 28px; }
.ticks li { position: relative; padding: 16px 0 16px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks strong { display: block; color: var(--text); font-size: 1.05rem; font-weight: 700; }
.section--paper .ticks li { border-color: var(--paper-line); color: var(--paper-muted); }
.section--paper .ticks strong { color: var(--paper-ink); }
.section--paper .ticks li::before { border-color: var(--accent-ink); }
.ticks--compact { margin-top: 24px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.tools { margin-top: 48px; }
.tools .eyebrow { color: var(--muted); }
.tools ul { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.tools li { padding: 18px 20px; display: grid; gap: 4px; }
.tools li + li { border-left: 1px solid var(--line); }
.tools strong { font-stretch: 106%; font-weight: 700; font-size: 1rem; }
.tools span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 720px) {
  .tools ul { grid-template-columns: 1fr 1fr; }
  .tools li:nth-child(3) { border-left: 0; }
  .tools li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 16px; }
.gallery .tile:nth-child(1) { grid-row: span 2; }
.gallery .tile:nth-child(6) { grid-column: 1 / -1; }
.gallery--about .tile:nth-child(1) { grid-row: auto; }
.gallery--about .tile:nth-child(2) { grid-column: span 2; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.tile:hover img { transform: scale(1.04); }
.tile-label {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); background: rgba(20, 17, 15, .82); border-radius: var(--radius);
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery .tile:nth-child(1) { grid-row: auto; }
  .gallery--about .tile:nth-child(2) { grid-column: auto; }
  .gallery .tile:first-child { grid-column: span 2; }
}

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; }
.page-hero--media .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-copy .lead { margin-top: 24px; color: var(--muted); }
.page-hero-copy .h1 { max-width: 14em; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }
.contours {
  position: absolute; right: -10vw; top: 50%; z-index: 0;
  width: 70vw; max-width: 900px; aspect-ratio: 1; transform: translateY(-50%);
  background: repeating-radial-gradient(circle at center, transparent 0 34px, rgba(244, 238, 230, .05) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  pointer-events: none;
}
.page-hero--media .contours { right: auto; left: -20vw; }
.page-hero--404 { min-height: 80vh; display: flex; align-items: center; }
.page-hero--404 .lead { margin-top: 24px; color: var(--muted); }
@media (max-width: 900px) {
  .page-hero--media .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 640px; }
}

/* ---------- service feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 112px); }
.feature--rev .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.feature-num { display: block; margin-bottom: 14px; font-size: 13px; color: var(--accent-ink); }
.feature-copy .h3 { margin-bottom: 20px; color: var(--paper-ink); }
.feature-copy p { font-size: 1.05rem; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature-media { order: 0; }
}

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefits li { padding: 28px 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); }
.benefits .mono { font-size: 12px; color: var(--accent); }
.benefits h3 { margin: 28px 0 10px; font-size: 1.3rem; font-stretch: 106%; }
.benefits p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- capabilities ---------- */
.features-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.features-3 > div { padding-top: 24px; border-top: 2px solid var(--paper-ink); }
.features-3 h3 { margin-bottom: 14px; font-size: 1.35rem; font-stretch: 106%; }
.note { margin-top: clamp(40px, 5vw, 64px); padding: 28px 32px; background: var(--paper-2); border-left: 3px solid var(--accent-ink); border-radius: var(--radius); }
.note p { color: var(--paper-ink); font-size: 1.05rem; max-width: 60em; }
@media (max-width: 860px) { .features-3 { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .35s var(--ease);
}
.post-card:hover { border-color: rgba(232, 130, 58, .6); transform: translateY(-4px); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.post-card-title { margin: 12px 0 0; font-size: 1.2rem; font-stretch: 104%; font-weight: 720; line-height: 1.25; }
.post-card-body > p:not(.post-meta) { margin-top: 14px; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.post-meta span:first-child { color: var(--accent); }
.post-card .card-link { margin-top: auto; padding-top: 20px; }
.post-card:hover .card-link { color: var(--accent); }
.post-card:hover .card-link .i { transform: translateX(4px); }
.section--paper .post-card { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.section--paper .post-meta { color: var(--paper-muted); }
.section--paper .post-meta span:first-child { color: var(--accent-ink); }
.section--paper .post-card .card-link { color: var(--paper-ink); }
.section--paper .post-card:hover .card-link { color: var(--accent-ink); }
.section--paper .post-card-body > p:not(.post-meta) { color: var(--paper-muted); }
.post-card--featured { display: grid; grid-template-columns: 1.4fr 1fr; margin-bottom: 40px; }
.post-card--featured .post-card-media { aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-card-body { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.post-card--featured .post-card-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-stretch: 108%; line-height: 1.1; }
.post-card--featured .card-link { margin-top: 28px; padding-top: 0; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.topic-filter button {
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--paper-ink); background: transparent; border: 1px solid var(--paper-line); border-radius: 999px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.topic-filter button:hover { border-color: var(--paper-ink); }
.topic-filter button[aria-pressed="true"] { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.post-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); background: var(--ink); border-bottom: 1px solid var(--line); }
.post-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.post-hero .crumbs ol { margin-bottom: 24px; }
.post-hero .post-meta { margin-bottom: 20px; }
.post-title { font-size: clamp(2rem, 4vw, 3.3rem); }
.post-hero .lead { margin-top: 22px; color: var(--muted); }
.post-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-body { padding-top: clamp(48px, 6vw, 80px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; font-size: 1.1rem; line-height: 1.75; color: var(--paper-ink); }
.section--paper .prose p { color: #3b342e; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-stretch: 106%; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin: 1.8em 0 .45em; font-size: 1.25rem; font-stretch: 104%; }
.prose h4 { margin: 1.5em 0 .35em; font-size: 1.05rem; font-weight: 700; }
.prose h2 + h3 { margin-top: 1em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--accent-ink); }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; color: #3b342e; }
.prose ol li::marker { font-family: var(--mono); font-size: .9em; color: var(--accent-ink); }
.prose strong { color: var(--paper-ink); font-weight: 700; }
.prose a { color: var(--accent-ink); }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 24px; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); }
.aside-card .eyebrow { margin-bottom: 16px; }
.aside-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.aside-title { margin: 18px 0 8px; font-size: 1.3rem; font-stretch: 106%; }
.aside-title a { text-decoration: none; color: var(--paper-ink); }
.aside-title a:hover { color: var(--accent-ink); }
.aside-card p { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; max-width: 480px; }
}
@media (max-width: 960px) {
  .post-hero-grid { grid-template-columns: 1fr; }
  .post-cover { max-width: 600px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .prose { font-size: 1.04rem; }
}

/* ---------- quote ---------- */
.quote { background: var(--ink-2); border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote-intro .h2 { margin-bottom: 20px; }
.quote-intro .lead { color: var(--muted); }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
.quote-form { padding: clamp(24px, 4vw, 40px); background: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9ada0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field select option, .field select optgroup { background: var(--ink-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #8a7f74; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 130, 58, .22); }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--text); background: var(--ink-3); border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5604d; }
.field-error { font-size: 13px; color: #f08a7a; }
.field-hint { margin: -4px 0 22px; font-size: 14px; color: var(--muted); }
.field-hint a { color: var(--text); overflow-wrap: anywhere; }
.field-hint a:hover { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.is-success { color: #9fd8a5; }
.form-status.is-error { color: #f08a7a; }
.quote-form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--ink); border-top: 1px solid var(--line); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 30em; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color .2s, color .2s; }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-head { margin: 4px 0 18px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact a { display: flex; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .i { margin-top: 4px; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom .mono { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .marquee, .quote-form, .toolpath, .contours { display: none !important; }
  body { background: #fff; color: #000; }
}
