/* =============================================================================
   ANTFARM — site.css
   The living system under the surface. Dark operator-studio. One bold thing:
   the vermilion build-line. Everything else stays disciplined.
   ============================================================================= */

:root {
  /* Palette (relaunch brief §7) */
  --ink:    #14130F;   /* near-black, warm-shifted */
  --soil:   #2A2622;   /* deep brown-black, the underground */
  --bone:   #EDE9E1;   /* warm off-white, pushed grey */
  --signal: #E8552D;   /* worked vermilion — build-line + primary CTA ONLY */
  --moss:   #6B7257;   /* muted earth-green, rare secondary */
  --stone:  #9A948B;   /* captions, metadata, dividers */

  /* Derived */
  --soil-2:  #211d1a;
  --line:    rgba(154, 148, 139, 0.18);   /* hairline on dark */
  --line-lt: rgba(20, 19, 15, 0.14);      /* hairline on light */
  --bone-dim: rgba(237, 233, 225, 0.66);
  --bone-faint: rgba(237, 233, 225, 0.40);
  --signal-glow: rgba(232, 85, 45, 0.45);

  /* Type */
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;
  --serif:   "Fraunces", Georgia, serif;

  /* Rhythm */
  --rail: 56px;                 /* left gutter the build-line lives in */
  --maxw: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sect-y: clamp(64px, 8.5vw, 128px);   /* v2: tightened ~25% — same drama, less dead scroll */
}

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain + a soil glow so the page reads as "underground", not flat black */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 8% -10%, rgba(107,114,87,0.10), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(42,38,34,0.85), transparent 60%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--signal); color: var(--ink); }

/* ----------------------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.eyebrow { composes: mono; }

/* ----------------------------------------------------------------------------- layout */
.section { position: relative; z-index: 1; padding: var(--sect-y) var(--pad-x); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--rail); }
@media (max-width: 720px) { .wrap { padding-left: 34px; } :root { --rail: 34px; } }

.section-head { max-width: 30ch; }
.section-head .mono { display: block; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }

/* light band (the comparison) breaks the dark for editorial rhythm */
.band-light { background: var(--bone); color: var(--ink); }
.band-light .mono { color: #6f675c; }
.band-light h2 { color: var(--ink); }

/* ----------------------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--pad-x);
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(20,19,15,0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { border-radius: 50%; }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.site-nav { margin-left: auto; display: flex; gap: 30px; }
.site-nav a { font-size: 0.92rem; color: var(--bone-dim); transition: color .2s; }
.site-nav a:hover { color: var(--bone); }
.site-nav a.is-current { color: var(--signal); }
.site-header__cta { margin-left: 4px; }

.nav-toggle { display: none; }

/* ----------------------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--signal-glow); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--bone); transform: translateY(-2px); }
.band-light .btn--ghost { color: var(--ink); border-color: var(--line-lt); }
.band-light .btn--ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ----------------------------------------------------------------------------- build-line */
.buildline {
  position: absolute; top: 0; z-index: 5;
  left: calc(var(--pad-x) + (var(--rail) / 2) - 1px);
  width: 2px; height: 100%; pointer-events: none;
}
@media (min-width: 721px) {
  /* center it within the content rail */
  .buildline { left: max(calc(var(--pad-x) + 27px), calc(50vw - (var(--maxw) / 2) + var(--pad-x) + 27px)); }
}
.buildline__track { position: absolute; inset: 0; width: 2px; background: var(--line); }
.buildline__progress {
  position: absolute; top: 0; left: 0; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--signal), rgba(232,85,45,0.25));
  box-shadow: 0 0 14px 1px var(--signal-glow);
}
.buildline__progress::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, var(--signal-glow), transparent 70%);
}

/* the worker ant that leads the build front down the tunnel.
   real top-down ant photo, head-first descent (rotated 180deg), two frames
   swapped on a steps(1) loop so the legs visibly walk. */
.buildline__ant {
  position: absolute; left: 50%; top: 0;
  width: 22px; height: 28px;
  transform: translate(-50%, -12px) rotate(180deg);
  filter: drop-shadow(0 0 5px var(--signal-glow));
  will-change: top;
}
/* two frames stacked; opacity toggles between them so a frame is ALWAYS painted */
.buildline__ant .ant-f {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.buildline__ant .ant-f1 { animation: ant-walk-a 0.42s steps(1) infinite; }
.buildline__ant .ant-f2 { opacity: 0; animation: ant-walk-b 0.42s steps(1) infinite; }
@keyframes ant-walk-a { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes ant-walk-b { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .buildline__ant .ant-f { animation: none; }
  .buildline__ant .ant-f1 { opacity: 1; }
  .buildline__ant .ant-f2 { opacity: 0; }
}
.buildline__nodes { position: absolute; inset: 0; }
.bl-node {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--soil); border: 1.5px solid var(--stone);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.bl-node.lit {
  background: var(--signal); border-color: var(--signal);
  box-shadow: 0 0 16px 3px var(--signal-glow);
  transform: translate(-50%, -50%) scale(1.15);
}
/* on the light band, the unlit node needs a darker ring */
.bl-node[data-on-light] { background: var(--bone); border-color: #b9b2a6; }

/* ----------------------------------------------------------------------------- HERO */
.hero { padding-top: clamp(140px, 20vh, 230px); min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
/* cinematic background: the generated still always present (text-safe), the
   video layered on top, darkened + scrimmed so it reads moody, not fiery */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink) url("../assets/hero-bg.jpg") center/cover no-repeat; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.82) contrast(1.02);
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--ink) 0%, rgba(20,19,15,0.9) 26%, rgba(20,19,15,0.5) 60%, rgba(20,19,15,0.8) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 42%),
    linear-gradient(180deg, rgba(20,19,15,0.7) 0%, transparent 22%);
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero__eyebrow .dash { width: 30px; height: 1px; background: var(--stone); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  font-weight: 600; max-width: 16ch;
}
.hero h1 .l2 { color: var(--bone); }
.hero h1 .l1 { color: var(--bone-dim); display: block; }
.hero__sub {
  margin-top: 30px; max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--bone-dim); line-height: 1.55;
}
.hero__sub b { color: var(--bone); font-weight: 600; }
.hero__cta { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }

