:root {
    --bg: #FBF7F1;
    --ink: #1F2937;
    --accent: #2563EB;
    --muted: #6B7280;
    --line: #E5E7EB;
    --soft: #F3F4F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Onest", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: "Lora", serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.site-header nav {
    display: flex;
    gap: 1.25rem;
}

.site-header nav a {
    font-size: 0.9rem;
    color: var(--ink);
    text-decoration: none;
    padding: 0.5rem 0;
}

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

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kicker {
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: "Lora", serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 600;
    max-width: 12ch;
    margin-bottom: 1.5rem;
}

.lede {
    font-size: 1.1rem;
    max-width: 38ch;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-meta span {
    background: var(--paper);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.85rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 150ms ease-out, opacity 150ms ease-out;
    min-height: 44px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.hours {
    padding: 3rem 1.5rem;
    background: var(--ink);
    color: var(--bg);
}

.hours-head h2, .breads h2, .preorder h2 {
    font-family: "Lora", serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.hours-head p {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 40ch;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-day span {
    color: var(--bg);
    opacity: 0.8;
}

.hours-day strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.hours-note {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breads {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    margin-bottom: 2rem;
}

.section-head p {
    color: var(--muted);
    max-width: 45ch;
}

.bread-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.bread {
    border: 1px solid var(--line);
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: var(--paper);
}

.bread-number {
    font-family: "Lora", serif;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.bread h3 {
    font-family: "Lora", serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bread p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.bread-price {
    font-weight: 500;
    font-size: 1rem;
}

.breadcrumb {
    margin-top: 2rem;
    color: var(--muted);
    font-style: italic;
}

.preorder {
    padding: 4rem 1.5rem;
    background: var(--paper);
}

.preorder h2 {
    text-align: left;
}

.preorder p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    max-width: 45ch;
}

.preorder-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preorder-form label {
    font-size: 0.9rem;
    font-weight: 500;
}

.input, .preorder-form input, .preorder-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.375rem;
    background: var(--bg);
    font-family: inherit;
    min-height: 44px;
    box-sizing: border-box;
}

.preorder-form input, .preorder-form select {
    width: 100%;
}

.preorder-form input:focus, .preorder-form select:focus {
    border-color: var(--accent);
}

.preorder-form button {
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.9rem;
}

.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-footer p, .site-footer address {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: normal;
}

.footer-fineprint {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 3rem 8rem;
    }
    .hero h1 {
        font-size: 6rem;
    }
    .hours-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 3rem;
    }
    .bread-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .preorder-form {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    .preorder-form label, .preorder-form input, .preorder-form select {
        flex-basis: 100%;
    }
    .preorder-form button {
        flex-basis: auto;
    }
}
