/* site.css: Shirley Luxury brand layer.
   Charcoal and the two golds are sampled from the current shirlux.com. For contrast the page itself sits a step
   deeper than their charcoal (which is now the raised surfaces), and text is a bright warm cream: every text pair is 4.5:1 or better. */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 95.7%; ascent-override: 111.8%; descent-override: 39.2%; line-gap-override: 0%; }

:root {
  --charcoal: #191817; --ink: #111010; --ink-deep: #0a0909; --raise: #2b2a28; --edge: #807a6d;
  --cream: #fcf7ea; --text: #e9e2d1; --soft: #cdc6b5; --muted: #b4ad9d;
  --gold: #d8b052; --gold-light: #f2de8c; --alert: #f8b8a0;
  --line: rgba(242, 222, 140, 0.3); --line-soft: rgba(252, 247, 234, 0.15);
  --focus: #f2de8c; --radius: 14px; --pill: 999px; --header-h: 54px; --glance-over: 68px; --glance-drop: 72px; --header-gap: 12px; --note-h: 34px; --measure: 48ch;
  --bg: var(--charcoal);
  /* depth: surfaces are lit from above, shadows are neutral black (no colored glow) */
  --surface: linear-gradient(180deg, #2f2e2c 0%, #232221 100%);
  --gold-face: linear-gradient(180deg, #f7df92 0%, #dcb557 50%, #c49b41 100%);
  --gold-flat: #dcb862; --gold-flat-up: #e6c673;
  --glass: rgba(252, 247, 234, 0.1); --glass-edge: rgba(252, 247, 234, 0.4);
  --shadow-1: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3), 0 20px 36px -20px rgba(0, 0, 0, 0.7);
  --shadow-2: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.35), 0 36px 56px -24px rgba(0, 0, 0, 0.8);
  --well: inset 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  /* buttons: a soft lit face and a soft drop shadow (no hard lip) */
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 26px -12px rgba(0, 0, 0, 0.85);
  --btn-shadow-up: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5), 0 22px 34px -14px rgba(0, 0, 0, 0.9);
  --btn-shadow-down: inset 0 2px 4px rgba(0, 0, 0, 0.32), 0 1px 2px rgba(0, 0, 0, 0.5);
  --key-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px -14px rgba(0, 0, 0, 0.8);
  --key-shadow-up: inset 0 0 0 1px rgba(252, 247, 234, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 22px 34px -14px rgba(0, 0, 0, 0.9);
  --key-shadow-down: inset 0 0 0 1px var(--glass-edge), inset 0 2px 6px rgba(0, 0, 0, 0.5);
  --slab: inset 0 1px 0 rgba(242, 222, 140, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 6px 0 #151413, 0 8px 10px rgba(0, 0, 0, 0.35), 0 46px 60px -30px rgba(0, 0, 0, 0.9);
  --t-xs: 0.8125rem; --t-sm: 0.9375rem; --t-md: clamp(1.25rem, 1.12rem + 0.55vw, 1.625rem); --t-lg: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --t-xl: clamp(1.875rem, 1.2rem + 2.9vw, 3.75rem); --t-display: clamp(2.25rem, 1.1rem + 5.4vw, 6rem);
  --slow: cubic-bezier(0.7, 0, 0.2, 1);
}

html { background: var(--charcoal); color-scheme: dark; scroll-padding-top: calc(var(--header-h) + var(--header-gap) + 24px); }
body { font-family: "Jost", "Jost Fallback", "Century Gothic", Avenir, sans-serif; font-size: 1.0625rem; font-weight: 400; line-height: 1.6;
  color: var(--text); background: var(--charcoal); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; color: var(--cream); text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
/* two quick taps on a button or link (the menu button, the gallery arrows, a calendar day) act as two taps and never zoom the page in. Pinching to zoom still works
   everywhere, and so does double-tap zoom on text and photos. */
a, button, summary, label, input, select, textarea, [role="button"], .site-header, .mobile-nav, .menu-scrim, .cal { touch-action: manipulation; }
strong { font-weight: 500; color: var(--cream); }
picture { display: contents; }
::selection { background: var(--gold); color: var(--ink); }
main { display: block; }
main:focus-visible { outline-offset: -3px; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* type scale: light caps for short display heads, sentence case for statements */
.display { font-size: var(--t-display); font-weight: 500; line-height: 1.04; letter-spacing: 0.06em; text-transform: uppercase; }
.h-xl { font-size: var(--t-xl); letter-spacing: -0.012em; }
.h-lg { font-size: var(--t-lg); letter-spacing: -0.008em; }
.h-md { font-size: var(--t-md); line-height: 1.25; }
.lead { font-size: var(--t-md); line-height: 1.45; }
.caps, .nav a, .crumb, .rates th, .price-table th, .site-footer h2 {
  font-size: var(--t-xs); line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.prose > * + * { margin-top: 1em; }
main p a:not([class]), main li a:not([class]), main dd a:not([class]) { color: var(--cream); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }

/* bands */
.band { background: var(--bg); }
.band--ink { --bg: var(--ink); }
.band--deep { --bg: var(--ink-deep); }
.band--tight { padding-block: calc(var(--section) / 2); }
.band--join { padding-top: 0; }
.sec-head { display: grid; gap: 16px var(--gap); align-items: end; margin-bottom: 40px; }
.sec-head > :last-child:not(:first-child) { color: var(--text); }
@media (min-width: 744px) { .sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: 48px; } .sec-head .rail__nav { justify-content: flex-end; margin-left: auto; }
  .sec-head > :last-child:not(:first-child) { justify-self: end; text-align: right; max-width: 40ch; } }
@media (min-width: 1180px) { .sec-head { margin-bottom: 64px; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.frame { position: relative; border-radius: var(--radius); background: var(--raise); box-shadow: var(--shadow-1); }
.panel { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
@media (min-width: 744px) { .panel { padding: 32px; } }
@media (min-width: 1180px) { .panel { padding: 40px; } }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* preview note: this build is a concept, not the live site */
.preview-note { display: block; min-height: var(--note-h); padding: 8px var(--gutter); background: var(--ink-deep); color: var(--soft); font-size: var(--t-xs); line-height: 1.385; }
.preview-note__long { display: none; }
@media (min-width: 900px) { .preview-note__long { display: inline; } .preview-note__short { display: none; } }

/* header. Phones: one glass pill (logo, call, menu). Tablets and up: two short glass capsules, the logo on the left and the actions
   on the right, so the bar is not one long strip and the band still reaches both edges. A menu button on every screen opens the full list.
   The page-transition name always sits on the element that carries the blur (never its parent), so the blur can see the page behind it. */
.site-header { padding-top: var(--header-gap); view-transition-name: none; transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1); }
.site-header.is-hidden:not(:focus-within) { transform: none; } /* the kit's instant hide is replaced by .is-away, which motion.js sets only after a real scroll */
.site-header.is-away:not(:focus-within) { transform: translateY(calc(-100% - 8px)); transition: transform 560ms cubic-bezier(0.4, 0, 0.2, 1); }
/* phones: once the page scrolls, a frosted strip sits behind the bar so page text above and beside it is blurred, never legible */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: calc(var(--header-gap) + var(--header-h) + 16px); background: rgba(10, 9, 9, 0.62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(#000 64%, transparent); mask-image: linear-gradient(#000 64%, transparent);
  opacity: 0; transition: opacity 360ms var(--ease); pointer-events: none; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header .wrap { position: relative; justify-content: space-between; gap: 12px; padding-inline: 16px 4px; background: rgba(17, 16, 16, 0.68); border-radius: var(--pill);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); view-transition-name: site-header; }
.bar { display: flex; align-items: center; gap: 4px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding-block: 4px; text-decoration: none; }
.logo__mark { width: 28px; height: auto; }
.logo__word { width: 120px; height: auto; }
@media (min-width: 744px) {
  .site-header::before { display: none; }
  .site-header .wrap { padding: 0; background: none; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; view-transition-name: none; }
  .site-header .logo, .bar { min-height: var(--header-h); background: rgba(17, 16, 16, 0.68); border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
    -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
  .site-header .logo { padding: 4px 24px 4px 18px; view-transition-name: site-logo; }
  .bar { gap: 8px; padding: 4px; view-transition-name: site-bar; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header::before, .site-header .wrap, .site-header .logo, .bar { background-color: rgba(17, 16, 16, 0.96); } }
@media (min-width: 1440px) { .logo__mark { width: 34px; } .logo__word { width: 144px; } }

/* the three top links (desktop). Hover or keyboard focus puts a soft shaded pill behind the word. */
.nav { align-items: center; gap: 4px; margin-inline: 4px 8px; }
.nav a { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; color: var(--cream); font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 200ms var(--ease); }
.nav a::before { content: ""; position: absolute; z-index: -1; inset: 4px 0; border-radius: var(--pill); background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); opacity: 0; transform: scale(0.92);
  transition: opacity 200ms var(--ease), transform 320ms var(--ease-out); pointer-events: none; }
.nav a:focus-visible::before { opacity: 1; transform: none; }
.nav a[aria-current="page"] { color: var(--gold-light); }

/* call: the handset and number sit in one quiet outlined pill, the same height, type and padding as Reserve beside it (outline for Call, gold for Reserve).
   On phones the pill is a circle around the handset. */
.tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; min-height: 46px; color: var(--cream); border-radius: var(--pill);
  box-shadow: none; font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease); }
.tel__ico { display: grid; place-items: center; flex: none; color: var(--gold-light); transition: color 200ms var(--ease); }
.tel__ico .ico { width: 16px; height: 16px; }
.tel__num { display: none; font-variant-numeric: tabular-nums lining-nums; }
.ico.ico--solid { fill: currentColor; stroke: none; }
.site-header .btn--bar { display: none; background: transparent; color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(242, 222, 140, 0.6); }
.site-header .btn--bar:active { filter: none; background: rgba(242, 222, 140, 0.18); }
@media (min-width: 744px) { .tel { padding-inline: 12px 14px; } .tel__num { display: inline; } .site-header .btn--bar { display: inline-flex; } }
@media (min-width: 1024px) and (max-width: 1179px) { .tel { padding-inline: 0; } .tel__num { display: none; } }

/* menu button: plain words and three lines (no outline: it is a control, not a call to action). The lines fold into a cross. */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 46px; min-width: 46px; min-height: 46px; padding: 0; background: none; color: var(--cream); border: 0; border-radius: var(--pill);
  font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.02em; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn svg { width: 20px; height: 14px; overflow: visible; color: var(--cream); }
.menu-btn path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease); }
.menu-btn[aria-expanded="true"] path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] path:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 744px) { .menu-btn { width: auto; padding: 0 16px 0 12px; } .menu-btn__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (min-width: 1024px) { .menu-btn { display: inline-flex; } }

/* the menu: every page with an icon, then Reserve and Call. No rules between rows. The page behind it is blurred and dimmed. */
.mobile-nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); display: grid; gap: 4px; max-height: calc(100vh - var(--header-h) - var(--header-gap) - 28px); max-height: calc(100dvh - var(--header-h) - var(--header-gap) - 28px);
  padding: 8px; overflow-y: auto; overscroll-behavior: contain; background: rgba(17, 16, 16, 0.94); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  transform-origin: top right; transition: opacity 260ms var(--ease), transform 320ms var(--ease-out), visibility 0s; }