/* scroll-reveal (sections after the hero) */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

/* reveal-on-load (hero) */
.reveal { opacity: 0; transform: translateY(18px); }
.loaded .reveal { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.loaded .reveal.d1 { transition-delay: .08s; }
.loaded .reveal.d2 { transition-delay: .18s; }
.loaded .reveal.d3 { transition-delay: .30s; }
.loaded .reveal.d4 { transition-delay: .44s; }

/* generated atmospheres for depth on the dark sections */
.manifesto, .contact, .model { position: relative; }
/* manifesto: subtle soil texture */
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/texture-soil.jpg") center/cover no-repeat; opacity: 0.13;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 50%, #000 30%, transparent 92%);
          mask-image: radial-gradient(120% 100% at 50% 50%, #000 30%, transparent 92%);
}
/* model: faint colony cross-section behind DIG·BUILD·SHIP·RUN */
.model::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/colony-section.jpg") center/cover no-repeat; opacity: 0.20;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 82%, transparent 100%);
}
/* contact: a "dig down" tunnel behind the closing CTA, darkened so white text stays crisp */
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(20,19,15,0.80), rgba(20,19,15,0.60)),
    url("../assets/dig-tunnel.jpg") center/cover no-repeat;
}
.manifesto > .wrap, .contact > .wrap, .model > .wrap { position: relative; z-index: 1; }

/* ----------------------------------------------------------------------------- MANIFESTO */
.manifesto .wrap { max-width: 980px; }
.manifesto h2 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: 16ch; }
.manifesto__body { margin-top: 32px; max-width: 60ch; font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--bone-dim); line-height: 1.5; }
.manifesto__body b { color: var(--bone); font-weight: 600; }
.manifesto__turn {
  margin-top: 48px; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.2; color: var(--bone);
  max-width: 22ch; position: relative; padding-left: 26px;
}
.manifesto__turn::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--signal); }

.commercial__fee {
  margin-top: 30px; max-width: 58ch; color: var(--bone-dim);
  font-size: 1.02rem; line-height: 1.55; padding-left: 18px;
  border-left: 2px solid var(--line);
}

/* ----------------------------------------------------------------------------- STORY / DNA */
.story .wrap { max-width: 900px; }
.story__body { margin-top: 34px; }
.story__body p { color: var(--bone-dim); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; max-width: 64ch; }
.story__body p + p { margin-top: 22px; }
.story__body b { color: var(--bone); font-weight: 600; }
.story__pull {
  font-family: var(--serif); font-style: italic; color: var(--bone);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.22; max-width: 26ch;
  margin: 44px 0; padding-left: 24px; position: relative;
}
.story__pull::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--signal); }
.story__close { color: var(--bone-dim); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; max-width: 64ch; }

/* homepage teaser → segue to the story page */
.story-teaser { max-width: 70ch; }
.story-teaser .mono { display: block; color: var(--moss); margin-bottom: 18px; }
.story-teaser__line {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.22; color: var(--bone-dim); max-width: 22ch;
}
.story-teaser__line b { color: var(--bone); font-weight: 600; }
.story-teaser__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-weight: 600; color: var(--bone); border-bottom: 1px solid var(--signal); padding-bottom: 4px;
}
.story-teaser__cta .arr { color: var(--signal); transition: transform .2s; }
.story-teaser__cta:hover .arr { transform: translateX(4px); }

/* standalone story page (story.html) */
.story-page { position: relative; z-index: 1; padding: clamp(120px, 16vh, 190px) var(--pad-x) var(--sect-y); }
.story-page .wrap { max-width: 860px; padding-left: 0; }
/* About-page founder hero + figures */
.story-hero { display: grid; grid-template-columns: 1.5fr 0.85fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 6px; }
.story-hero__portrait { margin: 0; }
.story-hero__portrait img { width: 100%; border-radius: 6px; border: 1px solid var(--line); display: block; }
.story-hero__portrait figcaption,
.story-figure figcaption { margin-top: 11px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.story-figure { margin: clamp(46px, 7vw, 78px) 0 0; }
.story-figure img { width: 100%; border-radius: 6px; border: 1px solid var(--line); display: block; }
@media (max-width: 700px) {
  .story-hero { grid-template-columns: 1fr; gap: 24px; }
  .story-hero__portrait { max-width: 300px; }
}
.story-page__back { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); display: inline-block; margin-bottom: 34px; }
.story-page__back:hover { color: var(--bone); }
.story-page .mono { color: var(--moss); }
.story-page h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; margin: 14px 0 8px; }
.story-page #story-mount { margin-top: 30px; }
.story-page__cta { margin-top: 52px; }

/* === Antennae — signals from the colony (writing) ===================== */
.antennae-page { position: relative; z-index: 1; padding: clamp(120px, 16vh, 190px) var(--pad-x) var(--sect-y); }
.post-page { position: relative; z-index: 1; }
.antennae-page .wrap { max-width: 840px; padding-left: 0; }
.post-page .wrap { max-width: 720px; padding-left: 0; }
.antennae-page__back { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); display: inline-block; margin-bottom: 34px; }
.antennae-page__back:hover { color: var(--bone); }

/* index */
.antennae-head .mono { display: block; color: var(--moss); margin-bottom: 14px; }
.antennae-head h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; }
.antennae-head__sub { color: var(--bone-dim); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; margin-top: 18px; max-width: 56ch; }
.antennae-list { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.antennae-row { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s; }
.antennae-row:hover { padding-left: 8px; }
.antennae-row__thumb { aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.antennae-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.antennae-row:hover .antennae-row__thumb img { transform: scale(1.06); }
@media (max-width: 640px) { .antennae-row { grid-template-columns: 1fr; gap: 16px; } }
.antennae-row__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); display: flex; gap: 16px; margin-bottom: 12px; }
.antennae-row__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.95rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--bone); transition: color .2s; }
.antennae-row:hover .antennae-row__title { color: var(--signal); }
.antennae-row__dek { color: var(--bone-dim); font-size: 1.02rem; line-height: 1.55; margin-top: 11px; max-width: 62ch; }

