/* ==========================================================================
   Bike Memories — site stylesheet
   Single hand-written stylesheet. No framework, no build step.
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 buttons
             6 header/nav · 7 hero · 8 intro · 9 events · 10 quote
             11 routes · 12 contact · 13 footer · 14 motion · 15 print
   ========================================================================== */

/* 1 · Tokens ============================================================== */

:root {
  /* Brand */
  --gold: #c9a227;
  --gold-bright: #e3bd45;
  --gold-soft: rgba(201, 162, 39, 0.14);

  /* Ink & surface */
  --ink: #101114;
  --ink-soft: #1a1c21;
  --ink-line: rgba(255, 255, 255, 0.12);

  --paper: #ffffff;
  --paper-warm: #f6f4ef;
  --paper-line: rgba(16, 17, 20, 0.1);

  --text: #191b1f;
  --text-muted: #5e636d;
  --text-invert: #ffffff;
  --text-invert-muted: rgba(255, 255, 255, 0.72);

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 17, 20, 0.06), 0 2px 8px rgba(16, 17, 20, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 17, 20, 0.08), 0 16px 40px rgba(16, 17, 20, 0.1);
  --shadow-lg: 0 8px 24px rgba(16, 17, 20, 0.12), 0 32px 64px rgba(16, 17, 20, 0.16);

  /* Rhythm — fluid so tablet sits naturally between phone and desktop */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --stack: clamp(1rem, 2.5vw, 1.75rem);
  --measure: 68ch;

  --shell: 1240px;
  --shell-narrow: 900px;

  --header-h: 72px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2 · Reset =============================================================== */

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

