/* ==========================================================================
   Travel Just To Connect (TJTC18) — site stylesheet
   Structure: 1 fonts · 2 tokens · 3 base · 4 layout · 5 header/nav · 6 hero
   7 components · 8 page sections · 9 forms · 10 dialog · 11 footer
   12 motion · 13 utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License — see /assets/fonts/OFL-*.txt) */
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* 2. Tokens */
:root {
  /* Brand palette — sampled from the official TJTC18 logo */
  --brand-navy: #022960;
  --brand-red: #db0f19;
  --brand-blue: #0062b5;
  --brand-yellow: #fda601;
  --brand-green: #46a12d;

  --midnight: #011b42;    /* deepest navy — dark sections */
  --ocean: #022960;       /* logo navy */
  --ocean-2: #0a3f86;
  --ivory: #f3f1ec;
  --paper: #fbfaf7;
  --white: #ffffff;
  --gold: #fda601;        /* logo yellow — accents on dark surfaces */
  --gold-ink: #c20e17;    /* logo red (deepened for AA) — accents on light surfaces */
  --sea: #ffc14d;         /* eyebrow/labels on dark */
  --sea-ink: #0062b5;     /* logo blue — eyebrow/labels on light */
  --ink: #0f1b2d;
  --ink-2: #3f4b5c;
  --ink-3: #576272;
  --line: rgba(2, 41, 96, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);
  --danger: #b0121b;
  --success: #2f7a1d;
  --bg: var(--paper);
  --link: var(--ocean);
  --hover-tint: rgba(0, 98, 181, 0.06);
  --accent-green: #2f7a1d;
  --stripe: linear-gradient(90deg, var(--brand-blue) 0 25%, var(--brand-green) 25% 50%, var(--brand-yellow) 50% 75%, var(--brand-red) 75% 100%);

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.42rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2.05rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step-4: clamp(2.45rem, 1.9rem + 2.8vw, 4.3rem);
  --step-5: clamp(2.9rem, 2.1rem + 4.2vw, 5.9rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1320px;
  --narrow: 760px;
  --radius: 4px;
  --radius-lg: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 50px -24px rgba(1, 27, 66, 0.5);
  color-scheme: light;
}
@media (max-width: 760px) { :root { --header-h: 64px; } }

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 0.5em; color: inherit; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-family: var(--font-sans); font-size: var(--step-0); font-weight: 700; letter-spacing: 0; }
em, .serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }
::selection { background: var(--brand-yellow); color: var(--midnight); }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header--over:not(.is-solid) :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
address { font-style: normal; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--midnight); color: var(--white); padding: 0.7rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* 4. Layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--midnight); color: #e9eef1; }
.section--ocean { background: var(--ocean); color: #e9eef1; }
.section--dark h2, .section--ocean h2, .section--dark h3, .section--ocean h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sea-ink); margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 3px; border-radius: 2px; background: var(--stripe); }
.on-dark .eyebrow, .section--dark .eyebrow, .section--ocean .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sea); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.section--dark .lede, .section--ocean .lede { color: #c9d4da; }
.measure { max-width: 62ch; }
.muted { color: var(--ink-2); }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 4rem; }
  .section-head--split .lede { justify-self: end; margin: 0; }
}
.section-head h2 { margin: 0; max-width: 16ch; }

/* 5. Header & navigation */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(1, 27, 66, 0.95); color: var(--white);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-light);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header--over { position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--over.is-solid { background: rgba(1, 27, 66, 0.95); color: var(--white); border-bottom-color: var(--line-light); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; min-height: 44px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--white); padding: 2px; box-shadow: 0 6px 18px -8px rgba(1,27,66,0.45); object-fit: contain; }
@media (max-width: 760px) { .brand__logo { width: 46px; height: 46px; border-radius: 10px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; }
.brand__sub { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; opacity: 0.75; margin-top: 0.3rem; }
@media (max-width: 380px) { .brand__name { font-size: 1.1rem; } .brand__logo { width: 40px; height: 40px; } }

.nav { display: none; }
@media (min-width: 1200px) {
  .nav { display: flex; align-items: center; gap: 2rem; }
  .nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
  .nav__link { position: relative; text-decoration: none; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; padding: 0.6rem 0; }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}

.btn {
  --btn-bg: var(--brand-red); --btn-fg: var(--white); --btn-bd: var(--brand-red); --btn-hover-bg: var(--ocean); --btn-hover-fg: var(--white); --btn-hover-bd: var(--ocean);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 48px; padding: 0.8rem 1.55rem;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 0.92rem/1.1 var(--font-sans); letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover-bg); transform: translateY(101%); transition: transform 0.5s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); border-color: var(--btn-hover-bd); }
