:root {
    --orange: #F5821F;
    --orange-deep: #E0670C;
    --orange-soft: #FFB765;
    --amber: #FBF4EC;
    --cream: #FCEEDD;
    --paper: #FFFBF6;
    --ink: #1A140E;
    --ink-2: #3A3128;
    --ink-soft: #7C6C5C;
    --line: rgba(26, 20, 14, .12);
    --shadow: 0 30px 60px -34px rgba(60, 32, 8, .55);
    --shadow-sm: 0 16px 34px -22px rgba(60, 32, 8, .4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%
}

h1,
h2,
h3,
h4,
.serif {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -.02em;
    line-height: 1.08
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px
}

.wrap-narrow {
    max-width: 800px
}

.accent {
    color: var(--orange-deep)
}

.kicker {
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange-deep)
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    opacity: 0;
    pointer-events: none
}

.captcha-field {
    margin: 4px 0 6px
}

.captcha-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.captcha-field input[name="captcha"] {
    max-width: 160px
}

.captcha-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--ink-soft, #7c6c5c)
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 12px;
    z-index: 300;
    background: var(--ink);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    transition: top .2s
}

.skip-link:focus {
    top: 0
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px
}

/* ===== ACCESSIBILITY MODES ===== */
html.calm {
    --orange: #C58A5B;
    --orange-deep: #AE7748;
    --orange-soft: #E6CDB2;
    --cream: #F2ECE4;
    --paper: #FBF9F5;
    --amber: #F5F1EB
}

html.calm img {
    filter: saturate(.6) brightness(1.02) contrast(.96)
}

html.calm .numbers::after {
    display: none
}

html.calm .cta,
html.calm .lead-photo .overlay {
    background: #C58A5B
}

html.reduce-motion * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important
}

html.reduce-motion .art:hover {
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        animation: none !important
    }
}

html.legible,
html.legible h1,
html.legible h2,
html.legible h3,
html.legible h4 {
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif
}

html.legible body {
    letter-spacing: .02em;
    word-spacing: .08em;
    line-height: 1.9
}

html.text-lg .post-body,
html.text-lg .art p,
html.text-lg .summary li {
    font-size: 18px
}

html.text-lg .post-body h2 {
    font-size: 30px
}

html.text-xl .post-body,
html.text-xl .art p,
html.text-xl .summary li {
    font-size: 20px;
    line-height: 1.9
}

html.text-xl .post-body h2 {
    font-size: 34px
}

html.text-xl .art h3 {
    font-size: 24px
}

/* ===== RIBBON ===== */
.ribbon {
    background: var(--ink);
    color: #f3e4d3;
    font-size: 12.5px
}

.ribbon .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px
}

.ribbon .r-links {
    display: flex;
    gap: 20px;
    text-transform: capitalize
}

.ribbon a {
    color: #e9d5be;
    opacity: .85
}

.ribbon a:hover {
    opacity: 1;
    color: var(--orange-soft)
}

/* ===== MASTHEAD ===== */
.masthead {
    background: var(--paper);
    border-bottom: 2px solid var(--ink)
}

.mast-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 0 20px
}

.mast-left,
.mast-right {
    display: flex;
    align-items: center;
    gap: 14px
}

.mast-right {
    justify-content: flex-end
}

.mast-title {
    text-align: center
}

.mast-title .edition {
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px
}

.mast-title h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900
}

.mast-title h1 b {
    color: var(--orange-deep);
    font-style: italic;
    font-weight: 600
}

.mast-title .tag {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 8px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: block;
    flex: none;
    filter: drop-shadow(0 8px 16px rgba(224, 103, 12, .28));
    transition: transform .25s
}

.brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.05)
}

.mast-left .nav-toggle {
    display: none
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: .2s
}

.icon-btn:hover {
    background: var(--ink);
    color: #fff
}

.btn-sub {
    background: var(--orange);
    color: #fff;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 22px -12px rgba(224, 103, 12, .7);
    transition: .25s
}

.btn-sub:hover {
    background: var(--orange-deep);
    transform: translateY(-1px)
}

/* ===== NAV ===== */
.catnav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 251, 246, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px -20px rgba(60, 32, 8, .55)
}

