/* ==========================================================================
   AONIA Travel
   Design system mirrors abercrombiekent.com: Linen / Burnt Sienna / Warm Sand
   palette, McQueen Grotesk + ArgentCF typography, 5px CTA buttons.
   ========================================================================== */

/* --------------------------------------------------------------- fonts -- */
@font-face {
  font-family: 'ArgentCF';
  src: url('/assets/fonts/ArgentCF-Thin.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'ArgentCF';
  src: url('/assets/fonts/ArgentCF-ThinItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ArgentCF';
  src: url('/assets/fonts/ArgentCF-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'ArgentCF';
  src: url('/assets/fonts/ArgentCF-DemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'McQueen';
  src: url('/assets/fonts/McQueenGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'McQueen';
  src: url('/assets/fonts/McQueenGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'McQueen';
  src: url('/assets/fonts/McQueenGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --primaryFont: 'McQueen', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --secondaryFont: 'ArgentCF', Georgia, 'Times New Roman', serif;

  /* AONIA brand palette (Aonia Style Guide, p.29). The layout follows the
     Abercrombie & Kent structure, but every colour here is AONIA's own. */
  --color-ocean: #1e4d9d;        /* the blue of the logotype — primary accent */
  --color-navy: #222851;         /* deep navy of the stationery — dark surfaces */
  --color-acqua: #18697b;        /* secondary accent, light backgrounds */
  --color-waves: #90b0da;        /* light accent, dark backgrounds only */
  --color-sand: #fefce9;         /* pale section background */
  --color-licorice: #21160e;     /* body text */
  --color-mist: #dde6f3;         /* pale blue tint, hovers and chips */
  --cta-border-color: rgba(34, 40, 81, 0.18);
  --light-grey: #e4e1dc;
  --lighter-grey: #faf9f8;
  --primaryDark: #000;
  --primaryLight: #fff;
  --forest: #335525;
  --ak-shade: #f2f5fa;
  --ak-blue: #0b3868;
  --textSecondary: #56607a;   /* navy-tinted slate; AA on white, sand and mist */

  --tinyTextSize: 0.625rem;
  --extraSmallTextSize: 0.75rem;
  --smallTextSize: 0.875rem;
  --textSize: 1rem;
  --mediumTextSize: 1.125rem;
  --bigTextSize: 1.25rem;
  --mediumBigTextSize: 1.5rem;
  --subHeaderTextSize: 1.56rem;
  --h2TextSize: 2.5rem;
  --middleHeaderTextSize: 2.87rem;
  --headerH2TextSize: 3.375rem;
  --headerTextSize: 4.4rem;

  --maxw: 1360px;
  --gutter: 24px;
  --utility-h: 36px;
  --header-h: 76px;
}

@media (max-width: 1024px) {
  :root {
    --headerTextSize: 3rem;
    --headerH2TextSize: 2.5rem;
    --middleHeaderTextSize: 2.1rem;
    --h2TextSize: 1.9rem;
    --header-h: 64px;
  }
}
@media (max-width: 600px) {
  :root {
    --headerTextSize: 2.3rem;
    --headerH2TextSize: 2rem;
    --middleHeaderTextSize: 1.75rem;
    --h2TextSize: 1.6rem;
    --subHeaderTextSize: 1.3rem;
    --gutter: 18px;
    --utility-h: 32px;
    --header-h: 58px;
  }
}

/* ----------------------------------------------------------------- base -- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--utility-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--primaryLight);
  color: var(--primaryDark);
  font-family: var(--primaryFont);
  font-weight: 300;
  font-size: var(--textSize);
  line-height: 1.65;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--secondaryFont);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--color-ocean);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #000;
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------- utility -- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  /* viewport-fit=cover lets content under the notch; keep it clear of it. */
  padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
}
.wrap--narrow { max-width: 860px; }

.eyebrow {
  font-family: var(--primaryFont);
  font-size: var(--extraSmallTextSize);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ocean);
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--color-mist); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--linen { background: var(--color-sand); }
.section--shade { background: var(--ak-shade); }
.section--canvas { background: var(--color-mist); }
.section--dark { background: var(--color-navy); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--middleHeaderTextSize); }
.section-head p {
  margin-top: 18px;
  font-size: var(--mediumTextSize);
  color: #3c3a37;
}
.section--dark .section-head p { color: rgba(255, 255, 255, 0.78); }

.rule {
  height: 1px;
  background: var(--cta-border-color);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 5px;
  border: 1px solid var(--cta-border-color);
  background: transparent;
  color: var(--primaryDark);
  font-family: var(--primaryFont);
  font-size: var(--extraSmallTextSize);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--color-mist); border-color: var(--color-mist); color: var(--primaryDark); }

.btn--solid { background: var(--color-ocean); border-color: var(--color-ocean); color: #fff; }
.btn--solid:hover { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

.btn--light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: #000; }

.btn--sm { padding: 12px 24px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;      /* clears the 24px target minimum with room to spare */
  gap: 9px;
  font-family: var(--primaryFont);
  font-size: var(--extraSmallTextSize);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ocean);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s ease;
}
.link-arrow::after { content: '→'; font-size: 1.05em; line-height: 1; }
.link-arrow:hover { gap: 15px; }
.link-arrow--light { color: #fff; }

/* Keep standalone links comfortably tappable on touch screens. */
@media (max-width: 1100px) {
  .link-arrow { padding-top: 10px; padding-bottom: 10px; }
}

/* -------------------------------------------------------- utility bar -- */
.utility {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.08em;
  height: var(--utility-h);
  display: flex;
  align-items: center;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility a { transition: color 0.2s ease; white-space: nowrap; }
.utility a:hover { color: var(--color-mist); }
.utility__left,
.utility__right { display: flex; align-items: center; gap: 22px; }
.utility__sep { opacity: 0.35; }
@media (max-width: 860px) {
  .utility__left .u-hide-sm,
  .utility__right .u-hide-sm { display: none; }
  .utility .wrap { justify-content: center; gap: 20px; }
}

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--primaryLight);
  border-bottom: 1px solid var(--cta-border-color);
}
.site-header__bar { position: relative; }
.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  padding-block: 6px;
}
.brand img { height: 34px; width: auto; }
@media (max-width: 600px) { .brand img { height: 26px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: var(--extraSmallTextSize);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-navy);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav__link:hover,
.nav__item.is-open > .nav__link,
.nav__link[aria-current='page'] {
  color: var(--color-ocean);
  border-bottom-color: var(--color-ocean);
}
.nav__caret { font-size: 0.6em; transition: transform 0.25s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(920px, calc(100vw - 48px));
  background: var(--primaryLight);
  border: 1px solid var(--cta-border-color);
  border-radius: 5px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.13);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 300px;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.mega--2col { grid-template-columns: 1fr 1fr 300px; width: min(760px, calc(100vw - 48px)); }
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__title {
  font-family: var(--primaryFont);
  font-size: var(--tinyTextSize);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--textSecondary);
  margin: 0 0 14px;
}
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mega__list a {
  font-size: var(--smallTextSize);
  color: var(--color-navy);
  transition: color 0.2s ease;
}
.mega__list a:hover { color: var(--color-ocean); }

.mega__feature {
  border-radius: 5px;
  overflow: hidden;
  background: var(--color-sand);
  display: flex;
  flex-direction: column;
}
.mega__feature img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mega__feature-body { padding: 16px 18px 20px; }
.mega__feature-body h4 { font-size: var(--bigTextSize); margin: 4px 0 8px; }
.mega__feature-body p { font-size: var(--smallTextSize); color: #4a4845; margin-bottom: 12px; }

@media (max-width: 1100px) {
  .nav, .header__actions .btn { display: none; }
}

/* hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-navy);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1100px) { .burger { display: flex; } }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: calc(var(--header-h) + var(--utility-h)) 0 0;
  background: var(--primaryLight);
  z-index: 89;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__inner {
  padding: 8px max(var(--gutter), env(safe-area-inset-left)) calc(40px + env(safe-area-inset-bottom));
  flex: 1;
}

.acc { border-bottom: 1px solid var(--cta-border-color); }
.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 2px;
  font-size: var(--smallTextSize);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
}
.acc__head .nav__caret { transition: transform 0.25s ease; }
.acc.is-open .acc__head { color: var(--color-ocean); }
.acc.is-open .acc__head .nav__caret { transform: rotate(180deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__group { padding: 0 0 14px; }
.acc__group-title {
  font-size: var(--tinyTextSize);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--textSecondary);
  margin: 10px 0 8px;
}
.acc__links { list-style: none; margin: 0; padding: 0 0 6px; display: grid; gap: 2px; }
.acc__links a { display: block; padding: 9px 0; font-size: var(--mediumTextSize); }
.acc__links a:hover { color: var(--color-ocean); }

.drawer__flat {
  display: block;
  padding: 20px 2px;
  font-size: var(--smallTextSize);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--cta-border-color);
}
.drawer__cta { padding: 28px 0 12px; display: grid; gap: 12px; }
.drawer__contact {
  font-size: var(--smallTextSize);
  color: var(--textSecondary);
  display: grid;
  gap: 6px;
  padding-top: 8px;
}

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: clamp(520px, 86vh, 860px);
  min-height: clamp(520px, 86dvh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #22201d;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.46) 0%, rgba(0,0,0,0.26) 38%, rgba(0,0,0,0.80) 100%);
}
.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 92px);
  padding-top: clamp(100px, 16vw, 180px);
}
/* Local scrim behind the copy so headings stay legible over pale imagery. */
.hero__body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}
.hero__inner { max-width: 820px; }
.hero h1 {
  font-size: var(--headerTextSize);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.32);
}
.hero__kicker {
  font-family: var(--secondaryFont);
  font-style: italic;
  font-size: var(--mediumBigTextSize);
  font-weight: 300;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.65);
}
.hero__sub {
  font-size: var(--mediumTextSize);
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-waves);
  margin: 0 0 18px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

/* page hero (interior pages, shorter) */
.hero--page { min-height: clamp(420px, 62vh, 640px); min-height: clamp(420px, 62dvh, 640px); }
.hero--compact { min-height: clamp(300px, 42vh, 440px); min-height: clamp(300px, 42dvh, 440px); }

/* ---------------------------------------------------------- breadcrumb -- */
.crumbs {
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--textSecondary);
  padding: 18px 0;
}
.crumbs a { display: inline-block; padding-block: 6px; }
.crumbs a:hover { color: var(--color-ocean); }
.crumbs span { opacity: 0.5; margin: 0 8px; }