html {
  -webkit-text-size-adjust: 100%; /* stop iOS bumping type in landscape */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Any <picture> used as a fixed-ratio media box must pass its size through to
   the <img>, otherwise the img's height:100% resolves against nothing.
   Applies wherever a picture may replace a bare img. */
.card__media picture,
.offer__media picture,
.tile__media picture,
.gallery figure picture,
.collage__main picture,
.collage__accent picture,
.contact-aside__img picture,
.hero__media {
  display: block;
  width: 100%;
  height: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--gold);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

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

/* 3 · Typography ========================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 1.4rem + 5.4vw, 5.25rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h1 {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem);
}

.h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem);
}

.h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.lead {
  font-size: clamp(1.075rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: var(--measure);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1em;
}

.prose {
  max-width: var(--measure);
  text-wrap: pretty;
}

.gold {
  color: var(--gold);
}

/* 4 · Layout ============================================================== */

.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.shell--narrow {
  max-width: var(--shell-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--warm {
  background: var(--paper-warm);
}

.section--dark {
  background: var(--ink);
  color: var(--text-invert);
}

.section--dark .lead,
.section--dark .text-muted {
  color: var(--text-invert-muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.stack > * + * {
  margin-top: var(--stack);
}

/* 5 · Buttons ============================================================= */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: #fff;
  --btn-border: var(--gold);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px; /* comfortable touch target */
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-border: #fff;
  box-shadow: none;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--paper-line);
}

.btn--outline:hover {
  --btn-fg: var(--gold);
  --btn-border: var(--gold);
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.link-arrow svg {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* 6 · Header & navigation ================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-stuck {
  background: rgba(16, 17, 20, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--ink-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.5vw, 1rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.2vw, 0.75rem);
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: #fff;
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

/* Language switch — text pills, not 20px flag gifs */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
}

.lang__link {
  display: block;
  min-width: 44px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lang__link[aria-current="true"] {
  background: var(--gold);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__box {
  position: relative;
  width: 24px;
  height: 16px;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
    top 0.3s var(--ease);
}

.nav-toggle__bar:nth-child(1) {
  top: 0;
}
.nav-toggle__bar:nth-child(2) {
  top: 7px;
}
.nav-toggle__bar:nth-child(3) {
  top: 14px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Mobile / tablet-portrait navigation */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: rgba(16, 17, 20, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.9rem 0.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--ink-line);
    border-radius: 0;
  }

  .nav__link::after {
    display: none;
  }

  .lang {
    align-self: flex-start;
  }

  .lang__link {
    min-width: 56px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* 7 · Hero ================================================================ */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  /* svh keeps the hero inside the visible area on iOS, where the browser
     chrome makes 100vh taller than the actual viewport. */
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--text-invert);
  background: var(--ink);
}

/* No background-attachment: fixed — it is broken/janky on iOS Safari.
   A real <picture> layer + gradient scrim gives the same depth everywhere,
   and lets the browser pick a sensibly sized file per device. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      rgba(16, 17, 20, 0.92) 0%,
      rgba(16, 17, 20, 0.62) 42%,
      rgba(16, 17, 20, 0.38) 70%,
      rgba(16, 17, 20, 0.55) 100%
    ),
    radial-gradient(
      120% 90% at 20% 90%,
      rgba(16, 17, 20, 0.7) 0%,
      transparent 60%
    );
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 62ch;
}

.hero .display {
  color: #fff;
}

.hero__lead {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  animation: cue-bob 2.4s var(--ease) infinite;
}

.hero__cue:hover {
  background: rgba(255, 255, 255, 0.12);
}

@keyframes cue-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Short landscape phones: don't force a full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 2rem) 3rem;
  }
  .hero__cue {
    display: none;
  }
}

/* 7b · Subpage hero ======================================================= */

/* Event pages don't need a full-viewport hero — the content matters more. */
.hero--page {
  min-height: min(78svh, 700px);
}

.hero--page .display {
  font-size: clamp(2.1rem, 1.3rem + 3.9vw, 4rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.back-link svg {
  transition: transform 0.25s var(--ease);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

/* 7c · Gallery ============================================================ */

.gallery {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

/* First image leads on wider screens, the other two sit beside it. */
@media (min-width: 900px) {
  .gallery--lead {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .gallery--lead figure:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* 8 · Intro / what we do ================================================== */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

/* Photo collage — one large frame, one offset accent frame */
.collage {
  position: relative;
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
  padding-right: clamp(2rem, 6vw, 3.5rem);
}

.collage__main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.collage__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(38%, 40%, 46%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.section--warm .collage__accent {
  border-color: var(--paper-warm);
}

.collage__accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  /* The offset frame gets cramped on small phones — drop it. */
  .collage {
    padding: 0;
  }
  .collage__accent {
    display: none;
  }
}

/* Small feature list under the intro copy */
.feature-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  grid-row: span 2;
}

.feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}

.feature__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* 9 · Events ============================================================== */

/* auto-fit means the grid reflows on its own: 1 col on phones,
   2 on iPad portrait, 3 on iPad landscape and desktop. No breakpoints. */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-warm);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.06);
}

.card__badge {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 17, 20, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
}

.card__title {
  font-size: 1.25rem;
}

/* The whole card is clickable, but the link stays a real, focusable link —
   no hover-only reveal, so everything is readable on touch devices. */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.card__link {
  color: inherit;
  text-decoration: none;
}

.card:hover .card__title,
.card:focus-within .card__title {
  color: var(--gold);
}

.card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.card__more svg {
  transition: transform 0.25s var(--ease);
}

.card:hover .card__more svg {
  transform: translateX(4px);
}

/* 9b · Destinations ======================================================= */

/* Stand-in for a card photo until real images exist (Belgium).
   Swap the span for an <img> and it behaves like any other card. */
.card__media--type {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(120% 120% at 15% 100%, rgba(201, 162, 39, 0.28) 0%, transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
}

.card__media-word {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card__media-word span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Page hero without a photo */
.hero--plain {
  background: radial-gradient(90% 80% at 85% 10%, rgba(201, 162, 39, 0.22) 0%, transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    var(--ink);
}

/* Belgium tours — one alternating split per tour */
.tour .prose {
  color: var(--text-muted);
}

.tour + .tour {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}

.tour__visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  aspect-ratio: 4 / 3;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: radial-gradient(110% 110% at 100% 0%, rgba(201, 162, 39, 0.26) 0%, transparent 55%),
    var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* With a photo: <div class="tour__visual tour__visual--photo"><img class="tour__img" …> …</div>
   The number and place pills stay on top of a scrim. */
.tour__visual--photo {
  position: relative;
  isolation: isolate;
  background: var(--ink);
}

.tour__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour__visual--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(16, 17, 20, 0.55) 0%,
    rgba(16, 17, 20, 0) 35%,
    rgba(16, 17, 20, 0) 60%,
    rgba(16, 17, 20, 0.75) 100%
  );
}

/* Portrait photos (e.g. Limburg: church spire + group) */
.tour__visual--tall {
  aspect-ratio: 4 / 5;
  justify-content: flex-start; /* keep the pills in the sky, off the riders' faces */
  gap: 1.25rem;
}

.tour__visual--photo .tour__places li {
  background: rgba(16, 17, 20, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tour__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 6vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.tour__places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tour__places li {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

/* 10 · Quote band ========================================================= */

.band {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  color: var(--text-invert);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(16, 17, 20, 0.94) 0%,
    rgba(16, 17, 20, 0.75) 55%,
    rgba(16, 17, 20, 0.6) 100%
  );
}

.band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.band__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 2.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}

/* 11 · Routes ============================================================= */

.tile {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tile__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: rgba(255, 255, 255, 0.06);
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.tile:hover .tile__media img {
  transform: scale(1.05);
}

.tile__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.tile__text {
  color: var(--text-invert-muted);
  font-size: 0.98rem;
  text-wrap: pretty;
}

/* 11b · Offers =========================================================== */

.offer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.offer:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.offer__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-warm);
}

.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.offer:hover .offer__media img {
  transform: scale(1.05);
}

.offer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.offer__title {
  font-size: 1.2rem;
}

/* Checklist — the source content is a run of "- item" paragraphs; as a real
   list it reads better and announces its length to screen readers. */
.offer__list {
  display: grid;
  gap: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.offer__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.offer__list li::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.15em;
  flex: none;
  background-color: var(--gold);
  /* inline check glyph, so no icon font is needed */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.offer__intro {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.offer__price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  align-items: baseline;
}

.offer__price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.offer__price span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.offer__price--quote strong {
  font-size: 1.1rem;
  color: var(--gold);
}

/* 12 · Contact ============================================================ */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1fr;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-aside__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.contact-aside__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-promise {
  display: grid;
  gap: 0.6rem;
  color: var(--text-invert-muted);
  font-size: 0.98rem;
}

.contact-promise li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.contact-promise li::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.2em;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.contact-details {
  display: grid;
  gap: 0.9rem;
}

/* Email and phone are the main mobile actions — keep them a comfortable
   44px tap target, not a 27px line of text. */
.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  margin-left: -0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  word-break: break-word;
  justify-self: start;
  transition: background-color 0.2s var(--ease);
}

.contact-details a svg {
  flex: none;
}

.contact-details a:hover {
  background: var(--gold-soft);
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }
  .form__field--full,
  .form__actions {
    grid-column: 1 / -1;
  }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  /* 16px minimum stops iOS zooming the page when a field is focused */
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.form__input:focus-visible,
.form__textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__note {
  font-size: 0.85rem;
  color: var(--text-invert-muted);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* 13 · Footer ============================================================= */

.site-footer {
  background: #0a0b0d;
  color: rgba(255, 255, 255, 0.7);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.92rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer__top .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer__nav a:hover {
  color: var(--gold);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow-md);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold-bright);
}

/* 14 · Motion ============================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Respect the OS "reduce motion" setting — no parallax, no slide-ins. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 15 · Print ============================================================== */

@media print {
  .site-header,
  .hero__cue,
  .to-top,
  .form,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section--dark,
  .band,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
