:root {
  /* Light paper + blue palette */
  --paper: #f3f2ea;
  --paper-2: #eae9df;
  --line: #d6d6cb;
  --ink: #0b1f33;       /* deep navy text */
  --muted: #5d6b78;
  --navy: #0e2a47;
  --blue: #1d5fbf;      /* primary */
  --ocean: #1b7fb3;
  --sky: #7fb8f0;
  --foam: #dce9f5;
  --wa: #25d366;

  --radius: 10px;
  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.165, .84, .44, 1);
  --header-h: 68px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 500; line-height: .98; letter-spacing: -.035em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
a { color: inherit; }
img { max-width: 100%; }

.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; text-transform: uppercase; }
.label { color: var(--blue); margin: 0 0 1.2em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 46ch; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 840px; }
.section { padding-top: 128px; }

/* Folder-shaped media (see the <clipPath> in index.html) */
.folder-img { clip-path: url(#folder); display: block; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 1rem var(--sans); text-decoration: none;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ── Header ──────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 calc(var(--gutter) + 14px);
  background: var(--paper);
}
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.lang button {
  font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 4px 2px;
  color: var(--muted); cursor: pointer;
}
.lang button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang button:hover { color: var(--blue); }
.logo { text-decoration: none; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--blue); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  height: 100vh; height: 100svh; min-height: 560px;
  padding: calc(var(--header-h) - 22px) var(--gutter) var(--gutter);
}
.hero-frame {
  position: relative; height: 100%; color: #fff;
  clip-path: url(#folder);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,51,0) 55%, rgba(11,31,51,.55) 100%),
    url("images/hero.svg") center 30% / cover no-repeat,
    #0b1f33;
}
/* Headline + conditions sit low-left, on the land part of the map.
   `right` keeps them clear of the cut corner at the bottom right. */
.hero-copy {
  position: absolute; left: clamp(20px, 4vw, 56px); right: max(22%, 20px);
  bottom: clamp(24px, 6vh, 64px);
}
.hero-copy .label { color: var(--foam); }
.hero-copy h1 { font-size: clamp(2.6rem, min(6.2vw, 11vh), 6rem); margin-bottom: .4em; }

.hud {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: clamp(20px, 4vh, 36px); padding-top: 14px; max-width: 720px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
}
.hud > div { white-space: nowrap; }
.hud-k { color: var(--sky); margin-right: 8px; }

/* ── Trips: sticky map + folders ─────────────────────── */
.trips { padding-top: 128px; }
.section-head { margin-bottom: 56px; }
.trips-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.trips-side {
  position: sticky; top: calc(var(--header-h) + 8px);
  height: calc(100vh - var(--header-h) - 40px); min-height: 640px;
  display: grid; grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px;
}
.trip-photo { margin: 0; position: relative; clip-path: url(#folder); background: var(--foam); }
.trip-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s var(--ease);
}
.trip-photo img.is-active { opacity: 1; }
.trip-photo::after {
  content: ""; position: absolute; inset: 55% 0 0 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(11,31,51,.7));
}
.trip-photo figcaption {
  position: absolute; left: 20px; bottom: 16px; right: 30%; z-index: 1;
  color: #fff;
}
#route-map { height: 100%; border-radius: var(--radius); background: var(--paper-2); }
.map-caption { color: var(--muted); margin: 0; }

.folders { padding-bottom: 24vh; }
.folder {
  --stack: 54px;
  position: sticky;
  top: calc(var(--header-h) + 8px + var(--i) * var(--stack));   /* tabs pile up like a file drawer */
  margin-top: 28vh;
  height: calc(100vh - var(--header-h) - 60px - var(--i) * var(--stack));
  min-height: 440px;
  clip-path: url(#folder-card);
  background: var(--bg);
  color: var(--fg);
  padding: clamp(64px, 11%, 96px) clamp(22px, 3vw, 40px) clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
}
.folder:first-child { margin-top: 0; }
.folder-tab {
  position: absolute; top: 14px; right: 28px; left: 62%;
  display: flex; justify-content: space-between; gap: 10px; opacity: .85;
}
.folder .kicker { opacity: .75; margin: 0; }
.folder h3 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0; }
.folder .route { margin: 0; opacity: .75; }
.folder p { margin: 0; }
.folder .text { font-size: 1.1rem; max-width: 40ch; }
.specs { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); }
.specs li { padding: 14px 8px 0 0; display: grid; gap: 4px; }
.specs span { opacity: .65; }
.specs strong { font-weight: 700; font-size: .85rem; }
.level-note { font-size: .92rem; opacity: .75; }
.folder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.folder .btn-outline:hover { background: var(--fg); color: var(--bg); }