.btn:active { transform: translateY(1px); }
.btn__arrow { width: 1.05em; height: 1.05em; transition: transform 0.45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--light { --btn-bg: var(--brand-red); --btn-fg: var(--white); --btn-bd: var(--brand-red); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ocean); --btn-hover-bd: var(--white); }
.btn--navy { --btn-bg: var(--ocean); --btn-fg: var(--white); --btn-bd: var(--ocean); --btn-hover-bg: var(--brand-red); --btn-hover-fg: var(--white); --btn-hover-bd: var(--brand-red); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.6); --btn-hover-bg: var(--brand-yellow); --btn-hover-fg: var(--midnight); --btn-hover-bd: var(--brand-yellow); }
.btn--small { min-height: 42px; padding: 0.6rem 1.15rem; font-size: 0.86rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }


.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { display: none; }
@media (min-width: 600px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-width: 48px; min-height: 48px; padding: 0 0.6rem; border: 0; background: transparent; color: inherit; cursor: pointer;
  font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.menu-toggle__bars { width: 26px; height: 12px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1200px) { .menu-toggle { display: none; } }
@media (max-width: 420px) { .menu-toggle__label { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--midnight); color: var(--white);
  padding: 2rem var(--gutter) 3rem; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list li { border-bottom: 1px solid var(--line-light); }
.mobile-nav__list a { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; min-height: 56px; text-decoration: none; font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); line-height: 1.1; }
.mobile-nav__list a[aria-current="page"] { color: var(--gold); }
.mobile-nav__list a span { font: 600 1.4rem var(--font-sans); color: var(--brand-yellow); }
.mobile-nav__contact { display: grid; gap: 0.4rem; color: #c9d4da; font-size: 0.95rem; }
.mobile-nav__contact a { color: var(--white); text-decoration: none; padding: 0.35rem 0; }
@media (min-width: 1200px) { .mobile-nav { display: none; } }
body.nav-open { overflow: hidden; }
body.nav-open .site-header--over { background: var(--midnight); color: var(--white); border-bottom-color: var(--line-light); }

/* 6. Hero */
.hero {
  position: relative; min-height: max(640px, 100svh); max-height: 1080px;
  display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--midnight);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 70% 30%, var(--ocean-2) 0%, var(--ocean) 45%, var(--midnight) 100%); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0; transition: opacity 1.8s var(--ease); will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; animation: kenburns 9s linear both; }
.hero__slide:nth-child(even).is-active { animation-name: kenburns-alt; }
.hero.is-paused .hero__slide { animation-play-state: paused; }
.hero__control { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.25rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.55); background: rgba(1,27,66,0.45); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color 0.3s var(--ease); }
.hero__control:hover { background: rgba(1,27,66,0.8); }
.hero__control svg { width: 16px; height: 16px; }
.hero__control .icon-play { display: none; }
.hero.is-paused .hero__control .icon-play { display: block; }
.hero.is-paused .hero__control .icon-pause { display: none; }
.hero__dots { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.hero__dots span { width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); transition: background-color 0.6s var(--ease); }
.hero__dots span.is-on { background: var(--brand-yellow); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,27,66,0.55) 0%, rgba(1,27,66,0.08) 32%, rgba(1,27,66,0.2) 55%, rgba(1,27,66,0.86) 100%); }
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.35fr 0.65fr; align-items: end; } }
.hero__brand { font: 700 0.76rem var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; color: #dfe7eb; }
.hero__brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-red); }
.hero h1 { font-size: clamp(2.7rem, 1.9rem + 3.6vw, 5.3rem); max-width: 15ch; margin-bottom: 1.2rem; }
.hero h1 em { color: #ffcf6b; }
.hero__tagline { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.25; color: #ffe1a3; margin: 0 0 1rem; }
.hero__copy { max-width: 46ch; color: #e3eaee; font-size: var(--step-0); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__aside { justify-self: start; display: grid; gap: 1rem; font-size: 0.92rem; color: #d5dfe4; max-width: 30ch; border-left: 1px solid var(--line-light); padding-left: 1.25rem; }
@media (min-width: 1000px) { .hero__aside { justify-self: end; } }
.hero .text-link, .page-hero .text-link { color: var(--gold); }
.hero__aside strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--white); line-height: 1.2; }
.hero__scroll { display: none; position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--white), transparent); opacity: 0.6; }
@media (max-width: 999px) { .hero__aside, .hero__scroll { display: none; } }

.globe-lines { position: absolute; z-index: -1; pointer-events: none; color: var(--white); opacity: 0.32; }
.hero .globe-lines { right: -8vw; top: 8vh; width: min(62vw, 760px); }
.globe-lines path, .globe-lines circle, .globe-lines ellipse { fill: none; stroke: currentColor; stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.globe-lines .route { stroke: var(--brand-yellow); stroke-width: 1.4; stroke-dasharray: 4 6; }

.page-hero {
  position: relative; color: var(--white); isolation: isolate; overflow: hidden; background: var(--midnight);
  min-height: clamp(440px, 62vh, 640px); display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 75% 20%, var(--ocean-2) 0%, var(--ocean) 50%, var(--midnight) 100%); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroSettle 2.4s var(--ease-out) forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,27,66,0.6) 0%, rgba(1,27,66,0.15) 40%, rgba(1,27,66,0.85) 100%); }
