/* Albania Plan, shared styles (November 2026)
   Postcard and timetable: Zodiak for the view, Switzer for the facts.
   The furgon card (white, red border, hand-set capitals) is the one brand object.
   See DESIGN.md. */

@font-face {
  font-family: "Zodiak";
  src: url("../fonts/zodiak-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("../fonts/zodiak-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0f2a31;
  --paper: #ffffff;
  --limestone: #eceeec;
  --sea: #0b5563;
  --sea-dark: #073f49;
  --shallows: #67cfcb;
  --flag: #d0121b;
  --slate: #4a5f64;
  --rule: #cfd6d4;
  --rule-dark: rgba(255, 255, 255, 0.16);
  --sun: #e8a64a;

  /* Kept so older component rules stay readable */
  --muted: var(--slate);
  --stone: var(--rule);
  --foam: var(--limestone);
  --shallow: var(--shallows);
  --sand: var(--limestone);

  --display: "Zodiak", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Switzer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 66ch;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow: 0 1px 2px rgba(15, 42, 49, 0.06), 0 18px 48px rgba(15, 42, 49, 0.16);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 48rem) { body { font-size: 1.125rem; } }

img, svg { max-width: 100%; display: block; }

a {
  color: var(--sea);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}
a:hover { color: var(--sea-dark); text-decoration-thickness: 2px; }

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

.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
@media (min-width: 64rem) { .wrap { width: min(100% - 5rem, 76rem); } }

/* Anchors land below the sticky header */
[id] { scroll-margin-top: 5.5rem; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--paper); padding: 0.6rem 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0 0 0.4em;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.9rem, 7.2vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h3 {
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 0.3rem;
}

p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 36ch; }
.muted { color: var(--slate); }

/* Prices, times and counts read like a timetable */
.board dd, .facts dd, .tier-total, .status, .months td, .val, .stop-when, .drive, .updated, td {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.75rem;
  padding-block: 0.7rem;
}

/* The logo is a furgon destination card */
.logo,
.sign {
  display: inline-block;
  font-family: var(--body);
  font-weight: 750;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  background: #fff;
  border: 3px solid var(--flag);
  border-radius: 2px;
}
.logo {
  font-size: 1.05rem;
  padding: 0.45rem 0.6rem 0.4rem;
  transform: rotate(-1.5deg);
  transition: transform 0.25s var(--ease);
}
.logo:hover { color: var(--ink); transform: rotate(0deg); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 0.45rem) / 0 1.5px no-repeat;
  transition: background-size 0.25s var(--ease), color 0.18s var(--ease);
}
.site-nav a:hover { color: var(--sea); background-size: 100% 1.5px; }
.site-nav .lang { color: var(--slate); font-weight: 400; }