.catnav .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    height: 56px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .005em;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.catnav .wrap::-webkit-scrollbar {
    display: none
}

.catnav a {
    color: var(--ink-2);
    position: relative;
    white-space: nowrap;
    padding: 6px 1px;
    transition: color .2s
}

.catnav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    transition: left .22s ease, right .22s ease
}

.catnav a:hover,
.catnav a.active {
    color: var(--orange-deep)
}

.catnav a:hover::after,
.catnav a.active::after {
    left: 0;
    right: 0
}

.catnav .nav-emoji {
    margin-right: 2px
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--amber);
    border-bottom: 1px solid var(--line)
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 12px 0;
    font-size: 13px;
    color: var(--ink-soft)
}

.breadcrumb .sep {
    margin: 0 8px;
    opacity: .5
}

.breadcrumb a {
    color: var(--orange-deep);
    font-weight: 600
}

.breadcrumb [aria-current] {
    color: var(--ink)
}

/* ===== LEAD ===== */
.lead {
    padding: 44px 0 10px
}

.lead-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 40px
}

.lead-photo {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
    position: relative
}

.lead-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.lead-photo .overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 30px 28px;
    background: linear-gradient(transparent, rgba(20, 15, 9, .86));
    color: #fff;
    z-index: 2
}

.lead-photo .overlay .kicker {
    color: var(--orange-soft)
}

.lead-photo h2 {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 900;
    margin: 10px 0 8px
}

.lead-photo .byl {
    font-size: 13px;
    color: #f0e0cd
}

.lead-side {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.side-story {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line)
}

.side-story:last-child {
    border-bottom: none
}

.side-thumb {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    overflow: hidden;
    flex: none
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.side-story h3 {
    font-family: 'Fraunces';
    font-size: 17px;
    font-weight: 600;
    margin: 5px 0;
    line-height: 1.2
}

.side-story .m {
    font-size: 12px;
    color: var(--ink-soft)
}

.empty-lead {
    border: 2px dashed var(--line);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: var(--ink-soft)
}

/* fallback covers */
.cover-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 44px;
    background: linear-gradient(150deg, color-mix(in srgb, var(--c, #F5821F) 30%, #fff), var(--c, #F5821F))
}

.cover-fallback.big {
    font-size: 90px
}

/* ===== SECTION ===== */
.section {
    padding: 52px 0
}

.sec-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px
}

.sec-title h2 {
    font-size: 28px;
    font-weight: 900;
    white-space: nowrap
}

.sec-title .rule {
    flex: 1;
    height: 1px;
    background: var(--ink);
    opacity: .85
}

.sec-title a.more {
    font-weight: 700;
    font-size: 13px;
    color: var(--orange-deep);
    white-space: nowrap
}

.page-head {
    margin-bottom: 30px
}

.page-head h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900
}

.page-intro {
    color: var(--ink-soft);
    max-width: 620px;
    margin-top: 10px
}

/* ===== MAG GRID ===== */
.mag {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px
}

.mag-wide {
    grid-template-columns: repeat(3, 1fr)
}

.art {
    transition: .25s
}

.art:hover {
    transform: translateY(-6px)
}

.art .cover {
    border-radius: 16px;
    height: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

.art .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.art .cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--orange-deep);
    font-weight: 700;
    font-size: 11px;
    padding: 5px 11px;
    border-radius: 20px;
    z-index: 2
}

.art .cat {
    display: inline-block;
    margin: 15px 0 8px
}

.art h3 {
    font-family: 'Fraunces';
    font-size: 20px;
    font-weight: 600;
    line-height: 1.16;
    margin-bottom: 8px
}

.art h3 a:hover {
    color: var(--orange-deep)
}

.art p {
    font-size: 13.5px;
    color: var(--ink-soft)
}

.art .m {
    margin-top: 12px;
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 8px
}

.art .m .dotc,
.c-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-soft), var(--orange-deep));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px
}

.mini-tags.big {
    margin: 0 0 20px
}

.mini-tag {
    background: var(--cream);
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px
}

.filter-chip {
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13.5px;
    transition: .2s
}

