/* Gîte d'étape du Jal – "Schiste, châtaigne et balisage".
   Chalk pages, schist-dark bands, the olive of the original site, chestnut, and the painted waymarks
   (jaune et blanc, jaune et rouge, vert et blanc) of the walks that start at the gîte.
   Fonts: Bree Serif (display) + Encode Sans (text), both SIL OFL, self-hosted. */

@font-face {
    font-family: "Bree Serif";
    src: url("/fonts/bree-serif.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Encode Sans";
    src: url("/fonts/encode-sans.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}

:root {
    --chalk: #f6f1e7;
    --chalk-2: #ece4d3;
    --paper: #fffdf8;
    --ink: #24211d;
    --ink-soft: #514a40;
    --schist: #2c2925;
    --schist-2: #3a3530;
    --schist-3: #4a443d;
    --on-dark: #f6f1e7;
    --on-dark-soft: #d6cdbc;
    --olive: #536f08;
    --olive-ink: #3f5506;
    --leaf: #b4d64a;
    --chestnut: #8a3a14;
    --chestnut-ink: #7a3210;
    --sun: #f2c200;
    --blaze-yellow: #f2c200;
    --blaze-red: #c8321e;
    --blaze-green: #2e8b3e;
    --blaze-white: #ffffff;
    --radius: 18px;
    --radius-s: 10px;
    --display: "Bree Serif", Georgia, serif;
    --text: "Encode Sans", system-ui, sans-serif;
    --lb-bg: rgba(28, 26, 23, 0.95);
    --lb-accent: #f2c200;
    --lb-accent-soft: rgba(242, 194, 0, 0.25);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 140px;
}

body {
    margin: 0;
    background: var(--chalk);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-stretch: 96%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--olive-ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--chestnut-ink);
}

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

.band-dark :focus-visible,
.hero :focus-visible,
.foot :focus-visible,
.callband :focus-visible {
    outline-color: var(--sun);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 6.4vw, 4.9rem);
}

h2 {
    font-size: clamp(1.75rem, 3.8vw, 2.9rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

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

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--schist);
    color: var(--on-dark);
    padding: 10px 16px;
    border-radius: var(--radius-s);
}

.skip:focus {
    top: 12px;
}

.eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--chestnut-ink);
    margin-bottom: 0.8em;
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    max-width: 44em;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.35em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.2;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sun {
    background: var(--sun);
    color: var(--ink);
}

.btn-sun:hover {
    background: #ffd633;
    color: var(--ink);
}

.btn-olive {
    background: var(--olive);
    color: #fff;
}

.btn-olive:hover {
    background: var(--olive-ink);
    color: #fff;
}

.btn-ghost {
    border-color: currentColor;
    color: var(--on-dark);
}

.btn-ghost:hover {
    color: var(--sun);
}

.btn-line {
    border-color: var(--olive-ink);
    color: var(--olive-ink);
}

.btn-line:hover {
    background: var(--olive-ink);
    color: #fff;
}

.big-phone {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 241, 231, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 41, 37, 0.12);
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 10px;
}

.brand {
    flex: 0 1 auto;
    min-width: 0;
}

.brand img {
    width: clamp(170px, 30vw, 330px);
}

.top-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.lang {
    display: flex;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(44, 41, 37, 0.25);
    border-radius: 999px;
    overflow: hidden;
}

.lang a,
.lang span {
    padding: 6px 9px;
    text-decoration: none;
    line-height: 1.2;
}

.lang span {
    background: var(--schist);
    color: var(--on-dark);
}

.lang a {
    color: var(--ink);
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--olive);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--olive-ink);
    color: #fff;
}

