/* ==========================================================================
   C&C Seelig — Stylesheet
   All design tokens live in :root below. Change a color, font, or radius
   here and it updates everywhere — no build step, no other files to touch.
   ========================================================================== */

:root {
  /* Palette */
  --cream: #F5EFE1;
  --cream-dark: #EBE2CC;
  --linen: #FBF8F1;
  --forest: #2F4A3C;
  --forest-dark: #1F3129;
  --berry: #8C2F39;
  --berry-dark: #6E2129;
  --gold: #C98A3B;
  --gold-light: #E4B364;
  --ink: #2B2620;
  --ink-soft: #5B5245;
  --blush: #E8B4B8;
  --success: #3E6B4F;
  --error: #A23B3B;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(43,38,32,0.12);
  --shadow-md: 0 6px 20px rgba(43,38,32,0.14);
  --shadow-lg: 0 18px 40px rgba(43,38,32,0.18);
  --max-width: 1120px;
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ---------- Typography ---------- */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--berry);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.lede { font-size: 1.1rem; max-width: 60ch; }
.text-link { color: var(--berry); font-weight: 700; border-bottom: 1.5px solid var(--gold); }
.text-link:hover { color: var(--berry-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-space); scroll-margin-top: 76px; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--forest); color: var(--linen); }
.section-dark h2, .section-dark .eyebrow { color: var(--linen); }
.section-dark .eyebrow::before { background: var(--gold-light); }
.section-dark p { color: var(--cream-dark); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 0.85rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: clamp(1.1rem, 3vw, 1.75rem); }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.actions--center { justify-content: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--forest-dark); color: var(--linen);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 225, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--cream-dark); }
.nav { display: flex; align-items: center; gap: 1.25rem; padding-block: 0.85rem; }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; min-width: 0; }
.nav__wordmark {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: clamp(0.95rem, 3.6vw, 1.25rem); color: var(--forest-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav__list { display: none; align-items: center; gap: 1.6rem; }
.nav__list a { font-weight: 700; font-size: 0.92rem; padding-block: 0.3rem; position: relative; }
.nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav__list a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; white-space: nowrap; }
.nav__toggle {
  display: grid; gap: 5px; justify-items: center; background: none; border: none; padding: 0.5rem;
}
.nav__toggle-bar { width: 22px; height: 2px; background: var(--forest-dark); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { max-height: 0; overflow: hidden; background: var(--linen); border-bottom: 1px solid var(--cream-dark); transition: max-height 0.28s ease; }
.nav__mobile.is-open { max-height: 70vh; overflow-y: auto; }
.nav__mobile ul { padding: 0.5rem var(--gutter) 1.25rem; }
.nav__mobile a { display: block; padding-block: 0.85rem; border-bottom: 1px solid var(--cream-dark); font-weight: 700; }
body.nav-open { overflow: hidden; }

@media (min-width: 840px) {
  .nav__list { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__mobile { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.6em; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--berry); color: var(--linen); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--berry-dark); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--linen); }
.section-dark .btn-secondary { border-color: var(--linen); color: var(--linen); }
.section-dark .btn-secondary:hover { background: var(--linen); color: var(--forest-dark); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); background: radial-gradient(circle at 85% 15%, rgba(201,138,59,0.16), transparent 55%), var(--cream); }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 3.5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.3rem; max-width: 46ch; }
.hero__copy h1 em { color: var(--berry); font-style: italic; }
.hero__stats { display: flex; gap: clamp(1.25rem, 4vw, 2.25rem); margin-top: 0.75rem; flex-wrap: wrap; }
.hero__stats div { display: grid; gap: 0.15rem; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest-dark); }
.hero__stats span { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* Hero visual: three CSS-drawn jars, no image files needed */
/* Small badge used on the 404 page */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: var(--gold); color: var(--forest-dark);
  font-family: var(--font-display); font-weight: 900; font-size: 0.78rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 2px dashed rgba(43,38,32,0.25);
  transform: rotate(-9deg); margin-inline: auto;
}

