/* vcr_shots — "Pit lane" (draft 3, 2026-11-15).
   Dark like a garage at night, photos edge to edge, one racing red for what you press, and the numbers set
   in mono like a timing screen. Wide Syncopate for the wordmark, prices and headings; Instrument Sans to read.
   Every colour and typeface lives here as a custom property; change them here, never inline. */
:root {
  --bg: #0B0B0B;            /* the page */
  --surface: #151515;       /* cards, dialogs, fields */
  --surface-2: #1D1D1D;
  --text: #EDEAE4;          /* warm white (16:1 on --bg) */
  --muted: #9C978F;         /* secondary text (7:1 on --bg) */
  --primary: #EDEAE4;       /* headings and outlines are the same warm white */
  --ink: #0B0B0B;           /* text on a light fill */
  --accent: #D7261E;        /* racing red: book buttons, the REC dot, the active marker */
  --on-accent: #FFFFFF;     /* text on --accent (5.1:1) */
  --accent-dark: #FF6B5E;   /* red for small text and thin lines on dark (7:1) */

  --line: rgba(237, 234, 228, 0.12);
  --line-2: rgba(237, 234, 228, 0.28);
  --wash: #141414;
  --film: rgba(0, 0, 0, 0.55);
  --night: rgba(6, 6, 6, 0.97);

  --f-display: "Syncopate", "Arial Black", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --bar: 64px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --gap: 4px;
  --r: 0px;
  --r-l: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; }
/* Film grain: kept from the first site on purpose, it's part of the brand. */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Small labels: mono, like a timing screen ---------- */
.lang button, .crumb, .offer-sub, .stats dt, .terms h2, .foot, .hero-proof, .reach, .wed-sub, .wed-sum-label, .field span, .byline, .hero-spec, .tile-meta, .clip-views, .photo-cap, .lb-count, .subnav a small, .sec-head h2 small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Top bar ---------- */
.side {
  position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 40;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding: 0 var(--gutter);
  background: rgba(11, 11, 11, 0.92);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; flex: none; }
