/* Fonts (self-hosted, merged from fonts.css to save a render-blocking request) */
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/Lato-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/Lato-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/Lato-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/Lato-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/PlayfairDisplay-500i-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/PlayfairDisplay-500i-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/PlayfairDisplay-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/PlayfairDisplay-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/PlayfairDisplay-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/PlayfairDisplay-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Kaushan Script';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/KaushanScript-400-latin.woff2') format('woff2');unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --ink: #0f0d0b;
  --char: #1b1814;
  --char-2: #24201b;
  --paper: #faf6ef;
  --cream: #f3ead9;
  --gold: #e1be64;
  --gold-deep: #a9812c;
  --text: #2a241e;
  --text-muted: #6b6157;
  --on-dark: #f6efe2;
  --on-dark-muted: rgba(246, 239, 226, 0.72);
  --line-dark: rgba(225, 190, 100, 0.22);
  --line-light: rgba(42, 36, 30, 0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --header-h: 76px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--gold-deep); }

.lead { font-size: 1.2rem; line-height: 1.6; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ecd08a; }
.btn-ghost { border: 1.5px solid rgba(246, 239, 226, 0.55); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.text-link {
  display: inline-flex; gap: 0.4em; align-items: center;
  color: var(--gold); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.text-link:hover { border-color: currentColor; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-solid { background: rgba(15, 13, 11, 0.96); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 132px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  color: var(--on-dark); text-decoration: none; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { border: 1.5px solid var(--gold); color: var(--gold); padding: 10px 20px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }

.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--on-dark); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; }
/* The stage keeps the photo's proportions and covers the box, so the cut-out loaf stays exactly on its spot */
.hero-stage {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 100%; width: max(100cqw, 179.17cqh); aspect-ratio: 2752 / 1536;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-loaf-wrap { position: absolute; left: 34.48%; top: 38.15%; width: 32.96%; aspect-ratio: 907 / 541; }
.hero-loaf { position: absolute; inset: 0; width: 100%; height: 100%; }
/* soft shadow under the loaf: a static gradient instead of a costly drop-shadow filter */
.hero-loaf-wrap::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -7%; height: 26%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
/* Steam: pre-rendered wispy plumes (steam-*.webp, made once by _source_images/steam/steam_gen.py).
   They start behind the crust, rise, sway and thin out. Only transform and opacity change,
   so the GPU composites them without repainting: no canvas loop, no blur filters. */
.hero-steam { position: absolute; left: 0; width: 100%; top: -150%; height: 172%; pointer-events: none; }
.steam-plume {
  position: absolute; bottom: 0; left: var(--x); width: var(--w); margin-left: calc(var(--w) / -2);
  aspect-ratio: 320 / 660; transform-origin: 50% 100%;
}
.steam-plume i {
  position: absolute; inset: 0; opacity: 0; transform-origin: 50% 100%;
  background: url(/assets/img/steam-1.webp) center / 100% 100% no-repeat;
}
.steam-plume .s2 { background-image: url(/assets/img/steam-2.webp); }
.steam-plume .s3 { background-image: url(/assets/img/steam-3.webp); }
.steam-plume .s4 { background-image: url(/assets/img/steam-4.webp); }
.js .steam-plume { animation: steam-sway var(--sway) ease-in-out var(--delay) infinite alternate; will-change: transform; }
.js .steam-plume i { animation: steam-rise var(--dur) cubic-bezier(0.33, 0.3, 0.6, 1) var(--delay) infinite; will-change: transform, opacity; }
@keyframes steam-rise {
  0% { opacity: 0; transform: translate3d(0, 14%, 0) scale(calc(var(--fx) * 0.78), 0.8); }
  22% { opacity: var(--a); }
  62% { opacity: calc(var(--a) * 0.8); }
  100% { opacity: 0; transform: translate3d(0, -26%, 0) scale(calc(var(--fx) * 1.3), 1.22); }
}
@keyframes steam-sway {
  from { transform: translate3d(calc(var(--drift) * -1), 0, 0) rotate(calc(var(--tilt) * -1)); }
  to { transform: translate3d(var(--drift), 0, 0) rotate(var(--tilt)); }
}
/* Nothing in the hero animates while it is scrolled out of view */
.hero.is-off .steam-plume, .hero.is-off .steam-plume i, .hero.is-off .dust-layer, .hero.is-off .dust-sway { animation-play-state: paused; }
.hero-bg, .hero-loaf-wrap { will-change: transform; transform-origin: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 13, 11, 0.92) 0%, rgba(15, 13, 11, 0.72) 34%, rgba(15, 13, 11, 0.12) 64%, rgba(15, 13, 11, 0.25) 100%);
}
.hero-content { max-width: var(--container); }
@media (min-width: 961px) {
  /* Photo sits to the right and fades into the dark slate, so the lettering never covers the loaf */
  .hero-media { left: auto; right: 0; width: 72%; }
  .hero::before {
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 24%, rgba(15, 13, 11, 0.55) 38%, rgba(15, 13, 11, 0) 56%, rgba(15, 13, 11, 0.2) 100%);
  }
}
.hero h1 { margin: 0 0 22px; display: grid; justify-items: start; gap: 0; }
.script-your { width: clamp(96px, 9vw, 150px); margin-left: 6px; margin-bottom: -6px; }
.script-specialist { width: clamp(300px, 34vw, 500px); }
.hero-lead { max-width: 30em; font-size: 1.2rem; color: var(--on-dark-muted); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.news-pill {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(15, 13, 11, 0.6); border: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none; font-size: 0.92rem;
  transition: border-color 0.2s;
}
.news-pill:hover { border-color: var(--gold); }
.news-pill-tag {
  flex: none; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; overflow-x: clip; }
.section-paper { background: var(--paper); color: var(--text); }
.section-dark { background: var(--char); color: var(--on-dark); }
.section-ink { background: var(--ink); color: var(--on-dark); }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.story-text p { color: var(--text-muted); }
.story-text .lead { color: var(--text); }
.story-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15, 13, 11, 0.45); }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line-light); }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: 1.7rem; color: var(--text); line-height: 1.1; margin-bottom: 6px; }
.stats dd { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--text-muted); }