/* Phones: a compact, non-sticky header so the page gets the screen */
@media (max-width: 40rem) {
  .site-header { position: relative; z-index: 40; }
  .site-nav ul { gap: 0 1.1rem; font-size: 0.95rem; }
  .site-nav .lang { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  background: var(--sea);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { background: var(--sea-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(7, 63, 73, 0.25); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* ---------- Home: photo hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #0b3d4a;
  min-height: clamp(36rem, calc(100svh - 3.9rem), 62rem);
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0b3d4a; }
.hero-media { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-media.is-active { opacity: 1; }
.hero-media img { object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: var(--kb-o, 50% 50%); }
.hero-media:first-child { --pos: 62% 45%; }
/* Deep-water scrim: open sea on the left carries the headline */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 27, 35, 0.8) 0%, rgba(3, 27, 35, 0.56) 36%, rgba(3, 27, 35, 0.1) 62%, rgba(3, 27, 35, 0) 74%),
    linear-gradient(0deg, rgba(3, 27, 35, 0.72) 0%, rgba(3, 27, 35, 0.2) 30%, rgba(3, 27, 35, 0) 48%),
    linear-gradient(180deg, rgba(3, 27, 35, 0.28) 0%, rgba(3, 27, 35, 0) 16%);
}
.hero-copy {
  position: relative;
  padding-top: clamp(4rem, 14vh, 8rem);
  padding-bottom: clamp(8rem, 16vh, 10.5rem);
}
.hero h1 {
  max-width: 12ch;
  margin-bottom: 0.32em;
  color: #fff;
  font-size: clamp(3.1rem, min(8.6vw, 13.5vh), 7.75rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.28);
}
/* Translated headlines run longer: set them a size down and a little wider */
html:not([lang="en"]) .hero h1 { font-size: clamp(2.7rem, min(7.2vw, 11.5vh), 6.5rem); max-width: 14ch; }
.hero .lead { color: #eaf6f5; font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34ch; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }

/* The hero photo's caption is a furgon card: where the picture is, and the way in */
.hero-place {
  position: absolute;
  right: max(1.25rem, calc((100vw - 76rem) / 2));
  bottom: clamp(7.5rem, 15vh, 9.5rem);
  display: grid;
  justify-items: end;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
}
.hero-place .sign { font-size: clamp(1.2rem, 2vw, 1.6rem); transform: rotate(-2.5deg); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); transition: transform 0.3s var(--ease); }
.hero-place-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 0.1rem;
}
.hero-place:hover { color: #fff; }
.hero-place:hover .sign { transform: rotate(0deg) translateY(-2px); }
.hero-place:focus-visible { outline-color: #fff; outline-offset: 6px; }

.photo-credit {
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.photo-credit a { color: inherit; }

@media (max-width: 40rem) {
  .hero { min-height: max(36rem, calc(100svh - 7.4rem)); }
  .hero-media:first-child { --pos: 70% 50%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(3, 27, 35, 0.3) 0%, rgba(3, 27, 35, 0) 22%, rgba(3, 27, 35, 0) 34%, rgba(3, 27, 35, 0.62) 58%, rgba(3, 27, 35, 0.86) 100%);
  }
  .hero-copy { padding-top: 6rem; padding-bottom: 5.6rem; }
  .hero-place { right: 1.25rem; top: 1.4rem; bottom: auto; }
  .photo-credit { top: auto; bottom: 5rem; right: 0.75rem; }
}

/* The one orchestrated moment: the photo settles, the headline rises, the card is propped up */
@media (prefers-reduced-motion: no-preference) {
  .hero-media.is-active img,
  .hero-media.is-leaving img { animation: drift-in 9s cubic-bezier(0.25, 0.1, 0.25, 1) both; }
  .hero h1 { animation: rise 1.1s var(--ease) 0.15s both; }
  .hero .lead { animation: rise 1.1s var(--ease) 0.35s both; }
  .hero-ctas { animation: rise 1.1s var(--ease) 0.5s both; }
  .hero-place { animation: prop 0.9s var(--ease) 0.75s both; }
  .hero-nav { animation: rise 1s var(--ease) 0.9s both; }
  .hero-place .sign.is-flipping { animation: flip 0.72s cubic-bezier(0.16, 1, 0.3, 1); }
  .planner-wrap { animation: rise 1s var(--ease) 0.55s both; }
}
@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes drift-in { from { transform: scale(1.12); } to { transform: scale(1.01); } }
/* A card swapped in the windscreen: it tips away, and the next one tips up */
@keyframes flip {
  0% { transform: rotate(-2.5deg) perspective(400px) rotateX(0); }
  42% { transform: rotate(-2.5deg) perspective(400px) rotateX(88deg); }
  43% { transform: rotate(-2.5deg) perspective(400px) rotateX(-88deg); }
  100% { transform: rotate(-2.5deg) perspective(400px) rotateX(0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
@keyframes prop { from { opacity: 0; transform: translateY(1rem) rotate(4deg); } to { opacity: 1; transform: none; } }

/* ---------- Planner ---------- */

.planner-wrap { position: relative; z-index: 2; margin-top: -5.5rem; }
@media (max-width: 40rem) { .planner-wrap { margin-top: 1.25rem; } }

.planner {
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 64rem) {
  .planner { grid-template-columns: auto auto 1fr auto; align-items: end; gap: 1.5rem 2.25rem; }
}
.planner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner legend { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; margin-bottom: 0.55rem; padding: 0; color: var(--slate); }

.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.2;
  background: #fff;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.choice input:hover + span { border-color: var(--sea); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sea); outline-offset: 2px; }
.planner .btn { min-height: 3.25rem; padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.when .mode { margin-bottom: 0.65rem; }
.choice-sm span { min-height: 2.5rem; padding: 0.35rem 0.85rem; font-size: 0.92rem; }
.dates { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.date { display: grid; gap: 0.25rem; font-size: 0.85rem; font-weight: 500; color: var(--slate); }
.date input {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  min-height: 2.75rem; padding: 0.5rem 0.7rem; min-width: 10rem; background: #fff;
  border: 1.5px solid var(--rule); border-radius: var(--radius);
}
.date input:hover { border-color: var(--sea); }
.date input:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-color: var(--sea); }
.form-error { color: var(--flag); font-weight: 600; font-size: 0.92rem; margin: 0.6rem 0 0; }
.form-error[hidden], #days-group[hidden], #dates-group[hidden] { display: none; }

/* Route result */
.route-result { padding-top: 3rem; }
.route-result[hidden] { display: none; }
.route-head { margin-bottom: 1.5rem; }
.route-head h2 { margin: 0 0 0.35rem; }
.route-head p { margin: 0; font-size: 1.1rem; }

.stops { list-style: none; margin: 0; padding: 0; position: relative; }
.stops::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.75rem;
  bottom: 0.75rem;
  border-left: 2px dashed var(--shallows);
}
.stop {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0 1rem;
  padding: 0.9rem 0;
}
.stop-dot {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600;
  display: grid; place-items: center; font-size: 0.95rem;
  position: relative; z-index: 1;
}
.stop h3 { font-family: var(--display); font-weight: 400; font-size: 1.85rem; line-height: 1; letter-spacing: -0.02em; margin: 0.1rem 0 0.35rem; }
.stop .stop-when { font-weight: 600; color: var(--sea); font-size: 0.95rem; margin: 0.35rem 0 0; }
.stop-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; align-items: baseline; margin-top: 0.35rem; }
.stay-link { font-weight: 600; font-size: 0.98rem; }
.stop p { margin: 0; color: var(--slate); }
.stop .stop-link { font-weight: 600; font-size: 0.98rem; }
.stop .soon { font-size: 0.95rem; color: var(--slate); }
.route-note { margin-top: 1rem; color: var(--slate); font-size: 0.95rem; }
.route-tip {
  margin: 1.25rem 0 0; padding: 0.9rem 1.1rem; max-width: 60ch;
  background: var(--limestone); border-left: 3px solid var(--sun); border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 500;
}
.route-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.5rem; }
.btn-outline { background: #fff; color: var(--sea); box-shadow: inset 0 0 0 1.5px var(--sea); }
.btn-outline:hover { background: var(--limestone); color: var(--sea-dark); box-shadow: inset 0 0 0 1.5px var(--sea-dark); }
.copy-status { font-size: 0.95rem; color: var(--slate); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-foam,
.section-sand { background: var(--limestone); }
.section-intro { max-width: 46ch; margin-bottom: 2.5rem; color: var(--slate); font-size: 1.08em; }

/* ---------- Price board: a dark timetable ---------- */

#prices { background: var(--ink); color: #e4eeee; }
#prices h2 { color: #fff; }
#prices .section-intro { color: #c3d3d4; }
#prices .muted { color: #9fb4b6; }
#prices a { color: #fff; }
#prices :focus-visible { outline-color: var(--shallows); }

.prices { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .prices { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 5rem; } }

.board { color: #fff; }
.board-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--shallows);
  margin: 0 0 0.5rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.board-title small { font-size: 0.88rem; font-weight: 400; color: #9fb4b6; }
.board dl { margin: 0; border-bottom: 1px solid var(--rule-dark); }
.board .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1.5rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--rule-dark);
}
.board dt { color: #dbe8e8; }
.board dd { margin: 0; text-align: right; font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
.board dd span { display: block; font-family: var(--body); font-size: 0.85rem; letter-spacing: 0; color: #9fb4b6; margin-top: 0.2rem; }
.board-foot { margin: 1.1rem 0 0; font-size: 0.9rem; color: #9fb4b6; }
.board-foot a { color: #fff; }

/* ---------- Destination postcards ---------- */

.dest-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 1.5rem; }
.dest-head h2 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: 0.92; letter-spacing: -0.035em; }

.posters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.75rem 1.75rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 44rem) {
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posters > .poster:first-child { grid-column: 1 / -1; }
  .posters > .poster:first-child .slides { aspect-ratio: 16 / 9; }
}
@media (min-width: 64rem) {
  .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
  .posters > .poster:first-child { grid-column: span 2; grid-row: span 2; }
  .posters > .poster:first-child .poster-media { flex: 1; display: flex; flex-direction: column; }
  .posters > .poster:first-child .poster-link { flex: 1; display: flex; flex-direction: column; }
  .posters > .poster:first-child .slides { aspect-ratio: auto; flex: 1; min-height: 26rem; }
  .posters > .poster:first-child .sign { font-size: 2.1rem; }
}
.poster { display: flex; flex-direction: column; min-width: 0; }

/* Rotating photos on destination postcards */
.poster-media { position: relative; }
.slides {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: #cdd9d6;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.slide.is-active { opacity: 1; animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.045); } to { transform: scale(1); } }
.poster-link { display: block; text-decoration: none; color: inherit; }
.poster-link .slide { transition: opacity 1.4s ease, filter 0.3s var(--ease); }
.poster-link:hover .slide.is-active { filter: saturate(1.12) brightness(1.04); }
/* soft shade at the bottom so the dots stay visible on bright photos */
.poster-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, rgba(3, 27, 35, 0) 0%, rgba(3, 27, 35, 0.32) 100%);
  pointer-events: none;
}
.dots {
  position: absolute;
  right: 0.55rem;
  bottom: 0.45rem;
  z-index: 1;
  display: flex;
  gap: 0;
}
.dot {
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.dot:hover::before { background: rgba(255, 255, 255, 0.95); }
.dot[aria-current="true"]::before { width: 18px; background: #fff; }
.dot:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 6px; }

.slides-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-bottom: 2.5rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.slides-toggle:hover { border-color: var(--sea); color: var(--sea); }
.slides-toggle-icon { width: 10px; height: 11px; display: inline-block; }
.slides-toggle[aria-pressed="false"] .slides-toggle-icon { border-left: 3px solid currentColor; border-right: 3px solid currentColor; width: 10px; }
.slides-toggle[aria-pressed="true"] .slides-toggle-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

.poster-body { position: relative; padding: 0 0.15rem; display: flex; flex-direction: column; gap: 0.55rem; flex: none; }
.poster .sign { margin-top: -1.4rem; margin-left: 0.85rem; align-self: flex-start; position: relative; z-index: 2; }
.poster p { margin: 0; color: var(--slate); max-width: 40ch; }
.poster .status { margin-top: 0.1rem; font-size: 0.95rem; color: var(--slate); }
.poster .status a { font-weight: 600; }

.sign {
  padding: 0.45rem 0.75rem 0.4rem;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  box-shadow: 0 3px 0 rgba(15, 42, 49, 0.18);
  transform: rotate(-1.5deg);
}
.posters li:nth-child(even) .sign { transform: rotate(1.2deg); }

/* Planner result: list beside the map, budget and booking */
.route-grid { display: grid; gap: 1.5rem 2.5rem; margin-top: 1.25rem; }
@media (min-width: 56rem) {
  .route-grid { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; }
  .route-map-wrap { position: sticky; top: 6rem; }
}
.route-map-wrap { margin: 0; justify-self: center; width: min(100%, 22rem); }
.route-map-wrap figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--slate); text-align: center; }
.route-map { display: block; width: 100%; height: auto; background: #dcecee; border-radius: var(--radius); }
.map-land { fill: #f4f5f2; stroke: #a9b4b0; stroke-width: 1.6; stroke-linejoin: round; }
.map-lake { fill: #bfe2e8; }
.map-sea { font: italic 15px var(--display); fill: #5f8d96; letter-spacing: 0.04em; }
.map-route { fill: none; stroke: var(--sea); stroke-width: 3.5; stroke-dasharray: 9 7; stroke-linecap: round; stroke-linejoin: round; }
.map-stop circle { fill: var(--flag); stroke: #fff; stroke-width: 3.5; }
.map-num { fill: #fff; font: 700 16px var(--body); text-anchor: middle; }
.map-label { font: 600 20px var(--body); fill: var(--ink); paint-order: stroke; stroke: #f4f5f2; stroke-width: 5px; stroke-linejoin: round; }

.stop-stay { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--slate); }
.stop-stay strong { color: var(--ink); font-weight: 600; }

.trip-cost, .trip-book { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.trip-cost h3, .trip-book h3 { margin: 0 0 0.25rem; font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; }
.trip-cost > .muted { margin: 0 0 1rem; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.tier { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; }
.tier:nth-child(2) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tier p { margin: 0; }
.tier-name { font-weight: 600; color: var(--sea); }
.tier .tier-total { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0.2rem 0 0.1rem; }
.tier-day { font-size: 0.9rem; color: var(--slate); }
.tier .tier-text { font-size: 0.9rem; color: var(--slate); margin-top: 0.4rem; }
.tier-note { font-size: 0.9rem; color: var(--slate); margin: 0.75rem 0 0; }
.trip-book ul { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.trip-book li { display: grid; gap: 0.6rem 1.5rem; padding: 0.95rem 0; border-top: 1px solid var(--rule); }
.trip-book li:first-child { border-top: 0; }
@media (min-width: 44rem) { .trip-book li { grid-template-columns: 1fr auto; align-items: center; } }
.trip-book p { margin: 0; color: var(--slate); font-size: 0.95rem; }
.trip-book .book-title { color: var(--ink); font-weight: 600; font-size: 1rem; }
.trip-book .btn { justify-self: start; }

/* North: a wide postcard */
.north {
  display: grid;
  gap: 1.5rem 3rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
}
.north-media .slides { aspect-ratio: 3 / 2; }
.north-body { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
.north-body h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 0.95; letter-spacing: -0.03em; }
.north-body p { margin: 0; color: var(--slate); max-width: 42ch; font-size: 1.08em; }
@media (min-width: 52rem) {
  .north { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
  .north-media .slides { aspect-ratio: 16 / 10; }
}
.north-body .north-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: inherit; margin-top: 0.5rem; }
.north-body .north-links a { font-weight: 600; color: var(--sea-dark); }

/* At a glance: a two-column timetable of facts */
.glance {
  list-style: none;
  margin: 0 0 4.5rem;
  padding: 0;
  display: grid;
  gap: 0 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  border-bottom: 1px solid var(--rule);
}
.glance li { padding: 1.35rem 0 1.4rem; border-top: 1px solid var(--rule); }
.glance h3 { margin: 0 0 0.4rem; font-size: 0.95rem; font-weight: 600; color: var(--sea); }
.glance p { margin: 0; color: var(--ink); font-size: 1rem; }
.sub-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.025em; margin: 0 0 0.5rem; }

/* When to go */
.months-scroll { overflow-x: auto; margin: 0 -0.25rem; padding: 0 0.25rem 0.5rem; }
.months-scroll:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: 6px; }
.months { width: 100%; min-width: 46rem; border-collapse: separate; border-spacing: 4px 0; table-layout: fixed; }
.months th, .months td { text-align: center; padding: 0.4rem 0; border: 0; font-size: 0.92rem; }
.months thead th { font-weight: 600; color: var(--ink); padding-bottom: 0.6rem; }
.months abbr { text-decoration: none; }
.months tbody th { text-align: left; font-weight: 400; color: var(--slate); width: 6.5rem; font-size: 0.85rem; }
.months .chip { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 99px; }
.months .m-best .chip { background: var(--ink); color: #fff; }
.months .m-peak .chip { background: #f3c47c; color: #4d3206; }
.months .m-good .chip { background: #cdeceb; color: var(--sea-dark); }
.months .m-spring .chip, .months .m-quiet .chip { background: #e4e8e6; color: var(--slate); }
.row-air td { height: 8rem; vertical-align: bottom; position: relative; }
.row-air .bar { display: block; margin: 0 auto; width: 64%; height: calc(var(--h) * 0.8); min-height: 0.6rem; border-radius: 3px 3px 1px 1px; background: #d3dad8; }
.row-air .m-best .bar { background: var(--ink); }
.row-air .m-peak .bar { background: var(--sun); }
.row-air .m-good .bar { background: var(--shallows); }
.row-air .val { display: block; font-weight: 600; margin-top: 0.3rem; }
.row-sea td { color: var(--sea); font-weight: 600; }
.row-rain td { color: var(--slate); }
.months-note { font-size: 0.85rem; color: var(--slate); margin: 0.85rem 0 4.5rem; max-width: 70ch; }

.swipe-hint { display: none; font-size: 0.85rem; color: var(--slate); margin: 0 0 0.25rem; }
@media (max-width: 48rem) { .swipe-hint { display: block; } }

/* FAQ: left-aligned with the rest of the page, at a reading width */
.faq > details, .faq > h2 { max-width: 54rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.75rem 1.2rem 0; font-weight: 500; font-size: 1.12rem; position: relative; transition: color 0.18s var(--ease); }
.faq summary:hover { color: var(--sea); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: 2px; }
.faq details p { margin: 0 0 1.3rem; color: var(--slate); max-width: 65ch; }
#faq h2 { margin-bottom: 0.6em; }

/* Rows: the guide list reads like a departures board */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: grid; gap: 0.25rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 44rem) { .rows li { grid-template-columns: 15rem 1fr auto; align-items: baseline; } }
.rows h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.015em; margin: 0; line-height: 1.15; }
.rows h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.25s var(--ease), color 0.18s var(--ease); }
.rows h3 a:hover { color: var(--sea); background-size: 100% 1px; }
.rows p { margin: 0; color: var(--slate); }
.status { font-size: 0.9rem; color: var(--slate); white-space: nowrap; }

/* ---------- Booking ---------- */

.book {
  background: var(--paper);
  border-radius: 6px;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
}
.book h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.book ul { list-style: none; margin: 0; padding: 0; }
.book li { display: grid; gap: 0.7rem 1.5rem; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.book li h3 { margin: 0 0 0.15rem; }
.book li p { margin: 0; color: var(--slate); font-size: 0.98rem; }
.book .btn { justify-self: start; }
@media (min-width: 44rem) { .book-wide li { grid-template-columns: 1fr auto; align-items: center; } }
/* Home: the booking block sits on the limestone band, heading beside the list */
.book-wide { background: transparent; padding: 0; border-radius: 0; }
.book-wide ul { border-bottom: 1px solid var(--rule); }
.book-wide li { border-top-color: var(--rule); }
.book-wide li:first-child { border-top: 1px solid var(--ink); }
@media (min-width: 60rem) {
  .book-wide { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); grid-template-rows: auto 1fr; column-gap: 5rem; }
  .book-wide h2 { grid-column: 1; grid-row: 1; }
  .book-wide ul { grid-column: 2; grid-row: 1 / span 2; }
  .book-wide .disclosure { grid-column: 1; grid-row: 2; align-self: start; max-width: 32ch; }
}
.disclosure { font-size: 0.88rem; color: var(--slate); margin: 0.85rem 0 0; }

/* ---------- Guide pages ---------- */

.guide-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  min-height: clamp(21rem, 40vw, 32rem);
  background: #0b3d4a;
}
.guide-hero picture,
.guide-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.guide-hero picture img { object-fit: cover; object-position: 50% 55%; z-index: -2; }
.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(3, 27, 35, 0.82) 0%, rgba(3, 27, 35, 0.34) 48%, rgba(3, 27, 35, 0.22) 100%);
}
.guide-hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem 2.5rem;
}
.guide-hero h1 { color: #fff; font-size: clamp(3.1rem, 8vw, 7rem); line-height: 0.9; letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3); }
.guide-hero .crumbs,
.guide-hero .crumbs a { color: #fff; }
.guide-hero .crumbs { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.35); }
.guide-hero .crumbs li + li::before { color: rgba(255, 255, 255, 0.7); }
.guide-hero .photo-credit { top: auto; bottom: 0.6rem; }
@media (max-width: 40rem) { .guide-hero .photo-credit { bottom: 0.5rem; } }
@media (prefers-reduced-motion: no-preference) {
  .guide-hero picture img { animation: settle 1.8s var(--ease) both; }
  .guide-hero h1 { animation: rise 1s var(--ease) 0.1s both; }
}

.crumbs { font-size: 0.92rem; color: #2c3f43; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs a { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--slate); }

.guide-head { padding-top: clamp(1.25rem, 4vw, 2.5rem); }
.guide-head h1 { margin-bottom: 0.3em; }

/* The "checked" date is a small furgon-red stamp */
.updated {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--flag);
  background: #fff;
  border: 2px solid var(--flag);
  border-radius: 2px;
  padding: 0.25rem 0.6rem;
}

.photo { margin: 1.75rem 0 2rem; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--limestone); }
.photo figcaption { margin-top: 0.65rem; font-size: 0.9rem; color: var(--slate); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.photo-pair figcaption { grid-column: 1 / -1; margin-top: 0.05rem; }
@media (max-width: 40rem) { .photo-pair.is-wide { grid-template-columns: 1fr; } }

.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: 3rem 5rem; }
.guide > * { min-width: 0; }
@media (min-width: 62rem) {
  .guide { grid-template-columns: minmax(0, 1fr) 21rem; gap: 5rem; align-items: start; }
  .guide aside { position: sticky; top: 5.5rem; }
}
.guide aside .book { border: 1px solid var(--rule); padding: 1.5rem; }
.guide aside .book h2 { font-size: 2rem; }

.inline-book {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1rem; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 0 0 2.75rem;
}
.inline-book p { margin: 0; font-weight: 600; }
.inline-book .disclosure { flex-basis: 100%; font-weight: 400; margin: 0; }
@media (min-width: 62rem) { .inline-book { display: none; } }

/* The short answer opens each guide */
.answer {
  border-left: 3px solid var(--sea);
  padding: 0.15rem 0 0.15rem 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin-bottom: 2.5rem;
}
.answer p { margin: 0; max-width: 46ch; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 1.5rem; margin: 0 0 2.75rem; border-top: 1px solid var(--ink); }
.facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.88rem; color: var(--slate); }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; }

.route { margin: 0 0 3rem; }
.route figcaption { font-size: 0.9rem; color: var(--slate); margin-top: 0.5rem; }

article h2 { margin-top: 3rem; font-size: clamp(2rem, 3.8vw, 2.9rem); }
article h2:first-of-type { margin-top: 0; }
article ul { padding-left: 1.2rem; max-width: var(--measure); }
article li { margin-bottom: 0.5rem; }
article li::marker { color: var(--sea); }

.table-scroll { overflow-x: auto; margin: 0 0 1.25rem; }
table { border-collapse: collapse; min-width: 26rem; font-size: 1rem; }
th, td { text-align: left; padding: 0.65rem 1.25rem 0.65rem 0; border-bottom: 1px solid var(--rule); }
th { font-size: 0.88rem; color: var(--slate); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #c3d3d4; padding-block: 4rem 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: var(--shallows); text-decoration-color: currentColor; }
.site-footer .logo { color: var(--ink); }
.site-footer :focus-visible { outline-color: var(--shallows); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; color: var(--shallows); margin: 0 0 0.85rem; line-height: 1.3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer p { max-width: 46ch; }
.site-footer .credits { margin: 0.75rem 0 0; font-size: 0.8rem; line-height: 1.55; color: #9fb4b6; max-width: none; }
.credits a { color: #c3d3d4; }
.site-footer .footer-base { max-width: none; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); font-size: 0.88rem; }

/* ---------- Text pages (About, Privacy) ---------- */
.text-page { max-width: 46rem; padding-block: 2rem 5rem; }
.text-page h1 { margin-top: 1.5rem; }
.text-page h2 { margin-top: 2.75rem; font-size: clamp(1.75rem, 3vw, 2.2rem); }
.text-page p, .text-page li { color: var(--ink); }
.text-page ul { padding-left: 1.2rem; }
.text-page li { margin-bottom: 0.5rem; }
.lead-text { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--slate); }

/* ---------- Credits page ---------- */
.credits-page { padding-block: 2rem 5rem; }
.credits-page h1 { margin-top: 1.5rem; }
.credits-page h2 { margin-top: 2.75rem; font-size: clamp(1.75rem, 3vw, 2.2rem); }
.credits-page table { width: 100%; }
.credits-page td { font-size: 0.95rem; vertical-align: top; }
.credits-page td:first-child { min-width: 16rem; }

/* Itinerary guides */
.route-overview { display: grid; gap: 1.5rem; margin: 0 0 2.75rem; align-items: start; }
.route-overview > * { min-width: 0; }
.route-overview h2 { margin-top: 0; }
.route-overview .route-map-wrap { position: static; width: min(100%, 20rem); }
@media (min-width: 48rem) {
  .route-overview { grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem; }
  .route-overview .route-map-wrap { width: 100%; }
}
.note { font-size: 0.92rem; color: var(--slate); }

.days { list-style: none; margin: 0 0 3rem; padding: 0; }
.day {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}
.day:last-child { border-bottom: 1px solid var(--rule); }
.day-num {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--slate);
  text-align: center;
}
.day-num span {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 3.4rem;
  letter-spacing: -0.04em;
  color: var(--sea);
  margin-top: 0.2rem;
}
.day h3 { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.day .drive { margin: 0 0 0.9rem; font-weight: 600; color: var(--sea); font-size: 0.97rem; }
.day .photo { margin: 0 0 1rem; }
.day p { margin: 0 0 0.75rem; }
.day .stay { margin: 0; font-size: 0.97rem; color: var(--slate); }
.day .stay a { font-weight: 600; }
@media (max-width: 30rem) {
  .day { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 0.9rem; }
  .day-num span { font-size: 2.5rem; }
}
@media (min-width: 48rem) { .route-overview td:nth-child(n+3), .route-overview th:nth-child(n+3) { white-space: nowrap; } }
table.fit { min-width: 0; width: 100%; }

/* Language menu */
.lang-menu { position: relative; order: 2; font-size: 0.95rem; }
.site-nav { margin-left: auto; order: 1; }
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}
.lang-menu[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.lang-menu summary:hover { border-color: var(--sea); color: var(--sea); }
.lang-menu summary:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.lang-menu .lang-icon { flex: none; }
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.lang-menu li a { display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.lang-menu li a:hover, .lang-menu li a:focus-visible { background: var(--limestone); color: var(--sea-dark); }
.lang-menu li a[aria-current] { font-weight: 600; color: var(--sea); }
@media (max-width: 40rem) {
  .site-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .lang-menu { margin-left: auto; }
}

/* "This page is also in your language" bar (English pages and translations) */
.lang-hint { display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: var(--limestone); color: var(--ink); padding: 0.55rem 1rem; font-size: 0.95rem; border-bottom: 1px solid var(--rule); }
.lang-hint p { margin: 0; }
.lang-hint a { font-weight: 600; color: var(--sea-dark); white-space: nowrap; }
.lang-hint button { flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lang-hint button:hover, .lang-hint button:focus-visible { background: rgba(15, 42, 49, 0.08); }
@media (max-width: 40rem) { .lang-hint { justify-content: space-between; font-size: 0.9rem; } }

.before-go {
  background: var(--limestone);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 0.6rem;
  margin: 3rem 0 1rem;
}
.before-go h2 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.before-go dl { margin: 0; }
.before-go div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem; padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.before-go dt { font-weight: 600; }
.before-go dd { margin: 0; }
@media (min-width: 40rem) { .before-go div { grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; } }

.nearby { margin: 2.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); max-width: none; }
.nearby strong { font-weight: 600; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .slide { transition-duration: 0.01ms; }
  .slide.is-active { animation: none; }
}


/* ---------- Home hero: buttons, places and the pause control ---------- */

.hero-copy { padding-bottom: clamp(12rem, 24vh, 14.5rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--shallows); color: var(--ink); }
.btn-ghost { background: rgba(3, 27, 35, 0.18); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.78); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.hero-ctas .btn { min-height: 3.1rem; padding-inline: 1.4rem; }
.hero-ctas .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hero-place { bottom: clamp(12.5rem, 25vh, 15rem); }
.hero-place .sign { transform-origin: 50% 100%; }

.hero-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-stops { display: flex; gap: clamp(0.75rem, 2.2vw, 1.75rem); }
.hero-stop {
  position: relative;
  min-width: clamp(4.2rem, 9vw, 7.5rem);
  min-height: 2.75rem;
  padding: 0.55rem 0 0.75rem;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: rgba(255, 255, 255, 0.74);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.18s var(--ease);
}
.hero-stop::before,
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 2px; border-radius: 2px; }
.hero-stop::before { content: ""; background: rgba(255, 255, 255, 0.32); }
.hero-bar { background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero-stop[aria-current="true"] { color: #fff; }
.hero-stop[aria-current="true"] .hero-bar { transform: scaleX(var(--p, 1)); }
.hero-stop:hover { color: #fff; }
.hero-stop:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-toggle { flex: none; background: rgba(3, 27, 35, 0.35); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hero-toggle:hover { border-color: #fff; color: #fff; }
.hero-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 40rem) {
  .hero-nav { bottom: 1.1rem; gap: 0.5rem; }
  .hero-stops { gap: 0.6rem; flex: 1; }
  .hero-stop { min-width: 0; flex: 1; font-size: 0.88rem; }
  .hero-toggle { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .hero-toggle .slides-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-copy { padding-bottom: 5.6rem; }
  .hero-place { bottom: auto; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  html:not([lang="en"]) .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-ctas { margin-top: 1.25rem; gap: 0.6rem; }
  .hero-ctas .btn { flex: 1 1 auto; padding-inline: 1rem; }
}

/* ---------- Home: the first week, drawn as a minibus line ---------- */

.week-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.week-head .section-intro { margin-bottom: 2.25rem; }
.week-arrows { display: none; gap: 0.5rem; margin-bottom: 2.4rem; }
@media (min-width: 48rem) { .week-arrows { display: flex; } }
.week-arrow {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.week-arrow:hover { border-color: var(--sea); color: var(--sea); }
.week-arrow:disabled { opacity: 0.35; cursor: default; border-color: var(--rule); color: var(--ink); }

.week-line {
  --gutter: max(1.25rem, calc((100% - 76rem) / 2));
  list-style: none;
  margin: 0;
  padding: 0.25rem var(--gutter) 1.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 19rem);
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
@media (min-width: 64rem) { .week-line { --gutter: max(2.5rem, calc((100% - 76rem) / 2)); } }
.wstop {
  position: relative;
  scroll-snap-align: start;
  padding: 1.6rem 1.5rem 0 0;
  display: flex;
  flex-direction: column;
}
/* The line runs through every stop; each day is a stop on it */
.wstop::before { content: ""; position: absolute; top: 0.45rem; left: 0; right: 0; height: 3px; background: var(--sea); }
.wstop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--sea);
}
.wstop-end::before { right: auto; width: 0.5rem; }
.wstop-end::after { background: var(--sea); }
.wstop-day { margin: 0; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.wstop-leg { margin: 0.1rem 0 0.9rem; min-height: 2.7em; font-size: 0.88rem; line-height: 1.35; color: var(--slate); font-variant-numeric: tabular-nums; }
.wstop-photo { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--limestone); }
.wstop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.wstop h3 { margin: 0.95rem 0 0.35rem; font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.05; }
.wstop-link { color: var(--ink); text-decoration: none; }
.wstop-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wstop-link:focus-visible { outline: none; }
.wstop:has(.wstop-link:focus-visible) { outline: 2px solid var(--sea); outline-offset: 4px; border-radius: var(--radius); }
.wstop:hover .wstop-photo img { transform: scale(1.05); }
.wstop:hover .wstop-link { color: var(--sea); }
.wstop-text { margin: 0; color: var(--slate); font-size: 0.98rem; max-width: 34ch; }
.wstop-final {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  aspect-ratio: 4 / 5;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.wstop-final h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.wstop-final .wstop-text { color: #c3d3d4; }
.wstop-final .btn { align-self: flex-start; margin-top: 0.6rem; background: #fff; color: var(--ink); }
.wstop-final .btn:hover { background: var(--shallows); color: var(--ink); }
.wstop-final .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
html:not([lang="en"]) .wstop-leg { min-height: 4.05em; }
.week-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }
.week-note { margin: 0; font-size: 0.88rem; color: var(--slate); max-width: 44ch; }
@media (prefers-reduced-motion: reduce) {
  .wstop-photo img { transition: none; }
  .wstop:hover .wstop-photo img { transform: none; }
}


/* ---------- The author: About section and guide byline ---------- */

.author { margin: 3rem 0 0.5rem; }
.author > h2 { margin-bottom: 1.25rem; }
.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.author-photo {
  width: clamp(8.5rem, 18vw, 11rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--rule);
}
.author-name { margin: 0; font-family: var(--display); font-size: clamp(2.1rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -0.025em; color: var(--ink); }
.author-role { margin: 0.45rem 0 1.1rem; font-size: 0.98rem; font-weight: 600; color: var(--sea); }
.author-body p { max-width: 58ch; }
.author-contact { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--slate); font-size: 0.98rem; }
.author-contact svg { flex: none; margin-top: 0.15rem; color: var(--sea); }
.author-contact a { font-weight: 600; }
@media (max-width: 36rem) {
  .author-card { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

.byline { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.5rem; }
.byline img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; background: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rule); }
.byline p { margin: 0; font-size: 0.95rem; line-height: 1.3; color: var(--slate); }
.byline a { font-weight: 600; color: var(--ink); }
.byline a:hover { color: var(--sea); }
.byline .byline-role { font-size: 0.85rem; }

.author-lead { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.4; color: var(--ink); }

/* ---------- Home: the person behind the guides ---------- */

.founder { padding-block: clamp(3.5rem, 7vw, 6rem); }
.founder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 62rem;
}
.founder-line {
  margin: 0 0 1.4rem;
  max-width: 38ch;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-left: 1.1rem;
  border-left: 3px solid var(--sea);
}
.founder-sign { padding-left: 1.4rem; }
.founder-name { margin: 0; font-weight: 700; font-size: 1.05rem; }
.founder-role { margin: 0.1rem 0 0; color: var(--slate); font-size: 0.95rem; }
.founder-more { margin: 1rem 0 0; padding-left: 1.4rem; }
.founder-more a { font-weight: 600; }
@media (max-width: 36rem) {
  .founder-card { grid-template-columns: minmax(0, 1fr); }
}

/* Cookie choice (js/consent.js): equal-weight buttons, never covers the whole page */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 34rem; margin-left: auto; margin-right: auto; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(15, 42, 49, 0.22); padding: 1rem 1.1rem 1.05rem; }
.consent-text { margin: 0 0 0.85rem; font-size: 0.95rem; line-height: 1.5; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.consent-btn { min-height: 44px; min-width: 7.5rem; padding: 0.55rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--sea); background: #fff; color: var(--sea); font: inherit; font-weight: 600; cursor: pointer; }
.consent-btn:hover { background: var(--sea); color: #fff; }
.consent-btn:focus-visible, .consent-open:focus-visible { outline: 3px solid var(--shallows); outline-offset: 2px; }
.consent-more { margin-left: auto; font-size: 0.9rem; color: var(--sea); }
.consent-open { margin-left: 1rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
@media (min-width: 62rem) { .consent { left: 1.5rem; right: auto; bottom: 1.5rem; margin: 0; } }
@media print { .consent { display: none; } }
