:root {
    --ink: #26221d;
    --muted: #746c62;
    --paper: #fbf8f1;
    --cream: #f1eadc;
    --line: #ddd3c3;
    --rust: #a84f2a;
    --rust-dark: #81391d;
    --white: #fffdf8;
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    color: white;
    background: var(--ink);
    border-radius: 4px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(168, 79, 42, .45);
    outline-offset: 3px;
}

.hidden {
    display: none !important;
}

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

.site-header {
    height: 82px;
    padding: 0 clamp(22px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 241, .94);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.brand {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 41px;
    height: 41px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 24px "DM Serif Display", serif;
    overflow: hidden;
    background: var(--paper);
    transition: color .25s ease, background .25s ease;
}

.brand-mark>span {
    display: block;
    transform-origin: 50% 60%;
}

.brand:hover .brand-mark {
    color: var(--paper);
    background: var(--rust);
    border-color: var(--rust);
}

.brand:hover .brand-mark>span {
    animation: p-flourish .65s cubic-bezier(.2, .8, .25, 1);
}

@keyframes p-flourish {
    0% {
        transform: rotate(0) scale(1);
    }

    35% {
        transform: rotate(-14deg) scale(1.15);
    }

    70% {
        transform: rotate(8deg) scale(.96);
    }

    100% {
        transform: rotate(0) scale(1);
    }
}

.brand-mark.small {
    width: 34px;
    height: 34px;
    font-size: 19px;
    flex: 0 0 auto;
}

.brand strong {
    display: block;
    font: 23px/1 "DM Serif Display", serif;
    letter-spacing: .02em;
}

.brand small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-dark {
    color: white;
    background: var(--ink);
}

.button-dark:hover {
    background: #000;
}

.button-warm {
    color: white;
    background: var(--rust);
    padding: 13px 22px;
}

.button-warm:hover {
    background: var(--rust-dark);
}

.button-quiet {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
}

.button-danger {
    color: #8a261f;
    background: #fff4f2;
    border: 1px solid #e8c5c0;
}

.button.full {
    width: 100%;
}

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(400px, 1.35fr);
    background: var(--cream);
    overflow: hidden;
}

.hero-copy {
    align-self: center;
    padding: 70px clamp(28px, 6vw, 100px);
    max-width: 650px;
    z-index: 1;
}

.eyebrow {
    color: var(--rust);
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 17px;
}

h1,
h2,
h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(52px, 6vw, 82px);
    line-height: .98;
    margin: 0 0 24px;
    letter-spacing: -.025em;
}

.hero-copy>p:not(.eyebrow) {
    color: var(--muted);
    max-width: 530px;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 30px;
}

.hero-art {
    min-height: 570px;
    background: linear-gradient(90deg, var(--cream) 0%, transparent 22%), url("/hero-house.png") center/cover no-repeat;
    filter: sepia(.16) contrast(.93);
}

.cookbook {
    padding: 88px clamp(22px, 6vw, 92px) 110px;
    max-width: 1500px;
    margin: auto;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(36px, 4vw, 54px);
    margin: 0;
}

#recipeCount {
    color: var(--muted);
    white-space: nowrap;
}

