/* ==========================================================================
   Havenline Travel Experiences - dark editorial design system
   Warm near-black + ivory, gold hairlines.
   Libre Baskerville display + Hanken Grotesk body.
   ========================================================================== */

/* ---- Fonts (self-hosted variable woff2, latin subset) ------------------- */
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Palette - warm near-black + ivory + gold */
  --bg: #0e0e10;
  --bg-deep: #09090a;
  --surface: #17171a;
  --surface-2: #202024;
  --ink: #f1e8d8;
  --ink-soft: #cabda5;
  --muted: #988a72;
  --gold: #c6a15b;
  --gold-strong: #dcb96f;
  --wine: #1d1a16;
  --wine-bright: #c56a5a;
  --hairline: rgba(241, 232, 216, 0.13);
  --hairline-strong: rgba(241, 232, 216, 0.26);

  /* Type */
  --font-logo: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4: clamp(2.6rem, 2rem + 3vw, 4.8rem);
  --display: clamp(3.2rem, 1.4rem + 8vw, 9.5rem);

  /* Spacing / layout */
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 4.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --maxw: 1360px;
  --radius: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;
}

/* ---- Reset / base ------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--gold);
  color: var(--bg);
  padding: 0.75em 1.2em;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* Shared editorial atoms ------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 2.4em;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: var(--step-4);
  max-width: 16ch;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
}

.italic {
  font-style: italic;
}
.accent {
  color: var(--gold);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #17130d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.7em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
  transform: translateY(-2px);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--hairline-strong);
  font-weight: 600;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.link-underline {
  font-weight: 600;
  color: var(--gold);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease);
}
.link-underline:hover {
  background-size: 0% 1px;
}

/* ==========================================================================
   Sticky navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(0.9rem, 0.6rem + 0.8vw, 1.5rem) var(--gutter);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 1px 0 var(--hairline);
  backdrop-filter: saturate(150%) blur(10px);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-logo);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2.2rem);
  list-style: none;
}
.nav-links a {
  white-space: nowrap;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4em 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active {
  color: var(--gold);
}
.nav-wa {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav .btn {
  min-height: 44px;
  padding: 0.6em 1.35em;
}

.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;
  color: inherit;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

@media (max-width: 1180px) {
  .nav-links,
  .nav-cta .btn--ghost {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav[data-open="true"] {
    backdrop-filter: none;
    background: var(--bg);
  }
  .nav[data-open="true"] .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: var(--bg);
  }
  .nav[data-open="true"] .nav-links a {
    font-family: var(--font-display);
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--step-3);
  }
  .nav[data-open="true"] .nav-wa {
    display: block;
  }
  .nav[data-open="true"] .nav-wa a {
    color: var(--gold);
  }
  .nav[data-open="true"] .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav[data-open="true"] .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav[data-open="true"] .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   Hero - full-height, type first
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(7rem, 5rem + 8vw, 12rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: end;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.hero-title {
  font-size: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.3em 0 0;
  max-width: none;
}
.hero-title .line {
  display: block;
}
.hero-lead {
  margin-top: 1.6rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 42ch;
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-figure {
  position: relative;
  align-self: stretch;
  min-height: 360px;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  filter: saturate(0.92) brightness(0.94);
}
@media (min-width: 1200px) {
  .hero-figure {
    margin-right: calc(var(--gutter) * -1);
  }
}
.hero-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  background: var(--bg);
  color: var(--gold);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6em 1em;
}

.hero-meta {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hero-meta dt {
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta dd {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-top: 0.3rem;
}
@media (max-width: 560px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* keep the "line threads the stations" motif when the facts stack */
  .hero-meta > div {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.1rem;
    border-bottom: 1px solid var(--hairline);
  }
  .hero-meta > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gold);
  }
}
/* Mobile: lead with a photo band and keep the CTA off the bottom (away from the cookie bar) */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: clamp(6rem, 4rem + 12vw, 8rem);
  }
  .hero-figure {
    order: -1;
  }
  .hero-figure img {
    aspect-ratio: 16 / 10;
  }
  .hero-figure figcaption {
    display: none;
  }
}

