/* Alaska Snowmobile Rentals: ABA brand tokens (aba-identity/IDENTITY.md).
   Navy is the field, ice is the light surface, amber is the one invitation.
   Display face: Libre Franklin (OFL), the licensed web stand-in for the brand's
   Franklin Gothic. Titles stay uppercase with positive tracking per the spec. */
@font-face {
  font-family: "Libre Franklin";
  src: url("assets/LibreFranklin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0C2350;
  --navy-deep: #081A3D;
  --navy-mid: #1D397A;
  --ice-blue: #2E7FB8;
  --ice-blue-soft: #7FB3D8;
  --ice: #EAF2F8;
  --ice-2: #DBE8F4;
  --ice-3: #CFE0EE;
  --snow: #F6FAFD;
  --amber: #E8A33D;
  --amber-press: #D4912C;
  --ink: #16202E;
  --ink-soft: #26313F;
  --slate: #5E6A7A; /* darkened slightly for AA on ice */
  --display: "Libre Franklin", "Franklin Gothic Medium", "Franklin Gothic", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-navy: 0 24px 48px -28px rgba(8, 26, 61, .55);
  --focus: 0 0 0 3px var(--ice), 0 0 0 6px var(--ice-blue);
  --grain: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Copy that depends on whether any rental is bookable online (set by app.js). */
html[data-booking="contact"] [data-when="online"],
html[data-booking="online"] [data-when="contact"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Fine film grain over the whole page: breaks digital flatness, never reads as texture. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: var(--grain); background-size: 180px; opacity: .045;
}
img { max-width: 100%; display: block; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--navy-mid); text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--navy); }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ice); color: var(--navy); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