/* article */
.post__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.post__title { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.03; }
.post__dek { color: var(--bone); font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.36; margin-top: 22px; max-width: 30ch; }
.post__body { margin-top: clamp(34px, 5vw, 52px); }
.post__body p { color: var(--bone-dim); font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.72; max-width: 66ch; }
.post__body p + p { margin-top: 24px; }
.post__body b, .post__body strong { color: var(--bone); font-weight: 600; }
.post__body h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); margin: clamp(42px, 6vw, 62px) 0 18px; text-wrap: balance; }
.post__body a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.post__body a:hover { text-decoration-color: var(--signal); }
.post__pull { position: relative; font-family: var(--display); font-weight: 500; font-size: clamp(1.55rem, 3.4vw, 2.25rem); line-height: 1.16; letter-spacing: -0.02em; color: var(--bone); margin: clamp(42px, 6vw, 60px) 0; padding-left: 26px; max-width: 22ch; }
.post__pull::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--signal); }
.post__sources { margin-top: clamp(44px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line); }
.post__sources h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 14px; }
.post__sources ol { padding: 0; }
.post__sources li { color: var(--bone-faint); font-size: 0.85rem; line-height: 1.75; list-style: none; }
.post__sources a { color: var(--bone-dim); }
.post__sources a:hover { color: var(--bone); }
.post__byline { margin-top: clamp(40px, 6vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--stone); font-size: 0.92rem; line-height: 1.6; }
.post__byline b { color: var(--bone-dim); }
.post__cta { margin-top: clamp(44px, 6vw, 60px); }

/* === Antennae article — cinematic magazine treatment ================== */
/* reading-progress bar */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--signal); z-index: 200; box-shadow: 0 0 12px 1px var(--signal-glow); transition: width .08s linear; }

/* full-bleed hero with title overlaid */
.post-hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.post-hero__media { position: absolute; inset: 0; }
.post-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); }
.post-hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,19,15,0.55) 0%, rgba(20,19,15,0.08) 26%, rgba(20,19,15,0.4) 62%, rgba(20,19,15,0.97) 100%),
  linear-gradient(90deg, rgba(20,19,15,0.82) 0%, rgba(20,19,15,0.28) 52%, rgba(20,19,15,0) 100%); }
.post-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x) clamp(40px, 6vw, 76px); }
.post-hero__back { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); display: inline-block; margin-bottom: 22px; }
.post-hero__back:hover { color: var(--bone); }
.post-hero .post__title { max-width: 17ch; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.post-hero .post__dek { color: var(--bone); max-width: 52ch; }
.post-hero .post__meta { color: var(--bone-dim); }

/* share row */
.post__share { display: flex; align-items: center; gap: 11px; margin-top: 28px; }
.post__share .lbl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-right: 2px; }
.post__share a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--bone-dim); transition: border-color .2s, color .2s, transform .2s, background .2s; background: rgba(20,19,15,0.45); backdrop-filter: blur(6px); }
.post__share a:hover { border-color: var(--signal); color: var(--bone); transform: translateY(-2px); }
.post__share a.copied { border-color: var(--signal); color: var(--signal); }
.post__share svg { width: 16px; height: 16px; }

/* reading column */
.post__wrap { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 84px) var(--pad-x) var(--sect-y); }
.post__wrap .post__body { margin-top: 0; }

/* drop cap */
.post__body > p:first-of-type::first-letter { float: left; font-family: var(--display); font-weight: 600; font-size: 4.6rem; line-height: 0.78; padding: 8px 14px 0 0; color: var(--signal); }

/* keep reading */
.post__more { margin-top: clamp(54px, 7vw, 84px); padding-top: 34px; border-top: 1px solid var(--line); }
.post__more h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; }
.post__more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 680px) { .post__more-grid { grid-template-columns: 1fr; } }
.more-card { display: block; border: 1px solid var(--line); border-radius: 9px; padding: 24px; background: var(--soil-2); transition: border-color .2s, transform .2s; }
.more-card:hover { border-color: var(--signal); transform: translateY(-3px); }
.more-card__meta { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 11px; }
.more-card__title { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--bone); transition: color .2s; }
.more-card:hover .more-card__title { color: var(--signal); }

/* homepage "signals from the colony" teaser — 3 latest headlines */
.signals__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.signals__head .mono { color: var(--moss); }
.signals__all { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); white-space: nowrap; transition: color .2s; }
.signals__all:hover { color: var(--bone); }
.signals__list { border-top: 1px solid var(--line); }
.signals__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s; }
.signals__list a:hover { padding-left: 8px; }
.signals__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--bone); transition: color .2s; }
.signals__list a:hover .signals__title { color: var(--signal); }
.signals__date { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; flex-shrink: 0; }
@media (max-width: 560px) { .signals__list a { flex-direction: column; gap: 5px; } }

/* story/about page richer look + soil texture for depth */
.story-page::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/texture-soil.jpg") center/cover no-repeat; opacity: 0.10;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}
.story-page .wrap { position: relative; z-index: 1; }