.filter-chip:hover {
    border-color: var(--orange)
}

.filter-chip.on {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange)
}

/* ===== NUMBERS ===== */
.numbers {
    background: var(--ink);
    color: #fff;
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    overflow: hidden
}

.numbers::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--orange), transparent 68%);
    opacity: .45
}

.num-item {
    position: relative;
    z-index: 1
}

.num-item h3 {
    font-size: 44px;
    font-weight: 900;
    color: var(--orange-soft)
}

.num-item p {
    color: rgba(255, 255, 255, .72);
    font-size: 14px
}

/* ===== RECIPE CARD (home) ===== */
.recipe-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm)
}

.recipe-visual {
    position: relative;
    min-height: 320px
}

.recipe-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.recipe-visual .badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #fff;
    color: var(--orange-deep);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 30px;
    z-index: 2
}

.recipe-body {
    padding: 40px
}

.recipe-body h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 10px 0 12px
}

.recipe-body p {
    color: var(--ink-soft)
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--orange-deep);
    margin-top: 16px
}

/* ===== POST ===== */
.post {
    padding: 24px 0 10px
}

.post-head {
    margin-bottom: 20px
}

.post-head h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 900;
    margin: 12px 0
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 14px
}

.warning {
    background: #FFF3E2;
    border: 1px solid var(--orange-soft);
    border-left: 4px solid var(--orange);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 14.5px;
    color: var(--ink-2)
}

.post-cover {
    border-radius: 18px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: var(--shadow-sm)
}

.post-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover
}

.summary {
    background: var(--cream);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 24px 0
}

.summary h2 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--orange-deep);
    margin-bottom: 10px
}

.summary ul {
    margin-left: 18px
}

.summary li {
    margin-bottom: 6px
}

.toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 24px 0
}

.toc-title {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px
}

.toc ol {
    list-style: none
}

.toc li {
    margin: 5px 0
}

.toc .toc-l3 {
    margin-left: 18px;
    font-size: 14px
}

.toc a {
    color: var(--ink-2)
}

.toc a:hover {
    color: var(--orange-deep)
}

.post-body {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.8
}

.post-body h2 {
    font-family: 'Fraunces';
    font-size: 26px;
    font-weight: 700;
    margin: 32px 0 12px;
    scroll-margin-top: 80px
}

.post-body h3 {
    font-family: 'Fraunces';
    font-size: 21px;
    font-weight: 600;
    margin: 24px 0 10px;
    scroll-margin-top: 80px
}

.post-body p {
    margin: 14px 0
}

.post-body ul,
.post-body ol {
    margin: 14px 0 14px 24px
}

.post-body li {
    margin: 7px 0
}

.post-body img {
    border-radius: 14px;
    margin: 20px 0
}

.post-body blockquote {
    border-left: 3px solid var(--orange);
    padding-left: 18px;
    font-style: italic;
    color: var(--ink-soft);
    margin: 18px 0
}

.post-body a {
    color: var(--orange-deep);
    text-decoration: underline
}

.recipe-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 22px 0;
    padding: 20px;
    background: var(--cream);
    border-radius: 16px
}

.fact small {
    display: block;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft)
}

.fact b {
    font-family: 'Fraunces';
    font-size: 17px
}

.recipe-detail {
    margin: 30px 0
}

.recipe-cols {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
    margin-top: 6px
}

.recipe-cols h2 {
    font-family: 'Fraunces';
    font-size: 22px;
    margin-bottom: 12px
}

.ing-list {
    list-style: none
}

.ing-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px
}

.steps-list {
    counter-reset: step;
    list-style: none
}

.steps-list li {
    position: relative;
    padding: 12px 0 12px 44px;
    font-size: 15px;
    border-bottom: 1px solid var(--line)
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    font-family: 'Plus Jakarta Sans'
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0
}

.tag {
    background: var(--amber);
    color: var(--ink-soft);
    font-size: 13px;
    padding: 6px 13px;
    border-radius: 20px
}

/* ===== COMMENTS ===== */
.comments {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid var(--line)
}

.comments h2 {
    font-size: 24px;
    margin-bottom: 16px
}

.comment-list {
    list-style: none;
    margin: 18px 0
}

