/* ==========================================================================
   Cru La Maqueline — feuille de styles principale
   Titres : 'Libre Caslon Text', serif — Textes : 'Open Sans', sans-serif
   ========================================================================== */

:root {
    --copper: #cf955e;
    --copper-dark: #b97f49;
    --sand: #f5eadf;
    --ink: #1a1a1a;
    --white: #fff;

    --serif: 'Libre Caslon Text', 'Libre Baskerville', Baskerville, 'Times New Roman', serif;
    --sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

    --header-h: 112px;
    --gutter: 3vw;
    --max: 1680px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

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

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

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

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
}

.skip-link:focus {
    top: 8px;
}

.accent {
    color: var(--copper);
}

.kicker {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: var(--copper);
}

.btn {
    display: inline-block;
    padding: 15px 20px;
    background: var(--copper);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn:hover {
    background: var(--copper-dark);
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 4.2vw;
    background: var(--white);
}

.site-header__logo img {
    width: auto;
    height: calc(var(--header-h) - 28px);
}

.site-nav ul {
    display: flex;
    align-items: center;
}

.site-nav li+li {
    border-left: 1px solid rgba(207, 149, 94, 0.45);
}

.site-nav a {
    display: block;
    padding: 2px 24px;
    color: var(--copper);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav li:last-child a {
    padding-right: 0;
}

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

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px 9px;
}

.burger span {
    display: block;
    height: 2px;
    margin: 0 0 6px;
    background: var(--copper);
    transition: transform 0.25s, opacity 0.25s;
}

.burger span:last-child {
    margin-bottom: 0;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Header vidéo 16:9
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(calc(100svh - var(--header-h)), 50vw);
    min-height: 420px;
    overflow: hidden;
    background: #000;
    color: var(--white);
}

.hero__poster,
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video {
    visibility: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 24px;
    text-align: center;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(34px, 5.3vw, 84px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__baseline {
    margin-top: 0.35em;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(22px, 2.6vw, 40px);
    line-height: 1.2;
    letter-spacing: 0.06em;
}

.hero__intro {
    max-width: 31em;
    margin: 1.6em auto 0;
    font-size: clamp(13px, 0.95vw, 15px);
}

.hero__play {
    display: inline-flex;
    margin-top: 28px;
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.2s;
}

.hero__play svg {
    width: clamp(48px, 3.8vw, 60px);
    height: auto;
}

.hero__play:hover {
    transform: scale(1.08);
}

.hero :focus-visible {
    outline-color: var(--white);
}

.hero__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
}

/* Lecture : la vidéo reprend son ratio 16:9 complet, sans recadrage */
.hero.is-playing {
    max-height: calc(100svh - var(--header-h));
    min-height: 0;
}

.hero.is-playing::after,
.hero.is-playing .hero__content,
.hero.is-playing .hero__poster {
    display: none;
}

.hero.is-playing .hero__video {
    visibility: visible;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Briques communes : visuel + titre vertical, filigrane, blocs de texte
   -------------------------------------------------------------------------- */

.visual {
    position: relative;
    aspect-ratio: 4 / 3;
    container-type: size;
    overflow: hidden;
}

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

.vertical-title {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0.2em 0.02em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--white);
    font-family: var(--serif);
    /* taille calée sur la hauteur du visuel pour que le titre l'occupe en entier */
    font-size: 5vw;
    font-size: var(--title-size, 12cqh);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(0, 0, 0, 0.25);
}

.watermark {
    position: relative;
    isolation: isolate;
}

.watermark::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(100%, 720px);
    aspect-ratio: 1120 / 740;
    transform: translate(-50%, -50%);
    /* le PNG (1920x1080) a des marges : on zoome pour cadrer l'emblème seul */
    background: url(/img/filigrane.png) center / 171.43% auto no-repeat;
    /* #edd7bf à 19 % sur blanc = teinte de la maquette (#fcf7f3) */
    opacity: 0.19;
    pointer-events: none;
}

.text-block {
    width: min(100%, 31em);
    margin: 0 auto;
    text-align: justify;
}

.text-block .kicker {
    margin-bottom: 1.3em;
}

.text-block p+p {
    margin-top: 1.75em;
}

/* --------------------------------------------------------------------------
   Frise chronologique
   -------------------------------------------------------------------------- */

.frise,
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.frise {
    padding-top: clamp(56px, 8.5vw, 130px);
    padding-bottom: clamp(48px, 8vw, 120px);
}

.frise__media .visual {
    aspect-ratio: 16 / 10;
    --title-size: 12.4cqh;
}

#vignoble .visual {
    --title-size: 10.6cqh;
}