/* Ants in the news — press wall */
.press { margin-top: clamp(64px, 9vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.press__head .mono { color: var(--signal); display: block; margin-bottom: 16px; }
.press__head h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.press__sub { margin-top: 12px; color: var(--bone-dim); }
.press__list { margin-top: 36px; display: flex; flex-direction: column; }
.press-row {
  display: grid; grid-template-columns: 200px 1fr auto auto; gap: clamp(14px, 2.5vw, 36px);
  align-items: baseline; padding: 20px 4px; border-top: 1px solid var(--line);
  transition: background .25s ease, padding-left .25s ease;
}
.press-row:last-child { border-bottom: 1px solid var(--line); }
.press-row:hover { background: rgba(42,38,34,0.4); padding-left: 14px; }
.press-row__meta { display: flex; flex-direction: column; gap: 3px; }
.press-row__pub { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--bone); }
.press-row__year { font-family: var(--mono); font-size: 0.68rem; color: var(--stone); }
.press-row__title { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--bone-dim); line-height: 1.35; transition: color .25s; }
.press-row:hover .press-row__title { color: var(--bone); }
.press-row__subject { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); border: 1px solid var(--line); border-radius: 100px; padding: 4px 9px; white-space: nowrap; align-self: center; }
.press-row__ext { color: var(--stone); transition: color .2s, transform .2s; }
.press-row:hover .press-row__ext { color: var(--signal); transform: translate(2px, -2px); }
@media (max-width: 720px) {
  .press-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .press-row__meta { flex-direction: row; gap: 8px; align-items: baseline; grid-row: 1; }
  .press-row__title { grid-column: 1 / -1; grid-row: 2; }
  .press-row__subject { grid-row: 1; grid-column: 2; }
  .press-row__ext { display: none; }
}

/* careers page (careers.html) */
.careers-page { position: relative; z-index: 1; padding: clamp(120px, 16vh, 190px) var(--pad-x) var(--sect-y); }
.careers-page .wrap { max-width: 860px; padding-left: 0; }
.careers-page .mono { color: var(--moss); }
.careers-page h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; margin: 14px 0 0; }
.careers-page .story-page__back { margin-bottom: clamp(48px, 7vw, 80px); }
.careers-head { margin-bottom: 4px; }
.careers-page__intro { margin-top: 22px; max-width: 60ch; color: var(--bone-dim); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; }
.careers-quote {
  margin-top: 30px; font-family: var(--serif); font-style: italic; color: var(--bone);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; max-width: 22ch;
  padding-left: 24px; position: relative;
}
.careers-quote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--signal); }
.careers-figure { margin-top: clamp(44px, 6vw, 72px); }
.careers-path { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.careers-path__step { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.careers-path__n { font-family: var(--mono); font-size: 0.7rem; color: var(--signal); letter-spacing: 0.08em; }
.careers-path__arr { color: var(--signal); font-size: 1.2rem; }
.careers-roles { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.careers-role { background: var(--ink); padding: 28px clamp(20px, 2vw, 28px); transition: background .3s; }
.careers-role:hover { background: var(--soil); }
.careers-role h3 { font-size: 1.35rem; font-weight: 600; }
.careers-role p { margin-top: 12px; color: var(--bone-dim); font-size: 0.97rem; line-height: 1.5; }
.careers-how { margin-top: 36px; max-width: 56ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--bone); line-height: 1.3; }
.careers-page__cta { margin-top: 44px; }
@media (max-width: 720px) { .careers-roles { grid-template-columns: 1fr; } .careers-path { gap: 10px 12px; } }

/* ----------------------------------------------------------------------------- WHAT (two cards) */
.what__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  border: 1px solid var(--line); border-radius: 4px; padding: clamp(26px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(42,38,34,0.5), rgba(42,38,34,0.18));
  display: flex; flex-direction: column; min-height: 280px;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.card:hover { border-color: rgba(154,148,139,0.42); transform: translateY(-4px); }
.card__kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--moss); }
.card h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 18px; }
.card__body { margin-top: 14px; color: var(--bone-dim); flex: 1; }
.card__link { margin-top: 22px; font-weight: 600; color: var(--bone); display: inline-flex; gap: 8px; align-items: center; }
.card__link .arr { color: var(--signal); transition: transform .2s; }
.card:hover .card__link .arr { transform: translateX(4px); }
.what__connector {
  margin-top: 34px; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--bone-dim); text-align: center;
}

/* ----------------------------------------------------------------------------- MODEL (four moves) */
.model__intro { margin-top: 26px; max-width: 54ch; color: var(--bone-dim); font-size: 1.12rem; }
.moves { margin-top: 60px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.move {
  display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: clamp(20px, 4vw, 64px);
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.move:hover { background: rgba(42,38,34,0.3); }
.move__code { display: flex; flex-direction: column; gap: 8px; }
.move__code .code { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
.move__code .dur { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--stone); }
.move__title { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); margin-bottom: 10px; }
.move__body { color: var(--bone-dim); max-width: 56ch; }
/* RUN — the differentiator, made heaviest */
.move--hero { background: linear-gradient(90deg, rgba(232,85,45,0.10), transparent 70%); border-left: 3px solid var(--signal); padding-left: clamp(18px, 3vw, 34px); margin-left: -1px; }
.move--hero .move__code .code { color: var(--signal); }
.move--hero .move__body { color: var(--bone); }
.model__runnote {
  margin-top: 30px; max-width: 60ch; padding-left: 26px; position: relative;
  color: var(--bone-dim); font-size: 1.05rem;
}
.model__runnote::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--signal); }
.model__runnote b { color: var(--bone); font-weight: 600; }
.model__proof {
  display: block; margin-top: 38px; max-width: 64ch;
  border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: 4px;
  padding: 22px 26px; background: linear-gradient(90deg, rgba(232,85,45,0.07), transparent 72%);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.model__proof:hover { transform: translateY(-3px); border-color: rgba(232,85,45,0.5); background: linear-gradient(90deg, rgba(232,85,45,0.12), transparent 72%); }
.model__proof-label { display: block; color: var(--moss); margin-bottom: 10px; }
.model__proof-ext { color: var(--stone); transition: color .2s, transform .2s; display: inline-block; }
.model__proof:hover .model__proof-ext { color: var(--signal); transform: translate(2px, -2px); }
.model__proof p { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em; color: var(--bone-dim); line-height: 1.32; }
.model__proof b { color: var(--bone); font-weight: 600; }

/* ----------------------------------------------------------------------------- ALONGSIDE */
.alongside__body { margin-top: 26px; max-width: 56ch; color: var(--bone-dim); font-size: 1.12rem; }
.alongside__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--ink); padding: 30px clamp(20px, 2vw, 30px); transition: background .3s; }
.pillar:hover { background: var(--soil); }
.pillar__k { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.pillar p { margin-top: 12px; color: var(--bone-dim); font-size: 0.97rem; }
.alongside__kicker {
  margin-top: 40px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 2.6vw, 2rem); max-width: 30ch; color: var(--bone);
}