/* ==========================================================================
   Section header (asymmetric)
   ========================================================================== */
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--surface {
  background: var(--surface);
}
.section-head {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
@media (min-width: 860px) {
  .section-head {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   Offers carousel (deepest panel so imagery pops)
   ========================================================================== */
.offers {
  background: var(--bg-deep);
}
.offers-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.carousel-controls {
  display: flex;
  gap: 0.6rem;
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.carousel-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.carousel-btn[disabled] {
  opacity: 0.3;
  cursor: default;
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 380px);
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding-block: 0.5rem;
  margin-right: calc(var(--gutter) * -1);
  padding-right: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
@media (min-width: 860px) {
  .carousel {
    grid-auto-columns: 400px;
  }
}

.offer {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.offer:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}
.offer-media {
  position: relative;
  display: block;
  overflow: hidden;
}
.offer-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.offer:hover .offer-media img {
  transform: scale(1.05);
}
.offer-media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 3 / 2;
  background: var(--surface);
}
.offer-media--split img {
  height: 100%;
  min-width: 0;
  aspect-ratio: auto;
}
.offer-body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.offer-eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.offer-title {
  font-size: var(--step-2);
}
.offer-note {
  color: var(--ink-soft);
  font-size: var(--step-0);
}
.offer-incl {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  flex: 1 1 auto; /* grow so the dossier + price band align across cards */
}
.offer-incl li {
  padding-left: 1.2em;
  position: relative;
}
.offer-incl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}
.offer-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.offer-pricewrap {
  display: flex;
  flex-direction: column;
}
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  line-height: 1;
}
.offer-price .from {
  font-size: var(--step--1);
  color: var(--muted);
}
.offer-price .amt {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.offer-price .pp {
  font-size: var(--step--1);
  color: var(--muted);
}
.offer-price--enquire .amt {
  font-size: var(--step-1);
  font-style: italic;
  color: var(--gold);
}
.offer-status {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}
.offer-cta {
  flex-shrink: 0;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 0.7em 1.2em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.offer-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.offers-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.offers-foot .disclaimer {
  max-width: 60ch;
}
.carousel-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.carousel-track {
  position: relative;
  flex: 1;
  max-width: 220px;
  height: 2px;
  background: var(--hairline-strong);
  border-radius: 999px;
  overflow: hidden;
}
.carousel-track span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--gold);
  border-radius: 999px;
  /* width is set once per viewport (thumb size); only translateX animates on scroll */
  transition: transform var(--dur) var(--ease);
}
.carousel-count {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .carousel-controls {
    display: none;
  }
}
.offers .wrap { position: relative; }
.carousel.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel-side {
  position: absolute;
  top: var(--carousel-mid, 50%);
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgb(20 17 12 / 0.85);
  color: var(--ink);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.carousel-side svg { width: 20px; height: 20px; }
.carousel-side:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.carousel-side:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.carousel-side[disabled] { opacity: 0; pointer-events: none; }
.carousel-side--prev { left: calc(var(--gutter) * -0.5); }
.carousel-side--next { right: calc(var(--gutter) * -0.5); }
@media (min-width: 901px) and (hover: hover) {
  .carousel-side { display: inline-flex; }
}

/* ==========================================================================
   Curate (editorial two-column list)
   ========================================================================== */
.curate-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .curate-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.curate-item {
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .curate-item:nth-child(odd) {
    padding-right: 3rem;
    border-right: 1px solid var(--hairline);
  }
  .curate-item:nth-child(even) {
    padding-left: 3rem;
  }
}
.curate-item h3 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
  padding-top: 1rem;
  position: relative;
}
.curate-item h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
}
.curate-item p {
  color: var(--ink-soft);
}

/* ==========================================================================
   Statement band (the one jewel moment)
   ========================================================================== */