/* --------------------------------------------------------------- cards -- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card { display: flex; flex-direction: column; }
.card__media {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: var(--light-grey);
  aspect-ratio: 4 / 5;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 18px 2px 0; }
.card__title { font-size: var(--bigTextSize); margin-bottom: 8px; }
.card__text { font-size: var(--smallTextSize); color: #4a4845; }
.section--dark .card__text { color: rgba(255,255,255,0.76); }

/* overlay cards (destination tiles, A&K style) */
.tile {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: #fff;
  background: #2a2724;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 36%, rgba(0,0,0,0.68) 100%);
  transition: background 0.4s ease;
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.08) 24%, rgba(0,0,0,0.78) 100%); }
.tile__body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 22px 22px 24px;
}
.tile__title {
  font-family: var(--secondaryFont);
  font-weight: 300;
  font-size: var(--subHeaderTextSize);
  margin: 0;
  line-height: 1.1;
}
.tile__sub {
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mist);
  margin: 0 0 7px;
}
.tile__text {
  font-size: var(--smallTextSize);
  margin: 8px 0 0;
  color: rgba(255,255,255,0.86);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s ease;
}
.tile:hover .tile__text,
.tile:focus-visible .tile__text { max-height: 110px; opacity: 1; }
.tile--wide { aspect-ratio: 16 / 10; }
@media (max-width: 680px) {
  .tile { aspect-ratio: 4 / 3; }
  .tile__text { max-height: 110px; opacity: 1; }
}

