/* ============================================
   THE BENCH BAKEHOUSE — Global Stylesheet
   Warm Rustic · Artisan · Vancouver
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;1,400&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #F5F0E8;
  --cream-dark:  #EDE5D4;
  --cream-mid:   #E0D5C0;
  --wheat:       #D4A85A;
  --wheat-dark:  #B8902F;
  --wheat-light: #EDD9A3;
  --bark:        #6B4E2A;
  --bark-dark:   #4A3218;
  --charcoal:    #2C2318;
  --muted:       #7A6B58;
  --stone:       #C4B49A;
  --white:       #FFFDF8;
  --rust:        #A0522D;
  --nav-h:       64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(44, 35, 24, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,168,90,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wheat);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(212,168,90,0.55);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Crimson Text', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--wheat);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--wheat);
  opacity: 0.6;
}

.nav-cta {
  background: var(--wheat) !important;
  color: var(--bark-dark) !important;
  padding: 0.45rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--wheat-dark) !important; color: var(--white) !important; }

/* Oven button */
.nav-oven-btn {
  position: relative;
  background: none;
  border: 1.5px solid rgba(212,168,90,0.35);
  color: var(--wheat);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 2px;
}
.nav-oven-btn:hover { border-color: var(--wheat); background: rgba(212,168,90,0.08); }
.oven-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--wheat);
  color: var(--bark-dark);
  font-family: 'Crimson Text', serif;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: var(--bark-dark);
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(212,168,90,0.03) 60px, rgba(212,168,90,0.03) 61px
  );
}
.page-header-eyebrow {
  font-family: 'Crimson Text', serif;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--wheat);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}
.page-header-eyebrow::before,
.page-header-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--wheat); opacity: 0.5;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  position: relative;
}
.page-header h1 em { font-style: italic; color: var(--wheat); }
.page-header-sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245,240,232,0.5);
  margin-top: 0.75rem;
  position: relative;
}

/* ============================================
   SHARED LAYOUT
   ============================================ */
.section { padding: 5.5rem 2rem; }
.section--dark  { background: var(--charcoal); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--cream-dark { background: var(--cream-dark); }
.section--bark  { background: var(--bark-dark); }

.inner { max-width: 1100px; margin: 0 auto; }
.inner--narrow { max-width: 760px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Crimson Text', serif;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--wheat-dark);
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-eyebrow::after {
  content: ''; flex: 1; max-width: 36px; height: 1px;
  background: var(--wheat-dark); opacity: 0.5;
}
.section--dark .section-eyebrow,
.section--bark .section-eyebrow { color: var(--wheat); }
.section--dark .section-eyebrow::after,
.section--bark .section-eyebrow::after { background: var(--wheat); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--bark-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--bark); }
.section--dark .section-title,
.section--bark .section-title { color: var(--cream); }

.section-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 580px;
}
.section--dark .section-body,
.section--bark .section-body { color: rgba(245,240,232,0.6); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: 'Crimson Text', serif;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  padding: 0.85rem 2rem;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--wheat);
  color: var(--bark-dark);
  font-weight: 600;
}
.btn-primary:hover { background: var(--wheat-dark); color: var(--white); }

.btn-outline-light {
  border: 1.5px solid rgba(245,240,232,0.4);
  color: var(--cream);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--wheat); background: rgba(212,168,90,0.1); }

.btn-outline-dark {
  border: 1.5px solid var(--bark);
  color: var(--bark-dark);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--bark-dark); color: var(--cream); }

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.8rem; }

/* ============================================
   INFO STRIP
   ============================================ */
