/* =========================================================
   gacud.com — design tokens & base
   ========================================================= */
:root {
  /* palette — warm off-white, near-black charcoal, deep teal */
  --bg:        #F4F1EA;
  --bg-alt:    #EFEBE1;
  --paper:    #FBFAF6;
  --ink:       #161616;
  --ink-2:     #2A2826;
  --muted:     #6B665C;
  --muted-2:   #8A8579;
  --line:      #DDD7C8;
  --line-2:    #E8E3D5;
  --accent:    #1F4D4A;            /* deep teal */
  --accent-ink:#0E2E2C;
  --accent-soft:#E4ECEA;
  --amber:     #B07A2A;            /* restrained support */

  /* type */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* type scale */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-2px);
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: 22px; line-height: 1.25; }
h4 { font-size: 17px; line-height: 1.3; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }

/* =========================================================
   layout primitives
   ========================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
section + section { border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}
.section-head .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-head .lead { font-size: 16px; }
}

/* =========================================================
   buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-primary .arrow { transition: transform 200ms ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-text {
  background: transparent;
  padding: 8px 0;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.btn-text:hover { border-color: var(--ink); }
.btn .arrow { width: 14px; height: 14px; }

/* =========================================================
   header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
  min-height: 44px;
}
.brand-mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  border-radius: 5px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding-top: 2px;
}
.brand small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }

.nav {
  display: flex; align-items: center; gap: 28px;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.003em;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.menu-btn:hover { border-color: var(--ink); }
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .header-cta .btn-primary { display: none; }
  .header-inner { gap: 14px; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100;
  padding: 24px var(--pad) 32px;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(.4,.2,.2,1), visibility 0s linear 280ms;
  display: flex; flex-direction: column;
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 280ms cubic-bezier(.4,.2,.2,1);
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.drawer nav { margin-top: 36px; display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  font-family: var(--serif);
  font-size: 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.drawer .btn-primary { margin-top: 28px; align-self: flex-start; }

/* =========================================================
   hero
   ========================================================= */
