/* Queyras Caravaneige – snow & larch.
   Two seasons: winter (the default, also without scripts) and summer, set by /js/season.js on <html data-season>.
   Every colour is a custom property; the summer look only redefines them. Display: Coustard Black; text: Cabin
   (its narrow width for the trail signpost). */

@font-face {
    font-family: "Coustard";
    src: url("/fonts/coustard-black.woff2") format("woff2");
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Cabin";
    src: url("/fonts/cabin-var.woff2") format("woff2");
    font-weight: 400 700;
    font-stretch: 75% 100%;
    font-display: swap;
}

:root {
    --bg: #f3f6f7;
    --surface: #ffffff;
    --tint: #e2ecef;
    --ink: #13232c;
    --muted: #3c505c;
    --line: #c9d7dc;
    --rust: #9a4716;
    --rust-strong: #7d3910;
    --teal: #275f6b;
    --pink: #a01f57;
    --sign: #f2c230;
    --sign-ink: #1e1c10;
    --head-plate: #1d4a35;
    --night: #10202a;
    --night-2: #183040;
    --on-night: #e4edf0;
    --on-night-muted: #b4c6ce;
    --link-night: #f5cf55;
    --radius: 22px;
    --shadow: 0 18px 40px -22px rgba(16, 32, 42, 0.55);
    --display: "Coustard", "Rockwell", Georgia, serif;
    --text: "Cabin", "Segoe UI", system-ui, sans-serif;
    --wrap: 1180px;
    color-scheme: light;
}

:root[data-season="summer"] {
    --bg: #f6f1e4;
    --surface: #fffdf6;
    --tint: #e9e5cc;
    --ink: #1e2a17;
    --muted: #46503b;
    --line: #d8d1b5;
    --rust: #93451a;
    --rust-strong: #77360f;
    --teal: #36602a;
    --night: #19281a;
    --night-2: #24391f;
    --on-night: #ecefdf;
    --on-night-muted: #c3cbb1;
    --head-plate: #2e4a1d;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: clip;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

a {
    color: var(--rust);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 0.08em;
}

a:hover {
    color: var(--rust-strong);
}

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

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

h1 {
    font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.6rem);
}

h2 {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
}

h3 {
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
}

p {
    margin: 0 0 1em;
}

.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;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
}

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

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

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

.btn-sign {
    background: var(--sign);
    color: var(--sign-ink);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}

.btn-sign:hover {
    background: #ffd84f;
    color: var(--sign-ink);
}

