/* ============================================
   WHORL BAKEHOUSE — shared brand stylesheet
   Forest Green / Kuro-Midori / Cream / Gold
   Special Elite (display) + Lato (body)
   ============================================ */

:root {
  --forest: #2C4A35;
  --kuro: #1B2B1B;
  --oxford: #002147;
  --cream: #F5ECD7;
  --white: #FDFAF5;
  --brown: #3A2218;
  --gold: #B8956A;
  --gold-light: #D4A574;
  --terracotta: #B5533C;

  --max-width: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.display {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.25;
  letter-spacing: 0;
}

.eyebrow {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- scripture bar + header ---------- */
.scripture-bar {
  background: var(--forest);
  color: var(--gold-light);
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  padding: 10px 20px;
}
header.site-header {
  background: var(--white);
  color: var(--forest);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(44,74,53,0.1);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
}
.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img { height: 72px; width: auto; display: block; }
footer .logo-img { height: 100px; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.82;
  transition: opacity 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* hamburger toggle — hidden on desktop, shown at the tablet/mobile breakpoint */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 1px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--kuro);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(245,236,215,0.1); }
.btn-dark {
  background: var(--forest);
  color: var(--cream);
}
.btn-dark:hover { background: var(--kuro); }

/* ---------- seal / signature element ---------- */
.seal {
  --seal-size: 96px;
  width: var(--seal-size);
  height: var(--seal-size);
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 0 rgba(0,0,0,0.15), inset 0 0 0 3px rgba(245,236,215,0.25);
  flex-shrink: 0;
}
.seal svg { width: 52%; height: 52%; }

/* ---------- hero (real photography, full bleed) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,43,27,0.86) 0%, rgba(27,43,27,0.55) 55%, rgba(27,43,27,0.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { color: var(--cream); max-width: 640px; }
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-copy h1 { color: var(--white); margin: 0 0 22px; }
.hero-copy p.lede {
  font-size: 1.2rem;
  color: rgba(245,236,215,0.92);
  max-width: 48ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--white); }
section.dark { background: var(--kuro); color: var(--cream); }
section.dark h2, section.dark h3 { color: var(--cream); }

.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head .eyebrow {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(44,74,53,0.12);
}
.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
  background: rgba(184,149,106,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* product card w/ photo swatch */
.product-card .swatch {
  height: 180px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background-color: rgba(44,74,53,0.06);
}
.product-card .price {
  font-family: 'Special Elite', monospace;
  color: var(--gold);
  font-size: 1.15rem;
  margin-top: 10px;
}

/* menu list rows (photo swatch + copy, side by side) */
.menu-item {
  border-left: 4px solid var(--gold);
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.menu-item-photo {
  height: 160px;
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.menu-item-body { flex: 1; min-width: 240px; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid rgba(44,74,53,0.18);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Special Elite', monospace;
  font-size: 1.05rem;
  color: var(--forest);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { margin-top: 14px; color: var(--brown); max-width: 68ch; }

/* ---------- story / longform ---------- */
.story-photo {
  aspect-ratio: 4/5;
  background: var(--forest);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}
.prose { max-width: 66ch; }
.prose p { font-size: 1.05rem; }
.prose .signoff {
  margin-top: 34px;
  font-family: 'Special Elite', monospace;
  color: var(--forest);
}

/* ---------- storage cards ---------- */
.store-card { border-left: 4px solid var(--gold); }
.store-card .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

/* ---------- CTA banner ---------- */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(245,236,215,0.85); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-line svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.contact-line strong { display: block; color: var(--forest); }

/* ---------- legal text pages ---------- */
.legal h2 { margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { max-width: 72ch; }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--kuro);
  color: var(--cream);
  padding: 60px 0 28px;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer.site-footer h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
}
footer.site-footer a {
  text-decoration: none;
  color: rgba(245,236,215,0.85);
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
footer.site-footer a:hover { color: var(--gold-light); }

/* column 1: logo + tagline, centered */
footer.site-footer .foot-grid > div:nth-child(1) {
  text-align: center;
}
footer.site-footer .brand-mark {
  color: var(--cream);
  margin-bottom: 14px;
  display: inline-flex;
  justify-content: center;
}
.footer-tagline {
  color: rgba(245,236,215,0.75);
  font-size: 0.95rem;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

/* columns 2 (Explore) and 3 (Info): right-aligned so they sit close together */
footer.site-footer .foot-grid > div:nth-child(2),
footer.site-footer .foot-grid > div:nth-child(3) {
  text-align: right;
}
footer.site-footer .isaf {
  font-size: 0.9rem;
  color: rgba(245,236,215,0.7);
  text-align: center;
  border-top: 1px solid rgba(245,236,215,0.15);
  padding-top: 24px;
  margin-top: 8px;
}
footer.site-footer .isaf strong { color: var(--gold-light); }
footer.site-footer .scripture {
  font-style: italic;
  text-align: center;
  margin: 28px 0 0;
  color: rgba(245,236,215,0.8);
}
footer.site-footer .legal-line {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(245,236,215,0.5);
  margin-top: 24px;
}

/* ============================================
   RESPONSIVE
   Desktop is the default (≥1024px). Rules below
   cascade from tablet down to small mobile, each
   block adding to the one above it.
   ============================================ */

/* ---------- tablet: 768px–1023px ---------- */
@media (max-width: 1023px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(44,74,53,0.12);
    box-shadow: 0 12px 24px rgba(27,43,27,0.12);
    padding: 6px 28px 18px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(44,74,53,0.08);
  }
  nav.main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- mobile landscape / small tablet: up to 767px ---------- */
@media (max-width: 767px) {
  .hero { min-height: 480px; background: var(--forest); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 32px; }
  .logo-img { height: 56px; }
  footer .logo-img { height: 80px; }

  footer.site-footer .foot-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  footer.site-footer .foot-grid > div:nth-child(2),
  footer.site-footer .foot-grid > div:nth-child(3) { text-align: center; }
  .footer-tagline { white-space: normal; }
}

/* ---------- mobile portrait: up to 480px ---------- */
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  section { padding: 44px 0; }
  .hero { min-height: 420px; }
  .cta-band { padding: 22px; }
  .logo-img { height: 48px; }
  footer .logo-img { height: 64px; }
  footer.site-footer { padding: 44px 0 24px; }
  header.site-header .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
  .header-actions { gap: 8px; }

  .menu-item-photo { width: 100%; height: 200px; }
  .menu-item-body { min-width: 100%; }
}
