/* Hallmark · shape: Feature Stack · genre: modern-minimal · theme: custom (lime on black, by request) · job: hire · draw: manual, user redesign request
 * hero: Stage · nav: edge-aligned bar, wordmark, three anchors and one lime action, decided for a one-page site · footer: statement, one closing line large over the links · imagery: the product, the page measuring itself · signature: this page's own load measured live
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, reviews are template slots until real client words arrive; marked as examples on the card */
/* Hallmark · dismissed 42 · the bar is a choice: three anchors match the three sections a visitor jumps to on this one page */

:root {
  color-scheme: dark;
  --c-bg: #0A0A0A; --c-surface: #141414; --c-surface-2: #1C1C1C; --c-line: #2A2A2A; --c-line-2: #3A3A3A;
  --c-text: #F5F5F0; --c-text-2: #C9C9C2; --c-muted: #9A9A92;
  --c-lime: #C8FF2E; --c-lime-hover: #D6FF63; --c-on-lime: #0A0A0A; --c-lime-soft: rgb(200 255 46 / 0.12);
  --c-on-lime-2: rgb(10 10 10 / 0.74); --c-error: #FF7A6B; --c-focus: #C8FF2E;
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
  --t-hero: clamp(2.75rem, 6.2vw + 0.5rem, 6.25rem); --t-h2: clamp(2.1rem, 3.4vw + 0.6rem, 4rem); --t-h3: clamp(1.35rem, 0.8vw + 1rem, 1.75rem);
  --t-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem); --t-body: 1rem; --t-sm: 0.875rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --d-fast: 160ms; --d-mid: 260ms;
  --wrap: 1360px; --gutter: 48px; --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-h) + var(--s-5)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: 400 var(--t-body)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--c-lime); color: var(--c-on-lime); }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); max-width: 16ch; }
h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sub { max-width: 46ch; margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.45; color: var(--c-text-2); }
.head { display: grid; gap: 0; margin-bottom: var(--s-8); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: var(--s-4); top: calc(-1 * var(--s-9)); z-index: 50; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); background: var(--c-lime); color: var(--c-on-lime); }
.skip:focus-visible { top: var(--s-4); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--s-6); border: 1px solid transparent; border-radius: var(--r-pill); font: 600 var(--t-body)/1 var(--f-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--lime { background: var(--c-lime); color: var(--c-on-lime); }
.btn--lime:hover { background: var(--c-lime-hover); }
.btn--ghost { border-color: var(--c-line-2); color: var(--c-text); background: transparent; }
.btn--ghost:hover { border-color: var(--c-text); }
.btn--sm { min-height: 44px; padding: 0 var(--s-5); font-size: var(--t-sm); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.icon-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); background: transparent; color: var(--c-text); cursor: pointer; transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.icon-btn:hover { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-on-lime); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; background: transparent; color: var(--c-text); border-color: var(--c-line-2); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.nav__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--nav-h); }
.nav__mark img { width: 136px; }
.nav__links { display: flex; gap: var(--s-1); margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill); color: var(--c-text-2); font-size: var(--t-sm); font-weight: 500; text-decoration: none; transition: color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease); }
.nav__links a:hover { color: var(--c-text); background: var(--c-surface-2); }

/* ---------- Hero ---------- */
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-8); align-items: center; min-height: calc(100dvh - var(--nav-h) - 88px); padding-block: var(--s-8); }
.hero__text { display: grid; gap: var(--s-5); }
.hero h1 { font-size: var(--t-hero); max-width: 12ch; letter-spacing: -0.045em; line-height: 0.98; }
.hero__lead { max-width: 34ch; font-size: var(--t-lead); color: var(--c-text-2); }
.hero .actions { margin-top: var(--s-3); }

.probe { margin: 0; padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); display: grid; gap: var(--s-5); }
.probe__head { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: var(--t-sm); color: var(--c-muted); }
.probe__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0; }
.probe__cell { padding: var(--s-5); border-radius: var(--r-md); background: var(--c-surface-2); }
.probe__cell dt { font-size: var(--t-sm); color: var(--c-muted); }
.probe__cell dd { margin: var(--s-3) 0 0; font-size: clamp(2rem, 2.6vw + 0.5rem, 3.25rem); line-height: 1; letter-spacing: -0.03em; }
.probe__cell dd small { margin-left: var(--s-1); font-size: 0.45em; letter-spacing: 0; color: var(--c-muted); }
.probe__cell--lime { background: var(--c-lime); color: var(--c-on-lime); }
.probe__cell--lime dt, .probe__cell--lime dd small { color: var(--c-on-lime-2); }
.probe__foot { font-size: var(--t-sm); color: var(--c-muted); }