.btn-glass {
    background: rgba(10, 22, 30, 0.55);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.btn-glass:hover {
    background: rgba(10, 22, 30, 0.8);
    color: #fff;
}

.btn-line {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

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

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

.btn-ink:hover {
    color: var(--bg);
    background: var(--teal);
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px) saturate(1.3);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.top-row {
    display: flex;
    align-items: center;
    gap: 12px 20px;
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 6px;
}

.brand img {
    height: 58px;
    width: auto;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin-inline: auto;
}

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

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

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

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

.nav + .tools {
    margin-left: 0;
}

.season {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 12px 6px 8px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font: 600 0.92rem/1 var(--text);
    cursor: pointer;
}

.season[hidden] {
    display: none;
}

.season svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.season-snow {
    color: var(--teal);
}

.season-sun {
    display: none;
    color: var(--rust);
}

[data-season="summer"] .season-snow {
    display: none;
}

[data-season="summer"] .season-sun {
    display: block;
}

.lang {
    display: flex;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang a,
.lang span {
    padding: 9px 9px;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
}

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

.lang span {
    background: var(--teal);
    color: #fff;
}

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

.call:hover {
    color: var(--sign-ink);
    background: #ffd84f;
}

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

.menu-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 1279px) {
    .season-name {
        display: none;
    }

    .season {
        padding: 6px 9px;
    }
}

@media (max-width: 1199px) {
    .nav + .tools {
        margin-left: auto;
    }

    .nav {
        order: 5;
        width: 100%;
        margin: 0;
        padding-bottom: 6px;
    }

    .has-menu .menu-btn:not([hidden]) {
        display: inline-flex;
    }

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

    .has-menu .nav.open {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 6px 0 12px;
    }

    .has-menu .nav.open a {
        padding: 12px 14px;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .top-row {
        gap: 8px;
    }

    .brand img {
        height: 46px;
    }

    .season-name {
        display: none;
    }

    .season {
        padding: 6px 9px;
    }

    .tools {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 6px;
    }

    .lang a,
    .lang span {
        padding: 8px 7px;
    }
}

@media (max-width: 420px) {
    .lang {
        order: 4;
    }

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

/* ---- hero with the trail signpost ---- */

.hero {
    position: relative;
    isolation: isolate;
    background-color: var(--night);
    color: #fff;
    overflow: clip;
}

.hero-photo,
.page-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-photo img,
.page-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo::after,
.page-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(8, 18, 24, 0.86) 0%, rgba(8, 18, 24, 0.55) 48%, rgba(8, 18, 24, 0.15) 100%),
        linear-gradient(0deg, rgba(8, 18, 24, 0.7) 0%, transparent 45%);
}

.ph-summer {
    display: none;
}

[data-season="summer"] .ph-summer {
    display: block;
}

[data-season="summer"] .ph-winter {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    min-height: min(88vh, 760px);
    padding-block: 64px 72px;
}

.kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero h1 {
    max-width: 11ch;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero .lead {
    max-width: 36rem;
    font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
    color: #eef4f6;
}

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

.post {
    position: relative;
    justify-self: center;
    width: min(100%, 380px);
    padding-bottom: 60px;
}

.pole {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 10px;
    bottom: 0;
    width: 16px;
    margin-left: -8px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, #6b4a2c, #9a7049 45%, #5a3c22);
}

.post-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 76%;
    margin: 0 auto 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--head-plate);
    color: #fff;
    text-align: center;
    font-stretch: 80%;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.post-head span:first-child {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-head span:last-child {
    font-size: 0.98rem;
    color: #d9ecdf;
}

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

.plate {
    --tip: 26px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    width: 92%;
    min-height: 54px;
    padding: 12px calc(var(--tip) + 10px) 12px 18px;
    background: var(--sign);
    color: var(--sign-ink);
    font-stretch: 78%;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.15;
    clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
    transform-origin: 50% 50%;
}

.plate-left {
    margin-left: auto;
    padding: 12px 18px 12px calc(var(--tip) + 10px);
    clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%);
}

.dist {
    white-space: nowrap;
    font-weight: 600;
}

.only-summer {
    display: none;
}

[data-season="summer"] .only-summer {
    display: flex;
}

[data-season="summer"] .only-winter {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-text > * {
        animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 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;
    }

    .post-head {
        animation: drop 0.7s 0.25s cubic-bezier(0.3, 1.4, 0.5, 1) both;
    }

    .plate {
        animation: swing-r 1s calc(0.45s + var(--i) * 0.12s) cubic-bezier(0.3, 1.5, 0.45, 1) both;
        transform-origin: 0 50%;
    }

    .plate-left {
        animation-name: swing-l;
        transform-origin: 100% 50%;
    }

    .hero-photo img {
        animation: settle 2.4s ease-out both;
    }
}

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

@keyframes drop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes swing-r {
    from {
        opacity: 0;
        transform: rotate(-24deg) scaleX(0.6);
    }
}

@keyframes swing-l {
    from {
        opacity: 0;
        transform: rotate(24deg) scaleX(0.6);
    }
}

@keyframes settle {
    from {
        transform: scale(1.08);
    }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 40px 48px;
        gap: 32px;
    }

    .hero h1 {
        max-width: 14ch;
    }

    .post {
        width: min(100%, 360px);
        padding-bottom: 36px;
    }
}

/* ---- the chairlift band ---- */

.lift {
    background: var(--rust);
    color: #fff;
}

.lift-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 32px;
    padding-block: 22px;
}