.menu-btn {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 2px solid var(--schist);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 700 0.9rem var(--text);
    cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.menu-bars {
    position: relative;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.nav {
    border-top: 1px solid rgba(44, 41, 37, 0.08);
}

.nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    padding-block: 6px;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
}

.nav a:hover {
    background: var(--chalk-2);
    color: var(--ink);
}

.nav a[aria-current] {
    background: var(--schist);
    color: var(--on-dark);
}

.nav a.nav-book {
    margin-left: auto;
    background: var(--chestnut);
    color: #fff;
    padding-inline: 18px;
}

.nav a.nav-book:hover,
.nav a.nav-book[aria-current] {
    background: var(--chestnut-ink);
    color: #fff;
}

@media (max-width: 959px) {
    .js-menu .menu-btn {
        display: inline-flex;
    }

    .js-menu .nav {
        display: none;
    }

    .js-menu .nav.open {
        display: block;
    }

    .nav-row {
        flex-direction: column;
        align-items: stretch;
        padding-block: 10px 14px;
    }

    .nav a.nav-book {
        margin-left: 0;
        text-align: center;
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .call-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .call {
        padding: 8px 12px;
    }

    .menu-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
}

/* ---- the painted waymark (balise) ---- */

.blaze {
    --a: var(--blaze-yellow);
    --b: var(--blaze-white);
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 34px;
    padding: 5px;
    border-radius: 6px;
    background: var(--schist-3);
    vertical-align: middle;
    flex: 0 0 auto;
}

.blaze::before,
.blaze::after {
    content: "";
    display: block;
    height: 7px;
    border-radius: 2px 3px 2px 3px;
}

.blaze::before {
    background: var(--a);
}

.blaze::after {
    background: var(--b);
}

.blaze-yw {
    --a: var(--blaze-yellow);
    --b: var(--blaze-white);
}

.blaze-yr {
    --a: var(--blaze-yellow);
    --b: var(--blaze-red);
}

.blaze-gw {
    --a: var(--blaze-green);
    --b: var(--blaze-white);
}

.blaze-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ---- home hero ---- */

.hero {
    position: relative;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(242, 194, 0, 0.18), transparent 60%),
        repeating-linear-gradient(-12deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px),
        linear-gradient(160deg, var(--schist-2), var(--schist) 60%);
    color: var(--on-dark);
    padding: clamp(36px, 7vw, 88px) 0 calc(clamp(40px, 6vw, 80px) + 36px);
    overflow: hidden;
}

.hero::after,
.wall-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: url("/img/wall.svg") repeat-x left bottom / 240px 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.hero .eyebrow {
    color: var(--sun);
}

.hero h1 {
    margin-bottom: 0.35em;
}

.hero h1 .h1-name {
    display: block;
    font-size: 0.42em;
    color: var(--leaf);
    letter-spacing: 0;
    margin-bottom: 0.3em;
}

.hero .lead {
    color: var(--on-dark-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-note {
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--on-dark-soft);
}

.hero-trail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--on-dark);
}

