:root {
    --blue: #395a90;
    --blue-deep: #1d3358;
    --red: #d94b35;
    --ink: #1a1c21;
    --muted: #5c6370;
    --paper: #f3f1ec;
    --white: #fffcf8;
    --line: rgba(26, 28, 33, 0.12);
    --line-strong: rgba(26, 28, 33, 0.28);
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --gutter: clamp(1.15rem, 4vw, 3.5rem);
    --header: 76px;
    --wrap: 1180px;
    --shadow: 0 18px 50px rgba(29, 51, 88, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

@media (max-width: 899px) {
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .to-top {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: none;
    }
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

h1, h2, h3, p, ul, figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--blue);
    color: white;
    padding: 0.7rem 1rem;
}

.skip:focus {
    top: 1rem;
}

.wrap {
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #f3d2cb;
}

.lede {
    max-width: 38rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.55;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--blue {
    background: var(--blue);
    color: white;
}

.btn--blue:hover {
    background: var(--blue-deep);
}

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

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

.btn--light {
    background: var(--white);
    color: var(--blue-deep);
}

.btn--light:hover {
    background: var(--red);
    color: white;
}

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

::selection {
    background: var(--blue);
    color: white;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    view-transition-name: site-header;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    min-height: var(--header);
    margin-inline: auto;
}

.logo {
    display: block;
    flex: 0 1 auto;
    line-height: 0;
}

.logo img {
    width: auto;
    height: 42px;
}

.nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
    color: var(--red);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    position: relative;
    content: "";
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    left: 0;
    top: 0;
}

.nav-toggle__bars::before {
    transform: translateY(-7px);
}

.nav-toggle__bars::after {
    transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: rotate(-45deg);
}

.site-nav {
    display: flex;
    position: fixed;
    z-index: 30;
    inset: var(--header) 0 0 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
}

.site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.site-nav ul {
    display: flex;
    flex-direction: column;
}

.site-nav a {
    text-decoration: none;
}

.site-nav li a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
    transition: color 0.2s ease, padding 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.site-nav li a:hover,
.site-nav li a:focus-visible {
    color: var(--red);
}

.site-nav a[aria-current="page"] {
    color: var(--red);
}

.site-nav a.nav-cta[aria-current="page"] {
    color: white;
    box-shadow: none;
}

.nav-cta {
    margin-top: 1.5rem;
}

@media (max-width: 899px) {
    .site-nav li a:hover,
    .site-nav li a:focus-visible {
        padding-left: 0.55rem;
        border-bottom-color: var(--red);
    }

    .site-nav li,
    .site-nav .nav-cta {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .site-nav.is-open li,
    .site-nav.is-open .nav-cta {
        opacity: 1;
        transform: none;
        transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav.is-open li:nth-child(1) {
        transition-delay: 0.06s;
    }

    .site-nav.is-open li:nth-child(2) {
        transition-delay: 0.12s;
    }

    .site-nav.is-open li:nth-child(3) {
        transition-delay: 0.18s;
    }

    .site-nav.is-open li:nth-child(4) {
        transition-delay: 0.24s;
    }

    .site-nav.is-open .nav-cta {
        transition-delay: 0.3s;
    }
}

.hero {
    display: grid;
}

.hero__copy {
    padding: 2.4rem var(--gutter) 1.6rem;
}

.hero h1 {
    margin-bottom: 1.15rem;
    font-family: var(--serif);
    font-size: clamp(3.15rem, 8vw, 6.4rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.035em;
}

.hero h1 em {
    font-style: italic;
    color: var(--red);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.hero__media {
    position: relative;
    margin: 0;
}

.hero__media img {
    width: 100%;
    height: min(72vw, 460px);
    object-fit: cover;
    object-position: 62% center;
}

.hero--car .hero__media img {
    object-position: center 58%;
}

.hero--front .hero__media img {
    object-position: center 46%;
}

.hero--portrait .hero__media img {
    object-position: center 28%;
}

.stats-band {
    padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

.stats {
    display: grid;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats li {
    padding: 1.35rem 0;
}

.stats li + li {
    border-top: 1px solid var(--line);
}

.stats strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.stats p {
    color: var(--muted);
    font-size: 0.98rem;
}

.section {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section__head {
    display: grid;
    gap: 0.9rem;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section h2,
.page-head h1,
.band h2,
.title {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.9rem;
}

.section h2,
.page-head h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.section h2 em,
.title em {
    font-style: italic;
    color: var(--red);
}

.section__head p,
.split p,
.pillar p,
.card p,
.band p,
.contact-list,
.prose p,
.prose li {
    color: var(--ink);
}

.section__head .eyebrow,
.split .eyebrow {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section__head .lede,
.prose p,
.pillar p,
.card p {
    color: var(--muted);
}

.split {
    display: grid;
    gap: 1.5rem;
}

.split__copy {
    display: grid;
    gap: 1rem;
}

.split__copy p,
.prose p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.split__media img,
.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__media img {
    height: auto;
    aspect-ratio: 4 / 5;
}

a.split__media {
    display: block;
    color: inherit;
    text-decoration: none;
}

.split__media--detail img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 48%;
}

.split__media--tease img {
    object-position: center 36%;
}

.split__media figcaption {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.wide-photo {
    margin: 0;
}

.wide-photo img {
    width: 100%;
    height: min(70vw, 420px);
    object-fit: cover;
    object-position: center 40%;
}

.wide-photo--car img {
    object-position: center center;
    height: min(64vw, 620px);
}

.section--gallery {
    padding: clamp(1.75rem, 4vw, 3.25rem) 0;
}

body.page-notre-voiture-phare {
    --stack: clamp(3.5rem, 8vw, 7rem);
}

body.page-notre-voiture-phare main > .section,
body.page-notre-voiture-phare main > .section--gallery {
    padding-top: 0;
    padding-bottom: 0;
}

body.page-notre-voiture-phare main > .stats-band {
    padding-top: 0;
}

body.page-notre-voiture-phare main > .stats-band,
body.page-notre-voiture-phare main > .section,
body.page-notre-voiture-phare main > .wide-photo,
body.page-notre-voiture-phare main > .quote,
body.page-notre-voiture-phare main > .band {
    margin-top: var(--stack);
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin: 0;
    padding: 0;
}

.gallery figure {
    margin: 0;
    overflow: hidden;
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(3) {
    aspect-ratio: 3 / 4;
}

.gallery figure:nth-child(2) {
    aspect-ratio: 3 / 2;
}

.gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery figure:nth-child(1) img {
    object-position: center 18%;
}

.gallery figure:nth-child(2) img {
    object-position: center 46%;
}

.gallery figure:nth-child(3) img {
    object-position: center 30%;
}

.track-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.track-gallery figure {
    margin: 0;
}

.track-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

@media (min-width: 720px) {
    .track-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .track-gallery {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.shot {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.gallery .shot {
    height: 100%;
}

.gallery figure,
.track-gallery figure {
    overflow: hidden;
}

.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 36, 0.16);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.gallery .shot img,
.track-gallery .shot img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.shot:hover::after,
.shot:focus-visible::after {
    opacity: 1;
}

.shot:hover img,
.shot:focus-visible img {
    transform: scale(1.045);
}

.shot:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.lightbox {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #10141c;
    color: white;
}

.lightbox::backdrop {
    background: #10141c;
}

.lightbox[open] {
    animation: lightbox-in 0.28s ease;
}

.lightbox__photo {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    background: #10141c;
    transition: opacity 0.2s ease;
}

.lightbox__photo.is-waiting {
    opacity: 0;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 20, 28, 0.55);
    color: white;
    cursor: pointer;
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
}

.lightbox__nav--prev {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.lightbox__nav--next {
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.lightbox__close svg,
.lightbox__nav svg {
    width: 1.35rem;
    height: 1.35rem;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
    background: rgba(16, 20, 28, 0.82);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

html.lightbox-open,
html.lightbox-open body {
    overflow: hidden;
}

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

@media (prefers-reduced-motion: reduce) {
    .gallery .shot img,
    .track-gallery .shot img,
    .shot::after,
    .lightbox,
    .lightbox__photo {
        transition: none;
        animation: none;
    }

    .shot:hover img,
    .shot:focus-visible img {
        transform: none;
    }
}

.gallery figcaption,
.frame figcaption {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.trust {
    padding-top: 0;
}

.trust__list {
    display: grid;
    gap: 0.85rem;
}

.trust__list li {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 1.8rem 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.trust__list img {
    width: auto;
    height: 92px;
    max-width: min(210px, 70%);
    object-fit: contain;
}

.trust__list li:nth-child(2) img {
    height: 116px;
}

.rail-hint {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cards,
.pillars {
    display: grid;
    gap: 0.85rem;
}

.card,
.pillar {
    padding: 1.3rem 1.2rem 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

@media (hover: hover) {
    .card:hover,
    .pillar:hover,
    .trust__list li:hover {
        transform: translateY(-4px);
        border-color: rgba(57, 90, 144, 0.35);
    }
}

.card span,
.pillar span {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.card h3,
.pillar h2 {
    margin-bottom: 0.55rem;
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.05;
}

.moments {
    display: grid;
    gap: 1.6rem;
    margin: 0;
    padding: 0.35rem 0 0;
    list-style: none;
}

.moments li {
    position: relative;
    padding-left: 1.15rem;
    border-left: 1px solid var(--line-strong);
}

.moments li::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0.45rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.moments h3 {
    margin-bottom: 0.35rem;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
}

.moments p {
    max-width: 34ch;
    color: var(--muted);
}

.quote {
    padding: clamp(3rem, 8vw, 6.5rem) 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quote blockquote {
    margin: 0;
    max-width: 16ch;
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.quote blockquote::before {
    content: "";
    display: block;
    width: 2.2rem;
    height: 2px;
    margin-bottom: 1.2rem;
    background: var(--red);
}

.quote figcaption {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.band {
    display: grid;
    align-items: end;
    min-height: 520px;
    color: white;
    background-color: var(--blue-deep);
    background-image: linear-gradient(180deg, rgba(16, 28, 52, 0.08) 0%, rgba(16, 28, 52, 0.28) 42%, rgba(16, 28, 52, 0.62) 100%), var(--band);
    background-position: center, center 46%;
    background-size: cover, cover;
}

.band--side {
    background-position: center, center 62%;
}

.band h2,
.band p {
    text-shadow: 0 1px 18px rgba(16, 28, 52, 0.45);
}

.band__inner {
    padding: 3rem 0;
}

.band h2 {
    max-width: 10ch;
    margin-bottom: 0.8rem;
    font-size: clamp(3rem, 7vw, 5.4rem);
}

.band p {
    max-width: 28rem;
    margin-bottom: 1.4rem;
    color: rgba(255, 252, 248, 0.86);
}

.page-head {
    padding: clamp(2.4rem, 6vw, 5rem) 0 0.5rem;
}

.page-head .lede {
    margin-top: 1rem;
}

.page-pad {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.places {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    margin-top: 0.4rem;
}

.places li {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.places li:not(:last-child)::after {
    content: "·";
    margin: 0 0.55rem;
    color: var(--red);
}

.frame {
    margin: 0;
}

.frame img {
    aspect-ratio: 16 / 10;
}

.contact {
    display: grid;
    gap: 1.5rem;
}

.contact-list li {
    display: grid;
    gap: 0.15rem;
    padding: 0.95rem 0;
    border-top: 1px solid var(--line);
}

.contact-list li:last-child {
    border-bottom: 1px solid var(--line);
}

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

.contact-list a {
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--blue);
}

.form {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
}

.form label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 500;
}

.form__label small {
    font-weight: 400;
    color: var(--muted);
}

.form input,
.form textarea {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
}

.form textarea {
    min-height: 150px;
    resize: vertical;
}

.form input:focus,
.form textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
    border-color: transparent;
}

.form__consent {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.form .form__consent label {
    display: block;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--muted);
}

.form__consent input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    padding: 0;
    flex: none;
    accent-color: var(--blue);
}

.form__consent a {
    color: inherit;
}

.hp {
    position: absolute;
    left: -9999px;
}

.notice {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.notice--ok {
    background: #e7f0e4;
    color: #1d3b24;
}

.notice--error {
    background: #fde8e4;
    color: #6d2418;
}

.prose {
    max-width: 70ch;
}

.prose h2 {
    margin: 2.1rem 0 0.55rem;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400;
    line-height: 1.1;
}

.prose ul {
    display: grid;
    gap: 0.45rem;
    margin: 0.8rem 0 1rem;
    padding-left: 1rem;
    list-style: disc;
}

.site-footer {
    background: var(--blue-deep);
    color: rgba(255, 252, 248, 0.86);
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.55rem 0.7rem;
    background: var(--paper);
    line-height: 0;
}

.site-footer__logo img {
    width: auto;
    height: 38px;
}

.site-footer__brand {
    font-family: var(--serif);
    font-size: 2rem;
    color: white;
    line-height: 1;
}

.site-footer__label {
    margin-bottom: 0.7rem;
    color: #f3d2cb;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-footer__social svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.site-footer__social:hover {
    color: #f3d2cb;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

.site-footer li + li {
    margin-top: 0.35rem;
}

.site-footer__base {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    justify-content: space-between;
    padding: 1rem 0 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 252, 248, 0.62);
    font-size: 0.88rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}

.site-footer__credit {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.site-footer__credit a {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: white;
}

.site-footer__credit a span {
    font-weight: 300;
    font-size: 0.78em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__credit a:hover {
    color: #f3d2cb;
}

.to-top {
    position: fixed;
    z-index: 30;
    right: var(--gutter);
    bottom: 1.15rem;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: var(--blue-deep);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 2rem));
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease,
        visibility 0s linear 0.55s;
}

.to-top.is-in {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        visibility 0s;
}

.to-top:hover {
    background: var(--blue);
}

.to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: square;
}

.cookie {
    position: fixed;
    z-index: 50;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 1rem;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cookie[hidden] {
    display: none;
}

.cookie p {
    color: var(--muted);
    font-size: 0.92rem;
}

.cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cookie__ghost {
    background: transparent;
}

@media (min-width: 720px) {
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats li {
        padding: 1.6rem 1.4rem 1.6rem 0;
    }

    .stats li + li {
        border-top: 0;
        padding-left: 1.4rem;
        border-left: 1px solid var(--line);
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

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

    .cookie {
        left: auto;
        width: min(440px, calc(100% - 2rem));
        right: 1rem;
    }
}

@media (min-width: 900px) {
    .logo img {
        height: 44px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav,
    .site-nav.is-open {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0;
        overflow: visible;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .site-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 0.85rem;
    }

    .site-nav li a {
        position: relative;
        padding: 0.2rem 0;
        border: 0;
        font-family: var(--sans);
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .site-nav li a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.2rem;
        height: 2px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav li a:hover::after,
    .site-nav li a:focus-visible::after,
    .site-nav li a[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .site-nav a[aria-current="page"] {
        color: var(--ink);
    }

    .nav-cta {
        margin-top: 0;
    }

    .wide-photo img {
        height: min(46vw, 560px);
    }

    .hero {
        grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
        min-height: calc(100svh - var(--header));
        align-items: stretch;
    }

    .hero__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem var(--gutter);
    }

    .hero__media {
        position: relative;
        min-height: calc(100svh - var(--header));
    }

    .hero__media img {
        position: absolute;
        inset: 0;
        height: 100%;
        min-height: 0;
    }

    .split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: clamp(2rem, 4vw, 4.5rem);
        align-items: start;
    }

    .split__media {
        position: sticky;
        top: calc(var(--header) + 1.2rem);
    }

    .cards,
    .pillars {
        grid-template-columns: repeat(3, 1fr);
    }

    .moments {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding-top: 1.35rem;
        border-top: 1px solid var(--line);
    }

    .moments li {
        padding: 0 1.4rem 0 0;
        border-left: 0;
    }

    .moments li + li {
        padding-left: 1.4rem;
    }

    .moments li::before {
        top: -1.35rem;
        left: 0;
        transform: translateY(-50%);
    }

    .moments li + li::before {
        left: 1.4rem;
    }

    .contact {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 3rem;
        align-items: start;
    }

    .form {
        padding: 1.6rem;
    }

    .gallery {
        grid-template-columns: 0.92fr 1.16fr 0.92fr;
        gap: 1.35rem;
        align-items: stretch;
    }

    .gallery figure:nth-child(2) {
        aspect-ratio: auto;
        height: 100%;
    }
}

@media (max-width: 899px) {
    .split--media-first .split__media {
        order: -1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

main {
    flex: 1 0 auto;
    view-transition-name: page;
}

::view-transition-group(site-header) {
    z-index: 10;
    animation: none;
}

::view-transition-old(site-header),
::view-transition-new(site-header),
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
}

::view-transition-old(page) {
    animation: 0.4s ease both cf-fade-out;
}

::view-transition-new(page) {
    animation: 0.7s cubic-bezier(0.22, 1, 0.36, 1) both cf-fade-in;
}

@keyframes cf-fade-out {
    to {
        opacity: 0;
    }
}

@keyframes cf-fade-in {
    from {
        opacity: 0;
    }
}

@keyframes cf-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

html.motion:not(.vt) .hero__copy > *,
html.motion:not(.vt) .page-head .wrap > * {
    animation: cf-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.motion:not(.vt) .hero__copy > *:nth-child(2),
html.motion:not(.vt) .page-head .wrap > *:nth-child(2) {
    animation-delay: 0.1s;
}

html.motion:not(.vt) .hero__copy > *:nth-child(3),
html.motion:not(.vt) .page-head .wrap > *:nth-child(3) {
    animation-delay: 0.18s;
}

html.motion:not(.vt) .hero__copy > *:nth-child(4),
html.motion:not(.vt) .page-head .wrap > *:nth-child(4) {
    animation-delay: 0.26s;
}

html.leave main {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rise {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.rise.is-in {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
    }

    .rise,
    html.leave main {
        opacity: 1 !important;
    }
}

@media (min-width: 1180px) {
    .logo img {
        height: 52px;
    }

    .site-nav,
    .site-nav.is-open {
        gap: 1.5rem;
    }

    .site-nav ul {
        gap: 1.35rem;
    }

    .site-nav li a {
        font-size: 0.98rem;
    }
}
