*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-deep: #0c0f1a;
    --bg-panel: rgba(18, 24, 38, 0.72);
    --bg-panel-solid: #121827;
    --text: #e8ecf5;
    --text-muted: #9aa4bd;
    --accent: #6ee7b7;
    --accent-2: #a78bfa;
    --accent-warm: #fb7185;
    --gold: #fbbf24;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --radius-lg: 28px;
    --font-sans: "DM Sans", system-ui, sans-serif;
    --font-display: "Fraunces", Georgia, serif;
    --step--1: clamp(0.85rem, 0.82rem + 0.18vw, 0.92rem);
    --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    --step-1: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
    --step-2: clamp(1.65rem, 1.25rem + 1.35vw, 2.35rem);
    --step-3: clamp(2.1rem, 1.4rem + 2.2vw, 3.1rem);
    --space: clamp(1rem, 0.65rem + 1.45vw, 2rem);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s var(--ease-out);
}

a:hover {
    color: #9cf5d8;
}

.page-gradient {
    position: fixed;
    inset: -20% -10% auto -10%;
    height: 70vh;
    background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(167, 139, 250, 0.45), transparent),
        radial-gradient(ellipse 70% 55% at 85% 0%, rgba(110, 231, 183, 0.32), transparent),
        radial-gradient(ellipse 55% 50% at 50% 20%, rgba(251, 113, 133, 0.2), transparent);
    pointer-events: none;
    z-index: 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--accent);
    color: #082016;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    left: 1rem;
    outline: 2px solid white;
}

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: saturate(140%) blur(16px);
    background: rgba(12, 15, 26, 0.78);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-block: 0.85rem;
}

.site-nav {
    margin-left: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    flex-shrink: 0;
    filter: drop-shadow(0 8px 20px rgba(110, 231, 183, 0.25));
    animation: floaty 8s ease-in-out infinite;
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-1);
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: var(--step--1);
    color: var(--text-muted);
    max-width: 18rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition:
        opacity 0.25s var(--ease-out),
        transform 0.25s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav .nav-legals {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border);
}

.site-nav .nav-legals a {
    color: var(--text-muted);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.site-nav > .nav-list a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text);
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    transition:
        background 0.2s,
        color 0.2s;
}

.site-nav > .nav-list a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
}

.hero {
    padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
    position: relative;
}

.hero-inner {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(110, 231, 183, 0.12);
    border: 1px solid rgba(110, 231, 183, 0.35);
    color: var(--accent);
    font-size: var(--step--1);
    font-weight: 600;
    animation: pulse-glow 3.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0);
    }
    50% {
        box-shadow: 0 0 24px 1px rgba(110, 231, 183, 0.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    line-height: 1.08;
    margin: 1rem 0 0.75rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    color: var(--text-muted);
    max-width: 34ch;
    margin: 0 0 1.5rem;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        var(--shadow),
        0 0 0 1px var(--border);
    isolation: isolate;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12, 15, 26, 0.1), rgba(12, 15, 26, 0.55));
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-photo-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.1rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.35rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
    transition:
        transform 0.22s var(--ease-out),
        box-shadow 0.22s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent) 0%, #34d399 52%, var(--accent-2) 100%);
    background-size: 200% 100%;
    box-shadow:
        0 12px 36px rgba(110, 231, 183, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Boutons primaires en <a> : couleur de texte forcée (priorité sur les styles de liens généraux) */
.btn.btn-primary {
    color: #06140f !important;
    font-weight: 700;
}

.btn.btn-primary:hover {
    color: #021008 !important;
}

button.btn-primary {
    color: #06140f;
    font-weight: 700;
}

button.btn-primary:hover {
    color: #021008;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(110, 231, 183, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text);
}

a.btn-ghost {
    color: var(--text) !important;
}

a.btn-ghost:hover {
    color: var(--text) !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-left: 0.25rem;
}

.scroll-hint span {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.section {
    padding-block: clamp(2.25rem, 5vw, 4rem);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-kicker {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-2);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--step-2);
    margin: 0;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0;
}

.slider-wrap {
    position: relative;
    margin-top: 0.5rem;
}

.swiper {
    padding-bottom: 3rem !important;
    overflow: visible;
}

.swiper-slide {
    height: auto;
}

.recipe-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.35s var(--ease-out),
        border-color 0.25s;
}

.recipe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(110, 231, 183, 0.35);
}

.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.recipe-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.recipe-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.recipe-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.25;
}

.recipe-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    flex: 1;
}

.recipe-pill {
    align-self: flex-start;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.15);
    color: #ddd6fe;
    font-size: 0.75rem;
    font-weight: 600;
}

