:root { --serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
/* Colours of this site (from its content file, design.colours). Light and dark are one design with the surfaces swapped (FOCS Accessibility). */
:root {
  --ground: #141311;
  --band: #1D1B18;
  --steps-ground: #0F0E0C;
  --field: #1D1B18;
  --line: #36322C;
  --text: #EEEAE3;
  --quiet: #ACA69B;
  --action: #E3916B;
  --light: #D7B57E;
  --sheet: #EDE8E0;
  --sheet-text: #1A1916;
  --sheet-quiet: #57524A;
  --sheet-accent: #9A4124;
  --on-action: #141311;
  --action-hover: #EEAA88;
  --action-edge: #B5653F;
  --field-edge: #7F786D;
  --field-focus: #25221E;
  --error: #F2A08E;
  --error-edge: #E07A66;
  --steps-text: #E2DED6;
  --scrim: #0A0908;
  --glow: 215 181 126;
  --steps-rule: 238 234 227;
  --scrim-rgb: 10 9 8;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #F6F5F2;
  --band: #ECEAE5;
  --steps-ground: #1A1916;
  --field: #FFFFFF;
  --line: #D8D1C6;
  --text: #1A1916;
  --quiet: #57524A;
  --action: #9A4124;
  --light: #7A5A2E;
  --sheet: #ECEAE5;
  --on-action: #FFFFFF;
  --action-hover: #7E331B;
  --action-edge: #5E2513;
  --field-edge: #8A8378;
  --field-focus: #FFFFFF;
  --error: #A3291A;
  --error-edge: #B8372A;
  --steps-text: #EEEAE3;
  --glow: 122 90 46;
  color-scheme: light;
}
/* The band of steps, the larger view of a picture and the cookie question (on the steps ground) stay dark in both themes. */
:root[data-theme="light"] :is(.next-steps, .lightbox, section.consent) { --text: #EEEAE3; --quiet: #ACA69B; --light: #D7B57E; --action: #E3916B; --line: #36322C; --on-action: #141311; --glow: 215 181 126; color-scheme: dark; }

/* The enquiry module (build row B-1578, K5 and K6): added to the style sheet only on a site whose content switches it on. Colours from the kit's variables. */
.preview-note { color: var(--quiet); font-size: 0.9375rem; }
.sent-message { margin: 1.75rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 2px; }
.sent-message h2 { margin: 0 0 0.5rem; font-size: 1rem; }
.sent-message pre { margin: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.handoff { margin: 1.75rem 0 0; }

/* A photograph's credit as its caption (build row B-1578, K8): added to the style sheet only when a photograph of the site has one. */
.photo-credit { display: block; margin-top: 0.4rem; color: var(--quiet); font-size: 0.8125rem; line-height: 1.4; }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
figure.photo { margin: 0; }

/* The cartographic drawings (lib/geo.mjs, build row B-1578). Added to the style sheet only on a site whose content names design.geo. Every colour is the
   site's own token, so both themes work without new colours; every drawing is complete and still under reduced motion, Save-Data and without script. */
@property --geo-r { syntax: "<percentage>"; inherits: true; initial-value: 160%; }
.geo-field { position: relative; overflow: hidden; pointer-events: none; user-select: none; --geo-x: 50%; --geo-y: 50%; }
.geo-in { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(circle at var(--geo-ox, 42%) var(--geo-oy, 55%), #000 var(--geo-r), transparent calc(var(--geo-r) + 28%)); mask-image: radial-gradient(circle at var(--geo-ox, 42%) var(--geo-oy, 55%), #000 var(--geo-r), transparent calc(var(--geo-r) + 28%)); }
.js .geo-field:not(.geo-near) .geo-l { visibility: hidden; } /* before its masks are asked for, a layer would paint as a solid slab */
.geo-l { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: var(--geo-x) var(--geo-y); mask-position: var(--geo-x) var(--geo-y); }
.geo-field[style*="--geo-z"] .geo-l { -webkit-mask-size: var(--geo-z) auto; mask-size: var(--geo-z) auto; }
.geo-lines { background: var(--geo-minor, var(--line)); }
.geo-index { background: var(--geo-major, color-mix(in srgb, var(--quiet) 58%, transparent)); }
.geo-water { background: var(--geo-water, var(--light)); opacity: 0.38; }
.geo-shade { position: absolute; inset: -10% auto -10% -40%; width: 60%; background: radial-gradient(closest-side, var(--ground), transparent); display: none; }
.geo-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.geo-trail .geo-dots { stroke: var(--geo-trail, var(--action)); stroke-width: 2.6; stroke-dasharray: 0 7; }
.geo-trail .geo-reveal { stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - 1000 * var(--geo-p, 1)); }
.geo-trail.geo-phone { display: none; }
@media (max-width: 699px) { .geo-trail.geo-wide { display: none; } .geo-trail.geo-phone { display: block; } }
.geo-ridge { display: block; width: 100%; height: auto; overflow: hidden; pointer-events: none; }
.geo-ridge .geo-near { fill: var(--geo-ground, var(--ground)); }
.geo-ridge .geo-middle, .geo-ridge .geo-far { stroke: var(--geo-hair, var(--quiet)); stroke-width: 1; stroke-linejoin: round; }
.geo-ridge .geo-middle { opacity: 0.55; }
.geo-ridge .geo-far { opacity: 0.32; }
.geo-profile { margin: 0; }
.geo-profile-draw { position: relative; aspect-ratio: 5 / 1; margin-top: 2.2em; }
@media (max-width: 699px) { .geo-profile-draw { aspect-ratio: 3 / 1; } }
.geo-profile svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.geo-profile .geo-tint { fill: var(--band); }
.geo-profile .geo-line { stroke: var(--text); stroke-width: 1.25; }
.geo-dot { position: absolute; left: var(--dx); top: var(--dy); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 3px var(--ground); }
.geo-points { list-style: none; margin: 0; padding: 0; }
.geo-points li { position: absolute; left: var(--x); top: 0; width: 1px; height: var(--y); background: linear-gradient(color-mix(in srgb, var(--quiet) 45%, transparent), color-mix(in srgb, var(--quiet) 45%, transparent)) 0 0 / 1px 100% no-repeat; }
.geo-points span { position: absolute; bottom: calc(100% + 0.35em); left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 0.8125rem; line-height: 1.2; color: var(--quiet); font-variant-numeric: tabular-nums; }
.geo-points b { display: block; font-weight: 400; opacity: 0.8; }
.geo-points li:first-child span { transform: none; }
.geo-points li:last-child span { transform: translateX(-100%); }
.geo-sun { font-variant-numeric: tabular-nums; }
/* motion: the site's script marks the page .geo-motion only when the visitor has not asked for less motion and is not saving data */
@media (prefers-reduced-motion: no-preference) {
  .geo-wait .geo-in { --geo-r: 0%; opacity: 0; }
  .geo-anim .geo-in { animation: geo-grow 2.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .geo-anim .geo-index { animation: geo-fade 1.8s ease-out both; }
  .geo-anim .geo-lines, .geo-anim .geo-water { animation: geo-fade 2.4s ease-out 0.45s both; }
  .geo-motion .geo-drift.geo-in-view .geo-shade { display: block; opacity: 0.6; animation: geo-drift 110s ease-in-out 3s infinite alternate; }
  .geo-motion .geo-dot { transition: left 0.12s linear, top 0.12s linear; }
}
@keyframes geo-grow { from { --geo-r: 0%; opacity: 1; } to { --geo-r: 160%; opacity: 1; } }
@keyframes geo-fade { from { opacity: 0; } }
@keyframes geo-drift { from { transform: translateX(0); } to { transform: translateX(190%); } }
@media (forced-colors: active) { .geo-field, .geo-ridge .geo-middle, .geo-ridge .geo-far, .geo-dot, .geo-points li { forced-color-adjust: auto; } .geo-field { display: none; } }

.geo-field.geo-near[data-geo-field="canyon"] .geo-index{-webkit-mask-image:url(/geo/canyon-index.svg);mask-image:url(/geo/canyon-index.svg)}
.geo-field.geo-near[data-geo-field="canyon"] .geo-lines{-webkit-mask-image:url(/geo/canyon-lines.svg);mask-image:url(/geo/canyon-lines.svg)}
.geo-field.geo-near[data-geo-field="canyon"] .geo-water{-webkit-mask-image:url(/geo/canyon-water.svg);mask-image:url(/geo/canyon-water.svg)}
@media (scripting: none){.geo-field[data-geo-field="canyon"] .geo-index{-webkit-mask-image:url(/geo/canyon-index.svg);mask-image:url(/geo/canyon-index.svg)}
.geo-field[data-geo-field="canyon"] .geo-lines{-webkit-mask-image:url(/geo/canyon-lines.svg);mask-image:url(/geo/canyon-lines.svg)}
.geo-field[data-geo-field="canyon"] .geo-water{-webkit-mask-image:url(/geo/canyon-water.svg);mask-image:url(/geo/canyon-water.svg)}}
@media (max-width: 699px){.geo-field.geo-near[data-geo-field="canyon"] .geo-index{-webkit-mask-image:url(/geo/canyon-phone-index.svg);mask-image:url(/geo/canyon-phone-index.svg)}
.geo-field.geo-near[data-geo-field="canyon"] .geo-lines{-webkit-mask-image:url(/geo/canyon-phone-lines.svg);mask-image:url(/geo/canyon-phone-lines.svg)}
.geo-field.geo-near[data-geo-field="canyon"] .geo-water{-webkit-mask-image:url(/geo/canyon-phone-water.svg);mask-image:url(/geo/canyon-phone-water.svg)}}
@media (max-width: 699px) and (scripting: none){.geo-field[data-geo-field="canyon"] .geo-index{-webkit-mask-image:url(/geo/canyon-phone-index.svg);mask-image:url(/geo/canyon-phone-index.svg)}
.geo-field[data-geo-field="canyon"] .geo-lines{-webkit-mask-image:url(/geo/canyon-phone-lines.svg);mask-image:url(/geo/canyon-phone-lines.svg)}
.geo-field[data-geo-field="canyon"] .geo-water{-webkit-mask-image:url(/geo/canyon-phone-water.svg);mask-image:url(/geo/canyon-phone-water.svg)}}
/* Ayoub Hiking Tours: this client's own layout (reconstruction B-1578, stage D). Photographic and elegant (F-2279); distilled (F-2281).
   Colours are the kit's tokens from content.json (design.colours), measured by the kit in both themes. Archivo for every word of the
   site's own; Source Serif 4 italic for walkers' words only. Phone first. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-400-700-subset.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* the walkers' words: Source Serif 4 Italic (SIL OFL 1.1) at one weight and in Latin only, renamed as its licence asks of a modified copy */
@font-face { font-family: "Ayoub Walkers Serif"; src: url("/fonts/ayoub-walkers-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Ayoub Walkers Serif", Georgia, "Times New Roman", serif;
  --pad: clamp(16px, 4.4vw, 56px);
  --max: 1360px;
  --gap: clamp(20px, 3vw, 40px);
  --space: clamp(72px, 11vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --night: #12110f; /* the ground under photographs, the same in both themes */
  /* the type system (impeccable pass, 26 Nov 2026): Archivo for the site's own words, display and text; the walkers' serif italic for theirs.
     One scale, fluid between 360 and 1440 px; line height falls as size rises; weights 400 (text), 500 (navigation), 600 (headings, labels). */
  --fs-display: clamp(2.6rem, 1.55rem + 4.5vw, 5.5rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1.05vw, 2.4rem);
  --fs-lede: clamp(1.125rem, 1.02rem + 0.42vw, 1.375rem);
  --fs-small: 0.9375rem;
  --measure: 62ch;
  --wm-paper: #fff; --wm-edge: rgb(20 19 17 / 0.32); /* the waymark's painted bands: paper over rust */
}
:root:not([data-theme="light"]) { --wm-edge: transparent; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); scroll-padding-top: 80px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, video, canvas, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; margin: 0; text-wrap: balance; hyphens: manual; }
h1 { font-size: var(--fs-display); font-weight: 640; letter-spacing: -0.032em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h3 { font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -0.018em; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
/* French runs long on a phone: hyphenate running text there (never headings, buttons or names) */
@media (max-width: 559px) { :lang(fr) p, :lang(fr) dd { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4; } }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--action); color: var(--on-action); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 16px; background: var(--text); color: var(--ground); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--quiet); max-width: 38ch; }
.fine { font-size: var(--fs-small); color: var(--quiet); }

/* ---------- buttons and links ---------- */
/* three sizes (44 small in the bar, 48 standard, 56 big for the one main action of a place) and three kinds: filled rust (the main action,
   Request a walk, once per place), line (a secondary action: WhatsApp, Call, Email, Request this walk) and ghost (on a photograph) */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 48px; padding: 0 1.4em; border: 1px solid var(--action); border-radius: 2px; background: var(--action); color: var(--on-action); font: 600 1rem/1.1 var(--sans); letter-spacing: -0.005em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease); -webkit-tap-highlight-color: transparent; }
.button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button:active { transform: translateY(1px) scale(0.985); }
.button .i { width: 1.25em; height: 1.25em; margin-inline: -0.1em; }
.button.big { min-height: 56px; font-size: 1.0625rem; padding: 0 1.6em; }
.button.small { min-height: 44px; padding: 0 1em; font-size: var(--fs-small); }
.button.ghost { background: rgb(10 9 8 / 0.18); color: #fff; border-color: rgb(255 255 255 / 0.75); }
.button.ghost:hover { background: rgb(255 255 255 / 0.14); border-color: #fff; }
.button.line { background: transparent; color: var(--text); border-color: color-mix(in srgb, currentColor 34%, transparent); }
.button.line:hover { background: color-mix(in srgb, currentColor 7%, transparent); border-color: currentColor; }
.button.square { width: 48px; padding: 0; }
.button .i-arrow, .arrow .i { transition: transform 0.25s var(--ease); }
.button:hover .i:last-child:not(:first-child), .arrow:hover .i { transform: translateX(3px); }
.button:disabled { opacity: 0.55; cursor: not-allowed; }
.arrow { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--action); }
.arrow .i { width: 1.1em; height: 1.1em; }
.link { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; min-height: 44px; min-width: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- header, contact first (26 Nov 2026, the founder's word, in the manner of Wimbledon's): a quiet line with the number in figures
   and the pair of icon buttons (language as a flag, light and dark) that scrolls away; then the row that stays at every width: the mark, the
   pages and WhatsApp (from 1200 px), Request, the menu (under 1200 px). Under 1200 px the contact bar at the screen's foot carries WhatsApp
   and Call on every page. ---------- */
:root { --util-h: 44px; --row-h: 60px; --cbar-h: 56px; }
@media (min-width: 1200px) { :root { --row-h: 76px; --cbar-h: 0px; } }
.top { position: sticky; top: calc(-1 * var(--util-h) - 1px); z-index: 20; background: var(--ground); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top.away { transform: none; } /* the row stays put while the page is read; only the quiet line above it scrolls away */
.mark-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.util { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--util-h); padding-inline: max(var(--pad), calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--line); }
.util-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.005em; font-variant-numeric: tabular-nums; text-decoration: none; }
.util-tel .i { width: 18px; height: 18px; color: var(--quiet); }
.util-tel:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.util-pair { display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.lang-flag, .theme { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: var(--text); cursor: pointer; transition: background-color 0.2s var(--ease); }
.lang-flag:hover, .theme:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(26 25 22 / 0.22); }
:root:not([data-theme="light"]) .flag { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.28); }
.theme .moon { display: none; }
:root[data-theme="light"] .theme .sun { display: none; }
:root[data-theme="light"] .theme .moon { display: block; }
.top-in { position: relative; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-height: var(--row-h); max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; margin-right: auto; text-decoration: none; font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }
.mark { width: 32px; height: 32px; color: var(--action); flex: none; }
.nav-links { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: flex; align-items: center; min-height: 48px; min-width: 44px; text-decoration: none; font-weight: 500; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; }
.top-wa { display: none; }
.top-ask { order: 3; flex: none; white-space: nowrap; }
.menu { order: 4; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: var(--text); cursor: pointer; }
.top .button.small { min-height: 44px; padding: 0 0.9em; font-size: 0.9375rem; }
.wide-only { display: none; }
.notice { padding: 12px var(--pad); background: var(--text); color: var(--ground); text-align: center; font-weight: 500; }
/* under 1200 px the pages fold into a sheet under the row, closed from the first paint (QA-G2 E3): the pages as rows, then Request a walk;
   the row's own Request steps aside while the sheet is open, so the one action is not shown twice */
#nav { order: 5; display: none; }
#nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 0 var(--pad) 20px; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgb(0 0 0 / 0.08); }
#nav.open .nav-links a { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; border-top: 1px solid var(--line); }
#nav.open .nav-links li:last-child a { border-bottom: 1px solid var(--line); }
.nav-go { padding-top: 20px; }
.nav-go .button { width: 100%; }
.top-in:has(.menu[aria-expanded="true"]) .top-ask { visibility: hidden; }
.menu .i { width: 24px; height: 24px; stroke-width: 1.8; }
.menu .i-shut, .menu[aria-expanded="true"] .i-open { display: none; }
.menu[aria-expanded="true"] .i-shut { display: block; }
/* without script the sheet cannot fold: the pages sit on rows of their own under the mark and the header scrolls away with the page */
@media (scripting: none) { .top { position: static; } .top-in { flex-wrap: wrap; } #nav { display: block; flex-basis: 100%; } .nav-go { display: none; } .menu { display: none; } }
@media (max-width: 379px) { .brand { font-size: 1rem; gap: 7px; } .top-in { gap: 6px; } .top .button.small { padding: 0 0.75em; } .mark { width: 30px; height: 30px; } }
@media (max-width: 359px) { .brand-rest { display: none; } }
@media (min-width: 900px) { .narrow-only { display: none; } .wide-only { display: inline; } }
@media (min-width: 1200px) {
  .top-in { gap: 6px; }
  .brand { gap: 11px; font-size: 1.125rem; }
  .menu { display: none; }
  #nav, #nav.open { display: block; position: static; flex-basis: auto; order: 1; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav-links { flex-direction: row; align-items: center; gap: 4px; }
  .nav-links a { min-height: 44px; padding: 0 12px; }
  .nav-go { display: none; }
  .top-wa { order: 2; display: inline-flex; flex: none; margin-left: 14px; }
  .top-ask { margin-left: 8px; }
  .top .button.small { padding: 0 1.1em; }
  .mark { width: 38px; height: 38px; }
}

/* ---------- the contact bar (contact-first pass, as Wimbledon's phone bar): under 1200 px, at the screen's foot on every page; WhatsApp
   first and wider in the action colour, then Call on the night ground; it steps aside while a box is being typed in ---------- */
.cbar { display: none; }
@media (max-width: 1199px) {
  .cbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); background: var(--night); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -10px 24px -18px rgb(0 0 0 / 0.5); }
  .cbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--cbar-h); color: #fff; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s var(--ease); }
  .cbar .i { width: 22px; height: 22px; }
  .cbar-wa { background: var(--action); color: var(--on-action) !important; }
  .cbar-wa:hover { background: var(--action-hover); }
  .cbar-call:hover, .cbar-call:active { background: rgb(255 255 255 / 0.08); }
  .cbar a:active { transform: none; }
  .cbar a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
  :root:not([data-theme="light"]) .cbar { background: #1c1a17; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08); }
  body { padding-bottom: calc(var(--cbar-h) + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(var(--cbar-h) + 12px); } /* a field or choice brought into view by focus is never left under the bar */
  body:has(form :is(input:not([type="radio"]):not([type="checkbox"]), textarea, select):focus) .cbar { display: none; }
  /* the bar is the one filled WhatsApp on the screen: the opening's own WhatsApp steps back, and the row's Request is a line button, so the
     filled rust on a phone's first screen is Request a walk in the opening and WhatsApp in the bar */
  .op-actions .button.ghost { display: none; }
  .top .top-ask { background: transparent; color: var(--text); border-color: color-mix(in srgb, currentColor 34%, transparent); }
  .top .top-ask:hover { background: color-mix(in srgb, currentColor 7%, transparent); border-color: currentColor; }
}

/* ---------- photographs ---------- */
.ph { position: relative; overflow: hidden; background: var(--band); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.bleed { width: 100%; }
.bleed img { aspect-ratio: 4 / 5; }
.bleed.band img { aspect-ratio: 21 / 9; }
@media (min-width: 700px) { .bleed img { aspect-ratio: 21 / 9; max-height: 82vh; } }

/* ---------- walkers' words ---------- */
.voice { margin: 0; }
.voice blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text); }
.voice blockquote p { text-wrap: pretty; }
/* the opening mark hangs in the margin on wider screens, so the words align with the column; on a phone the gutter is too narrow for it */
@media (min-width: 700px) { .voice .qo { margin-left: -0.42em; } .voice .qo-fr { margin-left: -0.66em; } }
.voice figcaption { display: flex; flex-wrap: wrap; gap: 0 0.9em; margin-top: 0.9em; font-size: 0.9375rem; color: var(--quiet); }
.voice .who { font-weight: 600; color: var(--text); }
.voice-xl blockquote { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 3rem); line-height: 1.17; letter-spacing: -0.012em; }
.voice-l blockquote { font-size: clamp(1.4rem, 1.15rem + 0.95vw, 2rem); line-height: 1.28; }
.voice-m blockquote { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); line-height: 1.42; }
.voice-s blockquote { font-size: 1.125rem; line-height: 1.42; }

