/* Editorial walking-guide layout inspired by The Budapest Review frame. */
:root {
  color-scheme: light;
  --ink: #203e35;
  --muted: #5a6862;
  --paper: #f3f0e7;
  --surface: #f8f6ef;
  --line: #d5d4c8;
  --moss: #203e35;
  --moss-soft: #e3e8df;
  --teal: #6c928c;
  --serif: Georgia, 'Times New Roman', serif;
  --text-headline: clamp(36px, 4.4vw, 60px);
  --text-title: 24px;
  --text-lead: 17px;
  --text-body: 15px;
  --text-label: 14px;
  --text-meta: 13px;
  --text-caps: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #f7f7f5; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
::selection { background: var(--moss-soft); color: var(--ink); }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.site-shell { width: min(1440px, 100%); min-height: 100vh; margin-inline: auto; background: var(--paper); }
.container { width: min(1290px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 20; padding: 12px 20px; background: var(--surface); border: 1px solid var(--line); }
.skip-link:focus { top: 16px; }
.site-header { padding: 0 0 0; }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 15px; font-weight: 650; letter-spacing: -.025em; }
.brand img { width: 27px; height: 27px; object-fit: contain; mix-blend-mode: multiply; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: var(--text-label); }
.site-header nav > a:not(.header-download) { display: flex; align-items: center; min-height: 44px; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; white-space: nowrap; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ''; transform: rotate(45deg) translateY(-2px); }
.language-menu[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.language-menu ul { position: absolute; top: calc(100% - 2px); right: 0; z-index: 10; min-width: 148px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 28px rgba(23, 33, 27, .12); }
.language-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; white-space: nowrap; }
.language-menu a:hover { background: var(--moss-soft); text-decoration: none; }
.language-menu a[aria-current='page'] { color: var(--moss); font-weight: 700; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; padding: 0 20px; border: 1px solid var(--moss); background: var(--moss); color: white; font-size: var(--text-label); font-weight: 600; white-space: nowrap; transition: background-color 180ms ease-out, color 180ms ease-out; }
.button span, .text-link span { font-size: 15px; line-height: 1; }
.button:hover { background: #315b4f; text-decoration: none; }
.header-download { min-height: 44px; }
.hero { padding: 26px 0 76px; }
.hero h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { max-width: 1240px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 82px); line-height: .99; }
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: start; }
.hero-feature { min-width: 0; }
.hero-feature > img { width: 100%; height: clamp(300px, 31vw, 465px); object-fit: cover; object-position: center 55%; }
.hero-feature figcaption, .intro-image figcaption { margin-top: 9px; color: var(--muted); font-size: var(--text-meta); }
.hero-side { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.hero-side-image { width: 100%; height: clamp(150px, 14vw, 220px); object-fit: cover; object-position: center 42%; }
.hero-lead { max-width: 34em; margin-top: 17px; color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--ink); font-size: var(--text-label); font-weight: 600; }
.hero-note { margin-top: 8px; color: var(--muted); font-size: var(--text-meta); }
.eyebrow { margin-bottom: 18px; color: var(--ink); font-size: var(--text-caps); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.intro-section { padding: 56px 0 104px; border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .92fr 1.25fr; align-items: center; gap: 80px; }
.intro-copy h2, .map-copy h2, .closing-inner h2 { font-size: var(--text-headline); line-height: 1.06; }
.intro-copy > p:not(.eyebrow) { max-width: 34em; margin-top: 20px; color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }
.intro-copy small { display: block; margin-top: 20px; color: var(--ink); font-size: var(--text-meta); }
.intro-images { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 18px; }
.intro-image img { width: 100%; object-fit: cover; }
.intro-image-tall img { height: 300px; }
.intro-image-wide img { height: 220px; }
.walks-section { padding: 28px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .steps-section > .container > h2 { font-size: var(--text-headline); line-height: 1.06; }
.walk-grid { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.walk-card { display: grid; min-width: 0; grid-template-columns: 44% 1fr; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.walk-card > img { width: 100%; height: 145px; object-fit: cover; }
.walk-card-featured { grid-row: span 2; display: block; padding-top: 0; border-top: 0; }
.walk-card-featured > img { height: 360px; }
.walk-card-featured .walk-copy { padding-top: 13px; }
.walk-location { margin-bottom: 5px; color: var(--muted); font-size: var(--text-caps); letter-spacing: .08em; text-transform: uppercase; }
.walk-copy h3 { margin-bottom: 7px; font-family: var(--serif); font-size: var(--text-title); font-weight: 400; line-height: 1.2; }
.walk-copy > p:not(.walk-location) { color: var(--muted); font-size: var(--text-body); line-height: 1.6; }
.map-section { padding: 48px 0; background: #e8e9df; }
.map-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 74px; }
.route-map { position: relative; aspect-ratio: 1200 / 680; overflow: hidden; background: #f1ebe3; }
.route-map-base, .route-map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-map-base { object-fit: cover; }
.map-copy { max-width: 430px; }
.map-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }
.map-copy .text-link { margin-top: 18px; }
.steps-section { padding: 80px 0 88px; }
.steps-section > .container > .eyebrow { margin-bottom: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 42px; }
.steps-grid article { min-height: 132px; padding: 0 24px 0 0; border-right: 1px solid var(--line); }
.steps-grid article:last-child { border-right: 0; }
.steps-grid article > span { color: var(--muted); font-size: var(--text-caps); letter-spacing: .08em; }
.steps-grid h3 { margin-top: 16px; font-family: var(--serif); font-size: var(--text-title); font-weight: 400; line-height: 1.2; }
.steps-grid p { max-width: 30ch; margin-top: 8px; color: var(--muted); font-size: var(--text-body); line-height: 1.6; }
.stories-section { padding: 60px 0; border-block: 1px solid var(--line); }
.stories-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.stories-copy h2 { font-size: var(--text-headline); line-height: 1.06; }
.stories-copy > p:not(.eyebrow) { max-width: 34em; margin-top: 18px; color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }
.player-card { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; background: var(--surface); box-shadow: 0 14px 32px rgba(32, 62, 53, .08); }
.player-card > img { width: 100%; height: 205px; object-fit: cover; }
.player-details { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.player-details > p { color: var(--muted); font-size: var(--text-caps); letter-spacing: .12em; }
.player-details strong { margin-top: 10px; font-family: var(--serif); font-size: var(--text-title); font-weight: 400; }
.player-details > span { margin-top: 3px; color: var(--muted); font-size: var(--text-meta); }
.player-controls { display: flex; align-items: center; gap: 14px; margin-top: 17px; }
.player-controls i, .player-controls b { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }
.player-controls > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--moss); color: white; font-size: 12px; }
.player-controls b { width: 60%; height: 2px; border-radius: 0; background: var(--line); }
.closing-section { padding: 46px 0; background: var(--moss); color: #f8f6ef; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing-inner .eyebrow, .closing-inner p:not(.eyebrow) { color: rgba(248,246,239,.76); }
.closing-inner .eyebrow { margin-bottom: 12px; }
.closing-inner h2 { max-width: 720px; }
.closing-inner p:not(.eyebrow) { margin-top: 12px; font-size: var(--text-body); }
.button-light { flex: none; border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button-light:hover { background: #e5e0d5; }
.site-footer { background: var(--moss); color: rgba(248,246,239,.76); }
.footer-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(248,246,239,.24); font-size: var(--text-meta); }
.footer-inner div { display: flex; align-items: center; gap: 24px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.legal-main { padding: 64px 0 88px; }
.legal-document { max-width: 900px; }
.legal-document > .eyebrow { margin-bottom: 16px; }
.legal-document h1, .legal-document h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
.legal-document h1 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.legal-document h2 { margin: 38px 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.legal-document p, .legal-document li { max-width: 75ch; color: #46564e; font-size: 15px; line-height: 1.75; }
.legal-document p + p { margin-top: 14px; }
.legal-document a { color: #315b4f; text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-bottom: 20px; color: var(--muted) !important; font-size: 12px !important; }
.legal-summary { margin: 20px 0 36px; font-size: 17px !important; }
.legal-document ul { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 22px; }
.legal-document .legal-references { font-size: 13px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero h1 { font-size: clamp(48px, 7vw, 70px); }
  .intro-grid, .map-grid, .stories-grid { gap: 44px; }
  .walk-card-featured > img { height: 320px; }
}
@media (max-width: 760px) {
  body { background: var(--paper); }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { font-size: 13px; gap: 5px; }
  .brand img { width: 23px; height: 23px; }
  .site-header nav { gap: 12px; font-size: var(--text-label); }
  .site-header nav > a:not(.header-download) { display: none; }
  .header-download { display: none; }
  .hero { padding: 24px 0 50px; }
  .hero h1 { max-width: 600px; margin-bottom: 18px; font-size: clamp(42px, 9vw, 64px); line-height: 1.02; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-side { display: contents; }
  .hero-lead { order: 1; }
  .hero-actions { order: 2; margin-top: 0; }
  .hero-note { order: 3; margin-top: -10px; }
  .hero-feature { order: 4; margin-top: 12px; }
  .hero-side-image { order: 5; }
  .hero-feature > img { height: clamp(250px, 68vw, 430px); }
  .hero-side-image { height: clamp(150px, 42vw, 240px); }
  .hero-lead { margin-top: 0; font-size: 16px; }
  .intro-copy > p:not(.eyebrow), .map-copy > p:not(.eyebrow), .stories-copy > p:not(.eyebrow) { font-size: 16px; }
  .intro-section { padding: 44px 0 64px; }
  .intro-grid, .map-grid, .stories-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy h2, .map-copy h2, .closing-inner h2 { font-size: clamp(34px, 9vw, 52px); }
  .stories-copy h2 { font-size: clamp(34px, 9vw, 52px); }
  .intro-images { gap: 12px; }
  .intro-image-tall img { height: 240px; }
  .intro-image-wide img { height: 180px; }
  .walks-section { padding: 16px 0 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .section-heading h2, .steps-section > .container > h2 { font-size: clamp(34px, 9vw, 52px); }
  .walk-grid { grid-template-columns: 1fr; gap: 20px; }
  .walk-card, .walk-card-featured { display: grid; grid-row: auto; grid-template-columns: 40% 1fr; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
  .walk-card > img, .walk-card-featured > img { height: 150px; }
  .walk-card-featured .walk-copy { padding-top: 0; }
  .walk-copy h3 { font-size: 21px; }
  .map-section { padding: 30px 0 36px; }
  .route-map { aspect-ratio: 3 / 2; }
  .steps-section { padding: 56px 0 60px; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .steps-grid article { min-height: 0; padding: 18px 0; border-top: 1px solid var(--line); border-right: 0; }
  .steps-grid article:first-child { border-top: 0; }
  .steps-grid h3 { margin-top: 8px; }
  .steps-grid h3 { font-size: 21px; }
  .stories-section { padding: 48px 0; }
  .stories-grid { gap: 24px; }
  .player-card { grid-template-columns: 38% 1fr; }
  .player-card > img { height: 180px; }
  .player-details { padding: 16px; }
  .player-details strong { font-size: 20px; }
  .closing-section { padding: 38px 0; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-inner { min-height: 66px; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 12px; }
  .site-header nav { gap: 8px; }
  .header-download { padding-inline: 8px; }
  .intro-images { grid-template-columns: 1fr 1fr; }
  .intro-image-tall img { height: 210px; }
  .intro-image-wide img { height: 160px; }
  .walk-card, .walk-card-featured { grid-template-columns: 1fr; gap: 12px; }
  .walk-card > img, .walk-card-featured > img { height: 190px; }
  .player-card { grid-template-columns: 1fr; }
  .player-card > img { height: 190px; }
  .hero-actions { gap: 10px 18px; }
}
/* Motion: ambient loops and hover micro-motion only. Entrances and scroll reveals are GSAP (motion.js). */
@media (prefers-reduced-motion: no-preference) {
  :root { --ease: cubic-bezier(.2, .7, .2, 1); }
  @keyframes track-fill { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(32, 62, 53, .34); } 70%, 100% { box-shadow: 0 0 0 11px rgba(32, 62, 53, 0); } }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
  /* Ambient loops */
  .player-controls b { background: var(--line) linear-gradient(var(--moss), var(--moss)) no-repeat left / 0% 100%; animation: track-fill 14s linear infinite; }
  .player-controls > span { animation: pulse 2.4s ease-out infinite; }
  /* Hover and focus micro-motion */
  .button { transition: background-color 180ms ease-out, color 180ms ease-out, transform 280ms var(--ease); }
  .button:active { transform: translateY(1px); }
  .button span, .text-link span { transition: transform 280ms var(--ease); }
  .button:hover span, .button:focus-visible span, .text-link:hover span, .text-link:focus-visible span { transform: translate(3px, -3px); }
  .text-link[href*="#"]:hover span, .text-link[href*="#"]:focus-visible span { transform: translateY(3px); }
  .brand img { transition: transform 300ms var(--ease); }
  .player-card { transition: box-shadow 320ms var(--ease); }
  .language-menu[open] ul { transform-origin: top right; animation: menu-in 180ms var(--ease) both; }
  @media (hover: hover) {
    .brand:hover img { transform: rotate(-8deg) scale(1.08); }
  }
}
/* Hero is hidden only while motion.js prepares its entrance (see motion-init.js). */
.motion [data-hero] { opacity: 0; }
/* Lenis (from lenis/dist/lenis.css, MIT) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