.mobile-nav[hidden] { display: grid; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms; }
.mobile-nav > a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 12px; border-radius: 16px; color: var(--cream); text-decoration: none; }
.mobile-nav > a::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: auto; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 240ms var(--ease-out), border-color 200ms var(--ease); }
.mobile-nav__ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; color: var(--gold-light); transition: color 200ms var(--ease), transform 240ms var(--ease-out); }
.mobile-nav__ico .ico { width: 24px; height: 24px; stroke-width: 1.7; }
.mobile-nav__text b { display: block; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.mobile-nav__text small { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.mobile-nav > a[aria-current="page"] { background: rgba(242, 222, 140, 0.1); }
.mobile-nav > a[aria-current="page"] b { color: var(--gold-light); }
.mobile-nav__cta { display: grid; gap: 8px; margin-top: 8px; }
.mobile-nav .btn { display: inline-flex; width: 100%; padding: 4px var(--pad); }
@media (min-width: 744px) { .mobile-nav { left: auto; width: min(400px, 100% - 2 * var(--gutter)); } }
@media (min-width: 1024px) { .mobile-nav { display: grid; } }
.menu-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(8, 7, 7, 0.56); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
.menu-open .menu-scrim { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease), visibility 0s; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .menu-scrim { background: rgba(8, 7, 7, 0.86); } }

/* buttons. Sentence case on a smooth pill: flat gold for the main action, a quiet outline for the rest. No bevel and no badge (Evan, Nov 11). */
.btn { position: relative; isolation: isolate; gap: 0; background: var(--gold-flat); color: var(--ink); border-radius: var(--pill); font-size: 1.0625rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap; box-shadow: none;
  --btn-h: 52px; --go: 38px; --pad: 24px; min-height: var(--btn-h); padding: 4px var(--pad); transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.btn:active { filter: brightness(0.94); }
/* the round arrow badge is retired everywhere (Evan, Nov 11): any left in hand-written pages stay hidden */
.btn__go { display: none !important; }
/* one rule for every size: the badge is about 73% of the button's height (38 in 52, 34 in 46, 32 in 44) and sits the same distance from the top, the bottom and the end,
   so the inner circle and the button's rounded end stay concentric and in the same proportion everywhere */
.btn__go { display: grid; place-items: center; flex: none; width: var(--go); height: var(--go); margin: 0 calc((var(--btn-h) - var(--go)) / 2 - var(--pad)) 0 12px; border-radius: 50%; background: var(--ink); color: var(--gold-light); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); transition: transform 300ms var(--ease-out); }
.btn__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 720ms var(--ease-out); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.3); }
.btn--ghost .btn__go { background: var(--gold-face); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost .ico { color: var(--gold-light); }
.btn--ghost:active { background: rgba(252, 247, 234, 0.06); }
.btn--sm { --btn-h: 44px; --go: 32px; --pad: 16px; font-size: 0.9375rem; }
.btn--sm .btn__go { margin-left: 8px; }
.btn--sm .btn__go svg { width: 16px; height: 16px; }
.btn--bar { --btn-h: 46px; --go: 34px; --pad: 20px; font-size: 0.9375rem; }
.btn--bar .btn__go svg { width: 16px; height: 16px; }
/* the one button that asks for attention: the hero's main action. A soft gold halo breathes behind it and a glint crosses the gold face every few seconds.
   Only opacity and transform move. Both stop with the hero's pause control, and neither runs with reduced motion (the halo then just sits still). */
.btn__sheen { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; clip-path: inset(0 round 999px); pointer-events: none; }
.btn__sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 44%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-140%) skewX(-16deg); }
.btn--shine::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; box-shadow: 0 0 18px 1px rgba(242, 222, 140, 0.6), 0 0 52px 8px rgba(216, 176, 82, 0.42); opacity: 0.55; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-live:not(.hero-still) .btn--shine::after { animation: shine-glow 4600ms var(--ease) 2400ms infinite; }
  .hero-live:not(.hero-still) .btn__sheen::before { animation: shine-sweep 4600ms var(--ease) 2400ms infinite; }
  .again.hero-live:not(.hero-still) .btn--shine::after, .again.hero-live:not(.hero-still) .btn__sheen::before { animation-delay: 1300ms; }
}
@keyframes shine-sweep { 0% { transform: translateX(-140%) skewX(-16deg); } 30%, 100% { transform: translateX(340%) skewX(-16deg); } }
@keyframes shine-glow { 0%, 60%, 100% { opacity: 0.55; } 24% { opacity: 1; } }
.btn[hidden], .field[hidden] { display: none; }
.skip.btn { position: absolute; }
.textlink { position: relative; display: inline-block; min-width: 44px; padding-block: 12px; color: var(--cream); text-decoration: none; transition: color 200ms var(--ease); }
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold-light); transform-origin: left; transition: transform 360ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-flat-up); }
  .site-header .btn--bar:hover { background: rgba(242, 222, 140, 0.12); box-shadow: inset 0 0 0 1px var(--gold-light); }
  .btn:hover .btn__go svg { transform: rotate(360deg); }
  .btn:hover .btn__go { transform: scale(1.06); }
  .btn--ghost:hover { background: rgba(252, 247, 234, 0.08); box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.55); }
  .nav a:hover::before { opacity: 1; transform: none; }
  .tel:hover { background: rgba(255, 255, 255, 0.12); }
  .menu-btn:hover { background: rgba(255, 255, 255, 0.16); }
  .mobile-nav > a:hover { background: rgba(252, 247, 234, 0.08); }
  .mobile-nav > a:hover .mobile-nav__ico { color: var(--cream); transform: scale(1.08); }
  .mobile-nav > a:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--gold-light); }
  .textlink:hover { color: var(--gold-light); }
  .textlink:hover::after { transform: scaleX(0); transform-origin: right; }
  .site-footer a:hover, .crumb a:hover { color: var(--gold-light); }
}

/* home hero */
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: calc(100vh - var(--note-h) - var(--glance-drop) - 20px); min-height: calc(100svh - var(--note-h) - var(--glance-drop) - 20px); overflow: clip; border-radius: 0 0 calc(var(--radius) * 2) calc(var(--radius) * 2);
  margin-top: calc(-1 * (var(--header-h) + var(--header-gap))); padding: 0; background: var(--ink-deep); }
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-media picture { display: block; position: absolute; inset: 0; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.16) contrast(1.04); }
.hero-video { opacity: 0; transition: opacity 900ms var(--ease); }
@media (max-aspect-ratio: 1/1) { .hero-poster, .hero-video { object-position: 28% 50%; } }
@media (max-aspect-ratio: 3/5) { .hero-poster { object-position: 50% 50%; } }
.hero.is-playing .hero-video { opacity: 1; }
/* the picture stays bright at the sides; a soft dark pool sits only behind the words so they are easy to read */
.hero-scrim { z-index: -1; background: radial-gradient(ellipse 60% 52% at 50% 54%, rgba(10, 9, 9, 0.5) 0%, rgba(10, 9, 9, 0.24) 55%, rgba(10, 9, 9, 0) 100%),
  linear-gradient(180deg, rgba(10, 9, 9, 0.66) 0%, rgba(10, 9, 9, 0.08) 26%, rgba(10, 9, 9, 0.1) 68%, rgba(10, 9, 9, 0.92) 100%); }
