/* ============================================================
   Joe Eves - Business Systems Architect
   Aesthetic: "Modern Business Architecture" - blueprint / schematic
   Palette: white · black · blue (OKLCH, tinted toward brand hue 258)
   ============================================================ */

:root {
  /* color */
  --paper:      oklch(0.986 0.006 240);
  --paper-2:    oklch(0.963 0.009 242);
  --ink:        oklch(0.235 0.030 262);
  --ink-2:      oklch(0.445 0.026 260);
  --line:       oklch(0.865 0.018 250);
  --line-2:     oklch(0.785 0.030 252);
  --blue:       oklch(0.575 0.170 258);
  --blue-press: oklch(0.510 0.165 260);
  --blue-wash:  oklch(0.948 0.030 248);
  --navy:       oklch(0.275 0.060 264);
  --navy-2:     oklch(0.230 0.055 266);
  --on-navy:    oklch(0.945 0.012 250);
  --on-navy-2:  oklch(0.740 0.028 252);

  /* type */
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
  --f-mono: 'Spline Sans Mono', ui-monospace, monospace;

  /* spacing */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --maxw: 1280px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { 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 {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* blueprint grid - faint, fixed */
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--blue) 40%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--blue) 40%, transparent) 1px, transparent 1px);
  background-size: clamp(48px, 7vw, 92px) clamp(48px, 7vw, 92px);
  opacity: 0.05;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

main, .site-head, .site-foot { position: relative; z-index: 1; }

