/* Traveling Portrait — expedition theme (navy / cyan, from the logo).
   One layer: tokens, base, layout, components, pages, responsive. */

:root {
  --bg: #071727;
  --bg-deep: #06090f; /* the near-black navy of travelingportrait.co */
  /* Soft light glows on the deep sections, matching travelingportrait.co. */
  --glow: radial-gradient(40% 35% at 18% 12%, rgba(61, 184, 244, .16), transparent 70%),
          radial-gradient(35% 30% at 85% 20%, rgba(91, 108, 255, .10), transparent 70%),
          radial-gradient(45% 40% at 70% 85%, rgba(7, 92, 122, .22), transparent 70%),
          radial-gradient(30% 30% at 10% 80%, rgba(2, 200, 146, .07), transparent 70%);
  --surface: #0b2337;
  --surface-2: #102e45;
  --line: #233a4c;
  --line-strong: #385264;
  --ink: #ecf6fb;
  --ink-soft: #d4e2ea;
  --muted: #a6bccb;
  --cyan: #0edac7;
  --blue: #0879f4;
  --cyan-ink: #031a2c;
  --gradient: linear-gradient(110deg, #05dac5, #0879f4);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --header-h: 84px;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
/* <picture> only picks AVIF or JPEG; the <img> inside lays out as if it were the direct child. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--cyan-ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ── Type ── */
h1 { font: 700 clamp(3.2rem, 7.5vw, 7rem)/0.94 var(--display); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font: 600 clamp(2.4rem, 4.4vw, 4rem)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--cyan); }
.h-small { font: 700 1rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; margin-bottom: 0.9rem; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 1.1rem; font: 700 0.8rem/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero-lede, .body-lg { font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); max-width: 36rem; }
.optional { color: var(--muted); font-weight: 400; }

/* ── Buttons & links ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 4px; padding: 16px 24px; background: var(--gradient); color: var(--cyan-ink); font-weight: 800; font-size: 0.92rem; line-height: 1.2; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn svg, .text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-small { padding: 11px 16px; font-size: 0.85rem; }
/* Manrope tops out at 800, so a faint stroke makes these two read heavier at the same size. */
.header-cta, .closing .btn { -webkit-text-stroke: 0.4px currentColor; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .6; transform: none; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: 0.92rem; border-bottom: 1px solid #0edac766; padding-bottom: 4px; }
.text-link:hover { border-color: var(--cyan); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); background: #081b2df2; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -0.015em; white-space: nowrap; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { position: relative; padding: 8px 0; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan); }
/* Saved adventures: a heart button beside the main call to action, with a count badge. */
.saved-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-soft); transition: color .2s, border-color .2s; }
.saved-link + .header-cta { margin-left: -14px; }
.saved-link:hover, .saved-link[aria-current] { color: var(--cyan); border-color: var(--cyan); }
.saved-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.saved-link.has-saved svg { fill: currentColor; color: var(--cyan); }
.saved-badge { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--cyan); color: var(--cyan-ink); font-size: 0.7rem; font-weight: 800; line-height: 19px; text-align: center; }
.saved-badge:empty { display: none; }

/* Featured (bookable) experience on the home page */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid #a0bee626; border-radius: var(--radius); overflow: hidden; background: #0b1d2ecc; }
.featured-photo { position: relative; display: block; min-height: 460px; background: var(--surface); }
.featured-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured-body .exp-meta { margin-top: 0; }
.featured-body h3 { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--display); text-transform: uppercase; margin: 4px 0 14px; }
.featured-body h3 a:hover { color: var(--cyan); }
.featured-promise { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; margin-bottom: 22px; }
.featured-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0 0 6px; padding: 18px 0; border-block: 1px solid #a0bee61f; }
.featured-facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.featured-facts dd { margin: 2px 0 0; font-weight: 600; }
.featured-facts .season { display: block; white-space: nowrap; }
.featured-facts dd strong { color: var(--cyan); }
.upcoming { margin-top: clamp(48px, 6vw, 72px); }
.upcoming-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid #a0bee61f; }
.upcoming-head h3 { font: 600 1.8rem/1 var(--display); text-transform: uppercase; }
.upcoming-head p { margin: 0; color: var(--muted); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 4px; background: none; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ── Hero (home + experience) ── */
.hero, .exp-hero { position: relative; min-height: min(calc(100svh - var(--header-h)), 960px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero { min-height: max(640px, min(calc(100svh - var(--header-h)), 960px)); }
.exp-hero { min-height: max(560px, min(calc(88svh - var(--header-h)), 860px)); }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--surface); }
.hero-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; animation: drift 30s ease-out both; }
.hero.is-changing .hero-img { opacity: 0; }
/* Neutral black shading, only where the text sits (left and bottom); the rest of the
   photo stays untouched. A faint top band keeps the caption readable. */