.frise__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.8%;
    margin-top: 10px;
}

.frise__thumbs img {
    width: 100%;
    aspect-ratio: 158 / 100;
    object-fit: cover;
}

.frise__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
    padding-left: 7%;
}

.frise__content.watermark::before {
    top: 44%;
}

.frise__panels {
    display: grid;
    align-items: center;
    max-width: 44em;
    margin: 0 auto;
    text-align: center;
}

.frise__panel h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.frise__year {
    font-size: 20px;
    font-weight: 700;
    color: var(--copper);
}

/* Sans JavaScript : toutes les étapes sont listées les unes sous les autres */
.frise__panel+.frise__panel {
    margin-top: 28px;
}

html:not(.js) .frise__timeline {
    display: none;
}

/* Avec JavaScript : panneaux superposés, seul l'actif est visible
   (la hauteur reste celle du plus long texte : pas de saut de mise en page) */
.js .frise__panel {
    grid-area: 1 / 1;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.js .frise__panel.is-active {
    opacity: 1;
    visibility: visible;
}

.js .frise__year {
    display: none;
}

.frise__timeline {
    position: relative;
    display: flex;
    padding-bottom: 6px;
}

.frise__timeline::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--copper);
}

.frise__tab {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    line-height: 1;
}

.frise__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--copper);
    transform: scale(0);
    transition: transform 0.25s;
}

.frise__label {
    transition: color 0.2s;
}

.frise__tab:hover .frise__label {
    color: var(--copper);
}

.frise__tab:hover .frise__dot {
    transform: scale(0.5);
}

.frise__tab.is-active .frise__dot {
    transform: scale(1);
}

.frise__tab.is-active .frise__label {
    margin-top: 6px;
    color: var(--copper);
    font-size: 26px;
    font-weight: 700;
}

[data-frise-image] {
    transition: opacity 0.25s;
}

[data-frise-image].is-loading {
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Sections image / texte
   -------------------------------------------------------------------------- */

.split {
    margin-bottom: 30px;
}

.split--reverse .visual {
    grid-column: 2;
    grid-row: 1;
}

.split--reverse .split__text {
    grid-column: 1;
    grid-row: 1;
}

.split__text {
    display: grid;
    align-items: center;
    padding: 40px 8%;
}

.labels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
}

/* lien autour d'un logo : même encombrement que l'image seule */
.labels a {
    display: flex;
}

.labels img {
    /* JPG sur fond blanc : le blanc se fond dans le filigrane */
    mix-blend-mode: multiply;
    width: auto;
    height: clamp(72px, 7vw, 104px);
}

/* --------------------------------------------------------------------------
   Triptyques
   -------------------------------------------------------------------------- */

.triptych {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.9vw;
    max-width: var(--max);
    margin: 0 auto;
    padding: 30px 1.8vw 0;
}

.triptych img {
    width: 100%;
    aspect-ratio: 116 / 100;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Les vins
   -------------------------------------------------------------------------- */

.wines-banner {
    position: relative;
    display: flex;
    align-items: center;
    aspect-ratio: 1802 / 705;
    min-height: 440px;
    width: 100%;
    margin-top: clamp(36px, 3.4vw, 64px);
    overflow: hidden;
    background: #000;
    color: var(--white);
}

.wines-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
}

.wines-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

.wines-banner .vertical-title {
    z-index: 2;
    left: 4.2vw;
    right: auto;
    justify-content: center;
    font-size: clamp(44px, 5.4vw, 96px);
    letter-spacing: 0.08em;
}