/* ----------------------------------------------------------------------------- NO SLOP (compact beat) */
.section.compact { padding-top: clamp(58px, 8vw, 112px); padding-bottom: clamp(58px, 8vw, 112px); }
.noslop__inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 64px);
  align-items: start; max-width: 1000px; position: relative; padding-left: 26px;
}
.noslop__inner::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--signal); }
.noslop h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); max-width: 14ch; }
.noslop__body { color: var(--bone-dim); font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.55; max-width: 50ch; }

/* ----------------------------------------------------------------------------- STACK (7 systems) */
.stack__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sys { background: var(--ink); padding: 30px clamp(20px, 2vw, 30px); transition: background .3s; }
.sys:hover { background: var(--soil); }
.sys__n { font-family: var(--mono); font-size: 0.72rem; color: var(--moss); letter-spacing: 0.1em; }
.sys h3 { font-size: 1.4rem; margin-top: 14px; font-weight: 600; }
.sys p { margin-top: 10px; color: var(--bone-dim); font-size: 0.97rem; }
.stack__closer {
  margin-top: 40px; font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-family: var(--display);
  font-weight: 500; max-width: 28ch; letter-spacing: -0.01em;
}
.stack__closer b { color: var(--signal); font-weight: 600; }

/* ----------------------------------------------------------------------------- WHY (comparison, light band) */
.cmp { margin-top: 52px; border: 1px solid var(--line-lt); border-radius: 4px; overflow: hidden; }
.cmp__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; }
.cmp__row + .cmp__row { border-top: 1px solid var(--line-lt); }
.cmp__cell { padding: 16px clamp(14px, 1.6vw, 22px); font-size: 0.96rem; }
.cmp__cell--label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6f675c; display: flex; align-items: center; }
.cmp__head .cmp__cell { font-family: var(--display); font-weight: 600; font-size: 1.02rem; background: rgba(20,19,15,0.04); }
.cmp__col-anti { color: #7c756a; }
.cmp__col-us { background: rgba(232,85,45,0.06); font-weight: 600; color: var(--ink); border-left: 2px solid var(--signal); }
.cmp__head .cmp__col-us { background: rgba(232,85,45,0.12); }
.cmp__head .cmp__col-us::after { content: ""; }
.why__stat {
  margin-top: 40px; font-family: var(--display); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.2; color: var(--ink); max-width: 22ch;
}
.why__stat b { color: var(--signal); }
.why__stat-src { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8276; margin-top: 12px; }
.why__creds { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 0; align-items: center; }
.cred { font-family: var(--mono); font-size: 0.82rem; color: var(--ink); padding: 6px 0; }
.cred + .cred::before { content: "·"; margin: 0 16px; color: #b9b2a6; }
.why__ai { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--ink); max-width: 24ch; }

/* ----------------------------------------------------------------------------- PORTFOLIO */
.pf__sub { margin-top: 16px; color: var(--bone-dim); max-width: 46ch; }
.pf__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf-tile {
  border: 1px solid var(--line); border-radius: 4px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; min-height: 170px;
  transition: border-color .3s, transform .3s, background .3s;
  background: rgba(42,38,34,0.22);
}
.pf-tile:hover { border-color: rgba(154,148,139,0.45); transform: translateY(-4px); background: rgba(42,38,34,0.4); }
.pf-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-tile h3 { font-size: 1.6rem; font-weight: 600; }
.pf-tile p { color: var(--bone-dim); flex: 1; }
.pf-tile__ext { color: var(--stone); transition: color .2s, transform .2s; }
.pf-tile:hover .pf-tile__ext { color: var(--signal); transform: translate(2px,-2px); }
.status {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 100px; border: 1px solid var(--line); color: var(--stone); white-space: nowrap;
}
.status--live { color: var(--moss); border-color: rgba(107,114,87,0.5); }
.status--live::before { content: "●"; font-size: 0.6em; margin-right: 6px; vertical-align: middle; color: var(--moss); }
.status--building { color: #c79a4a; border-color: rgba(199,154,74,0.45); }
.status--exited { color: var(--stone); }

.pf__now-label { margin-top: 48px; margin-bottom: 18px; color: var(--moss); }
.pf__grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.status--new { color: var(--signal); border-color: rgba(232,85,45,0.55); background: rgba(232,85,45,0.08); }
.pf-tile--new { border-color: rgba(232,85,45,0.4); }
.pf-tile--new:hover { border-color: var(--signal); }

/* the logo wall — the real track record, sliced from antfarm.in */
.builtwall { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.builtwall__label { display: block; color: var(--stone); margin-bottom: 30px; }
.builtwall__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px) clamp(16px, 2.5vw, 36px);
  align-items: start;
}
.logo-coin { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.logo-coin img {
  width: clamp(86px, 10vw, 120px); height: clamp(86px, 10vw, 120px); border-radius: 50%;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.logo-coin:hover img {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 36px -14px rgba(0,0,0,0.7);
}
.logo-coin__name {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--bone-dim); line-height: 1.4;
}
.logo-coin__name em { color: var(--moss); font-style: normal; }
a.logo-coin { text-decoration: none; color: inherit; cursor: pointer; }
a.logo-coin .logo-coin__name { transition: color .2s; }
a.logo-coin:hover .logo-coin__name { color: var(--bone); }
a.fmg__lead { text-decoration: none; color: inherit; cursor: pointer; }
a.fmg__lead h3 { transition: color .2s; }
a.fmg__lead:hover h3 { color: var(--signal); }
a.fmg__lead .fmg__mark { transition: transform .3s ease; }
a.fmg__lead:hover .fmg__mark { transform: translateY(-3px); }
.builtwall__note { margin-top: 36px; font-size: 0.92rem; color: var(--stone); max-width: 60ch; }

/* Fork Media Group — featured parent + its brands */
.fmg {
  margin-top: 6px; display: grid; grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3vw, 42px); border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(42,38,34,0.42), rgba(42,38,34,0.12));
}
.fmg__lead { display: flex; gap: 20px; align-items: center; }
.fmg__mark { width: clamp(80px, 8vw, 104px); height: auto; border-radius: 50%; flex: none; }
.fmg__lead h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
.fmg__lead p { margin-top: 8px; color: var(--bone-dim); font-size: 0.95rem; max-width: 32ch; }
.fmg__brands-label { display: block; margin-bottom: 20px; color: var(--stone); }
.fmg__grid { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 34px); align-items: flex-start; }
.fmg__grid .logo-coin img,
.builtwall__grid--ventures .logo-coin img { width: clamp(72px, 8vw, 94px); height: clamp(72px, 8vw, 94px); }
.builtwall__sublabel { display: block; margin: 42px 0 24px; color: var(--stone); }
.builtwall__grid--ventures { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); }
@media (max-width: 720px) {
  .fmg { grid-template-columns: 1fr; gap: 28px; }
  .fmg__lead { flex-direction: row; }
}

