/* ==========================================================================
   Passport Dates — shared stylesheet
   Palette:  cream #F9F5EE · gold #C9A96E · deep text #3D352A · muted #8A7D6E
   Fonts:    Cormorant Garamond (headlines) · Montserrat (body)
   Accessibility: built to WCAG 2.1 AA / EN 301 549 (EU) intent.
   - Body text uses deep brown on cream (~10:1 contrast).
   - Gold is used decoratively (rules, dots, borders, button fills with dark
     text). A darker gold-ink is used where a gold tone must carry text.
   - Visible focus states, skip link, reduced-motion support, semantic markup.
   ========================================================================== */

:root {
  --cream:      #F9F5EE;
  --cream-warm: #FBF9F4;   /* warm white for cards / fields */
  --gold:       #C9A96E;   /* decorative fills, borders, dots, button bg */
  --gold-ink:   #8A6A2E;   /* darker gold that meets AA for small text on cream */
  --ink:        #3D352A;   /* primary text */
  --muted:      #6F6456;   /* secondary text, darkened from brief #8A7D6E for AA */
  --muted-soft: #8A7D6E;   /* original muted, decorative / large text only */
  --line:       #D9D0C0;   /* hairline borders */
  --focus:      #3D352A;
  --hover-gold: #A8864E;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 2px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

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

.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;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); text-transform: uppercase; letter-spacing: 0.045em; }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; letter-spacing: 0.04em; }
.page-hero h1 { text-transform: uppercase; letter-spacing: 0.03em; }

/* outlined serif section title (flyward "TRAVEL DESIGNED AROUND YOU") */
.divider-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  text-stroke: 1.2px var(--ink);
  letter-spacing: 0.06em;
}
@supports not ((-webkit-text-stroke: 1px #000) or (text-stroke: 1px #000)) {
  .divider-outline { color: var(--ink); }
}

p { margin: 0 0 1.15rem; }
.lead { font-size: 1.12rem; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.2rem;
}
.subhead { color: var(--muted); font-size: 1.1rem; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);                 /* dark ink on light pill => AA compliant */
  background: #FBF9F4;
  border: 1px solid rgba(61,53,42,0.30);
  padding: 1.05rem 2.4rem;
  border-radius: 999px;              /* flyward-style pill */
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--cream); }

