/* Ekşi Maya Fırını — klasik. Flour-white page, crust-black ink, one baked-crust brown, an oven-charcoal field. */

@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/youngserif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/youngserif-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: 'Red Hat Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/redhattext-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/redhattext-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 {
  --paper: #f5f5f2;
  --paper-2: #ebeae5;
  --white: #fff;
  --ink: #201b17;
  --ink-2: #4f4740;
  --line: #d6d2ca;
  --crust: #8a4318;
  --crust-d: #6c3311;
  --oven: #1b1815;
  --oven-2: #27221e;
  --on-dark: #f3eee6;
  --on-dark-2: #c7bdb0;
  --wheat: #dcae68;
  --err: #a1251a;
  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr: 64px;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); scrollbar-color: #8f857a var(--paper-2); }
html:not(.anim) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.anim) { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: 'kern'; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; caret-color: var(--crust); }
::selection { background: var(--crust); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.skip:hover { background: var(--crust-d); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #a59a8e; border-radius: 8px; border: 3px solid var(--paper-2); }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.sec { padding-block: clamp(84px, 10vw, 152px); }
.why, .day, .steps, .flours, .order, .stale, .find { background: var(--paper); }
.breads, .starter, .planner, .crust, .keep, .faq { background: var(--paper-2); }

/* ---------- type ---------- */
.h2, .h3, .hero__h1 { font-family: var(--serif); font-weight: 400; text-wrap: balance; margin: 0; }
.hero__h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; }
.h2 { font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; }
.h4 { font: 600 1.075rem/1.3 var(--sans); margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-2); max-width: 75ch; margin-top: 28px; }
.fine--dark { color: var(--on-dark-2); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.sec__head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sec__head--row > div:first-child { display: grid; gap: 18px; max-width: 760px; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.facts li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
.facts strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--crust); color: var(--white); }
.btn--primary:hover { background: var(--crust-d); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: inline-grid; place-items: center; transition: background-color .2s, color .2s; }
.round:hover { background: var(--ink); color: var(--paper); }
.round:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); }

.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > label, .field > legend, .quick label, .quick__l, .jar__ctl label, .bake label { font-size: .875rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field > legend { margin-bottom: 8px; }
input[type=text], input[type=tel], input[type=time], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9b2a7; border-radius: var(--r); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 72px; }
input::placeholder, textarea::placeholder { color: #6e655c; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--crust); box-shadow: 0 0 0 3px rgba(138, 67, 24, .22); }
[aria-invalid=true] { border-color: var(--err) !important; }
select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23201b17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center; }
input[type=time]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.err { color: var(--err); font-size: .875rem; font-weight: 500; }