.hero-trail .blaze {
    width: 58px;
    padding: 8px;
    background: #57504a;
    transform-origin: left center;
    animation: paint 1.1s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-trail .blaze::before,
.hero-trail .blaze::after {
    height: 11px;
}

@keyframes paint {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* the terraced stack of photos: three prints stepping down like the faïsses */
.terraces {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    gap: 14px;
}

.terraces figure {
    margin: 0;
    position: relative;
}

.terraces a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border: 4px solid var(--chalk);
}

.terraces img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.terraces a:hover img {
    transform: scale(1.04);
}

.terraces .t1 {
    grid-column: 1 / 5;
    animation: rise 0.9s 0.1s both;
}

.terraces .t2 {
    grid-column: 3 / 7;
    margin-top: -22%;
    animation: rise 0.9s 0.3s both;
}

.terraces .t3 {
    grid-column: 1 / 4;
    margin-top: -16%;
    animation: rise 0.9s 0.5s both;
}

.terraces .t3 img {
    aspect-ratio: 3 / 2;
}

.terraces .t4 {
    grid-column: 4 / 7;
    align-self: start;
    animation: rise 0.9s 0.7s both;
}

.terraces .t4 img {
    aspect-ratio: 3 / 2;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---- bands ---- */

.band {
    padding: clamp(52px, 8vw, 104px) 0;
    position: relative;
}

.band-paper {
    background: var(--paper);
}

.band-dark {
    background: linear-gradient(170deg, var(--schist-2), var(--schist));
    color: var(--on-dark);
}

.band-dark a {
    color: var(--sun);
}

.band-dark a:hover {
    color: #ffe27a;
}

.band-dark .eyebrow {
    color: var(--sun);
}

.band-dark .lead,
.band-dark p {
    color: var(--on-dark-soft);
}

.band-dark h2,
.band-dark h3 {
    color: var(--on-dark);
}

.band-olive {
    background: var(--olive-ink);
    color: #fff;
}

.band-olive p {
    color: #eef2df;
}

.band-olive .eyebrow {
    color: var(--sun);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

/* intro: hosts and the "plein sud" diagram */
.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.intro-text p {
    font-size: 1.08rem;
}

.intro-text .big {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.25;
    color: var(--ink);
}

.south {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(44, 41, 37, 0.12);
    box-shadow: 0 12px 30px rgba(44, 41, 37, 0.08);
}

.south svg {
    width: 100%;
    height: auto;
    display: block;
}

.south figcaption {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 10px;
}

.south .sun-arc {
    stroke-dasharray: 520;
    stroke-dashoffset: 0;
}

@supports (animation-timeline: view()) {
    .south .sun-arc {
        animation: draw linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 45%;
    }

    .south .sun-dot {
        animation: sunmove linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 45%;
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 520;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes sunmove {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.eco-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 10px;
}

.eco-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--chalk-2);
    border-radius: var(--radius-s);
    padding: 12px 14px;
    font-size: 0.98rem;
}

.eco-list svg {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: var(--olive-ink);
}

/* bento of the three ways to stay */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--schist-2);
    color: var(--on-dark);
    text-decoration: none;
    min-height: 340px;
    isolation: isolate;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s ease;
}

.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(28, 26, 23, 0.05) 20%, rgba(28, 26, 23, 0.92) 78%);
}

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

.tile-body {
    margin-top: auto;
    padding: 22px 22px 24px;
}

.tile h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 0.25em;
}

.tile p {
    color: #ece6da;
    margin: 0;
    font-size: 0.98rem;
}

.tile .figure {
    display: inline-block;
    font-family: var(--display);
    font-size: 1rem;
    background: var(--sun);
    color: var(--ink);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.tile:hover,
.tile:hover h3 {
    color: #fff;
}

.tile-a {
    grid-column: span 7;
    min-height: 420px;
}

.tile-b {
    grid-column: span 5;
    min-height: 420px;
}

.tile-c {
    grid-column: span 12;
    min-height: 300px;
}

/* activities strip */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.chips li {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: #fff;
}

.chips li:nth-child(3n + 1) {
    background: var(--sun);
    color: var(--ink);
    border-color: var(--sun);
}

/* walk cards */
.hike-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hike-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 22px 20px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(44, 41, 37, 0.12);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hike-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(44, 41, 37, 0.14);
    color: var(--ink);
}

.hike-card h3 {
    margin: 4px 0 0;
    color: var(--olive-ink);
}

.hike-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.hike-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--chestnut-ink);
    margin-top: auto !important;
}

.band-dark .hike-card {
    background: var(--schist-2);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--on-dark);
}

.band-dark .hike-card h3 {
    color: var(--leaf);
}

.band-dark .hike-card p {
    color: var(--on-dark-soft);
}

.band-dark .hike-meta {
    color: var(--sun);
}