/* ---------- Marquee ---------- */
.marquee { position: relative; display: flex; align-items: center; height: 88px; overflow: hidden; background: var(--c-lime); color: var(--c-on-lime); }
.marquee__track { display: flex; flex: none; gap: var(--s-8); padding-left: var(--s-8); font: 600 clamp(1.4rem, 1.6vw + 0.8rem, 2.25rem)/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: var(--s-8); }
.marquee__track span::after { content: ""; width: 12px; height: 12px; background: var(--c-on-lime); transform: rotate(45deg); }
[data-loop]:not(.is-running) .marquee__track { animation-play-state: paused; }
.marquee__toggle { position: absolute; right: var(--s-4); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--c-on-lime); border-radius: var(--r-pill); background: var(--c-lime); color: var(--c-on-lime); font: 600 var(--t-sm)/1 var(--f-body); cursor: pointer; }
.marquee__toggle:hover { background: var(--c-on-lime); color: var(--c-lime); }
.marquee__toggle:focus-visible { outline: 2px solid var(--c-on-lime); outline-offset: 2px; }
html:not(.js) .marquee__toggle { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Horizontal services ---------- */
.hs { padding-top: var(--s-10); }
.hs__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-7); }
.hs__count { flex: none; white-space: nowrap; color: var(--c-muted); font-size: var(--t-sm); }
.hs__count span { color: var(--c-lime); }
.hs__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--s-2); }
.hs__viewport::-webkit-scrollbar { display: none; }
.hs__viewport:focus-visible { outline-offset: -2px; }
.hs__track { display: flex; gap: var(--s-5); width: max-content; margin: 0; padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); list-style: none; }
.card { scroll-snap-align: center; display: flex; flex-direction: column; gap: var(--s-4); width: min(78vw, 460px); min-height: 440px; padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); color: var(--c-text); }
.card h3 { margin-top: auto; font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); }
.card p { color: var(--c-text-2); max-width: 36ch; }
.card--lime { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-on-lime); }
.card--lime p { color: var(--c-on-lime-2); }
.hs__progress { height: 2px; margin-top: var(--s-6); background: var(--c-line); border-radius: 2px; overflow: hidden; }
.hs__progress span { display: block; height: 100%; background: var(--c-lime); transform-origin: left; transform: scaleX(0.2); }
/* pinned mode, set by scroll.js on wide screens with motion allowed */
.hs.is-pinned .hs__sticky { position: sticky; top: var(--nav-h); height: calc(100dvh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hs.is-pinned .hs__viewport { overflow: visible; scroll-snap-type: none; }
.hs.is-pinned .hs__track { will-change: transform; }
.hs.is-pinned { padding-top: 0; }

/* ---------- Statement ---------- */
.statement { padding-block: var(--s-10); }
.statement blockquote { margin: 0; display: grid; gap: var(--s-6); }
.statement__line { max-width: 17ch; font: 600 clamp(2.5rem, 5.5vw + 0.5rem, 5.75rem)/1 var(--f-display); letter-spacing: -0.045em; overflow-wrap: break-word; min-width: 0; }
.statement footer { color: var(--c-muted); }
.statement footer::before { content: ""; display: inline-block; width: 32px; height: 2px; margin-right: var(--s-3); vertical-align: middle; background: var(--c-lime); }

/* ---------- Method ---------- */
.method { padding-block: var(--s-9) var(--s-10); }
.method__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.method__aside { position: sticky; top: calc(var(--nav-h) + var(--s-7)); display: grid; justify-items: start; gap: var(--s-5); }
.method__aside .sub { margin-top: 0; }
.steps { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); transition: border-color var(--d-mid) var(--ease), background-color var(--d-mid) var(--ease); }
.step p { margin-top: var(--s-2); color: var(--c-text-2); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); font-size: var(--t-sm); color: var(--c-muted); transition: background-color var(--d-mid) var(--ease), color var(--d-mid) var(--ease), border-color var(--d-mid) var(--ease); }
.step.is-active { border-color: var(--c-lime); }
.step.is-active::before { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-on-lime); }

/* ---------- Bento ---------- */
.specs { padding-block: var(--s-9); }
.bento { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
.tile--big { grid-row: span 2; }
.tile__label { color: var(--c-text-2); max-width: 26ch; }
.tile__value { font: 500 clamp(2rem, 2.4vw + 0.8rem, 3.25rem)/1 var(--f-display); letter-spacing: -0.03em; }
.tile__value.mono { font-family: var(--f-mono); }
.tile--big .tile__value { font-size: clamp(3rem, 5vw + 1rem, 6rem); }
.tile--lime { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-on-lime); }
.tile--lime .tile__label { color: var(--c-on-lime-2); }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--s-9); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-7); }
.reviews__nav { display: flex; gap: var(--s-2); }
html:not(.js) .reviews__nav { display: none; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 80%); gap: var(--s-4); margin: 0; padding: 0 0 var(--s-3); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--c-line-2) transparent; }
.rail:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s-5); min-height: 320px; padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
.review blockquote { margin: 0; font: 500 var(--t-lead)/1.45 var(--f-display); letter-spacing: -0.01em; }
.review__who { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; color: var(--c-text-2); font-size: var(--t-sm); }
.review__who strong { color: var(--c-text); font-weight: 600; }
.review__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--c-lime); color: var(--c-on-lime); font: 600 var(--t-body)/1 var(--f-display); }
.review--example { border-style: dashed; border-color: var(--c-line-2); }
.review__tag { align-self: flex-start; padding: var(--s-1) var(--s-3); border: 1px dashed var(--c-lime); border-radius: var(--r-pill); color: var(--c-lime); font-size: var(--t-sm); }