.lift-label {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.lift-dates {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    flex: 1 1 320px;
    font-family: var(--display);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
    line-height: 1;
}

.lift-cable {
    position: relative;
    flex: 1;
    min-width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.lift-cable::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 18px;
    height: 20px;
    border: 3px solid #fff;
    border-top-width: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
    .lift-cable::after {
        animation: chair 7s linear infinite;
    }
}

@keyframes chair {
    to {
        left: calc(90% - 18px);
    }
}

.lift a {
    color: #fff;
    font-weight: 700;
}

.lift a:hover {
    color: var(--sign);
}

/* ---- intro ---- */

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

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.intro-text p {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 38rem;
}

.figures {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 32px 0 0;
}

.figures div {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 12px;
    border-top: 3px solid var(--rust);
}

.figures dd {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
    line-height: 1.1;
    color: var(--rust);
    white-space: nowrap;
}

.figures dt {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.3;
}

.intro-photos {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 460px;
}

.intro-photos li {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid var(--surface);
}

.intro-photos li:first-child {
    left: 0;
    top: 0;
    width: 78%;
    transform: rotate(-2deg);
}

.intro-photos li:last-child {
    right: 0;
    bottom: 0;
    width: 46%;
    transform: rotate(3deg);
}

.intro-photos img {
    transition: transform 0.4s ease;
}

.intro-photos a:hover img {
    transform: scale(1.04);
}

@media (max-width: 860px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .figures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-photos {
        min-height: 0;
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 12px;
        align-items: end;
    }

    .intro-photos li {
        position: static;
        width: auto !important;
    }
}

/* ---- the places of the caravaneige: a bento grid ---- */

.places {
    padding-block: clamp(56px, 7vw, 96px);
    background: var(--tint);
}

.bento {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.bento li {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--night);
    box-shadow: var(--shadow);
}

.bento a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--on-night);
}

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

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

.bento-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 22px;
    background: var(--night);
    position: relative;
    flex: 1;
}

.bento-text strong {
    font-family: var(--display);
    font-size: 1.45rem;
    color: #fff;
}

.bento-text strong::after {
    content: " →";
    color: var(--sign);
    font-family: var(--text);
}

.bento-text span {
    color: var(--on-night-muted);
}

.bento-1,
.bento-4 {
    grid-column: span 2;
}

.bento-1 img,
.bento-4 img {
    aspect-ratio: 16 / 9;
}

.bento-2 img,
.bento-3 img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    flex: 1;
}

.bento-2,
.bento-3 {
    display: flex;
}

.bento-2 a,
.bento-3 a {
    width: 100%;
}

.bento-2 a > img,
.bento-3 a > img {
    flex: 1 1 0;
    min-height: 180px;
}

.also {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.also a {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--line);
}

.also a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

@media (max-width: 960px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-1,
    .bento-4 {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento-1,
    .bento-4 {
        grid-column: auto;
    }

    .bento-2 a > img,
    .bento-3 a > img {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
        flex: none;
    }
}

/* ---- the ski instructor and the maps ---- */

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

.instructor-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.instructor-photo {
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 340px;
    border: 8px solid var(--surface);
    box-shadow: var(--shadow), 0 0 0 3px var(--teal);
}

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

.big-quote {
    font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
    line-height: 1.4;
    color: var(--teal);
    font-weight: 600;
    max-width: 34rem;
}

.maps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.maps a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1.5px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.maps img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #fff;
}

.maps span {
    display: flex;
    flex-direction: column;
    padding: 12px 16px 16px;
}

.maps small {
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 760px) {
    .instructor-grid {
        grid-template-columns: 1fr;
    }

    .instructor-photo {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .maps {
        grid-template-columns: 1fr;
    }
}

/* ---- the film ---- */

.film {
    padding-block: clamp(56px, 7vw, 96px);
    background: var(--night);
    color: var(--on-night);
}

.film h2 {
    color: #fff;
}

.film-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr);
    gap: 32px;
    align-items: center;
}