.bread-strip { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bread-strip li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.bread-strip img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; transition: transform 0.6s ease; }
.bread-strip li:hover img { transform: scale(1.04); }
.bread-strip a { display: block; color: inherit; text-decoration: none; }
.bread-strip a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius); }
.bread-strip span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.85), transparent);
  color: var(--on-dark); font-family: var(--serif); font-size: 1.1rem;
}

/* Family */
.family { position: relative; overflow: hidden; }
.family::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 190, 100, 0.16), transparent);
  pointer-events: none;
}
.family-head { max-width: 760px; }
.family-head .lead { color: var(--on-dark-muted); }
.family-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 48px 0 44px; }
.card { background: var(--char-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px; }
.card h3 { color: var(--gold); }
.card p { color: var(--on-dark-muted); margin: 0; }
.family-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.news-tag {
  display: flex; align-items: center; gap: 12px; margin: -4px 0 14px;
  color: var(--on-dark-muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.about-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); margin-top: 48px; align-items: start; }
.about-news-text h3 { color: var(--gold); margin-top: 0.4em; }
.about-news-text p { color: var(--on-dark-muted); margin-bottom: 1.6em; }
.about-news-grid .family-cards { grid-template-columns: 1fr; margin: 0; }

/* Timeline */
.timeline-title { text-align: center; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin: clamp(72px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); }
.timeline-wrap { position: relative; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line-light); }
.timeline-fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--gold-deep)); transform: scaleY(0); transform-origin: top; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; width: 50%; padding: 0 48px 30px 0; text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 30px 48px; text-align: left; }
.timeline li + li { margin-top: -44px; }
.timeline li::before {
  content: ""; position: absolute; top: 10px; right: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold-deep); box-sizing: border-box;
  transition: background-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.timeline li:nth-child(even)::before { right: auto; left: -9px; }
.timeline li.is-visible::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(225, 190, 100, 0.2); }
.tl-year { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; color: var(--gold-deep); margin-bottom: 4px; font-variant-numeric: lining-nums; }
.timeline li p { margin: 0; color: var(--text-muted); max-width: 26em; display: inline-block; }
.timeline .tl-highlight .tl-year { color: var(--text); }
.timeline .tl-highlight p { color: var(--text); font-weight: 700; }
.timeline .tl-highlight::before { width: 24px; height: 24px; top: 7px; right: -12px; }
.timeline .tl-highlight:nth-child(even)::before { left: -12px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro p { color: var(--text-muted); }
.faq-photo { margin-top: 28px; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list details:first-child { border-top: 1px solid var(--line-light); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-family: var(--serif); font-size: 1.22rem; color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-light); font-family: var(--sans); font-size: 1.2rem; color: var(--gold-deep);
  transition: transform 0.25s, background-color 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--cream); }