.page-hero__inner { width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-5); max-width: 15ch; margin-bottom: 1rem; }
.page-hero p { max-width: 52ch; color: #e1e9ed; font-size: var(--step-1); line-height: 1.5; margin: 0; }
.page-hero--plain { min-height: auto; background: var(--midnight); }
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__inner { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 5rem; }

/* 7. Components */

/* media frames: designed fallback colour shows if an image cannot load */
.frame { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--midnight) 0%, var(--ocean) 55%, var(--ocean-2) 100%); border-radius: var(--radius); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
img.is-broken { visibility: hidden; }
.frame--zoom:hover img, a:hover > .frame--zoom img, a:focus-visible > .frame--zoom img { transform: scale(1.05); }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.caption { font-size: var(--step--1); color: var(--ink-3); margin-top: 0.75rem; }

.text-link { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none; color: var(--link); padding: 0.5rem 0; min-height: 44px; }
.text-link span { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size 0.45s var(--ease-out); padding-bottom: 2px; }
.text-link:hover span { background-size: 30% 1px; }
.text-link svg { width: 1em; height: 1em; transition: transform 0.45s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }
.on-dark .text-link, .section--dark .text-link, .section--ocean .text-link { color: var(--gold); }

.chip { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.review-flag {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 0.9rem;
  font: 700 0.68rem/1.2 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: #6a4b0e; background: #f3e6c7; border: 1px dashed #b38a35; border-radius: 999px; padding: 0.35rem 0.75rem;
}
.review-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b38a35; }
.review-note { border: 1px dashed #b38a35; background: #fbf3df; color: #5c430f; border-radius: var(--radius-lg); padding: 1.5rem; font-size: 0.95rem; }
.review-note strong { display: block; margin-bottom: 0.3rem; }

/* 8. Page sections */

/* Welcome (home) */
.welcome { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 960px) { .welcome { grid-template-columns: 0.95fr 1.05fr; align-items: center; } }
.welcome__media { position: relative; padding-bottom: 14%; padding-right: 12%; }
.welcome__media .frame:first-child { aspect-ratio: 4 / 5; }
.welcome__media .frame:last-child { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--paper); border-radius: 6px; box-shadow: var(--shadow); }
.welcome__text h2 { max-width: 14ch; }
.welcome__signature { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-size: var(--step-1); font-style: italic; color: var(--gold-ink); }
.welcome__signature::before { content: ""; width: 3rem; height: 1px; background: currentColor; }

/* Destination showcase (home) */
.showcase { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 1.5rem; }
  .showcase__item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
  .showcase__item:nth-child(2) { grid-column: 8 / 13; }
  .showcase__item:nth-child(3) { grid-column: 8 / 13; }
  .showcase__item:nth-child(1) .frame { aspect-ratio: auto; height: 100%; min-height: 560px; }
}
.showcase__item { position: relative; display: block; text-decoration: none; color: var(--white); border-radius: var(--radius); overflow: hidden; }
.showcase__item .frame { aspect-ratio: 16 / 11; border-radius: 0; }
.showcase__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,27,66,0) 40%, rgba(1,27,66,0.82) 100%); pointer-events: none; }
.showcase__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.showcase__region { font: 700 0.7rem var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea); display: block; margin-bottom: 0.4rem; }
.showcase__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.02; display: block; }
.showcase__item:not(:first-child) .showcase__title { font-size: var(--step-2); }
.showcase__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); display: grid; place-items: center; transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease-out); }
.showcase__arrow svg { width: 18px; height: 18px; }
.showcase__item:hover .showcase__arrow, .showcase__item:focus-visible .showcase__arrow { background: var(--gold); color: var(--midnight); border-color: var(--gold); transform: rotate(-45deg); }
.showcase__more { margin-top: 2rem; display: flex; justify-content: flex-end; }

