/* ============================================================
   Broodnodig — stylesheet
   ============================================================ */

:root {
  --orange: #e8610f;
  --orange-dark: #b94a09;
  --orange-light: #f3854a;
  --cream: #faf5ec;
  --cream-2: #f2e8d8;
  --cream-3: #ece0cb;
  --ink: #2a2019;
  --ink-soft: #5c5044;
  --ink-faint: #8a7d6e;
  --white: #fffdf9;
  --border: rgba(42, 32, 25, 0.1);
  --shadow-sm: 0 2px 10px rgba(42, 24, 8, 0.06);
  --shadow-md: 0 14px 40px rgba(42, 24, 8, 0.12);
  --shadow-lg: 0 24px 70px rgba(42, 24, 8, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.85;
}
.btn-ghost:hover { opacity: 1; transform: translateY(-2px); background: rgba(255,255,255,0.08); }
.hero .btn-ghost { color: var(--white); }
.text-link {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: currentColor; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.eyebrow-light { color: #ffd7b0; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header.is-scrolled,
.site-header.force-solid {
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.header-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: block;
  text-decoration: none;
  flex: none;
}
.brand-logo {
  display: block;
  height: 98px;
  width: auto;
  margin: 8px 0 -30px;
  transition: height 0.35s ease, margin 0.35s ease;
}
.brand-logo--light { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.brand-logo--dark { display: none; }
.site-header.is-scrolled .brand-logo,
.site-header.force-solid .brand-logo { height: 62px; margin: 0; }
.site-header.is-scrolled .brand-logo--light,
.site-header.force-solid .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark,
.site-header.force-solid .brand-logo--dark { display: block; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.92;
  position: relative;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.site-header.is-scrolled .main-nav a,
.site-header.force-solid .main-nav a { color: var(--ink); }
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.main-nav a:not(.nav-cta):hover:after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.force-solid .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,9,4,0.6) 0%, rgba(15,9,4,0.25) 50%, rgba(15,9,4,0) 75%),
    linear-gradient(180deg, rgba(20,12,5,0.55) 0%, rgba(20,12,5,0.15) 32%, rgba(20,12,5,0.35) 68%, rgba(15,9,4,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 28px 100px;
  margin: 0 auto;
  width: 100%;
  max-width: 1180px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35em;
  max-width: 14ch;
}
.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.order-phones { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 26px; }
.order-phone { display: flex; flex-direction: column; gap: 2px; }
.order-phone span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.order-phone strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  white-space: nowrap;
}


.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 46px;
  border: 2px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 999px;
  animation: cue 1.8s ease infinite;
}
@keyframes cue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: 118px 0; }
.section-tint { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-lede { font-size: 1.05rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-reverse { grid-template-columns: 1fr 1fr; }
.split-reverse .split-copy { order: 1; }
.split-reverse .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-reverse .split-media img { aspect-ratio: 5/4; }
.media-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--white);
  border-radius: 999px;
  width: 108px; height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.media-badge .badge-small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.64rem;
  line-height: 1;
  color: var(--ink-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 0.22em;
}
.media-badge .badge-year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.05;
  color: var(--orange-dark);
  letter-spacing: -0.01em;
}

.split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.split-copy p { font-size: 1.02rem; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
blockquote {
  margin: 0;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 10px;
}
blockquote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
}

/* ---------- locations ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.location-media { aspect-ratio: 16/10; overflow: hidden; }
.location-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.location-card:hover .location-media img { transform: scale(1.05); }
.location-body { padding: 32px 32px 34px; }
.location-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.location-facts {
  list-style: none;
  margin: 20px 0 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.location-facts li { font-size: 0.94rem; color: var(--ink); }
.location-facts li a { color: var(--orange-dark); text-decoration: none; font-weight: 600; }
.location-facts span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

/* ---------- menu ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.menu-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-tab:hover { border-color: var(--orange); color: var(--orange-dark); }
.menu-tab.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadeUp 0.4s ease; }
.menu-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.menu-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}
.menu-list dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.menu-footnote { margin-top: 40px; font-size: 0.92rem; }
.menu-footnote a { color: var(--orange-dark); font-weight: 600; text-decoration: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- instagram ---------- */
.section-instagram { background: var(--ink); color: var(--cream); }
.section-instagram .eyebrow { color: var(--orange-light); }
.section-instagram h2 { color: var(--white); }
.section-instagram .section-lede { color: rgba(250,245,236,0.75); }
.section-instagram .section-lede strong { color: var(--white); }

.instagram-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(250,245,236,0.03);
  margin-bottom: 36px;
  min-height: 120px;
}
.instagram-placeholder { text-align: center; padding: 48px 24px; color: rgba(250,245,236,0.55); }
.instagram-placeholder-mark { width: 40px; margin: 0 auto 16px; opacity: 0.8; }
.instagram-placeholder p { color: rgba(250,245,236,0.7); margin-bottom: 6px; font-size: 1.02rem; }
.instagram-placeholder-sub { font-size: 0.84rem; color: rgba(250,245,236,0.4); }
.instagram-placeholder-sub code {
  background: rgba(250,245,236,0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.82em;
}
.instagram-cta { text-align: center; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream-3);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,5,0) 55%, rgba(20,12,5,0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(15,9,4,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 1.6rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,245,236,0.82); padding: 88px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,245,236,0.12);
}
.footer-logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 22px;
}
.footer-brand p { color: rgba(250,245,236,0.6); font-size: 0.92rem; max-width: 30ch; }
.footer-instagram {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange-light);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.92rem; color: rgba(250,245,236,0.68); margin-bottom: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 28px 32px;
  font-size: 0.82rem;
  color: rgba(250,245,236,0.45);
  text-align: center;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split, .location-grid { grid-template-columns: 1fr; }
  .split-reverse .split-copy, .split-reverse .split-media { order: initial; }
  .split-media img { aspect-ratio: 16/10; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .section { padding: 78px 0; }
  .brand-logo { height: 76px; margin: 6px 0 -16px; }
  .site-header.is-scrolled .brand-logo,
  .site-header.force-solid .brand-logo { height: 56px; margin: 0; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    padding: 10px 28px 28px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  body.menu-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav a { color: var(--ink); display: block; padding: 12px 4px; width: 100%; }
  .main-nav a:after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero-content { padding-bottom: 70px; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -28px 32px;
    padding: 0 28px 4px;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .media-badge { width: 84px; height: 84px; right: 12px; bottom: -18px; }
  .media-badge .badge-year { font-size: 1.5rem; }
  .media-badge .badge-small { font-size: 0.56rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