.statement {
  background: var(--wine);
  color: var(--ink);
  padding-block: clamp(4rem, 3rem + 5vw, 8rem);
}
.statement blockquote {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.75rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.statement blockquote em {
  font-style: italic;
  color: var(--gold);
}
.statement .attribution {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   Why - image-led asymmetric split
   ========================================================================== */
.why {
  background: var(--surface);
}
.why-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .why-split {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.why-figure {
  position: relative;
}
.why-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9) brightness(0.92);
}
.why-body .eyebrow {
  margin-bottom: 1.2rem;
}
.why-body .section-title {
  margin-bottom: 2rem;
  max-width: 20ch;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
@media (min-width: 620px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature {
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
}
.feature h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}
.feature p {
  color: var(--ink-soft);
  font-size: var(--step-0);
}

/* ==========================================================================
   How - steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-3);
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQ (native details accordion)
   ========================================================================== */
.faq {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.25rem 2.75rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: var(--gold);
}
.faq-body {
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 68ch;
}
.faq-body a {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--bg-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-method {
  border-top: 1px solid var(--hairline-strong);
  padding-top: 1.1rem;
}
.contact-method h3 {
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}
.contact-method p {
  color: var(--ink-soft);
  font-size: var(--step-0);
  margin-bottom: 0.5rem;
}

.trust {
  margin-top: 0.5rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.trust-title {
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.trust-badges img {
  height: 46px;
  width: auto;
  background: var(--ink);
  border-radius: 4px;
  padding: 4px;
}
.trust-badges span {
  font-size: var(--step--1);
  color: var(--ink-soft);
  flex: 1 1 140px;
}

/* form */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}
.enquiry-fields { display: contents; }
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.field input,
.field textarea,
.date-toggle {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: 0.8em 0.9em;
  width: 100%;
  min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.date-toggle:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.field input.invalid,
.field textarea.invalid {
  border-color: var(--wine-bright);
}
.field-error {
  font-size: var(--step--1);
  color: var(--wine-bright);
  min-height: 1em;
}
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.date-toggle {
  text-align: left;
  cursor: pointer;
  color: var(--muted);
}
.date-toggle.has-value {
  color: var(--ink);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.form-status {
  font-size: var(--step-0);
  min-height: 1.4em;
}
.form-status.ok {
  color: var(--gold);
}
.form-status.error {
  color: var(--wine-bright);
}
@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* date picker popover */
.date-wrap {
  position: relative;
}
.date-popup {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, 100%);
  background: var(--surface-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  padding: 0.75rem;
  display: none;
}
.date-popup[data-open="true"] {
  display: block;
}
.date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.date-head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}
.date-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline);
}
.date-clear {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--step--1);
  cursor: pointer;
  min-height: 44px;
  padding: 0 0.5em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.date-clear:hover {
  color: var(--ink);
}
.date-done {
  background: var(--gold);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 1.25em;
  cursor: pointer;
}
.date-cell[aria-selected="true"] {
  background: var(--gold);
  color: var(--bg);
}
.date-month {
  font-family: var(--font-display);
  font-size: var(--step-1);
}
.date-weekdays,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-weekdays span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  padding: 0.4em 0;
}
.date-cell {
  aspect-ratio: 1;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--ink);
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.date-cell:hover:not(:disabled) {
  background: var(--surface);
}
.date-cell.selected {
  background: var(--gold);
  color: var(--bg);
}
.date-cell.in-range {
  background: color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 0;
}
.date-cell:disabled {
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}

/* Picker additions: mode switch, hint, month grid, outside days, phone sizing. */
.date-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.date-mode-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font: 600 max(1rem, var(--step--1)) var(--font-body);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.date-mode-btn[aria-pressed="true"] { background: var(--gold); color: var(--bg); }
.date-mode-btn:focus-visible,
.date-head button:focus-visible,
.date-cell:focus-visible,
.date-clear:focus-visible,
.date-done:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.date-weekdays[hidden] { display: none; }
.date-hint { margin: 0 0 0.6rem; color: var(--ink-soft); font-size: max(1rem, var(--step--1)); }
.date-head button:disabled { opacity: 0.35; cursor: default; }
.date-cell.is-outside { opacity: 0.4; }
.date-cell { min-height: 44px; font-size: max(1rem, var(--step--1)); }
.date-grid--months { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.date-grid--months .date-cell--month { aspect-ratio: auto; min-height: 52px; }
.date-clear, .date-done { font-size: max(1rem, var(--step--1)); }
@media (max-width: 640px) {
  .date-weekdays span { font-size: 1rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-deep);
  color: var(--ink-soft);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 6rem) 2rem;
  border-top: 1px solid var(--hairline);
}
.footer a {
  transition: color var(--dur) var(--ease);
}
.footer a:hover {
  color: var(--ink);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}
.footer-brand .brand-name {
  font-size: 1.9rem;
  color: var(--ink);
}
.footer-tagline {
  margin-top: 1rem;
  max-width: 40ch;
  color: var(--muted);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  padding: 0.35em 0;
  color: var(--ink-soft);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer-atol {
  margin: 2rem 0 0;
  max-width: 72ch;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--muted);
}
.footer-atol a {
  color: inherit;
  text-decoration: underline;
}
.ibby-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--muted);
}
.ibby-credit:hover {
  color: var(--ink);
}
.ibby-credit img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie {
  position: fixed;
  z-index: 200;
  left: 1.2rem;
  bottom: 1.2rem;
  width: min(380px, calc(100vw - 2rem));
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}
.cookie p {
  flex: 1 1 260px;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.cookie a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
}
.cookie .btn {
  min-height: 42px;
  padding: 0.6em 1.2em;
}

