/* ════════════════════════════════════════════════════════════════
   Nibbler — shared design system for secondary pages
   Matches the look of /science. Used by all inner pages.
   ════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF7A1A;
  --orange-d:     #E8620A;
  --orange-light: #FFF0E5;
  --ink:          #3A2A1E;
  --muted:        #7A6A5C;
  --cream:        #FFF8EF;
  --cream-alt:    #FFF1DF;
  --surface:      #FFFFFF;
  --border:       #EDE5DA;
  --f-wordmark:   'Varela Round', sans-serif;
  --f-disp:       'Fredoka', sans-serif;
  --f-body:       'Geist', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 48px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 248, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(237, 229, 218, 0.6);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-name { font-family: var(--f-wordmark); font-size: 20px; font-weight: 700; color: #fff; transition: color 0.3s; }
.site-header.scrolled .nav-logo-name { color: var(--ink); }

/* dropdown nav groups */
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-group { position: relative; }
.nav-trigger {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--f-body); font-size: 15px; font-weight: 600; color: #fff;
  padding: 8px 14px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.3s;
}
.nav-trigger:hover { background: rgba(255,255,255,0.12); }
.nav-group.open .nav-trigger { background: rgba(255,255,255,0.16); }
.site-header.scrolled .nav-trigger { color: var(--ink); }
.site-header.scrolled .nav-trigger:hover { background: rgba(58,42,30,0.06); }
.site-header.scrolled .nav-group.open .nav-trigger { background: rgba(58,42,30,0.09); }
.nav-caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s; }
.nav-group.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 190px;
  background: rgba(25, 12, 5, 0.58);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 8px;
  display: none;
  flex-direction: column;
}
.nav-group.open .nav-dropdown { display: flex; }
.nav-dropdown a {
  text-decoration: none; color: rgba(255,248,239,0.92); font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav-cta {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-family: var(--f-body); font-size: 14px; font-weight: 700;
  padding: 10px 22px; border-radius: 100px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 122, 26, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 122, 26, 0.4); }

/* Hamburger toggle — hidden on desktop, shown at <=860px */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 11px;
  margin-left: auto;
  background: transparent; border: none; cursor: pointer;
  border-radius: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
  color: #fff;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform 0.28s ease, opacity 0.2s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.scrolled .nav-toggle { color: var(--ink); }

/* ── Full-bleed page hero (image/video with overlaid title) ── */
.pg-hero {
  position: relative;
  width: 100%;
  height: min(70vh, 620px);
  min-height: 440px;
  overflow: hidden;
}
.pg-hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  display: block;
}
.pg-hero__video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pg-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(40,22,10,0.82) 0%,
    rgba(40,22,10,0.28) 42%,
    rgba(40,22,10,0.34) 100%);
}
.pg-hero__inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 48px 52px;
}
.pg-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #FFCB9A;
}
.pg-hero__eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
}
.pg-hero__title {
  font-family: var(--f-disp); font-weight: 600; color: #fff;
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -1.2px;
  margin-top: 16px; max-width: 760px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

/* ── Hero ── */
.page-hero {
  padding: 150px 48px 56px;
  max-width: 820px;
  margin: 0 auto;
}
.ph-eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: var(--f-disp);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 20px;
}
.ph-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Divider ── */
.page-divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Content container + prose ── */
.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 48px 100px;
}
.page-content.narrow { max-width: 760px; }

.prose h2 {
  font-family: var(--f-disp);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--f-disp);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--muted); font-size: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-style: italic; }

