:root {
  --bg: #0b0b0c;
  --bg-alt: #131315;
  --surface: #1b1b1e;
  --line: #2a2a2e;
  --text: #f2f2f0;
  --muted: #9a9aa0;
  --accent: #2e7bff;
  --accent-2: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --radius: 4px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateX(3px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 36px;
}
.btn-primary:hover { background: #4f91ff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.nav {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo img { height: 60px; width: auto; }
/* Logo fills the header with an even 10px gap above and below */
.site-header .logo img { height: calc(var(--header-h) - 20px); max-width: 45vw; object-fit: contain; }
.logo em { font-style: italic; color: var(--accent); }
.logo-mark {
  width: 26px;
  height: 18px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 6px 7px / calc(100% - 6px) 4px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) 12px 14px / calc(100% - 12px) 4px no-repeat;
  transform: skewX(-20deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta {
  padding: 8px 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start; /* text sits in the upper part, leaving the car visible below */
  overflow: hidden;
}
.hero-bg {
  --hero-img: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.55) 55%, rgba(11, 11, 12, 0.2) 100%),
    var(--hero-img),
    repeating-linear-gradient(-20deg, transparent 0 60px, rgba(46, 123, 255, 0.07) 60px 62px),
    radial-gradient(ellipse at 75% 60%, #122a52 0%, #0b1424 45%, var(--bg) 80%);
  background-size: cover;
  background-position: center 70%; /* keeps the car (lower part of the photo) in view on wide screens */
  transform: scale(1.05);
  animation: hero-in 1.6s ease-out forwards;
}
@keyframes hero-in { to { transform: scale(1); } }

.hero-content {
  position: relative;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 7vh) 24px 80px;
}
.hero h1 {
  font-size: clamp(2.4rem, min(7vw, 9vh), 6rem); /* shrinks on short screens so the car stays clear */
  font-style: italic;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  max-width: 520px;
  font-size: 1.15rem;
  color: #c9c9cc;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 1.6s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.strip div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.strip div:last-child { border-right: 0; }
.strip strong {
  font-family: var(--display);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
}
.strip span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 24px;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
  padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
}
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.section-sub { color: var(--muted); max-width: 560px; margin: 16px 0 0; }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter {
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 12px;
}
.shot {
  --img: none;
  --ph: linear-gradient(135deg, #14243f, #0f0f11 70%);
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background-color: var(--surface);
  background-image:
    var(--img),
    repeating-linear-gradient(-20deg, transparent 0 40px, rgba(255, 255, 255, 0.03) 40px 41px),
    var(--ph);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, opacity 0.3s;
}
.shot:nth-child(3n+2) { --ph: linear-gradient(160deg, #13202a, #0d0d10 70%); }
.shot:nth-child(3n) { --ph: linear-gradient(110deg, #22252b, #0e0e10 70%); }
.shot.wide { grid-column: span 2; }
.shot.tall { grid-row: span 2; }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.shot figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; transform: none; }
.shot:hover { transform: scale(0.985); }
.shot.is-hidden { display: none; }

/* Portfolio: staggered (masonry) layout. Every photo keeps its own proportions;
   script.js measures each photo and sets how many 2px rows it spans. */
.gallery.masonry {
  grid-auto-rows: 2px;
  grid-auto-flow: row;
  row-gap: 0;
  align-items: start;
}
.gallery.masonry .shot { grid-column: auto; grid-row-end: span 130; margin-bottom: 12px; }
.gallery.masonry .shot.tall { grid-row-end: span 270; }

/* ---------- Portfolio tabs: Rolling / Interiors / Everything else ---------- */
.pf-intro { text-align: center; margin: 0 auto; }
.pf-tabs {
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.pf-tab {
  padding: 14px 28px;
  background: none;
  border: 0;
  color: var(--muted);
  font: 700 1.05rem var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pf-tab:hover { color: var(--text); }
.pf-tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.pf-pane[hidden] { display: none; }
.reel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 0 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.reel:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.reel .reel-shot {
  flex: 0 0 auto;
  height: min(68vh, 640px);
  max-width: 100%;
  aspect-ratio: var(--r, 3 / 2);
  scroll-snap-align: start;
}
.reel .reel-shot:hover { transform: none; }
@media (max-width: 760px) {
  .pf-tab { padding: 12px 14px; font-size: 0.9rem; letter-spacing: 0.1em; }
  /* Phones: every photo the same width and at its own proportions (nothing cropped) */
  .reel { align-items: center; }
  .reel .reel-shot { width: 84vw; height: auto; max-width: none; }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  position: relative;
  padding: 32px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s;
}
.service:hover { border-color: #3a3a40; transform: translateY(-4px); }
.service:hover::before { width: 100%; }
.service-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
}
.service h3 { font-size: 1.7rem; margin: 18px 0 12px; }
.service p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Process ---------- */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.process li {
  counter-increment: step;
  padding-top: 24px;
  border-top: 2px solid var(--line);
  position: relative;
}
.process li::before {
  content: "0" counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  border-top: 2px solid var(--accent);
  padding-top: 8px;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.process h3 { font-size: 2rem; margin: 22px 0 10px; }
.process p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Shown at the photo's own 2:3 shape, never cropped or stretched */
.about-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: 18px 18px 0 -2px var(--accent);
}
.about-text h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: 24px; }
.about-text p { color: #c3c3c7; margin: 0 0 18px; }
.about-text .btn { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-card svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent); }
.contact-card span { display: flex; flex-direction: column; min-width: 0; }
.contact-card small {
  font-family: var(--display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.contact-card strong { font-weight: 600; font-size: clamp(0.92rem, 3.6vw, 1rem); }
.contact-note { color: var(--muted); font-size: 0.92rem; margin: 8px 0 0; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.form-status.is-success { border-left: 3px solid var(--accent); }
.form-status.is-error { border-left: 3px solid #ff5d5d; }
.form-status a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.socials {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.socials a:hover { color: var(--accent); }
.copyright { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 6, 0.95);
  padding: 60px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lightbox-close { top: 12px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services, .process { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery.masonry { grid-auto-rows: 2px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    background: rgba(11, 11, 12, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
  }
  .nav-links.is-open { transform: none; visibility: visible; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 16px; text-align: center; border-bottom: 2px solid var(--accent); }
  .site-header.menu-open { background: rgba(11, 11, 12, 0.98); }

  .hero-content { padding-left: 16px; padding-right: 16px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(2) { border-right: 0; }
  .strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 80px 16px; }
  .section-alt { padding-left: 16px; padding-right: 16px; }
  .services, .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .shot.wide { grid-column: auto; }
  .gallery.masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 2px; column-gap: 8px; }
  .gallery.masonry .shot { margin-bottom: 8px; }
  .gallery.masonry .shot figcaption { left: 10px; bottom: 8px; font-size: 0.95rem; }
  .shot figcaption, .shot::after { opacity: 1; transform: none; }
  .contact-form { grid-template-columns: 1fr; }
  .lightbox { padding: 56px 8px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 8px; transform: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Packages page ---------- */
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--accent); }
.nav-cta[aria-current="page"] { background: var(--accent); }
.section-cta { margin-top: 40px; }

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 24px 24px;
  background:
    repeating-linear-gradient(-20deg, transparent 0 60px, rgba(46, 123, 255, 0.06) 60px 62px),
    radial-gradient(ellipse at 80% 0%, #122a52 0%, #0b1424 40%, var(--bg) 75%);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
/* Optional banner photo for the Portfolio and Packages pages (set in Pages CMS). */
.page-hero.has-banner {
  display: flex;
  align-items: flex-end;
  min-height: min(62vh, 560px);
  padding-bottom: 56px;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0.3) 50%, rgba(11, 11, 12, 0) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 12, 0.35) 30%, transparent 55%),
    var(--banner) center 65% / cover no-repeat,
    var(--bg);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-style: italic; }
.packages-section { padding-top: 48px; }

.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.package {
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}
.package:hover { transform: translateY(-4px); border-color: #3a3a40; border-top-color: var(--accent); }
.package h2 { font-size: 2rem; margin: 16px 0 20px; }
.features { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.features li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
  color: #d4d4d8;
  font-size: 0.95rem;
}
.features li:last-child { border-bottom: 0; }
.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.package .btn { align-self: flex-start; }

.addons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.addon {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.addon-icon { display: inline-flex; width: 44px; height: 44px; color: var(--accent); }
.addon-icon svg { width: 100%; height: 100%; }
.addon h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.addon p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.notes {
  margin-top: 40px;
  padding: 28px 28px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.notes h3 { font-size: 1.5rem; margin-bottom: 12px; }
.notes ul { margin: 0; padding-left: 20px; color: #c3c3c7; }
.notes li { margin-bottom: 8px; }
.notes li::marker { color: var(--accent); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-band .section-sub { margin: 16px auto 28px; }

/* Add-on checkboxes in the booking form */
.addon-choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.addon-choices legend {
  padding: 0;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
.addon-choices legend { width: 100%; }
.field .check {
  font-family: var(--body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.check:hover { border-color: var(--muted); }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.check:has(input:checked) { border-color: var(--accent); }

@media (max-width: 960px) {
  .packages, .addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { padding: calc(var(--header-h) + 48px) 16px 8px; }
  .packages, .addons { grid-template-columns: 1fr; }
  .notes { padding: 22px 18px 14px; }
}

/* ---------- Recommended locations (Packages page) ---------- */
/* All cards sit in one row that scrolls sideways (swipe, trackpad, or the arrow buttons) */
.locations-scroller { position: relative; }
.locations {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden; /* sideways only: no vertical scrollbar */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.locations::-webkit-scrollbar { height: 6px; }
.locations::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.locations:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.location {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.location:hover { transform: translateY(-4px); border-color: #3a3a40; }
.location-photo {
  aspect-ratio: 16 / 10;
  background: var(--img) center / cover no-repeat, var(--bg);
}
.location-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.vibe {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.location h3 { font-size: 1.7rem; margin: 14px 0 8px; }
.location p { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
.location-map {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.location-map:hover { color: #fff; }

.locations-arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.85);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.locations-arrow:hover { border-color: var(--accent); color: var(--accent); }
.locations-arrow.prev { left: -22px; }
.locations-arrow.next { right: -22px; }

@media (max-width: 960px) {
  .location { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 760px) {
  /* Show a sliver of the next card so it's clear the row scrolls */
  .location { flex-basis: 85%; }
  .locations-arrow { display: none; }
}

/* Location photo switcher (main photo + seasonal thumbnails with credits) */
.location-media { margin: 0; }
.location-thumbs { display: flex; gap: 6px; padding: 8px 10px 0; }
.location-thumb {
  width: 54px;
  height: 38px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: var(--img) center / cover no-repeat, var(--bg);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.location-thumb:hover { opacity: 1; }
.location-thumb.is-active { opacity: 1; border-color: var(--accent); }
.location-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  padding: 8px 12px 0;
  min-height: 1.4em;
  font-size: 0.78rem;
  color: var(--muted);
}
.location-season {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
.location-season:empty { display: none; }
.location-credit { color: var(--muted); text-decoration: underline; }
.location-credit:hover { color: var(--text); }

/* Extra spots list + "Suggest your own location" card */
.spot-list { list-style: none; margin: 4px 0 0; padding: 0; }
.spot-list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.spot-list li:last-child { border-bottom: 0; }
.spot-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text); }
.spot-map {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.spot-list a:hover .spot-map { color: #fff; }
.spot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
}
.location-suggest { border-style: dashed; border-color: var(--accent); }
.suggest-form { gap: 12px; }
.suggest-form h3, .suggest-form p { margin-bottom: 0; }
.suggest-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.suggest-form input, .suggest-form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-family: var(--body, inherit);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.suggest-form textarea { resize: vertical; }
.suggest-form input:focus, .suggest-form textarea:focus { outline: none; border-color: var(--accent); }
.suggest-form .btn { align-self: flex-start; margin-top: 4px; }
.suggest-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- UTMedia page ---------- */
.page-tagline {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.utm-intro { padding-top: 72px; padding-bottom: 72px; }
.utm-lead {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: #d4d4d8;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

/* UTMedia application form */
.utm-apply .section-head { text-align: center; }
.utm-apply .section-head .eyebrow { justify-content: center; }
.utm-apply .section-sub { margin-left: auto; margin-right: auto; }
.utm-form { max-width: 640px; margin: 0 auto; grid-template-columns: 1fr; }
.utm-form .btn { justify-self: center; }
.utm-alt-link { text-align: center; margin: 24px 0 0; }
.utm-alt-link a { color: var(--accent); }

/* UTMedia: sponsor, about paragraphs, where-we-meet cards */
.utm-intro > * { max-width: 820px; }
.utm-sponsor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 28px 0 0;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.utm-sponsor span { color: var(--muted); font-size: 0.95rem; }
.utm-sponsor a, .utm-sponsor strong { color: var(--accent); font-weight: 700; font-size: 1.15rem; }
.utm-sponsor a:hover { color: #fff; }
.utm-para { margin: 18px 0 0; color: #c3c3c7; font-size: 1.05rem; }
.utm-subhead { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 44px 0 16px; }
.utm-platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.utm-platform:hover { transform: none; border-color: var(--line); border-left-color: var(--accent); }
.utm-platform-text {
  font-family: var(--body) !important;
  font-size: 0.92rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .utm-platforms { grid-template-columns: 1fr; }
}
