/* Velo Atelier — concept landing page */

/* Bike paint & part toggles. Registered so they interpolate when the configurator changes them. */
@property --frame { syntax: '<color>'; inherits: true; initial-value: #B23A22; }
@property --frame-shade { syntax: '<color>'; inherits: true; initial-value: #7E2414; }
@property --decal { syntax: '<color>'; inherits: true; initial-value: #F3EAD8; }
@property --lining { syntax: '<color>'; inherits: true; initial-value: #E2C27A; }
@property --o-drop { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --o-flat { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o-riser { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o-slick { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --o-gravel { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o-fend { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o-rack { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o-dyn { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --sp { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --paper: #F2EDE3;
  --paper-2: #E8E1D3;
  --paper-3: #DDD4C2;
  --card: #FAF7F0;
  --ink: #1D1B18;
  --ink-2: #3A362F;
  --muted: #5F584D;
  --line: rgba(29, 27, 24, .14);
  --line-2: rgba(29, 27, 24, .26);
  --enamel: #B5381E;
  --enamel-dk: #932A13;
  --enamel-lt: #F0B29F;
  --gold: #C9A24A;
  --grid: rgba(29, 27, 24, .055);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 68px;
  --frame: #B23A22; --frame-shade: #7E2414; --decal: #F3EAD8; --lining: #E2C27A;
  --o-drop: 1; --o-flat: 0; --o-riser: 0; --o-slick: 1; --o-gravel: 0; --o-fend: 0; --o-rack: 0; --o-dyn: 0; --sp: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .02em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--enamel); outline-offset: 3px; border-radius: 3px; }

.bike-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.bike { width: 100%; height: auto; overflow: visible; }

/* Type */
h1, h2, h3 { font-weight: 750; letter-spacing: -0.025em; line-height: 1.02; font-stretch: 108%; }
h2 { font-size: clamp(31px, 4.2vw, 56px); max-width: 17em; text-wrap: balance; }
h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.015em; line-height: 1.15; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--enamel); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-lede { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--muted); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 3px; border: 1.5px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-enamel { background: var(--enamel); color: #FBF6EE; }
.btn-enamel:hover { background: var(--enamel-dk); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: rgba(242, 237, 227, .4); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); background: rgba(242, 237, 227, .08); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(242, 237, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; font-stretch: 115%; }
.brand-mark { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--enamel); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 9px 18px; font-size: 14.5px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-2); border-radius: 3px; background: transparent; cursor: pointer; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(62px, 8.4vw, 132px); line-height: .86; letter-spacing: -0.045em; font-weight: 800; font-stretch: 112%; }
.lede { margin-top: 26px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.42; max-width: 23em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.hero-facts dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-facts dd { font-size: 19px; font-weight: 650; margin-top: 2px; font-stretch: 105%; }

.hero-sheet {
  position: relative; background-color: var(--card); border: 1px solid var(--line-2); border-radius: 6px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
  padding: clamp(10px, 2vw, 26px) clamp(8px, 1.6vw, 22px) 0;
  box-shadow: 0 1px 0 rgba(29,27,24,.04), 0 30px 60px -40px rgba(29,27,24,.45);
}
.hero-sheet::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.bike-hero { position: relative; }
.draft-line { fill: none; stroke: rgba(29,27,24,.24); stroke-width: 1; stroke-dasharray: 5 6; }
.cross circle { fill: none; stroke: var(--enamel); stroke-width: 1.4; }
.dim { fill: none; stroke: rgba(29,27,24,.6); stroke-width: 1.2; }
.dim-bg { fill: var(--card); }
.dim-arc { fill: none; stroke: var(--enamel); stroke-width: 1.4; stroke-dasharray: 3 3; }
.dim-t { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; fill: var(--ink-2); }
.dim-t.accent { fill: var(--enamel); }
.sheet-block { position: relative; display: grid; grid-template-columns: repeat(4, auto); justify-content: end; margin: 6px -1px 0 0; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-2); }
.sheet-block span { padding: 9px 14px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.sheet-block b { display: block; font-weight: 500; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: clamp(32px, 4vw, 52px); padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.hero-strip li { display: inline-flex; align-items: center; gap: 10px; }
.hero-strip li::before { content: ""; width: 6px; height: 6px; background: var(--enamel); transform: rotate(45deg); }

/* Models */
.models { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.model { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.model:hover { border-color: var(--line-2); }
.model-art { background: var(--tile); padding: 28px 18px 16px; position: relative; }
.model-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.model-art .bike { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.model:hover .model-art .bike { transform: translateX(6px); }
.model-body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.model-kind { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--enamel); }
.model h3 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; }
.model-body > p:not(.model-kind) { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips li { font-size: 12px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.model-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.model-price { font-size: 22px; font-weight: 700; font-stretch: 105%; }
.model-price span { display: block; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Configurator */
.configure { padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 120px); }
.cfg-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
.cfg-head .eyebrow, .cfg-head h2 { grid-column: 1; }
.cfg-head .section-lede { grid-column: 2; grid-row: 2; margin-top: 0; }
.preset-status { grid-column: 1 / -1; font-size: 13px; color: var(--enamel); min-height: 0; }
.preset-status:not(:empty) { margin-top: 18px; }
.cfg { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 52px); align-items: start; }
.cfg-stage { position: sticky; top: calc(var(--header-h) + 16px); z-index: 5; }
.stage-card {
  background-color: var(--card); border: 1px solid var(--line-2); border-radius: 6px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; padding: clamp(14px, 2vw, 24px);
}
.stage-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.stage-name { font-size: 22px; font-weight: 750; font-stretch: 108%; letter-spacing: -0.015em; }
.stage-name span, .stage-bar span { display: block; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.stage-geo { font-size: 12.5px; color: var(--ink-2); }
.bike-cfg { margin: clamp(8px, 2vw, 22px) 0 clamp(4px, 1vw, 10px); }
.bike-cfg, .bike-cfg use {
  transition: --frame .6s ease, --frame-shade .6s ease, --decal .6s ease, --lining .6s ease,
    --o-drop .35s ease, --o-flat .35s ease, --o-riser .35s ease, --o-slick .35s ease, --o-gravel .35s ease,
    --o-fend .35s ease, --o-rack .35s ease, --o-dyn .35s ease, --sp .45s cubic-bezier(.2,.7,.2,1);
}
.stage-bar { display: flex; gap: 32px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.stage-bar strong { font-size: 22px; font-weight: 750; font-stretch: 105%; font-variant-numeric: tabular-nums; }

.cfg-panel { display: grid; gap: 14px; }
.opt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 22px clamp(16px, 2vw, 26px) 24px; }
.opt legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; font-stretch: 106%; letter-spacing: -0.01em; margin-bottom: 14px; }
.opt legend + * { clear: both; }
.opt-n { font-size: 12px; color: var(--enamel); letter-spacing: .08em; padding: 3px 7px; border: 1px solid currentColor; border-radius: 3px; font-weight: 500; }
.opt-note { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

/* Inputs hidden but focusable */
.swatch input, .size input, .card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.swatch { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 11px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.swatch:hover { border-color: var(--line-2); }
.swatch-dot { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 -6px 10px rgba(0,0,0,.18), inset 0 4px 6px rgba(255,255,255,.25); transition: box-shadow .2s ease; }
.swatch-name { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.swatch-sub { font-size: 11px; color: var(--muted); line-height: 1.3; }
.swatch:has(input:checked) { border-color: var(--ink); background: #fff; }
.swatch input:checked + .swatch-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 -6px 10px rgba(0,0,0,.18), 0 0 0 3px #fff, 0 0 0 4.5px var(--ink); }
.swatch:has(input:focus-visible), .size:has(input:focus-visible), .card:has(input:focus-visible) { outline: 2.5px solid var(--enamel); outline-offset: 3px; }

.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; }
.size { position: relative; cursor: pointer; }
.size + .size { border-left: 1.5px solid var(--ink); }
.size span { display: grid; place-items: center; height: 46px; font-weight: 700; font-size: 16px; transition: background-color .2s ease, color .2s ease; }
.size:hover span { background: var(--paper-2); }
.size input:checked + span { background: var(--ink); color: var(--paper); }

.guide { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.guide-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.guide-head output { font-size: 13px; font-weight: 400; color: var(--enamel-dk); }
.guide input[type="range"] { width: 100%; margin: 14px 0 12px; accent-color: var(--enamel); height: 24px; cursor: pointer; }
.guide-bars { position: relative; display: grid; gap: 5px; --lab: 118px; }
.guide-bars li:not(.guide-marker) { display: grid; grid-template-columns: var(--lab) 1fr; align-items: center; font-size: 13px; color: var(--muted); }
.guide-bars .g-lab .mono { display: inline-block; width: 26px; color: var(--ink); font-weight: 500; }
.g-bar { position: relative; height: 10px; background: var(--paper-2); border-radius: 2px; }
.g-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: var(--paper-3); border-radius: 2px; transition: background-color .25s ease; }
.guide-bars li.on { color: var(--ink); }
.guide-bars li.on .g-bar::after { background: var(--ink); }
.guide-marker { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--enamel); left: calc(var(--lab) + (100% - var(--lab)) * var(--h) / 100 - 1px); border-radius: 2px; transition: left .2s ease; }
.guide-help { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; cursor: pointer; display: flex; }
.card-in { position: relative; flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; border: 1.5px solid var(--line); border-radius: 4px; transition: border-color .2s ease, background-color .2s ease; }
.card:hover .card-in { border-color: var(--line-2); }
.card svg { width: 48px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.card svg .thick { stroke-width: 4.5; }
.card-name { font-weight: 650; font-size: 15.5px; line-height: 1.2; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.card-price { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.card input:checked + .card-in { border-color: var(--ink); background: #fff; }
.card-in::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color .2s ease, border-color .2s ease; }
.card input[type="checkbox"] + .card-in::after { border-radius: 3px; }
.card input:checked + .card-in::after { background: var(--enamel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.2' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--enamel); }

/* Summary */
.summary { background: var(--ink); color: var(--paper); border-radius: 6px; padding: clamp(22px, 2.6vw, 32px); margin-top: 6px; }
.summary :focus-visible { outline-color: var(--paper); }
.sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sum-head h3 { font-size: 24px; }
.sum-head p { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(242,237,227,.72); }
.sum-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(242,237,227,.14); }
.sum-rows dt { font-weight: 600; font-size: 15px; }
.sum-rows dt small { display: block; font-weight: 400; font-size: 13px; color: rgba(242,237,227,.72); margin-top: 1px; }
.sum-rows dd { font-family: var(--mono); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-rows .changed dd { animation: tick .6s ease; }
.sum-total { padding: 18px 0 20px; border-top: 1.5px solid var(--paper); }
.sum-total > p:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum-total span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.sum-total strong { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.sum-dep { font-size: 13.5px; color: rgba(242,237,227,.72); margin-top: 4px; }

.timeline { padding: 18px 0 20px; border-top: 1px solid rgba(242,237,227,.14); }
.tl-head > p:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tl-head span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.tl-head strong { font-size: 20px; font-weight: 750; }
.tl-ready { font-size: 13.5px; color: rgba(242,237,227,.72); margin-top: 2px; }
.tl { display: grid; gap: 7px; margin-top: 14px; }
.tl li { display: grid; grid-template-columns: 104px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 13px; }
.tl-lab { color: rgba(242,237,227,.8); white-space: nowrap; }
.tl-track { position: relative; height: 10px; background: rgba(242,237,227,.09); border-radius: 2px; }
.tl-track i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / var(--t) * 100%); width: calc(var(--w) / var(--t) * 100%); background: var(--paper); border-radius: 2px; transition: left .4s ease, width .4s ease; }
.tl li:nth-child(2) .tl-track i { background: var(--enamel-lt); }
.tl li b { font-weight: 400; font-size: 12.5px; text-align: right; }

.share { padding: 18px 0 20px; border-top: 1px solid rgba(242,237,227,.14); display: grid; gap: 10px; justify-items: start; }
.share-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.share-line { width: 100%; font-size: 14.5px; line-height: 1.5; padding: 12px 14px; border: 1px dashed rgba(242,237,227,.35); border-radius: 4px; color: rgba(242,237,227,.92); }
.copy-status { font-size: 12.5px; color: var(--enamel-lt); min-height: 1.4em; }
.summary .btn-enamel { margin-top: 4px; }
.summary .btn-enamel:hover { background: #C9452A; }
.concept-msg { font-size: 14.5px; font-weight: 500; color: var(--enamel-dk); max-height: 0; overflow: hidden; opacity: 0; transition: opacity .3s ease, max-height .3s ease, margin .3s ease; }
.concept-msg.show { opacity: 1; max-height: 6em; margin-top: 12px; }
.summary .concept-msg { color: var(--enamel-lt); text-align: center; }

/* Process */
.process { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; position: relative; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--enamel); }
.step-top { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step-n { color: var(--ink); }
.step-icon { width: 52px; height: 52px; margin: 26px 0 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Steel */
.steel { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0; }
.steel :focus-visible { outline-color: var(--paper); }
.steel .eyebrow { color: rgba(242,237,227,.78); }
.steel-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.steel-intro .section-head { margin: 0; }
.steel-copy { display: grid; gap: 14px; color: rgba(242,237,227,.8); font-size: 17px; }
.vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.vig { background: #26231F; border: 1px solid rgba(242,237,227,.1); border-radius: 6px; overflow: hidden; }
.vig svg { width: 100%; height: auto; background-image: linear-gradient(rgba(242,237,227,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(242,237,227,.04) 1px, transparent 1px); background-size: 20px 20px; border-bottom: 1px solid rgba(242,237,227,.1); }
.vig figcaption { padding: 18px 20px 22px; font-size: 15px; color: rgba(242,237,227,.76); }
.vig figcaption b { display: block; color: var(--paper); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.v-tube { fill: #35302A; stroke: rgba(242,237,227,.8); stroke-width: 1.4; stroke-linejoin: round; }
.v-lug { fill: #4A2219; stroke: rgba(242,237,227,.85); stroke-width: 1.4; stroke-linejoin: round; }
.v-line { fill: none; stroke: #D9B96B; stroke-width: 1.4; stroke-linejoin: round; }
.v-hl { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2.2; stroke-linecap: round; }
.v-dot { fill: #E0623F; }
.v-lead { fill: none; stroke: rgba(242,237,227,.5); stroke-width: 1; }
.v-t { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; fill: rgba(242,237,227,.85); }
.v-dim { fill: none; stroke: rgba(242,237,227,.5); stroke-width: 1; }
.v-bead ellipse { fill: #7D776B; stroke: #D8D1C2; stroke-width: .8; }
.v-tint1 { stroke: #C9A24A; stroke-opacity: .55; stroke-width: 5; }
.v-tint2 { stroke: #5D7593; stroke-opacity: .45; stroke-width: 5; }
.v-bore { fill: #1D1B18; stroke: rgba(242,237,227,.6); stroke-width: 1; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgba(242,237,227,.18); }
.specs dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: rgba(242,237,227,.65); }
.specs dd { font-size: 14.5px; margin-top: 4px; }

/* Riders */
.riders { padding: clamp(64px, 8vw, 120px) 0; }
.quotes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(14px, 2vw, 24px); }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote p { font-size: 17.5px; line-height: 1.5; }
.quote-lg { grid-row: span 2; background: var(--enamel); border-color: var(--enamel); color: #FBF6EE; }
.quote-lg blockquote p { font-size: clamp(23px, 2.4vw, 33px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 600; font-stretch: 104%; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 650; font-size: 15.5px; }
.quote-lg figcaption, .quote-lg figcaption b { color: #FBF6EE; }
.q-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* Workshop */
.workshop { padding: clamp(64px, 8vw, 120px) 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.map-card { border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--card); position: sticky; top: calc(var(--header-h) + 20px); }
.map { width: 100%; height: auto; }
.m-bg { fill: #ECE5D7; }
.m-blocks rect { fill: #DCD2BF; }
.m-street { fill: none; stroke: #F8F4EC; stroke-width: 9; }
.m-street.major { stroke-width: 16; }
.m-river { fill: #AFBDBB; }
.m-t { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; fill: #4F493F; }
.m-metro circle { fill: var(--ink); }
.m-metro text { font-family: var(--font); font-weight: 800; font-size: 12px; fill: var(--paper); }
.m-pin path { fill: var(--enamel); }
.m-pulse { fill: var(--enamel); opacity: .18; transform-origin: 230px 154px; transform-box: view-box; animation: pulse 2.6s ease-out infinite; }
.m-label rect { fill: var(--ink); }
.m-label text { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; fill: var(--paper); }
.visit h2 { font-size: clamp(30px, 3.6vw, 48px); }
.visit-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.visit-info dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.visit-info dd { font-size: 15.5px; }
.book { margin-top: 28px; }
.book-title { font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 3px; background: var(--card); font-size: 16px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231D1B18' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.field input:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--enamel); }

/* FAQ */
.faq { padding: clamp(64px, 8vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font-size: clamp(17.5px, 1.5vw, 20px); font-weight: 650; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.8px; background: var(--ink); transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--enamel-dk); }
.faq details p { padding: 0 52px 24px 0; color: var(--muted); max-width: 38em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); padding: clamp(48px, 6vw, 80px) 0 96px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-word { font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.045em; line-height: .9; margin-bottom: 18px; }
.footer-brand p:not(.footer-word) { color: var(--muted); max-width: 26em; font-size: 15.5px; }
.footer-mail { margin-top: 12px; font-size: 13.5px !important; }
.footer-nav { display: flex; gap: clamp(40px, 8vw, 104px); }
.fn-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { text-decoration: none; font-size: 15.5px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--enamel); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-legal a { text-decoration: none; color: var(--ink); }

/* Concept badge */
.concept-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: rgba(250, 247, 240, .94); border: 1px solid var(--ink); border-radius: 3px; padding: 7px 11px;
  box-shadow: 0 8px 20px -12px rgba(29,27,24,.55);
  transition: background-color .2s ease, color .2s ease;
}
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--enamel); }
.concept-badge:hover { background: var(--ink); color: var(--paper); }
.concept-badge { transition: background-color .2s ease, color .2s ease, transform .3s ease; }
.concept-badge.tuck { transform: translateY(calc(100% + 16px)); }
.concept-badge:focus-visible { transform: none; }

/* Reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.model-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .vignettes .reveal:nth-child(2), .quotes .reveal:nth-child(2) { transition-delay: .08s; }
.model-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .vignettes .reveal:nth-child(3), .quotes .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }
.stage-card.flash { animation: flash 1s ease; }

@keyframes pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes tick { 0% { color: var(--enamel-lt); } 100% { color: inherit; } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(181,56,30,.5); } 100% { box-shadow: 0 0 0 14px rgba(181,56,30,0); } }

/* Responsive */
@media (max-width: 1140px) {
  .nav ul { gap: 20px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-block { grid-template-columns: repeat(2, auto); }
  .sheet-block span:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1000px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 79;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-2);
    padding: 8px var(--gutter) 24px; box-shadow: 0 30px 40px -30px rgba(29,27,24,.35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 15px 0; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { margin-top: 18px; min-height: 50px; font-size: 16px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; row-gap: 8px; }
  html:not(.js) .nav { position: static; width: 100%; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0; background: none; border: 0; box-shadow: none; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  html:not(.js) .nav ul a { padding: 4px 0; font-size: 15px; border: 0; }
  html:not(.js) .nav-cta { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .model-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .model { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cfg-head { display: block; }
  .cfg-head .section-lede { margin-top: 18px; }
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg-stage { top: calc(var(--header-h) + 6px); }
  .stage-card { padding: 10px 14px 10px; box-shadow: 0 18px 30px -24px rgba(29,27,24,.5); }
  .stage-name { font-size: 17px; }
  .stage-geo { font-size: 11.5px; }
  .bike-cfg { max-height: 27vh; margin: 2px auto 0; }
  .stage-bar { padding-top: 8px; gap: 24px; }
  .stage-bar strong { font-size: 17px; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steel-intro { grid-template-columns: minmax(0, 1fr); }
  .vignettes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quote-lg { grid-row: auto; }
  .workshop-grid { grid-template-columns: minmax(0, 1fr); }
  .map-card { position: relative; top: 0; max-width: 640px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 20px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(56px, 17vw, 84px); }
  .lede { margin-top: 16px; font-size: 17.5px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; padding-left: 14px; padding-right: 14px; }
  .hero-facts { margin-top: 24px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin-top: 28px; padding-top: 16px; }
  .hero-facts dd { font-size: 16px; }
  .hero-sheet { padding: 8px 4px 0; }
  .hero-sheet::before { inset: 5px; }
  .sheet-block { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 10.5px; margin-right: 0; }
  .sheet-block span { padding: 7px 10px; white-space: normal; }
  .sheet-block span:nth-child(odd) { border-left: 0; }
  .hero-strip { justify-content: flex-start; font-size: 11.5px; }
  .stage-card { padding: 8px 12px; }
  .stage-name span { display: none; }
  .stage-top { align-items: center; }
  .stage-name { font-size: 16px; }
  .stage-geo { font-size: 10.5px; }
  .bike-cfg { max-height: 23vh; }
  .stage-bar { padding-top: 6px; align-items: baseline; }
  .stage-bar p { display: flex; align-items: baseline; gap: 8px; }
  .stage-bar strong { font-size: 16px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch { padding: 9px 10px; grid-template-columns: 26px 1fr; column-gap: 9px; }
  .swatch-dot { width: 26px; height: 26px; }
  .swatch-name { font-size: 14px; }
  .cards, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .card-in { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 12px 40px 12px 12px; }
  .card svg { grid-row: span 2; margin: 0; }
  .card-desc { grid-column: 2; }
  .card-price { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
  .card-in::after { top: 50%; margin-top: -9px; }
  .guide-bars { --lab: 104px; }
  .guide-bars li:not(.guide-marker) { font-size: 12px; }
  .tl li { grid-template-columns: 92px minmax(0, 1fr) 42px; gap: 8px; font-size: 12.5px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .visit-info { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .book .btn { width: 100%; }
  .faq summary { padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .footer-nav { gap: 48px; }
  .site-footer { padding-bottom: 84px; }
  .concept-badge { left: 10px; bottom: 10px; font-size: 10px; padding: 6px 9px; }
}
@media (max-width: 380px) {
  .hero-facts dd { font-size: 15px; }
  .stage-bar { gap: 16px; }
  .tl li { grid-template-columns: 84px minmax(0, 1fr) 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .m-pulse { display: none; }
}