.textlink {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.textlink:hover, .textlink:focus-visible { color: var(--ink); border-color: var(--ink); }

/* ---------- header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky; top: 0; z-index: 100;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px;
  position: relative;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-list { flex-wrap: nowrap; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 2px; padding: 0.5rem 0.7rem;
  color: var(--ink); cursor: pointer;
  font-size: 0.9rem;
}
.nav-list {
  list-style: none; display: flex; gap: 1.9rem;
  margin: 0; padding: 0;
}
.nav-list a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] { border-bottom-color: var(--gold); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav-list {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 24px 1rem;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav { position: relative; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: #2A241C; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,25,18,0.15), rgba(30,25,18,0.45));
}
.hero-inner {
  position: relative; z-index: 1;
  min-height: 78vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 0;
}
.hero .eyebrow { color: #F3E7CE; }
.hero h1 { color: #FFFDF8; max-width: 15ch; }
.hero .subhead { color: #F3ECDD; }
.hero .btn { margin-top: 1.6rem; }
/* solid fallback when no media present */
.hero--plain .hero-media { background: var(--ink); }

/* ---------- homepage reveal hero (world map opens into photo) ---------- */
.reveal-stage { position: relative; height: 190vh; }
.reveal-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--cream); }
.reveal-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform-origin: center; }
.reveal-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transform-origin: center; will-change: transform, opacity; }
.reveal-content { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.reveal-content .halo { position: absolute; width: min(96vw, 1060px); height: min(70vh, 620px); background: radial-gradient(ellipse at center, rgba(22,17,11,0.62) 0%, rgba(22,17,11,0.38) 45%, rgba(22,17,11,0) 72%); z-index: -1; }
.reveal-content h1 { color: #FFFDF8; max-width: 20ch; text-shadow: 0 2px 30px rgba(20,15,10,0.5); }
.reveal-content .eyebrow { color: #F3E7CE; }
.reveal-content .btn { margin-top: 1.7rem; }
.scrollcue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; color: #F3ECDD; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) {
  .reveal-stage { height: 100vh; }
  .reveal-overlay, .scrollcue { display: none; }
  .reveal-content { opacity: 1 !important; }
}

/* ---------- inner page hero (full-bleed photo, flyward style) ---------- */
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #2A241C;
}
.page-hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,10,0.10), rgba(20,16,10,0.55));
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 3.2rem; }
.page-hero .eyebrow { color: #F3E7CE; }
.page-hero h1 { color: #FFFDF8; }
.page-hero .subhead { color: #F6EFE2; }

/* ---------- editorial blocks ---------- */
.rule-gold { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 2rem auto; }
.statement p { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ink); }
.statement .body { font-family: var(--sans); font-size: 1.05rem; color: var(--ink); }

/* ---------- services ---------- */
.services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.services .svc { padding: 1rem 2.4rem; }
.services .svc:first-child { border-right: 1px solid var(--gold); }
.svc h3 { margin-bottom: 0.2rem; }
.svc .fee { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1rem; }
@media (max-width: 780px) {
  .services { grid-template-columns: 1fr; }
  .services .svc:first-child { border-right: 0; border-bottom: 1px solid var(--gold); padding-bottom: 2rem; margin-bottom: 2rem; }
  .services .svc { padding: 0; }
}

/* ---------- track cards (Personal / Corporate) ---------- */
.track-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .track-cards { grid-template-columns: 1fr; } }
.track-card {
  position: relative;
  min-height: 470px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.2rem;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  background-size: cover; background-position: center;
  color: #FFFDF8;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.track-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(30,24,16,0.20); }
.track-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,16,10,0.12) 0%, rgba(20,16,10,0.18) 42%, rgba(20,16,10,0.74) 100%);
}
.track-card .explore {
  position: absolute; top: 1.6rem; left: 1.6rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: #FBF9F4; border-radius: 999px; padding: 0.6rem 1.2rem; text-decoration: none;
}
.track-card .explore:hover, .track-card .explore:focus-visible { background: var(--ink); color: #fff; }
.track-card .eyebrow { color: #F3E7CE; margin-bottom: 0.5rem; }
.track-card h2, .track-card h3 { color: #FFFDF8; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.5rem; text-shadow: 0 2px 20px rgba(20,15,10,0.5); }
.track-card p { color: #F6EFE2; margin: 0; max-width: 44ch; }

/* ---------- partners ---------- */
.partners { text-align: center; }
.partners .label { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.8rem; }
.partners ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: 860px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem;
}
.partners li {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.partners li + li::before { content: "·"; color: var(--gold); margin-right: 1.4rem; margin-left: -0.9rem; }
.partners .note { font-size: 0.92rem; color: var(--muted); margin-top: 1.4rem; }

/* ---------- reviews carousel ---------- */
.reviews { background: var(--cream-warm); }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.review-card {
  background: var(--cream);
  flex: 0 0 100%;
  padding: 1.4rem 1.2rem;
}
@media (min-width: 720px) { .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 1040px) { .review-card { flex-basis: calc((100% - 48px) / 3); } }
.review-quote { font-family: var(--sans); font-weight: 300; font-size: 0.98rem; color: var(--ink); }
.review-name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-top: 1rem; }
.review-dest { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.2rem; }
.review-more {
  background: none; border: 0; padding: 0.5rem 0 0; margin-top: 0.2rem;
  color: var(--gold-ink); font-family: var(--sans); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.05em; cursor: pointer;
  border-bottom: 1px solid var(--gold); align-self: flex-start;
}
.review-more:hover, .review-more:focus-visible { color: var(--ink); border-color: var(--ink); }
.review-card { display: flex; flex-direction: column; }
.review-card .review-name { margin-top: auto; }

.review-modal { position: fixed; inset: 0; background: rgba(30,24,16,0.55); display: none; align-items: center; justify-content: center; padding: 1.5rem; z-index: 200; }
.review-modal.show { display: flex; }
.review-modal .rm-box { background: var(--cream); max-width: 640px; width: 100%; max-height: 82vh; overflow: auto; padding: 2.6rem; border-radius: 2px; position: relative; }
.review-modal .rm-box .review-quote { font-size: 1.02rem; }
.review-modal .rm-close { position: absolute; top: 0.7rem; right: 1rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink); cursor: pointer; }

.carousel-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; flex-wrap: wrap; }
.carousel-dots button {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--muted-soft); background: transparent;
  padding: 0; cursor: pointer;
}
.carousel-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold-ink); }
.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.carousel-controls button {
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); padding: 0.5rem 1rem; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.carousel-controls button:hover, .carousel-controls button:focus-visible { border-color: var(--ink); }

/* ---------- stories list ---------- */
.stories-grid { columns: 2; column-gap: 48px; }
@media (max-width: 780px) { .stories-grid { columns: 1; } }
.story {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem;
}
.story:first-child { padding-top: 0; }
.story .review-quote { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cream); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .line { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); margin-bottom: 1.6rem; }

/* ---------- contact ---------- */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-info p { color: var(--ink); }
.contact-info .item { margin-bottom: 1.3rem; }
.contact-info .item .k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-bottom: 0.2rem; }

/* ---------- form ---------- */
form fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; }
form legend {
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink);
  padding: 0; margin-bottom: 1rem; width: 100%;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.4rem;
}
.field { margin-bottom: 1.1rem; }
.field label, .field .grp-label { display: block; font-size: 0.8rem; letter-spacing: 0.05em; color: var(--ink); margin-bottom: 0.4rem; font-weight: 500; }
.field .hint { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 300; margin-top: -0.2rem; margin-bottom: 0.4rem; }
.req { color: var(--gold-ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  font-family: var(--sans); font-weight: 300; font-size: 0.95rem; color: var(--ink);
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--gold-ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 0.7rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 300; font-size: 0.9rem; }
.check input { margin-top: 0.25rem; width: 18px; height: 18px; flex: 0 0 auto; }
.check span small { color: var(--muted); }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 2px; background: #EDE7DA; border: 1px solid var(--gold); color: var(--ink); }
.form-status[hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 2.4rem 0; }
.site-footer .brand-line { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 0; padding: 0; }
.footer-nav a { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--gold-ink); }
.footer-fine { font-size: 0.78rem; color: var(--muted); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