.filters {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search {
    position: relative;
    flex: 1 1 310px;
    max-width: 480px;
}

.search span[aria-hidden] {
    position: absolute;
    left: 16px;
    top: 9px;
    font-size: 24px;
    color: var(--muted);
}

.search input {
    width: 100%;
    padding: 13px 16px 13px 47px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    outline: none;
}

.search input:focus {
    border-color: var(--rust);
    box-shadow: 0 0 0 3px rgba(168, 79, 42, .1);
}

.category-list {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.chip {
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    padding: 9px 13px;
}

.chip:hover,
.chip.active {
    color: var(--ink);
    background: var(--cream);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.recipe-card {
    text-align: left;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0;
    min-height: 360px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .2s ease;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(52, 43, 31, .09);
    border-color: #c8bba7;
}

.card-photo {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream);
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.recipe-card:hover .card-photo img {
    transform: scale(1.035);
}

.card-photo-placeholder {
    display: grid;
    place-items: center;
    color: rgba(129, 57, 29, .6);
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .75), transparent 27%),
        linear-gradient(135deg, #eadcc6, #f7f0e4);
    font: italic 19px "DM Serif Display", serif;
}

.card-body {
    padding: 24px;
    min-height: 210px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card-category {
    color: var(--rust);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
}

.recipe-card h3 {
    font-size: 28px;
    line-height: 1.08;
    margin: 14px 0 11px;
}

.recipe-card .story {
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 17px;
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}

.empty>span {
    font-size: 48px;
}

.empty h3 {
    color: var(--ink);
    font-size: 28px;
    margin: 10px 0 3px;
}

footer {
    border-top: 1px solid var(--line);
    padding: 32px clamp(22px, 6vw, 92px);
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
}

.dialog {
    width: min(920px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 0;
    border-radius: 8px;
    padding: 42px;
    background: var(--paper);
    box-shadow: 0 28px 100px rgba(0, 0, 0, .25);
}

.dialog::backdrop {
    background: rgba(30, 25, 20, .68);
    backdrop-filter: blur(3px);
}

.small-dialog {
    width: min(450px, calc(100% - 32px));
}

.dialog-close {
    position: absolute;
    right: 17px;
    top: 13px;
    border: 0;
    background: transparent;
    font-size: 29px;
    color: var(--muted);
}

.dialog h2 {
    font-size: 39px;
    margin: 0 0 10px;
}

.muted {
    color: var(--muted);
    line-height: 1.55;
}

form label {
    display: grid;
    gap: 7px;
    font-weight: 600;
    font-size: 13px;
}

form input,
form textarea,
form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px;
    background: var(--white);
    outline: none;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: var(--rust);
    box-shadow: 0 0 0 3px rgba(168, 79, 42, .1);
}

form textarea {
    resize: vertical;
    line-height: 1.5;
}

form label small {
    color: var(--muted);
    font-weight: 400;
}

.photo-picker {
    min-height: 190px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px dashed #c8b99f;
    border-radius: 6px;
    background: var(--cream);
}

.photo-picker input {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}

.photo-prompt {
    text-align: center;
    padding: 30px;
    color: var(--muted);
    pointer-events: none;
}

.photo-prompt::before {
    content: "＋";
    display: block;
    color: var(--rust);
    font-size: 36px;
    line-height: 1;
    margin-bottom: 9px;
}

.photo-prompt strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    margin-bottom: 4px;
}

.photo-picker img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    justify-self: start;
    border: 0;
    padding: 4px 0;
    color: #8a261f;
    background: transparent;
    font-size: 13px;
}

#loginForm {
    display: grid;
    gap: 16px;
    margin-top: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}

.form-error {
    color: #9e2820;
    background: #fff0ed;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.recipe-detail-header {
    padding-right: 30px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 27px;
}

.detail-photo {
    width: calc(100% + 84px);
    max-width: none;
    height: min(42vh, 430px);
    margin: -42px -42px 34px;
    object-fit: cover;
}

.recipe-detail-header h2 {
    font-size: clamp(42px, 7vw, 65px);
    line-height: 1;
    margin: 10px 0 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
}

.detail-story {
    font: 21px/1.55 "DM Serif Display", serif;
    color: #554d43;
    margin: 29px 0;
    padding-left: 20px;
    border-left: 3px solid var(--rust);
}

.recipe-columns {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    margin-top: 32px;
}

.recipe-columns h3 {
    font-size: 26px;
    margin: 0 0 17px;
}

.recipe-columns ul,
.recipe-columns ol {
    padding-left: 21px;
    line-height: 1.6;
}

.recipe-columns li {
    padding: 5px 0;
}

.detail-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 20px);
    background: var(--ink);
    color: white;
    padding: 12px 18px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    z-index: 50;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

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

    .hero-copy {
        max-width: none;
        padding-bottom: 38px;
    }

    .hero-art {
        min-height: 340px;
        background-image: linear-gradient(180deg, var(--cream), transparent 30%), url("/hero-house.png");
    }

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