.faq-list details p { margin: -4px 0 24px; color: var(--text-muted); max-width: 40em; }
.faq-list details a { color: var(--gold-deep); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.address { font-style: normal; color: var(--on-dark-muted); margin: 8px 0 18px; line-height: 1.8; }
.address strong { color: var(--on-dark); }
.socials { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 12px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark); transition: border-color 0.2s, color 0.2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: var(--char); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0; font-size: 0.94rem; }
.contact-card h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 6px; }
.contact-card a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold); }

/* Footer */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--char); color: var(--on-dark-muted); font-size: 0.95rem;
  border-top: 3px solid var(--gold); padding: clamp(56px, 7vw, 88px) 0 0;
}
.site-footer::before {
  content: ""; position: absolute; right: -40px; bottom: 40px; z-index: -1; width: 560px; height: 334px;
  background: url("/assets/img/script-sourdough-specialist.webp") no-repeat center / contain; opacity: 0.04; pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(44px, 6vw, 72px); }
.footer-brand img { width: 160px; height: auto; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 10px; max-width: 24em; }
.footer-family a { color: var(--gold); text-decoration: none; font-weight: 700; }
.footer-family a:hover { text-decoration: underline; }
.footer-brand .socials { margin-top: 22px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer-title { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer-col a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--gold); transform: translateX(3px); }
.footer-col address { font-style: normal; line-height: 1.75; }
.footer-col .footer-link-gold { color: var(--gold); font-weight: 700; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding: 22px 0 26px; border-top: 1px solid var(--line-dark); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.to-top { color: var(--on-dark); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; }
.to-top span { display: inline-block; transition: transform 0.3s; }
.to-top:hover { color: var(--gold); }
.to-top:hover span { transform: translateY(-3px); }
.legal { font-size: 0.82rem; }

/* Article page */
.page-article .site-header { background: rgba(15, 13, 11, 0.94); box-shadow: 0 1px 0 var(--line-dark); }
.article-hero { background: var(--char); color: var(--on-dark); padding: calc(var(--header-h) + 64px) 0 56px; }
.article-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); max-width: 18em; }
.article-hero .standfirst { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 40em; margin: 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 28px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.article-photo { background: var(--paper); padding-top: 48px; }
.article-photo img { border-radius: var(--radius); width: 100%; max-height: 540px; object-fit: cover; }
.article-body { background: var(--paper); padding: 48px 0 clamp(72px, 9vw, 120px); }
.prose { max-width: 720px; margin-inline: auto; color: var(--text); }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose p { color: #4a4037; }
.prose .callout { background: var(--cream); border-left: 3px solid var(--gold-deep); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 2em 0; font-size: 0.98rem; }
.prose .callout p { margin: 0; color: var(--text); }
.prose .callout a { color: var(--gold-deep); font-weight: 700; }
.prose .signature { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); }
.back-link { display: inline-block; margin-top: 24px; color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  /* Stacked hero: the loaf on top, lettering below it on the dark slate */
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 56px; background: var(--ink); }
  .hero::before { display: none; }
  .hero-media { position: relative; display: block; z-index: 0; height: min(84vw, 560px); }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15, 13, 11, 0.35) 0%, rgba(15, 13, 11, 0) 22%, rgba(15, 13, 11, 0) 55%, var(--ink) 100%);
  }
  .hero-content { position: relative; margin-top: max(-16vw, -110px); }

  .story-grid, .faq-grid, .contact-grid, .about-news-grid { grid-template-columns: 1fr; }
  .timeline-line { left: 9px; }
  .timeline li, .timeline li:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 28px 44px; text-align: left; }
  .timeline li + li { margin-top: 0; }
  .js .timeline li[data-reveal], .js .timeline li:nth-child(even)[data-reveal] { transform: translateY(24px); }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .timeline .tl-highlight::before, .timeline .tl-highlight:nth-child(even)::before { left: -3px; }
  .faq-intro { position: static; }
  .faq-photo { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: transparent; border: 1px solid rgba(246, 239, 226, 0.4); cursor: pointer; color: var(--on-dark);
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.25s, background-color 0.25s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: rgba(15, 13, 11, 0.97); border-bottom: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid rgba(225, 190, 100, 0.12); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1.5px solid var(--gold); }
  .site-header.menu-open { background: rgba(15, 13, 11, 0.97); }
}