.sr-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 13px 24px;
  font-family: var(--display); font-weight: 650; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-amber {
  background: var(--amber); color: var(--navy-deep); border-color: var(--amber);
  box-shadow: 0 12px 26px -14px rgba(232, 163, 61, .75), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-amber:hover {
  background: #EEAE4B; border-color: #EEAE4B; color: var(--navy-deep);
  transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(232, 163, 61, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-amber:active { background: var(--amber-press); border-color: var(--amber-press); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--ice); }
.btn-ghost { background: rgba(234, 242, 248, .04); color: var(--ice); border-color: rgba(234, 242, 248, .45); }
.btn-ghost:hover { border-color: var(--ice); background: rgba(234, 242, 248, .12); color: #fff; transform: translateY(-1px); }
.btn-quiet { background: rgba(234, 242, 248, .06); color: var(--ice); border-color: rgba(127, 179, 216, .45); }
.btn-quiet:hover { background: rgba(234, 242, 248, .14); border-color: var(--ice); color: #fff; }
.btn-lg { min-height: 58px; padding: 16px 34px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------- header */
/* Clear over the hero photo, solid navy glass once the page moves. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--ice);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 26, 61, .62) 0%, rgba(8, 26, 61, 0) 100%);
  transition: opacity .35s ease;
}
.site-header.is-solid {
  background: rgba(12, 35, 80, .92);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 rgba(127, 179, 216, .16), 0 12px 32px -20px rgba(8, 26, 61, .8);
}
.site-header.is-solid::before { opacity: 0; }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ice); flex: none; }
.brand-logo { height: 50px; width: auto; }
.brand-text {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; line-height: 1.3; max-width: 13ch;
}
.brand .brand-text { padding-left: 16px; border-left: 1px solid rgba(127, 179, 216, .4); }
.brand.no-logo .brand-logo, .footer-brand.no-logo .footer-logo { display: none; }
.brand.no-logo .brand-text { padding-left: 0; border-left: 0; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  position: relative; color: var(--ice); text-decoration: none; font-size: 15px; padding: 8px 0; white-space: nowrap;
}
@media (max-width: 1179px) {
  .header-row { gap: 20px; }
  .site-nav { gap: 18px; }
  .header-actions { gap: 16px; }
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--ice-blue-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  color: var(--ice); font-family: var(--display); font-weight: 600; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: #fff; }
.btn-header {
  min-height: 42px; padding: 9px 18px; font-size: 13px; white-space: nowrap;
  color: var(--ice); border-color: rgba(234, 242, 248, .5); background: rgba(234, 242, 248, .04);
}
.btn-header:hover { color: #fff; border-color: var(--ice); background: rgba(234, 242, 248, .12); }
/* Amber only after the hero's own amber CTA has scrolled away. */
.past-hero .btn-header { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.past-hero .btn-header:hover { background: #EEAE4B; border-color: #EEAE4B; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy); color: var(--ice); overflow: hidden;
}
.hero-media { position: absolute; inset: -7% 0; z-index: -2; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; }
.hero.no-photo .hero-media { display: none; }
/* Legibility vignette weighted to the text side; the photo stays the hero. */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 61, .84) 0%, rgba(8, 26, 61, .52) 34%, rgba(8, 26, 61, 0) 66%),
    linear-gradient(0deg, rgba(8, 26, 61, .9) 0%, rgba(8, 26, 61, 0) 40%);
}
.hero-body { width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px; font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: 13px; color: var(--ice-blue-soft);
}
.hero-kicker::before { content: ""; width: 40px; height: 1.5px; background: currentColor; }
.hero-title {
  margin: 0; max-width: 10.5ch;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(50px, 8.8vw, 134px); line-height: .9; letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(8, 26, 61, .35);
}
.hero-lead {
  max-width: 42ch; margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
  color: rgba(234, 242, 248, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 38px; }
.hero-call { color: var(--ice); text-decoration: none; font-size: 16px; }
.hero-call span { font-family: var(--display); font-weight: 600; letter-spacing: .03em; border-bottom: 1.5px solid rgba(234, 242, 248, .55); padding-bottom: 2px; transition: border-color .2s ease; }
.hero-call:hover { color: #fff; }
.hero-call:hover span { border-color: var(--ice); }

.hero-ledger {
  position: relative;
  background: rgba(8, 26, 61, .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid rgba(127, 179, 216, .22);
}
.ledger-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, auto)); justify-content: start; gap: 14px 0; padding-top: 20px; padding-bottom: 20px; }
.ledger-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(127, 179, 216, .22); }
.ledger-item:last-child, .ledger-item[data-when] { border-right: 0; margin-right: 0; padding-right: 0; }
.ledger-label { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ice-blue-soft); }
.ledger-value { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .02em; }

/* Hero load: one weighty move, then hold. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-img { animation: settle-in 1.8s var(--ease) both; }
  .js .hero-body > * { animation: rise .9s var(--ease) both; }
  .js .hero-body > :nth-child(1) { animation-delay: .15s; }
  .js .hero-body > :nth-child(2) { animation-delay: .22s; }
  .js .hero-body > :nth-child(3) { animation-delay: .34s; }
  .js .hero-body > :nth-child(4) { animation-delay: .44s; }
  .js .hero-ledger { animation: rise .9s .55s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes settle-in { from { transform: scale(1.06); } to { transform: none; } }
}

/* ------------------------------------------------------ section heads */
section { scroll-margin-top: var(--header-h); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ice-blue);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-dark { color: var(--ice-blue-soft); }
.section-title {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 60px); line-height: .96; letter-spacing: .015em; color: var(--navy);
}
.section-lead { margin: 18px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 56ch; }
.section-head-dark .section-title { color: var(--ice); }
.section-head-dark .section-lead { color: var(--ice-3); }