/* ---------- type primitives ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.03; letter-spacing: -0.02em; color: var(--ink); }
em { font-style: normal; color: var(--blue); }
a { color: inherit; }

.tag {
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem;
}
.tag__idx { color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.1rem 0.5rem; font-size: 0.66rem; }
.tag--light { color: color-mix(in oklab, var(--blue) 55%, white); }
.tag--light .tag__idx { color: var(--on-navy-2); border-color: color-mix(in oklab, var(--on-navy) 30%, transparent); }

.sec-title { font-size: clamp(1.95rem, 1.2rem + 3vw, 3.4rem); }
.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; max-width: var(--maxw); }
.sec-note { font-size: 1.05rem; color: var(--ink-2); max-width: 40ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--f-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.7rem 1.15rem; background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 2px; text-decoration: none;
  cursor: pointer; transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--invert { --bg: var(--paper); --fg: var(--navy); border-color: var(--paper); }
.btn--ghost-light { --fg: var(--on-navy); border-color: color-mix(in oklab, var(--on-navy) 34%, transparent); }
.btn--ghost-light:hover { border-color: var(--on-navy); }

.link-arw {
  font-family: var(--f-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; color: var(--blue); display: inline-flex; align-items: center; gap: 0.45rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arw span { transition: transform 0.3s var(--ease); }
.link-arw:hover { border-color: var(--blue); }
.link-arw:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark { text-decoration: none; display: flex; flex-direction: column; margin-right: auto; line-height: 1; }
.wordmark__name { font-family: var(--f-display); font-weight: 900; letter-spacing: 0.02em; font-size: 1.05rem; color: var(--ink); }
.wordmark__role { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-top: 0.25rem; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--blue); transition: width 0.3s var(--ease); }
.nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(560px, 80vh, 800px);
  display: grid; align-items: center;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 520px) minmax(0, 760px) minmax(var(--gutter), 1fr);
}
.hero__copy { grid-column: 2; z-index: 2; padding-block: clamp(2rem, 4vw, 3rem); }
.hero__copy > * { max-width: 560px; }
.hero__bg { grid-column: 3 / 5; align-self: stretch; position: relative; z-index: 1; }
.hero__bg .sch-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: var(--blue); }
.hero__title {
  font-size: clamp(2.6rem, 1.1rem + 5.6vw, 5.6rem); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.06; margin: 0.2rem 0 1.6rem;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.07em; }
.hero__title .ln > span { display: block; transform: translateY(115%); animation: heroLine 0.95s var(--ease) var(--d, 0s) both; }
.hero__lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 2rem 0 2.4rem; }
.hero__promise { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__promise dt { font-family: var(--f-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.hero__promise dt::before { content: "✓"; color: var(--blue); font-weight: 700; }

/* schematic - animated system diagram */
.schematic {
  position: relative; margin: 0; border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(0.9rem, 1.6vw, 1.5rem); overflow: hidden;
  background: linear-gradient(152deg, color-mix(in oklab, var(--blue) 6%, var(--paper)), var(--paper) 60%);
  box-shadow: 0 26px 64px color-mix(in oklab, var(--ink) 13%, transparent);
}
.schematic::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(color-mix(in oklab, var(--blue) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--blue) 12%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 72% at 50% 42%, #000 18%, transparent 82%);
  mask-image: radial-gradient(80% 72% at 50% 42%, #000 18%, transparent 82%);
}
.sch-svg { position: relative; width: 100%; height: auto; color: var(--blue); display: block; }
.sch-live { position: absolute; top: 0.9rem; right: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.42rem;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  background: color-mix(in oklab, var(--blue) 9%, var(--paper)); border: 1px solid color-mix(in oklab, var(--blue) 24%, transparent);
  padding: 0.26rem 0.58rem; border-radius: 999px; }
.sch-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: schBlink 1.6s ease-in-out infinite; }
@keyframes schBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.sch-tick { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.16em; fill: var(--ink-2); text-transform: uppercase; }
.sch-tick--b { fill: var(--blue); }
.sch-node rect { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.5; }
.sch-node text { font-family: var(--f-body); font-size: 16px; fill: var(--ink); font-weight: 600; }
.sch-ic { color: var(--ink); }
.sch-ic--ok { color: #16a34a; }
.yt-play { fill: var(--paper); }
.sch-core rect { fill: var(--ink); stroke: var(--ink); }
.sch-fw-1 { font-family: var(--f-display); font-size: 26px; font-weight: 800; fill: var(--paper); letter-spacing: 0.01em; }
.sch-fw-2 { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.2em; fill: color-mix(in oklab, var(--paper) 74%, transparent); }
.wire { stroke: currentColor; stroke-width: 2; }
.sch-flow circle { fill: currentColor; }
.sch-live { z-index: 3; }

/* schematic entrance + flow */
.wire { stroke-dasharray: 1; stroke-dashoffset: 1; animation: schDraw 0.7s var(--ease) var(--d, 0s) forwards; }
.sch-in { opacity: 0; transform-box: fill-box; animation: schInL 0.6s var(--ease) var(--d, 0s) forwards; }
.sch-out { opacity: 0; transform-box: fill-box; animation: schInR 0.6s var(--ease) var(--d, 0s) forwards; }
.sch-core { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: schPop 0.6s var(--ease) var(--d, 0s) forwards; }
.sch-anim { opacity: 0; animation: schFade 0.6s var(--ease) var(--d, 0s) forwards; }
.sch-pulse { fill: none; stroke: var(--blue); stroke-width: 1.4; transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: schPing 2.8s ease-out 2s infinite; }
@keyframes schDraw { to { stroke-dashoffset: 0; } }
@keyframes schInL { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes schInR { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes schPop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes schFade { to { opacity: 1; } }
@keyframes schPing { 0% { opacity: 0.5; transform: scale(1); } 70% { opacity: 0; transform: scale(1.16); } 100% { opacity: 0; transform: scale(1.16); } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; padding: 0.75rem 0; }
.ticker__row { display: inline-flex; align-items: center; gap: 1.4rem; white-space: nowrap; animation: slide 46s linear infinite; }
.ticker__row span { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.01em; }
.ticker__row i { color: var(--blue); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* ---------- problem (dark) ---------- */
.problem { background: var(--navy); color: var(--on-navy); padding: var(--section-y) var(--gutter); }
.problem__grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.problem__lead { color: var(--on-navy); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.7rem); }
.problem__lead em { color: color-mix(in oklab, var(--blue) 60%, white); }
.problem__body p { color: var(--on-navy-2); max-width: 54ch; }
.cost-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 0; }
.cost-list li { padding: 0.95rem 0; border-top: 1px solid color-mix(in oklab, var(--on-navy) 16%, transparent); color: var(--on-navy-2); font-size: 0.98rem; }
.cost-list li:last-child { border-bottom: 1px solid color-mix(in oklab, var(--on-navy) 16%, transparent); }
.cost-list span { color: var(--on-navy); font-weight: 600; }
.problem__turn { margin-top: 1.6rem !important; color: var(--on-navy) !important; font-size: 1.1rem !important; font-weight: 500; }

/* ---------- framework ---------- */
.framework { max-width: var(--maxw); margin-inline: auto; padding: var(--section-y) var(--gutter); }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.pillar { padding: 2.2rem 1.8rem 2.4rem 0; border-bottom: 1px solid var(--line-2); }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: 1.8rem; }
.pillar__no { font-family: var(--f-mono); font-size: 0.8rem; color: var(--blue); letter-spacing: 0.1em; }
.pillar h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin: 1.5rem 0 0.7rem; }
.pillar p { color: var(--ink-2); font-size: 0.98rem; max-width: 34ch; }

