/* ==========================================================================
   Sourdough Haus — site styles (2026 redesign)
   Mobile-first. No framework. Colors meet WCAG AA for their text pairings.
   ========================================================================== */

:root {
  /* Brand palette (refined from #faf0e6 / #5f4b3b / #d29e6e) */
  --cream: #faf0e6;       /* page background (original brand cream) */
  --paper: #fffaf3;       /* raised surfaces */
  --flour: #f3e6d6;       /* alternate section background */
  --wheat: #e9c9a3;       /* soft accent fills (dark text only) */
  --caramel: #d29e6e;     /* brand accent — decoration / dark text only */
  --crust: #8b5a2b;       /* accent text on cream (5.2:1) */
  --brown: #5f4b3b;       /* body text, primary buttons (7.3:1 on cream) */
  --ink: #2c221b;         /* headings */
  --rye: #3d2f25;         /* dark bands / footer */
  --line: rgba(95, 75, 59, 0.18);

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.6rem);

  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
#main { flex: 1 0 auto; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
a { color: var(--crust); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 650; }
ul, ol { padding: 0; }

:focus-visible {
  outline: 3px solid var(--crust);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important; 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: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.75rem 1.1rem;
  border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crust);
  margin: 0 0 1rem;
}
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.on-dark .kicker { color: var(--wheat); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brown); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--ink); color: var(--fg); transform: translateY(-1px); }
.btn svg { width: 1em; height: 1em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); border-color: rgba(44,34,27,.35); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); border-color: var(--ink); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { --bg: var(--wheat); --fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); border-color: rgba(250,240,230,.45); }
.btn--ghost-light:hover { --bg: var(--cream); --fg: var(--ink); border-color: var(--cream); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--caramel); padding-bottom: 2px;
}
.text-link:hover { color: var(--crust); border-color: var(--crust); }
.text-link svg { width: .95em; height: .95em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 240, 230, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(44,34,27,.5); }
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { white-space: nowrap; font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); margin-top: .3rem; font-weight: 600; }

.nav-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1.5px solid rgba(44,34,27,.25); border-radius: 50%;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5.25px; }
.nav-toggle-bars span:nth-child(3) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 550;
}
.site-nav a[aria-current="page"] { color: var(--crust); }

