/* Cedar Oven — warm artisan bakery, one page */

:root {
    --cream: #FBF5EA;
    --cream-deep: #F5E9D5;
    --wheat: #E8D5B3;
    --wheat-soft: #F1E3C8;
    --brown: #35251A;
    --brown-soft: #5C4635;
    --brown-deep: #2A1C13;
    --terracotta: #A0441F;
    --terracotta-soft: #C4663A;
    --amber: #C98A4B;
    --card: #FFFDF8;
    --line: rgba(53, 37, 26, 0.14);
    --shadow: 0 18px 40px -28px rgba(53, 37, 26, 0.5);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--brown);
    background-color: var(--cream);
    background-image:
        radial-gradient(70rem 40rem at 50% -12rem, rgba(232, 213, 179, 0.75), transparent 70%),
        radial-gradient(40rem 30rem at 100% 22rem, rgba(245, 233, 213, 0.9), transparent 70%),
        radial-gradient(38rem 30rem at 0% 68rem, rgba(241, 227, 200, 0.7), transparent 72%);
    background-repeat: no-repeat;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--terracotta);
}

a:focus-visible,
a:focus {
    outline: 3px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 10;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brown-deep);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.18s ease;
}

.skip-link:focus {
    top: 12px;
}

.page {
    overflow-x: hidden;
}

/* ---------- Shared type ---------- */

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

.section-title {
    margin: 0 0 22px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 5.6vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--brown);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: clamp(44px, 9vw, 86px) 22px clamp(44px, 8vw, 88px);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: min(220px, 60%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
    opacity: 0.5;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-mark {
    width: clamp(104px, 24vw, 150px);
    margin: 0 auto clamp(20px, 4vw, 30px);
    filter: drop-shadow(0 12px 22px rgba(53, 37, 26, 0.12));
}

.hero-mark svg {
    display: block;
    width: 100%;
    height: auto;
}

.hero .eyebrow {
    margin-bottom: 14px;
}

.hero-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(46px, 13vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--brown);
}

.hero-tagline {
    margin: clamp(16px, 3vw, 22px) auto 0;
    max-width: 24ch;
    font-family: var(--serif);
    font-size: clamp(19px, 3.2vw, 24px);
    line-height: 1.4;
    color: var(--brown-soft);
}

.hero-note {
    margin: clamp(10px, 2vw, 14px) auto 0;
    max-width: 30ch;
    font-family: var(--serif);
    font-size: clamp(15px, 2.4vw, 17px);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--brown-soft);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: clamp(24px, 4.5vw, 34px) 0 0;
    padding: 10px 20px 10px 16px;
    border: 1px solid rgba(160, 68, 31, 0.28);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 10px 24px -18px rgba(53, 37, 26, 0.7);
    color: var(--brown);
    font-size: clamp(14px, 2.4vw, 16px);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.badge-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--terracotta);
}

.hero-badge-note {
    margin: clamp(9px, 1.8vw, 12px) 0 0;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--serif);
    font-size: clamp(13.5px, 2.1vw, 15px);
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--brown-soft);
}

/* ---------- Sections ---------- */

.section {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(48px, 9vw, 92px) 22px;
}

/* About */

.about {
    max-width: 760px;
}

.about-text {
    margin: 0;
    font-size: clamp(17.5px, 2.5vw, 21px);
    line-height: 1.72;
    color: var(--brown-soft);
}

/* Products */

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 22px);
    padding: clamp(22px, 4vw, 30px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.85);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-fig {
    flex: 0 0 auto;
    width: clamp(64px, 16vw, 78px);
    height: clamp(64px, 16vw, 78px);
}

.product-fig svg {
    display: block;
    width: 100%;
    height: auto;
}

.product-name {
    margin: 2px 0 8px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(22px, 4vw, 26px);
    line-height: 1.2;
    color: var(--brown);
}

.product-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--brown-soft);
}

/* Hours */

.hours {
    padding-top: 0;
}

.hours-card {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 32px);
    padding: clamp(26px, 5vw, 42px);
    border-radius: 24px;
    background: linear-gradient(140deg, var(--cream-deep), #FBF1DF 65%);
    border: 1px solid rgba(160, 68, 31, 0.18);
    box-shadow: var(--shadow);
}

.hours-fig {
    flex: 0 0 auto;
    width: clamp(58px, 14vw, 72px);
}

.hours-fig svg {
    display: block;
    width: 100%;
    height: auto;
}

.hours-body .eyebrow {
    margin-bottom: 8px;
}

.hours-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 4.6vw, 32px);
    line-height: 1.15;
    color: var(--brown);
}

.hours-time {
    margin: 6px 0 0;
    font-family: var(--serif);
    font-size: clamp(30px, 7vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--terracotta);
}

.hours-note {
    margin: 12px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--brown-soft);
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--brown-deep);
    color: #F6E7CE;
}

.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 64px) 22px;
    text-align: center;
}

.footer-brand {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(24px, 5vw, 30px);
    line-height: 1.2;
    color: #FBF1DF;
}

.footer-note {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(246, 231, 206, 0.82);
}

.footer-contact {
    margin: 20px 0 0;
}

.footer-mail {
    display: inline-block;
    font-size: clamp(16px, 2.6vw, 18px);
    font-weight: 600;
    color: #FBF1DF;
    text-decoration: none;
    border-bottom: 1px solid rgba(251, 241, 223, 0.55);
    padding-bottom: 2px;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-mail:hover {
    color: #F0C89A;
    border-color: #F0C89A;
}

.footer-mail:focus-visible {
    outline: 3px solid #F0C89A;
    outline-offset: 4px;
}

/* ---------- Larger screens ---------- */

@media (min-width: 700px) {
    body {
        font-size: 18px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .product-card {
        flex-direction: column;
        gap: 18px;
    }

    .product-fig {
        width: 84px;
        height: 84px;
    }

    .hours-card {
        justify-content: flex-start;
    }
}

@media (min-width: 700px) {
    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 26px 44px -30px rgba(53, 37, 26, 0.6);
    }
}

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

    .product-card,
    .footer-mail,
    .skip-link {
        transition: none;
    }
}