/* ------------------------------------------------------------ chooser */
.chooser {
  position: relative; padding: 112px 0 120px;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(127, 179, 216, .22) 0%, rgba(127, 179, 216, 0) 70%),
    var(--ice);
}
.desk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: 48px; align-items: start; }
.desk-steps { margin: 0; }
.paths, .step { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.step-legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px;
  font-family: var(--display); font-weight: 650; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--ice); font-size: 13px; letter-spacing: 0;
}

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.path-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 56px 22px 22px; border-radius: 10px; cursor: pointer;
  background: var(--snow); border: 1.5px solid var(--ice-3); color: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.path-tile::after {
  content: ""; position: absolute; right: 20px; top: 24px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--ice-blue-soft); transition: border-color .25s ease, box-shadow .25s ease;
}
.path-tile:hover { border-color: var(--ice-blue-soft); transform: translateY(-1px); box-shadow: 0 14px 28px -22px rgba(12, 35, 80, .45); }
.path-name { font-family: var(--display); font-weight: 650; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
.path-desc { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.path-tile:has(input:checked) {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%); border-color: var(--navy); color: var(--ice);
  box-shadow: var(--shadow-navy);
}
.path-tile:has(input:checked)::after { border-color: var(--amber); box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 9px var(--amber); }
.path-tile:has(input:checked) .path-desc { color: var(--ice-3); }
.path-tile:has(input:focus-visible) { box-shadow: var(--focus); }

.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.option-grid-duration { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.option {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 66px; padding: 14px 46px 14px 18px; border-radius: 10px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--ice-3); color: var(--ink);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.option::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 1.5px solid var(--ice-blue-soft); transition: border-color .25s ease, box-shadow .25s ease;
}
.option:hover { border-color: var(--ice-blue-soft); transform: translateY(-1px); box-shadow: 0 14px 28px -22px rgba(12, 35, 80, .45); }
.option-name { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: .01em; }
.option-sub { font-size: 14px; color: var(--slate); }
.option-off { font-size: 13px; color: var(--slate); }
.option.is-off { background: transparent; border-style: dashed; }
.option.is-off .option-name { color: var(--slate); }
.option:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--navy), var(--shadow-navy); }
.option:has(input:checked)::after { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px var(--navy); }
.option.is-off:has(input:checked) { border-style: dashed; border-color: var(--slate); box-shadow: none; }
.option.is-off:has(input:checked)::after { border-color: var(--slate); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px var(--slate); }
.option:has(input:focus-visible) { box-shadow: var(--focus); }

.desk-empty { padding: 20px 22px; border-left: 4px solid var(--navy); background: var(--ice-2); margin: 0; }
.desk-empty p { margin: 0; }