/* ----------------------------------------------------------------------------- FREEBIES */
.freebies__grid { display: grid; gap: 24px; }
.freebies__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.fb-pill { appearance: none; cursor: pointer; background: rgba(42, 38, 34, 0.22); color: var(--stone); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 0.78rem; letter-spacing: .02em; transition: border-color .25s, color .25s, background .25s; }
.fb-pill:hover { color: #fff; border-color: rgba(232, 85, 45, 0.5); }
.fb-pill.is-active { color: var(--ink, #16130f); background: var(--signal); border-color: var(--signal); }
.freebies__stage { position: relative; overflow: hidden; border-radius: 18px; }
.freebies__track { display: flex; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.fb-slide { flex: 0 0 100%; min-width: 0; }
.fb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: rgba(20, 18, 15, 0.62); border: 1.5px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(4px); transition: background .25s, border-color .25s; }
.fb-arrow:hover { background: rgba(232, 85, 45, 0.85); border-color: transparent; }
.fb-prev { left: 14px; }
.fb-next { right: 14px; }
.freebies__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.fb-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: background .25s, width .25s; }
.fb-dot.is-active { background: var(--signal); width: 22px; }
.freebie { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; text-decoration: none; color: inherit; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(42, 38, 34, 0.22); transition: border-color .3s, transform .3s, background .3s; }
.freebie:hover { border-color: rgba(232, 85, 45, 0.5); transform: translateY(-4px); background: rgba(42, 38, 34, 0.4); }
.freebie__media { aspect-ratio: 4 / 3; overflow: hidden; }
.freebie__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.freebie__body { padding: clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(22px, 3vw, 40px) 0; }
.freebie__tag { display: inline-block; color: var(--signal); border: 1px solid rgba(232, 85, 45, 0.4); border-radius: 999px; padding: 4px 11px; font-size: 0.72rem; margin-bottom: 16px; }
.freebie__body h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 12px; }
.freebie__body p { color: var(--stone); margin: 0 0 20px; line-height: 1.55; max-width: 44ch; }
.freebie__cta { color: var(--signal); font-weight: 600; }
@media (max-width: 680px) {
  .freebie { grid-template-columns: 1fr; }
  .freebie__body { padding: 0 24px 28px; }
  /* card stacks (image over text) — keep the arrows centred on the IMAGE,
     not the whole card, so they never sit on top of the title/body. */
  .fb-arrow { top: calc(37.5vw - 18px); width: 38px; height: 38px; }
  .fb-prev { left: 10px; }
  .fb-next { right: 10px; }
}

/* ----------------------------------------------------------------------------- FORWHO */
.forwho__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: qual; }
.qual { border-top: 2px solid var(--signal); padding-top: 20px; transition: border-color .3s; }
.qual::before { counter-increment: qual; content: counter(qual, decimal-leading-zero); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--moss); display: block; margin-bottom: 12px; }
.qual:hover { border-top-color: var(--bone); }
.qual h3 { font-size: 1.3rem; font-weight: 600; max-width: 18ch; }
.qual p { margin-top: 12px; color: var(--bone-dim); font-size: 0.97rem; }
.disqual {
  margin-top: 48px; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--bone); text-align: center;
}
.disqual span { color: var(--stone); }

/* ----------------------------------------------------------------------------- CONTACT */
.contact { text-align: center; padding-bottom: clamp(90px, 12vw, 160px); }
.contact .wrap { padding-left: 0; max-width: 760px; }
.contact h2 { font-size: clamp(3rem, 9vw, 7rem); }
.contact__body { margin: 26px auto 0; max-width: 44ch; color: var(--bone-dim); font-size: 1.15rem; }
.contact__cta { margin-top: 40px; }
.contact__cta .btn { font-size: 1.05rem; padding: 17px 30px; }

/* ----------------------------------------------------------------------------- FORMS */
.af-form { margin-top: 34px; max-width: 540px; text-align: left; }
.contact .af-form { margin-left: auto; margin-right: auto; }
.af-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.af-form input, .af-form textarea {
  width: 100%; margin-top: 12px; padding: 14px 16px;
  background: rgba(42,38,34,0.5); border: 1px solid var(--line); border-radius: 3px;
  color: var(--bone); font-family: var(--body); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, background .2s ease;
}
.af-row input { margin-top: 0; }
.af-form input::placeholder, .af-form textarea::placeholder { color: var(--stone); }
.af-form input:focus, .af-form textarea:focus { outline: none; border-color: var(--signal); background: rgba(42,38,34,0.85); }
.af-form textarea { resize: vertical; min-height: 100px; }
.af-form button { margin-top: 16px; }
.af-status { margin-top: 14px; font-size: 0.92rem; min-height: 1.2em; }
.af-status--ok { color: var(--moss); }
.af-status--err { color: #e0795f; }
.af-status a, .contact__or a { color: var(--signal); }
.contact__or { margin-top: 20px; font-size: 0.9rem; color: var(--stone); }

/* ----------------------------------------------------------------------------- FOOTER */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px var(--pad-x);
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
}
.site-footer .foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; }
.site-footer .foot__brand img { border-radius: 50%; }
.foot__meta { font-family: var(--mono); font-size: 0.74rem; color: var(--stone); letter-spacing: 0.04em; line-height: 1.8; }
.foot__meta a:hover { color: var(--bone); }
.foot__links { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; }
.foot__links a { color: var(--bone-dim); }
.foot__links a:hover { color: var(--signal); }