@media (max-width: 620px) {
    .site-header {
        min-height: 68px;
        height: auto;
        padding: 10px 14px;
    }

    .brand small {
        display: none;
    }

    .brand strong {
        font-size: 20px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-actions .button {
        min-height: 44px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        padding: 58px 24px 35px;
    }

    h1 {
        font-size: 51px;
    }

    .hero-art {
        min-height: 245px;
    }

    .cookbook {
        padding: 65px 18px 80px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .filters {
        align-items: stretch;
        gap: 13px;
    }

    .search {
        flex-basis: 100%;
    }

    .search input {
        min-height: 48px;
        font-size: 16px;
    }

    .category-list {
        width: calc(100% + 36px);
        margin-inline: -18px;
        padding: 0 18px 7px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .category-list::-webkit-scrollbar {
        display: none;
    }

    .chip {
        min-height: 44px;
        white-space: nowrap;
        scroll-snap-align: start;
    }

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

    .recipe-card {
        min-height: 0;
    }

    .card-body {
        min-height: 200px;
        padding: 22px;
    }

    .dialog {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 20px);
        margin: auto 0 0;
        padding: 34px 20px calc(24px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
    }

    .dialog h2 {
        font-size: 34px;
    }

    .detail-photo {
        width: calc(100% + 40px);
        height: 260px;
        margin: -34px -20px 28px;
        border-radius: 18px 18px 0 0;
    }

    .dialog-close {
        width: 44px;
        height: 44px;
        right: 8px;
        top: 7px;
        z-index: 3;
        border-radius: 50%;
        background: rgba(251, 248, 241, .9);
    }

    .form-grid,
    .recipe-columns {
        grid-template-columns: 1fr;
    }

    .form-grid .wide {
        grid-column: auto;
    }

    .recipe-columns {
        gap: 20px;
    }

    form input,
    form textarea,
    form select {
        min-height: 48px;
        font-size: 16px;
    }

    .form-actions {
        position: sticky;
        bottom: 0;
        margin: 25px -20px -24px;
        padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
        background: rgba(251, 248, 241, .96);
        border-top: 1px solid var(--line);
    }

    .form-actions .button {
        min-height: 46px;
        flex: 1;
    }

    .toast {
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: calc(100% - 32px);
        text-align: center;
    }
}

@media (hover: none) {

    .button:hover,
    .recipe-card:hover {
        transform: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Original Puckett family-site design language */
:root {
    --ink: #2a2826;
    --muted: #5a5650;
    --paper: #ffffff;
    --cream: #f3f3f3;
    --line: rgba(42, 40, 38, .12);
    --rust: #8b0000;
    --rust-dark: #6f0000;
    --leaf: #2f5d4a;
    --leaf-soft: #4a7a64;
    --white: #fffdf8;
    font-family: "Nunito", system-ui, sans-serif;
    background: #fff;
}

body { background: #fff; }
html,
body { overflow-x: clip; }
h1, h2, h3 { font-family: "Caveat", cursive; }

.topnav.site-header {
    min-height: 88px;
    height: auto;
    padding: 12px 20px;
    border: 0;
    background: rgba(255, 255, 255, .94);
}

.nav-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
}

.nav-link {
    flex: 1 1 0;
    color: var(--ink);
    text-align: center;
    font: 600 clamp(18px, 1.6vw, 22px)/1 "Caveat", cursive;
    transition: color .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rust);
    transform: translateY(-1px);
}

.brand {
    flex: 1.5 1 0;
    min-width: max-content;
    flex-direction: column;
    gap: 1px;
    text-align: center;
    line-height: 1;
}

.brand-title {
    color: var(--rust);
    white-space: nowrap;
    font: 700 clamp(30px, 3.2vw, 42px)/.9 "Caveat", cursive;
}

.brand-sub {
    color: var(--muted);
    white-space: nowrap;
    font: 500 15px/1.1 "Caveat", cursive;
    letter-spacing: .04em;
}

.brand-p {
    display: inline-block;
    transform-origin: 50% 70%;
}

.brand:hover .brand-p {
    animation: p-flourish .65s cubic-bezier(.2, .8, .25, 1);
}

.header-actions {
    flex: 1 1 0;
    justify-content: center;
}

.button {
    border-radius: 999px;
    font-family: "Nunito", sans-serif;
    box-shadow: none;
}

.button-dark,
.button-warm {
    color: white;
    background: var(--leaf);
}

.button-dark:hover,
.button-warm:hover {
    background: #244b3b;
}

.button-quiet {
    background: transparent;
    border-color: var(--line);
}

.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: clamp(16px, 3vw, 32px) 20px 54px;
    background: #fff;
    overflow: visible;
    animation: fadeIn .9s ease both;
}

.hero-frame {
    width: min(980px, 94vw);
    margin: 0 auto;
    animation: riseIn .85s ease both;
}

.hero-frame img {
    width: 100%;
    height: auto;
    filter: contrast(1.05);
}

.hero-copy {
    align-self: auto;
    max-width: 520px;
    padding: 0;
    text-align: center;
    animation: riseIn 1s .12s ease both;
}

.hero-line {
    margin: 0 0 20px;
    color: var(--muted);
    font: 500 clamp(24px, 3vw, 31px)/1.25 "Caveat", cursive;
}

.cookbook {
    width: min(1100px, calc(100% - 32px));
    max-width: none;
    padding: 54px 0 90px;
}

.section-heading {
    align-items: end;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font: 600 clamp(44px, 6vw, 61px)/.95 "Caveat", cursive;
}

.section-intro {
    max-width: 610px;
    margin: 9px 0 0;
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--rust);
    font-family: "Nunito", sans-serif;
}

.filters {
    padding: 22px 0;
    margin-bottom: 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.search input {
    background: #fff;
    border-radius: 3px;
}

.chip {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 3px 9px 9px 3px;
    color: var(--muted);
    font-weight: 600;
}

.chip:hover,
.chip.active {
    color: #fff;
    background: var(--leaf);
}

.recipe-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.recipe-card {
    min-height: 370px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fffdf8;
    box-shadow: 0 18px 50px rgba(42, 40, 38, .1);
}

.recipe-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px dashed rgba(42, 40, 38, .12);
    pointer-events: none;
}

.recipe-card:hover {
    transform: translateY(-4px) rotate(-.4deg);
    box-shadow: 0 18px 50px rgba(42, 40, 38, .14);
}

.card-photo {
    aspect-ratio: auto;
    height: 168px;
    background: var(--cream);
}

.card-photo-placeholder {
    background: repeating-linear-gradient(-12deg, transparent, transparent 10px, rgba(42, 40, 38, .03) 10px, rgba(42, 40, 38, .03) 11px), var(--cream);
    color: var(--muted);
    font: 600 25px "Caveat", cursive;
}

.card-body {
    min-height: 200px;
    padding: 20px 22px 24px;
}

.recipe-card h3 {
    margin: 10px 0 7px;
    font: 600 32px/1 "Caveat", cursive;
}

.card-category {
    color: var(--rust);
}

.recipe-card .story {
    margin-bottom: 17px;
}

.card-meta {
    padding-top: 13px;
}

footer {
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    background: #fff;
    text-align: center;
}

footer p {
    margin: 0;
}

.footer-script {
    color: var(--rust);
    font: 700 30px "Caveat", cursive;
}

.dialog {
    border-radius: 0;
    background: #fffdf8;
    box-shadow: 0 18px 50px rgba(42, 40, 38, .22);
}

.dialog::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(42, 40, 38, .12);
    pointer-events: none;
}

.dialog > * {
    position: relative;
    z-index: 1;
}

.dialog h2 {
    font-family: "Caveat", cursive;
    font-weight: 600;
}

.detail-story {
    font-family: "Fraunces", Georgia, serif;
    border-color: var(--leaf);
}

.recipe-columns h3 {
    font-family: "Caveat", cursive;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .topnav.site-header {
        min-height: 82px;
        padding: 10px 16px;
    }

    .nav-link {
        display: none;
    }

    .nav-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        position: relative;
    }

    .brand {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
        padding-right: 112px;
    }

    .brand-title {
        font-size: clamp(27px, 7vw, 36px);
    }

    .brand-sub {
        font-size: 13px;
    }

    .header-actions {
        position: fixed;
        top: 16px;
        right: 12px;
        z-index: 45;
        min-width: 0;
        transform: none;
    }

    .hero {
        grid-template-columns: none;
    }

    .hero-frame {
        width: min(760px, 96vw);
    }
}

@media (max-width: 620px) {
    .topnav.site-header {
        min-height: 74px;
        padding: 9px 12px;
    }

    .brand-title {
        font-size: clamp(23px, 7vw, 27px);
    }

    .brand-sub {
        font-size: 12px;
    }

    .header-actions .button {
        min-height: 42px;
        max-width: 104px;
        padding: 7px 9px;
        font-size: 11px;
        line-height: 1.1;
    }

    .hero {
        padding: 8px 10px 42px;
        gap: 18px;
    }

    .hero-copy {
        padding: 0 14px;
    }

    .hero-line {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .cookbook {
        width: calc(100% - 32px);
        padding-top: 45px;
    }

    .section-heading h2 {
        font-size: 48px;
    }

    .section-heading {
        width: 100%;
        align-items: flex-start;
    }

    .section-heading > div {
        width: 100%;
    }

    .section-intro {
        font-size: 14px;
    }

    .card-photo {
        height: 190px;
    }

    .dialog {
        border-radius: 0;
    }
}