.hero-inner { --up: 0px; align-self: center; padding-block: calc(var(--header-h) + 44px - var(--up)) calc(var(--glance-over) + 56px + var(--up)); text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), 0 4px 32px rgba(0, 0, 0, 0.7); }
.hero-inner .btn { text-shadow: none; }
@media (min-width: 1024px) { .hero-inner { --up: clamp(8px, 1.6vh, 18px); } }   /* computers: the logo, headline and buttons sit a touch higher */
.hero-logo { display: grid; justify-items: center; gap: 8px; margin-bottom: 24px; }
@media (min-width: 1180px) and (min-height: 860px) { .hero-logo { margin-bottom: 32px; } }
.hero-logo img { height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.hero-logo__mark { width: var(--logo-mark); }
.hero-logo__word { width: var(--logo-word); }
.hero .display { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 8.5rem); font-weight: 600; line-height: 1.03; letter-spacing: 0.07em; color: #fffbf0; }
.hero .display .intro-line > span { padding-left: 0.07em; } /* evens out the tracking so the lines sit truly centered */
.hero-sub { max-width: 34ch; margin: 24px auto 0; font-size: var(--t-md); font-weight: 500; line-height: 1.45; color: #fffbf0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-social { display: flex; gap: 4px; }
.hero-social .btn--icon { --btn-h: 48px; width: 48px; min-width: 48px; height: 48px; min-height: 48px; border-radius: 50%; background: rgba(10, 9, 9, 0.3); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* icons: one outline family (Feather), drawn in the text color */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico { margin-right: 8px; }
.btn--icon { --pad: 0px; width: 52px; min-width: 52px; height: 52px; padding: 0; color: var(--gold-light); }
.btn--icon .ico { width: 21px; height: 21px; margin: 0; }
.btn--icon img { width: 28px; height: 28px; }
/* email sits beside the two logos as a light tile with a plain envelope, the same size as they are, so the three read as one set */
.mail-badge { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fffdf6; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10, 9, 9, 0.08); }
.mail-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* highway clips: a row of small tiles under the hero strip. They play on their own, silent and looping, while the row is on screen; pressing a tile turns
   its sound on (one at a time), and one button under the heading pauses them all. With reduced motion or data saver nothing plays by itself: a tile then
   plays once, with sound, when pressed. With four clips the heading sits above the row; with two it takes the half beside them, so the band is always full. */
.band--clips { padding-block: clamp(40px, 5vw, 72px) 0; }
.clips-wrap { display: grid; gap: 16px; }
.clips__title { font-size: var(--t-lg); font-weight: 400; letter-spacing: 0.01em; color: var(--cream); }
.clips__hint { max-width: 46ch; margin-top: 4px; font-size: var(--t-sm); color: var(--muted); }
/* Evan asked for this one "super small": the pill you see is 22px tall, the button around it keeps a 44px tap area */
.clips__pause { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin: -4px 0 -11px; padding: 0 9px; background: none; border: 0; color: var(--text); font: inherit; font-size: 0.6875rem; letter-spacing: 0.02em; cursor: pointer; }
.clips__pause::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 22px; margin-top: -11px; border: 1px solid var(--line-soft); border-radius: 999px; }
.clips__pause[hidden] { display: none; }
.clips__pause svg { width: 7px; height: 7px; fill: currentColor; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.clip { min-width: 0; }
.clip__btn { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: var(--radius); color: var(--cream); font: inherit; text-align: left; cursor: pointer; }
.clip__btn:focus-visible { outline-offset: 4px; }
.clip__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--raise); box-shadow: var(--shadow-1); }
.clip__media img, .clip__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__media video { opacity: 0; transition: opacity 240ms var(--ease); }
.clip.is-playing .clip__media video { opacity: 1; }
/* how far through the clip is: a thin line along the bottom of the picture while it plays */
.clip__media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--gold-light); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; }
.clip.is-playing .clip__media::before { opacity: 1; }
.clip__go { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-face); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4); transition: filter 200ms var(--ease); }
.clip__go svg { width: 13px; height: 13px; fill: currentColor; }
.clip__go svg.ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clip__name { display: block; margin-top: 8px; font-size: var(--t-sm); font-weight: 500; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) { .clip__btn:hover .clip__go { filter: brightness(1.12); } }
.clip__btn:active .clip__go { filter: brightness(0.94); }
@media (min-width: 744px) {
  .clips-wrap { gap: 20px 16px; }
  .clips { gap: 16px; }
  .clips-wrap--4 .clips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clips-wrap--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .clip__go { right: 10px; bottom: 10px; }
}
/* walk-around: the closing photo on Home steps through real photos of the car, one view at a time, while it is on screen. Each view fades in over the
   last and drifts a little, as if you were moving on round it; a small label names the view. It has its own pause button, and it never runs with reduced
   motion, on data saver or without scripts (then it is the one side photo it always was). A walk-around clip, if there is one, plays in the same frame. */
.walk__base, .walk__s { display: block; height: 100%; }
.walk__base { transition: transform 4400ms linear; }
.walk__s { position: absolute; inset: 0; opacity: 0; transition: opacity 0s linear 800ms, transform 4400ms linear; }   /* a view the next one has covered goes once that one is fully in */
.walk__s img { width: 100%; height: 100%; object-fit: cover; }
.walk__s.is-on { opacity: 1; transition: opacity 800ms var(--ease), transform 4400ms linear; }
.walk__s.is-out { transition: opacity 800ms var(--ease), transform 4400ms linear; }   /* the last view fades away to show the first again */
.walk__s.is-on, [data-at="0"] > .walk__base { transform: scale(1.05); }
.walk__at { position: absolute; left: 12px; bottom: 16px; z-index: 1; padding: 6px 12px; background: rgba(19, 18, 17, 0.6); border: 1px solid var(--line-soft); border-radius: 999px; color: var(--cream);
  font-size: var(--t-sm); line-height: 1.2; opacity: 0; transition: opacity 300ms var(--ease); }
.is-walkround .walk__at { opacity: 1; }
.statement__media.statement__media--clip { aspect-ratio: 16 / 9; }   /* the film is 16:9; the photo under it is cut to the same shape, so the two line up */
/* said on the film itself: it is generated, not footage */
.walk__note { position: absolute; left: 12px; bottom: 14px; z-index: 1; margin: 0; padding: 5px 11px; background: rgba(19, 18, 17, 0.62); border: 1px solid var(--line-soft); border-radius: 999px; color: var(--cream); font-size: 0.75rem; line-height: 1.2; opacity: 0; transition: opacity 400ms var(--ease); }
.is-walking .walk__note { opacity: 1; }
.walk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease); }
.is-walking .walk { opacity: 1; }
.walk-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--cream); cursor: pointer; }
.walk-toggle::before { content: ""; position: absolute; inset: 8px; z-index: -1; background: rgba(19, 18, 17, 0.6); border: 1px solid var(--line-soft); border-radius: 50%; }
.walk-toggle[hidden] { display: none; }
.walk-toggle svg { width: 9px; height: 9px; fill: currentColor; }
.walk-sound { position: absolute; right: 50px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--cream); cursor: pointer; }
.walk-sound::before { content: ""; position: absolute; inset: 8px; z-index: -1; background: rgba(19, 18, 17, 0.6); border: 1px solid var(--line-soft); border-radius: 50%; }
.walk-sound[hidden] { display: none; }
.walk-sound svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .walk, .walk-toggle, .walk-sound, .walk__s, .walk__at, .walk__note { display: none; } }

/* the basics: one raised panel that straddles the bottom edge of the hero */
.glance-wrap { position: relative; z-index: 2; margin-top: calc(-1 * var(--glance-over)); }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-2), inset 0 1px 0 rgba(229, 210, 133, 0.26); }
.glance li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px 12px 16px 16px; }
.glance .ico { width: 24px; height: 24px; margin: 0; color: var(--gold-light); stroke-width: 1.5; }
.glance p { min-width: 0; }
.glance b { display: block; font-size: 1.125rem; font-weight: 500; line-height: 1.2; color: var(--cream); white-space: nowrap; }
.glance span { display: block; margin-top: 2px; color: var(--soft); font-size: 0.8125rem; line-height: 1.35; }
@media (max-width: 743px) { .glance li:nth-child(odd) { border-right: 1px solid var(--line-soft); } .glance li:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); } }
@media (min-width: 744px) { .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); } .glance li { gap: 16px; padding: 24px; } .glance li + li { border-left: 1px solid var(--line-soft); }
  .glance b { font-size: 1.25rem; } .glance span { font-size: 0.875rem; } }
@media (min-width: 744px) and (max-width: 1179px) { .glance li { gap: 12px; padding: 20px 12px 20px 16px; } }
@media (min-width: 1180px) { .glance b { font-size: 1.375rem; } .glance span { font-size: var(--t-sm); } .glance .ico { width: 26px; height: 26px; } }
/* pause control: small and quiet to look at, 44px to tap. An auto-playing video needs a way to stop it (WCAG 2.2.2) */
.video-toggle { position: absolute; right: calc(var(--gutter) - 4px); bottom: calc(var(--glance-over) + 8px); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--cream); opacity: 0.6; cursor: pointer; transition: opacity 200ms var(--ease); }
.video-toggle::before { content: ""; position: absolute; inset: 10px; z-index: -1; background: rgba(19, 18, 17, 0.6); border: 1px solid var(--line-soft); border-radius: 50%; box-shadow: var(--shadow-1); }
.video-toggle[hidden] { display: none; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }
.video-toggle svg { width: 8px; height: 8px; fill: currentColor; }
/* sound: shown only when the hero video has a sound track. Pressing it turns the sound on and starts the clip again from the top; pressing again mutes it. */
.video-sound { position: absolute; right: calc(var(--gutter) + 44px); bottom: calc(var(--glance-over) + 8px); z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; background: rgba(10, 9, 9, 0.6); color: var(--cream);
  border: 0; border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.3); font-size: var(--t-sm); font-weight: 500; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.video-sound[hidden] { display: none; }
.video-sound .ico { width: 18px; height: 18px; color: var(--gold-light); }
.video-sound[aria-pressed="true"] { background: var(--gold-face); color: var(--ink); box-shadow: none; }
.video-sound[aria-pressed="true"] .ico { color: var(--ink); }

/* horizontal rails (fleet, reviews) */
.rail { overflow: clip; }
.rail__nav { display: flex; align-items: center; gap: 8px; justify-self: end; }
.rail__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; background: var(--surface); color: var(--cream); border: 0; border-radius: 50%; box-shadow: var(--shadow-1); cursor: pointer;
  transition: color 200ms var(--ease), opacity 200ms var(--ease), transform 120ms var(--ease), box-shadow 200ms var(--ease); }
.rail__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.rail__btn:disabled { opacity: 0.35; cursor: default; }
.rail__btn:active:not(:disabled) { transform: scale(0.95); }
.rail__track { display: flex; gap: var(--gap); padding: 12px var(--gutter) 56px; margin-block: -12px -24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 min(82vw, 420px); scroll-snap-align: start; }
.rail__track > li { display: flex; }
.rail__track > li > * { flex: 1; min-width: 0; }
.sec-head .rail__nav { justify-self: start; }
.rail__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail__track.is-dragging a { pointer-events: none; }
@media (min-width: 744px) { .rail__track > * { flex-basis: calc((100vw - 2 * var(--gutter) - 2 * var(--gap)) / 2.25); } }
@media (min-width: 1180px) { .rail__track > * { flex-basis: calc((100vw - 2 * var(--gutter) - 3 * var(--gap)) / 3.25); } }
@media (min-width: 1920px) { .rail__track > * { flex-basis: calc((100vw - 2 * var(--gutter) - 4 * var(--gap)) / 4.25); } }
@media (min-width: 2328px) { .rail__track { padding-inline: calc((100vw - 2200px) / 2); scroll-padding-inline: calc((100vw - 2200px) / 2); } .rail__track > * { flex-basis: 500px; } }
.rail__meter { height: 1px; margin-top: 32px; background: var(--line-soft); }
.rail__meter i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--p, 0.12)); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .rail__btn:hover:not(:disabled) { color: var(--gold-light); box-shadow: var(--shadow-2); } .rail__track { cursor: grab; } }