/* ---------- Home: the opening ---------- */
.opening { position: relative; display: grid; min-height: calc(100svh - var(--util-h) - var(--row-h) - var(--cbar-h)); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.op-photo, .op-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.op-photo img { object-fit: cover; object-position: 50% 45%; }
.op-film { position: absolute; inset: 0; }
.op-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.op-film.playing video, .op-film.played video { visibility: visible; animation: fade-in 0.6s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }
.opening .op-film-poster { display: none; }
.op-words { position: relative; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 6vw, 64px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); width: 100%; margin-inline: auto; }
.op-words::before, .op-words::after { content: ""; position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; }
.op-words::before { top: 0; height: 60%; background: linear-gradient(rgb(10 9 8 / 0.72), rgb(10 9 8 / 0.38) 62%, rgb(10 9 8 / 0)); }
.op-words::after { bottom: 0; height: 46%; background: linear-gradient(rgb(10 9 8 / 0), rgb(10 9 8 / 0.7)); }
.op-head { grid-row: 1; }
.op-head h1 { max-width: 15ch; color: #fff; text-shadow: 0 1px 24px rgb(10 9 8 / 0.25); }
.op-head .lede { margin-top: 0.75em; color: rgb(255 255 255 / 0.92); max-width: 30ch; }
.op-foot { grid-row: 3; display: grid; gap: 6px; }
/* phone: the two actions stacked full width at the foot of the first screen, where the thumb rests */
.op-actions { display: grid; gap: 10px; }
.op-actions .button { width: 100%; }
.opening .button:focus-visible, .opening a:focus-visible { outline-color: #fff; }
.proof { display: inline-flex; align-items: center; min-height: 44px; }
.op-proof a { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.5); }
.op-proof .op-walks { text-decoration: none; color: rgb(255 255 255 / 0.88); }
.op-walks .i-down { width: 1.05em; height: 1.05em; transform: rotate(90deg); transition: transform 0.25s var(--ease); }
.op-walks:hover .i-down { transform: rotate(90deg) translateX(3px); }
.film-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / 0.7); border-radius: 50%; background: rgb(10 9 8 / 0.45); color: #fff; cursor: pointer; transition: background-color 0.2s var(--ease); }
.film-toggle:hover { background: rgb(10 9 8 / 0.7); }
.film-toggle .i { width: 20px; height: 20px; stroke-width: 2; grid-area: 1 / 1; }
.film-toggle .i-play { transform: translateX(1px); }
.film-toggle .i-pause, .film-toggle[aria-pressed="true"] .i-play { display: none; }
.film-toggle[aria-pressed="true"] .i-pause { display: block; }
.opening .op-film { display: none; } /* phone: the photograph alone; the film is on the Ayoub page */
.op-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; }
@media (min-width: 700px) {
  .opening { min-height: min(calc(100svh - var(--util-h) - var(--row-h) - var(--cbar-h)), 980px); }
  .op-photo img { object-position: 50% 55%; }
  .op-words { grid-template-rows: 1fr auto; align-content: end; }
  .op-words::before { display: none; }
  .op-words::after { height: 70%; background: linear-gradient(rgb(10 9 8 / 0), rgb(10 9 8 / 0.72)); }
  .op-head { grid-row: 2; align-self: end; }
  .op-foot { grid-row: 3; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
  .op-actions { display: flex; flex-wrap: nowrap; gap: 12px; }
  .op-actions .button { width: auto; flex: none; }
  .op-proof { justify-content: flex-start; gap: 0 28px; }
  .opening .op-film { display: block; inset: auto var(--pad) clamp(28px, 6vw, 64px) auto; width: clamp(150px, 15vw, 230px); aspect-ratio: 9 / 16; background: var(--night); box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); }
  .opening .op-film-poster { display: block; position: absolute; inset: 0; }
  .opening .op-film-poster img { width: 100%; height: 100%; object-fit: cover; }
  .opening .film-toggle { top: auto; bottom: 10px; right: 10px; }
  .op-words { padding-right: calc(var(--pad) + clamp(150px, 15vw, 230px) + 32px); }
}