/* Services overview (home) */
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row a { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1.6rem 0.25rem; text-decoration: none; transition: padding 0.5s var(--ease-out), background-color 0.4s var(--ease); }
.service-row a:hover, .service-row a:focus-visible { padding-left: 1rem; background: var(--hover-tint); }
.service-row__mark { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 4px rgba(255,255,255,0.14); justify-self: start; }
.service-row:nth-child(4n+1) .service-row__mark { background: #4aa3ff; }
.service-row:nth-child(4n+2) .service-row__mark { background: var(--brand-yellow); }
.service-row:nth-child(4n+3) .service-row__mark { background: #ff6b6b; }
.service-row:nth-child(4n+4) .service-row__mark { background: #ffffff; }
.service-row__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.service-row__desc { grid-column: 2 / 3; color: var(--ink-2); font-size: 0.97rem; margin: 0; max-width: 60ch; }
.service-row__arrow { grid-row: 1 / 3; grid-column: 3; width: 22px; height: 22px; color: var(--link); transition: transform 0.5s var(--ease-out); }
.service-row a:hover .service-row__arrow { transform: translateX(6px); }
@media (min-width: 900px) {
  .service-row a { grid-template-columns: 4rem minmax(0, 0.9fr) minmax(0, 1.1fr) auto; }
  .service-row__desc { grid-column: 3; }
  .service-row__arrow { grid-row: 1; grid-column: 4; }
}
.service-row .review-flag { margin: 0.4rem 0 0; }

/* Story (home) */
.story { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.story__quote { font-family: var(--font-display); font-weight: 500; font-size: var(--step-4); line-height: 1.08; color: var(--white); margin: 0 0 2rem; }
.story__quote em { color: var(--gold); }
.story__text { color: var(--ink-2); max-width: 52ch; }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.story__media .frame:first-child { aspect-ratio: 3 / 4; transform: translateY(-2rem); }
.story__media .frame:last-child { aspect-ratio: 3 / 4; }
.story .globe-lines { right: -10%; bottom: -20%; width: 60%; opacity: 0.12; }

/* Steps */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.step { position: relative; padding-top: 4.2rem; }
.step__icon { position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-ink); color: var(--gold-ink); background: var(--paper); z-index: 1; }
.step__icon svg { width: 1.45rem; height: 1.45rem; }
.section--ivory .step__icon { background: var(--ivory); }
.step:nth-child(1) .step__icon { border-color: var(--brand-blue); color: var(--brand-blue); }
.step:nth-child(2) .step__icon { border-color: var(--brand-green); color: #2f7a1d; }
.step:nth-child(3) .step__icon { border-color: var(--brand-red); color: var(--gold-ink); }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--ink-2); margin: 0; }
.steps__route { display: none; }
@media (min-width: 900px) {
  .steps__route { display: block; position: absolute; top: 1.5rem; left: 3rem; width: calc(100% - 3rem); height: 2px; color: var(--gold-ink); }
  .steps__route line { stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 3 7; }
}

/* Gallery (home) */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--ink-2); }
.gallery figcaption strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.gallery .frame { aspect-ratio: 4 / 5; }
@media (max-width: 599px) { .gallery { grid-template-columns: 1fr; } .gallery .frame { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: start; }
  .gallery figure:nth-child(1) { grid-column: 1 / 5; }
  .gallery figure:nth-child(2) { grid-column: 5 / 9; margin-top: 5rem; }
  .gallery figure:nth-child(3) { grid-column: 9 / 13; }
  .gallery figure:nth-child(4) { grid-column: 3 / 8; margin-top: -3rem; }
  .gallery figure:nth-child(4) .frame { aspect-ratio: 3 / 2; }
  .gallery figure:nth-child(5) { grid-column: 8 / 12; margin-top: 1rem; }
  .gallery figure:nth-child(5) .frame { aspect-ratio: 1 / 1; }
}

/* Brand pillars (home) — Adventure · Explore · Discover · Connect · Memories */
.pillars-brand { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .pillars-brand { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars-brand { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.pillar-brand { position: relative; padding: 2rem 1.5rem 1.75rem; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.pillar-brand:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.pillar-brand::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c); }
.pillar-brand__icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--white); margin-bottom: 1.4rem; box-shadow: inset 0 0 0 3px rgba(255,255,255,0.25), 0 10px 24px -12px var(--c); }
.pillar-brand__icon svg { width: 34px; height: 34px; }
.pillar-brand h3 { font-family: var(--font-sans); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.pillar-brand p { margin: 0; color: #c8d3e3; font-size: 0.96rem; }
.pillar-brand--blue { --c: var(--brand-blue); }
.pillar-brand--green { --c: var(--brand-green); }
.pillar-brand--yellow { --c: var(--brand-yellow); }
.pillar-brand--yellow .pillar-brand__icon { color: var(--midnight); }
.pillar-brand--red { --c: var(--brand-red); }
.connect-line { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; font-family: var(--font-display); font-style: italic; font-size: var(--step-3); color: #ffe1a3; text-align: center; }
.connect-line svg { width: clamp(70px, 12vw, 150px); height: 24px; color: var(--brand-yellow); flex: none; }
@media (max-width: 560px) { .connect-line svg { display: none; } }

/* Business-card figures */
.card-figure { margin: 0; }
.card-figure img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(1,27,66,0.55); }
.card-figure figcaption { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-3); }
.on-dark .card-figure figcaption { color: #b7c3d4; }
.card-figure--tilt img { transform: rotate(-2deg); transition: transform 0.8s var(--ease-out); }
.card-figure--tilt:hover img { transform: rotate(0deg) scale(1.01); }
.person-title { font: 700 0.8rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin: -0.25rem 0 1.25rem; }
.invite { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.2; color: var(--ink); margin: 0 0 1.25rem; }
.invite strong { display: block; font-family: var(--font-sans); font-style: normal; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-green); margin-top: 0.4rem; }
.stripe-rule { height: 4px; width: 7rem; border-radius: 4px; background: var(--stripe); margin: 0 0 1.75rem; }
.download-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.5rem; }