/* ------------------------------------------------------------ split row -- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { border-radius: 5px; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* .vid is absolutely positioned, so give it a box to fill when it sits in flow. */
.split__media--video { position: relative; aspect-ratio: 4 / 3; }

.split__body h2 { font-size: var(--middleHeaderTextSize); margin-bottom: 20px; }
.split__body p { font-size: var(--mediumTextSize); color: #3c3a37; }
.section--dark .split__body p { color: rgba(255,255,255,0.8); }
.split__body .btn, .split__body .link-arrow { margin-top: 26px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ------------------------------------------------------------ feature -- */
.feature-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.feature { }
.feature__num {
  font-family: var(--secondaryFont);
  font-size: var(--h2TextSize);
  color: var(--color-acqua);
  line-height: 1;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: var(--bigTextSize);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.feature p { font-size: var(--smallTextSize); color: #4a4845; }
.section--dark .feature p { color: rgba(255,255,255,0.72); }

/* --------------------------------------------------------------- tabs -- */
.tabs__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--cta-border-color);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  padding: 14px 18px;
  font-size: var(--extraSmallTextSize);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--textSecondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.tabs__btn:hover { color: var(--color-navy); }
.tabs__btn.is-active { color: var(--color-ocean); border-bottom-color: var(--color-ocean); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade 0.4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- quote -- */
.pullquote { text-align: center; max-width: 900px; margin-inline: auto; }
.pullquote blockquote {
  margin: 0;
  font-family: var(--secondaryFont);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.26;
}
.pullquote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--primaryFont);
  font-style: normal;
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-acqua);
}

/* -------------------------------------------------------- testimonials -- */
.tcard {
  background: var(--primaryLight);
  border: 1px solid var(--cta-border-color);
  border-radius: 5px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tcard { margin: 0; }
.tcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--cta-border-color);
}
.tcard__photo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-mist);
}
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.tcard__photo--initials {
  display: grid;
  place-items: center;
  font-family: var(--secondaryFont);
  font-size: var(--mediumTextSize);
  color: var(--color-ocean);
  background: var(--color-mist);
}
.tcard__who { display: grid; gap: 2px; min-width: 0; }
.tcard__who strong {
  font-weight: 500;
  font-size: var(--textSize);
  color: var(--color-navy);
}
.tcard__who span {
  font-size: var(--extraSmallTextSize);
  color: var(--textSecondary);
}
.tcard__date { letter-spacing: 0.08em; text-transform: uppercase; }
.tcard__quote {
  margin: 0;
  font-family: var(--secondaryFont);
  font-size: var(--mediumTextSize);
  line-height: 1.5;
  flex: 1;
}
.tcard__meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cta-border-color);
  font-size: var(--extraSmallTextSize);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--textSecondary);
}
.tcard__meta strong { display: block; color: var(--color-navy); font-weight: 500; margin-bottom: 3px; }