.desk-result { position: sticky; top: calc(var(--header-h) + 20px); }
.result {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, #0E2A5E 100%);
  color: var(--ice); border-radius: 14px; padding: 32px 30px 26px;
  box-shadow: 0 30px 60px -30px rgba(8, 26, 61, .7), inset 0 1px 0 rgba(127, 179, 216, .22);
}
.result::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(46, 127, 184, .28) 0%, rgba(46, 127, 184, 0) 70%);
}
.result > * { position: relative; }
.result-title {
  margin: 0 0 18px; font-family: var(--display); font-weight: 650; text-transform: uppercase;
  letter-spacing: .16em; font-size: 14px; color: var(--ice-blue-soft);
}
.result-summary { margin: 0 0 22px; }
.summary-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(127, 179, 216, .2);
}
.summary-row:first-child { border-top: 1px solid rgba(127, 179, 216, .2); }
.summary-row dt { color: var(--ice-blue-soft); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--display); font-weight: 600; }
.summary-row dd { margin: 0; text-align: right; font-family: var(--display); font-weight: 650; font-size: 18px; letter-spacing: .01em; }
.summary-row.is-empty dd { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--ice-3); opacity: .75; }
.result-status p { margin: 0 0 8px; }
.result-status .status-strong { font-family: var(--display); font-weight: 650; font-size: 21px; letter-spacing: .01em; color: #fff; }
.result-status .status-note { color: var(--ice-3); font-size: 15px; }
.result-action { display: grid; gap: 12px; margin: 20px 0 4px; }
.result-action:empty { margin: 0; }
.result-action .btn-outline { color: var(--ice); border-color: var(--ice); }
.result-action .btn-outline:hover { background: var(--ice); color: var(--navy); }
.result-host { margin: 0; font-size: 13px; color: var(--ice-3); text-align: center; }
.result-alt { margin: 0; text-align: center; font-size: 15px; color: var(--ice-3); }
.composer { display: grid; gap: 8px; padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(127, 179, 216, .2); }
.composer-label { font-size: 13px; letter-spacing: .04em; color: var(--ice-3); }
.composer-opt { color: var(--ice-blue-soft); }
.composer-date {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 6px;
  font: inherit; font-size: 16px; color: var(--ice); color-scheme: dark;
  background: rgba(234, 242, 248, .06); border: 1.5px solid rgba(127, 179, 216, .35);
  transition: border-color .2s ease, background-color .2s ease;
}
.composer-date:hover { border-color: var(--ice-blue-soft); }
.composer-date:focus-visible { border-color: var(--ice-blue-soft); }
.result-note { margin: 20px 0 0; font-size: 13px; line-height: 1.5; color: var(--ice-3); opacity: .9; }
.result a:not(.btn) { color: var(--ice); }
.result-reset {
  margin-top: 12px; padding: 6px 0; background: none; border: 0; cursor: pointer;
  color: var(--ice-blue-soft); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.result-reset:hover { color: var(--ice); }
.result[data-state="unsupported"], .result[data-state="pending"] { background: linear-gradient(160deg, var(--navy-mid), var(--navy)); }
@media (prefers-reduced-motion: no-preference) {
  .result-action > *, .result-status > * { animation: settle .45s var(--ease) both; }
  .result-action > :nth-child(2) { animation-delay: .06s; }
  @keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------- photo band */
.band { position: relative; height: clamp(320px, 58vw, 760px); overflow: hidden; background: var(--navy); }
.band-media { position: absolute; inset: -9% 0; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 26, 61, 0) 55%, rgba(12, 35, 80, .92) 100%);
}

/* ----------------------------------------------------------- machines */
.machines {
  padding: 72px 0 120px;
  background:
    radial-gradient(60% 50% at 0% 30%, rgba(46, 127, 184, .18) 0%, rgba(46, 127, 184, 0) 70%),
    var(--navy);
  color: var(--ice);
}
.machine-list { display: flex; flex-direction: column; gap: 88px; }
.machine {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center;
}
.machine.is-flipped .machine-photo { order: 2; }
.machine.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
/* Cutouts are 480px wide: frame them at native size on a lit ice stage, never upscaled. */
.machine-photo {
  display: grid; place-items: center; margin: 0; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden;
  padding: 7%;
  background:
    radial-gradient(70% 55% at 50% 42%, #FFFFFF 0%, var(--ice) 45%, var(--ice-2) 80%, var(--ice-3) 100%);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.machine-photo img {
  width: 100%; max-width: 480px; height: auto; max-height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(12, 35, 80, .28));
  transition: transform .8s var(--ease);
}
.machine:hover .machine-photo img { transform: translateY(-4px) scale(1.015); }
.machine-family {
  margin: 0 0 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .02em; line-height: 1;
}
.machine-summary { margin: 0 0 24px; color: var(--ice-3); max-width: 46ch; font-size: 18px; }
.variant-list { list-style: none; margin: 0; padding: 0; }
.variant { padding: 20px 0; border-top: 1px solid rgba(127, 179, 216, .24); }
.variant:last-child { border-bottom: 1px solid rgba(127, 179, 216, .24); }
.variant-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.variant-name { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: .02em; }
.variant-summary { margin: 8px 0 0; color: var(--ice-3); }
.fact-list { margin: 10px 0 0; padding: 0; list-style: none; color: var(--ice-3); font-size: 16px; }
.fact-list li { padding-left: 16px; position: relative; margin: 4px 0; }
.fact-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--ice-blue-soft); }
.fact-list-dark { color: var(--ink-soft); }
.fact-list-dark li::before { background: var(--ice-blue); }

