:root {
    --cream: #fff6e8;
    --paper: #fffaf2;
    --pumpkin: #ef8b13;
    --pumpkin-dark: #c96708;
    --rust: #9e451c;
    --cranberry: #7f2e24;
    --brown: #4a2d1f;
    --ink: #1f2925;
    --sage: #6e765b;
    --gold: #d4a23d;
    --border: #ead4b9;
    --shadow: 0 18px 45px rgba(74, 45, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 4%, rgba(239,139,19,.12), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(158,69,28,.08), transparent 22rem),
        var(--cream);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(255,246,232,.94);
    border-bottom: 1px solid rgba(158,69,28,.12);
}
.nav {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 24px;
}
.wordmark { text-decoration: none; font-weight: 700; letter-spacing: .02em; font-size: 1.3rem; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .96rem; }
.nav-links .order-link { background: var(--ink); color: white; padding: 10px 16px; border-radius: 999px; }

.hero {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 56px;
    padding: 72px 0 58px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--rust); }
h1 { font-size: clamp(3rem, 7vw, 6.3rem); line-height: .92; margin: 12px 0 20px; color: var(--brown); letter-spacing: -.045em; }
.lede { font-size: 1.22rem; max-width: 680px; color: #51483f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pumpkin); color: #161d1a; box-shadow: 0 8px 18px rgba(239,139,19,.25); }
.btn-secondary { border-color: var(--border); background: rgba(255,255,255,.55); }

.hero-art {
    min-height: 500px;
    border-radius: 44% 56% 51% 49% / 48% 43% 57% 52%;
    background: linear-gradient(145deg, #f4a43a, #c86813);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-art::before, .hero-art::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255,255,255,.22);
    border-radius: 50%;
}
.hero-art::before { width: 520px; height: 520px; left: -190px; top: -210px; }
.hero-art::after { width: 340px; height: 340px; right: -100px; bottom: -115px; }
.logo-card {
    width: min(74%, 360px);
    background: rgba(255,250,242,.96);
    padding: 18px;
    border-radius: 50%;
    box-shadow: 0 24px 55px rgba(74,45,31,.22);
    position: relative;
    z-index: 2;
}

.section { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; color: var(--brown); margin: 6px 0 14px; }
.section-intro { max-width: 720px; color: #61564b; }

.product-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; margin-top: 34px; }
.product-card, .order-card, .story-card, .fundraiser-card {
    background: rgba(255,250,242,.92);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.product-card { padding: 34px; position: relative; overflow: hidden; }
.product-card::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(239,139,19,.12);
    right: -70px; bottom: -90px;
}
.badge { display: inline-block; background: #fbe1bd; color: var(--rust); padding: 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.product-card h3 { font-size: 2rem; margin: 16px 0 8px; color: var(--brown); }
.price { font-size: 2.2rem; font-weight: 700; color: var(--rust); margin: 18px 0 4px; }
.price-note { font-size: .92rem; color: #6c625a; }

.order-card { padding: 30px; }
.order-card h3 { margin-top: 0; color: var(--brown); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea {
    width: 100%;
    border: 1px solid #d9c2a7;
    border-radius: 10px;
    padding: 12px 13px;
    background: #fffdf9;
    color: var(--ink);
}
textarea { resize: vertical; min-height: 92px; }
.quantity-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: end; }
.order-summary { margin: 20px 0; padding: 16px; border-radius: 14px; background: #f7ead8; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; }
.summary-line.total { font-weight: 700; font-size: 1.12rem; border-top: 1px solid #dfc6a5; margin-top: 8px; padding-top: 8px; }
.smallprint { font-size: .82rem; color: #6f655d; }

.story-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.story-card, .fundraiser-card { padding: 34px; }
.story-card { background: var(--ink); color: #fff9ef; border-color: var(--ink); }
.story-card h2 { color: white; }
.fundraiser-card { background: linear-gradient(145deg, #fffaf2, #f6dfc0); }
.fundraiser-card strong { color: var(--rust); }

.footer { margin-top: 40px; background: #1f2925; color: #f8efe4; }
.footer-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer small { color: #d6cbbd; }

.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; }
.notice.success { background: #e6f2e5; border: 1px solid #aac7a8; }
.notice.error { background: #f7e0dc; border: 1px solid #d9aaa2; }
.hp-field { position: absolute; left: -9999px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: white; }
.admin-table th, .admin-table td { border: 1px solid #ddd; padding: 9px; text-align: left; vertical-align: top; }
.admin-table th { background: #f3eadf; }
.admin-wrap { width: min(1280px, calc(100% - 30px)); margin: 30px auto; }

@media (max-width: 850px) {
    .hero, .product-grid, .story-wrap { grid-template-columns: 1fr; }
    .hero { padding-top: 44px; }
    .hero-art { min-height: 380px; }
    .nav-links a:not(.order-link) { display: none; }
}

@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .quantity-row { grid-template-columns: 1fr; }
    h1 { font-size: 3.35rem; }
    .section { padding: 54px 0; }
}