.brand-name { font: 700 15px/1 var(--f-display); letter-spacing: 0.04em; color: var(--text); }
.brand-tag { margin-top: 6px; font: 400 10.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.topbar-book, .menu-btn { display: none; }
.menu { display: flex; align-items: center; flex: 1; gap: 8px; min-width: 0; }
.menu nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: clamp(12px, 1.6vw, 24px); }
.menu-list { display: flex; align-items: center; gap: clamp(2px, 0.8vw, 12px); }
.menu-list > li { position: relative; }
.menu-list > li:first-child { display: none; }   /* the wordmark is the way home on wide screens */
.menu-list a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px;
  font: 500 14.5px/1.2 var(--f-body); color: var(--muted); white-space: nowrap;
  transition: color 0.2s;
}
.menu-list a:hover, .menu-list a.is-active { color: var(--text); }
.menu-list > li > a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--accent); }
.menu-sub {
  position: absolute; top: 100%; left: 0; z-index: 2; min-width: 180px; padding: 6px 0;
  background: var(--surface); border: 1px solid var(--line);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
}
.menu-list > li:hover > .menu-sub, .menu-list > li:focus-within > .menu-sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-sub a { display: flex; padding: 10px 16px; }
.menu-sub a:hover { background: var(--surface-2); }
.soon { font: 400 10px/1 var(--f-mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 6px; border: 1px solid var(--line-2); color: var(--muted); }

/* The highlighted way to book: always in the bar, in red. */
.menu-book, .topbar-book {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  min-height: 42px; padding: 0 18px;
  background: var(--accent); color: var(--on-accent); white-space: nowrap;
  font: 700 11.5px/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.menu-book:hover, .topbar-book:hover { background: var(--text); color: var(--ink); }
.menu-book svg path { transition: transform 0.3s var(--ease); }
.menu-book:hover svg path { transform: translateX(3px); }
.menu-book.is-active, .topbar-book.is-active { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.topbar-book { display: none; }

.lang { display: flex; flex: none; margin-left: 8px; border: 1px solid var(--line-2); }
.lang button { padding: 6px 10px; font-size: 11px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.side-foot { display: none; }
.monogram {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line-2); color: var(--text); font: 700 18px/1 var(--f-display);
}
.social { display: grid; gap: 4px; }
.social a { font: 500 14px/1.4 var(--f-body); color: var(--text); }

/* ---------- Layout ---------- */
main { padding-top: var(--bar); min-height: 100vh; display: flex; flex-direction: column; }
main:focus { outline: none; }
.view { flex: 1; }
.view.is-entering { animation: view-in 0.45s var(--ease) both; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.content { width: 100%; max-width: 1440px; margin-inline: auto; padding: clamp(36px, 5vw, 80px) var(--gutter) clamp(64px, 8vw, 120px); }
.page-head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 56px); }
.page-head h1, .about-text h1 {
  font: 700 clamp(24px, 5.4vw, 68px)/1.05 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--text); text-wrap: balance; overflow-wrap: anywhere;
}
.page-head p:not(.crumb) { margin-top: 18px; color: var(--muted); max-width: 56ch; font-size: 18px; }
.crumb { margin-bottom: 18px; color: var(--accent-dark); }
.crumb a { display: inline-flex; align-items: center; gap: 8px; }
.crumb a::before { content: "←"; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.block { margin-top: clamp(64px, 9vw, 128px); }
.block-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 32px;
  margin-bottom: clamp(20px, 2.6vw, 32px); padding-top: 18px; border-top: 1px solid var(--line-2);
}
.block-head h2 { font: 700 clamp(20px, 2.8vw, 36px)/1.1 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
.block-head p { color: var(--muted); max-width: 52ch; }
.block-more { margin-top: 24px; }

/* ---------- Buttons: square, uppercase, wide ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border: 1px solid var(--text); color: var(--text);
  font: 700 12px/1.2 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--text); color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-light:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Home: the hero runs edge to edge ---------- */
.hero {
  position: relative; height: calc(100svh - var(--bar)); min-height: 520px; max-height: 1000px;
  overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; color: var(--text); background: #000;
}
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 22%, transparent 42%, var(--film) 68%, var(--night)); }
.rec {
  position: absolute; top: 22px; left: var(--gutter); display: inline-flex; align-items: center; gap: 8px;
  font: 400 12px/1 var(--f-mono); letter-spacing: 0.12em;
}
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.motion .rec i { animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.hero-spec { position: absolute; top: 22px; right: var(--gutter); text-align: right; color: var(--text); opacity: 0.85; }
.hero-in { width: 100%; padding: 0 var(--gutter) clamp(28px, 4.5vw, 64px); }
.hero-title { font-weight: inherit; }
.wordmark { display: block; font: 700 clamp(34px, 10.4vw, 168px)/0.9 var(--f-display); letter-spacing: -0.03em; margin-left: -0.04em; }
.hero-sub { display: block; margin-top: 18px; font: 400 clamp(13px, 1.3vw, 16px)/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.motion .wordmark, .motion .hero-sub, .motion .hero-lede, .motion .hero-act, .motion .hero-proof { animation: fade-up 0.9s var(--ease) both; }
.motion .hero-sub { animation-delay: 0.08s; }
.motion .hero-lede { animation-delay: 0.16s; }
.motion .hero-act { animation-delay: 0.24s; }
.motion .hero-proof { animation-delay: 0.32s; }
.hero-low { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; margin-top: clamp(20px, 3vw, 36px); padding-top: 20px; border-top: 1px solid rgba(237, 234, 228, 0.3); }
.hero-lede { max-width: 42ch; font-size: 17px; }
.hero-act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.hero-from { font: 400 13px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.hero-proof { margin-top: 10px; color: var(--muted); }

.lead { max-width: 30ch; font: 500 clamp(24px, 3vw, 40px)/1.2 var(--f-body); letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.home-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.home-top .stats { grid-template-columns: 1fr 1fr; gap: 0; }

/* Photo tiles: the title sits on the photo, the first one is twice the size. */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(190px, 20vw, 330px); gap: var(--gap); }
.tiles > .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tiles > .tile:last-child:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.tiles-3 > .tile:first-child { grid-column: auto; grid-row: auto; }
.tile { position: relative; overflow: hidden; background: var(--wash); }
.tile a { position: relative; display: block; height: 100%; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), filter 0.4s; }
.tiles-3 .tile img { aspect-ratio: 3 / 4; height: auto; }
.tile a::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.78)); pointer-events: none; }
.tile a:hover img { transform: scale(1.04); }
.tile a > span {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 16px 18px;
}
.tile-title { font: 700 clamp(13px, 1.25vw, 18px)/1.2 var(--f-display); letter-spacing: 0.01em; text-transform: uppercase; color: var(--text); }
.tiles > .tile:first-child .tile-title { font-size: clamp(18px, 2.2vw, 32px); }
.tile-meta { color: var(--text); opacity: 0.8; }
.tile a:hover .tile-title { color: var(--text); }
.tile-soon img { filter: grayscale(1) brightness(0.55); }
.tile-soon .tile-meta { padding: 4px 8px; border: 1px solid var(--line-2); opacity: 1; }

