/* Les Gîtes de la Jonquière – three holiday cottages in Viry-Noureuil, near Chauny (Aisne).
   Jonquil yellow and canal green on cream paper; Crimson Pro for display, Readex Pro for text.
   Signature: "la rue des trois gîtes", the three houses drawn as a street elevation (_partials/street). */

@font-face {
    font-family: "Crimson Pro";
    src: url("../fonts/crimson-pro.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Crimson Pro";
    src: url("../fonts/crimson-pro-italic.woff2") format("woff2");
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Readex Pro";
    src: url("../fonts/readex-pro.woff2") format("woff2");
    font-weight: 160 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --yellow: #f4c430;
    --yellow-soft: #fbe6a0;
    --yellow-pale: #fdf3cf;
    --green: #123a2c;
    --green-deep: #0c2a20;
    --green-mid: #2e6b4a;
    --paper: #fbf7ea;
    --white: #fffdf7;
    --ink: #18261f;
    --ink-soft: #3c4a42;
    --red: #a63d23;
    --line: rgba(24, 38, 31, 0.16);
    --on-green: #f6f1de;
    --on-green-soft: #cfd9cf;
    --display: "Crimson Pro", Georgia, "Times New Roman", serif;
    --text: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 22px;
    --radius-big: 34px;
    --wrap: 1180px;
    --shadow: 0 18px 40px -22px rgba(12, 42, 32, 0.45);
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-weight: 330;
    overflow-x: clip;
}

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

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

a:hover {
    color: var(--red);
}

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

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

h1 {
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: 1.45rem;
    margin-top: 1.4em;
}

p {
    margin: 0 0 1em;
}

strong {
    font-weight: 600;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    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(--ink);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
    color: var(--white);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.9em;
}

.eyebrow img {
    width: 34px;
    height: 34px;
}

.lead {
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
    line-height: 1.5;
    max-width: 40em;
}

.h-big {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.h-light {
    color: var(--yellow);
}

.muted {
    color: var(--ink-soft);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    font: 600 1rem/1.2 var(--text);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -12px rgba(12, 42, 32, 0.6);
}

.btn-dark {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--green-deep);
    color: var(--yellow);
}

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

.btn-line:hover {
    background: var(--ink);
    color: var(--yellow);
}

.btn-big {
    min-height: 56px;
    padding: 12px 28px;
    font-size: 1.08rem;
}

.text-link {
    font-weight: 600;
    color: var(--green);
}

.text-link::after {
    content: " →";
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 247, 234, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease;
}

.top.scrolled {
    box-shadow: 0 10px 26px -20px rgba(12, 42, 32, 0.6);
}

.top-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand nav call lang";
    align-items: center;
    gap: 10px 22px;
    padding-block: 10px;
}

.brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    width: 52px;
    height: 52px;
    flex: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.42rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.brand-place {
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin-top: 4px;
}

.nav {
    grid-area: nav;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

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

.nav a:hover {
    background: var(--yellow-pale);
    color: var(--ink);
}

.nav a[aria-current] {
    background: var(--yellow);
    color: var(--ink);
}

.call {
    grid-area: call;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--green-deep);
    color: var(--yellow);
}

.lang {
    grid-area: lang;
    display: flex;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang a,
.lang span {
    padding: 6px 8px;
    border-radius: 8px;
    text-decoration: none;
}

.lang span {
    background: var(--ink);
    color: var(--white);
}

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

.lang a:hover {
    background: var(--yellow-pale);
}

.menu-btn {
    grid-area: menu;
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 600 0.95rem var(--text);
    cursor: pointer;
}

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

.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;
}