/* ==========================================================================
   Legal / content pages
   ========================================================================== */
.doc {
  padding-top: clamp(7rem, 5rem + 8vw, 10rem);
  padding-bottom: var(--section-y);
}
.doc-inner {
  max-width: 760px;
}
.doc h1 {
  font-size: var(--step-4);
  margin-bottom: 0.5rem;
}
.doc .updated {
  color: var(--muted);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.doc h2 {
  font-size: var(--step-2);
  margin: 2.5rem 0 0.75rem;
}
.doc h3 {
  font-size: var(--step-1);
  margin: 1.75rem 0 0.5rem;
}
.doc p,
.doc li {
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.doc ul,
.doc ol {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}
.doc a {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem var(--gutter) var(--section-y);
}
.notfound .code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 3rem + 12vw, 12rem);
  color: var(--gold);
  line-height: 0.9;
}

/* ==========================================================================
   Signature: The Haven Line + itinerary dossier
   ========================================================================== */
/* The haven line: a fine gold route-line with a waypoint node (the brand as a device) */
.haven-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.haven-line .node {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 20%, transparent);
}
.haven-line .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 15%, transparent));
}
.haven-line .label {
  flex: none;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
/* the haven line replaces the hero-meta's own divider */
.hero .haven-line + .hero-meta,
.hero-meta {
  border-top: none;
}
.hero-meta {
  margin-top: 1.5rem;
  padding-top: 0;
}
/* wordmark echo: a gold line trailing the footer wordmark */
.footer-brand .brand-name {
  position: relative;
  display: inline-block;
}
.footer-brand .brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: -3rem;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Itinerary dossier row on offer cards */
.offer-dossier {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 1.6rem;
  border-top: 1px solid var(--hairline);
  padding-top: 0.85rem;
  margin-top: 0.15rem;
}
.offer-dossier dt {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.offer-dossier dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-top: 0.15rem;
}

/* ==========================================================================
   Motion / accessibility preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Live chat launcher
   ========================================================================== */
.chat-launch {
  position: fixed;
  z-index: 150;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--btn-fg, #17130d);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chat-launch:hover { background: var(--gold-strong); }
.chat-launch:active { transform: scale(0.96); }
.chat-launch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chat-launch[aria-busy="true"] { opacity: 0.7; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .chat-launch { transition: none; } }

.site-notice {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  padding: 0.6rem var(--gutter);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--ink-soft);
  font: 400 0.88rem/1.45 var(--font-body);
  letter-spacing: 0.01em;
  text-align: center;
}
.site-notice a,
.site-notice-chat {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-notice-chat {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.site-notice a:focus-visible,
.site-notice-chat:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 2px;
}

.trust-badges { flex-direction: column; align-items: flex-start; }
.abta-mark { margin: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.trust-badges .abta-mark img { width: 150px; height: auto; background: none; padding: 0; border-radius: 0; }
.abta-mark figcaption { margin-top: 0.2rem; font: 500 0.8rem/1 var(--font-body); letter-spacing: 0.06em; color: var(--ink); }

.film { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--surface); }
.film-video { display: block; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #0e0e10; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.film-split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.film-body .eyebrow { margin-bottom: 1.2rem; }
.film-body .section-title { margin-bottom: 1.5rem; max-width: 16ch; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.film-copy { color: var(--ink-soft); max-width: 38ch; margin-bottom: 2rem; }
@media (min-width: 960px) {
  .film-split { grid-template-columns: 1.05fr 0.95fr; }
  .film-video { max-width: none; }
}

.packages-intro { max-width: 40rem; color: var(--ink-soft); margin: 1rem 0 2rem; }
.packages-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.packages-grid[hidden] { display: none; }
.package-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.package-card:hover, .package-card:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.package-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.package-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); border-radius: 14px 14px 0 0; }
.package-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.package-card:hover .package-media img { transform: scale(1.05); }
.package-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.3rem 1.4rem; }
.package-eyebrow { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.package-flag { width: 20px; height: auto; border-radius: 2px; }
.package-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; line-height: 1.25; }
@media (min-width: 640px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .package-card, .package-media img { transition: none; } .package-card:hover { transform: none; } .package-card:hover .package-media img { transform: none; } }
.packages-more { margin-top: 1.25rem; }

/* Sub-page header (offers, packages, about) */
.page-head {
  padding-top: clamp(7rem, 5rem + 8vw, 10rem);
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.page-title {
  font-size: var(--step-4);
  margin-bottom: 1rem;
}
.page-intro {
  max-width: 40rem;
  color: var(--ink-soft);
}
.page-intro a {
  color: var(--gold);
  text-decoration: underline;
}
.page-head + .section {
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* ==========================================================================
   Pre-chat form
   ========================================================================== */
.prechat {
  width: min(480px, 100vw);
  max-height: 100dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.prechat::backdrop { background: rgba(9, 9, 10, 0.78); }
.prechat-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  max-height: 100dvh;
  padding: 1.4rem 1.25rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.prechat-title { font-size: var(--step-2); padding-right: 2.5rem; }
.prechat-lede { color: var(--ink-soft); font-size: var(--step--1); margin-top: -0.5rem; }
.prechat-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.prechat, .prechat-form { scrollbar-width: none; }
.prechat::-webkit-scrollbar, .prechat-form::-webkit-scrollbar { display: none; }
.prechat-close:hover { color: var(--ink); }
.prechat-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.9rem; }
.prechat textarea { min-height: 4.5rem; }
.prechat-opt { color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 0.35em; font-size: 0.85em; }
.prechat-fieldset { border: 0; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.prechat-fieldset legend { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 0.45rem; padding: 0; }
.prechat select {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: 0.8em 2.6em 0.8em 0.9em;
  width: 100%;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c6a15b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95em center;
  background-size: 12px 8px;
}
.prechat select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.prechat .field-error:empty { display: none; }
.prechat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; min-height: 44px; }
.prechat-chip {
  min-height: 44px;
  padding: 0.3em 0.95em;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 500 var(--step--1) var(--font-body);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.prechat-chip:hover { border-color: var(--gold); color: var(--gold-strong); }
.prechat-stepper { display: flex; flex-direction: column; gap: 0.45rem; }
.prechat-stepper-label { font-size: var(--step--1); color: var(--ink-soft); }
.prechat-stepper-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.prechat-step {
  width: 48px;
  height: 46px;
  border: 0;
  background: none;
  color: var(--gold-strong);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.prechat-step:disabled { color: var(--muted); opacity: 0.45; cursor: default; }
.prechat-count { min-width: 2ch; text-align: center; font-weight: 600; }
.prechat-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.9rem 0 1.1rem;
  background: linear-gradient(to bottom, transparent, var(--bg) 0.9rem);
}
.prechat-skip {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 400 var(--step--1) var(--font-body);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.prechat-skip:hover { color: var(--ink); }
@media (max-width: 480px) {
  .prechat { width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; }
  .prechat-form { height: 100dvh; }
}
@media (max-width: 360px) { .prechat-row { grid-template-columns: 1fr; } }
/* iOS Safari zooms into any field under 16px; phones get 16px everywhere. */
@media (pointer: coarse) { input, textarea, select, [contenteditable="true"] { font-size: max(16px, 1em) !important; } }

/* Full nav needs about 1480px; narrower screens use the menu button. */
@media (max-width: 1480px) { .nav-links, .nav-cta .btn--ghost { display: none; } .nav-toggle { display: flex; } }
/* ATOL notice and copyright share one reading width. */
.footer-bottom { flex-direction: column; align-items: flex-start; }
.footer-bottom > span { max-width: 72ch; }

/* Open chat on phones: page held still behind it. */
@media (max-width: 667px) {
  html.hl-chat-open, html.hl-chat-open body { overflow: hidden; overscroll-behavior: none; }
  html.hl-chat-open body { position: fixed; left: 0; right: 0; width: 100%; }
  html.hl-chat-open .woot-widget-holder { background: var(--bg); }
}