.compare { margin-top: 80px; }
.compare-title, .included-title {
  margin: 0 0 16px; font-family: var(--display); font-weight: 650; text-transform: uppercase;
  letter-spacing: .08em; font-size: 20px;
}
.compare-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(127, 179, 216, .3); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(127, 179, 216, .2); vertical-align: top; }
.compare-table thead th { font-family: var(--display); font-weight: 600; letter-spacing: .03em; background: var(--navy-mid); }
.compare-table tbody th { font-weight: 400; color: var(--ice-blue-soft); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.included { margin-top: 56px; max-width: 760px; }
.included-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 32px; }
.included-list li { padding: 10px 0; border-top: 1px solid rgba(127, 179, 216, .28); }

/* -------------------------------------------------------------- where */
.where { padding: 120px 0; background: var(--ice-2); }
.area-list { list-style: none; margin: 0; padding: 0; counter-reset: area; }
.area {
  counter-increment: area;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px;
  padding: 36px 0; border-top: 1px solid rgba(12, 35, 80, .28);
  transition: background-color .3s ease;
}
.area:last-child { border-bottom: 1px solid rgba(12, 35, 80, .28); }
.area-name {
  display: flex; align-items: baseline; gap: 18px;
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3vw, 38px); letter-spacing: .02em; color: var(--navy); line-height: 1.02;
}
.area-name::before {
  content: counter(area, decimal-leading-zero);
  font-weight: 400; font-size: 14px; letter-spacing: .1em; color: var(--ice-blue); flex: none;
  font-variant-numeric: tabular-nums;
}
.area-region { margin: 6px 0 0; color: var(--slate); }
.area-body > p { margin: 0 0 14px; max-width: 58ch; color: var(--ink-soft); }
.area-lengths { color: var(--ink-soft); }
.area-lengths-label { font-weight: 700; color: var(--navy); }
.area-body .btn { margin-top: 4px; }

/* ------------------------------------------------------------ gallery */
.gallery { background: var(--ice-2); padding: 0 12px 12px; }
.gallery-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px;
  height: clamp(300px, 40vw, 640px);
}
.gallery-item { margin: 0; overflow: hidden; border-radius: 4px; background: var(--ice-3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-tall:first-child img { object-position: 50% 62%; }
.gallery-tall:last-child img { object-position: 50% 45%; }

/* ---------------------------------------------------------------- how */
.how { padding: 120px 0; background: var(--ice); }
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-steps li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--ice-3);
}
.how-steps li:last-child { border-bottom: 1px solid var(--ice-3); }
.how-num {
  grid-row: span 2; font-family: var(--display); font-weight: 300; font-size: 64px; line-height: .85; color: var(--ice-blue);
  font-variant-numeric: tabular-nums;
}
.how-steps h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: .01em; color: var(--navy); }
.how-steps p { margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* ---------------------------------------------------------------- faq */
.faq { padding: 0 0 120px; background: var(--ice); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq-list details { border-top: 1px solid var(--ice-3); }
.faq-list details:last-child { border-bottom: 1px solid var(--ice-3); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0; font-family: var(--display); font-weight: 650; font-size: 18px; letter-spacing: .01em; color: var(--navy);
  transition: color .2s ease;
}
.faq-list summary:hover { color: var(--ice-blue); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { margin: 0 0 24px; max-width: 60ch; color: var(--ink-soft); }

/* -------------------------------------------------------------- tours */
.tours {
  position: relative; overflow: hidden; color: var(--ice); padding: 72px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--ice-blue) 140%);
}
.tours-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.tours-title { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; }
.tours-lead { margin: 12px 0 0; max-width: 54ch; color: var(--ice-3); }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: var(--ice-3); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 20px; }
.footer-brand .brand-text { display: none; color: var(--ice); }
.footer-brand.no-logo .brand-text { display: block; margin-bottom: 14px; font-size: 16px; max-width: none; }
.footer-brand p { margin: 0; max-width: 36ch; }
.footer-head { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ice-blue-soft); }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--ice); }
.footer-phone { font-family: var(--display); font-weight: 650; font-size: 28px; letter-spacing: .03em; text-decoration: none; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(127, 179, 216, .16); font-size: 14px; }