/* prints: the original's small photos at their own size, as a contact sheet */
.prints {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.prints li {
    margin: 0;
}

.prints a {
    display: block;
    background: #fff;
    padding: 8px 8px 8px;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(44, 41, 37, 0.16);
    transition: transform 0.2s ease;
}

.prints li:nth-child(odd) a {
    transform: rotate(-1.2deg);
}

.prints li:nth-child(even) a {
    transform: rotate(1deg);
}

.prints li a:hover {
    transform: rotate(0) scale(1.03);
}

.prints img {
    border-radius: 2px;
}

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

/* press teaser */
.press-teaser {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}

.press-teaser a.scan {
    display: block;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    transform: rotate(-3deg);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

/* nearby */
.nearby {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.nearby-item {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(44, 41, 37, 0.12);
}

.nearby-item h3 {
    color: var(--olive-ink);
}

/* ---- inner pages ---- */

.page-hero {
    position: relative;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(83, 111, 8, 0.16), transparent 60%),
        var(--chalk);
    padding: clamp(36px, 6vw, 76px) 0 clamp(30px, 4vw, 52px);
}

.page-hero h1 {
    color: var(--ink);
}

.page-hero .lead {
    color: var(--ink-soft);
}

.page-hero .blaze-row {
    margin-bottom: 16px;
}

.crumbs {
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: var(--ink-soft);
}

.crumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--ink-soft);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.prose {
    max-width: 44em;
}

.prose p {
    font-size: 1.06rem;
}

.prose h2 {
    margin-top: 1.2em;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.facts {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
    display: grid;
    gap: 12px;
}

.facts li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    background: var(--paper);
    border: 1px solid rgba(44, 41, 37, 0.12);
    border-radius: var(--radius-s);
    padding: 14px 16px;
}

.facts .num {
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1;
    color: var(--chestnut-ink);
    min-width: 1.6em;
}

.big-figure {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 18px;
}

.big-figure strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 0.9;
    color: var(--olive-ink);
}

.big-figure span {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.quote {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.2;
    margin: 0;
}

.menu-courses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: course;
}

.menu-courses li {
    counter-increment: course;
    background: var(--schist-2);
    border-radius: var(--radius);
    padding: 20px;
    color: var(--on-dark);
}

.menu-courses li::before {
    content: counter(course, decimal-leading-zero);
    display: block;
    font-family: var(--display);
    font-size: 2.2rem;
    color: var(--sun);
    line-height: 1;
    margin-bottom: 10px;
}

.menu-extra {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.menu-extra span {
    background: var(--olive);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.cooks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.cook {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(44, 41, 37, 0.12);
}

.cook h3 {
    color: var(--chestnut-ink);
}

.rooms-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.room {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(44, 41, 37, 0.12);
    border-top: 6px solid var(--olive);
}

.room:nth-child(2) {
    border-top-color: var(--chestnut);
}

.room:nth-child(3) {
    border-top-color: var(--sun);
}

.room h3 {
    margin-bottom: 0.4em;
}

.room .tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chestnut-ink);
    margin-bottom: 8px;
}

/* the trail of a walk: numbered steps on a dotted path, each with the waymark it names */
.trail {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    max-width: 50em;
}

.trail::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 10px;
    bottom: 10px;
    border-left: 4px dotted var(--chestnut);
}

.trail li {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding-bottom: 26px;
}

.trail .step-mark {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--schist);
    color: var(--sun);
    font-family: var(--display);
    font-size: 1.25rem;
}

.trail .step-body {
    background: var(--paper);
    border: 1px solid rgba(44, 41, 37, 0.12);
    border-radius: var(--radius-s);
    padding: 14px 18px;
}

.trail .step-body p {
    margin: 0;
}

.trail .step-blaze {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.trail .trail-end .step-mark {
    background: var(--olive);
    color: #fff;
}

.warn {
    border-left: 6px solid var(--blaze-red);
    background: #fbe9e5;
    color: #5e1a0f;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    margin: 0 0 22px;
    max-width: 50em;
}

.hike-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.hike-facts li {
    background: var(--paper);
    border: 1px solid rgba(44, 41, 37, 0.15);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legend li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-hikes {
    margin-top: 10px;
}

/* gallery */
.gallery {
    columns: 3 260px;
    column-gap: 14px;
}

.gallery figure {
    margin: 0 0 14px;
    break-inside: avoid;
}

.gallery a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--schist);
}

.gallery img {
    width: 100%;
    transition: transform 0.5s ease, opacity 0.3s;
}

