/* J4 DIGITAL — j4digital.net design system (2026-08-26 redesign)
   Direction: the approved dark hero is a contained "dark room" on a light
   green-and-neutral page. One green line is the signature: it draws itself
   through the hero, underlines every section title, and connects the four
   process steps. Green is the only accent. Mobile-first throughout. */

/* metric-matched fallbacks so the swap to web fonts barely moves the layout */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial"); font-weight: 600 800; size-adjust: 103%; ascent-override: 93%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  /* canvas + ink (light) */
  --paper: #F4F3EE;
  --paper-2: #EAE9E2;
  --card: #FFFFFF;
  --ink: #0B0D0C;
  --ink-2: #3B443F;
  --ink-3: #5C655F;
  --rule: rgba(11, 13, 12, 0.10);

  /* the dark room */
  --forest: #06271A;
  --forest-2: #0A3624;
  --forest-3: #0F452E;
  --on-dark: #F4F3EE;
  --on-dark-2: #B9C7BE;
  --rule-dark: rgba(244, 243, 238, 0.12);

  /* greens */
  --green: #0B5D35;          /* deep — actions + text on light */
  --green-ink: #084A2A;      /* hover on light */
  --green-bright: #25A85A;   /* digital — accent on dark, decorative on light */
  --green-glow: #7CF0A6;     /* the line highlight */
  --mint: #DCEFE2;
  --mint-2: #C5E4CF;
  --danger: #B3261E;

  /* type */
  --font-display: "Bricolage Grotesque", "Bricolage Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Instrument Fallback", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --green-text-dark: #5FD88C; /* small green text on the dark rooms (AA on forest) */
  --fs-display: clamp(2.6rem, 1.4rem + 4.2vw, 4.9rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem);
  --fs-h4: 1.15rem;
  --fs-lead: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.92rem;
  --fs-eyebrow: 0.76rem;
  --lh-tight: 1.02;
  --lh-snug: 1.18;
  --lh-body: 1.6;

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1200px;
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(11, 13, 12, 0.05), 0 18px 40px -18px rgba(6, 39, 26, 0.22);
  --shadow-lg: 0 2px 4px rgba(11, 13, 12, 0.06), 0 32px 64px -24px rgba(6, 39, 26, 0.35);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 320ms;
  --dur-slow: 700ms;

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.22; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--mint-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
[id] { scroll-margin-top: 8.75rem; } /* clears the two-row mobile header */
@media (min-width: 900px) { [id] { scroll-margin-top: 5.5rem; } }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.accent { color: var(--green); }
.dark .accent { color: var(--green-bright); }