@media (max-width: 699px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .brand img { width: 112px; }
  .script-your { width: 92px; }
  .script-specialist { width: min(300px, 82vw); }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .news-pill { font-size: 0.85rem; border-radius: 18px; align-items: flex-start; padding: 10px 14px 10px 10px; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
  .bread-strip { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  /* three loaves on a phone: the cob runs full width, the other two sit side by side */
  .bread-strip li:first-child { grid-column: 1 / -1; }
  .bread-strip li:first-child img { aspect-ratio: 16 / 10; }
  .bread-strip span { font-size: 0.95rem; padding: 32px 12px 12px; }
  .family-cards, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .site-footer::before { width: 300px; height: 180px; right: -30px; bottom: 70px; }
  .card { padding: 24px; }
  .faq-list summary { font-size: 1.08rem; padding: 18px 0; }
}

/* Video: YouTube is only loaded after a click, the poster and thumbnails are local images */
.video-block { margin-top: clamp(72px, 9vw, 112px); }
.video-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.video-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 0.4em; }
.video-head p:last-child { color: var(--text-muted); margin: 0; }
.video-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: 0 34px 70px -34px rgba(15, 13, 11, 0.55);
}
.video-poster { position: absolute; inset: 0; display: block; color: var(--on-dark); text-decoration: none; }
.video-poster[hidden] { display: none; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 13, 11, 0.75), rgba(15, 13, 11, 0.05) 45%); }
.video-poster:hover img { transform: scale(1.04); }
.video-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.video-play::before {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px;
  border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--ink);
}
.video-play::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); animation: ring 2.4s ease-out infinite; }
.video-poster:hover .video-play { transform: scale(1.08); }
.video-label {
  position: absolute; left: 24px; bottom: 20px; z-index: 1; display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); font-size: 1.2rem;
}
.video-label span { font-family: var(--sans); font-size: 0.85rem; color: var(--on-dark-muted); }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.video-thumb { display: block; text-decoration: none; color: var(--text); border-radius: 10px; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.25s, transform 0.35s; }
.video-thumb:hover img { transform: translateY(-3px); }
.video-thumb.is-active img { outline-color: var(--gold-deep); }
.video-thumb-name { display: block; margin-top: 8px; font-weight: 700; font-size: 0.88rem; }
.video-thumb-len { display: block; font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 699px) {
  .video-play { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .video-play::before { margin: -10px 0 0 -6px; border-width: 10px 0 10px 17px; }
  .video-label { left: 16px; bottom: 14px; font-size: 1rem; }
  .video-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-list li { scroll-snap-align: start; }
}

/* Faint handwritten words behind sections (like the footer watermark). Static, no animation. */
[data-script] { position: relative; isolation: isolate; }
[data-script]::after {
  content: attr(data-script); position: absolute; left: var(--sx, 50%); top: var(--sy, 10%); z-index: -1;
  transform: translate(-50%, -50%) rotate(var(--sr, -6deg));
  font-family: "Kaushan Script", "Brush Script MT", cursive; font-size: var(--ss, clamp(4.2rem, 11vw, 11rem));
  line-height: 1; white-space: nowrap; color: var(--on-dark); opacity: 0.045;
  pointer-events: none; user-select: none;
}
.section-paper[data-script]::after, .section-paper [data-script]::after { color: var(--text); opacity: 0.05; }
.footer-bottom a { color: var(--gold); text-decoration: none; font-weight: 700; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Motion ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%;
}

@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes write-in { from { clip-path: inset(-12% 100% -12% 0); } to { clip-path: inset(-12% -4% -12% 0); } }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.35, 1.9); } }
@keyframes drift { to { transform: translate(-260px, 180px) scale(1.15); } }