/* ----------------------------------------------------------------------------- full-bleed image bands */
.band-img { position: relative; min-height: 80vh; display: flex; padding: var(--sect-y) var(--pad-x); background-size: cover; background-position: center; overflow: hidden; }
.band-img__scrim { position: absolute; inset: 0; z-index: 0; }
.band-img .wrap { position: relative; z-index: 1; }
.band-img .mono { display: block; margin-bottom: 18px; color: var(--signal); }
.band-img h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.band-img p { margin-top: 18px; max-width: 46ch; color: var(--bone); font-size: 1.1rem; }

/* lab band — text sits bottom-left over a warm scrim */
.lab-band { align-items: flex-end; background-image: url("../assets/lab-wide.jpg"); }
.lab-band .band-img__scrim {
  background:
    linear-gradient(0deg, var(--ink) 4%, rgba(20,19,15,0.35) 42%, rgba(20,19,15,0.15) 100%),
    linear-gradient(90deg, rgba(20,19,15,0.7) 0%, transparent 55%);
}
.lab-band__portrait {
  position: absolute; z-index: 2; right: clamp(20px, 5vw, 80px); bottom: -1px;
  width: clamp(180px, 20vw, 280px); border-radius: 4px 4px 0 0;
  border: 1px solid var(--line); border-bottom: none;
  box-shadow: 0 -10px 50px -10px rgba(0,0,0,0.8); filter: saturate(0.95);
}

/* ant macro band — one big centered metaphor line */
.ant-band { align-items: center; background-image: url("../assets/ant-macro.jpg"); }
.ant-band .band-img__scrim {
  background:
    radial-gradient(90% 90% at 30% 50%, transparent 30%, rgba(20,19,15,0.55) 100%),
    linear-gradient(90deg, rgba(20,19,15,0.85) 0%, rgba(20,19,15,0.25) 50%, rgba(20,19,15,0.6) 100%);
}
.ant-band__big { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 16ch; }
.ant-band__sub { margin-top: 16px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

@media (max-width: 720px) {
  .band-img { min-height: 70vh; }
  .lab-band__portrait { display: none; }
}

/* ----------------------------------------------------------------------------- noscript */
.noscript-banner { background: var(--signal); color: var(--ink); padding: 16px var(--pad-x); font-size: 0.95rem; position: relative; z-index: 100; }
.noscript-banner a { text-decoration: underline; }

/* ----------------------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .alongside__grid { grid-template-columns: 1fr; }
  .forwho__grid { grid-template-columns: 1fr; gap: 28px; }
  .pf__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .builtwall__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .site-nav, .site-header__cta { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(20,19,15,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 8px var(--pad-x) 18px;
  }
  .site-nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--bone); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

  .what__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: 1fr; }
  .pf__grid { grid-template-columns: 1fr; }
  .noslop__inner { grid-template-columns: 1fr; gap: 14px; }
  .builtwall__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .move { grid-template-columns: 1fr; gap: 10px; }
  .move__code { flex-direction: row; align-items: baseline; gap: 14px; }

  /* comparison table reflows to stacked cards on mobile */
  .cmp { border: none; }
  .cmp__head { display: none; }
  .cmp__row { grid-template-columns: 1fr; border: 1px solid var(--line-lt); border-radius: 4px; margin-bottom: 14px; }
  .cmp__row + .cmp__row { border-top: 1px solid var(--line-lt); }
  .cmp__cell { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-lt); }
  .cmp__cell:last-child { border-bottom: none; }
  .cmp__cell::before { content: attr(data-col); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8276; align-self: center; }
  .cmp__cell--label { background: rgba(20,19,15,0.04); }
  .cmp__cell--label::before { content: ""; }
  .cmp__col-us { border-left: none; border-bottom: 1px solid var(--line-lt); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .loaded .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .pf-tile:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}

/* =============================================================================
   V2 — receipts strip · press clippings · contact on-ramp · folded beats
   ============================================================================= */

/* ---- receipts: quiet mono outcome-arrows right under the hero ---- */
.section.receipts { padding-top: 0; padding-bottom: 0; }
.receipts__strip {
  display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3.4vw, 48px);
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em;
  color: var(--bone-dim);
}
.receipt b { color: var(--bone); font-weight: 600; }
.receipt__arr { color: var(--signal); padding: 0 8px; }

/* ---- model: the folded "alongside" reassurance ---- */
.model__alongside {
  margin-top: clamp(26px, 3.4vw, 40px); max-width: 62ch;
  color: var(--bone-dim); font-size: 1.02rem; line-height: 1.65;
  border-top: 1px solid var(--line); padding-top: clamp(20px, 2.6vw, 30px);
}