/* The offer band: one photo behind the price, the only full-width photo after the hero. */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 80px); align-items: end;
  margin: clamp(64px, 9vw, 128px) calc(-1 * var(--gutter)) 0; padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(32px, 5vw, 64px);
  color: var(--text); background: #000 url("images/foto/bmw-m2-oransje-front.jpg") center 40% / cover;
}
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.88) 85%); }
.band h2 { font: 400 13px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.band-price { margin-top: 10px; font: 700 clamp(44px, 8.4vw, 132px)/0.9 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.band-body p { max-width: 46ch; font-size: 18px; margin-bottom: 24px; }

.strip { position: relative; margin: clamp(64px, 9vw, 128px) calc(-1 * var(--gutter)) 0; overflow: hidden; background: #000; }
/* One whole photo per frame: nothing is cropped, and no gap, so a frame is exactly the track's width. */
.strip-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track figure { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 16 / 8; max-height: 84svh; overflow: hidden; }
.strip-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.strip-btn {
  position: absolute; bottom: 18px; width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(11, 11, 11, 0.7); color: var(--text); border: 1px solid var(--line-2); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.strip-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.strip-prev { right: calc(18px + 56px); }
.strip-next { right: 18px; }
.strip-btn svg { width: 22px; height: 22px; }

/* ---------- Images: fade in once decoded ---------- */
.fade { opacity: 0; }
.fade.is-loaded { opacity: 1; }
.is-broken { background: var(--wash); }

/* ---------- Work ---------- */
.reach { color: var(--accent-dark); margin-bottom: 20px; }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: var(--gap); margin-bottom: 8px; }
.clip a { display: block; }
.clip-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--wash); }
.clip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.6s var(--ease); }
.clip a:hover img { transform: scale(1.04); }
.clip-play { position: absolute; left: 14px; bottom: 14px; }
.clip-play span { display: grid; place-items: center; width: 46px; height: 46px; background: var(--accent); color: var(--on-accent); transition: transform 0.3s var(--ease); }
.clip-play svg path { fill: currentColor; stroke: none; }
.clip a:hover .clip-play span { transform: scale(1.08); }
.clip-text { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 12px 2px 0; }
.clip-car { font: 600 15px/1.3 var(--f-body); }
.clip-views { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.local-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); }
.local-grid:empty { display: none; }
.local-item video { width: 100%; }
.local-item figcaption { padding-top: 10px; color: var(--muted); font-size: 14px; }