.menu-btn[aria-expanded="true"] .menu-bars {
    background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1080px) {
    .top-row {
        grid-template-columns: 1fr auto auto;
        grid-template-areas:
            "brand call lang"
            "nav nav nav";
    }

    .nav {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .top-row {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "brand brand brand"
            "call lang menu"
            "nav nav nav";
        gap: 8px 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 1.28rem;
    }

    .lang {
        justify-self: start;
    }

    .js .menu-btn {
        display: inline-flex;
    }

    .js .nav {
        display: none;
    }

    .js .nav.open {
        display: flex;
        flex-direction: column;
        padding-bottom: 6px;
    }

    .js .nav.open a {
        padding: 12px 14px;
        font-size: 1.05rem;
    }

    .call {
        padding: 8px 14px;
    }
}

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

.hero {
    position: relative;
    background:
        radial-gradient(120% 90% at 85% 0%, #ffd95a 0%, rgba(255, 217, 90, 0) 60%),
        var(--yellow);
    padding-top: clamp(40px, 7vw, 92px);
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    max-width: 13em;
    font-size: clamp(2.9rem, 8.2vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.hero h1 span {
    display: block;
    font-style: italic;
    font-weight: 600;
    font-size: 0.46em;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-top: 0.3em;
    color: var(--green);
}

.hero .lead {
    max-width: 34em;
}

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

.street-wrap {
    width: min(100% - 16px, 1320px);
    margin: clamp(18px, 4vw, 40px) auto 0;
}

/* ---- the street of the three cottages ---- */

.street {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.street path {
    fill: none;
    stroke: var(--ink);
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.street text {
    font-family: var(--display);
    font-weight: 800;
    font-size: 40px;
    fill: var(--ink);
}

.street .st-measure text,
.street .st-way text,
.street .st-sign text {
    font-family: var(--text);
    font-weight: 600;
    font-size: 26px;
}

.street .st-sign text {
    font-size: 21px;
}

.street .st-ground {
    stroke-width: 6;
}

.street .st-plate {
    fill: var(--white);
}

.street .st-wall {
    fill: var(--white);
}

.street .st-roof {
    fill: #5b6662;
}

.street .st-verger .st-wall {
    fill: #f2e2bf;
}

.street .st-verger .st-roof {
    fill: #c0623a;
}

.street .st-puits .st-roof {
    fill: #3d4542;
}

.street .st-win {
    fill: #9cc3cf;
}

.street .st-door {
    fill: #e9eef0;
}

.street .st-verger .st-door {
    fill: var(--white);
}

.street .st-chimney {
    fill: #a6512f;
}

.street .st-water {
    stroke: #2f6f86;
    stroke-width: 5;
}

.street .st-tree {
    stroke: var(--green-mid);
    stroke-width: 6;
}

.street .st-house {
    cursor: pointer;
}

.street .st-house > * {
    transition: transform 0.25s ease;
    transform-box: fill-box;
}

.street .st-house:hover .st-roof,
.street .st-house:focus-visible .st-roof {
    fill: var(--red);
}

.street .st-house:hover text,
.street .st-house:focus-visible text {
    fill: var(--red);
    text-decoration: underline;
}

.street .st-house:focus-visible {
    outline: none;
}

.street .st-house:focus-visible .st-wall {
    stroke: var(--red);
    stroke-width: 7;
}

@keyframes st-draw {
    from {
        stroke-dashoffset: 1;
    }
}

@keyframes st-fill {
    from {
        fill-opacity: 0;
    }
}

@keyframes st-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .street path {
        animation: st-draw 1.4s cubic-bezier(0.6, 0, 0.3, 1) both, st-fill 0.7s ease both;
        animation-delay: 0.1s, 1.3s;
    }

    .street .st-pature path {
        animation-delay: 0.35s, 1.5s;
    }

    .street .st-verger path {
        animation-delay: 0.6s, 1.7s;
    }

    .street .st-puits path {
        animation-delay: 0.85s, 1.9s;
    }

    .street .st-way path {
        animation-delay: 1.1s, 2.1s;
    }

    .street text {
        animation: st-rise 0.6s ease both;
        animation-delay: 1.6s;
    }

    .hero-text > * {
        animation: st-rise 0.7s ease both;
    }

    .hero-text > :nth-child(2) {
        animation-delay: 0.08s;
    }

    .hero-text > :nth-child(3) {
        animation-delay: 0.16s;
    }

    .hero-text > :nth-child(4) {
        animation-delay: 0.24s;
    }

    .street .st-house:hover > * {
        transform: translateY(-6px);
    }

    @supports (animation-timeline: view()) {
        .reveal,
        .gite-card,
        .gite-row,
        .sign,
        .mosaic li,
        .area-card,
        .trail-step {
            animation: st-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

/* ---- figures ---- */

.figures {
    background: var(--green-deep);
    color: var(--on-green);
    padding-block: 28px;
}

.figures-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.figures p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--on-green-soft);
    line-height: 1.3;
}

.figures strong {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1;
    color: var(--yellow);
}

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

.band {
    padding-block: clamp(56px, 8vw, 104px);
}

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

.band-green {
    background: var(--green);
    color: var(--on-green);
}

.band-green a {
    color: var(--yellow);
}

.band-green a:hover {
    color: var(--white);
}

/* ---- cottage cards on the home page (a bento: La Pâture is the large one) ---- */

.gite-cards {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

.gite-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-big);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gite-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -24px rgba(12, 42, 32, 0.55);
    color: var(--ink);
}

.gite-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gite-card.gite-la-pature {
    grid-row: span 2;
}

.gite-card.gite-la-pature img {
    aspect-ratio: auto;
    flex: 1;
    min-height: 260px;
}

.gite-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px 24px;
}

.gite-card-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0;
}

.gite-card-name {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.gite-card-meta {
    font-weight: 600;
    color: var(--green);
    margin: 0;
}

.gite-card-sum {
    color: var(--ink-soft);
}

/* ---- the tribe band ---- */

.tribe {
    background:
        radial-gradient(80% 120% at 0% 100%, rgba(244, 196, 48, 0.16), rgba(244, 196, 48, 0) 60%),
        var(--green);
    color: var(--on-green);
    padding-block: clamp(60px, 9vw, 120px);
}

.tribe-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px 60px;
    align-items: start;
}

.tribe blockquote {
    margin: 0;
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    line-height: 1.25;
    color: var(--white);
}

.tribe blockquote p {
    margin: 0;
}

.tribe .included {
    grid-column: 2;
}

.included {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.included li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(244, 196, 48, 0.14);
    border: 1px solid rgba(244, 196, 48, 0.5);
    color: var(--on-green);
    font-weight: 500;
}

.included li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23123a2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---- where: the direction signs ---- */

.where-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    align-items: center;
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.signs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.sign {
    display: flex;
    min-width: min(100%, 320px);
    max-width: 100%;
    padding: 3px 4px 3px 3px;
    background: #111;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
}

.sign-plate {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 10px 44px 10px 18px;
    background: var(--white);
    color: #111;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
    font-weight: 600;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
}

.signs-flow .signs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.signs-flow .sign {
    min-width: 0;
    margin-left: 0 !important;
}

.sign:nth-child(2) {
    margin-left: 18px;
}

.sign:nth-child(3) {
    margin-left: 36px;
}

.sign:nth-child(4) {
    margin-left: 12px;
}

.sign:nth-child(5) {
    margin-left: 30px;
}

.sign-km {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- hosts ---- */

.hosts-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px 64px;
    align-items: center;
}

.hosts-photo {
    margin: 0;
    position: relative;
}

.hosts-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: var(--yellow);
    border-radius: var(--radius-big);
    z-index: -1;
}

.hosts-photo img,
.page-hero-photo img,
.gite-hero-photo img {
    border-radius: var(--radius-big);
    box-shadow: var(--shadow);
}

/* ---- call band ---- */

.callband {
    background: var(--yellow);
    padding-block: clamp(48px, 7vw, 84px) clamp(84px, 10vw, 120px);
}

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

.callband h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.callband p {
    margin: 0;
    max-width: 34em;
}

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

/* ---- footer ---- */

.foot {
    position: relative;
    background: var(--green-deep);
    color: var(--on-green-soft);
    padding: 40px 0 24px;
    font-size: 0.95rem;
}

.foot-roofs {
    position: absolute;
    left: 0;
    top: -59px;
    width: 100%;
    height: 60px;
    fill: var(--green-deep);
}

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

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

.foot :focus-visible {
    outline-color: var(--yellow);
}

.foot h2 {
    font-size: 1.3rem;
    color: var(--yellow);
    margin: 0 0 12px;
}

.foot h2 + .foot-list + h2,
.foot-list + h2 {
    margin-top: 22px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px 48px;
}

.foot-logo {
    width: 84px;
    height: 84px;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 14px;
}

.foot-name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 8px;
}

.foot-small {
    font-size: 0.85rem;
}

.foot-phone {
    font-weight: 600;
    font-size: 1.1rem;
}

.foot-mail {
    overflow-wrap: anywhere;
}

.foot address {
    font-style: normal;
}

.foot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-list li {
    padding: 3px 0;
}

.foot-list span {
    color: var(--on-green-soft);
    font-size: 0.85rem;
}

.foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 241, 222, 0.18);
    font-size: 0.85rem;
}