.info-strip {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(212,168,90,0.12);
  border-bottom: 1px solid rgba(212,168,90,0.12);
}
.info-strip-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.info-item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.info-icon { width: 24px; height: 24px; color: var(--wheat); margin-bottom: 0.2rem; }
.info-label { font-family:'Crimson Text',serif; font-size:0.72rem; letter-spacing:0.22em; text-transform:uppercase; color:rgba(245,240,232,0.38); }
.info-value { font-family:'Playfair Display',serif; font-style:italic; font-size:0.92rem; color:var(--cream); }
.info-divider { width:1px; height:44px; background:rgba(212,168,90,0.2); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bark-dark);
  padding: 4rem 2rem 2.5rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--wheat); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 0.88rem; color: rgba(245,240,232,0.35);
  margin: 0.3rem 0 2.5rem;
}
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 2rem; list-style: none; margin-bottom: 2rem;
}
.footer-nav a {
  font-family: 'Crimson Text', serif; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,240,232,0.4); text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--wheat); }
.footer-social {
  display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.45); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--wheat); color: var(--wheat); }
.footer-copy {
  font-family: 'Crimson Text', serif; font-size: 0.78rem;
  color: rgba(245,240,232,0.22); letter-spacing: 0.05em;
}
.footer-copy a { color: rgba(245,240,232,0.38); text-decoration: none; }
.footer-copy a:hover { color: var(--wheat); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0.1s; opacity: 0; }
.d2 { animation-delay: 0.25s; opacity: 0; }
.d3 { animation-delay: 0.4s; opacity: 0; }
.d4 { animation-delay: 0.55s; opacity: 0; }
.d5 { animation-delay: 0.7s; opacity: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links .nav-oven-btn { display: none; }
  .nav-right-mobile { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--charcoal);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(212,168,90,0.15);
  }
  .section { padding: 4rem 1.25rem; }
  .info-divider { display: none; }
}

/* ============================================
   TICKER / MARQUEE STRIP
   ============================================ */
.ticker-strip {
  background: var(--wheat);
  padding: 0.9rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(74,50,24,0.08);
  border-bottom: 1px solid rgba(74,50,24,0.08);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: 'Crimson Text', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark-dark);
  padding: 0 1.5rem;
}
.ticker-sep {
  font-family: 'Crimson Text', serif;
  font-size: 0.9rem;
  color: rgba(74,50,24,0.35);
  padding: 0 0.25rem;
  align-self: center;
  display: inline-block;
}

/* ============================================
   FULL-WIDTH PHOTO BANNER (parallax)
   ============================================ */
.photo-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--bark-dark) url('../images/Bench knead shot wide.avif') center 40% / cover no-repeat;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .photo-banner { background-attachment: scroll; height: 300px; }
}
.photo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,35,24,0.55) 0%,
    rgba(44,35,24,0.3) 50%,
    rgba(44,35,24,0.6) 100%
  );
}
.photo-banner-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  padding: 2rem;
}
.photo-banner-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-style: italic;
  color: var(--cream);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.photo-banner-quote em {
  font-style: italic;
  color: var(--wheat);
}

/* ============================================
   STORY PHOTO (replaces dark text box)
   ============================================ */
.story-visual-photo {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 420px;
}
.story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.story-visual-photo:hover .story-photo-img {
  transform: scale(1.04);
}
.story-facts-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(44,35,24,0.92) 0%, rgba(44,35,24,0.0) 100%);
  padding: 3rem 2rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.story-facts-overlay .story-fact {
  background: rgba(212,168,90,0.15);
  border: 1px solid rgba(212,168,90,0.25);
  padding: 0.6rem 1.1rem;
  backdrop-filter: blur(4px);
}
.story-facts-overlay .story-fact-label {
  font-family: 'Crimson Text', serif;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,240,232,0.45);
}
.story-facts-overlay .story-fact-value {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; color: var(--wheat);
}

/* ============================================
   PRODUCT CARD — image hover zoom
   ============================================ */
.product-img {
  overflow: hidden;
}
.product-img img {
  transition: transform 0.45s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.07);
}

/* Menu photo dividers */
.menu-photo-divider {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bark-dark) center / cover no-repeat;
}
.menu-photo-divider::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(44,35,24,0.42);
}
.menu-photo-divider-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.menu-photo-divider-label span {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* ============================================
   ANIMATED COUNTERS
   ============================================ */
.feature-num {
  transition: color 0.3s;
}
.feature-num.counting {
  color: var(--wheat-dark);
}
