/* ------------------------------------------------------------------
   Process King — mockup stylesheet
   Tokens → base → components → sections → motion → responsive
------------------------------------------------------------------- */
/* Self-hosted variable fonts (see /static/fonts/) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-stretch: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0F1A2A;
  --ink-2: #16243A;
  --ink-3: #243651;
  --paper: #F4F2ED;
  --paper-2: #EAE7DF;
  --tape: #FBFAF6;
  --brass: #D9A441;
  --brass-2: #F0C36A;
  --green: #1F7A4D;
  --green-2: #2E9C66;
  --red: #C2452D;
  --text: #17202B;
  --muted: #5C6675;
  --muted-2: #8A93A0;
  --line: rgba(15, 26, 42, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 60px -30px rgba(15, 26, 42, 0.45), 0 10px 24px -14px rgba(15, 26, 42, 0.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--dark { background: var(--ink); color: #F1EFE9; }
.section--paper2 { background: var(--paper-2); }

/* Type ------------------------------------------------------------ */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.02; margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.section--dark .lede { color: rgba(241, 239, 233, 0.72); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Buttons --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .25s; min-height: 48px; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--brass { background: var(--brass); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(217, 164, 65, 0.7); }
.btn--brass:hover { background: var(--brass-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Nav ------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .3s, backdrop-filter .3s, box-shadow .3s; color: #fff; }
.nav.is-scrolled { background: rgba(15, 26, 42, 0.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brass); display: grid; place-items: center; color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 0.8rem; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 0.95rem; opacity: 0.85; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { text-decoration: none; font-family: var(--mono); font-size: 0.95rem; opacity: .9; }
.nav .btn { padding: 11px 18px; min-height: 42px; }

/* Hero ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.hero__media img { position: absolute; inset: 0; }
.hero__gl { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: 0.85; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(15,26,42,0.55) 0%, rgba(15,26,42,0.15) 35%, rgba(15,26,42,0.78) 75%, var(--ink) 100%); }
.hero__inner { padding-block: 140px clamp(48px, 8vh, 88px); display: grid; gap: 28px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; }
.hero__copy { display: grid; gap: 22px; max-width: 760px; }
.hero__copy h1 em { font-style: normal; color: var(--brass-2); }
.hero .lede { color: rgba(255,255,255,0.82); text-shadow: 0 1px 12px rgba(15,26,42,.5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { font-size: 0.95rem; color: rgba(255,255,255,0.7); font-family: var(--mono); }

/* Hero ticket — small live receipt */
.ticket { justify-self: end; width: min(300px, 100%); background: var(--tape); color: var(--ink); font-family: var(--mono); font-size: 0.82rem; padding: 18px 18px 26px; border-radius: 4px 4px 0 0; box-shadow: var(--shadow-lg); position: relative; transform: rotate(-1.5deg); }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(135deg, transparent 6px, var(--tape) 0) 0 0/12px 12px, linear-gradient(-135deg, transparent 6px, var(--tape) 0) 6px 0/12px 12px; background-repeat: repeat-x; }
.ticket__row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.ticket__row--total { border-top: 1px dashed rgba(15,26,42,.35); margin-top: 6px; padding-top: 8px; font-weight: 600; }
.ticket__head { text-align: center; letter-spacing: .12em; font-weight: 700; margin-bottom: 8px; }
.ticket__muted { color: var(--muted); }
.ticket__strike { text-decoration: line-through; color: var(--red); }
.ticket__good { color: var(--green); font-weight: 600; }

/* Proof line ------------------------------------------------------ */
.proof { background: var(--ink); color: rgba(255,255,255,0.8); border-top: 1px solid var(--line-dark); }
.proof__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 18px; font-family: var(--mono); font-size: 0.82rem; letter-spacing: .04em; }
.proof__inner span::before { content: "✓ "; color: var(--brass); }

/* Path split ------------------------------------------------------ */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.path { position: relative; display: grid; align-content: end; gap: 14px; min-height: 420px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-lg); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,26,42,0) 30%, rgba(15,26,42,0.85) 100%); }
.path:hover img { transform: scale(1.04); }
.path__tag { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); }
.path h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.path p { color: rgba(255,255,255,.78); max-width: 46ch; }
.path__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
.path__go svg { width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.path:hover .path__go svg { transform: translateX(4px); }
.path--secondary { min-height: 360px; }

/* Calculator ------------------------------------------------------ */
.calc { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 22px; position: sticky; top: 92px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; position: relative; }
.segmented button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 12px; white-space: nowrap; font-size: .95rem; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); transition: color .2s; }
.segmented button[aria-pressed="true"] { color: var(--ink); }
.segmented__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(15,26,42,.15); transition: transform .35s var(--ease-out); }
.segmented[data-active="events"] .segmented__thumb { transform: translateX(100%); }