/* Logo — used in nav, footer, and hero */
.nav__logo-img { border-radius: 50%; box-shadow: var(--shadow-sm); }
.footer-logo-img { border-radius: 50%; box-shadow: var(--shadow-sm); }
.hero__media { justify-self: center; }
.hero__logo-img {
  width: min(100%, 340px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-inline: auto;
}
@media (min-width: 840px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero__media { justify-self: end; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--linen); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.4rem; display: grid; gap: 0.7rem; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); background: var(--cream-dark); padding: 0.3em 0.65em; border-radius: 999px; }
.badge--sold-out { color: var(--ink-soft); }
.badge--coming-soon { background: var(--gold); color: var(--forest-dark); }
.card--coming-soon { background: transparent; border: 2px dashed var(--cream-dark); box-shadow: none; justify-items: start; align-content: center; }
.card--coming-soon:hover { transform: none; box-shadow: none; }
.card__head { display: flex; align-items: center; gap: 0.65rem; }
.swatch { width: 1.3rem; height: 1.3rem; border-radius: 50%; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.swatch--berry { background: var(--berry); }
.swatch--gold { background: var(--gold); }
.swatch--plum { background: #4C5C8C; }
.swatch--rose { background: #A23148; }
.swatch--umber { background: #8A5A34; }
.swatch--wine { background: #5B3C78; }
.swatch--mango { background: #E0793C; }
.swatch--pineapple { background: #D9B233; }
.swatch--lemonade { background: linear-gradient(135deg, var(--berry) 50%, #E8D874 50%); }
.card__meta { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-tile {
  aspect-ratio: 4/3; border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; padding: 0.9rem; overflow: hidden; position: relative;
}
.gallery-tile span { color: var(--linen); font-size: 0.82rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.gallery-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,49,41,0.55), transparent 60%); }
.tile--berry { background: var(--berry); }
.tile--gold { background: var(--gold); }
.tile--plum { background: #4C5C8C; }
.tile--umber { background: #8A5A34; }
.tile--forest { background: var(--forest); }
.tile--rose { background: #A23148; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; max-width: 760px; }
.faq-item { background: var(--linen); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.35rem; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--forest-dark);
}
.faq-item__icon { flex-shrink: 0; width: 1.3rem; height: 1.3rem; position: relative; }
.faq-item__icon::before, .faq-item__icon::after { content: ''; position: absolute; background: var(--berry); border-radius: 2px; top: 50%; left: 50%; }
.faq-item__icon::before { width: 100%; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 100%; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; padding-inline: 1.35rem; }
.faq-item__a.is-open { padding-bottom: 1.2rem; }

/* ---------- Forms ---------- */
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.88rem; color: var(--forest-dark); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.75em 0.9em; border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md);
  background: #fff; font-size: 1rem; width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-hint { font-size: 0.85rem; color: var(--ink-soft); min-height: 1.2em; }
.form-hint.is-error { color: var(--error); }
.form-hint.is-success { color: var(--success); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; gap: 2.25rem; }
.contact-details { display: grid; gap: 0.85rem; margin-top: 0.75rem; }
.contact-details li { display: grid; gap: 0.15rem; }
.contact-details strong { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--berry); }
.contact-details a { font-weight: 700; color: var(--forest-dark); }
.contact-form { display: grid; gap: 1.05rem; background: var(--linen); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 4vw, 2.1rem); }
.contact-form .btn { justify-self: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: var(--cream); padding-block: clamp(3rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-brand { display: grid; gap: 0.6rem; align-content: start; }
.footer-wordmark { font-weight: 900; font-style: italic; font-size: 1.3rem; color: var(--cream); }
.footer-byline { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--gold-light); margin-top: -0.3rem; }
.footer-tagline { color: var(--cream-dark); max-width: 26ch; }
.footer-social { display: flex; gap: 0.9rem; margin-top: 0.4rem; }
.footer-social a { font-size: 0.85rem; font-weight: 700; color: var(--gold-light); border-bottom: 1px solid transparent; }
.footer-social a:hover { border-color: var(--gold-light); }
.site-footer h3 { color: var(--gold-light); font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.7rem; }
.footer-col p, .footer-col a { color: var(--cream-dark); }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; font-size: 0.88rem; }
.footer-hours dd { margin: 0; color: var(--cream); text-align: right; }
.footer-bottom { border-top: 1px solid rgba(245,239,225,0.15); margin-top: 2.25rem; padding-top: 1.4rem; font-size: 0.8rem; color: var(--cream-dark); display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(31,49,41,0.94); display: none; place-items: center; padding: 2rem; }
.lightbox.is-open { display: grid; }
.lightbox__panel { background: var(--linen); border-radius: var(--radius-lg); padding: 2rem; max-width: 420px; text-align: center; display: grid; gap: 0.75rem; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; color: var(--cream); font-size: 2rem; line-height: 1; }

/* ---------- 404 page ---------- */
.error-section { padding-block: clamp(4rem, 12vw, 7rem); text-align: center; }
.error-section .lede { margin-inline: auto; }
.u-mt-lg { margin-top: 1.5rem; }
