/* Denhita Sole Shop: FOOTPRINT TRAIL. Asphalt, chalk, track red, lime, sky. */
:root {
  --asphalt: #2E3138;
  --asphalt-2: #3A3E47;
  --chalk: #F4F2EE;
  --chalk-2: #E9E5DD;
  --red: #E2533C;
  --red-ink: #B93A25;
  --lime: #B7D63B;
  --sky: #57A6D9;
  --sky-ink: #23699A;
  --ink: #2E3138;
  --muted: #5C606A;
  --line: #D6D1C7;
  --display: 'Anybody', 'Arial Black', system-ui, sans-serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cw: 214px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.01em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--asphalt); color: var(--chalk); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.cur { font-family: var(--display); font-weight: 700; margin-right: .06em; }
.kicker { font: 800 13px/1.2 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 16px; }

/* Buttons: a flat, square-toed lace tag; no pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 2px solid var(--asphalt); background: var(--asphalt); color: var(--chalk); font: 800 15px/1 var(--display); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-radius: 4px 22px 22px 4px; transition: background .15s, color .15s; }
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--line { background: transparent; color: var(--asphalt); }
.btn--line:hover { background: var(--asphalt); border-color: var(--asphalt); color: var(--chalk); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: var(--chalk); border-bottom: 3px solid var(--asphalt); }
.nav { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark { width: 30px; height: 38px; flex: none; }
.bw { display: flex; flex-direction: column; line-height: 1; }
.bw-1 { font: 900 25px/0.9 var(--display); font-stretch: 140%; letter-spacing: -0.01em; color: var(--asphalt); }
.bw-2 { font: 800 10.5px/1 var(--display); font-stretch: 125%; letter-spacing: .42em; color: var(--red); margin-top: 5px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-head, .nav-close-li { display: none; }
.nav-link { display: flex; align-items: baseline; gap: 6px; padding: 8px 10px; text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.nav-link b { font: 900 13px/1 var(--display); color: var(--red); }
.nav-link:hover { border-bottom-color: var(--lime); }
.nav-link--plain { color: var(--muted); }
.cart-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 8px 0 12px; border: 2px solid var(--asphalt); background: var(--asphalt); color: var(--chalk); border-radius: 4px 22px 22px 4px; font: 800 13px/1 var(--display); font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase; }
.cart-btn:hover { background: var(--red); border-color: var(--red); }
.cart-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; background: var(--lime); color: var(--asphalt); border-radius: 14px; font: 900 13px/1 var(--display); }
.cb-prints { display: inline-flex; align-items: flex-end; gap: 2px; }
.fp-mini { width: 8px; height: 18px; color: var(--lime); }
.fp-mini.is-r { transform: scaleX(-1) translateY(-5px); color: var(--chalk); }
.cart-btn.pop .cb-prints { animation: hop .35s ease; }
@keyframes hop { 40% { transform: translateY(-4px); } }
.nav-toggle { display: none; }
.back-link { font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Hero */
.hero { padding-top: 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 82px); font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: .92; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero h1 .h1-red { color: var(--red); }
.lede { font-size: 18px; color: var(--muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo { position: relative; border-bottom: 10px solid var(--asphalt); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Start line with four lanes */
.lanes { background: var(--red); color: var(--chalk); margin-top: 56px; }
.lanes .wrap { display: flex; align-items: stretch; }
.start-line { writing-mode: vertical-rl; transform: rotate(180deg); font: 900 13px/1 var(--display); font-stretch: 140%; letter-spacing: .3em; text-transform: uppercase; padding: 0 14px; border-left: 6px solid var(--chalk); display: flex; align-items: center; justify-content: center; }
.lane-list { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.lane-list li { border-right: 3px solid rgba(244, 242, 238, .85); }
.lane-list li:last-child { border-right: 0; }
.lane { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 22px 20px; text-decoration: none; height: 100%; }
.lane:hover { background: var(--red-ink); }
.lane-no { grid-row: span 2; font: 900 56px/0.8 var(--display); font-stretch: 150%; color: transparent; -webkit-text-stroke: 2px var(--chalk); }
.lane:hover .lane-no { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.lane-t { font: 800 19px/1.05 var(--display); font-stretch: 110%; text-transform: uppercase; }
.lane-n { font-size: 14px; opacity: .9; }

/* The trail of footprints between sections */
.trail { position: relative; height: 240px; width: min(1240px, 100% - 64px); margin: 0 auto; pointer-events: none; }
.trail .fp { position: absolute; left: var(--x); top: calc(var(--t) * (100% - 56px)); width: 24px; height: 54px; margin-left: -12px; color: var(--asphalt); opacity: .78; transform: translate(var(--ox), var(--oy)) rotate(var(--r)); }
.trail .fp.is-r { transform: translate(var(--ox), var(--oy)) rotate(var(--r)) scaleX(-1); }
.trail .fp--end { opacity: 1; color: var(--red); }
.trail--walk .fp--end { color: var(--sky); }
.trail--run .fp--end, .trail--kids .fp--end { color: var(--red); }

/* Steps (sections) */
.step { --lug: var(--sky); padding: 8px 0 72px; }
.step--run { --lug: var(--lime); background: var(--red) repeating-linear-gradient(to bottom, transparent 0 118px, rgba(244, 242, 238, .55) 118px 121px); color: var(--chalk); padding-top: 56px; }
.step--work { --lug: var(--red); }
.step--kids { --lug: var(--lime); }
.step-head { display: flex; align-items: flex-end; gap: 26px; margin-bottom: 40px; }
.step--r .step-head { flex-direction: row-reverse; text-align: right; }
.step-no { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.step-no span { font: 900 13px/1 var(--display); font-stretch: 140%; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 2px; padding-left: .3em; }
.step-no b { font: 900 132px/0.78 var(--display); font-stretch: 150%; color: var(--lug); }
.step--run .step-no b { color: var(--lime); }
.step-t { max-width: 560px; padding-bottom: 6px; }
.step-head h2 { font-size: clamp(40px, 5vw, 70px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .9; }
.step-note { font-size: 18px; margin-top: 12px; color: var(--muted); }
.step--run .step-note { color: var(--chalk); }
.step-meta { margin-top: 6px; font-size: 15px; font-weight: 600; }
.step-meta b { font-family: var(--display); }

/* Sole cards: an asphalt outsole with a tread ring, a chalk footbed inside. Left and right feet, staggered like steps. */
.soles { display: flex; flex-wrap: wrap; gap: 26px 22px; list-style: none; margin: 0; padding: 0 0 60px; }
.step--r .soles { justify-content: flex-end; }
.sole { position: relative; width: var(--cw); padding: 11px; background:
    linear-gradient(135deg, var(--asphalt) 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(225deg, var(--asphalt) 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(315deg, var(--asphalt) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(45deg, var(--asphalt) 25%, transparent 25%) 0 0 / 16px 16px,
    var(--lug);
  -webkit-clip-path: url(#sole-l); clip-path: url(#sole-l); }
.sole:nth-child(even) { -webkit-clip-path: url(#sole-r); clip-path: url(#sole-r); margin-top: 64px; }
.bed { position: relative; height: 100%; background: var(--chalk); color: var(--ink); text-align: center; padding: 30px 18px 42px;
  -webkit-clip-path: url(#sole-l); clip-path: url(#sole-l); display: flex; flex-direction: column; align-items: center; }
.sole:nth-child(even) .bed { -webkit-clip-path: url(#sole-r); clip-path: url(#sole-r); }
.bed-top { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; color: var(--muted); }
.no { font: 900 12px/1 var(--display); font-stretch: 140%; letter-spacing: .12em; color: var(--asphalt); }
.stock b { font-family: var(--display); color: var(--ink); }
.bed img { width: 84%; aspect-ratio: 1; object-fit: cover; margin: 10px 0 14px; border-radius: 50% 50% 44% 44% / 52% 52% 48% 48%; background: var(--chalk-2); }
.bed h3 { font-size: 18px; font-weight: 800; font-stretch: 96%; max-width: 94%; }
.desc { font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 6px; max-width: 74%; }
.bed .price { font: 900 26px/1 var(--display); font-stretch: 112%; margin-top: 12px; }
.act { margin-top: 14px; min-height: 42px; display: flex; align-items: center; justify-content: center; }
.step-btn { min-height: 42px; padding: 0 16px; border: 0; background: var(--asphalt); color: var(--chalk); border-radius: 3px 20px 20px 3px; font: 800 13px/1 var(--display); font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase; }
.sole:nth-child(even) .step-btn { border-radius: 20px 3px 3px 20px; }
.step-btn:hover { background: var(--red); }
.step-btn[hidden] { display: none; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--lime); border-radius: 21px; padding: 3px; }
.stepper[hidden] { display: none; }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--asphalt); color: var(--chalk); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 26px; font: 900 18px/1 var(--display); color: var(--asphalt); }
.sole.in-cart .bed { background: #FBFAF6; box-shadow: inset 0 0 0 4px var(--lime); }

/* Finish line */
.trail--finish { height: 150px; }
.finish { background: var(--asphalt); color: var(--chalk); border-top: 14px solid; border-image: repeating-linear-gradient(90deg, var(--chalk) 0 14px, var(--asphalt) 14px 28px) 14; }
.finish-in { display: flex; align-items: center; gap: 32px; padding: 44px 0; }
.finish-flag { font: 900 54px/1 var(--display); font-stretch: 150%; text-transform: uppercase; color: var(--lime); }
.finish-text { flex: 1; max-width: 520px; }
.btn--stride { background: var(--lime); border-color: var(--lime); color: var(--asphalt); }
.btn--stride:hover { background: var(--chalk); border-color: var(--chalk); }
.btn--stride .fp-mini { color: var(--asphalt); }
.btn--stride .fp-mini.is-r { color: var(--red); }
.btn--stride .cart-count { background: var(--asphalt); color: var(--lime); }

/* How */
.how { padding: 104px 0; }
.how-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.how h2, .story h2, .visit h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: .95; margin-bottom: 30px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.how-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 2px dashed var(--line); }
.how-steps li:nth-child(even) { padding-left: 34px; }
.hs-mark { position: relative; display: grid; place-items: center; width: 64px; height: 78px; }
.fp-how { position: absolute; inset: 0; margin: auto; width: 36px; height: 78px; color: var(--asphalt); }
.fp-how.is-r { transform: scaleX(-1); color: var(--red); }
.hs-mark b { position: relative; font: 900 22px/1 var(--display); color: var(--chalk); background: var(--asphalt); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--chalk); }
.how-steps h3 { font-size: 22px; font-weight: 800; font-stretch: 110%; margin-bottom: 4px; }
.how-steps p { color: var(--muted); }
.how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-left: 10px solid var(--red); }

/* Story */
.story { background: var(--asphalt); color: var(--chalk); padding: 104px 0; }
.story .kicker { color: var(--lime); }
.story-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 72px; align-items: center; }
.story-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; max-height: 640px; border-bottom: 10px solid var(--lime); }
.story-copy p { color: #DCD9D2; margin-bottom: 16px; max-width: 34em; }

/* Visit */
.visit { padding: 104px 0; }
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.info { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--asphalt); }
.info div { padding: 18px 18px 18px 0; border-bottom: 2px dashed var(--line); }
.info dt { font: 800 12px/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 8px; }
.info dd { font-size: 16px; }
.info a, .faq-list a, .legal a, .summary-note a { color: var(--sky-ink); text-underline-offset: 3px; }
.faq-list { margin-top: 32px; }
.faq-list details { border-top: 2px solid var(--asphalt); }
.faq-list details:last-child { border-bottom: 2px solid var(--asphalt); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 18px; color: var(--muted); max-width: 40em; }
.visit-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; max-height: 620px; border-radius: 0 0 0 120px; }

/* Footer: asphalt with a painted lane line */
.footer { background: var(--asphalt); color: var(--chalk); border-top: 8px solid var(--red); box-shadow: inset 0 6px 0 var(--chalk); padding-top: 6px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; padding: 64px 0 48px; }
.footer-line { display: flex; flex-direction: column; gap: 16px; }
.fl-brand { display: flex; align-items: center; gap: 10px; font: 900 24px/0.9 var(--display); font-stretch: 140%; }
.fl-brand small { display: block; font: 800 10px/1 var(--display); font-stretch: 125%; letter-spacing: .42em; color: var(--lime); margin-top: 5px; }
.fl-brand .mark { background: var(--chalk); border-radius: 6px; padding: 3px; width: 34px; height: 42px; }
.fl-sub { font-size: 14px; color: #CFCBC3; max-width: 26em; }
.fcell h2 { font: 800 12px/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.fcell ul { list-style: none; margin: 0; padding: 0; }
.fcell li { margin-bottom: 8px; }
.fcell p, .fcell a { font-size: 14px; color: #E7E4DD; }
.fcell a { text-decoration: none; overflow-wrap: anywhere; }
.fcell a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid #4A4F59; font-size: 13px; color: #BDB9B1; }

/* Cart drawer: Your stride */
.cart-overlay { position: fixed; inset: 0; background: rgba(46, 49, 56, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 60; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--chalk); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; border-left: 6px solid var(--asphalt); }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 12px; }
.cart-head h2 { display: flex; flex-direction: column; font-size: 30px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.stride-count { font: 600 14px/1.4 var(--sans); text-transform: none; color: var(--muted); margin-top: 4px; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--asphalt); background: none; border-radius: 50%; }
.stride { display: flex; align-items: center; gap: 10px; margin: 0 22px; padding: 10px 0 14px; border-bottom: 3px solid var(--asphalt); min-height: 70px; }
.stride-start { font: 900 11px/1 var(--display); font-stretch: 140%; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); border-left: 4px solid var(--red); padding-left: 0; padding-right: 4px; }
.stride-path { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; flex: 1; padding-left: 8px; }
.stride-path:empty::before { content: 'No steps yet'; font-size: 14px; color: var(--muted); }
.sp { width: 13px; height: 29px; color: var(--asphalt); transform: rotate(90deg) translateX(-6px); }
.sp.is-r { color: var(--red); transform: rotate(90deg) translateX(6px) scaleX(-1); }
.sp-more { font: 900 15px/1 var(--display); margin-left: 6px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 50% 50% 44% 44%; background: var(--chalk-2); }
.cart-item h3 { font-size: 16px; font-weight: 800; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--asphalt); border-radius: 20px; padding: 2px; }
.qty button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 22px; text-align: center; font: 900 15px/1 var(--display); }
.cart-item-sub { font: 800 16px/1 var(--display); }
.cart-remove { margin-top: 8px; border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 32px 0; text-align: center; }
.cart-empty p { margin-bottom: 18px; color: var(--muted); }
.cart-foot { padding: 18px 22px 24px; border-top: 3px solid var(--asphalt); background: var(--chalk-2); }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 14px; }
.cart-total .price { font: 900 26px/1 var(--display); }
.cart-foot .btn { width: 100%; }
.cart-foot p { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* Order page */
.order-page { padding: 56px 0 96px; }
.order-intro h1, .legal-head h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .95; }
.order-intro { margin-bottom: 36px; }
.order-intro .lede { margin-top: 14px; }
.order { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.order[hidden] { display: none; }
.order-form h2, .summary h2, .sent h2 { font-size: 26px; font-weight: 900; font-stretch: 115%; text-transform: uppercase; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--asphalt); background: #FFF; border-radius: 4px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.field-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.field-error { font-size: 14px; color: var(--red-ink); font-weight: 600; margin-top: 4px; }
.field-error:empty { display: none; }
.order-submit { width: 100%; }
.summary { background: var(--asphalt); color: var(--chalk); padding: 28px; border-radius: 4px 40px 40px 4px; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: 12px 0; border-bottom: 1px dashed #5A5F69; vertical-align: top; }
.summary td:last-child { text-align: right; font-family: var(--display); font-weight: 800; white-space: nowrap; padding-left: 12px; }
.summary td small { display: block; color: #BDB9B1; font-size: 13px; font-family: var(--display); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-weight: 600; }
.summary-total .price { font: 900 28px/1 var(--display); color: var(--lime); }
.summary-note { margin-top: 16px; font-size: 14px; }
.summary .summary-note a { color: var(--lime); }
.sent { max-width: 640px; }
.sent[hidden] { display: none; }
.sent p { color: var(--muted); margin-bottom: 20px; }
.sent-copy { margin-top: 24px; }
.sent-copy pre { white-space: pre-wrap; background: #FFF; border: 2px dashed var(--line); padding: 16px; font-size: 14px; margin-top: 12px; }

/* Legal */
.legal-head { padding: 64px 0 24px; border-bottom: 3px solid var(--asphalt); }
.legal-body { padding: 40px 0 96px; }
.legal { max-width: 720px; }
.legal h2 { font-size: 22px; font-weight: 800; font-stretch: 112%; margin: 32px 0 10px; }
.legal p, .legal ul { margin-bottom: 12px; color: #40444D; }

/* Tablet */
@media (max-width: 1099px) {
  .nav-link--plain { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-line { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--asphalt); background: none; border-radius: 4px; }
  .cart-label { display: none; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; inset: 0; z-index: 80; background: var(--chalk); padding: 24px; overflow-y: auto; }
  .nav-head { display: block; font: 900 13px/1 var(--display); font-stretch: 140%; letter-spacing: .24em; text-transform: uppercase; color: var(--red-ink); padding: 8px 0 18px; }
  .nav-list .nav-link, .nav-link--plain { display: flex; font: 900 28px/1.1 var(--display); font-stretch: 118%; text-transform: uppercase; padding: 14px 0; border-bottom: 2px dashed var(--line); color: var(--asphalt); }
  .nav-link b { font-size: 18px; min-width: 28px; }
  .nav-close-li { display: block; position: absolute; top: 16px; right: 16px; }
  .nav-close { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--asphalt); background: var(--chalk); border-radius: 50%; }
  .hero-grid, .how-grid, .story-grid, .visit-grid, .order { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .lane-list { grid-template-columns: repeat(2, 1fr); }
  .lane-list li { border-bottom: 3px solid rgba(244, 242, 238, .85); }
  .lane-list li:nth-child(2n) { border-right: 0; }
  .lane-list li:nth-child(n+3) { border-bottom: 0; }
  .story-photo img, .visit-photo img { max-height: 460px; }
  .how-photo { order: -1; }
}

/* Phone: simpler rounded soles, two per row, no clip-path */
@media (max-width: 699px) {
  html { scroll-padding-top: 70px; }
  body { font-size: 16px; }
  .wrap, .trail { width: calc(100% - 32px); }
  .nav { min-height: 62px; gap: 10px; }
  .bw-1 { font-size: 21px; }
  .bw-2 { font-size: 9.5px; letter-spacing: .36em; }
  .mark { width: 26px; height: 33px; }
  .cart-btn { padding: 0 6px 0 10px; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .lede { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lanes { margin-top: 36px; }
  .start-line { padding: 0 8px; font-size: 11px; border-left-width: 4px; }
  .lane { padding: 16px 12px; column-gap: 10px; }
  .lane-no { font-size: 40px; }
  .lane-t { font-size: 15px; }
  .lane-n { font-size: 13px; }
  .trail { height: 130px; }
  .trail .fp { width: 16px; height: 36px; margin-left: -8px; transform: translate(var(--oxm), var(--oym)) rotate(var(--rm)); }
  .trail .fp.is-r { transform: translate(var(--oxm), var(--oym)) rotate(var(--rm)) scaleX(-1); }
  .trail--finish { height: 100px; }
  .step { padding-bottom: 48px; }
  .step--run { padding-top: 40px; }
  .step-head { gap: 14px; margin-bottom: 26px; align-items: center; }
  .step-no b { font-size: 76px; }
  .step-no span { font-size: 10px; }
  .step-head h2 { font-size: clamp(30px, 9vw, 40px); }
  .step-note { font-size: 15px; margin-top: 8px; }
  .step-meta { font-size: 14px; }
  .soles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-bottom: 28px; }
  .sole, .sole:nth-child(even) { width: auto; min-width: 0; padding: 8px; -webkit-clip-path: none; clip-path: none; border-radius: 50% 50% 42% 42% / 22% 22% 16% 16%; overflow: hidden; }
  .sole:nth-child(even) { margin-top: 28px; }
  .bed, .sole:nth-child(even) .bed { -webkit-clip-path: none; clip-path: none; border-radius: 50% 50% 42% 42% / 21% 21% 15% 15%; padding: 22px 10px 30px; }
  .bed img { width: 82%; margin: 8px 0 10px; }
  .bed h3 { font-size: 16px; max-width: 100%; }
  .desc { font-size: 13px; max-width: 100%; }
  .bed .price { font-size: 22px; margin-top: 8px; }
  .act { margin-top: 10px; }
  .step-btn { padding: 0 12px; font-size: 12px; min-height: 40px; }
  .stepper button { width: 32px; height: 32px; }
  .stepper output { min-width: 20px; font-size: 16px; }
  .finish-in { flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 0; }
  .finish-flag { font-size: 40px; }
  .btn--stride { width: 100%; }
  .how, .story, .visit { padding: 72px 0; }
  .how-steps li { grid-template-columns: 52px 1fr; gap: 12px; }
  .how-steps li:nth-child(even) { padding-left: 16px; }
  .hs-mark { width: 52px; height: 66px; }
  .fp-how { width: 30px; height: 66px; }
  .info { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 48px 0 32px; }
  .order-page { padding: 36px 0 72px; }
  .summary { padding: 22px; border-radius: 4px 28px 28px 4px; }
}