.gallery a:hover img {
    transform: scale(1.03);
}

/* prices */
.price-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(22px, 4vw, 44px);
    align-items: start;
}

.price-card {
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid rgba(44, 41, 37, 0.12);
    padding: clamp(20px, 3vw, 30px);
    margin-bottom: 22px;
}

.price-card h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.price-card h3 {
    font-size: 1.2rem;
    margin: 1.2em 0 0.4em;
    color: var(--chestnut-ink);
}

.price-card .note {
    background: var(--chalk-2);
    border-radius: var(--radius-s);
    padding: 10px 14px;
    font-size: 0.95rem;
}

.prices {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.prices th,
.prices td {
    text-align: left;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(44, 41, 37, 0.25);
    vertical-align: top;
    font-weight: 400;
}

.prices td {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    padding-left: 14px;
}

.prices small {
    display: block;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.contact-card {
    background: var(--schist);
    color: var(--on-dark);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px);
}

.contact-card a {
    color: var(--sun);
}

.contact-card .big-phone {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    text-decoration: none;
    margin: 4px 0 8px;
}

.contact-card dl {
    margin: 18px 0 0;
    display: grid;
    gap: 14px;
}

.contact-card dt {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-dark-soft);
}

.contact-card dd {
    margin: 2px 0 0;
}

.contact-card .muted {
    color: var(--on-dark-soft);
    font-size: 0.95rem;
}

.form-box {
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid rgba(44, 41, 37, 0.12);
    padding: clamp(20px, 3vw, 32px);
}

.contact-form > div,
.contact-form .form-row > div {
    margin-bottom: 16px;
}

.contact-form label,
.contact-form legend {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px solid #b9ae9b;
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
    border-color: var(--olive-ink);
    outline: 3px solid var(--olive);
    outline-offset: 1px;
}

.contact-form textarea {
    min-height: 140px;
}

.contact-form ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    color: #a3260f;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.date-group {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}

.date-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.2fr;
    gap: 10px;
}

.form-section {
    font-family: var(--display);
    font-size: 1.35rem;
    margin: 8px 0 12px;
    color: var(--chestnut-ink);
}

.form-hint {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 12px;
}

.contact-form button[type="submit"] {
    border: 0;
    cursor: pointer;
    font-family: var(--text);
}

.contact-sent {
    background: #e6efd0;
    border-left: 6px solid var(--olive);
    padding: 14px 18px;
    border-radius: var(--radius-s);
    margin-bottom: 18px;
}

/* documents */
.doc {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: clamp(22px, 4vw, 52px);
    align-items: start;
}

.doc figure {
    margin: 0;
}

.doc figure a {
    display: block;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(44, 41, 37, 0.2);
}

.doc figcaption {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 12px;
}

.file-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-s);
    background: var(--paper);
    border: 2px solid var(--olive-ink);
    color: var(--olive-ink);
    font-weight: 700;
    text-decoration: none;
}

.file-link .file-type {
    background: var(--chestnut);
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.82rem;
}

/* ---- call band and footer ---- */

.callband {
    background:
        radial-gradient(600px 300px at 10% 120%, rgba(242, 194, 0, 0.22), transparent 60%),
        var(--olive-ink);
    color: #fff;
    padding: clamp(40px, 6vw, 72px) 0;
}

.callband h2 {
    color: #fff;
    margin-bottom: 0.3em;
}

.callband p {
    color: #eef2df;
    margin: 0;
}

.callband-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.callband-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.callband .btn-ghost {
    color: #fff;
}

.callband .btn-ghost:hover {
    color: var(--sun);
}

.foot {
    position: relative;
    background: var(--schist);
    color: var(--on-dark-soft);
    padding: 70px 0 26px;
    font-size: 0.97rem;
}

.foot::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 36px;
    background: url("/img/wall.svg") repeat-x left top / 240px 36px;
}

.foot a {
    color: var(--on-dark);
}

.foot a:hover {
    color: var(--sun);
}