/* ── Long-form legal pages (privacy / terms) ── */
.legal-meta { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.legal-meta strong { color: var(--ink); }

.prose hr.rule { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.table-wrap { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; vertical-align: top; line-height: 1.5; }
.prose th { background: var(--cream-alt); color: var(--ink); font-weight: 700; }
.prose td { color: var(--muted); }

/* numbered content sections (science-style) */
.content-section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }
.cs-number {
  font-family: var(--f-disp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 14px;
}
.content-section h2 {
  font-family: var(--f-disp);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 18px;
}
.content-section p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.content-section p:last-child { margin-bottom: 0; }

/* ── Pull quote ── */
.pull-quote {
  border-left: 3px solid var(--orange);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--orange-light);
  border-radius: 0 12px 12px 0;
}
.pull-quote p { font-size: 17px; font-style: italic; color: var(--ink); margin: 0; }
.pull-quote cite { display: block; font-size: 13px; font-style: normal; color: var(--muted); margin-top: 8px; }

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}
.card-emoji { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.card h3 { font-family: var(--f-disp); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── Timeline / roadmap ── */
.timeline { margin: 36px 0; border-left: 2px solid var(--border); padding-left: 28px; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--cream);
}
.timeline-item h3 { font-family: var(--f-disp); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--orange); margin-bottom: 6px; }
.timeline-item p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── FAQ accordion ── */
.faq-list { margin: 8px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--f-disp);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--f-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; }
.faq-item .faq-body p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 8px 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(58,42,30,0.10); }
.blog-card-cover {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.blog-card-body { padding: 22px 24px 26px; }
.blog-card-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.blog-card h3 { font-family: var(--f-disp); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 10px; }
.blog-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* What's New — editorial list (no boxes) */
.wn-list { display: flex; flex-direction: column; margin: 4px 0; }
.wn-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.wn-item:last-child { border-bottom: none; }
.wn-item h3 { font-family: var(--f-disp); font-size: 23px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.wn-item p { font-size: 16px; color: var(--muted); margin: 0; }

/* Blog — list layout (title / subtitle / hook) */
.blog-list { display: flex; flex-direction: column; margin: 4px 0; }
.blog-row { display: block; text-decoration: none; padding: 30px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.18s ease; }
.blog-row:first-child { padding-top: 8px; }
.blog-row:last-child { border-bottom: none; }
.blog-row:hover { padding-left: 8px; }
.blog-row-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.blog-row h3 { font-family: var(--f-disp); font-size: clamp(22px, 3vw, 28px); font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 6px; }
.blog-row-subtitle { font-family: var(--f-disp); font-size: 16px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.blog-row p { font-size: 16px; color: var(--muted); margin: 0; max-width: 640px; }

.post-meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.5; }

/* ── Blog post data visuals ── */
.post-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.post-stat {
  flex: 1; min-width: 140px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 18px; text-align: center;
}
.post-stat .n { font-family: var(--f-disp); font-weight: 700; font-size: 30px; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.post-stat .l { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.post-viz { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 22px 18px; margin: 28px 0; }
.post-viz svg { width: 100%; height: auto; display: block; }
.post-viz .cap { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 12px 2px 0; }

.post-refs { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-refs h3 { font-family: var(--f-disp); font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.post-refs ol { margin: 0 0 0 20px; padding: 0; }
.post-refs li { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.post-refs em { font-style: italic; }

/* ── Contact form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 8px 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); }
.contact-aside .ca-block { margin-bottom: 28px; }
.contact-aside h3 { font-family: var(--f-disp); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-aside p { font-size: 15px; color: var(--muted); margin: 0; }
.contact-aside a { color: var(--orange); font-weight: 600; text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 18px rgba(255,122,26,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255,122,26,0.45); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink); }

/* ── Store buttons (download) ── */
.store-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 16px;
  min-width: 210px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 4px 16px rgba(58,42,30,0.15);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(58,42,30,0.22); background: #2a1c12; }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .sb-label { font-size: 11px; opacity: 0.7; display: block; letter-spacing: 0.04em; }
.store-btn .sb-name { font-size: 17px; font-weight: 700; display: block; line-height: 1.2; }
.store-btn.is-suggested { box-shadow: 0 0 0 3px var(--orange), 0 10px 30px rgba(255,122,26,0.3); }
.store-btn.coming-soon { background: var(--surface); color: var(--muted); border: 1.5px solid var(--border); box-shadow: none; cursor: default; }
.store-btn.coming-soon:hover { transform: none; box-shadow: none; background: var(--surface); }
.store-btn.coming-soon svg { opacity: 0.4; }
.coming-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--cream-alt); color: var(--muted);
  padding: 2px 8px; border-radius: 100px; margin-top: 2px;
}
.platform-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.platform-note span { color: var(--orange); font-weight: 600; }

/* ── Download page — trust line under store buttons ── */
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* ── Section heading (centered landing-style) ── */
.section-head { text-align: center; max-width: 600px; margin: 0 auto; }
.section-head h2 { font-family: var(--f-disp); font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.18; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--muted); margin: 0; }

/* ── Numbered steps ── */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 40px 0 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-light); color: var(--orange-d);
  font-family: var(--f-disp); font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-family: var(--f-disp); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── Spec / essentials strip ── */
.spec-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; margin: 40px 0 0;
}
.spec { background: var(--surface); padding: 24px 18px; text-align: center; }
.spec-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec-value { font-family: var(--f-disp); font-size: 17px; font-weight: 600; color: var(--ink); }

/* ── Testimonial / quote cards ── */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 40px 0 0; }
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; }
.quote-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card blockquote { font-size: 15.5px; color: var(--ink); line-height: 1.6; margin: 0 0 16px; font-style: italic; }
.quote-card .qc-author { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: auto 0 0; }
.quote-card .qc-author span { color: var(--muted); font-weight: 500; }