/* mobile nav panel */
@media (max-width: 859px) {
  .header-inner { gap: .6rem; }
  .brand-tag { display: none; }
  .brand { gap: .55rem; min-width: 0; }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.12rem; }
  .header-order svg { display: none; }
  .header-order { order: 2; }
  .nav-toggle { order: 3; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(44,34,27,.45);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: block; animation: drop .25s var(--ease); }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
  }
  .site-nav a::after { content: "→"; font-family: var(--font-sans); font-size: 1rem; color: var(--crust); }
  .no-js .site-nav { display: block; position: static; box-shadow: none; padding: 0 0 1rem; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1rem; }
  .brand img { width: 36px; }
  .header-order { padding-inline: .9rem; }
}
@media (max-width: 340px) { .brand-name { white-space: normal; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 860px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: 2.1rem; }
  .site-nav a { position: relative; padding: .4rem 0; font-size: .98rem; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--caramel); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"]::after { background: var(--crust); }
  .header-order { margin-left: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--flour { background: var(--flour); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-dark { background: var(--rye); color: #eadccb; }
.on-dark h2, .on-dark h3, .on-dark strong { color: var(--cream); }
.on-dark a:not(.btn) { color: var(--wheat); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-title { font-size: var(--step-4); font-weight: 520; margin-bottom: 1.25rem; }
.hero-title .welcome {
  display: block; font-size: 0.42em; font-style: italic; font-weight: 400;
  color: var(--crust); letter-spacing: 0; margin-bottom: .35em;
}
.hero-lede { font-size: var(--step-1); max-width: 30ch; color: var(--brown); margin-bottom: 2rem; }
.hero-meta {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap;
  font-size: var(--step--1);
}
.hero-meta span:first-child { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--crust); }
.hero-media { position: relative; margin: 0 0 0 auto; width: min(100%, 520px); }
@media (max-width: 859px) { .hero-media { width: min(100% - 1rem, 520px); } .hero-meta { margin-top: 1.75rem; } .stamp { left: -.5rem; } }
.hero-photo {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 5 / 6;
  box-shadow: 0 40px 60px -40px rgba(44,34,27,.55);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.stamp {
  position: absolute; left: -1.5rem; bottom: -1.75rem;
  width: clamp(120px, 32%, 176px); aspect-ratio: 1;
  border-radius: 50%; background: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--cream), 0 0 0 9px var(--line);
}
.stamp img { width: 78%; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .stamp { left: -3.5rem; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 2rem; }
.intro-text {
  font-family: var(--font-serif); font-size: var(--step-2); font-weight: 380;
  line-height: 1.38; color: var(--ink); letter-spacing: -0.01em; margin: 0;
}
.intro-text em { font-style: italic; color: var(--crust); }
@media (min-width: 860px) {
  .intro-grid { grid-template-columns: 3fr 9fr; gap: 3rem; align-items: start; }
  .intro-grid > .kicker { margin-top: .9rem; }
}

/* ---------- Why sourdough ---------- */
.why-grid { display: grid; gap: 3rem; align-items: center; }
.why-copy h2 { font-size: var(--step-3); }
.why-copy p { font-size: var(--step-1); line-height: 1.6; max-width: 40ch; }
.why-copy .why-strong { font-family: var(--font-serif); font-style: italic; color: var(--cream); font-size: var(--step-2); line-height: 1.3; }
.ingredients { list-style: none; margin: 0; border-top: 1px solid rgba(250,240,230,.2); }
.ingredients li {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(250,240,230,.2);
  font-family: var(--font-serif); font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); line-height: 1;
  color: var(--cream); font-weight: 400; letter-spacing: -0.02em;
}
.ingredients li span { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; color: var(--caramel); }
.ingredients li:last-child { font-style: italic; color: var(--caramel); }
@media (min-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }

/* ---------- Seasonal promo ---------- */
.promo-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.promo-head h2 { font-size: var(--step-3); margin: 0; }
.promo-head p { margin: 0; max-width: 46ch; }
.promo-layout { display: grid; gap: 2rem; }
.weeks { list-style: none; margin: 0; display: grid; gap: 1rem; }
.week {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem; border: 1px solid var(--line);
  display: grid; gap: .35rem; align-content: start;
}
.week::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: var(--radius) 0 0 var(--radius); background: var(--accent, var(--caramel)); }
.week:nth-child(1) { --accent: #e3a95f; }
.week:nth-child(2) { --accent: #cf8a68; }
.week:nth-child(3) { --accent: #c07152; }
.week:nth-child(4) { --accent: #a65e63; }
.week h3 { font-size: var(--step-2); margin: 0; }
.week-date { font-weight: 600; color: var(--crust); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .5rem; }
.week p:last-child { margin: 0; }
.flyer { margin: 0; }
.flyer a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 50px -35px rgba(44,34,27,.6); }
.flyer img { width: 100%; transition: transform .5s var(--ease); }
.flyer a:hover img { transform: scale(1.02); }
.flyer figcaption { font-size: var(--step--1); margin-top: .75rem; }
@media (min-width: 640px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .promo-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .promo-layout { grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
}

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: clamp(2.25rem, 6vw, 4.5rem); display: grid; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: var(--step-3); margin-bottom: .35em; }
.cta-band p { font-size: var(--step-1); margin: 0; }
.cta-band .btn-row { justify-content: flex-start; }
.cta-band__mark { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .08; pointer-events: none; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: var(--step-4); font-weight: 520; margin-bottom: .3em; }
.page-head .lede { font-size: var(--step-1); max-width: 40ch; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
.story-grid .lede { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 380; line-height: 1.4; color: var(--ink); }
.story-badge { width: min(70%, 320px); margin-inline: auto; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1.5fr 1fr; gap: 5rem; } .story-badge { width: 100%; max-width: 340px; } }

.split { display: grid; gap: 1.5rem 4rem; }
.split > header h2 { font-size: var(--step-3); }
@media (min-width: 860px) {
  .split { grid-template-columns: 4fr 7fr; }
  .split > header { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.split .body { font-size: var(--step-1); line-height: 1.65; max-width: 62ch; }
.split .body p { margin-bottom: 1.2em; }
.split h3 { font-size: var(--step-1); font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; margin-top: 2rem; }

.points { list-style: none; margin: 1rem 0 0; counter-reset: pt; border-top: 1px solid var(--line); }
.points li {
  counter-increment: pt; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0);
}
.points li::before {
  content: counter(pt, decimal-leading-zero);
  font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--crust); line-height: 1.2;
}

.note {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; margin-top: 2rem;
}
.note h3 { margin-top: 0 !important; font-size: var(--step--1) !important; text-transform: uppercase; letter-spacing: .12em; color: var(--crust); }
.note p { font-size: var(--step-0); margin: 0; }

.mission {
  font-family: var(--font-serif); font-size: var(--step-3); font-weight: 400; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.02em; max-width: 24ch; margin: 0;
}
.mission em { color: var(--crust); }

.policy > * { min-width: 0; }
.policy { display: grid; gap: 2rem; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); }
.policy h2 { font-size: var(--step-3); margin: 0; }
.policy-items { list-style: none; margin: 0; display: grid; gap: 1rem; }
.policy-items li { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; padding: 1.25rem; border-radius: var(--radius); background: rgba(250,240,230,.06); border: 1px solid rgba(250,240,230,.14); }
.policy-items .time { font-family: var(--font-serif); font-size: 1.6rem; color: var(--caramel); line-height: 1; white-space: nowrap; min-width: 5.2ch; }
.policy-items p { margin: 0; }
@media (min-width: 860px) { .policy { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* ---------- Menu ---------- */
.menu-layout { display: grid; gap: 2rem; align-items: start; }
.menu-frame {
  position: relative; width: 100%; max-width: 760px; margin-inline: auto;
  aspect-ratio: 816 / 1056;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 40px 60px -45px rgba(44,34,27,.55);
}
.menu-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.menu-aside { display: grid; gap: 1.25rem; }
.menu-aside .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.menu-aside h2 { font-size: var(--step-2); }
.menu-aside p { margin-bottom: 1rem; }
@media (min-width: 960px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; }
  .menu-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Pickup ---------- */
.order-hero { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 860px) { .order-hero { grid-template-columns: 1.3fr 1fr; } .order-hero .btn-row { justify-content: flex-end; } }
.pickup-grid { display: grid; gap: 2rem; align-items: stretch; }
.pickup-info h2 { font-size: var(--step-3); }
.pickup-info address { font-style: normal; font-family: var(--font-serif); font-size: var(--step-2); color: var(--ink); line-height: 1.25; margin-bottom: 1.5rem; }
.pickup-info .links { display: grid; gap: .9rem; justify-items: start; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; width: 100%; background: var(--flour); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 860px) { .pickup-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } .map-frame { aspect-ratio: auto; min-height: 460px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--rye); color: #e2d3c1; padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; margin-top: auto; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 64px; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.5rem; }
.footer-brand .brand-tag { color: var(--wheat); }
.site-footer h2 { font-family: var(--font-sans); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .14em; color: var(--wheat); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--wheat); text-decoration: underline; }
.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(250,240,230,.3); transition: background .25s, color .25s;
}
.socials a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.footer-legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,240,230,.15);
  font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
}
.footer-legal p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .btn, .menu-frame, .map-frame { display: none !important; }
  body { background: #fff; color: #000; }
}

@media (max-width: 599px) {
  .policy-items li { grid-template-columns: 1fr; gap: .5rem; }
  .story-badge { width: min(58%, 260px); }
}
