/* ==========================================================================
   Concepts.io — homepage
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-canvas.is-ready { opacity: 1; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 50% at 72% 45%, rgba(0, 113, 227, 0.14), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(232, 89, 12, 0.06), transparent 70%),
    var(--paper);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.25) 32%, transparent 48%),
    linear-gradient(0deg, var(--paper) 0%, transparent 28%);
}
.hero-inner {
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--nav-h) + clamp(24px, 5vh, 56px));
  padding-bottom: clamp(24px, 4vh, 40px);
  min-height: 100%;
  width: 100%;
  gap: clamp(28px, 5vh, 56px);
}
.hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero-coords { color: var(--fg-muted); }
.hero-title {
  margin-top: auto;
  max-width: 12ch;
}
.hero-title .hero-line { display: block; }
.hero-title em { color: var(--accent); padding-right: .06em; }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.hero-sub { max-width: 52ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  gap: 24px;
  align-items: end;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat b {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat > span { font-size: 13px; color: var(--fg-muted); }
.hero-scroll {
  display: flex; align-items: center; gap: 12px;
  color: var(--fg-muted);
}
.hero-scroll-line {
  width: 64px; height: 1px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
.hero-labels { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-label {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-soft);
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  will-change: transform, opacity;
  opacity: 0;
}
.hero-label::before {
  content: ''; width: 18px; height: 1px; background: var(--line-strong);
}
.js .hero [data-hero-fade] { opacity: 0; transform: translateY(24px); }
html.reduced .hero [data-hero-fade], html.no-anim .hero [data-hero-fade] { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .hero-scroll { display: none; }
  .hero-vignette { background: linear-gradient(0deg, var(--paper) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .3) 100%); }
  .hero-labels { display: none; }
}
@media (max-width: 560px) {
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Intro ---------- */
/* ---------- What we do: acquire → operate → connect ---------- */
.model { border-top: 1px solid var(--line); }
.model-pin {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 24px) 0 40px;
}
.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: center;
}
.model-copy { display: flex; flex-direction: column; gap: 32px; }
.model-title {
  font-size: clamp(34px, 3.9vw, 60px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1.02;
  text-wrap: balance;
}
.verb {
  position: relative;
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  color: var(--fg-muted);
  transition: color .5s var(--ease-out);
}
.verb::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.verb.is-on { color: var(--accent); }
.verb.is-on::after { transform: scaleX(1); }
.model-steps { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.model-step {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  transition: opacity .5s;
}
.model-step-head { display: flex; gap: 12px; align-items: baseline; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.model-step-head b { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--accent); }
.model-step p { color: var(--fg-soft); font-size: 16px; line-height: 1.5; }
.model-progress { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.model-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.model-visual { position: relative; margin: 0; }
.model-svg { width: 100%; max-width: 600px; margin-left: auto; overflow: visible; font-family: var(--font-sans); }
.model-caption {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  white-space: nowrap; color: var(--fg-muted); font-size: 11px;
}
.model-caption span { color: var(--accent); }
.m-frame { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1; }
.m-frame-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; fill: var(--fg-muted); }
.m-node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.m-node text { font-family: var(--font-mono); font-size: 10px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.m-node.is-pillar circle { stroke: var(--accent); }
.m-bar { fill: var(--accent); }
.m-spoke { stroke: var(--accent); stroke-width: 1; opacity: .5; }
.m-ring { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 6; }
.m-core circle { fill: var(--ink); }
.m-core text { fill: var(--paper); font-size: 15px; font-weight: 500; letter-spacing: -0.03em; text-anchor: middle; dominant-baseline: central; }
.m-label { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; fill: var(--ink); dominant-baseline: central; }
.m-label.is-pillar { fill: var(--accent); }
@media (min-width: 901px) {
  .js:not(.reduced):not(.no-anim) .model-step:not(.is-active) { opacity: .38; }
}
@media (max-width: 900px) {
  .model-pin { min-height: 0; padding: clamp(80px, 14vw, 120px) 0; }
  .model-grid { grid-template-columns: 1fr; }
  .model-step { grid-template-columns: 1fr; gap: 6px; }
  .model-progress { display: none; }
}

/* Thesis line above the two doors */
.thesis {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 48px); line-height: 1.15; letter-spacing: -0.015em;
  max-width: 30ch;
  margin-bottom: clamp(48px, 6vw, 88px);
  color: var(--fg-soft);
}
.thesis em { color: var(--ink); }

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.door {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .5s, transform .6s var(--ease-out);
  min-height: 560px;
}
.door:hover { box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.35); }
.door-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 113, 227, 0.13), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.door:hover .door-glow { opacity: 1; }
.door-alt .door-glow { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 89, 12, 0.1), transparent 60%); }
.door-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.door-tag {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--fg-soft);
}
.door h2 em { color: var(--warm); }
.door .body-soft { max-width: 50ch; }
.door-list { margin-top: auto; border-top: 1px solid var(--line); }
.door-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.door-list li span:last-child { color: var(--fg-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.door-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 16px;
}
.door-cta svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.door:hover .door-cta svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
}