.foot-bottom p {
    margin: 0;
}

/* ---- inner page heroes ---- */

.page-hero {
    background:
        radial-gradient(90% 140% at 100% 0%, rgba(244, 196, 48, 0.55), rgba(244, 196, 48, 0) 60%),
        var(--yellow-soft);
    padding-block: clamp(40px, 6vw, 80px);
}

.page-hero-small {
    padding-block: clamp(32px, 5vw, 60px);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px 56px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5.8vw, 4.6rem);
}

.page-hero-photo {
    margin: 0;
}

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

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

/* ---- cottage page ---- */

.gite-hero {
    background:
        radial-gradient(100% 120% at 0% 0%, #ffd95a 0%, rgba(255, 217, 90, 0) 55%),
        var(--yellow);
    padding-block: clamp(36px, 6vw, 80px);
}

.gite-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 32px 56px;
    align-items: center;
}

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

.gite-hero h1 {
    font-size: clamp(2.8rem, 6.6vw, 5.2rem);
}

.gite-hero-photo {
    margin: 0;
    transform: rotate(1.2deg);
}

.gite-hero-photo img {
    border: 8px solid var(--white);
}

.chips {
    list-style: none;
    margin: 18px 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 500;
    font-size: 0.95rem;
}

.chips .chip-label img {
    width: 22px;
    height: 22px;
}