.comment {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.c-head {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 4px
}

.comment p {
    color: var(--ink-2)
}

.comment-form {
    background: var(--amber);
    border-radius: 16px;
    padding: 26px;
    margin-top: 24px
}

.comment-form h3 {
    font-size: 19px;
    margin-bottom: 4px
}

.comment-form .hint {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 16px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 14px
}

input,
textarea,
select {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    background: #fff
}

textarea {
    resize: vertical
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    transition: .2s
}

.btn-primary:hover {
    background: var(--orange-deep)
}

.notice {
    border-radius: 12px;
    padding: 12px 18px;
    margin: 14px 0;
    font-size: 14.5px
}

.notice.ok {
    background: #e4f6ea;
    color: #1c7a44;
    border: 1px solid #9fddb6
}

.notice.err {
    background: #fde8e8;
    color: #b23434;
    border: 1px solid #f0b4b4
}

/* ===== ABOUT / CONTACT / RESOURCES ===== */
.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
    align-items: center
}

.about-photo {
    border-radius: 20px;
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.about-page h1 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 900;
    margin: 12px 0 16px
}

.about-page p {
    color: var(--ink-soft);
    margin-bottom: 14px
}

.about-page .sign {
    font-family: 'Fraunces';
    font-style: italic;
    font-size: 22px;
    color: var(--orange-deep)
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 16px
}

.faq-item p {
    margin-top: 10px;
    color: var(--ink-soft)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 44px
}

.contact-info h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 900;
    margin: 12px 0 14px
}

.contact-info p {
    color: var(--ink-soft);
    margin-bottom: 20px
}

.contact-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm)
}

.res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.res-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    transition: .2s
}

.res-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm)
}

.res-icon {
    font-size: 38px
}

.res-card h3 {
    font-size: 17px;
    margin-bottom: 4px
}

.res-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 8px
}

.res-dl {
    color: var(--orange-deep);
    font-weight: 700;
    font-size: 13.5px
}

.search-form {
    display: flex;
    gap: 10px;
    margin-top: 16px
}

.search-form input {
    flex: 1
}

.search-form button {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.search-count {
    color: var(--ink-soft);
    margin-bottom: 20px
}

.legal h1 {
    font-size: 34px;
    margin-bottom: 20px
}

.legal h2 {
    font-size: 20px;
    margin: 24px 0 8px;
    font-family: 'Fraunces'
}

.legal p {
    color: var(--ink-2);
    margin-bottom: 10px
}

.empty {
    color: var(--ink-soft);
    padding: 30px 0;
    text-align: center
}

/* ===== CTA / FOOTER ===== */
.cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    border-radius: 24px;
    padding: 56px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow)
}

.cta h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    margin-bottom: 8px
}

.cta p {
    opacity: .94;
    max-width: 440px
}

.subscribe {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border-radius: 40px;
    min-width: 380px
}

.subscribe input {
    flex: 1;
    border: none;
    margin: 0;
    padding: 0 18px;
    background: transparent
}

.subscribe button {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 34px;
    font-weight: 700;
    cursor: pointer
}

.site-footer {
    background: var(--ink);
    color: #e9d9c6;
    margin-top: 50px;
    padding: 60px 0 28px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px
}

.foot-brand h3 {
    font-family: 'Fraunces';
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px
}

.foot-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.foot-logo img {
    display: block
}

.foot-logo span {
    font-family: 'Fraunces';
    color: #fff;
    font-size: 26px;
    font-weight: 900
}

.foot-logo span b {
    color: var(--orange-soft);
    font-style: italic;
    font-weight: 600
}

.foot-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px
}

.foot-social a {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(233, 217, 198, .82);
    transition: .2s
}

.foot-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff
}

.foot-brand h3 b {
    color: var(--orange-soft);
    font-style: italic;
    font-weight: 600
}

.foot-brand p {
    color: rgba(233, 217, 198, .7);
    font-size: 14px;
    max-width: 300px
}

.foot-grid h5 {
    color: #fff;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px
}

.foot-grid a {
    display: block;
    color: rgba(233, 217, 198, .72);
    font-size: 14px;
    padding: 5px 0
}