.hero-media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .40) 40%, rgba(0, 0, 0, 0) 70%),
  linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 38%),
  linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 16%); }
.hero h1, .exp-hero h1, .hero-lede, .hero .eyebrow, .exp-hero .eyebrow, .crumbs { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
/* Small teal type over bright rock needs a tighter shadow than the headline to stay legible. */
.hero .eyebrow, .exp-hero .eyebrow { text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 1px 18px rgba(0, 0, 0, .45); }
.hero-inner { padding: 64px var(--gutter) 48px; max-width: 1100px; }
.hero h1, .exp-hero h1 { margin-bottom: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; align-items: center; }
.hero-switches { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1px; margin: 0 var(--gutter) 28px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; max-width: calc(var(--n, 3) * 290px); }
.hero-switch { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; background: rgba(8, 10, 14, .55); backdrop-filter: blur(10px); text-align: left; transition: background .2s; }
.hero-switch .n { font: 600 1.6rem/1 var(--display); color: var(--muted); }
.hero-switch strong { display: block; font-size: 0.95rem; }
.hero-switch small { display: block; font-size: 0.78rem; color: var(--muted); }
.hero-switch[aria-pressed="true"] { background: #0edac71f; box-shadow: inset 0 -2px var(--cyan); }
.hero-switch[aria-pressed="true"] .n { color: var(--cyan); }
.hero-caption { position: absolute; right: var(--gutter); top: 24px; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px); font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero-caption:hover { background: rgba(0, 0, 0, .55); }
.hero-caption svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--ink); }

.ticker { display: flex; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); background: var(--surface); border-block: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticker span::before { content: '✧'; color: var(--cyan); margin-right: 10px; }