/* car cards */
.car-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(242, 222, 140, 0.24), var(--shadow-1); }
.car-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 0; box-shadow: none; }
.car-card__media img { transition: transform 1200ms var(--ease-out); }
.car-card__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 20px 20px 24px; container-type: inline-size; }
.car-card__title a { display: block; text-decoration: none; }
.car-card__make { display: block; color: var(--text); font-size: var(--t-sm); font-weight: 400; }
.car-card__model { display: block; margin-top: 4px; font-size: calc(var(--t-md) * 1.15); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 240ms var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px 4px 8px; background: rgba(10, 9, 9, 0.42); border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.16); color: var(--cream); font-size: var(--t-sm); font-weight: 500; line-height: 1.3; letter-spacing: 0.01em; }
.car-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.price__n { font-size: calc(var(--t-md) * 1.2); font-weight: 500; line-height: 1; color: var(--cream); }
.price__u { color: var(--muted); font-size: var(--t-sm); }
.car-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* rental length: six quiet segments on one track; the chosen one is a soft light fill. The price under it changes with it. */
.term { display: none; }
.js .term { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); flex: 1 1 100%; padding: 2px; background: rgba(10, 9, 9, 0.32); border-radius: var(--pill); }
.term button { min-width: 0; min-height: 44px; padding: 0 4px; background: none; color: var(--text); border: 0; border-radius: var(--pill); font: inherit; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.term button[aria-pressed="true"] { background: rgba(252, 247, 234, 0.14); color: var(--cream); }
.term button:focus-visible { outline-width: 2px; outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .term button:hover:not([aria-pressed="true"]) { color: var(--cream); background: rgba(252, 247, 234, 0.06); } }
@media (max-width: 743px) { .term button { font-size: 0.75rem; padding: 0 2px; } }
/* the whole card body opens the car: the name's link stretches over it (a real link, so keyboard, screen readers and cmd-click all work);
   the length picker, the day/night switch and the two buttons sit above it and keep their own jobs */
.car-card__body { position: relative; }
.car-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.car-card__body .term, .car-card__body .night-btn, .car-card__body .car-card__actions { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .car-card__body:hover .car-card__model { color: var(--gold-light); } }
/* narrow cards: the price gets its own line and the two buttons share the next one */
@container (max-width: 499px) { .car-card__actions { flex: 1 1 100%; } .car-card__actions .btn { flex: 1 1 auto; justify-content: center; } }
/* phones: tighter card text, chips and buttons; the photo stays full size */
@media (max-width: 743px) {
  .car-card__body { gap: 12px; padding: 16px 16px 20px; }
  .car-card__make { font-size: 0.8125rem; }
  .car-card__model { margin-top: 2px; font-size: 1.25rem; }
  .car-card .chips { gap: 8px; }
  .car-card .chips li { padding: 4px 12px 4px 8px; font-size: 0.8125rem; }
  .car-card__foot { gap: 12px; padding-top: 12px; }
  .car-card .price__n { font-size: 1.25rem; }
  .car-card .price__u { font-size: 0.8125rem; }
  .car-card .btn--sm { --pad: 12px; }
  .car-card__title a { padding-block: 4px; }
}
@media (hover: hover) and (pointer: fine) { .car-card:hover .car-card__media img { transform: scale(1.045); } .car-card__title a:hover .car-card__model { color: var(--gold-light); } }

/* statement: text beside a large photo */
.statement { display: grid; gap: calc(var(--gap) * 2); align-items: center; }
.statement__media { aspect-ratio: 3 / 2; overflow: hidden; }
.statement__copy > * + * { margin-top: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 743px) { .btn-row .btn, .cta__actions .btn { flex: 1 1 240px; } }
@media (min-width: 744px) { .statement { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .statement--flip .statement__media { order: -1; } }

/* makes band: oversized names that drift as you scroll */
.makes { overflow: clip; padding-block: calc(var(--section) / 2); border-block: 1px solid var(--line); }
.makes__row { display: flex; justify-content: center; gap: 0.6em; margin: 0; font-size: calc(var(--t-display) * 1.3); font-weight: 400; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; color: var(--cream); }
.makes__row span:nth-child(odd) { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 18px 32px rgba(0, 0, 0, 0.5); }
.makes__row span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--gold); }

/* what sets them apart: photo collage beside statements */
.apart { display: grid; gap: calc(var(--gap) * 2); }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); align-content: start; }
.collage > :nth-child(1) { grid-column: 1 / 5; aspect-ratio: 4 / 3; }
.collage > :nth-child(2) { grid-column: 5 / 7; aspect-ratio: 2 / 3; }
.collage > :nth-child(3) { grid-column: 2 / 7; aspect-ratio: 16 / 9; }
.collage .frame { overflow: hidden; }
@media (min-width: 744px) { .collage > :nth-child(3) { z-index: 1; margin-top: -40px; } }
.points { display: grid; gap: 0; }
.points > li { padding-block: 24px; border-top: 1px solid var(--line-soft); }
.points h3 { margin-bottom: 8px; }
@media (min-width: 744px) { .apart { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } }
@media (min-width: 1180px) { .apart { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .points { grid-template-columns: 1fr; } }

/* review excerpts */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 100%; padding: 32px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.quote blockquote p { font-size: var(--t-md); font-weight: 400; line-height: 1.35; color: var(--cream); }
.quote { justify-content: flex-start; gap: 16px; }
.stars { display: block; flex: none; width: 104px; height: 20px; fill: var(--gold-light); }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 16px; color: var(--soft); font-size: var(--t-sm); }
.quote__car { flex: none; width: 78px; height: 52px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(252, 247, 234, 0.2), 0 8px 14px -8px rgba(0, 0, 0, 0.7); }
.quote figcaption b { display: block; font-weight: 400; color: var(--cream); }
.quote-grid { columns: 1; column-gap: var(--gap); }
.quote-grid .quote { break-inside: avoid; margin-bottom: var(--gap); min-height: 0; }
@media (min-width: 744px) { .quote-grid { columns: 2; } }
@media (min-width: 1180px) { .quote-grid { columns: 3; } }
@media (min-width: 1920px) { .quote-grid { columns: 4; } }

/* steps: a real sequence, so it is numbered */
.steps { position: relative; display: grid; gap: 0; }
.steps > li { position: relative; z-index: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; align-items: start; padding-block: 20px; }
.steps__n { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-1); font-size: var(--t-lg); font-weight: 400; line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.steps h3 { margin-bottom: 8px; }
@media (min-width: 1180px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
  .steps > li { display: block; padding: 0; }
  .steps__n { margin-bottom: 32px; }
  .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 1px; background: var(--line); transform-origin: left; }
}

/* price tiers */
.tiers { display: grid; gap: 16px; }
.tiers > li { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.tiers b { display: block; font-size: var(--t-xl); font-weight: 400; line-height: 1; color: var(--cream); }
.tiers span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--t-sm); }
.tiers p { margin-top: 16px; }
@media (min-width: 744px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } .tiers > li { padding: 32px 24px; } }

/* closing call to action: heading left, actions right */
.cta { display: grid; gap: 32px; align-items: end; padding: 32px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--slab); }
@media (min-width: 744px) { .cta { padding: 48px; } }
@media (min-width: 1180px) { .cta { padding: 64px; } }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 744px) { .cta { grid-template-columns: minmax(0, 1fr) auto; } .cta__actions { flex-direction: column; align-items: stretch; } }
@media (min-width: 1180px) { .cta__actions { flex-direction: row; align-items: center; } }

/* footer */
.site-footer { background: var(--ink-deep); color: var(--soft); padding-block: var(--section) 24px; font-size: var(--t-sm); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer h2 { margin-bottom: 8px; color: var(--muted); font-weight: 400; }
.footer-grid { display: grid; gap: 40px var(--gap); }
.site-footer .logo { display: inline-flex; margin-bottom: 16px; }
.footer-brand .logo__mark { width: 44px; } .footer-brand .logo__word { width: 180px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.footer-links li, .footer-follow li { border-top: 1px solid var(--line-soft); }
.footer-links a, .footer-follow a { display: block; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.footer-base a { margin-left: 24px; } .footer-base a:first-child { margin-left: 0; }
@media (min-width: 744px) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
/* no bottom bar on phones (the kit leaves room for one): Call lives in the top bar, Reserve in the menu and on every car */
@media (max-width: 743px) { body { padding-bottom: 0; } html { scroll-padding-bottom: 0; } }

/* inner pages */
.page-intro { padding-top: calc(var(--section) * 0.75); }
.page-intro h1 { max-width: 18ch; }
.page-intro .intro-grid { display: grid; gap: 24px var(--gap); align-items: end; }
.page-intro .lead { max-width: var(--measure); color: var(--text); }
@media (min-width: 744px) { .page-intro .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .page-intro .intro-grid .lead { justify-self: end; } }
.crumb { margin-bottom: 16px; color: var(--muted); }
.crumb a { display: inline-block; padding-block: 14px; text-decoration: none; }
.crumb a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-1px) rotate(45deg); }

/* fleet page */
.tabs { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.js .tabs { display: flex; }
.tabs button { min-height: 44px; padding: 0 20px; background: var(--glass); color: var(--cream); border: 0; border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.22); font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.01em; cursor: pointer;
  transition: color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.tabs button[aria-pressed="true"] { color: var(--ink); background: var(--cream); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 12px 20px -10px rgba(0, 0, 0, 0.7); }
.tabs .tabs__sort { margin-left: auto; }
.fleet-grid { display: grid; gap: 48px var(--gap); }
.fleet-grid > [hidden] { display: none; }
.fleet-more { margin-top: 40px; }
@media (min-width: 1180px) { .fleet-more { margin-top: 56px; } }
@media (min-width: 744px) { .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fleet-grid > .is-lone { grid-column: 1 / -1; } .fleet-grid > .is-lone .car-card__media { aspect-ratio: 21 / 9; } }
@media (min-width: 1180px) { .fleet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--gap); } .fleet-grid > .is-lone { grid-column: auto; } .fleet-grid > .is-lone .car-card__media { aspect-ratio: 3 / 2; } }
/* Home: the same cards a size down (Evan, Nov 11): a wider, shorter photo with no thumbnail strip (the arrows and swiping still go through every photo),
   tighter text, and the rows closer together */