.hero { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(72px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 .subtle { color: var(--muted); }
.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 50ch;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-markers {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 580px;
}
.hero-marker {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero-marker .num {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  min-width: 36px;
}
.hero-marker .lbl {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 26ch;
}
.hero-marker .lbl strong { color: var(--ink); font-weight: 500; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-markers { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 520px) {
  .hero-markers { grid-template-columns: 1fr; }
}

/* hero visual — system map */
.hero-media {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 44px -34px rgba(20,20,20,0.45);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.hero-grid > .systemmap { display: none; }
@media (max-width: 920px) {
  .hero-media img { min-height: auto; }
}

.systemmap {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  aspect-ratio: 5/4.6;
  overflow: hidden;
}
.systemmap::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: 0.55;
  pointer-events: none;
}
.systemmap-head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.systemmap-head .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.systemmap-head .pill .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 100px; }
.systemmap-canvas {
  position: relative;
  width: 100%;
  height: calc(100% - 32px);
}
.node {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 6px 14px -10px rgba(20,20,20,0.18);
  min-width: 130px;
}
.node .node-lbl {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.node .node-title { font-weight: 500; color: var(--ink); }
.node.broken {
  background: #FBF4EE;
  border-color: #E4D2BD;
}
.node.broken .node-lbl { color: var(--amber); }
.node.broken::after {
  content: "";
  position: absolute; top: 6px; right: 8px;
  width: 6px; height: 6px; border-radius: 100px;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(176,122,42,0.15);
}
.node.solved {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 12px 24px -14px rgba(31,77,74,0.5);
}
.node.solved .node-lbl { color: rgba(255,255,255,0.65); }
.node.solved .node-title { color: #fff; }
.node.solved .node-meta {
  margin-top: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
}
.node.solved::after {
  content: "✓"; position: absolute; top: 8px; right: 10px;
  font-size: 11px; color: rgba(255,255,255,0.8);
}
.node.ghost {
  background: var(--paper);
  border-style: dashed;
  border-color: var(--line);
  color: var(--muted);
}
.node.ghost .node-title { color: var(--muted); font-weight: 400; }

.systemmap-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.systemmap-svg path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.25;
}
.systemmap-svg path.live {
  stroke: var(--accent);
  stroke-dasharray: 3 4;
  animation: flow 2.4s linear infinite;
}
@keyframes flow {
  to { stroke-dashoffset: -14; }
}

/* =========================================================
   problems — "what I fix"
   ========================================================= */
/* =========================================================
   parallax image story bands
   ========================================================= */
.parallax-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  min-height: clamp(520px, 72vh, 760px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.parallax-story-alt {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  background: var(--bg);
}
.parallax-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}
.parallax-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,22,22,0.06), rgba(22,22,22,0.36)),
    linear-gradient(90deg, rgba(31,77,74,0.28), transparent 52%);
  z-index: 1;
}
.parallax-story-alt .parallax-panel::after {
  background:
    linear-gradient(180deg, rgba(22,22,22,0.08), rgba(22,22,22,0.28)),
    linear-gradient(270deg, rgba(31,77,74,0.24), transparent 58%);
}
.parallax-panel img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.04);
  will-change: transform;
}
.parallax-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(56px, 8vw, 108px);
  padding-bottom: clamp(56px, 8vw, 108px);
}
.parallax-copy h2 {
  max-width: 13ch;
}
.parallax-copy p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}
@media (max-width: 860px) {
  .parallax-story,
  .parallax-story-alt {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .parallax-panel {
    min-height: 340px;
  }
  .parallax-panel img {
    inset: 0;
    height: 100%;
    transform: none !important;
  }
  .parallax-copy h2 {
    max-width: 16ch;
  }
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.problem {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 200px;
}
.problem-media {
  margin: -8px -4px 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.problem-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.problem .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.problem h4 { margin-bottom: 8px; }
.problem p { font-size: 14px; color: var(--muted); }
.problem .ico {
  margin-left: auto;
  width: 22px; height: 22px;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.problem .ico-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
@media (max-width: 1020px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   services
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 180ms ease, transform 200ms ease;
}
.service:hover { border-color: var(--ink-2); }
.service-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.service-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 4px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.service > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}
.service .best {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 22px;
}
.service .best-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.service .best ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
}
.service .best li {
  font-size: 13.5px;
  color: var(--ink-2);
  position: relative;
  padding-left: 16px;
}
.service .best li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--accent);
}
.service .request {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  align-self: flex-start;
}
.service .request:hover { color: var(--accent); }
.service .request svg { transition: transform 180ms ease; }
.service .request:hover svg { transform: translateX(3px); }
.service.span-2 { grid-column: span 2; }
.service.optional { background: var(--bg-alt); border-style: dashed; }
.service.optional .service-num { background: transparent; border: 1px solid var(--line); color: var(--muted); }

@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .service.span-2 { grid-column: auto; }
  .service .best ul { grid-template-columns: 1fr; }
}

/* =========================================================
   process
   ========================================================= */
.section-media {
  margin: -26px 0 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.section-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.process-media {
  background: #fff;
}
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.process::before {
  content: "";
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  position: relative;
  padding: 0 18px 0 0;
  z-index: 1;
}
.process-step + .process-step { padding-left: 18px; }
.step-dot {
  position: relative;
  width: 52px; height: 52px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 22px;
}
.process-step:hover .step-dot {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.process-step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--muted); max-width: 28ch; }