/* ── Sections ── */
.section { padding: clamp(64px, 9vw, 112px) var(--gutter); }
.section-panel { background: var(--surface); border-block: 1px solid var(--line); }
.section-deep { background: var(--glow), var(--bg-deep); border-block: 1px solid #a0bee617; }
.section-deep .exp-foot { border-color: #a0bee61f; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head > p { max-width: 24rem; color: var(--muted); font-size: 0.95rem; margin: 0; }
.page-head { padding: clamp(56px, 8vw, 100px) var(--gutter) 40px; max-width: 1000px; }
.page-head h1 { margin-bottom: 1.2rem; }
.page-head.center { margin: 0 auto; text-align: center; padding-bottom: 120px; }
.page-head.center .eyebrow, .page-head.center .hero-ctas { justify-content: center; }
.page-head.center .hero-lede { margin-inline: auto; }

/* ── Experience cards ── */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exp-grid-2, .exp-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.exp-grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.exp-grid[data-count="4"] .exp-card h3 { font-size: 1.25rem; }
.exp-card { position: relative; display: flex; flex-direction: column; }
.exp-card-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.exp-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.exp-card:hover .exp-card-photo img { transform: scale(1.04); }
.exp-card-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, #05182b99, transparent); }
.exp-num { position: absolute; left: 18px; bottom: 14px; z-index: 1; font: 600 3.4rem/1 var(--display); color: #ffffffb3; }
.tag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 7px 10px; background: #071b2de0; border: 1px solid #59768b55; border-radius: 3px; font-size: 0.76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tag-open { background: var(--cyan); color: var(--cyan-ink); border-color: var(--cyan); }
.tag-waitlist { color: var(--ink-soft); }
.pilot-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.exp-meta { margin: 18px 0 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5fc9cc; }
.exp-card h3 { font: 700 1.4rem/1.25 var(--sans); letter-spacing: -0.02em; margin-bottom: 8px; }
.exp-card h3 a:hover { color: var(--cyan); }
.exp-card h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.exp-promise { color: var(--muted); font-size: 0.95rem; flex: 1; }
.exp-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.exp-foot strong { color: var(--ink); }

/* Save (heart) */
.save { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: #09253ed9; border-radius: 999px; padding: 9px 14px; font-size: 0.85rem; font-weight: 700; position: relative; z-index: 2; }
.save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.save[aria-pressed="true"] { background: var(--cyan); color: var(--cyan-ink); border-color: var(--cyan); }
.save[aria-pressed="true"] svg { fill: currentColor; }
.save.on-photo { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; justify-content: center; }
.save.on-photo .save-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-ghost { padding: 15px 20px; border-radius: 4px; background: transparent; }

/* ── How it works ── */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: r; }
.route li { position: relative; padding-top: 30px; }
.route li::before { content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px #0edac714; }
.route li:not(:last-child)::after { content: ''; position: absolute; top: 5px; left: 24px; right: -14px; border-top: 1px dashed #3d7187; }
.route span { font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; color: var(--cyan); }
.route h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.route p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ── Editorial ── */
.editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-block: 1px solid var(--line); }
.editorial-photo { position: relative; min-height: 560px; }
.editorial-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-copy { align-self: center; padding: clamp(40px, 7vw, 96px); }
.editorial-copy p:not(.eyebrow) { color: var(--ink-soft); margin-top: 1.4rem; max-width: 32rem; }
.caption, figcaption { font-size: 0.86rem; color: var(--muted); letter-spacing: .03em; }

/* ── Meet ── */
.meet { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.meet-copy p:not(.eyebrow) { color: var(--ink-soft); margin: 1.2rem 0 1.6rem; max-width: 34rem; }
.meet-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.meet-facts li { display: flex; align-items: baseline; gap: 18px; padding: 22px 26px; background: var(--bg); }
.meet-facts strong { font: 600 3rem/1 var(--display); color: var(--cyan); min-width: 1.2em; }
.meet-facts span { color: var(--ink-soft); }

/* ── Guides ── */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.guide-cards[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.guide-cards[data-count="2"], .guide-cards[data-count="1"] { grid-template-columns: repeat(2, 1fr); }
.guide-cards a { display: flex; flex-direction: column; gap: 8px; font-weight: 700; line-height: 1.4; }
.guide-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); margin-bottom: 6px; }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.guide-cards a:hover .guide-photo img { transform: scale(1.04); }
.guide-where { font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.guide-cards a:hover .guide-title { color: var(--cyan); }
.guide-title svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: -2px; margin-left: 4px; }
.guide-more { margin: clamp(28px, 4vw, 40px) 0 0; }
.hero-aside { margin: 1.1rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.hero-aside a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 700; border-bottom: 1px solid #0edac766; }
.hero-aside a:hover { border-color: var(--cyan); }
.hero-aside svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.closing { text-align: center; background: radial-gradient(ellipse at center, #08384a77, transparent 65%); }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin-bottom: 2rem; }

/* ── Experience page ── */
.facts-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: var(--surface); }
.facts-bar div { padding: 22px var(--gutter); border-right: 1px solid var(--line); }
.facts-bar div:first-child { padding-left: var(--gutter); }
.facts-bar div:not(:first-child) { padding-left: 28px; }
.facts-bar div:last-child { border-right: 0; }
.facts-bar span { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts-bar strong { font-weight: 600; }
.facts-bar strong strong { color: var(--cyan); }
.facts-bar small { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
.pilot-note { margin: 0; padding: 16px var(--gutter); background: #0edac714; border-bottom: 1px solid #0edac744; font-size: 0.92rem; color: var(--ink-soft); }
.pilot-note strong { color: var(--cyan); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split h2 { margin-bottom: 1.4rem; }
.original { margin: 0; }
.original img { border-radius: var(--radius); width: 100%; max-height: 78vh; object-fit: cover; }
.original figcaption { margin-top: 10px; }
.prose p { color: var(--ink-soft); }
.prose p.body-lg { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline li { background: var(--bg); padding: 26px 24px; }
.timeline span { font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.timeline h3 { font-size: 1.1rem; margin: 8px 0; }
.timeline p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery-1 { grid-template-columns: 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery-1 img { aspect-ratio: auto; }
/* Five photos: three across, then two wider ones. */
.gallery-5 { grid-template-columns: repeat(6, 1fr); }
.gallery-5 figure { grid-column: span 2; }
.gallery-5 figure:nth-child(n+4) { grid-column: span 3; }
.gallery-5 figure:nth-child(n+4) img { aspect-ratio: 3 / 2; }
.gallery figcaption { margin-top: 8px; }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li { position: relative; padding: 0 0 12px 28px; color: var(--ink-soft); font-size: 0.95rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.crosses li::before { content: '–'; position: absolute; left: 4px; color: var(--muted); }
.know { margin: 0; font-size: 0.95rem; }
.know dt { font-weight: 700; margin-top: 10px; }
.know dt:first-child { margin-top: 0; }
.know dd { margin: 2px 0 0; color: var(--ink-soft); }

/* ── Request form ── */
.request-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; background: var(--surface); border-block: 1px solid var(--line); }
.request-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.request-intro h2 { margin-bottom: 1.2rem; }
.request-intro > p { color: var(--ink-soft); }
.guides-mini { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.guides-mini ul { margin: 0; padding-left: 1.1rem; }
.guides-mini li { margin-bottom: 6px; font-size: 0.92rem; }
.guides-mini a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.guides-mini a:hover { color: var(--cyan); }
.request { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.request > .field.full { margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--surface-2); border: 1px solid #34566e; border-radius: 4px; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.field input::placeholder, .field textarea::placeholder { color: #6f8ba0; }
.fineprint { margin: 14px 0 0; font-size: 0.86rem; color: var(--muted); text-align: center; }

/* ── Atlas ── */
.atlas { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 0; margin: 0 var(--gutter) clamp(64px, 8vw, 100px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 560px; }
.atlas-list { list-style: none; margin: 0; padding: 12px; background: var(--surface); }
.atlas-list li { display: flex; align-items: center; gap: 12px; padding: 10px; border-bottom: 1px solid var(--line); }
.atlas-list button { flex: 1; display: flex; align-items: center; gap: 14px; border: 0; background: none; text-align: left; padding: 6px; border-radius: 4px; }
.atlas-list button.active, .atlas-list button:hover { background: #0edac714; }
.atlas-list img { width: 64px; height: 72px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.atlas-list small { display: block; font-size: 0.75rem; color: var(--muted); }
.atlas-list strong { display: block; font-size: 1rem; line-height: 1.3; }
.atlas-map { min-height: 560px; background: #0b293f; }
.pin span { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pin-exp span { background: var(--cyan); border: 3px solid var(--bg); box-shadow: 0 0 0 6px #0edac733, 0 0 24px #0edac788; }
.pin-place span { background: #8ba4b6aa; border: 2px solid var(--bg); }
.leaflet-container { font-family: var(--sans); background: #0b293f; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.leaflet-popup-content { margin: 12px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.pop { display: block; width: 200px; }
.pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.pop small { display: block; color: var(--muted); font-size: 0.72rem; }
.pop strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.pop em { display: block; font-style: normal; color: var(--cyan); font-size: 0.82rem; margin-top: 4px; }

/* ── Field notes, FAQ ── */
.empty { padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; background: var(--surface); }
.empty p { color: var(--muted); }
.empty[hidden] { display: none; }
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--cyan); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { color: var(--ink-soft); margin: 0 0 20px; max-width: 42rem; }

/* ── Proof ── */
.meet-portrait { margin: 0 0 22px; }
.meet-portrait img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-strong); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes-1 { grid-template-columns: minmax(0, 780px); }
.quotes-2 { grid-template-columns: repeat(2, 1fr); }
.quote { margin: 0; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.quote figcaption strong { display: block; color: var(--cyan); }
.quote figcaption span { display: block; font-size: 0.85rem; color: var(--muted); }
.gallery-4 { grid-template-columns: repeat(2, 1fr); }

/* ── Legal pages ── */
.legal { max-width: 820px; }
.legal h2 { font: 700 1.2rem/1.4 var(--sans); text-transform: none; letter-spacing: -0.01em; margin: 2.2rem 0 0.7rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4rem; }
.legal a, .fineprint a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.footer-legal a { display: inline-block; padding: 12px 4px; margin: -12px 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--cyan); }

/* ── Footer ── */
.site-footer { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 64px var(--gutter) 40px; background: radial-gradient(40% 60% at 85% 100%, rgba(7, 92, 122, .18), transparent 70%), var(--bg-deep); border-top: 1px solid #a0bee617; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { font: 700 0.75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-cols a { display: block; padding: 4px 0; font-size: 0.9rem; color: var(--ink-soft); }
.footer-cols a:hover { color: var(--cyan); }
.footer-legal { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 120px); opacity: 0; transition: .3s; background: var(--cyan); color: var(--cyan-ink); font-weight: 700; padding: 13px 22px; border-radius: 6px; font-size: 0.92rem; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .exp-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 1000px) {
  .site-nav { gap: 20px; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .route, .timeline { grid-template-columns: repeat(2, 1fr); }
  .route li:nth-child(2)::after { display: none; }
  .details { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .facts-bar div:nth-child(2) { border-right: 0; }
  .facts-bar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts-bar div:nth-child(3) { padding-left: var(--gutter); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .menu-btn { display: grid; margin-left: 0; }
  .site-header { gap: 12px; }
  .saved-link { margin-left: auto; width: 44px; height: 44px; border-radius: 4px; }
  .header-cta { display: none; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: #081b2d; border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current]::after { display: none; }
  .site-nav a[aria-current] { color: var(--cyan); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .editorial, .meet, .split, .request-section, .featured { grid-template-columns: 1fr; }
  .featured-photo { min-height: 340px; }
  .editorial-photo { min-height: 420px; }
  .request-intro { position: static; }
  .atlas { grid-template-columns: 1fr; }
  .atlas-map { min-height: 420px; order: -1; }
  .guide-cards, .guide-cards[data-count] { grid-template-columns: repeat(2, 1fr); }
  .hero-caption { display: none; }
  .ticker span:nth-child(n+3) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand { font-size: 1.05rem; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .hero-inner { padding-top: 48px; padding-bottom: 28px; }
  /* On phones the text covers most of the photo, so the shade is more even. */
  .hero-media::after { background: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .48) 45%, rgba(0, 0, 0, .40) 100%); }
  .hero-switches { grid-template-columns: 1fr; margin-bottom: 20px; }
  .hero-switch { padding: 12px 14px; }
  .hero-switch .n { font-size: 1.3rem; }
  .guide-cards, .guide-cards[data-count] { gap: 24px 14px; }
  .guide-cards a { font-size: 0.92rem; }
  .exp-grid, .exp-grid-2, .exp-grid[data-count], .route, .timeline, .gallery, .gallery-2, .gallery-4, .details, .quotes, .quotes-2 { grid-template-columns: 1fr; }
  .route li::after { display: none; }
  .gallery-5 figure, .gallery-5 figure:nth-child(n+4) { grid-column: auto; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .facts-bar div, .facts-bar div:not(:first-child), .facts-bar div:nth-child(3) { padding: 16px; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .ticker { font-size: 0.7rem; }
  .ticker span:nth-child(n+2) { display: none; }
  .hero-ctas .btn, .hero-ctas .save { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Hero sizing for laptop screens ──
   Headlines scale with the screen's height as well as its width, so a 14" laptop
   (wide but short) gets type that fits rather than poster-sized type over the photo. */
.hero h1, .exp-hero h1 { font-size: clamp(2.8rem, min(6.4vw, 9svh), 7rem); }

/* Laptop and desktop: a split hero. Text sits on the deep navy panel; the photo fills
   the right side at full height in a near-square frame, so it isn't cropped down to a
   thin band, and fades into the navy along its left edge. Phones and tablets keep the
   full-bleed layout above. */
@media (min-width: 1200px) {
  .hero, .exp-hero { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); grid-template-rows: 1fr auto; background: var(--glow), var(--bg-deep); }
  .hero { min-height: clamp(600px, calc(100svh - var(--header-h)), 920px); }
  .exp-hero { min-height: clamp(560px, calc(90svh - var(--header-h)), 860px); }
  :is(.hero, .exp-hero) .hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1 / span 2; overflow: hidden; }
  /* Absolute, so the square photo fills the panel instead of setting the hero's height. */
  :is(.hero, .exp-hero) .hero-img { position: absolute; inset: 0; }
  :is(.hero, .exp-hero) .hero-media::after { background:
    linear-gradient(90deg, rgba(6, 9, 15, .7) 0%, rgba(6, 9, 15, .25) 8%, rgba(6, 9, 15, 0) 18%),
    linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 16%); }
  :is(.hero, .exp-hero) .hero-inner { grid-column: 1; grid-row: 1; align-self: center; max-width: none; padding: 40px clamp(24px, 3vw, 56px) 24px var(--gutter); }
  .hero h1 { font-size: clamp(2.8rem, min(4.6vw, 8.4svh), 6rem); margin-bottom: 1.1rem; }
  :is(.hero, .exp-hero) :is(h1, .hero-lede, .eyebrow, .crumbs) { text-shadow: none; }
  .exp-hero h1 { font-size: clamp(2.6rem, min(4.2vw, 8svh), 5.6rem); }
  .hero .eyebrow { letter-spacing: .12em; }
  :is(.hero, .exp-hero) .hero-lede { font-size: 1rem; line-height: 1.7; max-width: 30rem; }
  :is(.hero, .exp-hero) .hero-ctas { margin-top: 1.5rem; }
  .hero .hero-switches { grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1fr; max-width: 34rem;
    margin: 0 clamp(24px, 3vw, 56px) clamp(24px, 4svh, 48px) var(--gutter); }
  .hero .hero-switch { padding: 12px 16px; background: rgba(255, 255, 255, .03); backdrop-filter: none; }
  .hero .hero-switch:hover { background: rgba(255, 255, 255, .07); }
  .hero .hero-switch .n { font-size: 1.3rem; }
}