.film video {
    width: 100%;
    border-radius: var(--radius);
    background: #000;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.film a {
    color: var(--link-night);
}

@media (max-width: 760px) {
    .film-grid {
        grid-template-columns: 1fr;
    }
}

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

.band-call {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12), transparent 40%),
        var(--rust);
    color: #fff;
}

.band-call-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    padding-block: clamp(40px, 6vw, 64px);
}

.band-call h2 {
    margin-bottom: 0.3em;
}

.band-call p {
    margin: 0;
    font-size: 1.1rem;
}

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

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

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

.ridge svg {
    display: block;
    width: 100%;
    height: clamp(40px, 6vw, 90px);
    fill: var(--night);
    background: var(--rust);
}

.foot-body {
    background: var(--night);
    padding-top: 20px;
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 32px;
}

.foot-brand img {
    width: 240px;
    margin-bottom: 14px;
}

.foot-brand p {
    color: var(--on-night-muted);
    max-width: 26rem;
}

.foot h2 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 8px;
}

.foot p {
    margin: 0 0 14px;
}

.foot a {
    color: var(--link-night);
}

.foot a:hover {
    color: #fff;
}

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

.fb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.foot-links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    columns: 2;
    column-gap: 18px;
}

.foot-links li {
    break-inside: avoid;
    padding: 3px 0;
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-block: 18px 26px;
    font-size: 0.92rem;
    color: var(--on-night-muted);
}

.foot-bottom p {
    margin: 0;
}

@media (max-width: 860px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

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

.page-hero {
    position: relative;
    isolation: isolate;
    background-color: var(--night);
    color: #fff;
    overflow: clip;
}

.page-hero .wrap {
    padding-block: clamp(70px, 12vw, 150px) clamp(36px, 5vw, 60px);
}

.page-hero h1 {
    max-width: 18ch;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.page-hero .lead {
    max-width: 40rem;
    font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
    color: #eef4f6;
    margin: 0;
}

.page-hero a {
    color: #fff;
}

.crumbs {
    margin-bottom: 14px;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: 0.7;
}

.crumbs a {
    color: #fff;
}

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

@media (prefers-reduced-motion: no-preference) {
    .page-hero .wrap > * {
        animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

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

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

    .page-hero-photo img {
        animation: settle 2.4s ease-out both;
    }
}

.section {
    padding-block: clamp(48px, 7vw, 96px);
}

.section-tint {
    background: var(--tint);
}

.section-night {
    background: var(--night);
    color: var(--on-night);
}

.section-night h2,
.section-night h3 {
    color: #fff;
}

.section-night a {
    color: var(--link-night);
}

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

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

.prose p,
.prose li {
    color: var(--muted);
    font-size: 1.1rem;
}

.section-night .prose p,
.section-night .prose li {
    color: var(--on-night);
}

.prose h2 + p {
    margin-top: 0;
}

.ticks {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ticks li {
    position: relative;
    padding-left: 34px;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--teal);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.2 9.8l1.5-1.5 2.9 2.9 5.7-5.7 1.5 1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-night .ticks li::before {
    background: var(--sign);
}

.photo-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.photo-stack.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.photo-stack li,
.photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.photo-stack img,
.photo img {
    width: 100%;
    transition: transform 0.4s ease;
}

.photo-stack a:hover img,
.photo a:hover img {
    transform: scale(1.03);
}

.photo figcaption {
    padding: 10px 14px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.95rem;
}

.tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}

.tile {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1.5px solid var(--line);
}

.tile h3 {
    color: var(--rust);
}

.tile p:last-child {
    margin: 0;
}

.tile p {
    color: var(--muted);
}

.section-night .tile {
    background: var(--night-2);
    border-color: rgba(255, 255, 255, 0.14);
}

.section-night .tile h3 {
    color: var(--sign);
}

.section-night .tile p {
    color: var(--on-night);
}

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}

.cards a {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1.5px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.cards img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.cards span {
    display: block;
    padding: 18px 20px 22px;
}

.cards strong {
    display: block;
    font-family: var(--display);
    font-size: 1.4rem;
    line-height: 1.15;
    margin-bottom: 6px;
}

.cards strong::after {
    content: " →";
    color: var(--rust);
    font-family: var(--text);
}

.cards small {
    display: block;
    color: var(--muted);
    font-size: 1rem;
}

.gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 260px;
    column-gap: 14px;
}

.gallery li {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.gallery img {
    width: 100%;
    transition: transform 0.4s ease;
}

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

.note {
    padding: 16px 20px;
    border-left: 5px solid var(--sign);
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    color: var(--ink);
}

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

.chips li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    font-weight: 600;
}

.section-night .chips li {
    background: var(--night-2);
    border-color: rgba(255, 255, 255, 0.18);
}

.big-figure {
    font-family: var(--display);
    font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
    line-height: 1;
    color: var(--rust);
    margin: 0 0 6px;
}

.prose .big-figure {
    font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
    color: var(--rust);
}

.section-night .big-quote {
    color: var(--sign);
}

.figures-two {
    grid-template-columns: repeat(2, minmax(0, 160px));
    margin: 0 0 20px;
}

.section-night .big-figure {
    color: var(--sign);
}

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

.sibling-links a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.sibling-links a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

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

    .split-rev > :first-child {
        order: 0;
    }
}

/* ---- rates ---- */

.rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 18px;
    align-items: start;
}

