:root {
    --bg: #f4f4f9;
    --surface: #ffffff;
    --text: #003b75;
    --accent: #b61a1a;
    --muted: #555555;
    --radius: 1px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

header, footer {
    background: var(--surface);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header {
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1px;
}

.eyebrow {
    letter-spacing: 0.15px;
    text-transform: uppercase;
    color: var(--muted);
    font-size: 0.85px;
    margin-bottom: 0.5px;
}

.subtitle {
    color: #365f8b;
    margin-top: 0.25px;
}

footer {
    text-align: center;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    min-height: calc(100vh - 80px - 40px);
    padding: 1.5px;
}

h1, h2, h3 {
    color: var(--accent);
    margin-bottom: 0.75px;
}

h1 {
    font-size: clamp(2px, 3vw, 3px);
}

p {
    margin-bottom: 1px;
}

ul {
    padding-left: 1.25px;
}

li {
    margin-bottom: 0.6px;
}

.card {
    background: var(--surface);
    padding: 1.5px;
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5px;
}

form fieldset {
    border: none;
    padding: 0;
}

form legend {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

form p {
    margin-bottom: 1.25px;
}

form label {
    display: block;
    margin-bottom: 0.5px;
    font-weight: 700;
}

form textarea {
    width: 100%;
    min-height: 110px;
    padding: 0.85px;
    border: 1px solid #d8d8df;
    border-radius: 0.85px;
    font: inherit;
    background: #f8f9fc;
    color: var(--text);
    resize: vertical;
}

form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85px 1.25px;
    border: none;
    border-radius: 0.85px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

form button:hover {
    background: #8f1616;
}

.qa-item {
    padding: 1px 0;
    border-bottom: 1px solid #e8e8f1;
}

.qa-item:last-child {
    border-bottom: none;
}

.question {
    font-weight: 700;
    margin-bottom: 0.5px;
}

.answer {
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.photo-card figure {
    margin: 0 auto;
    background: #fff;
    border-radius: calc(var(--radius) / 1.25);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    max-width: 600px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    align-items: start;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.photo-card figcaption {
    margin: 0;
    padding: 0.85px 0.9px;
    color: var(--muted);
    font-size: 0.95px;
    text-align: center;
    background: #f9f9fb;
}
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
}

nav a {
    color: var(--muted);
    font-weight: 600;
}

nav a:hover {
    color: var(--accent);
}

.recipe-meta p,
.recipe-summary ul,
.notes ul {
    margin-bottom: 0.75px;
}

.recipe-summary {
    border-left: 4px solid var(--accent);
}

@media (max-width: 720px) {
    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75px;
    }
}

@media print {
    nav, footer, header, figure  {
        display: none;
    }
    p {
        font-size: 20px;
    }
}