.embed-card { min-height: 420px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.embed-card:has(.live-grid) { background: none; border: 0; min-height: 0; }
.embed-card blockquote { margin: 0 auto !important; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.live-grid a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--wash); color: var(--text); }
.live-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.live-grid a:hover img { transform: scale(1.04); }
.live-grid .play { position: absolute; right: 12px; bottom: 12px; }
.live-grid .play svg path { fill: currentColor; stroke: none; }
.live-updated { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Galleries ---------- */
.subnav {
  position: sticky; top: var(--bar); z-index: 10; display: flex; gap: 0; flex-wrap: wrap;
  margin: 0 calc(-1 * var(--gutter)) clamp(28px, 4vw, 44px); padding: 0 var(--gutter);
  background: rgba(11, 11, 11, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.subnav a {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 16px 18px 14px;
  font: 500 14.5px/1.2 var(--f-body); color: var(--muted); transition: color 0.2s;
}
.subnav a small { color: var(--muted); font-variant-numeric: tabular-nums; }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--text); }
.subnav a.is-active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--accent); }
.gallery-sec { scroll-margin-top: calc(var(--bar) + 64px); }
.gallery-sec + .gallery-sec { margin-top: clamp(64px, 9vw, 128px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 48px; align-items: end; margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.sec-head h2 { font: 700 clamp(20px, 2.8vw, 36px)/1.1 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
.sec-head h2 small { display: block; margin-top: 10px; color: var(--accent-dark); letter-spacing: 0.04em; }
.sec-head p { color: var(--muted); max-width: 58ch; }
.masonry { columns: 3; column-gap: var(--gap); }
.photo { position: relative; display: block; width: 100%; margin-bottom: var(--gap); break-inside: avoid; overflow: hidden; background: var(--wash); cursor: zoom-in; }
.photo img { width: 100%; height: auto; transition: transform 0.9s var(--ease), opacity 0.6s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo-cap {
  position: absolute; left: 0; bottom: 0; padding: 7px 10px; text-align: left;
  background: rgba(11, 11, 11, 0.82); color: var(--text);
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.photo:hover .photo-cap, .photo:focus-visible .photo-cap { opacity: 1; transform: none; }
@media (hover: none) { .photo-cap { opacity: 1; transform: none; } }
.end-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(48px, 7vw, 96px); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line-2);
}
.end-cta:not(:has(p)) { justify-content: center; border: 0; padding: 0; }
.end-cta p { font: 700 clamp(17px, 2.2vw, 28px)/1.2 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--night); color: var(--text);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: var(--film); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: clamp(12px, 3vw, 40px); }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; opacity: 0; transition: opacity 0.4s; }
.lb-stage img.is-loaded { opacity: 1; }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); color: var(--text); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lb-count { min-width: 72px; text-align: center; font-variant-numeric: tabular-nums; }
.lb-close { position: absolute; top: 16px; right: 16px; padding: 12px 16px; border: 1px solid var(--line-2); color: var(--text); font: 700 11px/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.lb-close:hover { background: var(--text); color: var(--ink); }

/* ---------- Prices ---------- */
.tabs { display: inline-flex; margin-bottom: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); }
.tabs button, .tabs a { padding: 12px 26px; font: 700 11.5px/1.2 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.2s, background 0.2s; }
.tabs button:hover, .tabs a:hover { color: var(--text); }
.tabs button[aria-selected="true"], .tabs a[aria-current="page"] { background: var(--text); color: var(--ink); }
.offer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid var(--line-2); }
.offer-photo { overflow: hidden; background: var(--wash); min-height: 320px; }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-main, .offer-menu { padding: clamp(24px, 2.8vw, 40px); background: var(--surface); }
.offer-menu { border-left: 1px solid var(--line-2); }
.offer-name { font: 400 13px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.offer-price { margin: 10px 0 24px; font: 700 clamp(40px, 4.6vw, 68px)/1 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.offer-price small { font: 400 13px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; color: var(--muted); }
.offer-sub { color: var(--accent-dark); margin-bottom: 10px; }
.offer-lede { color: var(--muted); margin-bottom: 18px; max-width: 46ch; }
.offer-list { margin-bottom: 28px; }
.offer-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); }
.offer-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 2px; background: var(--accent); }
.addon-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.addon-list li:last-child, .offer-list li:last-child { border-bottom: 0; }
.addon-list strong { flex: none; font: 400 14px/1.6 var(--f-mono); color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.addon-list small { display: block; font-size: 13px; color: var(--muted); }
.terms { margin-top: clamp(40px, 6vw, 72px); }
.terms h2 { margin-bottom: 16px; color: var(--accent-dark); }
.terms ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.terms li { padding: 18px 20px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; color: var(--text); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-text { order: -1; }
/* A standing photo, shown whole: it never grows taller than the screen. */
.about-photo { justify-self: end; }
.about-photo img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - var(--bar) - 96px); aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo figcaption { margin-top: 10px; font: 400 12px/1.5 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.about-text p { max-width: 58ch; margin-top: 16px; font-size: 17.5px; }
.about-text .byline { margin-top: 16px; font-size: 12px; color: var(--accent-dark); }
.about-text .byline + p { margin-top: 28px; }
.pull { margin-top: 40px; padding: 22px 0 0; border-top: 2px solid var(--accent); }
.about-text .pull p { margin: 0; font: 700 clamp(17px, 2vw, 26px)/1.3 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 20px 20px 18px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stats dd { font: 700 clamp(28px, 3.8vw, 52px)/1 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.stats dt { color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: how; border-left: 1px solid var(--line-2); }
.how li { counter-increment: how; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line-2); border-left: 0; }
.how li::before { content: "0" counter(how); display: block; margin-bottom: 26px; font: 400 13px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--accent-dark); }
.how h3 { font: 700 18px/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.how p { color: var(--muted); }

/* ---------- Coming soon ---------- */
.view-soon { display: grid; place-items: center; min-height: 76vh; padding: 64px var(--gutter); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.view-soon::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18; background: url("images/foto/bmw-m4-soelv-murvegg.jpg") center / cover; filter: grayscale(1); }
.soon-in h1 { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); font: 400 12px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.soon-big { margin: 22px 0; font: 700 clamp(32px, 8vw, 120px)/0.95 var(--f-display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--text); }
.soon-text { max-width: 50ch; margin: 0 auto 32px; font-size: 18px; color: var(--muted); }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .step-title { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 16px; font: 700 15px/1.2 var(--f-display); text-transform: uppercase; color: var(--text); }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--on-accent); font: 700 14px/1 var(--f-mono); }
.choices { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.choice { position: relative; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line-2); border-top: 0; background: var(--surface); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.choice:hover { background: var(--surface-2); }
.choice input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.choice input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.2s var(--ease); }
.choice input:checked { border-color: var(--accent); }
.choice input:checked::after { transform: scale(1); }
.choice:has(input:checked) { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.choice-name { font: 600 15.5px/1.3 var(--f-body); }
.choice-name small { display: block; margin-top: 3px; font: 400 14px/1.4 var(--f-body); color: var(--muted); }
.choice-price { font: 400 15px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.chosen { margin-top: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.chosen ul { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.chosen li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.chosen li strong { font-weight: 600; color: var(--text); white-space: nowrap; }
.chosen-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font: 400 13px/1.3 var(--f-mono); text-transform: uppercase; }
.chosen-total strong { font: 700 22px/1 var(--f-display); color: var(--text); }
.chosen p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.chosen .btn { min-height: 42px; padding: 8px 18px; }
.terms-compact { margin-top: 28px; }
.terms-compact ul { grid-template-columns: 1fr; }
.step-note { color: var(--muted); margin: -6px 0 16px; }
.booking-box { overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
/* Google's calendar is light; it sits on a light card so it doesn't look pasted in. */
.booking-box:has(iframe) { background: #fff; }
.booking-box iframe { display: block; width: 100%; height: 720px; border: 0; background: #fff; }
.fallback { padding: clamp(24px, 3vw, 40px); }
.fallback h3 { font: 700 17px/1.2 var(--f-display); text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.fallback p { color: var(--muted); margin-bottom: 22px; max-width: 52ch; }
.alt-contact { margin-top: 24px; }
.alt-contact p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }

/* ---------- Mine bilder ---------- */
.find { display: grid; grid-template-columns: minmax(0, 340px) auto; align-items: end; gap: 12px; max-width: 560px; }
.find .field input { font: 400 22px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.find .field input::placeholder { color: var(--muted); opacity: 0.5; }
.find-msg { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; font-weight: 600; }
.find-msg:empty { min-height: 0; }
.find-msg a, .find-again a, .find-help a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.find-msg a { white-space: nowrap; }
.find-again, .find-help { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 56ch; }
.find-help { margin-top: 12px; }
@media (max-width: 560px) { .find { grid-template-columns: 1fr; } }
.gallery-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.gallery-bar h2 { font: 700 clamp(17px, 2.2vw, 26px)/1.2 var(--f-display); text-transform: uppercase; color: var(--text); }
.gallery-bar a { flex: none; color: var(--accent-dark); font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.gallery-frame { display: block; width: 100%; height: calc(100dvh - 150px - var(--bar)); min-height: 520px; border: 1px solid var(--line-2); background: var(--surface); }
.paybox { padding: 24px; }
.paybox p { font-size: 15px; color: var(--muted); margin-bottom: 18px; max-width: 52ch; }
.paybox .chosen-total { color: var(--text); max-width: none; }
.paybox .find-msg { margin: 14px 0 0; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--text); }
.foot a:hover { color: var(--accent-dark); }
.foot [data-email-link] { text-transform: none; }

/* ---------- Package menus (car + wedding) ---------- */
.wed {
  width: min(720px, 100vw); max-height: min(92vh, 980px); padding: 0; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.wed[open] { display: flex; }
.wed::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.motion .wed[open] { animation: fade-up 0.4s var(--ease) both; }
.wed-form { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.wed-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.wed-head h2 { font: 700 17px/1.2 var(--f-display); text-transform: uppercase; color: var(--text); }
.wed-x { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); color: var(--text); transition: background 0.2s, color 0.2s; }
.wed-x:hover { background: var(--text); color: var(--ink); }
.wed-body { flex: 1; overflow-y: auto; padding: 24px 28px 28px; overscroll-behavior: contain; }
.wed-lede { color: var(--muted); margin-bottom: 20px; }
.wed-sub { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 12px; color: var(--accent-dark); }
.wed-sub span { color: var(--text); letter-spacing: 0; font-size: 13px; }
.wed-lede + .wed-sub { margin-top: 0; }
.wed-base li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.wed-menu { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.tick { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line-2); border-top: 0; background: var(--surface); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.tick:hover { background: var(--surface-2); }
.tick input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); display: grid; place-items: center; }
.tick input::after { content: ""; width: 10px; height: 5px; border: solid var(--on-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease); }
.tick input:checked { background: var(--accent); border-color: var(--accent); }
.tick input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.tick:has(input:checked), .tick-hours.is-on { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.tick-name { font-size: 15px; font-weight: 500; }
.tick-name small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.tick-price { font: 400 14px/1 var(--f-mono); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tick-hours { grid-template-columns: 1fr auto; cursor: default; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); color: var(--text); font-weight: 700; transition: background 0.2s, color 0.2s; }
.stepper button:hover:not([disabled]) { background: var(--text); color: var(--ink); }
.stepper button[disabled] { opacity: 0.3; cursor: default; }
.stepper output { min-width: 32px; text-align: center; font: 400 16px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.wed-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 11px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 0; caret-color: var(--accent);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field-wide { grid-column: 1 / -1; }
.field-sig { margin-top: 18px; }
.wed-note { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.contract { max-height: 280px; overflow-y: auto; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; line-height: 1.6; }
.contract-title { font: 700 13px/1.3 var(--f-display); text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.contract ol { list-style: decimal; padding-left: 20px; display: grid; gap: 10px; }
.contract strong { font-weight: 600; }
.contract-order { margin-top: 14px; }
.contract-version { margin-top: 10px; color: var(--muted); font-size: 13px; }
.accept { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; }
.accept input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); flex: none; }
.accept input:checked { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--bg); }
.wed-error { min-height: 1.4em; margin-top: 12px; color: var(--accent-dark); font-size: 15px; font-weight: 600; }
.wed-done { padding: 12px 0; }
.wed-done-title { font: 700 18px/1.2 var(--f-display); text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.wed-done p { color: var(--muted); margin-bottom: 20px; }
.wed-mail { white-space: pre-wrap; padding: 16px; background: var(--surface); border: 1px solid var(--line-2); font: 14px/1.55 var(--f-body); }
.wed-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-top: 1px solid var(--line-2); background: var(--surface); }
.wed-sum { display: grid; gap: 2px; }
.wed-sum-label { color: var(--muted); }
.wed-sum-total { font: 700 24px/1.1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.wed-sum-dep, .wed-sum-note { font-size: 13.5px; color: var(--muted); }
.wed-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Narrower desktops ---------- */
@media (max-width: 1180px) {
  .offer { grid-template-columns: 1fr 1fr; }
  .offer-photo { display: none; }
  .terms ul { grid-template-columns: 1fr 1fr; }
  /* Tablets and open foldables: the calendar needs the full width, so the booking steps stack. */
  .book { grid-template-columns: 1fr; }
  .terms-compact ul { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

/* ---------- Big screens ---------- */
@media (min-width: 1800px) {
  .content { max-width: 1720px; }
  .masonry { columns: 4; }
}

/* ---------- Phones on their side ---------- */
@media (max-height: 500px) {
  .gallery-frame { min-height: 320px; }
}

/* ---------- Phone and tablet: compact bar + full-screen menu ---------- */
@media (max-width: 1040px) {
  :root { --bar: 58px; }
  .side { gap: 8px; padding: 0 6px 0 var(--gutter); background: var(--bg); }
  .brand { margin-right: auto; }
  .topbar-book { display: inline-flex; min-height: 38px; padding: 0 14px; font-size: 10.5px; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text); }
  .menu-btn path { stroke-width: 2; transition: transform 0.3s var(--ease); transform-box: fill-box; transform-origin: center; }
  .menu-btn[aria-expanded="true"] .mb-a { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .mb-b { transform: translateY(-4px) rotate(-45deg); }
  /* The bar stays solid: a backdrop-filter on it would trap this fixed full-screen menu inside the bar. */
  .menu {
    position: fixed; inset: var(--bar) 0 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0s 0.25s;
  }
  .menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease); }
  .menu nav { flex: none; flex-direction: column; align-items: stretch; gap: 20px; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-list > li:first-child { display: block; }
  .menu-list > li { border-bottom: 1px solid var(--line); }
  .menu-list a { display: flex; padding: 16px 0; font: 700 clamp(17px, 5vw, 24px)/1.2 var(--f-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
  .menu-list > li > a.is-active::after { display: none; }
  .menu-list a.is-active { color: var(--accent-dark); }
  .menu-sub { position: static; visibility: inherit; opacity: 1; transform: none; min-width: 0; padding: 0 0 12px 0; border: 0; background: none; transition: none; }
  .menu-sub a { padding: 6px 0; font: 400 14px/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
  .menu-sub a:hover { background: none; color: var(--text); }
  .menu-book { justify-content: space-between; min-height: 58px; padding: 0 20px; font-size: 13px; }
  .lang { align-self: flex-start; margin: 24px 0 0; }
  .lang button { padding: 9px 14px; font-size: 12px; }
  .side-foot { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 32px; }
}
@media (max-width: 920px) {
  .hero { height: calc(100svh - var(--bar)); min-height: 480px; max-height: 860px; }
  .hero-low { grid-template-columns: 1fr; }
  .hero-spec { display: none; }
  .home-top { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(170px, 46vw, 300px); }
  .tiles > .tile:first-child { grid-column: span 2; grid-row: span 2; }
  .tiles > .tile:last-child:nth-child(6) { grid-column: span 2; }
  .tiles-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .band { grid-template-columns: 1fr; }
  .strip-btn { width: 44px; height: 44px; bottom: 10px; }
  .strip-prev { right: calc(10px + 48px); }
  .strip-next { right: 10px; }
  .strip-track figure { aspect-ratio: 3 / 2; }
  .clips { grid-template-columns: 1fr 1fr; gap: 16px var(--gap); }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .sec-head { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer-menu { border-left: 0; border-top: 1px solid var(--line-2); }
  .terms ul { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-text { order: 0; }
  .about-photo { justify-self: stretch; }
  .about-photo img { width: 100%; max-height: 62svh; object-position: center 30%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; border-left: 0; }
  .how li { border-left: 1px solid var(--line-2); border-top: 0; }
  .how li:first-child { border-top: 1px solid var(--line-2); }
  .booking-box iframe { height: 760px; }
  .wed { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; }
  .wed-head, .wed-body, .wed-foot { padding-left: 18px; padding-right: 18px; }
  .wed-fields { grid-template-columns: 1fr; }
  .wed-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .end-cta { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-lede { font-size: 16px; }
  .subnav a { padding: 14px 12px 12px; font-size: 13.5px; }
  .subnav a.is-active::after { left: 12px; right: 12px; }
  .tile a > span { padding: 12px; }
  .stats div { padding: 16px 14px; }
}

/* ---------- Save to Photos: a small window, also on phones ---------- */
.wed.save { width: min(440px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 32px); margin: auto; border: 1px solid var(--line-2); }
.save .wed-body { padding-bottom: 28px; }
.save .btn { width: 100%; }
.save-hint { margin: 14px 0 0; }
.save-again { margin-top: 10px; }

/* Touch screens keep :hover after a tap, which would leave the button in its hover colours. */
@media (hover: none) {
  .btn-light:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  .tile a:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.choice:has(input:checked) small, .tick:has(input:checked) small, .tick-hours.is-on small { color: var(--text); }