.rate-card {
    padding: 24px 24px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1.5px solid var(--line);
}

.rate-card h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.rate-card h2 .num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: var(--sign);
    color: var(--sign-ink);
    font-size: 1.05rem;
}

.rate-list {
    margin: 0;
}

.rate-list div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px dashed var(--line);
}

.rate-list dt {
    color: var(--ink);
}

.rate-list dd {
    margin: 0;
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--rust);
    white-space: nowrap;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
}

.rate-table th,
.rate-table td {
    padding: 10px 6px;
    border-top: 1px dashed var(--line);
    text-align: right;
    vertical-align: baseline;
}

.rate-table thead th {
    border-top: 0;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.3;
}

.rate-table th[scope="row"] {
    text-align: left;
    font-weight: 600;
    color: var(--ink);
}

.rate-table td {
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--rust);
    white-space: nowrap;
}

.rate-wide {
    grid-column: 1 / -1;
}

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

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

.contact-card {
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
    background: var(--surface);
    border: 1.5px solid var(--line);
}

.big-phone {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
    line-height: 1.1;
    color: var(--rust);
    text-decoration: none;
    margin-bottom: 18px;
}

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

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

.contact-list dt {
    font-weight: 700;
    color: var(--muted);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.contact-form {
    display: grid;
    gap: 6px;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    margin-bottom: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    outline: 3px solid color-mix(in srgb, var(--teal) 35%, transparent);
    outline-offset: 0;
}

.contact-form ul {
    margin: 0;
    padding-left: 18px;
    color: #9b1c1c;
}

.contact-form .btn {
    justify-self: start;
    background: var(--ink);
    color: var(--bg);
    border: 0;
    cursor: pointer;
    font: 700 1.05rem/1 var(--text);
}

.contact-form .btn:hover {
    background: var(--teal);
}

.form-hint {
    font-size: 0.92rem;
    color: var(--muted);
}

.contact-sent {
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--tint);
    border-left: 5px solid var(--teal);
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- scroll reveals ---- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal,
        .bento li,
        .cards li,
        .tiles li,
        .gallery li,
        .figures div {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 70%;
        }
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
}

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

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

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

.not-found img {
    width: 240px;
    margin: 0 auto 20px;
}

.not-found div[lang] {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

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

.btn {
    white-space: nowrap;
}

@media (max-width: 380px) {
    .btn {
        white-space: normal;
    }
}