/* ---------- Proof ---------- */
.intro.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.proof { padding-bottom: clamp(80px, 10vw, 140px); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.proof-item {
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.proof-item:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.proof-item b {
  font-size: clamp(56px, 6.4vw, 104px);
  font-weight: 400; letter-spacing: -0.055em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.proof-item b i { font-style: normal; color: var(--accent); }
.proof-item > span { color: var(--fg-muted); font-size: 15px; max-width: 30ch; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item, .proof-item:not(:nth-child(3n + 1)) { padding: 28px 20px 28px 0; border-left: 0; }
  .proof-item:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---------- Ecosystem ---------- */
.eco { background: var(--paper-2); border-top: 1px solid var(--line); }
.eco-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.eco-sticky {
  position: sticky; top: calc(var(--nav-h) + 40px);
  display: flex; flex-direction: column; gap: 40px;
}
.eco-dial { position: relative; width: min(280px, 100%); aspect-ratio: 1; }
.eco-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: var(--line); stroke-width: 1; }
.dial-progress {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 578; stroke-dashoffset: 578;
  stroke-linecap: round;
}
.eco-dial-num {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.eco-num-roll {
  height: 1em; overflow: hidden;
  font-size: clamp(72px, 8vw, 120px); font-weight: 400; letter-spacing: -0.06em; line-height: 1;
  display: flex; flex-direction: column;
}
.eco-num-roll i { font-style: normal; display: block; height: 1em; transition: transform .8s var(--ease-out); }
.eco-dial-label { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%); color: var(--fg-muted); }
.eco-index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.eco-index li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--fg-muted); font-size: 16px;
  transition: color .4s, padding-left .5s var(--ease-out);
}
.eco-index li span { font-family: var(--font-mono); font-size: 11px; }
.eco-index li.is-active { color: var(--ink); padding-left: 12px; }
.eco-index li.is-active span { color: var(--accent); }

.eco-cards { display: flex; flex-direction: column; gap: 16px; }
.eco-card {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 72vh;
  transition: box-shadow .6s;
}
.eco-card.is-active { box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.28); }
.eco-card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--fg-muted); }
.eco-wall {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--fg-soft);
  max-width: 28ch;
}
.eco-pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); margin-top: auto; }
.eco-pillar p { max-width: 56ch; }
.eco-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eco-meta div { padding: 18px; border-radius: 14px; background: rgba(11, 12, 14, 0.03); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.eco-meta b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.eco-meta span { font-size: 14px; color: var(--fg-muted); }
.eco-card .link-arrow { align-self: flex-start; color: var(--accent); }
.eco-end { padding: clamp(40px, 5vw, 72px) 0 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.eco-end .h3 { max-width: 30ch; }
@media (max-width: 900px) {
  .eco-layout { grid-template-columns: 1fr; }
  .eco-sticky { display: none; }
  .eco-card { min-height: 0; }
  .eco-meta { grid-template-columns: 1fr; }
}

/* ---------- Principles (stacking cards) ---------- */
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  min-height: min(62vh, 560px);
  padding: clamp(28px, 4vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--paper-3);
  box-shadow: inset 0 0 0 1px var(--line), 0 -30px 60px rgba(11, 12, 14, 0.08);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--paper); opacity: var(--dim, 0); pointer-events: none;
}
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 40px); background: #f3f3f0; }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 56px); background: #ecece8; }
.stack-card:nth-child(4) { top: calc(var(--nav-h) + 72px); background: #e5e5e0; }
.stack-card:nth-child(5) { top: calc(var(--nav-h) + 88px); background: var(--ink); color: var(--paper); --fg-soft: rgba(255, 255, 255, .72); --line: rgba(255, 255, 255, .12); }
.stack-card:nth-child(5) .stack-num { color: rgba(255, 255, 255, 0.14); }
.stack-num {
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 400; letter-spacing: -0.07em; line-height: .8;
  color: rgba(11, 12, 14, 0.1);
  align-self: start;
}
.stack-body { display: flex; flex-direction: column; gap: 20px; }
.stack-body em { color: var(--accent); }
.stack-card:nth-child(5) .stack-body em { color: var(--accent-bright); }
.stack-art { width: clamp(120px, 14vw, 220px); color: var(--line-strong); opacity: .9; }
.stack-card:nth-child(5) .stack-art { color: rgba(255, 255, 255, .3); }
@media (max-width: 900px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; align-items: start; }
  .stack-art { display: none; }
  .stack-num { font-size: 64px; }
}