.step { display: inline-flex; align-items: center; border: 1px solid #b9b2a7; border-radius: var(--r); background: var(--white); min-height: 48px; }
.step__b { width: 44px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; border-radius: var(--r); color: var(--ink); }
.step__b:hover { background: var(--paper-2); }
.step__b:disabled { color: #a49b90; cursor: default; background: transparent; }
.step__v { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.range { display: flex; align-items: center; gap: 14px; }
.range output { min-width: 4.5ch; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
input[type=range] { --p: 50%; flex: 1; min-width: 0; appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--crust) var(--p), #c9c3b9 var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: #c9c3b9; }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--crust); }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--crust); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(32, 27, 23, .35); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--crust); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(32, 27, 23, .35); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(138, 67, 24, .3); }

.seg__row { justify-self: start; max-width: 100%; display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid #b9b2a7; border-radius: var(--r); background: var(--white); padding: 3px; }
.seg__row--wrap { gap: 3px; }
.seg__o { position: relative; display: block; }
.seg__o input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__o span { display: block; padding: 9px 14px; border-radius: 7px; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; white-space: nowrap; }
.seg__o input:hover + span { background: var(--paper-2); }
.seg__o input:checked + span { background: var(--ink); color: var(--paper); }
.seg__o input:focus-visible + span { outline: 2px solid var(--crust); outline-offset: 2px; }

/* ---------- photo frames ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: #d9d3c9; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: 3px 9px; border-radius: 6px; font-size: .75rem; font-weight: 500; background: rgba(245, 245, 242, .9); color: var(--ink); line-height: 1.5; }
.tag--on-dark { background: rgba(20, 16, 13, .62); color: var(--on-dark); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: rgba(245, 245, 242, .96); color: var(--ink); border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
html.js .hdr.is-over { background: transparent; color: var(--on-dark); border-color: transparent; }
html.js .hdr.is-over .btn--primary { background: var(--paper); color: var(--ink); }
html.js .hdr.is-over .btn--primary:hover { background: var(--white); }
html.js .hdr.is-over .lang, html.js .hdr.is-over .mtog { border-color: rgba(243, 238, 230, .45); }
html.js .hdr.is-over .lang__b[aria-pressed=true] { background: var(--on-dark); color: var(--ink); }
html.js .hdr.is-over :focus-visible { outline-color: var(--on-dark); }
.hdr__in { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand__a { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.01em; }
.brand__b { font-size: .95rem; font-weight: 500; opacity: .85; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .3s var(--ease); }
.nav a:hover { background-size: 100% 1px; }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.lang__b { border: 0; background: transparent; padding: 5px 9px; border-radius: 6px; font-size: .8125rem; font-weight: 600; }
.lang__b[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.mtog { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 10px; font-size: .8125rem; font-weight: 600; }
.mtog__dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.mtog[aria-pressed=true] .mtog__dot { background: currentColor; }
.hdr__cta { min-height: 42px; padding: 0 18px; }
.hdr__ctaS { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: transparent; place-items: center; border-radius: 8px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .nav.is-open { display: flex; position: fixed; top: var(--hdr); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 3vw, 40px) 20px; box-shadow: 0 18px 30px -18px rgba(32, 27, 23, .35); }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; background: none; }
}
@media (max-width: 640px) {
  .hdr__in { gap: 6px; }
  .hdr__tools { gap: 6px; }
  .brand__a { font-size: 1.25rem; }
  .brand__b { display: none; }
  .mtog span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mtog { padding: 0; width: 34px; height: 34px; justify-content: center; }
  .hdr__ctaL { display: none; }
  .hdr__ctaS { display: inline; }
  .hdr__cta { padding: 0 14px; }
  .lang__b { padding: 5px 7px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: var(--on-dark); background: var(--oven); min-height: max(660px, 100svh); display: flex; }
.hero__media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 17, 13, .86) 0%, rgba(22, 17, 13, .62) 38%, rgba(22, 17, 13, .12) 72%), linear-gradient(0deg, rgba(22, 17, 13, .7) 0%, rgba(22, 17, 13, 0) 45%); }
.hero__media .tag { left: auto; right: 16px; bottom: 16px; z-index: 1; }
.hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(28px, 4vh, 48px); padding-top: calc(var(--hdr) + 48px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__copy { display: grid; gap: 22px; max-width: 760px; }
.hero__h1 { max-width: 12ch; }
.hero__lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 50ch; color: #e6ded3; }
.quick { display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1.35fr) minmax(0, 1.05fr) auto; align-items: end; gap: 14px 16px; background: var(--paper); color: var(--ink); padding: 20px 22px 16px; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); max-width: 1080px; }
.quick__f { display: grid; gap: 7px; min-width: 0; }
.quick__go { min-height: 48px; padding: 0 30px; }
.quick__note { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 1000px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .quick__f--bread { grid-column: 1 / -1; }
  .quick__go { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: var(--paper); }
  .hero__media { position: relative; height: 74svh; min-height: 460px; max-height: 720px; }
  .hero__media img { object-position: 50% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(22, 17, 13, .9) 0%, rgba(22, 17, 13, .55) 42%, rgba(22, 17, 13, .1) 70%); }
  .hero__media .tag { top: calc(var(--hdr) + 12px); bottom: auto; }
  .hero__in { display: contents; }
  .hero__copy { position: absolute; left: 0; right: 0; top: 0; height: min(max(460px, 74svh), 720px); align-content: end; padding: 0 20px 28px; z-index: 1; }
  .hero__lede { font-size: 1.05rem; }
  .quick { position: relative; margin: -2px 0 0; border-radius: 0; box-shadow: none; padding: 22px 20px 30px; border-bottom: 1px solid var(--line); }
}

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__text { display: grid; gap: 22px; }
.why__text > p:last-child { max-width: 60ch; color: var(--ink-2); }
.why__fig { aspect-ratio: 4 / 5; border-radius: 4px; }
.how { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.how__i { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.how__t { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--crust); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.how__i p { color: var(--ink-2); max-width: 38ch; }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; } .why__fig { max-height: 560px; aspect-ratio: 4 / 4.2; } .how { grid-template-columns: 1fr; } }

/* ---------- breads ---------- */
.grid-breads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.bread { display: grid; gap: 20px; align-content: start; }
.bread__fig { aspect-ratio: 4 / 5; border-radius: 4px; }
.bread__fig img { transition: transform 1.2s var(--ease); }
.bread:hover .bread__fig img { transform: scale(1.035); }
.bread__body { display: grid; gap: 12px; }
.bread__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bread__out { font-size: .875rem; font-weight: 600; color: var(--crust); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bread__body > p { color: var(--ink-2); }
.spec { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 12px; margin: 4px 0 0; padding: 14px 0; border-block: 1px solid var(--line); }
.spec div { min-width: 0; }
.spec dt { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.spec dd { margin: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.bread__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.price { font-size: .875rem; color: var(--ink-2); }
.bread__foot .btn { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
@media (max-width: 1100px) { .grid-breads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-breads { grid-template-columns: 1fr; } .bread__fig { aspect-ratio: 4 / 4.4; } }

/* ---------- the loaf (signature) ---------- */
.loaf { background: var(--oven); color: var(--on-dark); padding-block: clamp(84px, 10vw, 152px); }
.loaf :focus-visible { outline-color: var(--wheat); }
.loaf .lede { color: var(--on-dark-2); }
.loaf__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.loaf__head .h2 { max-width: 18ch; }
.loaf__body { display: block; }
.loaf__stage { display: none; }
.loaf__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.ls { display: grid; gap: 10px; align-content: start; }
.ls__fig { aspect-ratio: 4 / 5; border-radius: 4px; margin-bottom: 10px; background: var(--oven-2); }
.ls__time { font-size: .9375rem; font-weight: 600; color: var(--wheat); font-variant-numeric: tabular-nums; }
.ls p:last-child { color: var(--on-dark-2); }
@media (max-width: 1100px) { .loaf__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .loaf__steps { grid-template-columns: 1fr; } }

html.gl .loaf__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); }
html.gl .loaf__stage { display: block; position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); }
html.gl .loaf__canvas { position: absolute; inset: 0 0 88px; }
html.gl .loaf__canvas canvas { display: block; width: 100% !important; height: 100% !important; }
html.gl .loaf__steps { display: block; padding-block: 18vh 30vh; }
html.gl .ls { min-height: 128vh; align-content: center; max-width: 460px; transition: color .5s var(--ease); }
html.gl .ls:not(.is-active), html.gl .ls:not(.is-active) p:last-child { color: #9c9286; }
html.gl .ls:not(.is-active) .ls__time { color: #a8916c; }
html.gl .ls__fig { display: none; }
html.gl .ls .h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.3rem); }
.loaf__hud { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 40px; align-items: flex-end; }
.hud__c { display: grid; gap: 2px; }
.hud__l { font-size: .8125rem; color: var(--on-dark-2); font-weight: 500; }
.hud__v { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.loaf__bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.loaf__bar li { height: 3px; border-radius: 2px; background: rgba(243, 238, 230, .18); transition: background-color .4s; }
.loaf__bar li.is-on { background: var(--wheat); }
@media (max-width: 900px) {
  html.gl .loaf__body { display: block; }
  html.gl .loaf__stage { top: var(--hdr); height: 46svh; z-index: 2; background: var(--oven); margin-inline: calc(-1 * clamp(20px, 4vw, 56px)); padding-inline: clamp(20px, 4vw, 56px); }
  html.gl .loaf__canvas { inset: 0 0 64px; }
  .loaf__hud { bottom: 16px; left: clamp(20px, 4vw, 56px); gap: 28px; }
  .hud__v { font-size: 1.6rem; }
  .loaf__bar { left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: 4px; }
  html.gl .loaf__steps { padding-block: 6vh 20vh; }
  html.gl .ls { min-height: 64svh; }
}

/* ---------- the day ---------- */
.day__nav { display: flex; gap: 10px; }
.day__pin { overflow: hidden; }
.day__track { list-style: none; margin: 0; padding: 4px max(clamp(20px, 4vw, 56px), calc((100vw - 1320px) / 2 + 56px)) 24px; display: flex; gap: clamp(20px, 2vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day__track:focus-visible { outline-offset: -2px; }
.hour { flex: 0 0 clamp(264px, 29vw, 430px); scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.hour__fig { aspect-ratio: 4 / 5; border-radius: 4px; margin-bottom: 8px; }
.hour__t { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--crust); font-variant-numeric: tabular-nums; }
.hour p:last-child { color: var(--ink-2); font-size: 1rem; }
.day__track.is-pinned { overflow: visible; scroll-snap-type: none; width: max-content; }

/* ---------- starter ---------- */
.starter__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.starter__text { display: grid; gap: 20px; }
.starter__text > p:not(.lede) { color: var(--ink-2); max-width: 62ch; }
.jar { background: var(--paper); border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 28px; align-items: center; }
.jar__svg { width: 100%; height: auto; overflow: visible; }
.jar__glass { fill: none; stroke: var(--ink-2); stroke-width: 2.5; }
.jar__lid { fill: var(--ink); }
.jar__fill { fill: #e6dac4; stroke: #c9b896; stroke-width: 1.5; }
.jar__bubbles circle { fill: var(--paper); stroke: #b8a684; stroke-width: 1; }
.jar__band { stroke: var(--crust); stroke-width: 6; stroke-linecap: round; }
.jar__bandL { font: 500 13px var(--sans); fill: var(--crust); }
.jar__ctl { display: grid; gap: 12px; min-width: 0; }
.jar__state { font-weight: 500; min-height: 3.2em; }
.jar__ctl .fine { margin-top: 0; }
@media (max-width: 960px) { .starter__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .jar { grid-template-columns: 1fr; } .jar__svg { max-width: 200px; margin-inline: auto; } }

/* ---------- dough steps ---------- */
.steps__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps__side { display: grid; gap: 22px; position: sticky; top: calc(var(--hdr) + 32px); }
.steps__fig { aspect-ratio: 3 / 2; border-radius: 4px; margin-top: 12px; }
.stl { list-style: none; margin: 0; padding: 0; }
.stl li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); }
.stl li:last-child { border-bottom: 1px solid var(--line); }
.stl__n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--crust); }
.stl li > div { display: grid; gap: 6px; }
.stl__r { font-weight: 600; font-variant-numeric: tabular-nums; }
.stl li p:last-child { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) { .steps__grid { grid-template-columns: 1fr; } .steps__side { position: static; } .stl li { grid-template-columns: 44px minmax(0, 1fr); } .stl__n { font-size: 1.8rem; } }

/* ---------- planner ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.plan__in { background: var(--paper); border-radius: 14px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 24px; }
.plan__track { display: grid; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.plan__track .btn { justify-self: start; margin-top: 16px; }
.plan__live { font-size: .9375rem; color: var(--ink); min-height: 1.5em; }
.plan__out { display: grid; gap: 36px; min-width: 0; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: .8125rem; font-weight: 600; color: var(--ink-2); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td:first-child { padding-right: 20px; font-weight: 500; }
.tbl td:last-child { min-width: 9.5em; }
.tbl .day-off { white-space: nowrap; color: var(--ink-2); font-size: .875em; }
.tbl tr.is-now td { color: var(--crust); }
.strips { display: grid; gap: 14px; }
.strips .fine { margin-top: 4px; }
.strip { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 9.5rem; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.strip__bar { position: relative; height: 12px; border-radius: 6px; background: #d9d4cb; }
.strip__win { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: #b88e6e; }
.strip.is-mid .strip__win { background: var(--crust); }
.strip.is-mid { font-weight: 600; }
.strip__v { text-align: right; white-space: nowrap; }
@media (max-width: 960px) { .plan { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .strip { grid-template-columns: 3.6rem minmax(0, 1fr); } .strip__v { grid-column: 2; text-align: left; } }

/* ---------- flours ---------- */
.flours__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.fl { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.fl p { color: var(--ink-2); }
@media (max-width: 1000px) { .flours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flours__grid { grid-template-columns: 1fr; } }

/* ---------- crust ---------- */
.crust__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.crust__fig { aspect-ratio: 4 / 5; border-radius: 4px; }
.crust__text { display: grid; gap: 22px; }
.bake { background: var(--paper); border-radius: 14px; padding: 24px; display: grid; gap: 12px; }
.bake__row { display: flex; align-items: center; gap: 18px; }
.bake__sw { flex: 0 0 64px; height: 64px; border-radius: 12px; background: #b97a3c; box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .18); transition: background-color .25s; }
.bake__txt { font-weight: 500; min-height: 3em; }
.bake__scale { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; border-radius: 4px; overflow: hidden; }
.bake__scale span:nth-child(1) { background: #e7dccb; }
.bake__scale span:nth-child(2) { background: #dcbb86; }
.bake__scale span:nth-child(3) { background: #c48a47; }
.bake__scale span:nth-child(4) { background: #94552a; }
.bake__scale span:nth-child(5) { background: #5f3417; }
.bake .fine { margin-top: 0; }
@media (max-width: 900px) { .crust__grid { grid-template-columns: 1fr; } .crust__fig { aspect-ratio: 4 / 3.6; } }

/* ---------- order ---------- */
.order__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.oform { display: grid; gap: 28px; }
.oform__breads { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.oform__breads legend { margin-bottom: 8px; }
.olines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.oline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.oline__img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #d9d3c9; }
.oline__n { font-weight: 600; }
.oline__m { font-size: .8125rem; color: var(--ink-2); }
.oline.has-qty .oline__n { color: var(--crust); }
.oform__two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.oform__foot { display: grid; gap: 4px; justify-items: start; }
.oform__foot .fine { margin-top: 10px; }
.osum { position: sticky; top: calc(var(--hdr) + 24px); background: var(--paper-2); border-radius: 14px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.osum__body { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.osum__row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.osum__empty { color: var(--ink-2); }
.osum__meta { color: var(--ink-2); font-size: .9375rem; }
.slip { display: grid; gap: 14px; padding-top: 18px; border-top: 1px dashed #a59a8e; }
.slip:focus { outline: none; }
.slip__pre { margin: 0; white-space: pre-wrap; font: 500 .9375rem/1.6 var(--sans); font-variant-numeric: tabular-nums; background: var(--white); padding: 18px; border-radius: 8px; }
.slip__act { display: flex; gap: 10px; flex-wrap: wrap; }
.slip .fine { margin-top: 0; }
.slip__msg { font-weight: 600; color: var(--crust); min-height: 1.5em; }
.pk { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: pk; }
.pk li { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; align-content: start; counter-increment: pk; }
.pk li::before { content: counter(pk); font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--crust); margin-bottom: 6px; }
.pk p { color: var(--ink-2); }
@media (max-width: 960px) { .order__grid { grid-template-columns: 1fr; } .osum { position: static; } .pk { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .oform__two { grid-template-columns: 1fr; } .oline { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; } .oline__img { width: 48px; height: 48px; } }

/* ---------- keep ---------- */
.keep__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.keep__list { margin: 40px 0 0; display: grid; }
.keep__list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.keep__list dd { margin: 0; color: var(--ink-2); }
.keep__fig { aspect-ratio: 4 / 5; border-radius: 4px; position: sticky; top: calc(var(--hdr) + 32px); }
@media (max-width: 900px) { .keep__grid { grid-template-columns: 1fr; } .keep__fig { position: relative; top: 0; aspect-ratio: 4 / 3.4; } }
@media (max-width: 560px) { .keep__list div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq 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: clamp(1.15rem, 1.05rem + .35vw, 1.4rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 18px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 18px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--crust); }
.faq details p { padding: 0 0 24px; max-width: 64ch; color: var(--ink-2); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- find ---------- */
.find__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.find__grid > div { display: grid; gap: 22px; justify-items: start; }
.find__fig { aspect-ratio: 4 / 5; border-radius: 4px; width: 100%; }
.find__dl { margin: 6px 0 10px; width: 100%; max-width: 560px; }
.find__dl div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.find__dl div:last-child { border-bottom: 1px solid var(--line); }
.find__dl dt { font-weight: 600; }
.find__dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .find__grid { grid-template-columns: 1fr; } .find__fig { aspect-ratio: 4 / 3.4; } }

/* ---------- close ---------- */
.close { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--oven); overflow: hidden; }
.close__media { position: absolute; inset: 0; margin: 0; }
.close__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.close__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22, 17, 13, .9) 0%, rgba(22, 17, 13, .5) 50%, rgba(22, 17, 13, .2) 100%); }
.close__media .tag { left: auto; right: 16px; top: 16px; bottom: auto; z-index: 1; }
.close__in { position: relative; z-index: 1; padding-block: clamp(84px, 10vw, 140px); display: grid; gap: 22px; justify-items: start; }
.close__h { max-width: 16ch; font-size: clamp(2.3rem, 1.5rem + 2.8vw, 4.4rem); }
.close__p { max-width: 50ch; font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem); color: #e2d9cd; }

/* ---------- footer ---------- */
.ftr { background: var(--oven); color: var(--on-dark); padding-block: 56px 48px; border-top: 1px solid #3a332c; }
.ftr :focus-visible { outline-color: var(--wheat); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: start; }
.ftr__brand .brand__a { font-size: 1.7rem; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__nav a { text-decoration: none; color: var(--on-dark-2); }
.ftr__nav a:hover { color: var(--on-dark); text-decoration: underline; }
.ftr__demo { grid-column: 1 / -1; max-width: 80ch; color: var(--on-dark-2); font-size: .9375rem; padding-top: 24px; border-top: 1px solid #3a332c; }
.ftr__links { grid-column: 1 / -1; color: var(--on-dark-2); font-size: .9375rem; }
.ftr__links a:hover { color: var(--on-dark); }
@media (max-width: 700px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 18px; background: var(--ink); color: var(--paper); padding: 12px 14px 12px 20px; border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .55); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.toast a { color: var(--ink); background: var(--paper); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.toast a:focus-visible { outline-color: var(--wheat); }

/* ---------- motion helpers (only with .anim) ---------- */
html.anim .hero__media img { will-change: transform; }