.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 5;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-panel-solid);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        transform 0.2s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.grid-feature {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .grid-feature {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-tile {
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
}

.feature-tile:hover::before {
    opacity: 1;
}

.feature-tile h4 {
    font-family: var(--font-display);
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.feature-tile p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.prose-page {
    max-width: 72ch;
}

.prose-page h1 {
    font-family: var(--font-display);
    font-size: var(--step-2);
}

.prose-page h2 {
    font-family: var(--font-display);
    font-size: var(--step-1);
    margin-top: 2rem;
}

.prose-page p,
.prose-page li {
    color: var(--text-muted);
}

.prose-page a {
    color: var(--accent);
}

#main {
    position: relative;
    z-index: 1;
}

.recipe-hero {
    padding: clamp(1.75rem, 4vw, 3rem) 0 1rem;
}

.recipe-hero-grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (min-width: 880px) {
    .recipe-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.recipe-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.recipe-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.recipe-intro h1 {
    font-family: var(--font-display);
    font-size: var(--step-2);
    margin: 0 0 1rem;
}

.recipe-intro .recipe-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat {
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 0.88rem;
}

.recipe-intro .lead {
    color: var(--text-muted);
    margin: 0;
}

.two-col-recipe {
    display: grid;
    gap: 2rem;
    padding-block: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 840px) {
    .two-col-recipe {
        grid-template-columns: 320px 1fr;
        align-items: start;
    }
}

.ingredient-block {
    background: var(--bg-panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    position: sticky;
    top: 5.75rem;
}

.ingredient-block h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.ing-group-title {
    font-weight: 600;
    margin: 1rem 0 0.4rem;
    color: var(--accent);
}

.ing-group-title:first-child {
    margin-top: 0;
}

.ingredient-block ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
}

.ingredient-block li {
    margin-bottom: 0.35rem;
}

.steps-block h2 {
    font-family: var(--font-display);
    font-size: var(--step-1);
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    position: relative;
    padding-left: 3.15rem;
    margin-bottom: 1.35rem;
    color: var(--text-muted);
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0c0f1a;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.notice-banner {
    border-radius: var(--radius);
    border: 1px dashed rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.08);
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    color: rgba(253, 230, 138, 0.95);
}

.form-card {
    max-width: 540px;
    background: var(--bg-panel-solid);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem 1.6rem;
    margin-top: 1.25rem;
    position: relative;
}

/* Honeypot — masqué hors écran pour les visiteurs */
.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.75rem 0.92rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(10, 14, 26, 0.65);
    background-clip: padding-box;
    color: var(--text);
    caret-color: var(--accent);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.45;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background-color 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.9;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
    outline: none;
    border-color: rgba(110, 231, 183, 0.65);
    box-shadow:
        0 0 0 2px rgba(12, 15, 26, 1),
        0 0 0 4px rgba(110, 231, 183, 0.28);
}

.form-row input:-webkit-autofill,
.form-row textarea:-webkit-autofill,
.form-row input:-webkit-autofill:hover {
    -webkit-text-fill-color: var(--text) !important;
    caret-color: var(--accent);
    border-color: rgba(255, 255, 255, 0.25);
    transition: background-color 99999s ease-out;
    box-shadow: 0 0 0 999px rgb(26, 32, 50) inset !important;
}

.form-row input:hover,
.form-row textarea:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.form-row textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row + .form-row {
    margin-top: 1rem;
}

kbd {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.1em 0.4em;
}


.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-block: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent);
}

.footer-grid {
    display: grid;
    gap: clamp(1.35rem, 3vw, 2rem);
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.85fr 0.95fr 1fr;
        align-items: start;
    }
}

.footer-brand {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
}

.footer-brand p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-heading {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-note p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.copy {
    color: rgba(232, 236, 245, 0.75);
    font-weight: 500;
}

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
    margin-top: 0.5rem;
}

.cookie-dialog {
    position: fixed;
    inset: auto 1rem 1rem auto;
    max-width: min(440px, 92vw);
    background: var(--bg-panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    z-index: 120;
    display: none;
}

.cookie-dialog.open {
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.stagger-1 {
    transition-delay: 90ms;
}

.stagger-2 {
    transition-delay: 170ms;
}

.stagger-3 {
    transition-delay: 260ms;
}

.site-list-ul {
    list-style: none;
    padding: 0;
}

.site-list-ul li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
}

.alert-success {
    background: rgba(110, 231, 183, 0.12);
    border: 1px solid rgba(110, 231, 183, 0.35);
    color: var(--accent);
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

.archive-head .section-title {
    max-width: 18ch;
}

.recipes-archive-grid {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 640px) {
    .recipes-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .recipes-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.recipe-archive-cell {
    display: flex;
    min-width: 0;
    opacity: 1;
}

.recipe-card-archive.recipe-card {
    width: 100%;
}

.recipes-archive-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.recipes-archive-status {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-basis: 100%;
    text-align: center;
}

@media (min-width: 720px) {
    .recipes-archive-status {
        flex-basis: auto;
        text-align: left;
    }
}

.recipe-archive-cell[hidden] {
    display: none !important;
}

@media (max-width: 940px) {
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        z-index: 50;
        position: relative;
    }

    .site-nav {
        margin-left: 0;
        position: fixed;
        inset: 0 0 auto 0;
        top: 0;
        padding: 5.25rem clamp(1.25rem, 4vw, 2rem) 1.75rem;
        background: rgba(10, 12, 22, 0.97);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition:
            transform 0.35s var(--ease-out),
            opacity 0.3s;
        max-height: min(92vh, 620px);
        overflow-y: auto;
        z-index: 45;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