.foot-grid a:hover {
    color: var(--orange-soft)
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    color: rgba(233, 217, 198, .6);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px
}

/* ===== A11Y WIDGET ===== */
.a11y-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 26px;
    transition: .25s
}

.a11y-fab:hover {
    background: var(--orange-deep);
    transform: scale(1.05)
}

.a11y-panel {
    position: fixed;
    right: 22px;
    top: 74px;
    z-index: 200;
    width: 320px;
    max-width: calc(100vw - 44px);
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 22px;
    transform: translateY(16px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: .22s
}

.a11y-panel.open {
    transform: none;
    opacity: 1;
    pointer-events: auto
}

.a11y-panel h4 {
    font-family: 'Fraunces';
    font-size: 19px;
    margin-bottom: 4px
}

.a11y-panel .sub {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 16px
}

.a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.a11y-row:last-of-type {
    border-bottom: none
}

.a11y-row .lbl {
    font-weight: 600;
    font-size: 14px
}

.a11y-row .lbl small {
    display: block;
    font-weight: 400;
    color: var(--ink-soft);
    font-size: 11.5px
}

.switch {
    width: 48px;
    height: 28px;
    border-radius: 20px;
    background: #d8ccbe;
    position: relative;
    cursor: pointer;
    border: none;
    flex: none;
    transition: .2s
}

.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: .2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25)
}

.switch.on {
    background: var(--orange)
}

.switch.on::after {
    left: 23px
}

.seg {
    display: flex;
    gap: 6px
}

.seg button {
    width: 38px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: var(--ink-2)
}

.seg button.on {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange)
}

.a11y-reset {
    margin-top: 14px;
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink-2)
}

@media(max-width:960px) {

    .lead-grid,
    .recipe-card,
    .about-grid,
    .contact-grid,
    .cta {
        grid-template-columns: 1fr
    }

    .mag,
    .mag-wide {
        grid-template-columns: 1fr 1fr
    }

    .numbers,
    .foot-grid,
    .res-grid,
    .recipe-facts,
    .recipe-cols {
        grid-template-columns: 1fr 1fr
    }

    .mast-inner {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 14px 0
    }

    .mast-title h1 {
        font-size: clamp(26px, 7vw, 40px)
    }

    .brand-mark {
        width: 38px;
        height: 38px
    }
}

@media(max-width:720px) {
    .mast-left .nav-toggle {
        display: grid
    }

    .mast-title .edition,
    .mast-title .tag {
        display: none
    }

    .mast-title h1 {
        font-size: 26px
    }

    .brand {
        gap: 9px
    }

    .btn-sub {
        display: none
    }

    /* Menu déroulant piloté par le hamburger */
    .catnav .wrap {
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: auto;
        gap: 0;
        padding: 6px 0 12px;
        overflow: visible
    }

    .catnav.open .wrap {
        display: flex
    }

    .catnav a {
        padding: 13px 6px;
        border-bottom: 1px solid var(--line);
        font-size: 15px
    }

    .catnav a:last-child {
        border-bottom: none
    }

    .catnav a::after {
        display: none
    }

    .catnav a.active {
        color: var(--orange-deep)
    }

    .subscribe {
        min-width: 0
    }
}

@media(max-width:560px) {

    .mag,
    .mag-wide,
    .numbers,
    .foot-grid,
    .res-grid,
    .recipe-facts,
    .recipe-cols,
    .form-row {
        grid-template-columns: 1fr
    }

    .ribbon .r-links:first-child {
        display: none
    }

    /* Plus d'espace horizontal et titres de section qui passent à la ligne */
    .wrap {
        padding: 0 16px
    }

    /* En-tête compact pour que les icônes tiennent sans déborder */
    .mast-inner {
        padding: 16px 0 14px
    }

    .mast-left,
    .mast-right {
        gap: 6px
    }

    .mast-title h1 {
        font-size: 22px
    }

    .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 15px
    }

    .sec-title {
        flex-wrap: wrap;
        gap: 10px
    }

    .sec-title h2 {
        white-space: normal;
        font-size: 22px
    }

    .sec-title .rule {
        display: none
    }
}