.wines-banner__text {
    position: relative;
    z-index: 2;
    width: min(26em, 22vw);
    min-width: 290px;
    margin-left: 15vw;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.04em;
    text-align: justify;
}

.wines-banner__text p+p {
    margin-top: 1.5em;
}

.wines-banner :focus-visible {
    outline-color: var(--white);
}

.wines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 30em));
    justify-content: center;
    gap: 40px 11vw;
    padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(56px, 7vw, 110px);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
    overflow: hidden;
}

.wines.watermark::before {
    top: clamp(20px, 2vw, 40px);
    width: min(92%, 900px);
    transform: translateX(-50%);
}

.wine {
    display: flex;
    flex-direction: column;
}

.wine__packshot {
    position: relative;
    align-self: center;
    margin-bottom: 36px;
}

.wine__bottle {
    width: auto;
    height: clamp(300px, 28vw, 420px);
    mix-blend-mode: multiply;
}

/* Médaille posée sur la bouteille, légèrement décalée vers la droite */
.wine__medal {
    position: absolute;
    left: -73%;
    bottom: 74%;
    width: clamp(84px, 8vw, 84px);
    height: auto;
    border-radius: 50%;
    clip-path: circle(49.4%);
}

.wine__name {
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(24px, 2.2vw, 31px);
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    color: var(--copper);
}

.wine__name span {
    display: block;
    font-family: var(--sans);
    font-size: 0.78em;
}

.wine p {
    margin-bottom: 1.5em;
}

.wine__lead {
    font-style: italic;
    font-weight: 700;
}

.wine__awards {
    font-weight: 700;
}

/* Paragraphes repliables (« Voir plus ») — sans JavaScript tout reste visible */
.js .wine__more:not(.is-open) {
    display: none;
}

.wine .wine__more p:last-of-type {
    margin-bottom: 1.5em;
}

html:not(.js) .wine__toggle {
    display: none;
}

.wine__toggle {
    align-self: flex-start;
    margin-right: auto;
    margin-bottom: 1.6em;
    margin-left: auto;
    padding: 5px 12px;
    border: 1px solid var(--copper);
    color: var(--copper);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}

.wine__toggle:hover {
    background: var(--copper);
    color: var(--white);
}

.wine .btn {
    align-self: center;
    margin-top: auto;
}

.wine p:last-of-type {
    margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Contact (le formulaire est injecté par l'API Castel dans #contact-form)
   -------------------------------------------------------------------------- */

.contact {
    padding: clamp(56px, 8vw, 130px) var(--gutter) 40px;
}

#contact-form {
    width: min(100%, 1140px);
    margin: 0 auto;
}

#contact-form h2 {
    margin-bottom: 20px;
    font-family: var(--serif);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--copper);
}

#contact-form form {
    width: 100%;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="date"],
#contact-form input[type="tel"],
#contact-form select,
#contact-form textarea {
    background: var(--sand);
    border: 0;
    border-radius: 0;
}

#contact-form button[type="submit"],
#contact-form input[type="submit"] {
    background: var(--copper);
    color: var(--white);
    border: 0;
    border-radius: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.1em;
}

#ccgc {
    padding: 30px var(--gutter) 0;
}

.ccgc-logo {
    display: inline-block;
}

.ccgc-logo img {
    width: clamp(130px, 12vw, 176px);
    height: auto;
}