/* --------------------------------------------------------------- dock */
.dock { display: none; }

/* ------------------------------------------------------------- reveal */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .how-steps li[data-reveal]:nth-child(2), .js .gallery-item[data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .how-steps li[data-reveal]:nth-child(3), .js .gallery-item[data-reveal]:nth-child(3) { transition-delay: .16s; }
}

/* --------------------------------------------------------- responsive */
@media (min-width: 1180px), (max-width: 1020px) and (min-width: 561px) {
  .brand .brand-text { display: block; }
}
@media (max-width: 1179px) and (min-width: 1021px), (max-width: 560px) {
  .brand .brand-text { display: none; }
}

@media (max-width: 1020px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .desk { grid-template-columns: minmax(0, 1fr); }
  .desk-result { position: static; }
  .how-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .machine { gap: 40px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand-logo { height: 42px; }
  .btn-header { display: none; }
  .header-phone { font-size: 15px; }
  /* Phone: the portrait photo owns the top of the screen and fades into navy
     under the text, so the rider is never buried behind the headline. */
  .hero { min-height: 0; }
  .hero-media { display: block; inset: 0 0 auto 0; height: 66svh; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0 0 -2px 0; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(8, 26, 61, .45) 0%, rgba(8, 26, 61, 0) 20%),
      linear-gradient(0deg, var(--navy) 0%, var(--navy) 6%, rgba(12, 35, 80, .62) 26%, rgba(12, 35, 80, 0) 50%);
  }
  .hero-img { object-position: 50% 44%; }
  .hero-scrim { display: none; }
  .hero-body { padding-top: 42svh; padding-bottom: 36px; }
  .hero-title { font-size: clamp(38px, 11.4vw, 60px); max-width: none; }
  .hero-kicker { margin-bottom: 14px; color: var(--ice); text-shadow: 0 1px 12px rgba(8, 26, 61, .6); }
  .hero-lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 6px; padding-bottom: 6px; }
  .ledger-item { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; margin: 0; border-right: 0; border-bottom: 1px solid rgba(127, 179, 216, .18); }
  .ledger-item:last-child { border-bottom: 0; }
  .ledger-value { text-align: right; font-size: 15px; }
  .chooser { padding: 72px 0 80px; }
  .machines { padding: 56px 0 80px; }
  .where, .how { padding: 80px 0; }
  .faq { padding: 0 0 80px; }
  .section-head { margin-bottom: 32px; }
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .option-grid { grid-template-columns: minmax(0, 1fr); }
  .result { padding: 26px 22px 22px; border-radius: 12px; }
  .band { height: 62vw; min-height: 240px; }
  .machine-list { gap: 64px; }
  .machine, .machine.is-flipped { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .machine.is-flipped .machine-photo { order: 0; }
  .area { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .gallery { padding: 0 8px 8px; }
  .gallery-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 8px; }
  .gallery-wide { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; }
  .gallery-tall { aspect-ratio: 3 / 4; }
  .how-steps li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
  .how-num { font-size: 46px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-logo { height: 60px; }

  /* Mobile dock: phone + the one amber invitation, only between sections. */
  .dock {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 26, 61, .9);
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
    border-top: 1px solid rgba(127, 179, 216, .25);
    transform: translateY(110%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .dock.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .dock-call { flex: 1; color: var(--ice); font-family: var(--display); font-weight: 600; letter-spacing: .03em; text-decoration: none; font-size: 15px; }
  .dock-cta { flex: none; min-height: 46px; padding: 8px 18px; font-size: 13px; }
  body { padding-bottom: 72px; }
}

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