/* Stockbury Christmas Fair */
:root {
  --pine: #17402f;
  --pine-deep: #0f2d21;
  --holly: #b3202d;
  --holly-dark: #8f1823;
  --gold: #c99a2e;
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #1f1b17;
  --muted: #5d564d;
  --line: #e7dcc7;
  --night: #0c1a33;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(23, 64, 47, .25);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--holly); text-underline-offset: 3px; }
a:hover { color: var(--holly-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; color: var(--pine); }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font: 800 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--holly); margin-bottom: .9rem; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px;
  font: 800 1rem/1 var(--body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--holly); color: #fff; }
.btn-red:hover { background: var(--holly-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--pine); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-deep); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); }
.brand img { width: 52px; height: auto; }
.brand span { font: 700 1.15rem/1.05 var(--display); }
.brand small { display: block; font: 700 .72rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--holly); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: .5em .8em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { background: var(--cream); color: var(--holly); }
.nav a[aria-current="page"] { color: var(--holly); box-shadow: inset 0 -2px 0 var(--holly); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: .7em 1.15em; font-size: .92rem; color: #fff; }
.nav .btn:hover { background: var(--holly-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--pine); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85em .5em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-radius: 999px; }
}

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--night) url("images/hero-night.jpg") center 35% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,38,.35) 0%, rgba(8,18,38,.55) 55%, rgba(8,18,38,.88) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 88px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7.5vw, 5.4rem); margin-bottom: .25em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; font-weight: 500; color: #f4d27a; }
.hero .when { font: 700 clamp(1.1rem, 2.4vw, 1.4rem)/1.4 var(--body); margin-bottom: .3em; }
.hero .where { color: rgba(255,255,255,.85); margin-bottom: 1.6em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .badge { display: inline-block; background: var(--gold); color: var(--night); font: 800 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: .55em .9em; border-radius: 999px; margin-bottom: 1.2rem; }
.logo-card { justify-self: center; width: min(340px, 72vw); filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.logo-card img { width: 100%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .actions { justify-content: center; }
  .logo-card { order: -1; width: 200px; }
}

/* Countdown */
.countdown { display: flex; gap: 10px; margin-top: 2rem; }
@media (max-width: 860px) { .countdown { justify-content: center; } }
.countdown div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 10px 0 8px; width: 74px; text-align: center; backdrop-filter: blur(4px); }
.countdown b { display: block; font: 700 1.9rem/1 var(--display); }
.countdown span { font: 700 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.countdown-done { margin-top: 2rem; font-weight: 700; color: #f4d27a; }

/* Highlights strip */
.highlights { background: var(--pine); color: #fff; }
.highlights ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlights li { display: flex; gap: 12px; align-items: center; }
.highlights svg { flex: none; width: 40px; height: 40px; color: #f4d27a; }
.highlights b { display: block; font: 700 1.1rem/1.2 var(--display); }
.highlights small { color: rgba(255,255,255,.75); font-size: .88rem; }
@media (max-width: 900px) { .highlights ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .highlights ul { grid-template-columns: 1fr; } }

/* Sections */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.callout { background: var(--paper); border-left: 4px solid var(--holly); padding: 16px 20px; border-radius: 0 10px 10px 0; margin-top: 1.4em; }
.callout p { margin: 0; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } }

/* Stalls on sale */
.onsale { background: var(--paper); border-block: 1px solid var(--line); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tags li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .6em 1.15em; font-weight: 700; color: var(--pine); }
.tags li.more { background: var(--holly); border-color: var(--holly); color: #fff; }

/* Stallholders (end of page, low-key) */
.stallholders { background: var(--paper); border-top: 1px solid var(--line); }
.stallholders h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.stallholders-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.stallholders .form-card { box-shadow: none; background: var(--cream); }
.mini-steps { padding-left: 1.3em; margin: 0; color: var(--muted); }
.mini-steps li { margin-bottom: .6em; padding-left: .2em; }
.mini-steps li::marker { color: var(--holly); font-weight: 800; }
@media (max-width: 860px) { .stallholders-grid { grid-template-columns: 1fr; } }

/* Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: var(--pine); }
label .opt { font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #d9ccb3; border-radius: 10px; padding: .75em .9em;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(179,32,45,.2); border-color: var(--holly); }
fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #d9ccb3; border-radius: 999px; padding: .6em 1.1em; cursor: pointer; margin: 0; color: var(--ink); }
.choice input { width: auto; accent-color: var(--holly); }
.choice label:has(input:checked) { border-color: var(--holly); background: #fdf1f1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
[data-stall-only][hidden] { display: none; }

/* Visit */
.visit .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.details { margin: 0 0 1.6em; }
.details dt { font: 800 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--holly); margin-top: 1.2em; }
.details dd { margin: .35em 0 0; font-size: 1.08rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 1.15rem/1.35 var(--display); color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--body); color: var(--holly); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Contact band */
.contact { background: var(--holly) url("images/baubles.webp") center / cover; position: relative; color: #fff; text-align: center; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(120, 14, 24, .86); }
.contact .narrow { position: relative; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.9); font-size: 1.12rem; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.6em; }
.contact .btn-light { background: #fff; color: var(--holly); }
.contact .btn-light:hover { background: var(--cream); color: var(--holly-dark); }

/* Footer */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.8); padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer h3 { color: #f4d27a; font: 800 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 84px; }
.footer-brand b { display: block; font: 700 1.25rem/1.15 var(--display); color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Simple pages */
.page-hero { background: var(--night) url("images/hero-night.jpg") center 30% / cover; color: #fff; padding: 56px 0 52px; position: relative; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,38,.45), rgba(8,18,38,.8)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0; }
.page-lead { color: rgba(255,255,255,.88); font-size: 1.15rem; margin: .6em 0 0; max-width: 640px; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.crumbs a { color: #f4d27a; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Multi-page additions */
.btn-outline { border-color: var(--pine); color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-link { text-align: center; margin: 36px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card svg { width: 40px; height: 40px; color: var(--holly); margin-bottom: 12px; }
.card h2 { font-size: 1.35rem; margin-bottom: .45em; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.about-flip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .about-flip { grid-template-columns: 1fr; } }
.seller-note { background: var(--paper); border-top: 1px solid var(--line); padding: 22px 0; text-align: center; font-size: .98rem; color: var(--muted); }
.seller-note p { margin: 0; }
.form-title { font-size: 1.5rem; }
.label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: var(--pine); }
.faq-more { margin-top: 28px; color: var(--muted); text-align: center; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 2em; }
