:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #17262b;
  --muted: #465550;
  --night: #111f26;
  --gold: #f7c36a;
  --rule: #d5d4c8;
  --display: Georgia, "Times New Roman", serif;
}

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

/* Base layout and keyboard navigation */
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ba6313; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 2 * clamp(20px, 5vw, 72px))); margin-inline: auto; }

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: .6rem 1rem;
  background: var(--gold);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

/* Header and hero */
.site-header, .site-footer { color: #fff9ec; background: var(--night); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .28em; font-size: clamp(.9rem, 2.2vw, 1.1rem); white-space: nowrap; text-decoration: none; }
.brand strong { color: var(--gold); }
.brand-mark {
  width: 1.25em;
  height: 1.6em;
  margin-right: .34em;
  background: var(--gold);
  clip-path: polygon(50% 0, 66% 22%, 60% 22%, 64% 70%, 79% 70%, 79% 82%, 93% 82%, 93% 100%, 7% 100%, 7% 82%, 21% 82%, 21% 70%, 36% 70%, 40% 22%, 34% 22%);
}
nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.25rem); }
nav a { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; padding-block: .5rem; }
nav a:hover, .site-footer a:hover { color: var(--gold); }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: clamp(580px, 48vw, 720px); color: #fffaf0; background: #283e44; }
.hero-image, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 58% 48%; }
.hero::before { z-index: -1; content: ""; background: linear-gradient(90deg, #0c1b22f5, #10242bcc 30%, #162c3255 66%, #0c1b221a), linear-gradient(0deg, #091a25b8, transparent 30%); }
.hero-content { padding-block: 4.3rem 5.4rem; }
.eyebrow { margin-bottom: 1rem; color: #426359; font-size: .875rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow, .itinerary .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; }
h1 { margin-bottom: 1.35rem; font-size: clamp(3rem, 6.7vw, 6.15rem); line-height: .98; letter-spacing: -.058em; }
h1 em { color: #f8cd87; }
.hero-description { max-width: 32ch; margin-bottom: 1.65rem; color: #f5ede0; font-size: clamp(1rem, 2vw, 1.14rem); }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .75rem 1.25rem; border-radius: 4px; color: #20251f; background: var(--gold); font-weight: 750; text-decoration: none; }
.button:hover { background: #ffe0a2; }
.hero-caption { position: absolute; right: 0; bottom: 1.5rem; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: .5rem; color: white; font-size: .875rem; }
.hero-caption span { width: 23px; height: 1px; background: var(--gold); }

/* Destination cards */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
h2 { margin-bottom: 0; font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -.052em; }
.section-heading > p { max-width: 33ch; margin: 0 0 .2rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: 7px; background: #fffdf7; }
.card-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo.monas { object-position: center 32%; }
.card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.2vw, 1.7rem); }
.location { margin-bottom: .65rem; color: #426359; font-size: .875rem; font-weight: 750; }
h3 { margin-bottom: .65rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.card-content p:not(.location) { margin-bottom: 1rem; color: var(--muted); }
.text-link { display: inline-block; min-height: 44px; padding-block: .65rem; font-weight: 700; text-underline-offset: .28em; }
.card .text-link { margin-top: auto; color: #285446; }
.card .text-link:hover { color: #854309; }

/* Itinerary and credits */
.itinerary { color: #fff9eb; background: #203f3a; }
.itinerary-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.itinerary-intro { max-width: 38ch; margin: 1.25rem 0 .35rem; color: #e2e9de; }
.itinerary .text-link { color: var(--gold); }
.itinerary .text-link:hover { color: #ffe7b2; }
.stops { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff44; }
.stops li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .8rem; padding: 1.2rem 0; border-bottom: 1px solid #ffffff44; }
.stops span { color: var(--gold); font-size: .88rem; font-weight: 750; }
.stops h3 { margin-bottom: .4rem; font-size: 1.55rem; }
.stops p { margin: 0; color: #e2e9de; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; padding-block: 1.65rem; }
.credits { max-width: 34rem; font-size: .9rem; }
.credits summary { cursor: pointer; }
.credits ul { padding-inline-start: 1.2em; }
.credits p { margin-bottom: 0; }

@media (max-width: 760px) {
  .section-heading, .itinerary-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-image { object-position: 54% center; }
  .hero::before { background: linear-gradient(90deg, #0c1b22f0, #10242ba6 55%, #162c3233), linear-gradient(0deg, #091a25b8, transparent 33%); }
}

@media (max-width: 520px) {
  .header-inner { min-height: 62px; }
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 530px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 350px) {
  .header-inner { flex-wrap: wrap; gap: .35rem 1rem; padding-block: .65rem; }
  .hero-break { display: none; }
}