.site-footer .properties {
    margin: 36px 0 44px;
    font-size: clamp(18px, 1.9vw, 27px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

.ccgc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: min(100%, 1080px);
    margin: 0 auto;
    line-height: 1.6;
}

.ccgc-list h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ccgc-list ul+h3 {
    margin-top: 4px;
}

.ccgc-list .note {
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 36px;
    padding: 56px var(--gutter) 14px;
    font-size: 13px;
}

.footer-links a {
    padding: 4px 0;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links__wide {
    flex-basis: 100%;
}

.site-footer .legal {
    padding: 22px var(--gutter);
    background: var(--copper);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pages légales (contenu injecté par l'API Castel dans #legal)
   -------------------------------------------------------------------------- */

#legal {
    width: min(100%, 960px);
    min-height: 50vh;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

/* --------------------------------------------------------------------------
   Tablette
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    :root {
        --header-h: 88px;
    }

    .site-nav a {
        padding: 2px 16px;
        font-size: 13px;
    }

    .hero {
        max-height: min(calc(100svh - var(--header-h)), 56.25vw);
    }

    .split__text {
        padding: 32px 6%;
    }

    .frise__content {
        padding-left: 5%;
    }

    .frise__tab {
        font-size: 12px;
    }

    .frise__tab.is-active .frise__label {
        font-size: 21px;
    }

    .wines {
        gap: 40px 6vw;
    }

    .wines-banner__text {
        margin-left: 18vw;
    }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
    :root {
        --header-h: 72px;
        --gutter: 20px;
    }

    body {
        font-size: 15px;
    }

    .site-header {
        padding: 0 16px 0 20px;
    }

    .burger {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100svh - var(--header-h));
        overflow-y: auto;
        background: var(--white);
        border-top: 1px solid var(--sand);
        box-shadow: 0 18px 24px -18px rgba(0, 0, 0, 0.25);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    html:not(.js) .site-nav {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        border: 0;
        box-shadow: none;
    }

    html:not(.js) .burger {
        display: none;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 8px 0 16px;
    }

    .site-nav li+li {
        border-left: 0;
    }

    .site-nav a,
    .site-nav li:last-child a {
        padding: 16px 24px;
        font-size: 15px;
    }

    /* Header : visuel plein cadre en portrait, 16:9 strict à la lecture */
    .hero {
        aspect-ratio: auto;
        height: calc(100svh - var(--header-h));
        min-height: 440px;
        max-height: 640px;
    }

    .hero.is-playing {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .hero__poster {
        object-position: 62% 50%;
    }

    .hero__intro {
        font-size: 14px;
    }

    .frise,
    .split {
        grid-template-columns: 1fr;
    }

    .frise {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .frise__content {
        padding: 40px 0 0;
        gap: 28px;
    }

    .frise__thumbs {
        gap: 8px;
        margin-top: 8px;
    }

    /* Frise : défilement horizontal à l'intérieur de son propre conteneur */
    .frise__timeline {
        margin: 0 calc(var(--gutter) * -1);
        padding: 0 var(--gutter) 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .frise__timeline::-webkit-scrollbar {
        display: none;
    }

    .frise__timeline::before {
        width: max(100%, 584px);
        right: auto;
    }

    .frise__tab {
        flex: 1 0 68px;
        font-size: 14px;
        scroll-snap-align: center;
    }

    .frise__tab.is-active .frise__label {
        font-size: 24px;
    }

    .split {
        margin-bottom: 0;
    }

    .split--reverse .visual,
    .split--reverse .split__text {
        grid-column: auto;
        grid-row: auto;
    }

    .split__text {
        padding: 44px 4px 52px;
    }

    .text-block {
        text-align: left;
    }

    .triptych {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 var(--gutter);
    }

    .triptych img:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .triptych img {
        aspect-ratio: 1;
    }

    .wines-banner {
        aspect-ratio: auto;
        min-height: 520px;
        align-items: flex-end;
        margin-top: 40px;
    }

    .wines-banner__bg {
        object-position: 68% 50%;
    }

    .wines-banner::after {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 48%, rgba(0, 0, 0, 0.1) 82%);
    }

    .wines-banner .vertical-title {
        left: 12px;
        bottom: auto;
        top: 24px;
        height: 250px;
        justify-content: flex-end;
        font-size: 44px;
    }

    .wines-banner__text {
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0 var(--gutter) 36px;
        text-align: left;
    }

    .wines {
        grid-template-columns: minmax(0, 32em);
        gap: 64px;
        font-size: 15px;
        line-height: 1.6;
    }

    .wines.watermark::before {
        width: 130%;
    }

    .wine__bottle {
        height: 340px;
    }

    .wine__medal {
        width: 96px;
    }

    .ccgc-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 2px;
        padding-top: 40px;
    }

    .footer-links a {
        padding: 10px 0;
    }

    .site-footer .legal {
        font-size: 12px;
        line-height: 1.6;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}