/* Leaflet tweaks */
.map-tiles { filter: saturate(.55) hue-rotate(-8deg) brightness(1.03); }   /* soften OSM colours toward the palette */
.leaflet-container { font-family: var(--mono); background: var(--paper-2); }
.leaflet-tooltip {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; box-shadow: none;
}
.leaflet-tooltip:before { display: none; }
.leaflet-control-attribution { background: rgba(243,242,234,.8) !important; }
.pulse-icon { border-radius: 50%; background: var(--c); border: 2px solid #fff; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); }
  100% { box-shadow: 0 0 0 18px transparent; }
}

/* ── Dates ───────────────────────────────────────────── */
.dates { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.date-item {
  display: grid; grid-template-columns: 3.5ch 1fr auto; gap: 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.date-item .n { color: var(--muted); }
.date-item strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; display: block; }
.date-item .sub { color: var(--muted); }

/* ── Michel ──────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.about-photo figcaption { color: var(--muted); margin-top: 12px; }
.about-text p { font-size: 1.08rem; }
.stats { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding-top: 14px; display: grid; gap: 4px; }
.stats strong { font: 500 clamp(1.8rem, 3vw, 2.6rem) var(--sans); letter-spacing: -.03em; text-transform: none; color: var(--blue); }
.stats span { color: var(--muted); }
.link { color: var(--blue); text-decoration: none; }

/* ── Form ────────────────────────────────────────────── */
.enquiry { display: grid; gap: 22px; margin-top: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { color: var(--muted); padding: 0; margin-bottom: 8px; }
.field em { font-style: normal; opacity: .7; }
.field input, .field select, .field textarea {
  font: 400 1.05rem var(--sans); color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius); width: 100%;
  border: 1px solid var(--line); background: #fbfbf7;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #fbfbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d5fbf' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.enquiry .btn-wa { justify-self: start; }
.form-sent { margin: 0; color: var(--blue); }
.form-sent a { color: var(--blue); }
.form-note { margin: 0; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────── */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 32px; }
summary { font-size: 1.25rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-family: var(--mono); color: var(--blue); }
details[open] summary::after { content: "–"; }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); }

/* ── Footer ──────────────────────────────────────────── */
.footer { margin-top: 160px; padding-bottom: var(--gutter); }
.footer-panel {
  clip-path: url(#folder-card);
  background: var(--navy); color: var(--paper);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 56px) 28px;
  overflow: hidden;
}
.footer .label { color: var(--sky); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-link { display: block; font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-decoration: none; letter-spacing: -.03em; line-height: 1.15; }
.footer-link:hover { color: var(--sky); }
.wordmark {
  text-transform: uppercase; letter-spacing: -.04em; line-height: .85; white-space: nowrap;
  font-size: 11.4vw; margin: 72px 0 0; color: var(--blue);
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; color: var(--sky); flex-wrap: wrap; padding-right: 12%; }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(11,31,51,.3);
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .header { padding: 0 var(--gutter); }
  .nav { display: none; }
  .hud { gap: 6px 18px; }
  .section, .trips { padding-top: 96px; }
  .trips-layout { grid-template-columns: 1fr; gap: 16px; }
  .trips-side { position: relative; top: auto; height: auto; min-height: 0; grid-template-rows: auto; }
  .trip-photo { aspect-ratio: 4 / 3; }
  #route-map { height: 52vh; min-height: 300px; }
  .map-caption { display: none; }
  .folder { position: relative; top: auto; height: auto; min-height: 0; margin-top: 16px; }
  .folder:first-child { margin-top: 0; }
  .folder-tab { left: 64%; right: 18px; }
  .folders { padding-bottom: 0; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

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

@media (max-width: 520px) {
  .header .btn { display: none; }   /* hero CTA + floating WhatsApp cover it on phones */
}