/* ---------- Portfolio (horizontal pin) ---------- */
.portfolio { border-top: 1px solid var(--line); }
.portfolio-pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(32px, 5vh, 56px);
  padding: calc(var(--nav-h) + 24px) 0 48px;
  overflow: hidden;
}
.portfolio-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.portfolio-head .eyebrow { margin-bottom: 24px; }
.portfolio-head .h1 { font-size: clamp(36px, 5vw, 80px); }
.portfolio-head .h1 em { display: block; }
.portfolio-meta { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.portfolio-counter { font-size: 14px; color: var(--fg-muted); }
.portfolio-counter .pc-current { color: var(--ink); }
.portfolio-progress { height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.portfolio-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0.125); }
.portfolio-legend { display: flex; gap: 18px; color: var(--fg-muted); font-size: 11px; flex-wrap: wrap; }
.portfolio-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--accent); }
.dot.soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-muted); }

.portfolio-track {
  display: flex; gap: 16px;
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.pcard {
  --mx: 50%; --my: 50%;
  position: relative;
  width: clamp(300px, 29vw, 420px);
  min-height: clamp(460px, 58vh, 560px);
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .5s;
  transform-style: preserve-3d;
}
.pcard::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(0, 113, 227, 0.14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.pcard-saas::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(232, 89, 12, 0.12), transparent 60%); }
.pcard:hover::before { opacity: 1; }
.pcard:hover { box-shadow: inset 0 0 0 1px rgba(11, 12, 14, 0.25); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; color: var(--fg-muted); }
.pcard-status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pcard-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pcard-status.live { color: var(--accent); background: var(--accent-soft); }
.pcard-status.live::before { box-shadow: 0 0 8px currentColor; animation: blink 2.4s infinite; }
.pcard-status.soon { color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pcard-status.soon::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.pcard-status.saas { color: var(--warm); background: rgba(232, 89, 12, 0.1); }
.pcard-cat { color: var(--fg-muted); margin-top: 28px; }
.pcard-name { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.pcard-name em { color: var(--accent); }
.pcard-url { color: var(--fg-muted); text-transform: none; letter-spacing: 0; font-size: 13px; transition: color .3s; }
.pcard:hover .pcard-url { color: var(--accent); }
.pcard-desc { color: var(--fg-soft); font-size: 15px; line-height: 1.55; }
.pcard-stat {
  margin-top: auto;
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.pcard-stat b { font-size: clamp(40px, 3.6vw, 56px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.pcard-stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); text-align: right; }
.pcard-next {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  border-style: dashed;
  justify-content: flex-end;
  gap: 20px;
  color: var(--fg-muted);
}
.pcard-next .pcard-name { color: var(--ink); font-size: clamp(36px, 3.4vw, 52px); }
.pcard-next .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .portfolio-pin { min-height: 0; padding: clamp(96px, 14vw, 140px) 0; }
  .portfolio-track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .pcard { width: 100%; min-height: 0; }
  .pcard-cat { margin-top: 12px; }
  .portfolio-counter, .portfolio-progress { display: none; }
}

/* ---------- Acquisition (bone sheet) ---------- */
.acq-wrap { padding-top: 24px; }
.acq.section { padding-bottom: clamp(72px, 9vw, 128px); }
.acq { will-change: clip-path; }
.acq-head { margin-bottom: clamp(48px, 7vw, 96px); }
.acq-head .eyebrow { margin-bottom: 28px; }
.acq-title { font-size: clamp(44px, 8vw, 132px); max-width: 12ch; }
.acq-title em { color: var(--accent-bright); }
.acq-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(56px, 8vw, 112px);
  padding-left: clamp(0px, 25%, 360px);
}
.acq-intro .lede { color: var(--fg-soft); }
.criteria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  counter-reset: crit;
}
.crit {
  position: relative;
  padding: 36px 36px 48px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  transition: background-color .4s;
}
.crit:not(:nth-child(3n + 1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.crit-num { color: var(--fg-muted); }
.crit-title { font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.crit p { color: var(--fg-soft); font-size: 16px; max-width: 38ch; }
.crit-check {
  position: absolute; top: 32px; right: 28px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--paper);
  transition: background-color .5s var(--ease-out), color .5s;
}
.crit:nth-child(3n) .crit-check { right: 0; }
.crit-check svg { width: 14px; height: 14px; }
.crit-check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .8s var(--ease-out) .2s; }
.crit.is-in .crit-check path { stroke-dashoffset: 0; }
.crit:hover .crit-check { background: var(--paper); color: var(--accent); }
.acq-promise {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(56px, 8vw, 112px);
}
.acq-promise-item {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.acq-promise-item .mono { color: var(--fg-muted); font-size: 11px; }
.acq-promise-item p { font-size: 19px; letter-spacing: -0.02em; line-height: 1.35; }
@media (max-width: 1000px) {
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crit, .crit:not(:nth-child(3n + 1)) { padding: 32px 24px 40px 0; border-left: 0; }
  .crit:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .crit:nth-child(3n) .crit-check { right: 28px; }
  .crit:nth-child(2n) .crit-check { right: 0; }
  .acq-intro { padding-left: 0; }
}
@media (max-width: 700px) {
  .criteria, .acq-intro, .acq-promise { grid-template-columns: 1fr; }
  .crit:nth-child(2n) { padding-left: 0; border-left: 0; }
  .crit .crit-check, .crit:nth-child(3n) .crit-check { right: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding-top: 0;
  --fg: var(--paper); --fg-soft: rgba(255, 255, 255, .72); --fg-muted: rgba(255, 255, 255, .52); --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .28);
}
.contact .eyebrow::before { background: var(--paper); box-shadow: none; }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 112px);
  padding-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.contact-copy { display: flex; flex-direction: column; gap: 28px; }
.contact-title { font-size: clamp(52px, 7.6vw, 124px); }
.contact-title em { color: var(--accent-bright); }
.contact-direct { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.contact-mail {
  font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.03em; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
  align-self: flex-start;
}
.contact-mail:hover { background-size: 100% 1px; }
.contact-direct .mono { color: var(--fg-muted); }

.cform {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  --fg-soft: rgba(11, 12, 14, .74); --fg-muted: rgba(11, 12, 14, .5); --line: rgba(11, 12, 14, .12); --line-strong: rgba(11, 12, 14, .24);
  overflow: hidden;
}
.cform-types { border: 0; margin-bottom: 20px; }
.cform-types legend { color: var(--fg-muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--fg-soft);
  transition: background-color .35s var(--ease-out), color .35s, box-shadow .35s;
}
.chip:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; padding-top: 18px; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font: inherit; font-size: 18px;
  padding: 14px 0 12px;
  outline: none;
  resize: vertical;
  border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; }
.field label {
  position: absolute; left: 0; top: 32px;
  color: var(--fg-muted); font-size: 18px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .45s var(--ease-out), color .3s;
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-26px) scale(.72);
  color: var(--accent);
}
.field::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #d92d20; }
.field.has-error label { color: #d92d20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.cform-note { color: var(--fg-muted); font-size: 11px; }
.cform-note.is-error { color: #d92d20; }
.cform-submit[disabled] { opacity: .6; pointer-events: none; }
.cform-success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--accent); color: var(--accent-ink);
  clip-path: circle(0% at 90% 90%);
  transition: clip-path 1s var(--ease-in-out);
  --fg-soft: rgba(255, 255, 255, 0.8);
}
.cform-success-mark { width: 64px; height: 64px; }
.cform-success-mark svg { width: 100%; height: 100%; }
.cform-success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease-out) .7s; }
.cform.is-sent .cform-success { clip-path: circle(150% at 90% 90%); }
.cform.is-sent .cform-success-mark path { stroke-dashoffset: 0; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cform-row { grid-template-columns: 1fr; }
  .cform-submit { width: 100%; justify-content: space-between; }
}

