/* Babbitt's Backcountry Outfitters — "Every trail starts at the counter".
   Red Moenkopi sandstone, a pack that gets fitted, loaded and set back on the 1888 counter. */

:root {
  color-scheme: light;
  --ink: #241c16;
  --ink-2: #1b1511;
  --ink-3: #2f251d;
  --paper: #f1e6cf;
  --paper-2: #e6d6b6;
  --slip: #fbf4e4;
  --rust: #9e4a31;
  --rust-ink: #8a3a22;
  --ember: #c8693f;
  --gold: #e9b46f;
  --gold-2: #d8a65c;
  --sage: #4f6047;
  --pine: #2e3a29;
  --muted-dark: #d9c8a8;
  --muted-light: #5b4a3c;
  --header-h: 64px;
  --focus: var(--rust-ink);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-drop: cubic-bezier(.3, 1.45, .5, 1);
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.site-header, .hero, .fit, .route, .close, .owner, .site-footer { --focus: var(--gold); }
.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: -80px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 16px; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }
.skip, .skip-scene { --focus: var(--paper); }
main:focus { outline: none; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f3c587; }
.btn-rust { background: var(--rust-ink); color: #fff8ea; }
.btn-rust:hover { background: #742f1a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(241, 230, 207, .55); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-mini { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: 600 .82rem/1 var(--sans); cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.js-only { display: none; }
.enhanced .js-only { display: inline-flex; }
.enhanced .nojs-note { display: none; }

/* ---------- Header: a direct child of body, so sticky always holds ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid rgba(233, 180, 111, .22); }
.header-row { display: flex; align-items: center; gap: 16px; padding: 8px var(--gutter); min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.wordmark-mark { width: 34px; height: 34px; flex: none; }
.wordmark-text { font: 500 .9rem/1.1 var(--sans); }
.wordmark-text strong { font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; }
.wordmark-text span { color: var(--muted-dark); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--gold); }
.site-nav a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; }
.header-call { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.call-short { display: none; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(241, 230, 207, .5); background: transparent; color: var(--paper); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: currentColor; transition: transform .25s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .wordmark-text span { display: none; }
}
/* Without JS the nav wraps under the wordmark; give anchor jumps room for it. */
@media (max-width: 960px) { html:not(.menu-ready) { --header-h: 120px; } }
@media (max-width: 600px) { html:not(.menu-ready) { --header-h: 168px; } }
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; gap: 8px; }
  .menu-ready .menu-toggle { display: inline-flex; }
  /* Without JS the links stay visible and wrap onto their own row. */
  .site-nav { order: 5; width: 100%; }
  .menu-ready .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid rgba(233, 180, 111, .3); padding: 8px var(--gutter) 16px; display: none; }
  .menu-ready .site-nav.is-open { display: block; }
  .menu-ready .site-nav ul { flex-direction: column; }
  .menu-ready .site-nav a { width: 100%; font-size: 1.1rem; }
  .call-long { display: none; }
  .call-short { display: inline; }
}
@media (max-width: 380px) {
  .wordmark-text strong { font-size: 1.05rem; }
  .header-call, .menu-toggle { padding: 0 12px; }
}

