/* Bread Batch Notebook – landing. Flour-cream paper, ultramarine of the icon, crust orange; Fraunces + Work Sans. */

@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url("/assets/fonts/fraunces-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/work-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/work-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/work-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f7f2e7;
  --paper: #fffdf8;
  --sunk: #efe7d7;
  --line: #e2d7c3;
  --ink: #1b1a2e;
  --soft: #4f4a5c;
  --blue: #0b19d9;
  --blue-dark: #0a128f;
  --blue-tint: #e2e5fd;
  --crust: #d9662a;
  --crust-dark: #9b3f0e;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--soft); }
.kicker { font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .8em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header with the score rule (three curved cuts like on a loaf) */
.top { padding-top: 18px; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand img { width: 214px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { font-weight: 500; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sunk); }
.score { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.score i { width: 20px; height: 10px; border-top: 4px solid var(--blue); border-radius: 50%; transform: rotate(-20deg); margin-top: 8px; }
.score i:nth-child(2) { border-top-color: var(--crust); }
.score span { flex: 1; height: 2px; background: var(--ink); margin-left: 6px; }

/* Hero: text-led, two screens on baking-paper sheets over the linen */
.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 1.18rem; color: var(--soft); max-width: 34em; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 28px 0 22px; }
.link { font-weight: 600; text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.facts li { border: 1.5px solid var(--line); background: var(--paper); border-radius: 8px; padding: 4px 12px; font-weight: 500; font-size: .95rem; }
.hero__shots { position: relative; min-height: 560px; background: url("/assets/app/linen.webp") center / cover; border-radius: 28px; padding: 32px; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.hero__shots .sheet { width: 54%; }
.hero__shots .sheet--1 { transform: rotate(-3deg); z-index: 2; }
.hero__shots .sheet--2 { transform: rotate(4deg) translate(-8%, 14%); }

.sheet { margin: 0; background: var(--paper); border: 3px solid var(--blue); border-radius: 24px; padding: 8px; box-shadow: 0 18px 40px rgba(90, 74, 46, .22); }
.sheet img { border-radius: 16px; }
.sheet--crop { max-height: 620px; overflow: hidden; }

/* CTA */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--blue-dark); color: #fff; }
.cta--soon { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); cursor: default; }

/* Formula: the recipe as a card */
.formula { padding: 72px 0; background: var(--paper); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.formula__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.formula__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.formula__facts div { border-top: 3px solid var(--crust); padding-top: 10px; }
.formula__facts dt { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.formula__facts dd { margin: 4px 0 0; color: var(--soft); font-size: .95rem; }
.card { margin: 0; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 18px; padding: 24px 26px; }
.card figcaption { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 10px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.n { text-align: right; white-space: nowrap; }
tr.flour td:last-child { color: var(--blue); font-weight: 600; }
tfoot th, tfoot td { font-weight: 600; border-bottom: 0; }
.card__note { margin: 14px 0 0; font-size: .95rem; color: var(--crust-dark); }

/* Stages: alternating story with a stage strip */
.stages { padding: 80px 0 40px; }
.strip { display: flex; list-style: none; padding: 0; margin: 8px 0 48px; gap: 4px; counter-reset: s; }
.strip li { flex: 1; }
.strip a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; padding: 14px 6px 0; border-top: 8px solid var(--crust); text-align: center; }
.strip li:nth-child(n+4) a { border-top-color: var(--blue); }
.strip li:last-child a { border-top-color: var(--line); }
.stage { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0; border-bottom: 1.5px dashed var(--line); }
.stage:last-child { border-bottom: 0; }
.stage--flip .stage__text { order: 2; }
.stage .sheet { max-width: 360px; justify-self: center; }
.stage__num { font-weight: 600; color: var(--crust-dark); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.stage ul { padding-left: 0; list-style: none; margin: 0; }
.stage li { padding-left: 30px; position: relative; margin: 6px 0; }
.stage li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 9px; border-top: 3.5px solid var(--crust); border-radius: 50%; transform: rotate(-20deg); }

/* Gallery rail */
.gallery { padding: 64px 0; background: url("/assets/app/linen.webp") center / cover; }
.gallery__rail { display: flex; gap: 24px; overflow-x: auto; padding: 16px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 28px; scroll-snap-type: x mandatory; }
.gallery__rail .sheet { flex: 0 0 260px; scroll-snap-align: start; }
.gallery__rail figcaption { font-size: .88rem; color: var(--soft); padding: 10px 4px 2px; }

/* Exports + privacy */
.duo { padding: 80px 0; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__box { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 32px; }
.duo__box--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.duo__box--blue a { color: #fff; }
.duo__box--blue ul { padding-left: 1.2em; }
.exports { margin: 0; }
.exports div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.exports div:last-child { border-bottom: 0; }
.exports dt { font-weight: 600; }
.exports dd { margin: 2px 0 0; color: var(--soft); }

/* FAQ */
.faq { padding: 24px 0 80px; }
details { border-bottom: 1.5px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 14px 0; min-height: 44px; list-style-position: outside; }
details p { color: var(--soft); }

/* Final CTA */
.final { padding: 56px 0; background: var(--paper); border-top: 1.5px solid var(--line); }
.final__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.final__row img { border-radius: 22px; }
.final__row div { flex: 1; min-width: 220px; }
.final__row h2 { margin-bottom: .1em; }
.final__row p { margin: 0; color: var(--soft); }

/* Documents (privacy, help) */
.doc { padding: 48px 0 80px; }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc li { margin: 6px 0; }

/* Footer */
.foot { background: var(--ink); color: #e8e6f2; padding: 48px 0 28px; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 10px 0 2px; color: #fff; }
.foot__label { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: #b9b6cc; }
.foot__small { font-size: .9rem; color: #c9c6d8; }
.foot__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid #3a3850; font-size: .88rem; color: #b9b6cc; }

@media (max-width: 900px) {
  .hero__grid, .formula__grid, .stage, .duo__grid, .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .stage--flip .stage__text { order: 0; }
  .hero { padding-top: 32px; }
  .hero__shots { min-height: 0; padding: 24px 16px 0; height: 520px; }
  .strip { flex-wrap: wrap; }
  .strip li { flex: 1 1 30%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 176px; }
  .hero__shots { height: 430px; }
  .hero__shots .sheet { width: 62%; }
  .formula__facts { grid-template-columns: 1fr; }
  .card { padding: 18px 14px; }
  th, td { padding: 9px 4px; }
  .duo__box { padding: 24px 20px; }
}