/* Footer follows the bone contact section */
body[data-page="home"] .footer { background: var(--paper); }

@media (max-width: 560px) {
  .proof-item b { font-size: clamp(36px, 10.5vw, 56px); }
}
@media (max-width: 900px) {
  .m-label { font-size: 17px; }
  .m-core text { font-size: 18px; }
}

/* ---------- Other projects (deliberately quiet) ---------- */
.others { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.others-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 96px); }
.others-head { display: flex; flex-direction: column; gap: 16px; }
.others-note { color: var(--fg-muted); font-size: 15px; max-width: 32ch; }
.others-list { border-top: 1px solid var(--line); }
.others-list a {
  display: grid;
  grid-template-columns: 160px minmax(0, 150px) minmax(0, 1fr) auto;
  gap: 24px; align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease-out);
}
.others-list a:hover { padding-left: 12px; }
.others-meta { color: var(--fg-muted); font-size: 11px; }
.others-name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.others-desc { color: var(--fg-soft); font-size: 15px; line-height: 1.5; }
.others-url { color: var(--fg-muted); font-size: 11px; text-transform: none; letter-spacing: .02em; white-space: nowrap; transition: color .3s; }
.others-url i { font-style: normal; display: inline-block; transition: transform .4s var(--ease-out); }
.others-list a:hover .others-url { color: var(--accent); }
.others-list a:hover .others-url i { transform: translate(2px, -2px); }
@media (max-width: 900px) {
  .others-grid { grid-template-columns: 1fr; }
  .others-list a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .others-meta { grid-column: 1 / -1; }
  .others-desc { grid-column: 1 / -1; order: 3; }
  .others-url { grid-row: 2; grid-column: 2; }
}