/* Hero entrance: photo settles, lettering is "written" left to right, the rest rises in */
.js .hero-stage { animation: hero-zoom 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero-in { opacity: 0; animation: fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) forwards; }
.js .script-your { clip-path: inset(-12% 100% -12% 0); animation: write-in 0.9s cubic-bezier(0.6, 0.05, 0.3, 1) 0.45s forwards; }
.js .script-specialist { clip-path: inset(-12% 100% -12% 0); animation: write-in 1.3s cubic-bezier(0.6, 0.05, 0.3, 1) 0.85s forwards; }
/* Flour dust: two tiled layers drift up at different speeds (compositor-only, no per-frame drawing) */
.hero-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dust-sway { position: absolute; inset: 0; animation: dust-sway 11s ease-in-out infinite alternate; }
.dust-sway-slow { animation-duration: 15s; animation-direction: alternate-reverse; }
.dust-layer {
  position: absolute; left: -20px; right: -20px; top: 0; height: calc(100% + 512px);
  background-repeat: repeat; background-size: 512px 512px; will-change: transform;
  animation: dust-rise 70s linear infinite;
}
.dust-near { animation-duration: 42s; background-image: url(/assets/img/dust-near.webp); }
.dust-far { opacity: 0.7; background-image: url(/assets/img/dust-far.webp); }
@keyframes dust-rise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -512px, 0); } }
@keyframes dust-sway { from { transform: translate3d(-10px, 0, 0); } to { transform: translate3d(10px, 0, 0); } }
/* Lighter mode for slow machines (switched on by JS after a frame-rate check) */
.lite .hero-dust, .lite .hero-steam { display: none; }
.lite .family::before, .lite .news-pill-tag::after { animation: none; }

.news-pill-tag { position: relative; }
.news-pill-tag::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px; border: 1px solid var(--gold);
  animation: ring 2.4s ease-out infinite;
}
.news-pill > span:last-child { transition: transform 0.3s; }
.news-pill:hover > span:last-child { transform: translateX(5px); }

/* Gold ribbon under the hero */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; padding: 15px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; white-space: nowrap; padding-right: 1.7rem; }
.ticker span::before { content: "✦"; display: inline-block; font-style: normal; font-size: 0.7em; opacity: 0.55; margin-right: 1.7rem; transform: translateY(-2px); }

/* Scroll reveal (only when JS is on, so content never stays hidden without it) */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .timeline li[data-reveal] { transform: translateX(-36px); }
.js .timeline li:nth-child(even)[data-reveal] { transform: translateX(36px); }
.js .timeline li:nth-child(n)[data-reveal].is-visible { transform: none; }
/* "Rising bread": the story photo grows from the bottom as the section scrolls by (scale set in JS) */
.story-photo img { transform-origin: 50% 100%; will-change: transform; }

/* Headings rise in word by word */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.js .w-in {
  display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%;
  transition: transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--wi, 0) * 70ms + 0.05s);
}
.js .is-visible .w-in { transform: none; }

[data-count] { font-variant-numeric: lining-nums tabular-nums; }

/* Hover life */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s ease;
}
.btn-gold:hover::after { transform: translateX(120%); }

.js .bread-strip li.is-visible, .js .card.is-visible, .js .contact-card.is-visible {
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s, border-color 0.35s;
}
.bread-strip li:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(15, 13, 11, 0.7); }
.bread-strip span { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bread-strip span::after { content: ""; display: block; width: 0; height: 2px; margin-top: 8px; background: var(--gold); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bread-strip li:hover span::after { width: 44px; }

.card:hover, .contact-card:hover { transform: translateY(-4px); border-color: rgba(225, 190, 100, 0.55); box-shadow: 0 30px 60px -30px rgba(225, 190, 100, 0.28); }
.family::before { animation: drift 16s ease-in-out infinite alternate; }

.socials a { transition: border-color 0.2s, color 0.2s, transform 0.3s; }
.socials a:hover { transform: translateY(-3px); }

.faq-list summary { transition: color 0.2s; }
.faq-list summary:hover { color: var(--gold-deep); }
.faq-body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js .hero-in { opacity: 1 !important; transform: none !important; }
  .js .script-your, .js .script-specialist { clip-path: none !important; }
  .story-photo img { transform: none !important; }
  .js .w-in { transform: none !important; }
  .hero-dust, .hero-steam, .scroll-progress { display: none; }
}
