/* ==========================================================================
   Spectral Leap — styles
   Editorial dark theme: charcoal, cool ivory, a single steel-platinum accent.
   ========================================================================== */
:root {
  --bg: #0a0b0d;
  --bg-2: #0e0f12;
  --surface: #121418;
  --surface-2: #17191e;
  --line: rgba(222, 230, 240, 0.09);
  --line-strong: rgba(222, 230, 240, 0.18);
  --text: #e7eaee;
  --text-2: #c3c8cf;
  --muted: #8d939b;
  --faint: #60666e;
  --accent: #93a8c3;
  --accent-hi: #d3deeb;
  --accent-lo: #5a6e89;
  --metal: linear-gradient(100deg, #5a6e89 0%, #d3deeb 38%, #93a8c3 62%, #eef3f9 100%);
  /* The "spectral" nod — desaturated, used only as a whisper-thin hairline */
  --prism: linear-gradient(90deg, rgba(110,150,175,0) 0%, rgba(110,150,175,.55) 20%, rgba(130,150,200,.55) 50%, rgba(170,185,215,.55) 75%, rgba(170,185,215,0) 100%);
  --container: 1240px;
  --gutter: 48px;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
/* Fine film grain for depth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .site-footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.02; }
h2 em, h1 em, .footer-mark em { font-style: italic; }
h3 { font-family: var(--font); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
p { margin: 0; }
::selection { background: rgba(147, 168, 195, 0.3); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-style: normal; }
.muted { color: var(--faint); }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; font-weight: 500; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 1px; font-family: var(--font); font-weight: 500; font-size: 14px;
  letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn span { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--text); color: #0a0b0d; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-link {
  padding: 16px 2px; color: var(--text); background:
    linear-gradient(var(--accent), var(--accent)) left calc(100% - 10px) / 0 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) left calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.btn-link:hover { background-size: 100% 1px, 100% 1px; color: var(--accent-hi); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, 0); border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(10, 11, 13, 0.78); border-bottom-color: var(--line);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand span { font-family: var(--serif); font-size: 23px; letter-spacing: .005em; line-height: 1; }
.brand-sm span { font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a:not(.btn) {
  position: relative; font-size: 13.5px; letter-spacing: .03em; color: var(--muted);
  display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 0; transition: color .3s;
}
.nav-links a:not(.btn) i { font-size: 10px; color: var(--faint); transition: color .3s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover i { color: var(--accent); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - var(--gutter) * 2, var(--container));
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 25% 100%;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero-bg .beam {
  position: absolute; top: -30%; right: -10%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(120, 150, 195, 0.10), transparent 70%);
  filter: blur(20px);
}
.hero-inner { position: relative; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 28px; margin-bottom: 64px; border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .sep { color: var(--faint); margin: 0 4px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(147,168,195,.14); }
.hero h1 {
  font-size: clamp(44px, 8.3vw, 128px);
  line-height: .96; letter-spacing: -0.025em; max-width: 15.5ch;
}
.spectrum {
  font-style: italic; padding-right: .06em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: end;
  margin-top: 72px;
}
.lede { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 54ch; font-weight: 300; }
.hero-cta { display: flex; gap: 32px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.hero-tags {
  list-style: none; margin: 96px 0 0; padding: 26px 0 30px; position: relative;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  border-top: 1px solid var(--line);
}
.hero-tags::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--prism); opacity: .8;
}
.hero-tags li {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  display: inline-flex; align-items: center; gap: 24px;
}
.hero-tags li + li::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); border: 1px solid var(--accent-lo); margin-right: 0; display: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 152px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px;
  margin-bottom: 88px; align-items: start;
}
.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px; padding-top: 14px;
}
.kicker .mono { color: var(--accent); letter-spacing: .05em; font-size: 12px; }
.kicker::after { content: ""; flex: 0 0 32px; height: 1px; background: var(--line-strong); order: 1; }
.kicker .mono { order: 0; }
.section h2 { font-size: clamp(40px, 5vw, 72px); max-width: 16ch; }
.section h2 em { color: var(--accent-hi); }
.section-sub { margin-top: 28px; max-width: 56ch; font-size: 18px; font-weight: 300; color: var(--muted); }

/* ---------- Services ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.card {
  position: relative; background: var(--bg); padding: 44px 40px 52px; min-height: 300px;
  display: flex; flex-direction: column; transition: background .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--metal);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.card:hover { background: var(--surface); }
.card:hover::before { transform: scaleX(1); }
.card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 64px; }
.card-num { font-size: 11px; color: var(--faint); letter-spacing: .08em; transition: color .4s; }
.card:hover .card-num { color: var(--accent); }
.card-icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.1;
  stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .6s var(--ease), opacity .4s;
}
.card:hover .card-icon svg { transform: translateY(-2px); opacity: 1; }
.card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; max-width: 16ch; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 34ch; }

/* ---------- About ---------- */
.about-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; margin-bottom: 88px; align-items: start; }
.about-head h2 { max-width: 18ch; }
.about-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 48px; }
.about-text { grid-column: 2; }
.about-text p { font-size: 16.5px; font-weight: 300; color: var(--text-2); }
.about-text p + p { margin-top: 22px; }
.about-text p:first-of-type {
  font-family: var(--serif); font-size: 27px; line-height: 1.38; color: var(--text); font-weight: 400; letter-spacing: -0.005em;
}
.principles-wrap { grid-column: 3; padding-left: 40px; border-left: 1px solid var(--line); }
.principles-title { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 22px 0;
  border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); line-height: 1.6;
}
.principles li:last-child { border-bottom: 0; }
.about-text .about-note {
  display: flex; align-items: center; gap: 14px; margin-top: 36px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.about-text .about-note::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
.principles .num { color: var(--accent); font-size: 11px; padding-top: 4px; letter-spacing: .05em; }
.principles strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

/* ---------- Engagement ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
}
.step { border-top: 1px solid var(--line-strong); padding-top: 32px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--accent);
  transition: width .8s var(--ease);
}
.step:hover::before { width: 100%; }
.step-num {
  display: block; font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1;
  color: var(--accent); margin-bottom: 36px; letter-spacing: -0.02em;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); max-width: 34ch; }

.offers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.offer { position: relative; background: var(--bg); padding: 48px 40px 52px; transition: background .5s var(--ease); }
.offer:hover { background: var(--surface); }
.offer-featured { background: var(--surface); }
.offer-featured:hover { background: var(--surface-2); }
.offer-featured::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--metal); }
.offer-tag {
  display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 48px;
}
.offer h3 { font-family: var(--serif); font-size: 34px; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 18px; }
.offer > p:not(.offer-tag) { font-size: 15px; color: var(--muted); min-height: 5.1em; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.checks li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.checks li::before { content: ""; width: 12px; height: 1px; background: var(--accent); flex: none; }

/* ---------- Pricing gate ---------- */
.card-wide { grid-column: 1 / -1; min-height: 0; }
.price { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.price-val { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--text); transition: filter .6s var(--ease), opacity .6s var(--ease); }
.price-unit { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.price-locked .price-val { filter: blur(10px); opacity: .5; user-select: none; }
.price-locked .price-unit { visibility: hidden; }
.price-gate {
  margin-top: 1px; border: 1px solid var(--line); border-top: 0; padding: 40px;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: end;
}
.gate-title { font-family: var(--serif); font-size: 34px; line-height: 1.08; }
.gate-title em { color: var(--accent); }
.gate-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.gate-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; }
.gate-fields .field { margin-bottom: 0; }
.price-gate .form-status { grid-column: 1 / -1; margin-top: 0; }
.unlocked .price-gate { display: none; }
.gate-done { margin-top: 28px; font-size: 15px; color: var(--muted); }
.gate-done a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); }
.gate-done a:hover { color: var(--accent-hi); border-color: var(--accent); }
@media (max-width: 860px) {
  .price-gate { grid-template-columns: 1fr; padding: 32px 28px; }
  .gate-fields { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.contact-intro h2 { margin: 36px 0 28px; max-width: 12ch; }
.contact-intro > p:not(.kicker) { font-size: 17px; font-weight: 300; color: var(--muted); max-width: 40ch; }
.contact-direct { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.contact-direct .label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.email-link {
  align-self: flex-start; font-family: var(--serif); font-size: 30px; color: var(--text); line-height: 1.3;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.email-link:hover { background-size: 100% 1px; color: var(--accent-hi); }

.contact-form { padding-top: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { position: relative; margin-bottom: 36px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px; transition: color .3s;
}
.field .optional { text-transform: none; letter-spacing: .02em; color: var(--faint); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  color: var(--text); font-family: var(--font); font-size: 18px; font-weight: 300; padding: 12px 0 14px;
  outline: none; transition: border-color .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none;
}
.field:has(textarea)::after { bottom: 6px; }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within label { color: var(--accent); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #b5675a; }
.field.invalid label { color: #c98476; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.form-alt { font-size: 14px; color: var(--faint); }
.form-alt a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.form-alt a:hover { color: var(--accent-hi); border-color: var(--accent); }
.form-status { margin-top: 20px; font-size: 14px; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: var(--accent-hi); }
.form-status.err { color: #d08b7c; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 96px 0 40px; overflow: hidden; }
.footer-mark {
  font-family: var(--serif); font-size: clamp(60px, 19.8vw, 286px); line-height: .85; letter-spacing: -0.035em;
  color: transparent; -webkit-text-stroke: 1px rgba(222, 230, 240, 0.16); white-space: nowrap;
  margin-bottom: 56px; user-select: none;
}
.footer-mark em { -webkit-text-stroke: 1px rgba(147, 168, 195, 0.45); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.footer-inner p { font-size: 13px; letter-spacing: .02em; }
.to-top { font-size: 13px; color: var(--muted); letter-spacing: .03em; transition: color .3s; }
.to-top span { display: inline-block; margin-left: 6px; transition: transform .35s var(--ease); }
.to-top:hover { color: var(--accent-hi); }
.to-top:hover span { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(3n+2), .steps .reveal:nth-child(2), .offers .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3n+3), .steps .reveal:nth-child(3), .offers .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero-inner > * { animation: rise 1.2s var(--ease) both; }
.js .hero-inner > :nth-child(2) { animation-delay: .08s; }
.js .hero-inner > :nth-child(3) { animation-delay: .22s; }
.js .hero-inner > :nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .cards, .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers .offer:last-child { grid-column: span 2; }
  .about-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about-text { grid-column: 1; }
  .principles-wrap { grid-column: 2; }
  .contact { gap: 64px; }
}
@media (max-width: 860px) {
  .nav { height: 72px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong); cursor: pointer; padding: 0 12px;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--text); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: rgba(10, 11, 13, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 18px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin: 24px 0 0; }
  .site-header:has(.nav-links.open) { background: rgba(10, 11, 13, .97); }

  .hero { padding-top: 64px; }
  .hero-meta { margin-bottom: 44px; }
  .eyebrow-right { display: none; }
  .hero-foot { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .hero-cta { justify-content: flex-start; }
  .hero-tags { margin-top: 64px; justify-content: flex-start; gap: 10px 28px; }
  .hero-bg .grid { background-size: 50% 100%; }

  .section { padding: 104px 0; }
  .section-head, .about-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .kicker { padding-top: 0; }
  .about-body { grid-template-columns: 1fr; gap: 56px; }
  .about-text, .principles-wrap { grid-column: 1; }
  .principles-wrap { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  :root { --gutter: 22px; }
  .cards, .offers { grid-template-columns: 1fr; }
  .offers .offer:last-child { grid-column: auto; }
  .card { min-height: 0; padding: 36px 28px 40px; }
  .card-top { padding-bottom: 48px; }
  .offer { padding: 40px 28px; }
  .offer > p:not(.offer-tag) { min-height: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .about-text p:first-of-type { font-size: 23px; }
  .email-link { font-size: 24px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