/* ----------------------------------------------------------- newsletter -- */
.newsletter { background: var(--color-sand); }
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
/* A long form makes a centred heading float away from it; pin both to the top. */
.newsletter__grid--top { align-items: start; }
.newsletter h2 { font-size: var(--middleHeaderTextSize); }
.newsletter p { margin-top: 16px; font-size: var(--mediumTextSize); color: #3c3a37; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: var(--tinyTextSize);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textSecondary);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cta-border-color);
  border-radius: 5px;
  background: #fff;
  font-family: var(--primaryFont);
  font-size: var(--textSize);
  font-weight: 300;
  color: var(--color-navy);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--color-ocean); }
.form-stack { display: grid; gap: 16px; }
.form-note { font-size: var(--extraSmallTextSize); color: var(--textSecondary); }
.form-success {
  display: none;
  padding: 16px 18px;
  border-radius: 5px;
  background: var(--color-mist);
  font-size: var(--smallTextSize);
}
.form-success.is-visible { display: block; }
@media (max-width: 860px) {
  .newsletter__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- prose -- */
.prose { font-size: var(--mediumTextSize); color: #3c3a37; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: var(--h2TextSize); margin: 1.6em 0 0.6em; color: #000; }
.prose h3 { font-size: var(--bigTextSize); margin: 1.5em 0 0.5em; color: #000; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.5em; }
/* Inline prose links only — buttons keep their own colours. */
.prose a:not(.btn):not(.link-arrow) {
  color: var(--color-ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------- partner marquee -- */
.marquee-band { background: var(--color-sand); overflow: hidden; }
.marquee__title { text-align: center; margin-bottom: 26px; }
.marquee {
  position: relative;
  overflow: hidden;
  /* Fade the ends so items enter and leave instead of being cut off. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  margin: 0;
  padding: 0 clamp(18px, 2.5vw, 36px) 0 0;
  list-style: none;
}
.marquee__item { flex: 0 0 auto; }
.marquee__word {
  font-family: var(--secondaryFont);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #6b6760;
  transition: color 0.3s ease;
}
.marquee__item:hover .marquee__word { color: var(--color-ocean); }
.marquee__logo {
  height: clamp(28px, 4vw, 40px);
  width: auto;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.marquee__item:hover .marquee__logo { filter: none; opacity: 1; }

/* The track is two identical passes, so -50% lands copy two exactly where
   copy one started and the loop has no seam. */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee__track { animation: none; }
  .marquee__row:last-child { display: none; }
}

/* ------------------------------------------------------------- planners -- */
.planners { display: grid; gap: clamp(48px, 7vw, 104px); }
.planner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.planner--flip .planner__media { order: 2; }
.planner__media {
  border-radius: 5px;
  overflow: hidden;
  background: var(--light-grey);
}
.planner__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.planner__name { font-size: var(--middleHeaderTextSize); margin-bottom: 14px; }
.planner__quote {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--color-acqua);
  font-family: var(--secondaryFont);
  font-style: italic;
  font-size: var(--bigTextSize);
  line-height: 1.4;
  color: #3c3a37;
}
.planner__bio { font-size: var(--mediumTextSize); color: #3c3a37; }
.planner__facts {
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--cta-border-color);
}
.planner__facts div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }
.planner__facts dt {
  font-size: var(--tinyTextSize);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ocean);
  padding-top: 3px;
}
.planner__facts dd { margin: 0; font-size: var(--smallTextSize); color: #4a4845; }
.planner__contact {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: var(--smallTextSize);
}
.planner__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.planner__contact a:hover { color: var(--color-ocean); border-bottom-color: currentColor; }

@media (max-width: 860px) {
  .planner { grid-template-columns: 1fr; }
  .planner--flip .planner__media { order: 0; }
  .planner__media img { aspect-ratio: 3 / 2; }
  .planner__facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------------------------------------------------- legal meta -- */
.legal-meta {
  font-size: var(--smallTextSize);
  color: var(--textSecondary);
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--cta-border-color);
}

/* -------------------------------------------------------- credits table -- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 28px; }
.credits {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--smallTextSize);
  min-width: 620px;
}
.credits th,
.credits td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--cta-border-color);
  vertical-align: top;
}
.credits th {
  font-family: var(--primaryFont);
  font-size: var(--tinyTextSize);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textSecondary);
  white-space: nowrap;
}
.credits tbody tr:hover { background: var(--color-sand); }
.credits td:first-child { max-width: 360px; }

/* ------------------------------------------------------------- cta band -- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(68px, 10vw, 132px) 0;
  background: #22201d;
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: var(--middleHeaderTextSize); max-width: 820px; margin-inline: auto; }
.cta-band p {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: var(--mediumTextSize);
  color: rgba(255,255,255,0.88);
}
.cta-band .hero__actions { justify-content: center; }

/* -------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.72);
  padding: clamp(48px, 6vw, 76px) 0 env(safe-area-inset-bottom);
}
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 48px;
}
.footer__brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: var(--smallTextSize); max-width: 280px; }
.footer__contact { margin-top: 22px; display: grid; gap: 8px; font-size: var(--smallTextSize); }
.footer__contact a { color: #fff; }
.footer__col h4 {
  font-family: var(--primaryFont);
  font-size: var(--tinyTextSize);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-waves);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: var(--smallTextSize); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--extraSmallTextSize);
}
.footer__social { display: flex; gap: 18px; }
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ------------------------------------------------------- mobile tuning -- */
/* WCAG 2.5.8 wants 24px of target at every width, not just on touch. These
   are single-line text links, so pad them vertically rather than enlarge the
   type. */
.utility a,
.footer__col a,
.footer__contact a,
.footer__bottom a {
  display: inline-block;
  padding-block: 6px;
}
.utility { height: auto; min-height: var(--utility-h); padding-block: 2px; }

@media (max-width: 1100px) {
  /* 12px sentence copy is uncomfortable on a phone. The uppercase eyebrows
     stay small deliberately — they are labels, not prose. */
  .form-note,
  .card__text,
  .tcard__meta,
  .crumbs {
    font-size: var(--smallTextSize);
  }
}

/* -------------------------------------------------------------- social -- */
.social {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(254, 252, 233, 0.28);
  color: var(--color-waves);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.social a:hover,
.social a:focus-visible {
  background: var(--color-sand);
  border-color: var(--color-sand);
  color: var(--color-navy);
}
.social svg { width: 19px; height: 19px; display: block; }

/* ------------------------------------------------------- whatsapp float -- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 600px) { .wa-float { width: 48px; height: 48px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); } .wa-float svg { width: 25px; height: 25px; } }

/* ----------------------------------------------------------- video band -- */
.video-band { position: relative; background: #000; }
.video-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: var(--gutter);
}
.video-band__overlay h2 { font-size: var(--middleHeaderTextSize); max-width: 760px; }
.video-band__overlay p { margin-top: 16px; font-size: var(--mediumTextSize); max-width: 560px; margin-inline: auto; color: rgba(255,255,255,0.9); }

/* -------------------------------------------------- background video -- */
.vid { position: absolute; inset: 0; width: 100%; height: 100%; }
.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Shown only when the browser refuses autoplay, so the frame is never dead. */
.vid__play {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.vid__play[hidden] { display: none; }
.vid__play:hover { background: rgba(0, 0, 0, 0.75); transform: scale(1.06); }
.vid__play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
@media (max-width: 600px) {
  .vid__play { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .vid__play svg { width: 22px; height: 22px; }
}

/* The video-band wrapper is in flow, so it needs its own height there. */
.video-band .vid { position: relative; height: clamp(320px, 62vh, 680px); height: clamp(320px, 62dvh, 680px); }
.video-band .vid video { height: 100%; }

/* --------------------------------------------------------- reveal anim -- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

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