.gite-actions,
.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 64px;
}

.prose {
    max-width: 40em;
}

.prose-narrow {
    max-width: 46em;
}

.prose h2 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.prose-light {
    color: var(--on-green);
}

.ticks {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.ticks li {
    position: relative;
    padding: 6px 0 6px 30px;
    border-bottom: 1px dashed var(--line);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.85em;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--yellow);
    border: 2px solid var(--green);
    transform: rotate(45deg);
}

.big-text {
    font-family: var(--display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    line-height: 1.2;
    color: var(--green);
}

/* the photo mosaic */

.photos-band {
    background: var(--yellow-pale);
}

.mosaic {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    grid-auto-flow: dense;
    gap: 14px;
}

.mosaic li.tall {
    grid-row: span 2;
}

.mosaic figure {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mosaic a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.mosaic li.tall a {
    flex: 1;
    min-height: 0;
}

.mosaic li.tall img {
    height: 100%;
    aspect-ratio: auto;
}

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

.mosaic figcaption {
    font-size: 0.9rem;
    color: var(--ink-soft);
    padding: 8px 4px 0;
}

/* booking */

.booking-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px 64px;
    align-items: start;
}

.stays {
    margin: 0 0 18px;
    display: grid;
    gap: 2px;
}

.stays div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(246, 241, 222, 0.2);
}

.stays dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--white);
}

.stays dd {
    margin: 0;
    color: var(--on-green-soft);
}

.stays-note {
    color: var(--on-green);
}

.booking-card {
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--radius-big);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.band-green .booking-card a {
    color: var(--green);
}

.band-green .booking-card a:hover {
    color: var(--red);
}

.band-green .booking-card .btn-dark {
    color: var(--white);
}

.band-green .booking-card .btn-dark:hover {
    color: var(--yellow);
}

.band-green .booking-card .btn-line {
    color: var(--ink);
}

.band-green .booking-card .btn-line:hover {
    color: var(--yellow);
}

.band-green .booking-card :focus-visible {
    outline-color: var(--red);
}

.band-green :focus-visible {
    outline-color: var(--yellow);
}

.booking-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-phones a {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    line-height: 1.1;
    text-decoration: none;
}

/* other cottages */

.others {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.other-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.other-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.other-card img {
    width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    flex: none;
}

.other-card strong {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.1;
}

.other-card small {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ---- the cottages overview ---- */

.gite-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(40px, 6vw, 72px);
}

.gite-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px 56px;
    align-items: center;
}

.gite-row:nth-child(even) .gite-row-photo {
    order: 2;
}

.gite-row-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-big);
    box-shadow: var(--shadow);
}

.gite-row h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    margin-top: 4px;
}

.gite-row h2 a {
    color: var(--ink);
    text-decoration: none;
}

.gite-row h2 a:hover {
    color: var(--red);
}

/* ---- area ---- */