/* ---------- Contact ---------- */
.contact { padding-block: var(--s-9) var(--s-10); }
.contact__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); padding: var(--s-8); border: 1px solid var(--c-line); border-radius: calc(var(--r-lg) + 8px); background: var(--c-surface); color: var(--c-text); }
.contact__side { display: grid; align-content: start; gap: var(--s-4); }
.contact__side .sub { margin-top: 0; }
.contact__mail { display: grid; gap: var(--s-1); margin-top: var(--s-5); }
.contact__mail span { font-size: var(--t-sm); color: var(--c-muted); }
.contact__mail a { font: 500 var(--t-lead)/1.3 var(--f-display); color: var(--c-lime); text-decoration: none; overflow-wrap: anywhere; }
.contact__mail a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); min-width: 0; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--c-text-2); }
.opt { color: var(--c-muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); border: 1px solid var(--c-line-2); border-radius: var(--r-sm); background: var(--c-bg); color: var(--c-text); font: inherit; outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--d-fast) var(--ease); }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--c-muted); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--c-lime); outline-color: var(--c-focus); transition: none; }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input::placeholder { color: var(--c-muted); }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--c-error); }
.field__help { font-size: var(--t-sm); color: var(--c-muted); }
.field__err { font-size: var(--t-sm); color: var(--c-error); }
.form__summary { padding: var(--s-4) var(--s-5); border: 1px solid var(--c-error); border-radius: var(--r-sm); background: var(--c-bg); }
.form__summary:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.form__summary-title { font-weight: 600; }
.form__summary ul { margin: var(--s-2) 0 0; padding-left: var(--s-5); }
.form__summary a { color: var(--c-text); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.form__note { font-size: var(--t-sm); color: var(--c-muted); }
.form__note.is-error { color: var(--c-error); }

/* ---------- Footer ---------- */
.foot { padding-block: var(--s-10) var(--s-7); border-top: 1px solid var(--c-line); }
.foot .wrap > .btn { margin-top: var(--s-6); }
.foot__big { max-width: 14ch; font: 600 clamp(2.75rem, 6vw + 0.5rem, 6.5rem)/0.98 var(--f-display); letter-spacing: -0.045em; overflow-wrap: break-word; min-width: 0; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5); margin-top: var(--s-9); padding-top: var(--s-6); border-top: 1px solid var(--c-line); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; color: var(--c-text-2); }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; white-space: nowrap; }
.foot__links a:hover { color: var(--c-lime); }
.foot__legal { margin-top: var(--s-5); font-size: var(--t-sm); color: var(--c-muted); }

/* ---------- Thank-you page ---------- */
.thanks { min-height: calc(100dvh - var(--nav-h)); display: grid; align-content: center; justify-items: start; gap: var(--s-5); padding-block: var(--s-9); }
.thanks h1 { font-size: var(--t-hero); }

/* ---------- Scroll reveal (CSS scroll timelines, visible by default) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .hero__in, .method__in, .contact__panel { grid-template-columns: minmax(0, 1fr); }
  .hero__in { min-height: 0; gap: var(--s-7); }
  .method__aside { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .rail { grid-auto-columns: minmax(280px, 70%); }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__in { justify-content: space-between; }
  .nav__mark img { width: 120px; }
  .probe { padding: var(--s-4); }
  .probe__cell { padding: var(--s-4); }
  .marquee { height: 72px; }
  .marquee__toggle { right: var(--s-2); }
  .hs, .statement, .method, .specs, .reviews, .contact { padding-block: var(--s-8); }
  .card { min-height: 360px; padding: var(--s-5); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: 86%; }
  .reviews__head { flex-direction: column; align-items: start; }
  .contact__panel { padding: var(--s-5); border-radius: var(--r-lg); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .step { padding: var(--s-5); gap: var(--s-4); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__toggle { display: none; }
  .btn, .icon-btn, .nav__links a, .step, .step::before, .field input, .field textarea { transition: none; }
  .btn:active, .icon-btn:active { transform: none; }
}