.field { display: grid; gap: 8px; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; color: var(--muted); }
.field__value { font-family: var(--mono); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brass) var(--fill, 0%), var(--paper-2) var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--brass); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 10px rgba(15,26,42,.25); transition: transform .2s var(--ease-out), box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 10px rgba(15,26,42,.25); }
input[type="range"]:active::-webkit-slider-thumb, input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(217,164,65,.22), 0 3px 10px rgba(15,26,42,.25); }
select, input[type="number"], input[type="text"], input[type="tel"], input[type="email"] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; min-height: 48px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2317202B' stroke-width='1.8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.custom-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.custom-fields label { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); font-family: var(--mono); }
.custom-fields input { min-height: 42px; padding: 8px 10px; }

.calc__result { display: grid; gap: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.calc__result-label { font-size: .9rem; color: var(--muted); }
.calc__big { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.calc__big.is-neutral { color: var(--ink); }
.calc__sub { font-size: .9rem; color: var(--muted); text-wrap: pretty; }

/* Receipts -------------------------------------------------------- */
.receipts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: start; }
.receipt { --paper-c: var(--tape); background: var(--paper-c); color: var(--ink); font-family: var(--mono); font-size: .86rem; line-height: 1.5; padding: 26px 22px 34px; border-radius: 3px 3px 0 0; box-shadow: var(--shadow-lg); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(135deg, transparent 7px, var(--paper-c) 0) 0 0/14px 14px, linear-gradient(-135deg, transparent 7px, var(--paper-c) 0) 7px 0/14px 14px; background-repeat: repeat-x; }
.receipt__head { text-align: center; display: grid; gap: 4px; margin-bottom: 14px; }
.receipt__title { font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.receipt__sub { color: var(--muted); font-size: .76rem; }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.receipt__row dt { color: var(--muted); }
.receipt__row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt dl { margin: 0; }
.receipt__rule { border: 0; border-top: 1px dashed rgba(15,26,42,.35); margin: 10px 0; }
.receipt__row--total dt, .receipt__row--total dd { font-weight: 700; color: var(--ink); font-size: 1rem; }
.receipt__row--keep dd { color: var(--green); font-weight: 700; }
.receipt__row--bad dd { color: var(--red); }
.receipt__foot { margin-top: 14px; text-align: center; color: var(--muted-2); font-size: .72rem; letter-spacing: .08em; }
.receipt--pk { --paper-c: #FFFDF6; outline: 2px solid var(--brass); outline-offset: -2px; }
.receipt--pk .receipt__title { color: var(--green); }
.receipt__stamp { position: absolute; top: -12px; right: 14px; transform: rotate(-6deg); font-size: .68rem; letter-spacing: .14em; padding: 4px 8px; border: 2px solid var(--green); color: var(--green); border-radius: 4px; background: rgba(255,255,255,.7); }
.calc__foot { margin-top: 22px; font-size: .82rem; color: var(--muted); max-width: 72ch; text-wrap: pretty; }
.calc__foot a { color: var(--ink); }

/* Events ---------------------------------------------------------- */
.events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.events__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.events__media img { width: 100%; height: 100%; object-fit: cover; }
.events__badge { position: absolute; left: 18px; bottom: 18px; background: var(--tape); color: var(--ink); font-family: var(--mono); font-size: .8rem; padding: 12px 14px; border-radius: 6px; display: grid; gap: 2px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.events__badge b { font-size: 1.3rem; color: var(--green); }
.steps { display: grid; gap: 6px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step__n { font-family: var(--mono); padding-top: 4px; }
.step__n::before { counter-increment: step; content: "0" counter(step); font-size: 1.6rem; display: block; line-height: 1; color: var(--brass-2); font-weight: 600; }
.step__phase { display: block; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { color: rgba(241,239,233,.75); max-width: 50ch; text-wrap: pretty; }
.fineprint { font-size: .82rem; color: rgba(241,239,233,.55); margin-top: 20px; max-width: 60ch; text-wrap: pretty; }

/* Hardware -------------------------------------------------------- */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .4s var(--ease-out), box-shadow .4s; }
.hw:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hw__img { aspect-ratio: 4 / 3; background: #F7F6F2; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.hw__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.hw__img--photo { padding: 0; }
.hw__img--photo img { object-fit: cover; }
.hw:hover .hw__img img { transform: scale(1.04); }
.hw__body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.hw__brand { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hw__brand--clover { color: #1B7F3B; }
.hw__brand--square { color: #111; }
.hw h3 { font-size: 1.2rem; }
.hw__for { color: var(--muted); font-size: .95rem; }
.hw__price { font-family: var(--mono); font-size: .8rem; color: var(--green); margin-top: 6px; }
.hw-strip { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: .82rem; color: var(--muted); }

/* Founder --------------------------------------------------------- */
.founder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.note { background: var(--tape); border-radius: 6px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); position: relative; display: grid; gap: 18px; font-size: 1.08rem; }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-2deg); background: rgba(217,164,65,.55); }
.note p { text-wrap: pretty; }
.note__sig { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-top: 6px; }
.note__meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.founder__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials ---------------------------------------------------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote { border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; position: relative; background: rgba(255,255,255,.5); }
.quote__flag { position: absolute; top: -12px; left: 22px; background: var(--brass); color: var(--ink); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; color: var(--muted); font-weight: 500; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: .82rem; color: var(--muted); }

/* CTA ------------------------------------------------------------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cta__copy { display: grid; gap: 18px; }
.cta__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; color: rgba(241,239,233,.8); }
.cta__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.cta__list svg { width: 20px; height: 20px; color: var(--brass); margin-top: 2px; }
.form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; }
.form__fine { font-size: .8rem; color: var(--muted); text-align: center; }
.form__done { display: grid; gap: 10px; text-align: center; padding: 18px 0; }
.form__done h3 { color: var(--green); }

/* Footer ---------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(241,239,233,.7); border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-block: 44px 28px; }
.footer h4 { margin: 0 0 10px; color: #fff; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__credits { border-top: 1px solid var(--line-dark); padding-block: 18px 110px; font-size: .78rem; color: rgba(241,239,233,.45); display: grid; gap: 6px; }

/* Mobile action bar ----------------------------------------------- */
.mbar { position: fixed; right: 12px; bottom: 12px; z-index: 60; display: none; padding: 5px; background: rgba(15,26,42,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transform: translateY(0); transition: transform .35s var(--ease-out), opacity .3s; }
.mbar.is-hidden { transform: translateY(140%); opacity: 0; }
.mbar .btn { min-height: 44px; padding-block: 8px; padding-inline: 16px; font-size: .9rem; }

/* Motion ---------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.receipt[data-print] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.2,.7,.2,1); }
.receipt[data-print].is-in { clip-path: inset(-24px 0 -20px 0); }
.receipt.is-reprint { animation: reprint .55s var(--ease-out); }
@keyframes reprint { 0% { transform: translateY(-6px); opacity: .55; } 100% { transform: none; opacity: 1; } }
.hero__copy > * { animation: rise 1s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; } .hero__copy > :nth-child(3) { animation-delay: .2s; } .hero__copy > :nth-child(4) { animation-delay: .3s; } .hero__copy > :nth-child(5) { animation-delay: .4s; }
.ticket { animation: rise 1.2s .5s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.ticket { animation-name: rise-ticket; }
@keyframes rise-ticket { from { opacity: 0; transform: translateY(30px) rotate(-1.5deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
.tick { display: inline-block; transition: transform .35s var(--ease-out); }
.tick.is-bump { transform: scale(1.06); }

@supports (animation-timeline: scroll()) {
  .hero__copy, .ticket { animation-name: rise, hero-out; animation-duration: 1s, 1s; animation-timeline: auto, scroll(root); animation-range: normal, 0 80vh; animation-fill-mode: both; }
  .ticket { animation-name: rise-ticket, hero-out; }
  @keyframes hero-out { to { opacity: 0; transform: translateY(-40px); } }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .receipt[data-print] { clip-path: none; transition: none; }
  .hero__copy > *, .ticket, .receipt.is-reprint { animation: none !important; }
  .path img, .hw__img img { transition: none; }
}

/* ------------------------------------------------------------------
   Site additions (beyond the mockup)
------------------------------------------------------------------- */

/* Skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 14px; border-radius: 8px; }

/* Mobile nav disclosure (5-item nav lives here under 860px) */
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; margin: 0; padding: 8px; list-style: none; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; }
.nav__menu ul a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 8px; }
.nav__menu ul a:hover { background: rgba(255,255,255,.08); }

/* Platform toggle inside the Process King receipt */
.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper-2); border-radius: 8px; padding: 4px; margin-bottom: 14px; font-family: var(--body); }
.platform button { border: 0; background: transparent; padding: 8px 6px; border-radius: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.platform button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15,26,42,.15); }

/* Real testimonials (not placeholders) */
.quote.quote--real { border: 1px solid var(--line); background: #fff; }
.quote.quote--real blockquote { color: var(--ink); }
.quote__stars { color: #f59e0b; font-size: .9rem; letter-spacing: 2px; }

/* Feedback rendered by contact-form.js into #homepageFormMessage */
.form__status { display: none; }
.form__status .message-success, .form__status .message-error { border-radius: 12px; padding: 16px 18px; }
.form__status .message-success { background: rgba(31,122,77,.1); color: var(--green); }
.form__status .message-error { background: rgba(194,69,45,.1); color: var(--red); }
.form__status h3 { font-size: 1.05rem; margin-bottom: 4px; }
.form__status p { color: inherit; font-size: .95rem; }
.form textarea { width: 100%; font: inherit; min-height: 96px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; resize: vertical; }
.form input.error, .form textarea.error { border-color: var(--red); }
.form__hint { font-size: .8rem; color: var(--muted); }
/* showFieldError sets style.display = "block"; clearFieldError sets "none" */
.form__error { display: none; font-size: .8rem; color: var(--red); }

/* Spinner injected by contact-form.js during submit */
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer copyright line */
.footer__copy { margin: 0 0 4px; color: rgba(241,239,233,.6); }

/* Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__phone { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 110px; }
  .ticket { justify-self: start; transform: rotate(0); width: min(320px, 100%); }
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 340px; }
  .calc { grid-template-columns: 1fr; }
  .calc__panel { position: static; }
  .receipts { grid-template-columns: 1fr; }
  .events, .founder, .cta { grid-template-columns: 1fr; }
  .events__media { aspect-ratio: 4 / 3; order: -1; }
  .founder__photo { aspect-ratio: 16 / 10; }
  .quotes { grid-template-columns: 1fr; }
  .mbar { display: block; }
  .section { padding-block: 60px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hw-grid { grid-template-columns: 1fr; }
  .custom-fields { grid-template-columns: 1fr 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .receipt { font-size: .82rem; padding: 22px 16px 30px; }
  .nav .btn { display: none; }
}