.area-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.area-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-big);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    color: var(--ink);
}

.area-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.area-card-memory img {
    object-fit: contain;
    background: var(--white);
    padding: 16px;
}

.area-card span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px 24px;
}

.area-card strong {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.05;
}

.area-card small {
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.trail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-bottom: 28px;
}

.trail-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-big);
    padding: clamp(22px, 4vw, 36px);
    border-top: 10px solid var(--yellow);
}

.trail-km {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid #111;
    background: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.trail-step h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.trail-step figure {
    margin: 16px 0 0;
}

.trail-step figure img {
    border-radius: var(--radius);
}

.trail-step figcaption {
    font-size: 0.9rem;
    color: var(--ink-soft);
    padding-top: 8px;
}

/* ---- hosts page ---- */

.memory-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px 64px;
    align-items: center;
}

.memory-logo {
    margin: 0;
    max-width: 320px;
    justify-self: center;
}

.memory-logo img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.pledges {
    list-style: none;
    counter-reset: pledge;
    margin: 0;
    padding: 0;
}

.pledges li {
    counter-increment: pledge;
    position: relative;
    padding: 12px 0 12px 58px;
    border-bottom: 1px solid var(--line);
}

.pledges li::before {
    content: counter(pledge);
    position: absolute;
    left: 0;
    top: 8px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--yellow);
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.4rem;
}

/* ---- contact ---- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-big);
    padding: clamp(22px, 4vw, 40px);
}

.contact-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.big-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.big-phones a {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 4.4vw, 2.8rem);
    line-height: 1.1;
    text-decoration: none;
}

.contact-list {
    margin: 0 0 10px;
}

.contact-list div {
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.contact-list dt {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
}

.contact-list dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(24, 38, 31, 0.35);
    border-radius: 14px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    outline: 3px solid var(--yellow);
    outline-offset: 1px;
}

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

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

.contact-sent {
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--yellow-pale);
    border: 2px solid var(--green);
    margin-bottom: 18px;
}

.contact-sent strong {
    display: block;
}

/* ---- legal ---- */

.legal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 48px;
}

.legal h2 {
    font-size: 1.6rem;
}

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

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

.not-found > div {
    max-width: 36em;
}

.not-found img {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
}

.not-found h1 {
    font-size: clamp(2.4rem, 7vw, 4rem);
}

.not-found h2 {
    margin-top: 36px;
}

.not-found [lang="en"] {
    border-top: 2px solid var(--ink);
    margin-top: 32px;
}

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

@media (max-width: 960px) {
    .gite-cards {
        grid-template-columns: 1fr;
    }

    .gite-card.gite-la-pature {
        grid-row: auto;
    }

    .gite-card.gite-la-pature img {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .tribe-grid,
    .where-grid,
    .hosts-grid,
    .page-hero-grid,
    .gite-hero-grid,
    .split,
    .booking-grid,
    .gite-row,
    .memory-grid,
    .contact-grid,
    .trail {
        grid-template-columns: 1fr;
    }

    .tribe .included {
        grid-column: auto;
    }

    .gite-row:nth-child(even) .gite-row-photo {
        order: 0;
    }

    .area-cards,
    .legal {
        grid-template-columns: 1fr;
    }

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

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

    .foot-id {
        grid-column: 1 / -1;
    }

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

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

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

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

    .sign {
        min-width: 0;
        width: calc(100% - 40px);
    }

    .sign-plate {
        font-size: 1rem;
    }

    .other-card img {
        width: 88px;
    }

    .mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mosaic figcaption {
        font-size: 0.82rem;
    }

    .hosts-photo::before {
        inset: 12px -8px -12px 12px;
    }

    .gite-hero-photo {
        transform: none;
    }

    .callband-actions .btn {
        flex: 1 1 100%;
    }

    /* the street keeps a readable size and scrolls sideways inside its own strip */
    .street-wrap,
    .page-hero-art {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        padding-bottom: 6px;
    }

    .street-wrap .street,
    .page-hero-art .street {
        width: 640px;
        max-width: none;
    }
}

@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;
    }
}

.lightbox {
    --lb-bg: rgba(10, 34, 26, 0.96);
    --lb-text: #f6f1de;
    --lb-accent: #f4c430;
    --lb-accent-soft: rgba(244, 196, 48, 0.22);
}