/* ---------- Home: the guide question ---------- */
.guide { padding-bottom: var(--space); }
.guide-in { display: grid; gap: clamp(24px, 4vw, 48px); padding-block: clamp(56px, 9vw, 144px); }
.guide-in h2 { color: var(--quiet); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  .guide-in { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .guide-in h2 { grid-column: 1 / 4; padding-top: 0.6em; }
  .guide-in .voice-xl { grid-column: 4 / 12; }
  .guide-in .aside { grid-column: 8 / 13; }
}

/* ---------- Home: the walks ---------- */
.walks { padding-bottom: var(--space); }
.walks > .wrap > h2 { margin-bottom: clamp(28px, 5vw, 64px); }
.walk-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 7vw, 96px); }
.walk-row { display: grid; gap: 18px; }
.walk-photo img { aspect-ratio: 3 / 2; transition: transform 0.8s var(--ease); }
.walk-row:hover .walk-photo img { transform: scale(1.025); }
.walk-words { display: grid; gap: 10px; align-content: start; }
.walk-words h3, .walk-main h2 { display: flex; align-items: flex-start; gap: 0.42em; }
.walk-words h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.walk-words .button.line, .walk-main .button.line { justify-self: start; margin-top: 6px; }
.walk-words h3 a:hover { text-decoration: underline; }
.walk-words > p:not(.facts) { color: var(--quiet); max-width: 34ch; }
/* a walk's facts as a route card: time and distance in figures with their icons, then what it is like, quieter */
.facts { display: flex; flex-wrap: wrap; gap: 6px 1.5em; margin: 2px 0 0; font-size: var(--fs-small); }
.fact { display: flex; align-items: center; }
.fact dd { margin: 0; display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; }
.fact dd .i { width: 1.15em; height: 1.15em; color: var(--action); }
.fact-notes { flex-basis: 100%; flex-wrap: wrap; gap: 2px 0; }
.fact-notes dd { font-weight: 400; color: var(--quiet); }
.pair { display: grid; gap: 32px; margin-top: clamp(56px, 8vw, 112px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .walk-rows { gap: clamp(48px, 5vw, 72px); }
  .walk-row { grid-template-columns: repeat(12, 1fr); align-items: center; gap: var(--gap); }
  .walk-row .walk-photo { grid-column: 1 / 7; }
  .walk-row .walk-words { grid-column: 8 / 13; gap: 14px; }
  .walk-row.flip .walk-photo { grid-column: 7 / 13; grid-row: 1; }
  .walk-row.flip .walk-words { grid-column: 1 / 6; grid-row: 1; }
  .walk-words h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
  .walk-words > p:not(.facts) { font-size: 1.25rem; }
  .pair { grid-template-columns: 1fr 1fr; gap: var(--gap); }
}

/* ---------- Home: Ayoub ---------- */
.ayoub { padding: var(--space) 0; }
.walks + .ayoub { padding-top: 0; } /* the walks already end on a full space */
.ayoub-in { display: grid; gap: 28px; }
.ayoub-photo img { aspect-ratio: 3 / 2; }
.ayoub-words { display: grid; gap: 22px; align-content: start; }
@media (min-width: 900px) {
  .ayoub-in { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
  .ayoub-photo { grid-column: 1 / 6; }
  .ayoub-photo img { aspect-ratio: 4 / 5; }
  .ayoub-words { grid-column: 7 / 13; }
}

/* ---------- the close of every page ---------- */
.close { background: var(--night); color: #fff; }
.close-strip img { aspect-ratio: 21 / 5; max-height: 38vh; opacity: 0.92; }
.close-in { display: grid; gap: 14px; padding-block: clamp(48px, 8vw, 112px); }
.close h2 { color: #fff; }
.close-line { color: rgb(255 255 255 / 0.85); font-size: clamp(1.125rem, 1.6vw, 1.35rem); }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
:root:not([data-theme="light"]) .close { background: #1c1a17; } /* dark theme: the close keeps its weight against the charcoal page (QA-G1 L8) */
.close .button { --action: #E3916B; --action-hover: #EEAA88; --on-action: #141311; }
.close a:focus-visible { outline-color: #fff; }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(40px, 7vw, 112px); padding-bottom: clamp(32px, 5vw, 72px); display: grid; gap: 16px; }
.walk { padding-bottom: var(--space); }
.walk-in { display: grid; gap: 22px; }
.walk-in .walk-photo img { aspect-ratio: 3 / 2; }
.walk-main { display: grid; gap: 16px; align-content: start; justify-items: start; }
.walk-main .lede { max-width: 30ch; }
.walk-voice { padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .walk-in .walk-photo img { aspect-ratio: 3 / 2; } }
@media (min-width: 900px) {
  .walk-in { grid-template-columns: repeat(12, 1fr); gap: 32px var(--gap); align-items: end; }
  .walk-in .walk-photo { grid-column: 1 / 8; grid-row: 1 / 3; }
  .walk-main { grid-column: 9 / 13; grid-row: 1; }
  .walk-voice { grid-column: 9 / 13; grid-row: 2; }
  .walk-in.flip .walk-photo { grid-column: 6 / 13; }
  .walk-in.flip .walk-main, .walk-in.flip .walk-voice { grid-column: 1 / 5; }
  .walk h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
}
.know { padding-bottom: var(--space); }
.know dl { display: grid; gap: 0; margin: clamp(24px, 4vw, 40px) 0 0; }
.know dl > div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.know dt { font-weight: 600; }
.know dd { margin: 0; color: var(--quiet); }
.know dd a { padding-block: 10px; color: var(--text); }
@media (min-width: 900px) {
  .know { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
  .know h2 { grid-column: 1 / 5; }
  .know dl { grid-column: 5 / 13; margin: 0; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
}

.about { display: grid; gap: 28px; padding-top: clamp(24px, 5vw, 72px); padding-bottom: var(--space); }
.about-film { position: relative; inset: auto; aspect-ratio: 4 / 5; background: var(--night); overflow: hidden; }
.about-film .op-film-poster, .about-film .op-film-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-words { display: grid; gap: 22px; align-content: start; }
.about-voices { display: grid; gap: 28px; margin-top: 12px; }
.about-facts { display: grid; gap: 0; margin: 12px 0 0; }
.about-facts > div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.about-facts dt { font-weight: 600; }
.about-facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.about-facts dd a { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; }
.about-facts dd .i { width: 1.15em; height: 1.15em; }
@media (min-width: 900px) {
  .about { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
  .about-film { grid-column: 1 / 6; aspect-ratio: 9 / 16; position: sticky; top: 100px; max-height: calc(100vh - 130px); }
  .about-words { grid-column: 7 / 13; }
  .about-voices { grid-template-columns: 1fr 1fr; gap: 36px var(--gap); }
}

.voices { padding-bottom: clamp(48px, 7vw, 96px); }
.voice-cols { columns: 1; column-gap: var(--gap); }
.voice-cols .voice { break-inside: avoid; padding: 0 0 clamp(32px, 4vw, 48px); }
@media (min-width: 700px) { .voice-cols { columns: 2; } }
@media (min-width: 1100px) { .voice-cols { columns: 3; } }
.voices-page .bleed { margin-bottom: clamp(48px, 7vw, 96px); }
.more summary { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.2em; margin-bottom: 32px; border: 1px solid var(--text); border-radius: 2px; font-weight: 600; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
.credits { padding-bottom: var(--space); font-size: 0.875rem; color: var(--quiet); }
.credits h2 { font-size: 1.125rem; color: var(--text); margin-bottom: 12px; }
.credits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 90ch; }
.credits a { color: var(--text); }
.credits .photo-credit { display: inline; margin: 0; font-size: inherit; color: inherit; }

/* ---------- Request a walk ---------- */
.request { display: grid; gap: 48px; padding-bottom: var(--space); }
.request-form { display: grid; gap: 18px; max-width: 640px; }
@media (min-width: 700px) { .request-form { gap: 22px; } }
.request-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.request-form legend { width: 100%; padding: 0; margin-bottom: 8px; font-weight: 600; }
.request-form fieldset label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--field-edge); border-radius: 2px; cursor: pointer; background: var(--field); }
.request-form fieldset input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.request-form fieldset label:has(input:checked) { background: var(--text); color: var(--ground); border-color: var(--text); }
.request-form fieldset label:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }
.row { display: grid; gap: 22px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.pair-row { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field-edge); border-radius: 2px; background: var(--field); color: var(--text); font: 400 1.0625rem/1.4 var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--action); outline-offset: 1px; background: var(--field-focus); }
.field [aria-invalid="true"] { border-color: var(--error-edge); border-width: 2px; }
.err { color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.hint { margin-top: -14px; color: var(--quiet); font-size: 0.9375rem; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { padding: 18px 20px; border: 2px solid var(--error-edge); border-radius: 2px; background: var(--field); }
.summary h2 { font-size: 1.125rem; color: var(--error); margin-bottom: 8px; }
.summary ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.summary a { color: var(--text); font-weight: 600; display: inline-flex; min-height: 32px; align-items: center; }
.summary:focus { outline: 3px solid var(--action); outline-offset: 3px; }
.request-form.calling .only-message { display: none; }
/* forced colours (Windows contrast themes): a chosen option keeps a visible state, not a background alone (QA-G2) */
@media (forced-colors: active) {
  .request-form fieldset label:has(input:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; border: 3px solid Highlight; outline: 2px solid CanvasText; outline-offset: 1px; }
  .button, .top .button.small { border: 1px solid ButtonText; }
}
.send .button { width: 100%; }
@media (min-width: 560px) { .send .button { width: auto; } }
.request-aside { display: none; }
.page-head .direct { margin-top: 4px; }
@media (min-width: 900px) {
  .request { grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
  .request-form { grid-column: 1 / 8; }
  .request-aside { display: block; grid-column: 9 / 13; position: sticky; top: 110px; }
  .aside-photo img { aspect-ratio: 4 / 5; }
}

.sent { padding-block: clamp(48px, 8vw, 128px) var(--space); display: grid; gap: 22px; justify-items: start; max-width: 760px; margin-inline: auto; }
.sent .sent-message { width: 100%; display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.sent-message p { color: var(--quiet); }
.sent-message pre { margin: 0; padding: 18px 20px; border-left: 0; background: var(--field); border: 1px solid var(--line); font: 400 1rem/1.6 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }

.prose { max-width: 760px; padding-block: clamp(40px, 7vw, 112px) var(--space); display: grid; gap: 14px; }
.prose h1 { margin-bottom: 18px; }
.prose h2 { font-size: 1.25rem; margin-top: 20px; }
.prose p { color: var(--quiet); }
.prose a { color: var(--text); }

.lost { display: grid; gap: 28px; padding-block: clamp(32px, 6vw, 96px) var(--space); align-items: center; }
.lost > div { display: grid; gap: 16px; justify-items: start; }
.lost-photo img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .lost { grid-template-columns: 1fr 1fr; gap: var(--gap); } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) 24px; font-size: 0.9375rem; }
.foot-in { display: grid; gap: 28px; align-items: start; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.foot-brand { display: grid; gap: 8px; }
.foot-brand a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; font-size: 1.125rem; text-decoration: none; }
.foot-where { color: var(--quiet); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links .i { width: 1.15em; height: 1.15em; margin-right: 0.6em; color: var(--quiet); }
.foot-contact { grid-template-columns: 1fr; }
.foot-contact .email { overflow-wrap: anywhere; }
.foot-side { display: grid; gap: 14px; align-content: start; }
.foot-social { list-style: none; margin: 0 0 0 -12px; padding: 0; display: flex; gap: 4px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; color: var(--text); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.foot-social a:hover { color: var(--action); background: color-mix(in srgb, currentColor 8%, transparent); }
.foot-social .i { width: 22px; height: 22px; }
@media (min-width: 900px) { .foot-links { grid-template-columns: 1fr; } }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--quiet); }
.powered-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--quiet); text-decoration: none; }
.powered img { width: 59px; height: 14px; }
.mark-light { display: none; }
:root[data-theme="light"] .mark-dark { display: none; }
:root[data-theme="light"] .mark-light { display: block; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 2fr 1fr 1.3fr 1fr; } .foot-legal { grid-column: 1 / -1; } }

/* ---------- motion: once, quiet; still under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .op-head h1, .op-head .lede, .op-foot { animation: rise 0.9s var(--ease) both; }
  .op-head .lede { animation-delay: 0.08s; }
  .op-foot { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .op-photo img { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.04); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- the waymark (impeccable pass, 26 Nov 2026): two short painted bands, paper over rust, as walkers follow them on the rock ---------- */
.wm { flex: none; width: max(20px, 0.56em); height: auto; aspect-ratio: 22 / 14; margin-top: calc((1lh - max(20px, 0.56em) * 14 / 22) / 2); overflow: visible; }
.wm-a { fill: var(--wm-paper); stroke: var(--wm-edge); stroke-width: 1; }
.wm-b { fill: var(--action); }
/* before a step is complete its mark is a bare patch of rock waiting for paint, never an outline that could pass for a checkbox */
.wm-ghost .wm-a, .wm-ghost .wm-b { fill: color-mix(in srgb, var(--text) 9%, transparent); stroke: none; }
[data-step].done .wm-ghost .wm-a { fill: var(--wm-paper); stroke: var(--wm-edge); }
[data-step].done .wm-ghost .wm-b { fill: var(--action); }
label .wm, legend .wm { width: 20px; margin-top: 0; }
.request-form legend, .request-form .field > label { display: flex; align-items: center; gap: 0.55em; }
.pair-row .field:not(:first-child) > label { padding-left: calc(20px + 0.55em); } /* Children lines up with Adults, past its mark */
.wm-wrong { width: 0.72em; aspect-ratio: 1; margin-top: calc((1lh - 0.72em) / 2); }
.lost h1 { display: flex; align-items: flex-start; gap: 0.3em; }
@media (prefers-reduced-motion: no-preference) {
  [data-step].done .wm-ghost { animation: paint 0.42s var(--ease) both; }
  @keyframes paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- straight to Ayoub: secondary buttons with icons ---------- */
.direct { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.direct .button { min-width: 48px; }
.close .direct .button.line { color: #fff; border-color: rgb(255 255 255 / 0.42); min-height: 56px; }
.close .direct .button.line:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }
@media (max-width: 699px) {
  .close-actions { display: grid; gap: 10px; }
  .close-actions > .button { width: 100%; }
  .direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
  .direct .button { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 4px; width: 100%; font-size: 0.875rem; }
  .direct .button .i { width: 22px; height: 22px; margin: 0; }
}

/* ================= the cartographic layer (finalise pass, 26 Nov 2026, F-2314; CONCEPT.md). The kit draws the land (geo.css); this places it.
   Lines are hairlines in the site's own tones; photographs, walkers' words and the form are never drawn over. ================= */
/* survey marks: a place's position and height, tabular, small, the quiet tone */
.survey { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.01em; color: var(--quiet); font-variant-numeric: tabular-nums; }
.survey .north { width: 9px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.survey a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }

/* the ridge edges: the real skyline from the Monkey Fingers viewpoint closes the guide's photograph into the walks; the skyline west of the
   village closes every page's last photograph into the night ground */
.edge, .close-edge { position: relative; }
.edge .geo-ridge, .close-edge .geo-ridge { position: absolute; left: 0; right: 0; bottom: -1px; }
.edge-ridge { --geo-ground: var(--ground); --geo-hair: #fff; }
.close-ridge { --geo-ground: var(--night); --geo-hair: #fff; }
:root:not([data-theme="light"]) .close-ridge { --geo-ground: #1c1a17; }
.edge-ridge .geo-middle, .close-ridge .geo-middle { opacity: 0.7; }
.edge-ridge .geo-far, .close-ridge .geo-far { opacity: 0.45; }
.lost-ridge { --geo-ground: transparent; --geo-hair: var(--quiet); grid-column: 1 / -1; margin-bottom: -8px; }
.lost-ridge .geo-near, .lost-ridge .geo-middle { display: none; }
.lost-ridge .geo-far { opacity: 0.6; }

/* the contour field behind "Three walks", the loop plotted across it; the lines fade out under the heading and before the walks begin */
.walks-head { position: relative; padding-top: clamp(40px, 7vw, 104px); margin-bottom: clamp(28px, 5vw, 64px); overflow-x: clip; }
.walks > .wrap > h2 { margin-bottom: 0; }
.walks-head h2 { position: relative; }
.walks-head h2::before { content: ""; position: absolute; inset: -0.6em -1.2em -0.5em -1.2em; z-index: -1; background: radial-gradient(closest-side, var(--ground) 62%, transparent); }
.walks-head .wrap { position: relative; z-index: 1; }
.walks-field { position: absolute; left: 0; right: 0; top: calc(-1 * clamp(40px, 9vw, 120px)); height: clamp(320px, 40vw, 560px); z-index: 0; --geo-ox: 60%; --geo-oy: 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 52%, transparent 96%); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 52%, transparent 96%); }
.walks-field .survey { position: absolute; right: var(--pad); bottom: 24%; }
.walks { position: relative; isolation: isolate; }
.walks .walk-rows { position: relative; z-index: 1; }
.walk-rows .walk-row { background: var(--ground); }

/* each walk on the Walks page opens on a slice of the same field, cropped to its own ground */
.walk-field { height: clamp(96px, 12vw, 150px); margin-bottom: clamp(20px, 3vw, 36px); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.walk-field .survey { position: absolute; left: var(--pad); bottom: 10px; }
.walk:first-of-type .walk-field { margin-top: 0; }
.walk-profile { width: 100%; display: grid; gap: 10px; margin: 6px 0 4px; }
.walk-profile .fine { max-width: 40ch; }


/* waypoints: a ring beside a walker's name that fills as the words come into view */
.ring { width: 14px; height: 14px; flex: none; align-self: center; margin-right: 2px; overflow: visible; }
.ring circle:first-child { fill: none; stroke: var(--action); stroke-width: 1.4; }
.ring .ring-fill { fill: var(--action); transform-origin: 8px 8px; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.geo-motion .ring:not(.geo-on) .ring-fill { opacity: 0; transform: scale(0.2); }

/* the close: the sun's times as one quiet line */
.close .geo-sun { color: rgb(255 255 255 / 0.72); font-size: var(--fs-small); }

/* What walkers say, editorially: the rating large, one lead quote, then the walk as a trail with the words hung at its places */
.voices-head { gap: 20px; }
.score { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; text-decoration: none; justify-self: start; min-height: 44px; }
.score-n { font-size: clamp(3.2rem, 2.2rem + 4.4vw, 6.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.score-w { font-size: var(--fs-small); color: var(--quiet); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.25em; }
.score:hover .score-w { text-decoration-color: currentColor; }
.voices-lead { padding-bottom: clamp(48px, 7vw, 104px); }
.voices-lead .voice { max-width: 26ch; }
.voices-lead .voice-xl blockquote { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.6rem); }
.trail-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; display: grid; gap: clamp(40px, 6vw, 88px); }
.trail-list::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; background: radial-gradient(circle, var(--action) 1.3px, transparent 1.6px) 50% 0 / 3px 10px repeat-y; opacity: 0.85; }
.stop { position: relative; display: grid; gap: 18px; }
.stop > .ring { position: absolute; left: -35px; top: 0.35em; width: 16px; height: 16px; background: var(--ground); border-radius: 50%; }
.stop h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; color: var(--quiet); }
.stop-voices { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .trail-list { padding-left: 0; }
  .trail-list::before { left: calc(25% - 1.5px); }
  .stop { grid-template-columns: 25% 1fr; column-gap: 48px; }
  .stop > .ring { left: calc(25% - 8px); }
  .stop h3 { text-align: right; padding-right: 32px; }
  .stop-voices { grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: start; }
  .stop-voices .voice-l { grid-column: 1 / -1; max-width: 34ch; }
  .stop:nth-child(even) .stop-voices .voice-l { justify-self: end; }
}
.read-all { padding-bottom: clamp(40px, 6vw, 72px); }

/* the footer's credits for the drawings, small and complete */
.foot-geo { grid-column: 1 / -1; margin: 0; font-size: 0.75rem; line-height: 1.5; color: var(--quiet); max-width: 110ch; }
.foot-geo a { color: inherit; }

/* the walk facts' quieter line: start times, group size and what it is like, each its own mark */
.fact-notes dd > span:not([hidden]) ~ span:not([hidden])::before { content: "\00a0· "; }
.sent-none { color: var(--quiet); }

/* plotting, the one micro-interaction (CONCEPT section 4): a short dotted run drawn under a link as it is hovered or focused */
.arrow, .nav-links a, .walk-words h3 a, .foot-links a { position: relative; }
.arrow::after, .nav-links a::after, .walk-words h3 a::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 3px; pointer-events: none;
  background: radial-gradient(circle, currentColor 1px, transparent 1.3px) 0 50% / 7px 3px repeat-x; transform: scaleX(0); transform-origin: left; transition: transform 0.18s var(--ease); opacity: 0.8; }
.arrow:hover::after, .arrow:focus-visible::after, .nav-links a:hover::after, .nav-links a:focus-visible::after, .walk-words h3 a:hover::after, .walk-words h3 a:focus-visible::after { transform: scaleX(1); }
.nav-links a:hover, .walk-words h3 a:hover { text-decoration: none; }
@media (max-width: 1199px) {
  #nav.open { border-bottom-color: transparent; }
  #nav.open::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: left; animation: survey-rule 0.22s var(--ease) both; }
  @keyframes survey-rule { from { transform: scaleX(0); } }
}

/* QA-G2 A4: the opening heading keeps 3:1 over bright rock on wide screens (a soft scrim from the left, behind the words only) */
@media (min-width: 700px) {
  .op-words::before { display: block; top: 0; bottom: 0; height: auto; right: 40%; background: linear-gradient(90deg, rgb(10 9 8 / 0.5), rgb(10 9 8 / 0.22) 60%, transparent); }
  .op-head h1 { text-shadow: 0 1px 28px rgb(10 9 8 / 0.45); }
}
.fact-notes dd { display: block; }
/* finalise pass, second look: the survey marks sit outside the fading fields; slices taller; the close's ridge lower; the lead quote wider */
.walks-survey { position: absolute; right: var(--pad); top: clamp(8px, 2vw, 24px); z-index: 1; }
.walk-ground { position: relative; margin-bottom: clamp(20px, 3vw, 36px); }
.walk-ground .walk-field { height: clamp(120px, 14vw, 200px); margin: 0; }
.walk-ground .survey { position: absolute; left: 0; right: 0; bottom: 8px; }
.walk-profile { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); }
.close-ridge { height: clamp(26px, 4.2vw, 72px); }
.edge-ridge { height: clamp(34px, 7vw, 120px); }
.voices-lead .voice { max-width: 1040px; }
.voices-lead .voice-xl blockquote { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 3.1rem); }
/* third look: the field breathes on a phone; the survey mark sits in the field's quiet top-left corner, clear of the trail and the heading */
.walks-head { padding-top: clamp(150px, 15vw, 210px); }
.walks-field { top: calc(-1 * clamp(10px, 5vw, 80px)); height: clamp(380px, 40vw, 600px); }
.walks-survey { left: var(--pad); right: auto; top: clamp(36px, 5vw, 64px); }
.walks-field { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 76%, transparent 100%); }
.walks-head h2::before { inset: -0.3em -0.6em -0.25em -0.6em; }
.walks-field { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 80%, transparent 100%); }
/* the loop sits above "Three walks" on a wide screen, a map's breath between the photograph and the walks; the heading's paper patch is only as wide as its words */
.walks-head { padding-top: clamp(150px, 27vw, 400px); }
.walks-head h2 { display: inline-block; }
/* the survey mark as a map's label: a little paper under its words, so a line never runs through them */
.survey:not(.survey-meet) > span { background: var(--ground); padding: 1px 4px; border-radius: 1px; }
@media (max-width: 699px) { .walks-survey { top: auto; bottom: -26px; } .walks-head { margin-bottom: 52px; } }
.lost-ridge { height: clamp(28px, 4.5vw, 64px); margin-top: clamp(-40px, -3vw, -12px); }
.lost-ridge .geo-far { opacity: 0.45; }
/* the survey mark belongs to its heading at every width (the independent read: on a wide screen it floated mid-field) */
.walks-survey { top: auto; bottom: -28px; }
.walks-head { margin-bottom: clamp(52px, 6vw, 84px); }
/* the profile's marks on two rows, so close places never run into each other on a phone */
.walk-profile .geo-profile-draw { margin-top: 5em; }
.walk-profile .geo-points li:nth-child(2) span { bottom: calc(100% + 2.9em); }