/* the eyebrow + the line: every section title carries the signature line */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green-bright); border-radius: 2px; }
.dark .eyebrow { color: var(--green-text-dark); }
.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff; --btn-bg-h: var(--green-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .85rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--btn-bg-h); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(11, 93, 53, .6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bg-h: rgba(11, 13, 12, .06); border-color: var(--rule); }
.btn-ghost:hover { box-shadow: none; }
.dark .btn-ghost { --btn-fg: var(--on-dark); --btn-bg-h: rgba(244, 243, 238, .08); border-color: var(--rule-dark); }
.dark .btn-primary { --btn-bg: var(--green-bright); --btn-fg: var(--forest); --btn-bg-h: var(--green-glow); }
.btn-lg { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; color: var(--green); }
.brand .mark path { transition: stroke var(--dur) var(--ease); }
.nav { display: none; }
.nav a { color: var(--ink-2); font-weight: 500; padding: .5rem .8rem; border-radius: var(--r-pill); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); background: rgba(11, 13, 12, .05); }
.header-cta { --btn-bg: var(--ink); --btn-bg-h: var(--green); min-height: 2.6rem; padding: .6rem 1.05rem; font-size: .95rem; }
/* mobile: a scrollable pill row of anchors under the brand row (no hamburger) */
.nav-mobile { display: flex; gap: .4rem; overflow-x: auto; padding: 0 0 .7rem; margin-top: -.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a { flex: 0 0 auto; font-size: .88rem; font-weight: 500; color: var(--ink-2); padding: .38rem .8rem; border: 1px solid var(--rule); border-radius: var(--r-pill); background: rgba(255,255,255,.55); }
.nav-mobile a[aria-current="true"] { color: var(--green); border-color: var(--mint-2); background: var(--mint); }
@media (min-width: 900px) {
  .nav { display: flex; gap: .15rem; }
  .nav-mobile { display: none; }
  .header-row { min-height: 4.75rem; }
}

/* ---------- hero: the dark room ---------- */
.hero { padding-top: clamp(.5rem, 2vw, 1.5rem); }
.hero-panel {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, var(--forest-3) 0%, var(--forest) 55%, #041a11 100%);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(5rem, 8vw, 6rem);
}
@media (min-width: 900px) { .hero-panel { padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem); } }
/* faint dot grid — the "engineering paper" under the light */
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(244,243,238,.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 100%);
}
/* the line: gradients + transforms only (no filters — cheap on phones, safe for screenshots) */
.beam { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; clip-path: inset(0 0 0 0); animation: wipe 1500ms var(--ease) 150ms both; }
.beam-glow, .beam-core { position: absolute; left: -60%; top: 50%; width: 220%; transform: rotate(-31deg); transform-origin: 50% 50%; }
.beam-glow { height: 180px; margin-top: -90px; background: linear-gradient(to bottom, transparent, rgba(37,168,90,.10) 30%, rgba(37,168,90,.38) 50%, rgba(37,168,90,.10) 70%, transparent); }
.beam-core { height: 2px; margin-top: -1px; background: linear-gradient(to right, transparent 5%, var(--green-glow) 30%, var(--green-glow) 70%, transparent 95%); box-shadow: 0 0 14px 2px rgba(124,240,166,.55); animation: shimmer 6s ease-in-out 1800ms infinite; }
.beam-pool { position: absolute; left: 25%; right: 5%; bottom: -25%; height: 60%; background: radial-gradient(ellipse at center, rgba(37,168,90,.32), transparent 68%); }
@media (max-width: 899px) { .beam-glow, .beam-core { transform: rotate(-56deg); width: 300%; left: -100%; } .beam-glow { height: 120px; margin-top: -60px; } }
.static .beam, .static .beam-core { animation: none; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes shimmer { 0%, 100% { opacity: .95; } 50% { opacity: .55; } }
.hero-grid { display: grid; gap: 2.25rem; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; } }
.hero-copy .eyebrow { color: var(--green-bright); }
.hero-copy h1 { max-width: 12ch; }
.hero-copy h1 .accent { color: var(--green-bright); }
.hero-copy .lead { color: var(--on-dark-2); margin-top: 1.25rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; color: var(--on-dark-2); font-size: var(--fs-small); }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green-bright); }