/* Newsletter band */
.newsletter-band { display: grid; gap: 2.5rem; align-items: center; background: var(--ivory); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1rem + 4vw, 4.5rem); position: relative; overflow: hidden; }
@media (min-width: 960px) { .newsletter-band { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.newsletter-band h2 { font-size: var(--step-3); max-width: 15ch; }
.newsletter-band .globe-lines { color: var(--ocean); opacity: 0.08; right: -12%; top: -30%; width: 55%; z-index: 0; }
.newsletter-band > * { position: relative; z-index: 1; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--midnight); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1,27,66,0.92) 0%, rgba(1,27,66,0.65) 55%, rgba(1,27,66,0.35) 100%); }
.cta-band__inner { padding-block: clamp(5rem, 3rem + 7vw, 10rem); }
.cta-band h2 { max-width: 15ch; color: var(--white); }
.cta-band p { max-width: 46ch; color: #dbe4e8; font-size: var(--step-1); line-height: 1.5; margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.cta-band__phone { color: var(--white); text-decoration: none; font-weight: 600; padding: 0.75rem 0.5rem; min-height: 48px; display: inline-flex; align-items: center; gap: 0.6rem; }
.cta-band__phone:hover { color: var(--gold); }

/* About */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); }
.section--ivory .pillar { background: var(--ivory); }
.pillar__icon { width: 44px; height: 44px; color: var(--sea-ink); margin-bottom: 1.5rem; }
.pillar h3 { font-size: var(--step-2); }
.pillar p { color: var(--ink-2); margin: 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 760px) { .values { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.values li { padding: 1.75rem 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 1.75rem 1fr; gap: 1rem; }
.values__mark { width: 14px; height: 14px; margin-top: 0.4rem; border-radius: 50%; background: var(--brand-yellow); }
.values li:nth-child(4n+1) .values__mark { background: #4aa3ff; }
.values li:nth-child(4n+2) .values__mark { background: #6fcf4f; }
.values li:nth-child(4n+3) .values__mark { background: var(--brand-yellow); }
.values li:nth-child(4n+4) .values__mark { background: #ff6b6b; }
.values h3 { font-size: var(--step-1); font-family: var(--font-sans); font-weight: 700; color: var(--white); margin-bottom: 0.4rem; line-height: 1.3; }
.values p { margin: 0; color: #c9d4da; }
.mission { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.18; max-width: 26ch; margin: 0; }
.mission em { color: var(--gold-ink); }

/* Services page */
.chapters { display: grid; gap: clamp(4rem, 3rem + 5vw, 8rem); }
.chapter { display: grid; gap: 2rem; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 960px) {
  .chapter { grid-template-columns: 1.05fr 0.95fr; gap: 5rem; }
  .chapter:nth-child(even) .chapter__media { order: 2; }
}
.chapter__media { position: relative; }
.chapter__media .frame { aspect-ratio: 4 / 3; }
.chapter__index { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); display: block; margin-bottom: 0.5rem; }
.chapter h2 { font-size: var(--step-3); margin-bottom: 1rem; max-width: 18ch; }
.chapter ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.chapter li { position: relative; padding-left: 1.75rem; color: var(--ink-2); }
.chapter li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9rem; height: 1px; background: var(--sea-ink); }
.service-index { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.service-index a { text-decoration: none; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0.55rem 1rem; min-height: 44px; display: inline-flex; align-items: center; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.service-index a:hover { background: var(--white); color: var(--midnight); }
.honest-note { border-left: 2px solid var(--gold-ink); padding: 0.25rem 0 0.25rem 1.5rem; color: var(--ink-2); max-width: 64ch; }

/* Destinations page */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; align-items: center; }
.filters__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-right: 0.5rem; }
.filter-btn { min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 0.88rem var(--font-sans); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters__status { flex-basis: 100%; font-size: 0.88rem; color: var(--ink-3); margin: 0.25rem 0 0; }
.dest-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem; }
@media (min-width: 760px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .dest-grid { grid-template-columns: repeat(12, 1fr); }
  .dest-card { grid-column: span 6; }
  .dest-card--wide { grid-column: span 7; }
  .dest-card--narrow { grid-column: span 5; }
  .dest-card--narrow .frame { aspect-ratio: 4 / 5; }
}
.dest-card[hidden] { display: none; }
.dest-card { display: flex; flex-direction: column; animation: cardIn 0.6s var(--ease-out) both; }
.dest-card .frame { aspect-ratio: 4 / 3; margin-bottom: 1.4rem; }
.dest-card__region { font: 700 0.72rem var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sea-ink); margin-bottom: 0.5rem; }
.dest-card h2 { font-size: var(--step-3); margin-bottom: 0.75rem; }
.dest-card p { color: var(--ink-2); max-width: 52ch; }
.dest-card__moods { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.dest-card__frame-label { position: absolute; left: 1rem; top: 1rem; z-index: 1; background: var(--brand-yellow); color: var(--midnight); font: 700 0.68rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; padding: 0.45rem 0.8rem; border-radius: 999px; }
.dest-empty { padding: 3rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-2); }

/* Contact page */
.contact-layout { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 0.8fr 1.2fr; } }
.contact-card { background: var(--midnight); color: #e3eaee; border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 1000px) { .contact-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-card .globe-lines { right: -35%; bottom: -30%; width: 110%; opacity: 0.1; z-index: -1; }
.contact-card h2 { color: var(--white); font-size: var(--step-3); }
.contact-card__person { font-family: var(--font-display); font-size: var(--step-2); color: var(--white); margin: 0 0 0.25rem; }
.contact-card__role { color: var(--sea); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2rem; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.25rem; }
.contact-lines a { display: flex; gap: 0.9rem; align-items: center; padding: 0.75rem 0; min-height: 48px; text-decoration: none; color: var(--white); border-bottom: 1px solid var(--line-light); word-break: break-word; }
.contact-lines a:hover { color: var(--gold); }
.contact-lines svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; color: #c9d4da; font-size: 0.95rem; }
.next-steps li::before { content: ""; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1.5px solid var(--gold); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fda601' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 1rem no-repeat; }
.next-steps strong { color: var(--white); display: block; }

/* 9. Forms */
.form { display: grid; gap: 1.35rem; }
.form-grid { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label, .field legend { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--ink-3); font-size: 0.82rem; margin-left: 0.3rem; }
.field .hint { font-size: 0.84rem; color: var(--ink-3); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem;
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: var(--white); border: 1px solid #b9c0c5; border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23022960' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.6rem; }
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ocean-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 98, 181, 0.22); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error { display: none; align-items: center; gap: 0.4rem; color: var(--danger); font-size: 0.86rem; font-weight: 600; margin: 0; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: currentColor; color: var(--bg); font-size: 0.7rem; font-weight: 800; flex: none; }
.field-error.is-visible { display: flex; }
.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.8rem; align-items: start; font-size: 0.92rem; color: var(--ink-2); }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--ocean); }
.check label { font-weight: 500; color: var(--ink-2); font-size: 0.92rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form__fineprint { font-size: 0.84rem; color: var(--ink-3); margin: 0; max-width: 60ch; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.error-summary { border: 1px solid var(--danger); border-left-width: 4px; background: #fbeeec; color: #5d1b16; padding: 1rem 1.25rem; border-radius: var(--radius); }
.error-summary h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 0 0 0.4rem; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: inherit; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__arrow { display: none; }
.form-status { border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-status:focus { outline: none; }
.form-status h3 { font-size: var(--step-3); margin-bottom: 0.6rem; }
.form-status--success { background: #eaf5e6; border: 1px solid #b4d9a8; color: #1d4d12; animation: statusIn 0.7s var(--ease-out) both; }
.form-status--error { background: #fbeeec; border: 1px solid #e3b4ae; color: #5d1b16; animation: statusIn 0.7s var(--ease-out) both; }
.form-status__icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.form-status--success .form-status__icon circle { stroke: var(--success); }
.form-status--success .form-status__icon path { stroke: var(--success); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.7s 0.25s var(--ease-out) forwards; }
.form-status a { color: inherit; font-weight: 700; }
.form-status--compact h3 { font-size: var(--step-2); }

.inline-form { display: grid; gap: 1rem; }
@media (min-width: 560px) { .inline-form .form-grid--2 { grid-template-columns: 0.8fr 1.2fr; } }

/* 10. Newsletter dialog */
.nl-dialog {
  width: min(880px, calc(100vw - 2rem)); max-height: calc(100svh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(1,27,66,0.6); overflow: hidden;
}
.nl-dialog::backdrop { background: rgba(1, 27, 66, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.nl-dialog[open] { animation: dialogIn 0.6s var(--ease-out) both; }
.nl-dialog[open]::backdrop { animation: fadeIn 0.5s var(--ease) both; }
.nl-dialog__grid { display: grid; max-height: calc(100svh - 2rem); overflow-y: auto; }
@media (min-width: 760px) { .nl-dialog__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.nl-dialog__media { display: none; position: relative; min-height: 100%; }
@media (min-width: 760px) { .nl-dialog__media { display: block; overflow: hidden; } }
.nl-dialog__media .frame { position: absolute; inset: 0; border-radius: 0; }
.nl-dialog__media .globe-lines { position: absolute; z-index: 1; inset: auto -20% -10% auto; width: 120%; opacity: 0.35; }
.nl-dialog__body { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); position: relative; }
.nl-dialog__title { font-size: var(--step-3); margin: 0 0 0.75rem; max-width: 14ch; padding-right: 2rem; }
.nl-dialog__copy { color: var(--ink-2); margin-bottom: 1.5rem; }
.nl-dialog__close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background-color 0.25s var(--ease), transform 0.4s var(--ease-out);
}
.nl-dialog__close:hover { background: var(--hover-tint); transform: rotate(90deg); }
.nl-dialog__close svg { width: 20px; height: 20px; }
.nl-dialog__later { background: none; border: 0; padding: 0.75rem 0; min-height: 44px; font: 600 0.88rem var(--font-sans); color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
@media (max-width: 759px) {
  .nl-dialog { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 88svh; }
  .nl-dialog__grid { max-height: 88svh; }
  .nl-dialog[open] { animation-name: sheetIn; }
  .nl-dialog .form { gap: 1rem; }
  .nl-dialog__copy { font-size: 0.95rem; margin-bottom: 1rem; }
}

/* 11. Footer & mobile bar */
.site-footer { background: var(--midnight); color: #c9d4da; padding-top: clamp(4rem, 3rem + 4vw, 7rem); position: relative; overflow: hidden; isolation: isolate; }
.site-footer .globe-lines { left: -12%; top: -10%; width: 70%; opacity: 0.06; z-index: -1; }
.footer-top { display: grid; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line-light); }
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.2fr 0.7fr 1.1fr 1.3fr; gap: 2.5rem; } }
.footer-logo { display: inline-block; background: var(--white); border-radius: 18px; padding: 0.9rem 1.1rem; margin-bottom: 1.5rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,0.6); }
.footer-logo img { width: 170px; height: auto; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--white); max-width: 18ch; line-height: 1.2; margin: 0; }
.footer-motto { font-family: var(--font-display); font-style: italic; color: var(--brand-yellow); font-size: var(--step-1); margin: 0.9rem 0 0; }
.footer-title { font: 700 0.72rem var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea); margin: 0 0 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.footer-links a { text-decoration: none; color: #e3eaee; display: inline-flex; padding: 0.45rem 0; min-height: 40px; align-items: center; transition: color 0.25s var(--ease); word-break: break-word; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding-block: 1.75rem; font-size: 0.85rem; color: #93a3ad; }
.footer-bottom a { color: inherit; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(1, 27, 66, 0.96); border-top: 1px solid var(--line-light);
  transform: translateY(110%); transition: transform 0.5s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { width: 100%; min-height: 46px; padding-inline: 0.75rem; }
@media (min-width: 760px) { .mobile-bar { display: none; } }
@media (max-width: 759px) { body.has-mobile-bar .site-footer { padding-bottom: 76px; } }

/* 12. Motion */
@keyframes heroSettle { to { transform: scale(1); } }
@keyframes kenburns { from { transform: scale(1.14) translate3d(2%, 1.5%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes kenburns-alt { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1%, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes statusIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drawLine { from { stroke-dashoffset: var(--len, 1200); } to { stroke-dashoffset: 0; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }

.globe-lines.is-drawn .meridian { stroke-dasharray: 1200; animation: drawLine 3.2s var(--ease-out) both; }
.globe-lines.is-drawn .meridian:nth-child(2) { animation-delay: 0.15s; }
.globe-lines.is-drawn .meridian:nth-child(3) { animation-delay: 0.3s; }
.globe-lines.is-drawn .meridian:nth-child(4) { animation-delay: 0.45s; }
.globe-lines.is-drawn .meridian:nth-child(5) { animation-delay: 0.6s; }
.hero .globe-lines svg, .hero .globe-lines { transform-origin: 50% 50%; }
.hero .globe-lines { animation: drift 24s ease-in-out infinite; }

/* Scroll reveals (only when JS is running) */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { animation: revealUp 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.js .hero [data-load] { opacity: 0; animation: revealUp 1.1s var(--ease-out) both; }
.js .hero [data-load="1"] { animation-delay: 0.2s; }
.js .hero [data-load="2"] { animation-delay: 0.38s; }
.js .hero [data-load="3"] { animation-delay: 0.56s; }
.js .hero [data-load="4"] { animation-delay: 0.74s; }
.js .hero [data-load="5"] { animation-delay: 0.95s; }
.d1 { --d: 0.08s; } .d2 { --d: 0.16s; } .d3 { --d: 0.24s; } .d4 { --d: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__slide, .page-hero__media img { transform: none; animation: none !important; }
  .js [data-reveal], .js .hero [data-load] { opacity: 1; animation: none; }
  .hero .globe-lines { animation: none; }
  .frame--zoom:hover img, a:hover > .frame--zoom img { transform: none; }
}

/* 13. Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 0.75rem; }
[hidden] { display: none !important; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: var(--step-5); }
.not-found .btn { margin: 0.4rem; }

/* 14. Colour themes
   Every section on every page (except the light Contact page) carries a brand
   colour. Themes work by redefining the ink tokens, so all components adapt. */
body { background: var(--midnight); }
.theme-light { --bg: var(--paper); background: var(--paper); color: var(--ink); }
.theme-ivory { --bg: var(--ivory); background: var(--ivory); color: var(--ink); }

.theme-midnight, .theme-navy, .theme-blue, .theme-green, .theme-red, .section--dark, .section--ocean, .nl-dialog, .contact-card {
  --ink: #ffffff; --ink-2: #d5deeb; --ink-3: #bcc8da; --line: rgba(255, 255, 255, 0.24);
  --accent: #ffc14d; --sea-ink: var(--accent); --gold-ink: var(--accent); --link: var(--accent);
  --hover-tint: rgba(255, 255, 255, 0.08); --accent-green: #b9f0a0; --danger: #ffcdcd;
  --paper: var(--bg); --ivory: var(--bg);
  background: var(--bg); color: var(--ink);
}
.theme-midnight, .section--dark, .nl-dialog, .contact-card { --bg: #011b42; }
.theme-navy, .section--ocean { --bg: #022960; }
.theme-blue { --bg: #0062b5; --ink-2: #eaf2fb; --ink-3: #dbe8f6; --accent: #ffe08a; }
.theme-green { --bg: #24701a; --ink-2: #eef8ea; --ink-3: #e1f1da; --accent: #ffe08a; }
.theme-red { --bg: #b50d16; --ink-2: #ffe8e9; --ink-3: #ffdcdd; --accent: #ffe08a; }
.theme-yellow {
  --bg: #fda601; --ink: #0f1b2d; --ink-2: #1f2a3d; --ink-3: #2c3445; --line: rgba(2, 41, 96, 0.28);
  --accent: #022960; --sea-ink: #022960; --gold-ink: #7a0a10; --link: #022960;
  --hover-tint: rgba(2, 41, 96, 0.08); --accent-green: #1d4d12; --danger: #6e0a10;
  --paper: var(--bg); --ivory: var(--bg);
  background: var(--bg); color: var(--ink);
}
.theme-blue h2, .theme-green h2, .theme-red h2, .theme-navy h2, .theme-midnight h2 { color: var(--white); }
.theme-blue :focus-visible, .theme-green :focus-visible, .theme-red :focus-visible, .theme-navy :focus-visible, .theme-midnight :focus-visible, .nl-dialog :focus-visible, .site-header :focus-visible { outline-color: var(--brand-yellow); }
.theme-yellow :focus-visible { outline-color: var(--ocean); }

/* buttons per theme */
.theme-yellow .btn, .theme-red .btn { --btn-bg: var(--ocean); --btn-fg: var(--white); --btn-bd: var(--ocean); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ocean); --btn-hover-bd: var(--white); }
.theme-green .btn { --btn-bg: var(--white); --btn-fg: var(--ocean); --btn-bd: var(--white); --btn-hover-bg: var(--brand-yellow); --btn-hover-fg: var(--midnight); --btn-hover-bd: var(--brand-yellow); }

/* step markers per theme */
.theme-blue .step .step__icon, .theme-green .step .step__icon, .theme-red .step .step__icon, .theme-navy .step .step__icon, .theme-midnight .step .step__icon { border-color: var(--accent); color: var(--accent); background: var(--bg); }
.theme-yellow .step .step__icon { border-color: var(--ocean); color: var(--ocean); background: var(--bg); }

/* panels inside coloured sections */
.panel { border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.newsletter-band.theme-navy, .newsletter-band.theme-midnight { background: var(--bg); }
.pillar { background: var(--bg); }

/* colour-band divider under coloured sections */
.stripe-top { position: relative; }
.stripe-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); }

/* Book & Pay */
.pay-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay-card { display: flex; flex-direction: column; gap: 0.25rem; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); position: relative; overflow: hidden; }
.pay-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); }
.pay-card h3 { font-size: var(--step-2); margin: 0.75rem 0 0.5rem; }
.pay-card p { color: var(--ink-2); }
.pay-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-yellow); color: var(--midnight); }
.pay-card__icon svg { width: 28px; height: 28px; }
.pay-card__status { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 0.72rem var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0.25rem 0 1rem; }
.pay-card__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pay-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; padding-top: 0.5rem; }
.secure-note { display: flex; gap: 0.9rem; align-items: flex-start; margin-top: 2rem; font-size: 0.95rem; color: var(--ink-2); max-width: 70ch; }
.secure-note svg { width: 24px; height: 24px; flex: none; color: var(--ink); }
/* navy panels nested inside other colours keep the standard red buttons */
:is(.theme-yellow, .theme-red, .theme-green) :is(.theme-navy, .theme-midnight, .contact-card) .btn { --btn-bg: var(--brand-red); --btn-fg: var(--white); --btn-bd: var(--brand-red); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ocean); --btn-hover-bd: var(--white); }

/* Business hours */
.hours { margin: 0; display: grid; gap: 0.15rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line-light); }
.hours dt { font-weight: 600; color: #e3eaee; white-space: nowrap; }
.hours dd { margin: 0; color: #e3eaee; text-align: right; white-space: nowrap; }
.hours dd.hours__closed { color: #ffc14d; font-weight: 700; }
.hours__note { margin: 0.75rem 0 0; font-size: 0.9rem; color: #ffc14d; font-weight: 600; }
.hours--card { margin-bottom: 0; }
.contact-card .hours__note { margin-bottom: 2rem; }