@media (max-width: 980px) {
  .process { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process::before { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* =========================================================
   case studies
   ========================================================= */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}
.case-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.case-id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-2);
}
.case h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 22ch;
}
.case-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.case-body dt {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 3px;
}
.case-body dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.case-body dd strong { color: var(--ink); font-weight: 500; }
.case-outcome {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-outcome .check {
  width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 10px;
}
.case-outcome span { font-size: 14px; color: var(--ink); }
@media (max-width: 820px) {
  .cases { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 4px; }
  .case-body dt { padding-top: 14px; }
  .case-body dt:first-child { padding-top: 0; }
}

/* =========================================================
   about
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, var(--bg-alt) 0 6px, var(--paper) 6px 12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,241,234,0.05), rgba(244,241,234,0.68));
}
.about-portrait .placeholder {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.about-portrait .meta {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.about-portrait .meta strong { color: var(--ink); font-weight: 500; }
.about-content > p {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 28px;
  max-width: 52ch;
}
.about-proof {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-proof .stat {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.about-proof .stat-num {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-proof .stat-lbl {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 28ch;
}
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-portrait { aspect-ratio: 5/4; max-width: 360px; }
}

/* =========================================================
   selected environments
   ========================================================= */
.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.environment {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.environment span {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.environment h4 {
  margin-bottom: 10px;
}
.environment p {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .environment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .environment-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   capabilities strip
   ========================================================= */
.caps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.cap-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.cap-lbl::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}
.cap ul { list-style: none; padding: 0; margin: 0; }
.cap li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 5px 0;
}
@media (max-width: 1020px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
}

/* =========================================================
   estimate form
   ========================================================= */
.estimate { background: var(--bg-alt); }
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.estimate-intro h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
}
.estimate-intro > p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 40ch;
}
.estimate-side {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.estimate-side-row {
  display: flex; gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  align-items: flex-start;
}
.estimate-side-row strong { color: var(--ink); font-weight: 500; min-width: 88px; }
.estimate-side-row .check {
  width: 14px; height: 14px; flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}
.estimate-media {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.estimate-media img {
  width: 100%;
  height: auto;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.form-step .active { color: var(--ink); }
.form h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field {
  display: flex; flex-direction: column;
  margin-bottom: 14px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.field label .opt {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted-2);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  width: 100%;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,77,74,0.12);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.field.error input,
.field.error textarea,
.field.error select { border-color: #B43A2C; box-shadow: 0 0 0 3px rgba(180,58,44,0.1); }
.field .err-msg {
  font-size: 12px;
  color: #B43A2C;
  margin-top: 6px;
  display: none;
}
.field.error .err-msg { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:focus-within {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(31,77,74,0.12);
}
.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.chip.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* =========================================================
   faq
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.faq-item h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.faq-item p {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 920px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.form-divider {
  height: 1px;
  background: var(--line);
  margin: 24px -8px;
}

.check-field label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  justify-content: initial;
  color: var(--ink-2);
  line-height: 1.4;
}
.check-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
}

.form-submit {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-submit p {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 36ch;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}
.form-success.is-on { display: block; }
.form-success .seal {
  width: 56px; height: 56px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  display: inline-grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 22px;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15px; max-width: 44ch; margin: 0 auto; }

@media (max-width: 920px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
}

/* =========================================================
   cta band
   ========================================================= */
.cta-band {
  background: var(--ink);
  color: var(--bg);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(48px, 6vw, 80px) 0;
}
.cta-band h2 {
  font-family: var(--serif);
  color: var(--bg);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  max-width: 22ch;
}
.cta-band .right {
  display: flex; gap: 12px; justify-content: flex-end;
  flex-wrap: wrap;
}
.cta-band .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; }
.cta-band .btn-ghost {
  color: var(--bg);
  border-color: rgba(255,255,255,0.2);
}
.cta-band .btn-ghost:hover { border-color: var(--bg); }
@media (max-width: 720px) {
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band .right { justify-content: flex-start; }
}

/* =========================================================
   footer
   ========================================================= */
.footer {
  background: var(--bg);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 32ch;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.footer-col a:hover { color: var(--ink); }
.footer-bot {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
  gap: 12px; flex-wrap: wrap;
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   utility — reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .parallax-panel img {
    transform: none !important;
    will-change: auto;
  }
}
