:root {
  --bg: #f6f3ec;
  --ink: #1c3044;
  --muted: #5d6e80;
  --line: #e3d8c4;
  --navy: #3a628f;
  --navy-deep: #1e3a56;
  --gold: #c9972a;
  --gold-deep: #a67c16;
  --paper: #fffdf9;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background:
    linear-gradient(180deg, #fffaf2 0, #f6f3ec 280px),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
iframe { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -0.03em; overflow-wrap: break-word; color: var(--navy-deep); }
h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); margin: 0 0 0.35em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin: 0 0 0.4em; }
h3 { font-size: 1.45rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.8em; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--navy-deep); color: white; padding: 0.5rem 0.8rem; z-index: 9;
}
.skip:focus { top: 0.6rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.wrap, .hero-grid > *, .split > *, .grid-2 > *, .trip-grid > *, .gallery-grid > *, .video-grid > *, .answer-list > *, .card, .shot, .film, .form, .band { min-width: 0; }
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem;
  padding: max(0.7rem, env(safe-area-inset-top)) 1.25rem 0.7rem;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { width: min(220px, 62vw); height: auto; }
.nav-check { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.nav-toggle { display: none; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--navy-deep); }
.nav-toggle .when-open { display: none; }
.nav-check:checked + .nav-toggle .when-open { display: inline; }
.nav-check:checked + .nav-toggle .when-closed { display: none; }
.nav-check:focus-visible + .nav-toggle { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-nav { display: flex; gap: 0.95rem; align-items: center; }
.site-nav a { color: var(--navy-deep); text-decoration: none; font-size: 0.95rem; font-weight: 520; }
.site-nav a[aria-current="page"] { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0.65rem 1.15rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; font-weight: 650; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #1e3a56; }
.btn-primary:hover { background: #ddb04a; color: #1e3a56; }
.btn-ghost { border-color: var(--navy); color: var(--navy-deep); background: transparent; }
.header-cta { white-space: nowrap; }
.hero { padding: 3.2rem 0 1.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.kicker { color: var(--gold-deep); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 0.8rem; font-weight: 650; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 42rem; }
h1 em { font-style: italic; color: var(--gold-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 1.4rem 0 0; }
.stats div { border-top: 2px solid var(--gold); padding-top: 0.6rem; }
.stats dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.stats dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-deep); }
.journey { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(30, 58, 86, 0.08); background: #d7e6ef; }
.journey img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.trip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trip-card { padding: 0; overflow: hidden; }
.trip-card img, .route-hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; background: #d7e6ef; }
.route-hero { border-radius: 20px; margin: 0.4rem 0 0.2rem; }
.trip-body { padding: 1rem 1.15rem 1.2rem; }
.expired-mark { display: inline-block; margin: 0 0 0.45rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: #f3e6d4; color: #6b4a1b; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.expired-packages { margin-top: 2.6rem; }
.expired-packages .trip-grid { margin-top: 1rem; }
.place-note { color: var(--muted); margin: 1.1rem 0 0; }
.section { padding: 2.8rem 0; }
.section-lead { color: var(--muted); max-width: 46rem; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; flex-wrap: wrap; }
.answer-list, .grid-2, .gallery-grid, .video-grid { display: grid; gap: 1rem; }
.answer-list, .grid-2, .video-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
.answer, .card, .band, .film, .shot {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 1.15rem 1.2rem;
  box-shadow: 0 10px 24px rgba(30, 58, 86, 0.04);
}
.card .meta, .shot p, .film p, .fine, .frame figcaption { color: var(--muted); }
.text-link { font-weight: 650; }
.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.2rem; align-items: start; }
.steps { margin: 0; padding-left: 1.2rem; }
.steps li { margin: 0 0 0.9rem; }
.wide { margin-top: 1.2rem; }
.shot { padding: 0.55rem; }
.shot img, .frame img, .photo-set img { width: 100%; border-radius: 16px; aspect-ratio: 16/10; object-fit: cover; }
.shot-set, .photo-set { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
.shot-set.single, .photo-set.single { grid-template-columns: 1fr; }
.photo-set { margin-bottom: 1rem; }
.feature-photo { margin: 0 0 1rem; }
.feature-photo button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; position: relative; }
.feature-photo img { width: 100%; border-radius: 20px; aspect-ratio: 16/10; object-fit: cover; }
.photo-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; list-style: none; padding: 0; margin: 1.2rem 0 1rem; }
.photo-thumbs button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; position: relative; }
.photo-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.photo-thumbs p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9rem; }
.photo-viewer { border: 0; padding: 1rem; width: min(1120px, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); background: #102033; color: #f4efe4; border-radius: 18px; }
.photo-viewer::backdrop { background: rgba(16, 32, 51, 0.82); }
.viewer-frame img, .viewer-frame iframe { width: 100%; max-height: 68vh; object-fit: contain; border-radius: 12px; background: #0c1826; }
.viewer-frame iframe { aspect-ratio: 16/9; border: 0; display: block; }
.film-card { display: block; position: relative; }
.play-mark { position: absolute; left: 0.8rem; bottom: 0.8rem; background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 0.35rem 0.7rem; font-weight: 650; }
.photo-thumbs .play-mark { left: 0.45rem; bottom: 0.45rem; padding: 0.25rem 0.55rem; font-size: 0.85rem; }
.viewer-controls { display: flex; justify-content: space-between; gap: 0.7rem; margin-top: 0.8rem; }
.viewer-close { margin-left: auto; display: flex; margin-bottom: 0.6rem; background: transparent; color: #f4efe4; border: 1px solid #f0d48a; border-radius: 999px; min-height: 40px; padding: 0.35rem 0.9rem; }
.viewer-note { min-height: 1.4em; margin: 0.7rem 0 0; color: #d5deea; }
.film-set { display: grid; gap: 0.75rem; margin-bottom: 0.8rem; }
.film-set .yt, .film-set .yt-frame { width: 100%; }
.shot h3 { font-size: 1.2rem; margin: 0.7rem 0.4rem 0.2rem; }
.shot p { margin: 0 0.4rem 0.5rem; }
.yt, .yt-frame { display: block; width: min(100%, 860px); aspect-ratio: 16/9; border: 0; border-radius: 18px; position: relative; overflow: hidden; background: #102033; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.yt span { position: absolute; left: 1rem; bottom: 1rem; background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 650; }
.page-hero { padding: 2.6rem 0 0.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; list-style: none; padding: 0; margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }
.prose { max-width: 74ch; }
td, th, .lead, .fine { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 520; width: 34%; }
.plain { padding-left: 1.1rem; }
.form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
input, textarea, button { font: inherit; color: inherit; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.8rem; }
.form input, .form textarea, .form button { width: 100%; max-width: 100%; font-size: 16px; }
textarea { min-height: 140px; resize: vertical; }
.form button, button.btn { background: var(--gold); color: var(--navy-deep); border: 0; font-weight: 650; }
.note { padding: 0.9rem 1rem; border-radius: 14px; background: #f3f7f2; border: 1px solid #b7d2be; }
.note.bad { background: #fdecec; border-color: #e3a3a3; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.empty { color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; padding: 1.2rem; }
.site-footer { background: var(--navy-deep); color: #f4efe4; padding: 2.4rem 0 calc(1.3rem + env(safe-area-inset-bottom)); margin-top: 2rem; }
.site-footer a { color: #f0d48a; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.4rem; }
.foot-logo { width: 190px; background: white; border-radius: 12px; padding: 0.35rem 0.5rem; margin-bottom: 0.8rem; }
.legal { color: #d5deea; font-size: 0.88rem; margin-top: 1.2rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; background: white; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0.15rem; padding: 0.35rem 0 0.2rem; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .nav-check:checked ~ .site-nav { display: flex; }
  .header-cta { display: none; }
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.2rem 0 1rem; }
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .answer-list, .grid-2, .trip-grid, .video-grid, .gallery-grid, .photo-set { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .lead { font-size: 1.05rem; }
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
@media (max-height: 480px) and (orientation: landscape) {
  .hero, .page-hero { padding-top: 1.2rem; }
  h1 { font-size: 2.2rem; }
}

.site-nav .nav-list { display: flex; gap: 0.95rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav .nav-list a { color: var(--navy-deep); text-decoration: none; font-size: 0.95rem; font-weight: 520; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.brand .custom-logo-link { display: flex; }
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 1100px) {
  .site-nav .nav-list { flex-direction: column; align-items: stretch; width: 100%; }
}