.fleet-grid--home .car-card__media, .fleet-grid--home > .is-lone .car-card__media { aspect-ratio: 16 / 10; }
.fleet-grid--home .car-card__body { gap: 12px; padding: 16px 18px 18px; }
.fleet-grid--home .car-card__make { font-size: 0.8125rem; }
.fleet-grid--home .car-card__model { margin-top: 2px; font-size: var(--t-md); }
.fleet-grid--home .car-card__title a { min-height: 48px; }
.fleet-grid--home .chips { gap: 6px; }
.fleet-grid--home .chips li { padding: 3px 10px 3px 7px; font-size: 0.8125rem; }
.fleet-grid--home .car-card__foot { gap: 10px 12px; padding-top: 12px; }
.fleet-grid--home .price__n { font-size: 1.375rem; }
@media (min-width: 744px) { .fleet-grid--home > .is-lone .car-card__media { aspect-ratio: 21 / 9; } }
@media (min-width: 1180px) { .fleet-grid--home { gap: 40px var(--gap); } .fleet-grid--home > .is-lone .car-card__media { aspect-ratio: 16 / 10; } }
.note { max-width: 38rem; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }

/* vehicle page */
.car-hero__grid { display: grid; gap: 32px var(--gap); align-items: center; }
.car-hero__copy { container-type: inline-size; }
.page-intro.car-hero h1 { max-width: none; font-size: clamp(2.25rem, 12cqi, 4.75rem); line-height: 1.02; }
.car-hero__make { display: block; margin-bottom: 12px; color: var(--soft); font-size: 1.0625rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.car-hero__model { display: block; letter-spacing: 0.05em; text-transform: uppercase; }
.car-hero__copy .lead { margin-top: 20px; max-width: 34ch; }
.car-hero__price { margin-top: 24px; color: var(--soft); }
.car-hero__price .price__n { font-size: var(--t-xl); margin-right: 8px; }
.car-hero__copy .btn-row { margin-top: 24px; }
.car-hero__media { aspect-ratio: 3 / 2; overflow: hidden; }
@media (min-width: 1180px) { .car-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.rates { width: 100%; border-collapse: collapse; }
.rates caption { padding-bottom: 16px; text-align: left; color: var(--muted); }
.rates th, .rates td { padding: 16px 8px 16px 0; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: baseline; }
.rates thead th { border-top: 0; padding-top: 0; color: var(--muted); font-weight: 400; }
.rates tbody th { color: var(--text); font-weight: 400; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; }
@media (min-width: 360px) { .rates tbody th { white-space: nowrap; } }
.rates td:nth-child(2) { font-size: var(--t-lg); font-weight: 400; color: var(--cream); }
.rates td:last-child { color: var(--muted); text-align: right; padding-right: 0; }
.facts { display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line-soft); }
.facts dt { color: var(--muted); }
.facts dd { color: var(--cream); }
.two { display: grid; gap: 48px var(--gap); align-items: start; }
@media (min-width: 744px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .two { gap: 64px 96px; } .two--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery img { transition: transform 1200ms var(--ease-out); }
@media (min-width: 744px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery--8 a:last-child { grid-column: span 2; aspect-ratio: 3 / 1; } .gallery--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 743px) { .gallery a:last-child { grid-column: 1 / -1; } }
@media (hover: hover) and (pointer: fine) { .gallery a:hover img, .next-car:hover img { transform: scale(1.04); } }
.next-car { position: relative; display: grid; align-items: end; min-height: clamp(280px, 42vw, 620px); overflow: hidden; color: var(--cream); text-decoration: none; isolation: isolate; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.next-car img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.next-car::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(19, 18, 17, 0.58); }
.next-car__text { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; padding: 32px 24px; }
.reserve-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; background: var(--ink-deep); border-top: 1px solid var(--line); box-shadow: 0 -16px 32px -16px rgba(0, 0, 0, 0.7); transform: translateY(100%); visibility: hidden;
  transition: transform 360ms var(--ease-out), visibility 0s linear 360ms; }
.reserve-bar.is-on { transform: none; visibility: visible; transition: transform 360ms var(--ease-out), visibility 0s; }
.reserve-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.reserve-bar p { color: var(--soft); } .reserve-bar b { margin-right: 12px; font-weight: 400; color: var(--cream); }
@media (min-width: 744px) { .reserve-bar { display: block; } body.has-reserve-bar { padding-bottom: 72px; } :root:has(.reserve-bar.is-on) { scroll-padding-bottom: 104px; } }

/* car page: the main photo is a gallery (arrows, swipe, every photo as a small one beneath); four large photos sit right below */
.car-gallery { min-width: 0; }
.car-hero__media .car-card__track a { cursor: zoom-in; }
.js .car-hero__media .night-btn { position: absolute; top: 16px; right: 16px; z-index: 3; }
.car-hero__media .night-btn__track { background: rgba(10, 9, 9, 0.7); }
.car-hero__zoom { display: none; }
.js .car-hero__zoom { position: absolute; left: 8px; bottom: 8px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgba(10, 9, 9, 0.7); color: var(--cream); border: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(252, 247, 234, 0.3); cursor: pointer; transition: background-color 200ms var(--ease); }
.car-hero__zoom .ico { width: 18px; height: 18px; margin: 0; }
.js .car-card__thumbs.car-hero__thumbs { position: relative; display: flex; gap: 8px; padding: 12px 0 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.car-hero__thumbs::-webkit-scrollbar { display: none; }
.car-hero__thumbs button { flex: 1 0 64px; max-width: 120px; min-height: 48px; }
.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 32px; }
.four a { display: block; aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.four img { transition: transform 1200ms var(--ease-out); }
@media (min-width: 1180px) { .four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; } }
@media (hover: hover) and (pointer: fine) { .four a:hover img { transform: scale(1.04); } .car-hero__zoom:hover { background: rgba(10, 9, 9, 0.9); } }
/* rates: six prices in one compact block, the six additions beside it */
.band--rates { padding-block: calc(var(--section) * 0.6); }
.band--rates .two { gap: var(--gap); }
.panel--tight { display: grid; gap: 16px; align-content: start; padding: 24px; }
@media (min-width: 1180px) { .panel--tight { padding: 28px 32px; } }
.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rate-grid > div { padding: 8px 12px; background: rgba(10, 9, 9, 0.38); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.rate-grid dt { color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.rate-grid dd { color: var(--cream); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.rate-grid > div:first-child { box-shadow: inset 0 0 0 1px var(--line); }
.rate-grid > div:first-child dd { color: var(--gold-light); }
.facts--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.facts.facts--pairs > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; font-size: var(--t-sm); }
.facts--pairs dd { text-align: right; }
@media (max-width: 743px) { .facts--pairs { grid-template-columns: minmax(0, 1fr); } .rate-grid dd { font-size: 1.0625rem; } .rate-grid > div { padding: 8px; } }

/* pricing page */
.panel--table { padding-block: 16px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { padding-bottom: 16px; text-align: left; color: var(--muted); }
/* compact rows: a small photo of the car beside its name, the six rates on one line */
.price-table th, .price-table td { padding: 8px 12px 8px 0; border-top: 1px solid var(--line-soft); text-align: right; white-space: nowrap; vertical-align: middle; }
.price-table thead th { border-top: 0; padding-block: 0 12px; color: var(--muted); font-weight: 400; }
.price-table tbody th { text-align: left; white-space: normal; font-size: 1.0625rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.price-table tbody th a { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; color: var(--cream); text-decoration: none; }
.price-table tbody th a span { text-decoration: underline; text-decoration-color: rgba(252, 247, 234, 0.35); text-underline-offset: 4px; }
.price-table__car { flex: none; width: 72px; height: 48px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(252, 247, 234, 0.16); }
.price-table td { color: var(--text); }
.price-table td:nth-child(2) { color: var(--cream); }
.price-table th:first-child { text-align: left; }
.price-table td:last-child, .price-table th:last-child { padding-right: 0; }
@media (hover: hover) and (pointer: fine) { .price-table tbody th a:hover span { text-decoration-color: var(--gold-light); } }
/* below 1024px each car is one short block: photo and name, then the six rates three to a line, each label over its price */
@media (max-width: 1023px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px var(--gap); padding-block: 12px 16px; border-top: 1px solid var(--line); }
  .price-table tbody tr:first-child { border-top: 0; padding-top: 4px; }
  .price-table tbody th { grid-column: 1 / -1; padding: 0 0 4px; border: 0; font-size: var(--t-md); }
  .price-table td { display: grid; gap: 2px; padding: 0; border: 0; text-align: left; white-space: nowrap; }
  .price-table td::before { content: attr(data-th); color: var(--muted); font-size: var(--t-sm); }
}
@media (min-width: 744px) and (max-width: 1023px) { .price-table tr { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.fees { display: grid; gap: 16px var(--gap); }
.fees > li { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.fees b { display: block; font-size: var(--t-lg); font-weight: 400; line-height: 1.1; color: var(--cream); }
.fees h3 { margin-bottom: 8px; color: var(--soft); font-size: var(--t-sm); font-weight: 400; }
.fees p { margin-top: 8px; color: var(--text); }
@media (min-width: 744px) { .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .fees { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FAQ */
.faq-group { display: grid; gap: 16px var(--gap); padding-block: 32px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .faq-group { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq.panel { padding-block: 8px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; color: var(--cream); font-size: var(--t-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: inherit; font-weight: 400; line-height: 1.35; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light); transform: translateY(-3px) rotate(45deg); transition: transform 300ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details > p { padding: 0 48px 24px 0; max-width: var(--measure); }

/* about, contact */
.need { padding: 20px; border: 1px dashed var(--gold); border-radius: var(--radius); color: var(--cream); }
.need-inline { display: inline-block; padding: 0 8px; border: 1px dashed var(--gold); border-radius: 8px; color: var(--cream); }
.contact-list > li { display: grid; gap: 4px; padding-block: 20px; border-top: 1px solid var(--line-soft); }
.contact-list a { display: inline-block; min-width: 44px; padding-block: 11px; color: var(--cream); }
.contact-list .big { font-size: var(--t-lg); font-weight: 400; text-decoration: none; }
.map { position: relative; display: grid; place-items: center; min-height: 320px; padding: 24px; overflow: hidden; background: var(--ink-deep); border-radius: var(--radius); box-shadow: var(--well); text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* forms */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > * { min-width: 0; }
.field label, .field legend, .fieldset legend { color: var(--cream); padding: 0; }
.field .hint { color: var(--muted); font-size: var(--t-sm); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--ink); color: var(--cream); border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: var(--well);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.field textarea { min-height: 140px; resize: vertical; }
.field input, .field select, .field textarea { max-width: 100%; min-width: 0; }
/* iOS Safari gives date inputs a minimum width that pushes them out of the panel, and shows nothing when empty */
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; text-align: left; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5d285' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: calc(100% - 16px) 50%; background-size: 18px 18px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.field select { appearance: none; padding-right: 44px; background-repeat: no-repeat; background-position: calc(100% - 16px) 50%; background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23e5d285' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-light); background-color: var(--ink-deep); }
.field [aria-invalid="true"] { border-color: var(--alert); }
.field .error { color: var(--alert); }
.field .error:empty { display: none; }
.fieldset { border: 0; padding: 0; min-width: 0; display: grid; gap: 24px; }
.fieldset > legend { margin-bottom: 20px; font-size: var(--t-md); font-weight: 400; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.choice input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); }
.choice:has(input:checked) { border-color: var(--gold-light); background: var(--ink); }
.choice span b { display: block; font-weight: 400; color: var(--cream); }
.choice span { color: var(--soft); }
.hp { position: absolute; left: -9999px; }
.fieldset-inner { display: grid; gap: 12px; min-width: 0; padding: 0; border: 0; }
.fieldset-inner legend { margin-bottom: 12px; padding: 0; color: var(--cream); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { color: var(--soft); max-width: 46ch; }
.form-status { color: var(--alert); }
.form-status:empty { display: none; }
.field-row { display: grid; gap: 24px var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: start; }
.stepper { display: none; }
.js .stepper { display: grid; gap: 12px; margin-bottom: 8px; color: var(--soft); }
.stepper__bar { height: 2px; background: var(--line-soft); }
.stepper__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--p, 0.333)); transform-origin: left; transition: transform 500ms var(--ease-out); }
.js .steps-form .fieldset:not(.is-current) { display: none; }
.step-nav { display: none; }
.js .step-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.js .steps-form:not(.on-last) .form-foot { display: none; }
.summary { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.summary__media { aspect-ratio: 3 / 2; margin-bottom: 20px; overflow: hidden; box-shadow: none; }
.summary__rates > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line-soft); }
.summary__rates dd { color: var(--cream); }
.summary__body > * + * { margin-top: 12px; }
.summary .muted { color: var(--soft); }
@media (min-width: 744px) { .book-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 40px); } }

/* booking calendar: shows the dates picked (pickup, return and the days between). It never shows availability. */
.cal { display: grid; gap: 16px; padding: 16px; background: var(--ink); border-radius: var(--radius); box-shadow: var(--well), inset 0 0 0 1px var(--line-soft); }
.cal[hidden] { display: none; }
.js .cal[hidden] { display: grid; visibility: hidden; }   /* with scripts on, its space is held from the first paint so nothing below it jumps */
.cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__bar p { color: var(--cream); font-weight: 500; }
.cal__nav { flex: none; width: 44px; height: 44px; }
.cal__months { display: grid; gap: 24px 32px; min-height: 336px; align-content: start; }
.cal__months.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal__grid caption { padding-bottom: 8px; color: var(--cream); font-size: 1.0625rem; font-weight: 500; text-align: left; }
.cal__grid th { padding-bottom: 4px; color: var(--muted); font-size: var(--t-xs); font-weight: 500; text-align: center; }
.cal__grid td { padding: 1px 0; }
.cal__day { display: grid; place-items: center; width: 100%; min-height: 44px; padding: 0; background: none; color: var(--cream); border: 0; border-radius: 12px; font-variant-numeric: tabular-nums lining-nums; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.cal__day:disabled { color: #6c675d; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--edge); }
.cal__day.is-between, .cal__day.is-preview { background: rgba(242, 222, 140, 0.18); border-radius: 0; }
.cal__day.is-start, .cal__day.is-end { background: var(--gold-face); color: var(--ink); font-weight: 600; box-shadow: none; }
.cal__day.is-start.has-end { border-radius: 12px 0 0 12px; }
.cal__day.is-end { border-radius: 0 12px 12px 0; }
.cal__day.is-start.is-end { border-radius: 12px; }
.cal__grid td:first-child .is-between, .cal__grid td:first-child .is-preview { border-radius: 12px 0 0 12px; }
.cal__grid td:last-child .is-between, .cal__grid td:last-child .is-preview { border-radius: 0 12px 12px 0; }
.cal__status { min-height: 1.6em; color: var(--cream); font-weight: 500; }
.cal .hint { color: var(--muted); font-size: var(--t-sm); }
@media (hover: hover) and (pointer: fine) { .cal__day:not(:disabled):not(.is-start):not(.is-end):hover { background: rgba(252, 247, 234, 0.14); } }
/* phones: the calendar runs the full width of the form so every day is a full-size tap target */
@media (max-width: 743px) { .cal { margin-inline: -12px; padding: 12px 0 4px; background: none; box-shadow: none; } .cal > :not(.cal__months) { padding-inline: 12px; } }

/* reading pages */
.doc h2 { margin: 40px 0 12px; font-size: var(--t-lg); }
.doc h2:first-child { margin-top: 0; }
.doc article > p + p, .doc article > ul { margin-top: 12px; }
.doc article ul { padding-left: 20px; }
.doc > nav a { color: var(--soft); text-decoration: none; border-top: 1px solid var(--line-soft); }
.doc aside { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); align-self: start; }
.doc aside > * + * { margin-top: 12px; }
.doc aside p a:not(.btn) { display: inline-block; padding-block: 12px; }
@media (min-width: 744px) and (max-width: 1279px) { .doc > nav { grid-row: auto; } .doc > aside { grid-column: 1 / -1; } }

/* photo viewer: the photo fills the whole window (as wide or as tall as the window allows, never cut off) on black, and the controls sit on top of it:
   close and full screen top right, arrows at the sides (bottom right on phones), the caption bottom left. "Full screen" hides the browser as well. */
.lightbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; background: #060606; color: var(--cream); border: 0; overflow: hidden; }
.lightbox::backdrop { background: #060606; }
.lightbox__view { position: absolute; inset: 0; background: #060606; }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.lightbox__stage picture { display: contents; }
.lightbox__stage img { display: block; width: auto; height: auto; max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.lightbox__view:fullscreen .lightbox__stage img { max-height: 100vh; }
.lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgba(8, 8, 8, 0.58); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.lightbox__close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.lightbox__full { top: max(12px, env(safe-area-inset-top)); right: calc(max(12px, env(safe-area-inset-right)) + 52px); }
.lightbox__nav { bottom: max(14px, env(safe-area-inset-bottom)); }
.lightbox__nav--prev { right: calc(max(12px, env(safe-area-inset-right)) + 52px); }
.lightbox__nav--next { right: max(12px, env(safe-area-inset-right)); }
.lightbox__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; padding: 56px 124px max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); color: #fff; font-size: var(--t-sm); line-height: 1.4;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72)); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(8, 8, 8, 0.82); color: var(--gold-light); border-color: rgba(255, 255, 255, 0.3); } }
@media (min-width: 744px) {
  .lightbox__btn { width: 48px; height: 48px; }
  .lightbox__close { top: 20px; right: 24px; }
  .lightbox__full { top: 20px; right: 84px; }
  .lightbox__nav { top: 50%; bottom: auto; margin-top: -24px; }
  .lightbox__nav--prev { left: 24px; right: auto; }
  .lightbox__nav--next { right: 24px; }
  .lightbox__cap { padding: 72px 32px 24px; }
}

/* small screens */
@media (max-width: 743px) { .sec-head { margin-bottom: 32px; }
  .hero-inner { padding-block: calc(var(--header-h) + 32px - var(--up)) calc(var(--glance-over) + 48px + var(--up)); }
  .hero .display { font-size: clamp(2rem, 10.2vw, 4.75rem); } .hero .hl { display: block; }
  .hero-logo { gap: 8px; margin-bottom: 20px; } .hero-sub { margin-top: 16px; } .hero-cta { margin-top: 24px; } }

/* opening: on the first page of a visit the logo comes out of the dark as a piece of solid gold. It starts small, turned away and unlit, snaps up to its
   real size in a quarter of a second and swings round to face the screen with its thickness showing. While it is gold, reflections run across it, its edges
   catch the light, a glint crosses it and two sparkles flash. Then the gold fades into the real logo, which glides up to its place above the headline on the
   home page (the dark clears and the headline rises under it); on every other page it lifts away as the page comes in. About 2.6 seconds.
   How it is built: the real logo sits at the bottom of a small stack. Behind it are seven dimmed copies about a pixel apart (the thickness). On top of it are
   the logo's own shape filled with a moving band of gold tones, the same shape nudged up-left in pale gold and down-right in dark bronze (the beveled edge),
   and a band of light. Everything above the real logo fades out before it lands, so the logo that flies is exactly the one in the hero and the two trade
   places without a jump. Nothing starts at zero opacity: the stack is unlit (the color of the screen), then lit. Once per visit, never with reduced motion or
   without scripts. A few lines of script at the top of the page hold it until its two small files are in (0.6 s at most, then the logo is skipped and the
   page just opens). It cannot be clicked. Evan asked for this look and this pace over three rounds. */
:root { --logo-mark: clamp(52px, 8.5vh, 96px); --logo-word: clamp(150px, 24vh, 264px); }
@media (min-width: 1024px) { :root { --logo-mark: clamp(55px, 8.9vh, 101px); --logo-word: clamp(158px, 25.2vh, 277px); } }   /* computers: the logo is 5% larger */
.splash { display: none; }
html.wait *, html.wait *::before, html.wait *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.again) .splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; animation: splash-gone 1ms linear 1720ms both; }
  .js:not(.again) .splash::before { content: ""; position: absolute; inset: 0; background: var(--ink-deep); animation: splash-bg 580ms cubic-bezier(0.4, 0, 0.2, 1) 1100ms both; }
  /* three boxes, one job each: the outer one travels (the lift, or the flight to the hero), the middle one grows from small to real size, the inner one turns.
     The growing and the turning are over at least 100 ms before the lift starts, which is when the script measures where to fly, so it measures a logo that is
     flat, still and its real size. */
  .splash__logo { position: relative; animation: splash-lift 600ms cubic-bezier(0.65, 0, 0.35, 1) 960ms both, splash-dim 400ms linear 1000ms both; }
  .splash__grow { perspective: 720px; animation: splash-grow 260ms cubic-bezier(0.2, 0.8, 0.2, 1) 60ms both; }
  .splash__turn { position: relative; display: grid; justify-items: center; gap: 8px; transform-style: preserve-3d; animation: splash-turn 790ms cubic-bezier(0.4, 0, 0.2, 1) 60ms both; }
  .splash__m, .splash__w { position: relative; display: block; line-height: 0; }
  .splash__turn img { height: auto; filter: brightness(1) invert(0) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(240, 200, 96, 0)); animation: splash-lit 800ms linear 60ms both; }
  .splash__mark { width: var(--logo-mark); }
  .splash__word { width: var(--logo-word); }
  .splash__d, .splash__edge, .splash__gold, .splash__glint { position: absolute; inset: 0; }
  /* the body of the gold: each copy sits a little further back and a little darker, so the edges read as shaded sides while the logo is turned */
  .splash__d { --lit: calc(0.64 - var(--z) * 0.04); transform: translateZ(calc(var(--z) * -0.0115 * var(--logo-mark))); background: url(../img/brand/emblem-224.webp) center top / var(--logo-mark) auto no-repeat, url(../img/brand/wordmark-528.webp) center bottom / var(--logo-word) auto no-repeat;
    filter: brightness(var(--lit)) invert(0) saturate(1.25); animation: splash-depth 800ms linear 60ms both; }
  /* solid gold over the real logo: its shape, filled with a wide band of gold tones that slides across it, so the reflections move */
  .splash__edge, .splash__gold, .splash__glint { -webkit-mask: url(../img/brand/emblem-224.webp) center top / var(--logo-mark) auto no-repeat, url(../img/brand/wordmark-528.webp) center bottom / var(--logo-word) auto no-repeat; mask: url(../img/brand/emblem-224.webp) center top / var(--logo-mark) auto no-repeat, url(../img/brand/wordmark-528.webp) center bottom / var(--logo-word) auto no-repeat; }
  .splash__edge, .splash__gold { filter: brightness(1) invert(0); animation: splash-golden 800ms linear 60ms both, splash-real 330ms cubic-bezier(0.4, 0, 0.2, 1) 880ms both; }
  .splash__gold { transform: translateZ(0.6px); overflow: hidden; }
  .splash__gold::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 260%; background: linear-gradient(112deg, #8a6217 0%, #c9972f 6%, #f3d374 11%, #fff8dc 14%, #f0c95e 17%, #b8862a 24%, #7d5714 31%, #b98a2b 38%, #e9c261 44%, #fff3c0 48%, #e2b64f 52%, #a87a23 60%, #7a5513 67%, #c2902d 74%, #f2d06e 80%, #fffadf 83%, #eec65a 86%, #b17f25 93%, #86601a 100%); transform: translateX(-61.5%); animation: splash-flow 1180ms cubic-bezier(0.3, 0, 0.3, 1) 60ms both; }
  /* the bevel: the same shape a pixel down-right in dark bronze and a pixel up-left in pale gold, under the gold face */
  .splash__edge--lo { background: #3d2906; transform: translate3d(0.9px, 1.1px, 0.2px); }
  .splash__edge--hi { background: #fff4c9; transform: translate3d(-0.8px, -0.9px, 0.4px); }
  /* the glint: a band of light that only shows where the logo is */
  .splash__glint { transform: translateZ(0.8px); overflow: hidden; }
  .splash__glint::before { content: ""; position: absolute; top: -8%; bottom: -8%; left: 0; width: 52%; background: linear-gradient(100deg, rgba(255, 252, 240, 0) 0%, rgba(255, 252, 240, 0.6) 14%, rgba(255, 252, 240, 0) 26%, rgba(255, 252, 240, 0) 36%, rgba(255, 252, 240, 1) 62%, rgba(255, 252, 240, 0) 100%);
    transform: translateX(-130%) skewX(-18deg); animation: splash-glint 640ms cubic-bezier(0.4, 0, 0.2, 1) 380ms both; }
  /* two sparkles: four-point stars that open and close once, where a corner of the shield and the end of the name would catch the light */
  .splash__star { position: absolute; left: var(--x); top: var(--y); width: calc(var(--logo-mark) * 0.42); aspect-ratio: 1; margin: calc(var(--logo-mark) * -0.21) 0 0 calc(var(--logo-mark) * -0.21);
    background: radial-gradient(closest-side, #fffdf2 0%, rgba(255, 246, 208, 0.95) 22%, rgba(255, 240, 190, 0) 100%); clip-path: polygon(50% 0, 54% 46%, 100% 50%, 54% 54%, 50% 100%, 46% 54%, 0 50%, 46% 46%);
    transform: translateZ(1px) scale(0); animation: splash-star 400ms cubic-bezier(0.3, 0, 0.3, 1) var(--t, 500ms) both; }
  /* home: the flying logo stays solid and lands on the hero's own logo, which waits hidden and skips its own entrance. The script shows the hero logo under it
     and fades the flown one away, so there is no jump when they trade places. */
  html.fly:not(.opened) .splash { visibility: visible !important; }
  html.js.opened .splash { display: none; }
  html.fly .hero-logo { animation: none; }
  html.fly:not(.landed) .hero-logo { visibility: hidden; }
  /* the page's own entrance waits for the logo: the picture eases back as the dark clears, the bar drops in and the headline rises */
  .js:not(.again) .hero .intro-media { animation-duration: 1600ms; animation-delay: 960ms; }
  .hero .intro-line { overflow: visible; }
  .hero .intro-line > span { animation: hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(40ms + var(--i, 0) * 110ms); }
  .hero .intro-fade { animation: hero-fade 900ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(220ms + var(--i, 0) * 100ms); }
  .js:not(.again) .hero .intro-line > span { animation-duration: 1000ms; animation-delay: calc(1340ms + var(--i, 0) * 110ms); }
  .js:not(.again) .hero .intro-fade { animation-duration: 900ms; animation-delay: calc(1440ms + var(--i, 0) * 100ms); }
  .js:not(.again) .hero .hero-logo { animation-delay: 1450ms; }
  .js:not(.again) .page-intro h1 { animation-duration: 600ms; animation-delay: 1180ms; }
  /* on inner pages the dark screen clearing is the entrance, so the words under it only lift into place: nothing there starts invisible, and the
     biggest block of text is painted with the very first frame */
  .js:not(.again) .page-intro .lead, .js:not(.again) .page-intro .intro-fade { animation-name: intro-lift; animation-duration: 560ms; animation-delay: 1250ms; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(0.34em); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes splash-grow { from { transform: scale(0.42); } }
@keyframes splash-turn { from { transform: rotateY(-62deg) rotateX(7deg); } }
/* unlit = the exact color of the screen (black, lifted 3.7% to #090909 against #0a0909), so nothing shows while the files are held or before the light comes up */
@keyframes splash-lit { 0% { filter: brightness(0) invert(0.037) drop-shadow(0 6px 14px rgba(0, 0, 0, 0)) drop-shadow(0 0 22px rgba(240, 200, 96, 0)); }
  24% { filter: brightness(0.86) invert(0) drop-shadow(0 6px 14px rgba(0, 0, 0, 0)) drop-shadow(0 0 22px rgba(240, 200, 96, 0.14)); }
  62% { filter: brightness(1.16) invert(0) drop-shadow(0 6px 14px rgba(0, 0, 0, 0)) drop-shadow(0 0 22px rgba(240, 200, 96, 0.62)); } }
@keyframes splash-depth { 0% { filter: brightness(0) invert(0.037) saturate(1.25); opacity: 1; } 24% { filter: brightness(var(--lit)) invert(0) saturate(1.25); } 64% { opacity: 1; } 100% { opacity: 0; } }
@keyframes splash-golden { 0% { filter: brightness(0) invert(0.037); } 24% { filter: brightness(0.9) invert(0); } 62% { filter: brightness(1.12) invert(0); } }
@keyframes splash-real { to { opacity: 0; } }
@keyframes splash-flow { to { transform: translateX(0); } }
@keyframes splash-glint { to { transform: translateX(240%) skewX(-18deg); } }
@keyframes splash-star { 0% { transform: translateZ(1px) scale(0) rotate(-25deg); } 45% { transform: translateZ(1px) scale(1) rotate(8deg); } 100% { transform: translateZ(1px) scale(0) rotate(40deg); } }
@keyframes splash-bg { to { opacity: 0; } }
@keyframes splash-lift { to { transform: translate3d(var(--fly-x, 0px), var(--fly-y, -12px), 0); } }
@keyframes splash-dim { to { opacity: var(--fly-o, 0); } }
@keyframes splash-gone { to { visibility: hidden; } }
@media print { .splash { display: none !important; } }

/* motion. Everything here is off with reduced motion; nothing below hides content unless JavaScript is running. */
.ln { display: block; }
@media (prefers-reduced-motion: no-preference) {
  /* opening sequence (home) and entrances (inner pages) */
  /* first page of a visit only: no replay on every page. The animation sits on the blurred element itself. */
  @media (max-width: 743px) { html.js:not(.again) .site-header .wrap { animation: bar-in 620ms var(--ease-out) 1320ms both; } }
  @media (min-width: 744px) { html.js:not(.again) .site-header .logo, html.js:not(.again) .bar { animation: bar-in 620ms var(--ease-out) 1320ms both; } html.js:not(.again) .bar { animation-delay: 1390ms; } }
  .page-intro .intro-fade { animation-duration: 520ms; }
  .car-hero__media img { animation: intro-settle 1100ms var(--ease-out) both; }

  /* scroll reveals are for photos only (curtain, settle). Text and cards are in place before you reach them. */
  .js [data-reveal="settle"] img { transition: transform 1500ms var(--ease-out); }
  .js [data-reveal="settle"]:not(.in) img { transform: scale(1.12); }
  .js [data-reveal="curtain"] { overflow: hidden; transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="curtain"]:not(.in) { transform: perspective(1400px) rotateX(8deg) translateY(32px); }
  .js [data-reveal="curtain"]::after { content: ""; position: absolute; inset: -1px; z-index: 1; background: var(--bg); transform: scaleX(0); transform-origin: right; transition: transform 1100ms var(--slow); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="curtain"]:not(.in)::after { transform: scaleX(1); }
  .js [data-reveal="curtain"] img { transition: transform 1600ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="curtain"]:not(.in) img { transform: scale(1.14); }
  .js [data-reveal="rule"] { transform-origin: left; transition: transform 1200ms var(--slow); }
  .js [data-reveal="rule"]:not(.in) { transform: scaleX(0); }
  .js .mobile-nav > * { transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), background-color 200ms var(--ease); transition-delay: calc(var(--n, 0) * 32ms), calc(var(--n, 0) * 32ms), 0s; }
  .js .mobile-nav[hidden] > * { opacity: 0; transform: translateY(8px); transition-delay: 0s; }

  /* scroll-linked moments: only where the browser can tie animation to scroll position */
  @supports (animation-timeline: view()) {
    .hero-media { animation: push-in linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .makes__row { animation: drift-left linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .makes__row:nth-child(even) { animation-name: drift-right; }
    @media (min-width: 744px) {
      .collage > :nth-child(2) { animation: rise-slow linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
      .collage > :nth-child(3) { animation: rise-fast linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    }
    .steps::after { animation: draw-x linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
    .statement__media img { animation: ease-back linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .next-car img { animation: ease-back linear both; animation-timeline: view(); animation-range: entry 0% cover 70%; }
  }

  /* page-to-page: the old page eases back, the new one lifts in; a clicked car photo grows into its page */
  ::view-transition-old(root) { animation: vt-out 300ms var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 560ms var(--ease-out) both; }
  ::view-transition-group(car-photo) { animation-duration: 640ms; animation-timing-function: var(--ease-out); }
  ::view-transition-old(car-photo), ::view-transition-new(car-photo) { height: 100%; object-fit: cover; }
  ::view-transition-group(*.fleet-card) { animation-duration: 480ms; animation-timing-function: var(--ease-out); }
  .lightbox[open] { animation: fade-in 280ms var(--ease) both; }
  .lightbox__stage img { transition: opacity 220ms var(--ease); }
  .lightbox__stage img.is-swapping { opacity: 0; }
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 420ms var(--ease-out), opacity 300ms var(--ease), content-visibility 420ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
  .js .steps-form .fieldset.is-current { animation: step-in 420ms var(--ease-out) both; }
  .summary.is-changing .summary__body { animation: fade-in 360ms var(--ease) both; }
}
@keyframes bar-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes push-in { to { transform: scale(1.12); } }
@keyframes drift-left { from { transform: translateX(9%); } to { transform: translateX(-9%); } }
@keyframes drift-right { from { transform: translateX(-9%); } to { transform: translateX(9%); } }
@keyframes rise-slow { from { transform: translateY(28px); } to { transform: translateY(-28px); } }
@keyframes rise-fast { from { transform: translateY(56px); } to { transform: translateY(-40px); } }
@keyframes ease-back { from { transform: scale(1.16); } }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* card tint: a clean wash of the car's own paint under the photo, deep at the top and fading into the dark card.
   Mixed with near-black (not grey) so the colour stays pure instead of muddy. */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .car-card { --tint-deep: color-mix(in srgb, var(--tint, #4a4947) 44%, #131211); --tint-low: color-mix(in srgb, var(--tint, #4a4947) 15%, #171615);
    background: linear-gradient(180deg, var(--tint-deep) 0%, var(--tint-deep) 50%, var(--tint-low) 84%, #191817 100%); }
}
.car-card__make, .car-card .price__u { color: var(--text); }
.car-card__track > li { overflow: hidden; }

/* fact chips with icons */
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips .ico { width: 15px; height: 15px; margin: 0; color: var(--gold-light); stroke-width: 1.9; }
.chips .ico--swatch { stroke: rgba(240, 233, 214, 0.55); stroke-width: 1.5; }

/* day and night: the moon button fades the card photo to a night version of the same shot, and back */
.car-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.car-card__head .car-card__title { min-width: 0; }
.night-btn { display: none; }
/* a switch, not a button: the gold knob sits on the sun by day and slides over to the moon for the night photo */
.js .night-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 44px; padding: 0; background: none; border: 0; border-radius: var(--pill); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.night-btn__track { position: relative; display: grid; grid-template-columns: 28px 28px; align-items: center; justify-items: center; height: 32px; padding: 2px; background: rgba(10, 9, 9, 0.38); border-radius: var(--pill); transition: background-color 240ms var(--ease); }
.night-btn__knob { position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-flat); transition: transform 320ms var(--ease-out); }
.night-btn .ico { position: relative; width: 15px; height: 15px; transition: color 240ms var(--ease); }
.night-btn:focus-visible { outline-width: 2px; }
.night-btn__sun { color: var(--ink); }
.night-btn__moon { color: rgba(252, 247, 234, 0.6); }
.night-btn[aria-checked="true"] .night-btn__knob, .night-btn.is-showing .night-btn__knob { transform: translateX(28px); }
.night-btn[aria-checked="true"] .night-btn__sun, .night-btn.is-showing .night-btn__sun { color: rgba(252, 247, 234, 0.6); }
.night-btn[aria-checked="true"] .night-btn__moon, .night-btn.is-showing .night-btn__moon { color: var(--ink); fill: currentColor; }
.night-btn.is-hinting .night-btn__track { box-shadow: inset 0 0 0 1.5px var(--gold-light); }
.night-btn.is-hinting .night-btn__track::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 2px var(--gold-light); opacity: 0; pointer-events: none; }
.car-card__media, .car-card__track a { position: relative; }
/* the card's film sits exactly over the card's photo and shows only while it plays; it ends on the frame it started from, then fades back to the photo */
.car-card__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms var(--ease), transform 1200ms var(--ease-out); pointer-events: none; }
.is-clip > .car-card__clip { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .car-card:hover .car-card__clip { transform: scale(1.045); } }
/* while the film plays, a small label says what it is */
.car-card__clipnote { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 0 8px; background: rgba(10, 9, 9, 0.7); border-radius: var(--pill); color: var(--cream); font-size: 0.75rem; font-weight: 500; line-height: 1.7; opacity: 0; transition: opacity 260ms var(--ease); pointer-events: none; }
.is-clip > .car-card__clipnote { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .car-card__clip, .car-card__clipnote { display: none; } }
.car-card__night { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1200ms var(--ease); pointer-events: none; }
.car-card__night img { width: 100%; height: 100%; object-fit: cover; }
.car-card__night.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .night-btn:hover .night-btn__track { background: rgba(252, 247, 234, 0.12); } }
@media (prefers-reduced-motion: no-preference) { .night-btn.is-hinting .night-btn__track::after { animation: night-pulse 1300ms var(--ease-out) 3; } }
@media (prefers-reduced-motion: reduce) { .night-btn__knob { transition: none; } }
@keyframes night-pulse { from { opacity: 0.95; transform: scale(0.96); } to { opacity: 0; transform: scale(1.14); } }

/* fleet cards: swipe, arrows or thumbnails to see more photos without opening the car */
.car-card__media[data-slider] { position: relative; }
.car-card__track { display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-card__track::-webkit-scrollbar { display: none; }
.car-card__track > li { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.car-card__track a, .car-card__track picture { display: block; height: 100%; }
.car-card__track img { width: 100%; height: 100%; object-fit: cover; }
.car-card__arrow, .car-card__thumbs { display: none; }
.js .car-card__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(19, 18, 17, 0.66); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(240, 233, 214, 0.3), 0 6px 14px -6px rgba(0, 0, 0, 0.7);
  cursor: pointer; transition: background-color 200ms var(--ease), transform 140ms var(--ease); }
.car-card__arrow--prev { left: 8px; }
.car-card__arrow--next { right: 8px; }
.car-card__arrow .ico { width: 20px; height: 20px; margin: 0; stroke-width: 2; }
.car-card__arrow:active { transform: scale(0.94); }
.js .car-card__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 20px 0; }
/* the last tile counts the photos still to see */
.car-card__thumbs .car-card__more { position: relative; opacity: 1; box-shadow: inset 0 0 0 1px rgba(242, 222, 140, 0.5); }
.car-card__more img { filter: brightness(0.34); }
.car-card__more span { position: absolute; inset: 0; display: grid; place-content: center; color: var(--cream); font-size: 0.8125rem; font-weight: 500; line-height: 1.1; text-align: center; }
.car-card__more b { display: block; color: var(--gold-light); font-size: var(--t-sm); font-weight: 600; }
.car-card__count { display: none; }
.js .car-card__count { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: block; padding: 0 8px; background: rgba(10, 9, 9, 0.7); border-radius: var(--pill); color: var(--cream); font-size: 0.8125rem; font-weight: 500; line-height: 1.7; font-variant-numeric: tabular-nums; pointer-events: none; }
.car-card__count b { font-weight: 600; color: var(--gold-light); }
.car-card__thumbs button { aspect-ratio: 4 / 3; min-height: 44px; padding: 0; overflow: hidden; background: var(--ink); border: 0; border-radius: 8px; opacity: 0.66; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(240, 233, 214, 0.1); transition: opacity 200ms var(--ease), box-shadow 200ms var(--ease); }
.car-card__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--gold-light); }
.car-card__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .car-card__arrow:hover { background-color: rgba(19, 18, 17, 0.82); } .car-card__thumbs button:hover { opacity: 0.85; } }

@media (max-width: 743px) {
  .js .car-card__thumbs { padding: 12px 16px 0; }
  .logo__mark { width: 26px; } .logo__word { width: 112px; }
}
@media (min-width: 744px) { :root { --glance-over: 46px; --glance-drop: 48px; } }