/* ---------- Shared type ---------- */
.eyebrow { font: 600 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-ink); margin-bottom: 14px; }
.eyebrow-light { color: var(--gold); }
.chapter { display: flex; align-items: center; gap: 12px; font: 600 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rust-ink); margin-bottom: 18px; }
.chapter span { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--rust-ink); color: #fff8ea; }
.chapter-light { color: var(--gold); }
.chapter-light span { background: var(--gold); color: var(--ink); }
.section-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .visit h2, .fit h2, .route h2 { font: 600 clamp(2rem, 4.6vw, 3.9rem)/1.02 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 120; }
.section-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; margin-top: 18px; color: var(--muted-light); }
.art-cap { font: 400 .78rem/1.45 var(--sans); color: var(--muted-light); margin-top: 10px; }
.art-cap-light { color: var(--muted-dark); }
.h-mask { overflow: clip; padding-bottom: .08em; }
.h-mask > span { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - var(--header-h)); padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(32px, 5vw, 64px); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: repeating-linear-gradient(178deg, transparent 0 22px, rgba(158, 74, 49, .12) 22px 26px); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.concept-note { font-size: .82rem; color: var(--muted-dark); border-left: 2px solid var(--gold); padding-left: 12px; margin-bottom: clamp(18px, 3vw, 32px); }
.concept-note a { color: var(--gold); white-space: nowrap; display: inline-block; min-height: 24px; }
.hero-title { font: 650 clamp(2.4rem, 5.2vw, 5.4rem)/.98 var(--display); letter-spacing: -.025em; font-variation-settings: "opsz" 144; margin-bottom: 22px; }
.hero-title .line { display: block; overflow: clip; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 50ch; color: #eadcc0; margin-bottom: 26px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; border-top: 1px solid rgba(233, 180, 111, .35); }
.facts > div { padding: 14px 16px 0 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid rgba(233, 180, 111, .2); }
.facts dt { font: 600 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: .95rem; line-height: 1.4; }
.hero-art { margin: 0; position: relative; z-index: 1; }
.hero-art-frame { border-radius: 22px; overflow: clip; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(233, 180, 111, .2); aspect-ratio: 640 / 600; background: #3a2018; }
.hero-svg { display: block; width: 100%; height: 100%; }
.hero-art .art-cap { color: var(--muted-dark); }
.mesa, .hero-sun, .facade { transform-box: view-box; }
.hero-sun { transform: translateY(calc(var(--hero-p, 0) * 70px)); }
.mesa { transform-origin: 320px 460px; }
.mesa-far { transform: translate(calc(var(--px, 0) * -6px), calc(var(--hero-p, 0) * 22px)) scale(1.05); }
.mesa-near { transform: translate(calc(var(--px, 0) * -14px), calc(var(--hero-p, 0) * 10px)) scale(1.06); }
.glass-lit { opacity: 1; }
.window-interior { opacity: 1; }
.hero-tag { transform-box: fill-box; transform-origin: 0 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-art { max-width: 560px; width: 100%; justify-self: center; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div, .facts > div + div { padding: 10px 0; border-left: 0; border-bottom: 1px solid rgba(233, 180, 111, .18); display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
  .facts dt { margin: 2px 0 0; }
}

/* ---------- 01 Gear ---------- */
.gear { padding: clamp(72px, 10vw, 140px) 0; background: var(--paper); position: relative; }
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.block { grid-column: span 2; position: relative; background: #ead8b5; padding: 28px 24px 30px; border-radius: 4px; min-height: 220px; box-shadow: inset 0 -6px 0 rgba(122, 53, 34, .14); background-image: repeating-linear-gradient(176deg, transparent 0 16px, rgba(158, 74, 49, .06) 16px 18px); }
.block::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rust); transform-origin: left; }
.block-icon { width: 46px; height: 46px; color: var(--rust-ink); margin-bottom: 18px; }
.block h3 { font: 600 1.35rem/1.15 var(--display); margin-bottom: 10px; }
.block p { color: var(--muted-light); margin: 0; }
.inline-cta { margin: 40px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 1.05rem; }
@media (max-width: 1000px) { .block { grid-column: span 3; } }
@media (max-width: 600px) { .courses { grid-template-columns: minmax(0, 1fr); } .block { grid-column: auto; min-height: 0; } }

/* ---------- 02 Fitting (pinned) ---------- */
.fit { position: relative; background: var(--ink-2); color: var(--paper); }
.scenes-ready .fit { height: 440svh; }
/* Hidden until focused; it never takes space, so focusing it causes no layout shift. */
.skip-scene { position: absolute; left: var(--gutter); top: 12px; z-index: 6; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; clip-path: inset(50%); white-space: nowrap; }
.skip-scene:focus { clip-path: none; }
.fit-pin { display: grid; min-height: calc(100svh - var(--header-h)); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 40px) var(--gutter); overflow: clip; }
.fit h2 { font-size: clamp(1.7rem, 3.3vw, 3rem); margin-bottom: 14px; }
.fit-intro { color: var(--muted-dark); max-width: 52ch; }
.fit-counter { font: 600 .9rem var(--mono); color: var(--gold); margin: 6px 0 10px; }
.fit-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.fit-steps li { counter-increment: s; position: relative; padding: 8px 0 8px 46px; border-left: 2px solid rgba(233, 180, 111, .2); color: var(--muted-dark); transition: color .3s, border-color .3s; scroll-margin-top: calc(var(--header-h) + 16px); }
.fit-steps li::before { content: counter(s, lower-roman) / ""; position: absolute; left: 12px; top: 9px; font: 600 .85rem var(--mono); color: var(--gold); }
.fit-steps li strong { color: var(--paper); }
.fit-steps li.is-active { color: #fff6e6; border-left-color: var(--gold); }
.fit-steps li.is-done { color: var(--muted-dark); }
.fit-note { font-size: .82rem; color: var(--muted-dark); max-width: 54ch; }
.fit-stage { margin: 0; height: calc(100svh - var(--header-h) - 60px); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.scenes-ready .fit-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 0; grid-template-rows: minmax(0, 1fr); }
.scenes-ready .fit-stage { height: 100%; }
.fit-copy { min-height: 0; }
.fit h2 { font-size: clamp(1.5rem, min(3.3vw, 5.4svh), 3rem); }
.fit-svg { width: 100%; height: 100%; min-height: 0; }
.svg-label { font: 500 15px var(--mono); fill: var(--muted-dark); }
.svg-label-gold { fill: var(--gold); }
.stamp-text { font: 700 26px var(--mono); letter-spacing: .2em; fill: var(--gold); }
.tape-line { transition: none; }
.belt-buckle, .load-arrow, .sternum, .fitted-stamp, [data-fit-tape-label] { opacity: 1; }
.sternum, .fitted-stamp, .click-ring { transform-box: fill-box; transform-origin: center; }

@media (max-width: 900px) {
  .scenes-ready .fit { height: 520svh; }
  .fit-pin { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; padding-top: 12px; }
  .scenes-ready .fit-pin { grid-template-rows: 48svh minmax(0, 1fr); }
  .fit-stage, .scenes-ready .fit-stage { order: -1; height: 48svh; }
  .fit-stage .art-cap { display: none; }
  .fit h2 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .scenes-ready .fit:not(.is-flat) .fit-intro, .scenes-ready .fit:not(.is-flat) .fit-note { display: none; }
  .scenes-ready .fit:not(.is-flat) .fit-steps li:not(.is-active) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }
}

/* ---------- 03 Rentals ---------- */
.rentals { padding: clamp(72px, 10vw, 140px) 0; background: var(--paper); }
.rent-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ledger fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.ledger legend { font: 600 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rust-ink); margin-bottom: 12px; padding: 0; }
.trips { display: flex; flex-wrap: wrap; gap: 8px; }
.trip { position: relative; display: inline-flex; }
.trip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; scroll-margin-top: calc(var(--header-h) + 24px); }
.trip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; transition: background-color .2s, color .2s; }
.trip input:checked + span { background: var(--ink); color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .3em; }
.trip input:checked + span::before { content: "✓ " / ""; color: var(--gold); }
.trip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.trip input:hover + span { border-color: var(--rust-ink); }
.items { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 52px; padding: 8px 10px; border-bottom: 1px dashed rgba(36, 28, 22, .3); cursor: pointer; transition: background-color .2s; }
.item:hover { background: rgba(158, 74, 49, .07); }
.item input { width: 20px; height: 20px; margin: 0; accent-color: var(--rust-ink); cursor: pointer; scroll-margin-top: calc(var(--header-h) + 24px); }
.item-name { font-weight: 600; line-height: 1.3; }
.item-name small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted-light); }
.tag { position: relative; font: 600 .95rem var(--mono); background: var(--slip); border: 1px solid #c9b48c; padding: 4px 10px 4px 18px; border-radius: 3px 8px 8px 3px; transform: rotate(-3deg); transition: transform .35s var(--ease-drop), background-color .2s; }
.tag::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px #a99268; }
.item:has(input:checked) { background: rgba(158, 74, 49, .1); }
.item input:checked ~ .tag { background: var(--rust-ink); color: #fff8ea; border-color: var(--rust-ink); transform: rotate(4deg); }
.days { display: flex; align-items: center; gap: 16px; margin: 4px 0 18px; }
.days label { font: 600 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rust-ink); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: clip; }
.stepper input { width: 64px; min-height: 44px; border: 0; background: transparent; text-align: center; font: 600 1.1rem var(--mono); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible, .step-btn:focus-visible { outline-offset: -4px; }
.step-btn { width: 44px; height: 44px; border: 0; background: transparent; font: 600 1.3rem var(--sans); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.step-btn:hover { background: var(--paper-2); }
.ledger-hint { font-size: .85rem; color: var(--muted-light); }
.slip-col { position: sticky; top: calc(var(--header-h) + 20px); filter: drop-shadow(0 14px 18px rgba(36, 28, 22, .18)); }
.pack-figure { margin: 0 0 14px; background: radial-gradient(ellipse at 50% 85%, #e2cfa8 0 40%, transparent 70%); }
.pack-svg { display: block; width: min(100%, 300px, 30svh); margin: 0 auto; aspect-ratio: 320 / 380; overflow: visible; }
.pack-figure .art-cap { text-align: center; }
.pack-art .k { transition: opacity .3s, transform .5s var(--ease-drop); transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(-46px) scale(.96); }
.pack-body { transition: transform .45s var(--ease-drop); transform-box: fill-box; transform-origin: 50% 100%; transform: scale(calc(1 + var(--load, 0) * .07), calc(1 + var(--load, 0) * .04)); }
.own-pack { font: 600 14px var(--mono); fill: var(--paper); opacity: 0; letter-spacing: .08em; }
.pack-badge { font: 700 11px var(--mono); fill: var(--ink); }
html:not([data-kit~="pack-m"]):not([data-kit~="pack-w"]) .pack-shell { fill-opacity: .5; stroke-dasharray: 7 6; }
html:not([data-kit~="pack-m"]):not([data-kit~="pack-w"]) .counter-scene .pack-shell { stroke: #f1e6cf; fill-opacity: .7; }
html:not([data-kit~="pack-m"]):not([data-kit~="pack-w"]) .counter-scene .own-pack { fill: #f1e6cf; }
html:not([data-kit~="pack-m"]):not([data-kit~="pack-w"]) .own-pack { opacity: 1; fill: var(--ink); }
html[data-kit~="pack-m"] .k-pack-w { display: none; }
html[data-kit~="pot"] .k-pot, html[data-kit~="poles"] .k-poles, html[data-kit~="pad"] .k-pad, html[data-kit~="stove"] .k-stove,
html[data-kit~="snowshoes"] .k-snowshoes, html[data-kit~="jetboil"] .k-jetboil, html[data-kit~="rat"] .k-rat, html[data-kit~="tent2"] .k-tent2,
html[data-kit~="tent3"] .k-tent3, html[data-kit~="pack-m"] .k-pack-m, html[data-kit~="pack-w"] .k-pack-w, html[data-kit~="crash-s"] .k-crash-s,
html[data-kit~="crash-l"] .k-crash-l { opacity: 1; transform: none; }
html[data-kit~="tent3"] .k-tent2 { opacity: 0; }

.slip { background: var(--slip); border: 1px solid #d6c39d; padding: 18px 20px 26px; font-family: var(--mono); font-size: .92rem; position: relative;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x; }
.slip-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.slip-trip { color: var(--rust-ink); }
.slip-lines { list-style: none; margin: 0 0 8px; padding: 0; min-height: 28px; }
.slip-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dotted #c9b48c; }
.slip-lines li.is-new { animation: slip-in .45s var(--ease-out); }
.slip-lines li.is-empty { color: var(--muted-light); }
@keyframes slip-in { from { opacity: 0; transform: translateX(-14px); background: rgba(233, 180, 111, .5); } }
.slip-sum { display: flex; justify-content: space-between; margin: 4px 0 0; }
.slip-total { font-weight: 600; font-size: 1.25rem; color: var(--rust-ink); }
.slip-total.is-bump { animation: bump .4s var(--ease-drop); }
@keyframes bump { 40% { transform: scale(1.12); } }
.slip-foot { margin: 12px 0 0; font-size: .8rem; color: var(--muted-light); }
.slip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tally-bar, .enhanced .tally-bar { display: none; }
/* Phones and short laptops: keep the running total in view while ticking items. */
@media (max-width: 900px), (max-height: 860px) {
  .ledger input, .ledger .step-btn { scroll-margin-bottom: 96px; }
  .enhanced .tally-bar { position: sticky; bottom: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); border-radius: 12px; background: var(--ink); color: var(--paper); font: 500 .9rem/1.3 var(--mono); --focus: var(--gold); }
  .tally-bar strong { color: var(--gold); }
  .tally-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); white-space: nowrap; font-family: var(--sans); font-weight: 600; }
}
.copy-status { min-height: 1.4em; font-size: .88rem; margin-top: 10px; color: var(--rust-ink); }
.nojs-note { font-size: .85rem; color: var(--muted-light); }
@media (max-width: 900px) {
  .rent-grid { grid-template-columns: minmax(0, 1fr); }
  .slip-col { position: static; }
}

/* ---------- 04 Route (pinned map) ---------- */
.route { position: relative; background: #3b1d14; color: var(--paper); }
.scenes-ready .route { height: 320svh; }
.scenes-ready .route-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); }
.route-pin { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 40px) var(--gutter); overflow: clip; }
.route h2 { font-size: clamp(1.7rem, 3.3vw, 3rem); margin-bottom: 22px; }
.route-chips { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.route-chips li { padding: 12px 16px; border: 1px solid rgba(233, 180, 111, .3); border-radius: 12px; color: var(--muted-dark); transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-drop); }
.route-chips strong { display: block; font: 600 1.15rem/1.2 var(--display); color: var(--paper); }
.route-chips li.is-reached { background: rgba(233, 180, 111, .14); border-color: var(--gold); color: #fff3dc; }
.route-chips li.is-reached strong::after { content: " ✓" / ""; color: var(--gold); }
.route-note { font-size: .82rem; color: var(--muted-dark); }
.route-stage { margin: 0; height: 100%; display: grid; place-items: center; perspective: 1500px; min-height: 0; }
.map-plane { position: relative; width: min(100%, 880px); aspect-ratio: 1000 / 640; transform-style: preserve-3d; transform: rotateX(var(--tilt, 0deg)) rotateZ(var(--twist, 0deg)) scale(var(--zoom, 1)); transition: none; }
.strata-plate { position: absolute; inset: 0; border-radius: 18px; transform: translateZ(calc(var(--sep, 6px) * var(--d) * -1)); }
.plate-1 { --d: 1; background: #c8693f; }
.plate-2 { --d: 2; background: #9e4a31; }
.plate-3 { --d: 3; background: #6a2d1d; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.map-svg { position: relative; display: block; width: 100%; height: 100%; border-radius: 18px; }
.map-label { font: 600 22px var(--display); fill: var(--ink); }
.map-label-rim { fill: #7a3522; font-style: italic; }
.map-sub { font: 500 15px var(--mono); fill: #5b4a3c; }
.corner-label { font: 600 20px var(--mono); fill: #2f251d; }
.dest { transform-box: fill-box; transform-origin: 20px 50%; }
.pin-pulse { transform-box: fill-box; transform-origin: center; }
@media (max-width: 900px) {
  .scenes-ready .route { height: 380svh; }
  .route-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 4px; padding-top: 14px; }
  .route h2 { font-size: clamp(1.3rem, 5.6vw, 1.8rem); margin-bottom: 10px; }
  .route-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
  .route-chips li { padding: 8px; font-size: .78rem; line-height: 1.3; }
  .route-chips strong { font-size: .95rem; }
  .route-note { display: none; }
  .route-stage { align-self: center; }
  .map-plane { width: min(100%, calc((100svh - var(--header-h) - 200px) * .78)); }
}
@media (max-width: 420px) { .route-chips li { font-size: 0; } .route-chips strong { font-size: .88rem; } }
/* Short laptops: only the active fitting step is shown while pinned (all steps stay in the accessibility tree). */
@media (min-width: 901px) and (max-height: 880px) {
  .scenes-ready .fit:not(.is-flat) .fit-steps li:not(.is-active) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }
}
/* Short phones: a smaller stage leaves room for the active step. */
@media (max-width: 900px) and (max-height: 700px) {
  .scenes-ready .fit-pin { grid-template-rows: 40svh minmax(0, 1fr); }
  .fit-stage, .scenes-ready .fit-stage { height: 40svh; }
}
/* Short or landscape screens: neither scene pins; every step is readable and both drawings rest finished. */
@media (max-height: 560px) {
  .scenes-ready .fit, .scenes-ready .route { height: auto; }
  .fit-pin, .route-pin, .scenes-ready .fit-pin, .scenes-ready .route-pin { position: relative; top: 0; height: auto; min-height: 0; grid-template-rows: none; }
  .fit-stage, .scenes-ready .fit-stage { height: 70svh; min-height: 260px; }
  .fit-intro, .fit-note, .route-note { display: block; }
  .route-pin { grid-template-rows: auto auto; }
  .route-stage { display: block; height: auto; padding: 8px 0 32px; }
  .map-plane { width: min(100%, calc(80svh * 1.5625)); margin: 0 auto; }
}

/* ---------- 05 History ---------- */
.history { padding: clamp(72px, 10vw, 140px) 0; background: var(--paper); }
.dig { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: clamp(12px, 3vw, 32px); }
.gauge { position: relative; border-left: 2px dashed rgba(36, 28, 22, .35); margin-left: 30px; }
.gauge-fill { position: absolute; left: -4px; top: 0; width: 6px; height: calc(var(--dig, 1) * 100%); background: var(--rust); border-radius: 3px; }
.gauge-top, .gauge-bottom { position: absolute; left: -30px; font: 600 .72rem var(--mono); text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--rust-ink); background: var(--paper); padding: 6px 0; }
.gauge-top { top: 0; } .gauge-bottom { bottom: 0; }
.strata { list-style: none; margin: 0; padding: 0; display: grid; }
.stratum { display: grid; grid-template-columns: minmax(110px, .25fr) minmax(0, 1fr); gap: 20px; padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 36px); background-image: repeating-linear-gradient(177deg, transparent 0 14px, rgba(0, 0, 0, .05) 14px 16px); border-top: 3px solid rgba(36, 28, 22, .18); }
.stratum .when { font: 600 clamp(1.4rem, 2.4vw, 2rem)/1 var(--display); margin: 0; }
.stratum h3 { font: 600 1.25rem/1.2 var(--display); margin-bottom: 6px; }
.stratum p:last-child { margin: 0; }
.s-today { background-color: #f6ead2; }
.s-2011 { background-color: #ecd3ab; }
.s-1986 { background-color: #dfb383; }
.s-mid { background-color: #a24c31; color: #fff6e6; }
.s-1888 { background-color: #8a3a22; color: #fff6e6; }
.s-1886 { background-color: #5e281a; color: #fff6e6; }
.s-mid, .s-1888, .s-1886 { --focus: var(--gold); }
.proof-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.pull { margin: 0; font: 500 italic clamp(1.4rem, 2.6vw, 2.2rem)/1.25 var(--display); }
.pull footer { font: 500 .85rem var(--mono); font-style: normal; color: var(--muted-light); margin-top: 14px; }
.proof-links h3 { font: 600 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rust-ink); margin-bottom: 10px; }
.proof-links ul { list-style: none; margin: 0; padding: 0; }
.proof-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid rgba(36, 28, 22, .2); text-decoration: none; font-weight: 600; }
.proof-links a:hover { color: var(--rust-ink); }
@media (max-width: 700px) {
  .dig { grid-template-columns: 28px minmax(0, 1fr); }
  .gauge { margin-left: 12px; }
  .gauge-top, .gauge-bottom { display: none; }
  .stratum { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .proof-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 06 Visit (calm) ---------- */
.visit { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.visit h2 { margin-bottom: 24px; }
.visit-address { font-style: normal; }
.addr { font: 500 1.5rem/1.3 var(--display); }
.big-tel { font: 600 clamp(1.6rem, 3vw, 2.2rem) var(--display); color: var(--rust-ink); text-decoration-thickness: 2px; display: inline-block; min-height: 44px; }
.visit-facts { margin: 8px 0 28px; display: grid; gap: 0; }
.visit-facts > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(36, 28, 22, .2); }
.visit-facts dt { font: 600 .78rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--rust-ink); }
.visit-facts dd { margin: 0; }
.corner { margin: 0; }
.corner svg { display: block; width: 100%; border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(36, 28, 22, .6); }
@media (max-width: 800px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 07 Close ---------- */
.close { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 130px) 0 clamp(56px, 7vw, 100px); overflow: clip; }
.close-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.close-title { font: 650 clamp(2.2rem, 4.6vw, 4.4rem)/1 var(--display); letter-spacing: -.02em; margin-bottom: 20px; }
.close-title em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }
.close-summary { font: 500 1.05rem/1.55 var(--mono); color: #eadcc0; border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 28px; max-width: 52ch; }
.counter-scene { margin: 0; }
.counter-scene svg { display: block; width: 100%; border-radius: 18px; background: #3b281c; }
.slip-svg-total { font: 600 20px var(--mono); fill: var(--rust-ink); }
.counter-pack-drop, .counter-pack, .counter-rise, .counter-slip { transform-box: view-box; }
@media (max-width: 900px) { .close-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Owner panel + footer ---------- */
.owner { background: var(--ink-3); color: var(--paper); padding: clamp(56px, 7vw, 96px) var(--gutter); }
.owner-inner { max-width: 860px; margin: 0 auto; }
.owner .eyebrow { color: var(--gold); }
.owner h2 { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--display); margin-bottom: 16px; }
.owner p { color: #eadcc0; }
.selectable { user-select: all; font-family: var(--mono); color: var(--gold); overflow-wrap: anywhere; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.owner-hint { font-size: .85rem; }
.owner-status { min-height: 1.4em; color: var(--gold); }
.site-footer { background: var(--ink); color: #eadcc0; padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-name { font: 600 1.1rem var(--display); color: var(--paper); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a, .site-footer p a { display: inline-block; min-height: 24px; padding: 2px 0; }
.footer-note { font-size: .82rem; }
.back-top { color: var(--gold); font-weight: 600; min-height: 44px !important; display: inline-flex !important; align-items: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Motion. Start states live only under .motion (JS added, reduced motion
   off) plus .scenes-ready, so content is never hidden without scripts.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entry: the façade is laid course by course, then the window lights and the pack lands. */
  .motion .hero-title .line > span { animation: rise .9s var(--ease-out) both; }
  .motion .hero-title .line + .line > span { animation-delay: .12s; }
  .motion .hero-lede, .motion .hero .cta-row, .motion .facts { animation: fade-up .8s var(--ease-out) both; }
  .motion .hero-lede { animation-delay: .25s; } .motion .hero .cta-row { animation-delay: .35s; } .motion .facts { animation-delay: .45s; }
  .motion .course { animation: lay .5s var(--ease-drop) both; animation-delay: calc(var(--i) * 65ms + .15s); }
  .motion .cornice { animation: lay .6s var(--ease-drop) 1.15s both; }
  .motion .sign-band { animation: lay .5s var(--ease-drop) .55s both; }
  .motion .upper-windows, .motion .storefront > rect:not(.glass-lit), .motion .storefront > g:not(.window-interior) { animation: fade 1s ease 1s both; }
  .motion .mesa-far > *, .motion .mesa-near > * { animation: fade-up 1.2s var(--ease-out) both; }
  .motion .glass-lit { animation: light 1.1s ease 1.55s both; }
  .motion .window-interior { animation: light .8s ease 1.6s both; }
  .motion .hero-pack-drop { animation: drop .9s var(--ease-drop) 2s both; transform-box: view-box; }
  .motion .hero-tag { animation: swing 3.6s ease-in-out 2.8s infinite; }
  .motion .hero-stars circle { animation: twinkle 4s ease-in-out infinite alternate; }
  .motion .hero-stars circle:nth-child(2n) { animation-delay: 1.3s; }
  .motion .hero.is-offscreen *, .motion .hero.is-offscreen { animation-play-state: paused !important; }

  @keyframes rise { from { transform: translateY(108%); } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(26px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes lay { from { opacity: 0; transform: translateY(-34px); } }
  @keyframes light { from { opacity: 0; } }
  @keyframes drop { 0% { opacity: 0; transform: translateY(-70px); } 30% { opacity: 1; } }
  @keyframes swing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(10deg); } }
  @keyframes twinkle { to { opacity: .25; } }

  /* Section headings rise out of a mask. */
  .scenes-ready.motion [data-reveal] .h-mask > span { transform: translateY(108%); transition: transform .9s var(--ease-out); }
  .scenes-ready.motion [data-reveal].is-in .h-mask > span { transform: none; }

  /* 01 Gear: blocks are laid like ashlar, then the mortar line draws. */
  .scenes-ready.motion .courses .block { opacity: 0; transform: translateY(-48px) rotate(-1.5deg); transition: opacity .4s ease, transform .7s var(--ease-drop); transition-delay: calc(var(--n) * 90ms + .1s); }
  .scenes-ready.motion .courses .block::after { transform: scaleX(0); transition: transform .6s var(--ease-out); transition-delay: calc(var(--n) * 90ms + .55s); }
  .scenes-ready.motion .courses.is-in .block { opacity: 1; transform: none; }
  .scenes-ready.motion .courses.is-in .block::after { transform: scaleX(1); }

  /* 03 Rentals: price tags swing onto their hooks row by row. */
  .scenes-ready.motion .items .item { opacity: 0; transform: translateX(-28px); transition: opacity .45s ease, transform .6s var(--ease-out), background-color .2s; transition-delay: calc(var(--row, 0) * 40ms); }
  .scenes-ready.motion .items .tag { transform: rotate(-38deg) translateY(-6px); }
  .scenes-ready.motion .items.is-in .item { opacity: 1; transform: none; }
  .scenes-ready.motion .items.is-in .tag { transform: rotate(-3deg); transition-delay: calc(var(--row, 0) * 40ms + .25s); }
  .scenes-ready.motion .items.is-in .item input:checked ~ .tag { transform: rotate(4deg); }
  /* Once the entry has played, ticks respond immediately. */
  .scenes-ready.motion .items.is-settled .item, .scenes-ready.motion .items.is-settled .tag { transition-delay: 0s; }
  .scenes-ready.motion .slip { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-out) .2s; }
  .scenes-ready.motion .slip.is-in { clip-path: inset(0 0 -20px 0); }

  /* 05 History: each layer is excavated as you dig down. */
  .scenes-ready.motion .stratum { clip-path: inset(0 0 100% 0); transform: translateY(-24px); transition: clip-path .9s var(--ease-out), transform .9s var(--ease-out); }
  .scenes-ready.motion .stratum.is-in { clip-path: inset(0); transform: none; }
  .scenes-ready.motion .stratum .when { transition: letter-spacing 1.1s var(--ease-out); letter-spacing: .25em; }
  .scenes-ready.motion .stratum.is-in .when { letter-spacing: 0; }

  /* 07 Close: the counter rises, the pack is set down with a little weight, the slip slides out. */
  .scenes-ready.motion .close .counter-rise { transform: translateY(150px); transition: transform 1s var(--ease-out); }
  .scenes-ready.motion .close .counter-pack-drop { transform: translateY(-420px); opacity: 0; }
  .scenes-ready.motion .close .counter-slip { transform-origin: 625px 275px; transform: translate(90px, 30px) rotate(8deg); opacity: 0; transition: transform .8s var(--ease-out) 1.25s, opacity .4s 1.25s; }
  .scenes-ready.motion .close .close-title, .scenes-ready.motion .close .close-summary { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
  .scenes-ready.motion .close .close-summary { transition-delay: .2s; }
  .scenes-ready.motion .close.is-in .counter-rise { transform: none; }
  .scenes-ready.motion .close.is-in .counter-pack-drop { animation: set-down 1.1s cubic-bezier(.5, 0, .75, 0) .45s both; }
  .scenes-ready.motion .close.is-in .counter-pack { animation: squash .5s ease-out 1.1s both; }
  .scenes-ready.motion .close.is-in .counter-slip { transform: none; opacity: 1; }
  .scenes-ready.motion .close.is-in .close-title, .scenes-ready.motion .close.is-in .close-summary { opacity: 1; transform: none; }
  @keyframes set-down { 0% { transform: translateY(-420px); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(0); animation-timing-function: ease-out; } 75% { transform: translateY(-14px); animation-timing-function: ease-in; } 100% { transform: none; opacity: 1; } }
  @keyframes squash { 0%, 100% { transform: translate(185px, 63px) scale(.72); } 30% { transform: translate(185px, 63px) scale(.72) translate(160px, 354px) scale(1.05, .94) translate(-160px, -354px); } }

  .pin-pulse { animation: pulse 2.4s ease-out infinite; }
  .route:not(.in-view) .pin-pulse { animation-play-state: paused; }
  @keyframes pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
  .dest.is-reached { animation: stamp .5s var(--ease-drop); }
  @keyframes stamp { from { transform: scale(1.6); opacity: 0; } }
}

/* Reduced motion: discrete states, nothing drifts. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Forced colours ---------- */
@media (forced-colors: active) {
  .btn:hover { background: ButtonFace; color: ButtonText; border-color: Highlight; }
  .btn, .header-call, .trip span, .stepper, .chapter span { border: 2px solid ButtonText; forced-color-adjust: none; background: ButtonFace; color: ButtonText; }
  .trip input:checked + span { background: Highlight; color: HighlightText; text-decoration: underline; }
  .trip input:focus-visible + span, :focus-visible { outline: 3px solid Highlight; }
  .item input:checked ~ .tag { border: 2px solid Highlight; text-decoration: underline; }
  .fit-steps li.is-active { border-left: 4px solid Highlight; }
  .route-chips li.is-reached { border: 2px solid Highlight; }
  .slip { -webkit-mask: none; mask: none; border: 1px solid CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header, .skip, .skip-scene, .menu-toggle, .js-only, .owner-actions, .slip-actions { display: none !important; }
  .fit, .route { height: auto !important; }
  .fit-pin, .route-pin { position: static !important; height: auto !important; }
  .hero, .fit, .route, .close, .owner, .site-footer { background: #fff !important; color: #000 !important; }
  main *, .owner *, .site-footer * { color: #000 !important; }
  .stratum, .block, .item, .slip, .close-title, .close-summary, .counter-slip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .fit-steps li { position: static !important; width: auto !important; height: auto !important; clip: auto !important; white-space: normal !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