/* ── Dark CTA ── */
.page-cta { position: relative; overflow: hidden; background: var(--ink); padding: 80px 48px 96px; text-align: center; }
.page-cta h2 { position: relative; z-index: 2; font-family: var(--f-disp); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.page-cta p { position: relative; z-index: 2; color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 30px; }
.page-cta .btn-primary { position: relative; z-index: 2; box-shadow: 0 4px 20px rgba(255,122,26,0.4); }

/* Camping video behind the dark CTA banner — cropped to the banner height */
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 78%; z-index: 0; }
.cta-scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(40,22,10,0.55), rgba(40,22,10,0.74)); }

/* ── Footer (simple banner — matches the home page) ── */
.site-footer {
  background: var(--cream-alt);
  border-top: 1px solid var(--border);
  padding: 44px 24px;
  text-align: center;
}
.sf-inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sf-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.sf-brand img { width: 32px; height: 32px; object-fit: contain; }
.sf-brand span { font-family: var(--f-wordmark); font-size: 21px; font-weight: 700; color: var(--ink); }
.sf-tag { font-family: var(--f-disp); font-size: 16px; font-weight: 500; color: var(--muted); }
.sf-social { display: flex; gap: 14px; }
.sf-social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted); transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.sf-social a:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.sf-social svg { width: 18px; height: 18px; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.sf-bottom a { color: var(--muted); text-decoration: none; }
.sf-bottom a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 860px) {
  /* Header collapses to a hamburger panel */
  .site-header { flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
  .nav-toggle { display: flex; order: 1; }
  .nav-menu {
    order: 2; flex-basis: 100%; width: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 4px 0 0;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.32s ease, opacity 0.25s ease;
  }
  .nav-cta {
    order: 3; flex-basis: 100%; width: 100%; display: none;
    text-align: center; margin: 8px 0 4px; padding: 14px; font-size: 15px;
  }
  .site-header.nav-open {
    background: rgba(255, 248, 239, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(237, 229, 218, 0.7);
  }
  .site-header.nav-open .nav-toggle,
  .site-header.nav-open .nav-logo-name { color: var(--ink); }
  .site-header.nav-open .nav-menu { max-height: calc(100vh - 68px); overflow-y: auto; opacity: 1; }
  .site-header.nav-open .nav-cta { display: block; }
  /* Nav groups become tap-to-expand accordions */
  .nav-group { width: 100%; border-bottom: 1px solid rgba(58, 42, 30, 0.08); }
  .nav-trigger { width: 100%; justify-content: space-between; font-size: 16px; color: var(--ink); padding: 14px 8px; border-radius: 0; }
  .nav-dropdown {
    position: static; min-width: 0; width: 100%;
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border: none; box-shadow: none; padding: 0 0 8px 6px;
  }
  .nav-dropdown a { color: var(--muted); font-size: 15px; padding: 11px 12px; }
  .nav-dropdown a:hover { background: rgba(58, 42, 30, 0.05); color: var(--ink); }
  .pg-hero { height: min(50vh, 420px); min-height: 300px; }
  .pg-hero__inner { padding: 0 20px 32px; }
  .pg-hero__title { font-size: clamp(26px, 5.5vw, 40px); }
  .page-hero { padding: 120px 24px 40px; }
  .page-content { padding: 40px 24px 72px; }
  .page-cta { padding: 60px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 36px 20px; }
}
@media (max-width: 520px) {
  .site-header { padding: 10px 14px; }
}