/* ---------- inquiry card ---------- */
.inquiry {
  background: var(--card); color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.hero .inquiry { position: relative; z-index: 2; }
.inquiry h2 { font-size: 1.5rem; letter-spacing: -0.025em; }
.inquiry .intro { color: var(--ink-2); margin-top: .5rem; font-size: var(--fs-small); line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 .85rem; }
.chip {
  border: 1px solid var(--mint-2); background: var(--mint); color: var(--green-ink);
  border-radius: var(--r-pill); padding: .42rem .8rem; font-size: .86rem; font-weight: 500; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chip:hover { background: var(--mint-2); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.field { display: grid; gap: .35rem; margin-top: .9rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { color: var(--ink-3); font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .75rem .9rem;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(37, 168, 90, .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field-row { display: grid; gap: .9rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field { margin-top: .9rem; } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.seg label { position: relative; display: block; text-align: center; padding: .7rem .5rem; border: 1.5px solid var(--rule); border-radius: var(--r-sm); background: var(--paper); font-weight: 500; font-size: .92rem; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg input:checked + span { color: var(--green-ink); }
.seg label:has(input:checked) { border-color: var(--green); background: var(--mint); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1rem; font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--green); flex: 0 0 auto; }
.inquiry .btn { margin-top: 1.1rem; }
.inquiry .promise { display: flex; align-items: flex-start; gap: .5rem; margin-top: .85rem; font-size: .84rem; color: var(--ink-3); line-height: 1.45; }
.inquiry .promise svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: .1rem; color: var(--green); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* two-step (JS only): step 2 hidden until the goal is written */
.js .inquiry[data-step="1"] .step-2 { display: none; }
.js .inquiry[data-step="2"] .step-1-only { display: none; }
.step-bar { display: flex; gap: .35rem; margin-bottom: .9rem; }
.step-bar span { height: 3px; flex: 1; border-radius: 2px; background: var(--paper-2); }
.step-bar span.on { background: var(--green-bright); }
.no-js .step-bar { display: none; }
.back-link { background: none; border: 0; padding: .4rem 0; color: var(--ink-3); font-size: .86rem; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.back-link:hover { color: var(--ink); }

/* ---------- six doors (service strip) ---------- */
.doors { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.doors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 640px) { .doors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .doors-grid { grid-template-columns: repeat(6, 1fr); gap: .75rem; } }
.door {
  display: grid; gap: .55rem; align-content: start;
  padding: 1.1rem 1rem 1.15rem; min-height: 8.5rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  color: var(--ink); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint-2); color: var(--ink); }
.door .icon { width: 30px; height: 30px; color: var(--green); }
.door strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.2; }
.door span { color: var(--ink-3); font-size: .84rem; line-height: 1.35; }

/* ---------- generic sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .7) 0; }
.dark { background: var(--forest); color: var(--on-dark); }
.dark .lead, .dark .muted { color: var(--on-dark-2); }
.dark-room { border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
@media (min-width: 900px) { .dark-room { padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem); } }

/* ---------- problems: sound familiar? ---------- */
.problems { display: grid; gap: .8rem; }
@media (min-width: 640px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .problems { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.mock-cap { position: absolute; left: 0; right: 0; top: .6rem; text-align: center; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); opacity: .75; padding: 0 1rem; }
.problem {
  display: grid; gap: .8rem; align-content: space-between;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.35rem 1.3rem 1.2rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.problem:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem q { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.25; letter-spacing: -0.02em; quotes: "\201C" "\201D"; }
.problem q::before { color: var(--green-bright); }
.problem q::after { color: var(--green-bright); }
.problem .answer { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; padding-left: .9rem; border-left: 2px solid var(--green-bright); }
.problem .tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }

/* ---------- services ---------- */
.services { display: grid; gap: 1rem; }
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.service {
  scroll-margin-top: 6rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem);
  display: grid; gap: 1rem; align-content: start;
}
.service-head { display: flex; align-items: center; gap: .9rem; }
.service-head .icon { width: 44px; height: 44px; padding: 10px; color: var(--green); background: var(--mint); border-radius: 12px; flex: 0 0 auto; }
.service-head .kicker { color: var(--ink-3); font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.service h3 { font-size: 1.45rem; }
.service .promise { color: var(--ink-2); line-height: 1.5; }
.service ul { display: grid; gap: .45rem; }
.service li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); line-height: 1.45; }
.service li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--green-bright); }
.service .also { font-size: .84rem; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: .85rem; line-height: 1.45; }
.service .also b { color: var(--ink-2); font-weight: 600; }
.service .note { font-size: .82rem; color: var(--ink-3); background: var(--paper); border-radius: var(--r-sm); padding: .7rem .85rem; line-height: 1.45; }

/* ---------- work: the second dark room ---------- */
.work-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.work {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--forest-2); border: 1px solid var(--rule-dark); border-radius: var(--r-lg);
  color: var(--on-dark); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.work:hover { transform: translateY(-4px); border-color: rgba(37,168,90,.45); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.work-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #0d3a27; border-bottom: 1px solid var(--rule-dark); position: relative; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--dur-slow) var(--ease); }
.work:hover .work-shot img { transform: scale(1.03); }
.work-shot .mock { position: absolute; inset: 0; display: grid; align-items: end; justify-items: center; padding: 2.5rem 1.25rem 0; }
.work-shot .mock:has(.mock-crm) { align-items: center; padding-bottom: 2rem; }
@media (max-width: 759px) { .work-shot { aspect-ratio: 4 / 3; } }
.work-body { padding: 1.3rem 1.35rem 1.4rem; display: grid; gap: .55rem; align-content: start; }
.work .cat { color: var(--green-text-dark); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.work h3 { font-size: 1.35rem; }
.work p { color: var(--on-dark-2); font-size: var(--fs-small); line-height: 1.5; }
.work .go { margin-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); font-weight: 600; font-size: .92rem; }
.work .go svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.work:hover .go svg { transform: translateX(3px); }
/* CSS-built mock for the private CRM + the phone text-back */
.mock-crm { width: 100%; max-width: 380px; display: grid; gap: .5rem; }
.mock-crm .bar { height: 10px; border-radius: 6px; background: rgba(244,243,238,.14); }
.mock-crm .bar.g { background: var(--green-bright); width: 38%; }
.mock-crm .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr .6fr; gap: .5rem; }
.mock-crm .row .bar { height: 8px; }
/* the phone rises from the bottom edge of the card; the shot crops it */
.mock-phone { width: 200px; max-width: 70%; background: #0a2e1f; border: 2px solid rgba(244,243,238,.16); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 1rem .75rem 1.25rem; display: grid; gap: .45rem; align-content: start; }
.mock-phone .bubble { padding: .5rem .65rem; border-radius: 14px; font-size: .7rem; line-height: 1.3; max-width: 88%; }
.mock-phone .in { background: rgba(244,243,238,.14); color: var(--on-dark); border-bottom-left-radius: 4px; }
.mock-phone .out { background: var(--green-bright); color: var(--forest); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.mock-phone .missed { color: #F19C93; font-size: .68rem; text-align: center; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); } }
.about-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.about-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11,13,12,.09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%); }
.about-art svg { width: 62%; height: auto; color: var(--green); position: relative; }
.about-art .cap { position: absolute; left: 1.1rem; bottom: 1rem; font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; }
.about-copy { display: grid; gap: 1.1rem; }
.about-copy p { color: var(--ink-2); line-height: 1.65; }
.about-copy p.big { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.02em; }
.about-copy .sig { font-weight: 600; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .5rem; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: .95rem 1rem; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--green); line-height: 1.1; }
.fact span { font-size: .8rem; color: var(--ink-3); line-height: 1.3; display: block; margin-top: .25rem; }

/* ---------- credentials ---------- */
.cred-groups { display: grid; gap: 1rem; }
@media (min-width: 800px) { .cred-groups { grid-template-columns: repeat(3, 1fr); } }
.cred { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 1.35rem 1.3rem; display: grid; gap: .9rem; align-content: start; }
.cred h3 { font-size: 1.15rem; }
.cred .why { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { font-size: .8rem; font-weight: 500; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: .32rem .7rem; }
.pill.hi { color: var(--green-ink); background: var(--mint); border-color: var(--mint-2); font-weight: 600; }

/* ---------- process: four steps on the line ---------- */
.steps { display: grid; gap: 0; position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 0 0 2rem; }
.step:last-child { padding-bottom: 0; }
.step .n { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--green-glow); font-family: var(--font-display); font-weight: 700; font-size: .95rem; position: relative; z-index: 1; }
.step::before { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.4rem; bottom: 0; width: 2px; background: linear-gradient(var(--green-bright), rgba(37,168,90,.15)); }
.step:last-child::before { display: none; }
.step h3 { font-size: 1.25rem; margin-top: .35rem; }
.step p { color: var(--ink-2); margin-top: .4rem; line-height: 1.55; max-width: 44ch; }
.step .get { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; font-size: .86rem; font-weight: 600; color: var(--green); }
.step .get svg { width: 15px; height: 15px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step { grid-template-columns: 1fr; padding: 0; gap: .5rem; }
  .step::before { left: 2.4rem; right: -1.5rem; top: calc(1.2rem - 1px); bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--green-bright), rgba(37,168,90,.15)); }
}

/* ---------- final call ---------- */
.final { text-align: center; }
.final h2 { max-width: 18ch; margin-inline: auto; }
.final .lead { margin: 1rem auto 0; }
.final .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.final .alt { margin-top: 1.25rem; color: var(--ink-3); font-size: var(--fs-small); }
.final .alt a { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.foot-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }
@media (min-width: 640px) { .foot-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .foot-strip { grid-template-columns: repeat(6, 1fr); } }
.foot-strip a { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink-2); font-size: .9rem; font-weight: 500; padding: .45rem 0; }
.foot-strip a:hover { color: var(--green); }
.foot-strip svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.foot-legal { color: var(--ink-3); font-size: .82rem; line-height: 1.5; max-width: 72ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .86rem; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--green); }

/* ---------- reveal on scroll (once, reduced-motion safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.static .reveal { transition: none !important; }
.js .reveal[data-delay="1"] { transition-delay: 80ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .beam, .beam-core { animation: none; }
  .btn, .door, .problem, .work, .chip { transition: none; }
  .btn:hover, .door:hover, .problem:hover, .work:hover { transform: none; }
}

/* ---------- inner pages (thanks / privacy / terms) ---------- */
.page { padding: clamp(2rem, 5vw, 4rem) 0 var(--section); }
.page .prose { max-width: 68ch; }
.prose h1 { font-size: var(--fs-h2); }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.25rem; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; margin-top: .75rem; }
.prose p { margin-top: .9rem; }
.next-steps { display: grid; gap: .75rem; margin-top: 1.75rem; }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: start; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem 1.1rem; color: var(--ink-2); line-height: 1.5; }
.next-steps li b { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--green-glow); font-family: var(--font-display); font-size: .9rem; }