.foot h2 {
    font-size: 1.2rem;
    color: var(--on-dark);
    margin-bottom: 0.7em;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr;
    gap: 32px;
}

.foot-plate {
    display: inline-block;
    background: var(--chalk);
    border-radius: var(--radius-s);
    padding: 12px 14px;
}

.foot-plate img {
    width: min(300px, 100%);
}

.foot-park {
    display: flex;
    align-items: center;
    gap: 12px;
}

.foot-park img {
    background: #fff;
    border-radius: 6px;
    padding: 4px;
    width: 60px;
    height: auto;
}

.foot-hosts {
    color: var(--on-dark);
    font-weight: 600;
}

.foot-phone {
    font-family: var(--display);
    font-size: 1.4rem;
    text-decoration: none;
}

.foot small {
    color: var(--on-dark-soft);
}

.foot address {
    font-style: normal;
}

.foot-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

.foot-bottom p {
    margin: 0;
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    text-align: center;
}

.not-found > div {
    max-width: 560px;
}

.not-found img {
    margin: 0 auto 28px;
    width: min(330px, 100%);
}

.not-found .blaze-row {
    justify-content: center;
    margin-bottom: 18px;
}

.not-found [lang="en"] {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px dashed rgba(44, 41, 37, 0.3);
}

/* ---- reveal on scroll ---- */

@supports (animation-timeline: view()) {
    .reveal {
        animation: rise linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 25%;
    }
}

/* ---- responsive ---- */

@media (max-width: 1080px) {
    .hike-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .menu-courses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .intro-grid,
    .split,
    .price-grid,
    .contact-grid,
    .doc,
    .callband-grid {
        grid-template-columns: 1fr;
    }

    .tile-a,
    .tile-b,
    .tile-c {
        grid-column: span 12;
        min-height: 300px;
    }

    .rooms-list,
    .cooks,
    .nearby {
        grid-template-columns: 1fr;
    }

    .press-teaser {
        grid-template-columns: 130px 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 1rem;
    }

    .hike-cards,
    .foot-grid,
    .menu-courses {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .press-teaser {
        grid-template-columns: 1fr;
    }

    .press-teaser a.scan {
        max-width: 180px;
    }

    .prints {
        gap: 12px;
        justify-content: center;
    }

    .trail li {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .trail .step-mark {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .trail::before {
        left: 17px;
    }

    .date-row {
        grid-template-columns: 1fr 1.5fr 1.2fr;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }
}

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

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

/* the rooms tile: the original's small room photos at their own size */
.tile-flat {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
    padding: 0 22px 22px 0;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(242, 194, 0, 0.16), transparent 60%),
        var(--schist-2);
    min-height: 0 !important;
}

.tile-flat::before {
    display: none;
}

.tile-flat .tile-body {
    flex: 1 1 320px;
    margin-top: 0;
}

.tile-prints {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0 0 22px;
}

.tile-prints img {
    position: static;
    width: 180px;
    height: auto;
    border: 5px solid #fff;
    border-radius: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.tile-prints img:nth-child(odd) {
    transform: rotate(-2deg);
}

.tile-prints img:nth-child(even) {
    transform: rotate(2deg);
}

.tile-flat:hover .tile-prints img {
    transform: none;
}

@media (max-width: 560px) {
    .tile-prints img {
        width: calc(50% - 8px);
    }

    .tile-prints img:nth-child(3) {
        display: none;
    }
}

.contact-card a.btn-sun,
.band-dark a.btn-sun,
.contact-card a.btn-sun:hover,
.band-dark a.btn-sun:hover {
    color: var(--ink);
}

/* prints two by two on a phone (scaled down, never up) */
@media (max-width: 560px) {
    .prints {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .prints a {
        padding: 5px;
    }

    .prints img {
        width: 100%;
    }
}

.page-hero .blaze-row .blaze {
    width: 48px;
    padding: 7px;
}

.page-hero .blaze-row .blaze::before,
.page-hero .blaze-row .blaze::after {
    height: 9px;
}

.trail::before {
    bottom: 48px;
}