/* ---------- offers ---------- */
.offers { max-width: var(--maxw); margin-inline: auto; padding: var(--section-y) var(--gutter); }
.offer__meta { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.offer__no { font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-2); }
.offer__pillar { font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); border: 1px solid var(--line-2); padding: 0.16rem 0.5rem; border-radius: 999px; }
.offer__name { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.offer__what { color: var(--ink-2); margin: 0.8rem 0 1.1rem; }
.offer__out { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 1.1rem; }

.offer--lead {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem;
  padding: 2.4rem; border: 1px solid var(--line-2); border-radius: 4px;
  background: linear-gradient(120deg, var(--blue-wash), var(--paper) 60%);
  margin-bottom: 1.5rem; align-items: start;
}
.offer--lead .offer__meta { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.offer--lead .offer__what { max-width: 52ch; font-size: 1.08rem; }

.offer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.offer-row .offer { padding: 2rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line-2); }
.offer-row .offer + .offer { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.offer-row .offer__what { font-size: 0.94rem; }

/* ---------- method ---------- */
.method { background: var(--paper-2); border-block: 1px solid var(--line); }
.method .sec-head, .method .steps { max-width: var(--maxw); margin-inline: auto; }
.method { padding: var(--section-y) var(--gutter); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { padding: 1.5rem 1.2rem 2rem 0; border-top: 2px solid var(--ink); position: relative; }
.step + .step { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 2px; background: var(--blue); }
.step__no { font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-2); }
.step h3 { font-size: 1.15rem; margin: 1rem 0 0.5rem; letter-spacing: -0.01em; }
.step p { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- about ---------- */
.about { max-width: var(--maxw); margin-inline: auto; padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__portrait { position: relative; }
.about__portrait img { width: 100%; height: auto; border-radius: 4px; display: block; border: 1px solid var(--line-2); filter: grayscale(0.15) contrast(1.02); }
.about__cap { position: absolute; left: 0.9rem; bottom: 0.9rem; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--paper); background: color-mix(in oklab, var(--navy) 78%, transparent); padding: 0.35rem 0.6rem; border-radius: 2px; backdrop-filter: blur(4px); }
.about__title { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem); margin: 1rem 0 1.6rem; }
.about__copy p { color: var(--ink-2); max-width: 56ch; margin-bottom: 1rem; }
.about__copy em { font-weight: 500; }
.about__belief { color: var(--ink) !important; font-weight: 500; padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* ---------- cta (dark) ---------- */
.cta { background: var(--navy-2); color: var(--on-navy); padding: clamp(4.5rem, 9vw, 8.5rem) var(--gutter); text-align: left; }
.cta__inner { max-width: var(--maxw); margin-inline: auto; }
.cta__title { color: var(--on-navy); font-size: clamp(2.4rem, 1.3rem + 4.6vw, 5rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1.3rem; }
.cta__lede { color: var(--on-navy-2); font-size: 1.15rem; max-width: 48ch; margin-bottom: 2.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.cta__mail { font-family: var(--f-mono); font-size: 0.85rem; color: var(--on-navy-2); }
.cta__mail span { color: color-mix(in oklab, var(--blue) 55%, white); }
.cta__mail a { color: var(--on-navy); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--on-navy) 40%, transparent); }

/* ---------- booking + contact embeds ---------- */
.book, .contact { padding: var(--section-y) var(--gutter); }
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.book__inner, .contact__inner { max-width: var(--maxw); margin-inline: auto; }
.sec-note--wide { max-width: 56ch; margin-top: 0.9rem; }
.book .sec-head, .contact .sec-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.embed-frame {
  border: 1px solid var(--line-2); border-radius: 5px; background: var(--paper);
  padding: clamp(0.4rem, 1.2vw, 0.9rem); overflow: hidden;
}
.embed-frame iframe { display: block; width: 100%; border-radius: 3px; background: var(--paper); }
.embed-frame--form { max-width: 720px; }

/* custom contact form */
.qform-wrap { max-width: 640px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); }
.qform { display: grid; gap: 1.1rem; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field__label { font-family: var(--f-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--ink-2) 60%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in oklab, var(--blue) 16%, transparent); }
.field textarea { resize: vertical; min-height: 120px; }
.qform__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.qform__note { font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-2); }
.qform__note.ok { color: var(--blue); }
.qform__note.err { color: oklch(0.55 0.19 27); }
@media (max-width: 560px) { .qform__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { max-width: var(--maxw); margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 2rem; align-items: start; border-top: 1px solid var(--line); }
.foot__brand .wordmark__name { font-size: 1.1rem; }
.foot__brand p { color: var(--ink-2); font-size: 0.9rem; margin-top: 0.5rem; max-width: 32ch; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: flex-end; }
.foot__nav a { text-decoration: none; color: var(--ink-2); font-size: 0.88rem; }
.foot__nav a:hover { color: var(--blue); }
.foot__fine { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 0.68rem; color: var(--ink-2); letter-spacing: 0.03em; padding-top: 1.5rem; border-top: 1px solid var(--line); line-height: 1.6; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* hero load animation */
.reveal-up { opacity: 0; transform: translateY(18px); animation: rise 0.85s var(--ease) var(--d, 0s) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroLine { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; animation: none; }
  .hero__title .ln > span { transform: none; animation: none; }
  .wire { stroke-dashoffset: 0; animation: none; }
  .sch-in, .sch-out, .sch-core, .sch-anim { opacity: 1; transform: none; animation: none; }
  .sch-pulse, .sch-flow, .sch-live i { display: none; animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .site-head.open + main { }
  .nav.show { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; }
  .nav.show a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__bg, .sch-live { display: none; }
  .hero__copy { grid-column: 1; padding: clamp(2.5rem, 11vw, 4.5rem) var(--gutter); }
  .hero__copy > * { max-width: none; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .problem__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 1.6rem 0 !important; border-left: 0 !important; }
  .pillar + .pillar { border-left: 0; padding-left: 0; }
  .offer--lead { grid-template-columns: 1fr; padding: 1.6rem; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-row .offer { padding: 1.6rem 0 !important; border-left: 0 !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: 0 !important; padding-left: 0 !important; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 340px; }
  .site-foot { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero__title { letter-spacing: -0.03em; }
  .btn--lg { width: 100%; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}