/* ---- why (light band): press clippings ---- */
.clips { margin-top: clamp(44px, 6vw, 72px); }
.clips__label { display: block; color: #6f675c; margin-bottom: 18px; }
.clips__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.clip {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 22px 24px;
  background: rgba(20, 19, 15, 0.03);
  border: 1px solid var(--line-lt, rgba(20,19,15,0.14));
  border-radius: 4px;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.clip:hover { background: rgba(20, 19, 15, 0.06); border-color: rgba(20,19,15,0.3); transform: translateY(-2px); }
.clip__pub { font-size: 0.72rem; color: #6f675c; letter-spacing: 0.08em; }
.clip__title { font-family: var(--serif); font-style: italic; font-size: 1.06rem; line-height: 1.45; color: var(--ink); }
.clips__more { display: inline-block; margin-top: 18px; font-size: 0.78rem; color: #6f675c; }
.clips__more:hover { color: var(--signal); }

/* ---- why: the folded "no slop" AI beat ---- */
.why__noslop { margin-top: clamp(40px, 5vw, 60px); max-width: 58ch; }
.why__noslop h3 { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.why__noslop p { color: rgba(20, 19, 15, 0.72); line-height: 1.65; }
.why__noslop p b { color: var(--ink); }

/* ---- contact: how it starts (three quiet steps) + qualifier line ---- */
.howstart {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin: 38px auto 0; max-width: 720px; text-align: left;
}
.howstart__step {
  padding: 20px 20px 22px;
  background: rgba(42, 38, 34, 0.42);
  border: 1px solid var(--line); border-radius: 4px;
}
.howstart__step .mono { display: block; font-size: 0.72rem; color: var(--signal); margin-bottom: 10px; letter-spacing: 0.1em; }
.howstart__step b { display: block; font-family: var(--display); font-size: 1.04rem; margin-bottom: 6px; }
.howstart__step p { font-size: 0.88rem; color: var(--bone-dim); line-height: 1.5; }
.contact__quals {
  margin: 26px auto 0; max-width: 56ch;
  font-size: 0.95rem; color: var(--bone-dim); line-height: 1.65;
}
.contact__quals b { color: var(--bone); font-weight: 600; }

/* ── Antone sneak-peek band ─────────────────────────────────────────── */
.antone-band { position: relative; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 130px var(--pad-x); overflow: hidden; }
.antone-band__wrap { display: flex; align-items: center; gap: 96px; }
.antone-band__stage { position: relative; flex: none; padding: 44px 40px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(circle at 50% 45%, rgba(232,85,45,.10) 0%, rgba(20,19,15,0) 68%), var(--soil-2, #211d1a); }
.antone-band__stage::after { content: "ANTONE · ONLINE"; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-family: var(--mono-f, "IBM Plex Mono", monospace); font-size: 10px; letter-spacing: .28em; color: rgba(232,85,45,.75); white-space: nowrap; }
.antone-band__eyes { display: block; cursor: pointer; }
.antone-band__copy { max-width: 54ch; }
.antone-band__kicker { display: block; font-family: var(--mono-f, "IBM Plex Mono", monospace); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--signal); margin-bottom: 22px; }
.antone-band__copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; margin: 0 0 22px; }
.antone-band__copy p { margin: 0 0 32px; max-width: 46ch; color: var(--bone-dim); font-size: 1.1rem; line-height: 1.7; }
.antone-band__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--signal); text-decoration: none; font-size: 1.05rem; border: 1px solid rgba(232,85,45,.45); border-radius: 999px; padding: 13px 26px; transition: background .18s ease, border-color .18s ease; }
.antone-band__cta:hover { background: rgba(232,85,45,.12); border-color: var(--signal); }
.antone-band__cta .arr { transition: transform .18s ease; }
.antone-band__cta:hover .arr { transform: translateX(5px); }
@media (max-width: 960px) {
  .antone-band { padding: 90px var(--pad-x); }
  .antone-band__wrap { flex-direction: column; gap: 48px; text-align: center; }
  .antone-band__copy h2, .antone-band__copy p { margin-left: auto; margin-right: auto; }
}

/* ============================================================= cross-section
   The ant farm seen through glass: carved chambers, depth readout, strata
   seams, and a colony that keeps your hours. (v=ant15) */

/* hairline strata seams between the deep bands */
#manifesto, #what, #model, #stack, #portfolio, #freebies, #contact {
  border-top: 1px solid rgba(90, 80, 66, 0.22);
}

/* the vermilion thread of a scrollbar */
html { scrollbar-width: thin; scrollbar-color: rgba(232,85,45,0.55) var(--ink); }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(232,85,45,0.5); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--signal); }

/* depth rail — the mono readout of how deep you've dug (desktop only) */
.depth-rail {
  position: fixed; right: 22px; bottom: 26px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.depth-rail.is-on { opacity: 1; transform: none; }
.depth-rail__tick { width: 18px; height: 1px; background: var(--signal); }
.depth-rail__m { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .12em; color: var(--stone); min-width: 4ch; }
.depth-rail__stage { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .2em; color: var(--bone-dim); }
.depth-rail--run .depth-rail__stage { color: var(--signal); }
@media (max-width: 1000px) { .depth-rail { display: none; } }

/* portfolio tiles become chambers carved in the soil */
.pf-tile {
  border-radius: 20px 30px 22px 32px / 28px 22px 30px 24px;
  border-color: rgba(90, 80, 66, 0.35);
  background: radial-gradient(130% 130% at 28% 18%, rgba(58, 52, 44, 0.42), rgba(20, 19, 15, 0.85));
  box-shadow: inset 0 2px 22px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(237, 233, 225, 0.04);
}
.pf-tile:hover {
  border-color: rgba(232, 85, 45, 0.4);
  background: radial-gradient(130% 130% at 28% 18%, rgba(64, 56, 46, 0.55), rgba(24, 22, 18, 0.9));
  box-shadow: inset 0 2px 22px rgba(0, 0, 0, 0.45), inset 0 0 44px rgba(232, 85, 45, 0.06),
              0 18px 40px -18px rgba(0, 0, 0, 0.8);
}
.pf-tile__receipt {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(232, 85, 45, 0.75);
  border-top: 1px dashed rgba(90, 80, 66, 0.4); padding-top: 10px; margin-top: 2px;
}

/* the colony keeps your hours — hero grades */
.t-night .hero__bg::after, .t-dawn .hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.t-night .hero__bg::after {
  background:
    radial-gradient(85% 65% at 72% 82%, rgba(232, 85, 45, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.42), rgba(20, 19, 15, 0.18) 55%, rgba(10, 9, 7, 0.35));
}
.t-dawn .hero__bg::after {
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(240, 178, 92, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(240, 178, 92, 0.05), transparent 50%);
}
.t-night .hero__video { filter: brightness(0.82) saturate(0.92); }
