/* =====================================================================
   MADE BY DEJAH — STYLES
   Design tokens live at the top. See DESIGN.md for the reasoning.
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bone: #F2EBDF;
  --paper: #FAF6EF;
  --ink: #1A1411;
  --ink-soft: #4F433B;
  --espresso: #2B1E18;
  --espresso-2: #3A2A22;
  --merlot: #6B1E2A;
  --merlot-deep: #521520;
  --olive: #5B6136;
  --amber: #B85A2E;
  --peach: #E7B79C;
  --bone-dim: #CFC2B2;
  --line: rgba(26, 20, 17, .18);
  --line-dark: rgba(242, 235, 223, .2);

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

  --fs-hero: clamp(3.1rem, 1.9rem + 5.4vw, 7.4rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 4vw, 5.6rem);
  --fs-h2: clamp(2.2rem, 1.55rem + 2.6vw, 4rem);
  --fs-h3: clamp(1.55rem, 1.3rem + 1vw, 2.15rem);
  --fs-lead: clamp(1.15rem, 1.06rem + .45vw, 1.42rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-meta: .78rem;

  --margin: clamp(1.25rem, 4.6vw, 4.5rem);
  --gutter: clamp(1rem, 2.4vw, 2rem);
  --section: clamp(5rem, 4rem + 6vw, 10rem);
  --maxw: 1440px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--merlot); color: var(--bone); }

:focus-visible { outline: 2px solid var(--merlot); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--peach); }

.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: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .75rem 1rem; background: var(--ink); color: var(--bone); transform: translateY(-200%); transition: transform .2s; text-decoration: none; }
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.005em; }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em, .display em { font-style: italic; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 38ch; }
.on-dark .lead { color: var(--bone-dim); }
.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--merlot); line-height: 1.2; display: block; margin-bottom: 1rem; }
.on-dark .kicker { color: var(--peach); }
.meta { font-family: var(--sans); font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; line-height: 1.4; }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-soft); }
.on-dark .muted { color: var(--bone-dim); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 60ch; }
.measure { max-width: 34ch; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.on-dark { background: var(--espresso); color: var(--bone); }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Buttons & links ---------- */
.btn { --btn-bg: transparent; --btn-fg: currentColor; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.6rem; border: 1px solid currentColor; border-radius: 2px; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--sans); font-size: .95rem; letter-spacing: .02em; text-decoration: none; line-height: 1.1; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--solid { --btn-bg: var(--merlot); --btn-fg: var(--bone); border-color: var(--merlot); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.on-dark .btn:hover { background: var(--bone); color: var(--espresso); border-color: var(--bone); }
.on-dark .btn--solid { --btn-bg: var(--bone); --btn-fg: var(--espresso); border-color: var(--bone); }
.on-dark .btn--solid:hover { background: var(--peach); border-color: var(--peach); color: var(--espresso); }
.btn--small { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .3s, text-decoration-thickness .3s; }
.link:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.text-link { font-family: var(--serif); font-style: italic; font-size: 1.25rem; }

/* ---------- Motifs ---------- */
.pearls { height: 10px; color: var(--ink); opacity: .55; background: radial-gradient(circle at center, currentColor 1.7px, transparent 2.2px) 0 50% / 14px 10px repeat-x; }
.on-dark .pearls { color: var(--bone); opacity: .45; }
.wave { width: 100%; height: 34px; overflow: visible; color: var(--olive); }
.wave path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.on-dark .wave { color: var(--peach); }

/* =====================================================================
   HEADER & MENU
   ===================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; color: var(--ink); transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .45s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; width: clamp(108px, 10vw, 138px); flex: none; }
.brand img { width: 100%; }
.brand .logo-bone { display: none; }
.header-actions { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.25rem); }
.menu-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .4rem .25rem; background: none; border: 0; font-size: .95rem; letter-spacing: .02em; }
.menu-toggle__icon { width: 22px; height: 10px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8px; right: 6px; }
.site-header.is-solid { background: color-mix(in srgb, var(--bone) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
/* Over dark hero */
.site-header.is-over-dark:not(.is-solid) { color: var(--bone); }
.site-header.is-over-dark:not(.is-solid) .logo-ink { display: none; }
.site-header.is-over-dark:not(.is-solid) .logo-bone { display: block; }
.site-header.is-over-dark:not(.is-solid) .btn--solid { --btn-bg: var(--bone); --btn-fg: var(--espresso); border-color: var(--bone); }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { color: var(--bone); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
body.menu-open .site-header .logo-ink { display: none; }
body.menu-open .site-header .logo-bone { display: block; }
body.menu-open .site-header .btn--solid { --btn-bg: var(--bone); --btn-fg: var(--espresso); border-color: var(--bone); }
body.menu-open .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
body.menu-open .menu-toggle__icon::after { top: 4px; right: 0; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

.menu { position: fixed; inset: 0; z-index: 80; background: var(--espresso); color: var(--bone); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; overflow-y: auto; overscroll-behavior: contain; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__inner { min-height: 100%; padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 4rem)); padding-bottom: 2rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: space-between; row-gap: 3rem; }
.menu__nav { grid-column: 1 / -1; }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: .45rem 0 .55rem; text-decoration: none; font-family: var(--serif); font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.6rem); line-height: 1.02; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; }
.menu.is-open .menu__list a { transform: none; }
.menu__list li:nth-child(1) a { transition-delay: .18s; } .menu__list li:nth-child(2) a { transition-delay: .23s; } .menu__list li:nth-child(3) a { transition-delay: .28s; } .menu__list li:nth-child(4) a { transition-delay: .33s; } .menu__list li:nth-child(5) a { transition-delay: .38s; } .menu__list li:nth-child(6) a { transition-delay: .43s; } .menu__list li:nth-child(7) a { transition-delay: .48s; }
.menu__list a span.n { font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; color: var(--bone-dim); width: 2.2em; flex: none; }
.menu__list a .d { margin-left: auto; font-family: var(--sans); font-size: .9rem; color: var(--bone-dim); text-align: right; display: none; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--peach); }
.menu__list a:hover em, .menu__list a[aria-current="page"] em { color: var(--peach); }
.menu__preview { display: none; }
.menu__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; color: var(--bone-dim); font-size: var(--fs-small); opacity: 0; transition: opacity .6s .45s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--bone); }

@media (min-width: 1024px) {
  .menu__nav { grid-column: 1 / span 7; }
  .menu__list a .d { display: block; }
  .menu__preview { display: block; grid-column: 9 / -1; grid-row: 1; align-self: center; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 0 0 / 34% 34% 0 0; opacity: 0; transform: translateY(24px); transition: opacity .8s .35s var(--ease), transform .9s .35s var(--ease); }
  .menu.is-open .menu__preview { opacity: 1; transform: none; }
  .menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
  .menu__preview img.is-active { opacity: 1; transform: none; }
}

/* =====================================================================
   HERO — signature pull-back
   ===================================================================== */
.hero { position: relative; height: 240vh; background: var(--espresso); color: var(--bone); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__frame { position: absolute; overflow: hidden; border-radius: 50% 50% 0 0 / 30% 30% 0 0; transform-origin: center center; will-change: transform; background: #2c2622;
  /* final (resting) position — mobile first */
  left: 50%; top: calc(var(--header-h) + 1rem); width: min(70vw, 340px); height: 50svh; margin-left: calc(min(70vw, 340px) / -2); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,11,.45) 0%, rgba(20,14,11,0) 30%, rgba(20,14,11,0) 55%, rgba(20,14,11,.7) 100%); pointer-events: none; }
.hero__intro { position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(1.5rem, 5vh, 3rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; z-index: 3; }
.hero__intro p { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.1; max-width: 16ch; }
.hero__intro p em { color: var(--peach); }
.hero__cue { display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; color: var(--bone-dim); flex: none; }
.hero__cue i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--bone), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__copy { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: clamp(1.25rem, 4vh, 2.5rem); }
.hero__copy h1 { font-size: clamp(2.6rem, 1.6rem + 5.4vw, 7rem); line-height: .98; }
.hero__copy h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__copy h1 .line > span { display: block; }
.hero__copy h1 em { color: var(--peach); }
.hero__copy .lead { margin-top: 1rem; color: var(--bone-dim); max-width: 44ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.hero__copy .btn-row { margin-top: 1.4rem; }
.hero__side { display: none; }
.hero [data-hero-in] { will-change: transform, opacity; }

@media (max-width: 767px) {
  .hero__copy .lead { display: none; }
  .hero__frame { height: 52svh; }
}
@media (min-width: 768px) {
  .hero { height: 260vh; }
  .hero__frame { left: auto; right: calc(var(--margin) + 4vw); top: calc(var(--header-h) + 2vh); margin-left: 0; width: min(36vw, 400px); height: calc(100svh - var(--header-h) - 10vh); }
  .hero__copy { right: auto; width: 44vw; bottom: clamp(2rem, 9vh, 6rem); }
  .hero__copy h1 { font-size: clamp(2.6rem, 1rem + 4.6vw, 7rem); }
  .hero__copy .lead { display: block; }
}
@media (min-width: 1100px) {
  .hero__frame { right: auto; left: 50%; width: min(28vw, 420px); margin-left: calc(min(28vw, 420px) * -.08); }
  .hero__copy { width: 44vw; }
  .hero__side { display: block; position: absolute; z-index: 1; overflow: hidden; }
  .hero__side img { width: 100%; height: 100%; object-fit: cover; }
  .hero__side--a { right: var(--margin); top: calc(var(--header-h) + 8vh); width: min(14vw, 220px); aspect-ratio: 3/4; }
  .hero__side--b { right: calc(var(--margin) + 4vw); bottom: 7vh; width: min(11vw, 170px); aspect-ratio: 4/5; }
  .hero__side figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .6rem; font-size: .75rem; color: var(--bone); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
}

.js .hero:not(.is-ready):not(.is-static) .hero__frame,
.js .hero:not(.is-ready):not(.is-static) .hero__copy,
.js .hero:not(.is-ready):not(.is-static) .hero__side { opacity: 0; }
/* reduced-motion & no-JS: static hero */
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: auto; min-height: 100svh; }
.hero.is-static .hero__intro { display: none; }

/* =====================================================================
   HOME — sections
   ===================================================================== */
.intro { }
.intro__grid { align-items: end; row-gap: 3rem; }
.intro__text { grid-column: 1 / -1; }
.intro__text h2 { max-width: 13ch; }
.intro__text .prose { margin-top: 2rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; }
.intro__text .btn-row { margin-top: 2rem; }
.intro__media { grid-column: 1 / -1; position: relative; }
.intro__media .img-a { width: 72%; aspect-ratio: 4/5; object-fit: cover; }
.intro__media .img-b { position: absolute; right: 0; bottom: -12%; width: 44%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--bone); }
.intro__media figcaption { margin-top: .9rem; font-size: var(--fs-small); color: var(--ink-soft); width: 52%; }
@media (min-width: 900px) {
  .intro__text { grid-column: 1 / span 6; padding-bottom: 6rem; }
  .intro__media { grid-column: 8 / -1; }
}

/* Selected work rail */
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.work__head h2 { max-width: 12ch; }
.work__controls { display: flex; align-items: center; gap: 1.25rem; }
.rail-btn { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s; }
.rail-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
.rail-btn svg { width: 18px; height: 18px; }
.rail, .rail[role="list"] { display: flex; align-items: flex-end; gap: clamp(1rem, 2.2vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--margin); scroll-padding-inline: var(--margin); padding-bottom: .5rem; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail__item { flex: none; scroll-snap-align: start; width: clamp(240px, 72vw, 380px); }
.rail__item:nth-child(3n+2) { width: clamp(220px, 60vw, 300px); }
.rail__item:nth-child(3n) { width: clamp(260px, 78vw, 460px); }
.rail__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.rail__img { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--bone-dim); }
.rail__item:nth-child(3n+2) .rail__img { aspect-ratio: 4/5; }
.rail__item:nth-child(3n) .rail__img { aspect-ratio: 5/6; }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rail__btn:hover .rail__img img, .rail__btn:focus-visible .rail__img img { transform: scale(1.035); }
.rail__cap { display: flex; flex-direction: column-reverse; gap: .25rem; margin-top: .9rem; }
.rail__cap h3 { font-size: 1.45rem; }
.rail__cap .meta { color: var(--ink-soft); white-space: nowrap; }
.rail__sum { font-size: var(--fs-small); color: var(--ink-soft); margin-top: .3rem; max-width: 34ch; }
.rail__end { flex: none; width: clamp(200px, 50vw, 260px); align-self: center; scroll-snap-align: start; padding-right: var(--margin); }
.rail__end p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: 1rem; }

/* Flavor teaser (dark) */
.inside { overflow: hidden; }
.inside__grid { row-gap: 3rem; align-items: center; }
.inside__media { grid-column: 1 / -1; position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.inside__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.inside__media .ring { position: absolute; inset: -4%; border: 1px solid var(--line-dark); border-radius: 50%; pointer-events: none; }
.inside__text { grid-column: 1 / -1; }
.combo-list { list-style: none; padding: 0; margin: 2.2rem 0 2.4rem; border-top: 1px solid var(--line-dark); }
.combo-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: .3rem; }
.combo-list h3 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.3rem); }
.combo-list p { color: var(--bone-dim); font-size: var(--fs-small); max-width: 52ch; }
@media (min-width: 900px) {
  .inside__media { grid-column: 1 / span 5; }
  .inside__text { grid-column: 7 / -1; }
}

/* Occasions */
.occasions__grid { row-gap: 2.5rem; align-items: center; }
.occasions__text { grid-column: 1 / -1; }
.occasions__list { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 3vw, 4.2rem); line-height: 1.08; letter-spacing: -.01em; max-width: 18ch; }
.occasions__list em { color: var(--merlot); }
.occasions__note { margin-top: 2rem; max-width: 44ch; color: var(--ink-soft); }
.occasions__media { grid-column: 1 / -1; }
.occasions__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.occasions__media figcaption { margin-top: .8rem; font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 900px) {
  .occasions__text { grid-column: 1 / span 7; }
  .occasions__media { grid-column: 9 / -1; }
}

/* Process steps */
.steps { position: relative; }
.steps__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.steps__wave { margin-bottom: 2rem; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; counter-reset: s; }
.steps__list li { position: relative; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.steps__list .n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--merlot); }
.steps__list h3 { font-size: 1.6rem; margin: .2rem 0 .5rem; }
.steps__list p { font-size: var(--fs-small); color: var(--ink-soft); max-width: 32ch; }
@media (min-width: 640px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps__list { grid-template-columns: repeat(6, 1fr); } .steps__head { grid-template-columns: 1fr 1fr; align-items: end; } }

/* Kind words preview */
.kind-preview__quote { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.12; max-width: 24ch; }
.kind-preview__by { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-soft); }
.kind-preview__nav { margin-top: 2.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.kind-preview__dots { display: flex; gap: .5rem; }
.kind-preview__dots button { width: 34px; height: 34px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.kind-preview__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .3s, transform .3s; }
.kind-preview__dots button[aria-current="true"]::before { opacity: 1; transform: scale(1.3); }
.kind-slide { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.kind-slide.is-out { opacity: 0; transform: translateY(12px); }

/* Final CTA */
.cta { text-align: center; overflow: hidden; }
.cta__logo { width: min(64vw, 320px); margin: 0 auto 2.5rem; }
.cta h2 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 6rem); }
.cta h2 em { color: var(--peach); }
.cta p { margin: 1.5rem auto 2.2rem; color: var(--bone-dim); max-width: 42ch; }
.cta .btn-row { justify-content: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--espresso); color: var(--bone); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--line-dark); }
.footer__grid { row-gap: 2.5rem; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--bone-dim); max-width: 32ch; font-size: var(--fs-small); }
.footer__col { grid-column: span 6; }
.footer__col h2 { font-family: var(--sans); font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 1rem; line-height: 1.4; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer__base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .85rem; color: var(--bone-dim); }
@media (min-width: 900px) {
  .footer__brand { grid-column: 1 / span 4; }
  .footer__col { grid-column: span 2; }
  .footer__col--wide { grid-column: span 3; }
}

/* =====================================================================
   INNER PAGE HEADERS
   ===================================================================== */
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 1.6rem; max-width: 46ch; }
.page-head--split .grid { row-gap: 2rem; align-items: end; }
.page-head--split .ph-text { grid-column: 1 / -1; }
.page-head--split .ph-aside { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .page-head--split .ph-text { grid-column: 1 / span 7; }
  .page-head--split .ph-aside { grid-column: 9 / -1; }
}

/* =====================================================================
   PORTFOLIO
   ===================================================================== */
.chapter { padding-block: clamp(3.5rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.chapter__grid { row-gap: 2rem; align-items: start; }
.chapter__main { grid-column: 1 / -1; }
.chapter__text { grid-column: 1 / -1; }
.chapter__details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem 1.2rem; }
.chapter__no { font-family: var(--serif); font-style: italic; color: var(--merlot); font-size: 1.2rem; }
.chapter h2 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.8rem); margin: .3rem 0 1.2rem; }
.chapter__desc { color: var(--ink-soft); max-width: 44ch; }
.chapter dl { display: grid; gap: .9rem; margin: 1.8rem 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.chapter dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.chapter dt { font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.chapter dd { font-size: var(--fs-small); }
.chapter__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gutter); margin-top: var(--gutter); }
.ph-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bone-dim); overflow: hidden; position: relative; }
.ph-btn img, .ph-btn video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph-btn:hover img { transform: scale(1.03); }
.ph-btn .zoom { position: absolute; right: .7rem; bottom: .7rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(250,246,239,.88); color: var(--ink); display: grid; place-items: center; opacity: .9; }
.ph-btn .zoom svg { width: 16px; height: 16px; }
.chapter__main .ph-btn { aspect-ratio: 3/4; }
.chapter__thumbs .ph-btn { aspect-ratio: 1; }
.chapter__thumbs .ph-btn.tall { aspect-ratio: 3/4; }
.chapter--film .chapter__main { position: relative; }
.chapter--film .film { aspect-ratio: 9/16; max-height: 82svh; margin-inline: auto; border-radius: 50% 50% 0 0 / 26% 26% 0 0; overflow: hidden; background: #2b2420; position: relative; }
.chapter--film .film video { width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; left: 1rem; bottom: 1rem; min-height: 40px; padding: .4rem .9rem; background: rgba(26,20,17,.6); color: var(--bone); border: 1px solid rgba(242,235,223,.5); border-radius: 2px; font-size: .85rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 900px) {
  .chapter--feature-left .chapter__main { grid-column: 1 / span 7; }
  .chapter--feature-left .chapter__text { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 2rem); }
  .chapter--feature-right .chapter__main { grid-column: 6 / -1; grid-row: 1; }
  .chapter--feature-right .chapter__text { grid-column: 1 / span 4; grid-row: 1; position: sticky; top: calc(var(--header-h) + 2rem); }
  .chapter--film .chapter__main { grid-column: 1 / span 5; }
  .chapter--film .chapter__side { grid-column: 6 / span 3; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-self: end; }
  .chapter--film .chapter__text { grid-column: 10 / -1; align-self: center; }
  .chapter--feature-right .chapter__thumbs { grid-template-columns: 2fr 3fr; }
}
.chapter__side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.chapter__side .ph-btn { aspect-ratio: 3/4; }

.portfolio-note { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--espresso); color: var(--bone); }
.lightbox::backdrop { background: rgba(20,14,11,.7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbin .5s var(--ease); }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--margin); gap: 1rem; }
.lightbox__close { min-height: 44px; padding: .4rem .9rem; background: none; border: 1px solid var(--line-dark); color: var(--bone); border-radius: 2px; }
.lightbox__body { display: grid; grid-template-columns: 1fr; min-height: 0; overflow-y: auto; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--margin); }
.lightbox__stage img { max-height: 66svh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox__nav { display: flex; gap: .6rem; justify-content: center; padding: 1rem; }
.lightbox__nav .rail-btn { border-color: var(--line-dark); color: var(--bone); }
.lightbox__nav .rail-btn:hover { background: var(--bone); color: var(--espresso); }
.lightbox__info { padding: 1rem var(--margin) 2rem; }
.lightbox__info h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: .8rem; }
.lightbox__info p { color: var(--bone-dim); max-width: 46ch; }
.lightbox__info dl { margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.lightbox__info dl div { display: grid; grid-template-columns: 7rem 1fr; gap: .8rem; font-size: var(--fs-small); }
.lightbox__info dt { color: var(--bone-dim); font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; padding-top: .15rem; }
@media (min-width: 900px) {
  .lightbox__body { grid-template-columns: 1.6fr 1fr; align-items: center; overflow: hidden; }
  .lightbox__stage img { max-height: 78svh; }
  .lightbox__info { padding-right: var(--margin); }
}

/* =====================================================================
   FLAVORS — Inside the Cake composer
   ===================================================================== */
.composer { row-gap: 3rem; align-items: start; }
.composer__visual { grid-column: 1 / -1; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 2; background: var(--espresso); padding-block: .5rem 1rem; }
.composer__controls { grid-column: 1 / -1; }
.slice { width: 100%; height: auto; aspect-ratio: 560 / 470; max-width: 560px; margin-inline: auto; display: block; overflow: visible; }
.slice .layer { transition: fill .55s var(--ease); }
.slice .lbl { font-family: var(--sans); font-size: 13px; fill: var(--bone-dim); letter-spacing: .02em; }
.slice .lbl-v { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--bone); }
.slice .leader { stroke: var(--line-dark); stroke-width: 1; }
.composer__result { margin-top: 1rem; text-align: center; }
.composer__result .name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; }
.composer__result .name em { color: var(--peach); }
.cgroup { border: 0; padding: 0; margin: 0 0 2.2rem; }
.cgroup legend { font-family: var(--serif); font-size: 1.7rem; padding: 0; margin-bottom: .2rem; }
.cgroup .hint { font-size: var(--fs-small); color: var(--bone-dim); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 2px; font-size: .95rem; line-height: 1.2; transition: background-color .25s, color .25s, border-color .25s; background: transparent; }
.chip span i { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(242,235,223,.35); }
.chip span small { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.chip input:hover + span { border-color: currentColor; }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--merlot); outline-offset: 2px; }
.on-dark .chip span { border-color: var(--line-dark); }
.on-dark .chip input:checked + span { background: var(--bone); color: var(--espresso); border-color: var(--bone); }
.on-dark .chip input:focus-visible + span { outline-color: var(--peach); }
.composer__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.composer__presets { margin-bottom: 2.6rem; }
.composer__presets .chips button { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-dark); background: transparent; color: var(--bone); border-radius: 2px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; transition: background-color .25s, color .25s; }
.composer__presets .chips button:hover { background: var(--bone); color: var(--espresso); }
.composer__note { margin-top: 1.4rem; font-size: var(--fs-small); color: var(--bone-dim); }
.composer.is-spinning .slice .layer { transition: fill .09s linear; }
@media (min-width: 900px) {
  .composer__visual { grid-column: 1 / span 6; top: calc(var(--header-h) + 2rem); background: transparent; padding: 0; }
  .composer__controls { grid-column: 8 / -1; }
}
@media (max-width: 899px) {
  .slice { max-width: 250px; }
  .slice .lbls { display: none; }
  .composer__result { margin-top: .4rem; }
  .composer__result .name { font-size: 1.1rem; }
}

/* Menu lists */
.menu-cols { row-gap: 3rem; }
.menu-col { grid-column: 1 / -1; }
.menu-col h3 { font-size: 2rem; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.menu-col ul { list-style: none; padding: 0; margin: 0; }
.menu-col li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dotted var(--line); font-size: 1.05rem; }
.menu-col li small { font-size: var(--fs-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--olive); white-space: nowrap; }
@media (min-width: 700px) { .menu-col { grid-column: span 6; } }
@media (min-width: 1100px) { .menu-col { grid-column: span 3; } }

.signature-list { list-style: none; padding: 0; margin: 0; }
.signature-list li { display: grid; gap: .5rem 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.signature-list h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.signature-list p { color: var(--ink-soft); max-width: 48ch; }
@media (min-width: 900px) { .signature-list li { grid-template-columns: 5fr 6fr auto; align-items: center; } }

.desserts { row-gap: 2.5rem; align-items: start; }
.desserts__text { grid-column: 1 / -1; }
.desserts__list { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; }
.desserts__list li { display: grid; grid-template-columns: 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); gap: .2rem; }
.desserts__list strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.desserts__list span { color: var(--ink-soft); font-size: var(--fs-small); }
@media (min-width: 900px) {
  .desserts__text { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
  .desserts__list { grid-column: 6 / -1; }
  .desserts__list li { grid-template-columns: 1.2fr 1fr; align-items: baseline; gap: 2rem; }
}

/* =====================================================================
   ORDER GUIDE
   ===================================================================== */
.guide { row-gap: 3rem; }
.guide__nav { grid-column: 1 / -1; }
.guide__nav ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; font-size: var(--fs-small); }
.guide__nav a { text-decoration: none; color: var(--ink-soft); padding: .3rem 0; display: inline-block; border-bottom: 1px solid transparent; }
.guide__nav a:hover, .guide__nav a.is-active { color: var(--ink); border-color: currentColor; }
.guide__body { grid-column: 1 / -1; }
.gsec { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.gsec:first-child { border-top: 0; padding-top: 0; }
.gsec h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); margin-bottom: 1.4rem; }
.gsec .prose { color: var(--ink-soft); }
.gsec .prose strong { color: var(--ink); font-weight: 400; font-family: var(--serif); font-size: 1.2em; }
@media (min-width: 1024px) {
  .guide__nav { grid-column: 1 / span 3; }
  .guide__nav ol { flex-direction: column; position: sticky; top: calc(var(--header-h) + 2rem); gap: .2rem; }
  .guide__body { grid-column: 5 / -1; }
}
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.timeline li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.timeline .n { font-family: var(--serif); font-style: italic; color: var(--merlot); font-size: 1.4rem; line-height: 1.2; }
.timeline h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.timeline p { color: var(--ink-soft); font-size: var(--fs-small); max-width: 54ch; }

.sizes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.size { display: grid; gap: .8rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.size h3 { font-size: 2.2rem; }
.size h3 small { display: block; font-family: var(--sans); font-size: var(--fs-small); color: var(--ink-soft); margin-top: .4rem; letter-spacing: 0; }
.size table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.size th, .size td { text-align: left; padding: .55rem .5rem .55rem 0; border-bottom: 1px dotted var(--line); vertical-align: top; }
.size th { font-weight: 400; }
.size thead th { font-size: var(--fs-meta); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.size td.q { color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
@media (min-width: 760px) { .size { grid-template-columns: 1fr 2fr; } }
.callout { margin-top: 1.6rem; padding: 1.2rem 1.4rem; background: var(--paper); border-left: 2px solid var(--olive); font-size: var(--fs-small); color: var(--ink-soft); max-width: 60ch; }
.factors { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.factors li { padding: .45rem .9rem; border: 1px solid var(--line); font-size: var(--fs-small); border-radius: 2px; }
.pickup-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.pickup-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.pickup-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 60ch; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-hero .grid { row-gap: 2.5rem; align-items: end; }
.about-hero__img { grid-column: 1 / -1; }
.about-hero__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 40% 30%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.about-hero__text { grid-column: 1 / -1; }
.about-hero__text h1 { max-width: 11ch; }
@media (min-width: 900px) {
  .about-hero__img { grid-column: 7 / -1; grid-row: 1; }
  .about-hero__text { grid-column: 1 / span 6; grid-row: 1; padding-bottom: 3rem; }
}
.about-body .grid { row-gap: 3rem; }
.about-body .prose { grid-column: 1 / -1; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); }
.about-body .prose p:first-child { font-family: var(--serif); font-size: 1.32em; line-height: 1.35; color: var(--ink); }
.about-body aside { grid-column: 1 / -1; }
.about-body aside img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-body aside figcaption { margin-top: .7rem; font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 900px) {
  .about-body .prose { grid-column: 2 / span 6; }
  .about-body aside { grid-column: 9 / -1; padding-top: 6rem; }
}
.values { list-style: none; padding: 0; margin: 0; columns: 1; }
.values li { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.6vw, 4rem); line-height: 1.1; break-inside: avoid; }
.values li:nth-child(even) { font-style: italic; color: var(--peach); }
@media (min-width: 700px) { .values { columns: 2; column-gap: var(--gutter); } }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews-list { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.review { display: grid; gap: 1.5rem; }
.review blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); line-height: 1.15; max-width: 26ch; }
.review blockquote::before { content: "\201C"; display: block; font-size: 3em; line-height: .6; color: var(--merlot); height: .45em; }
.review:nth-child(3n+2) blockquote { font-style: italic; }
.review footer { font-size: var(--fs-small); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; }
.review footer strong { color: var(--ink); font-weight: 400; font-family: var(--serif); font-size: 1.3rem; }
.review .stars { letter-spacing: .15em; color: var(--merlot); }
.review img { width: 100%; max-width: 360px; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 900px) {
  .review { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
  .review > div { grid-column: 1 / span 8; }
  .review:nth-child(even) > div { grid-column: 4 / span 8; }
  .review figure { grid-column: 10 / -1; }
  .review:nth-child(even) figure { grid-column: 1 / span 3; grid-row: 1; }
}
.reviews-empty { padding-block: 1rem 2rem; display: grid; gap: 2.5rem; align-items: end; }
.reviews-empty img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) { .reviews-empty { grid-template-columns: 7fr 4fr; } .reviews-empty figure { justify-self: end; } }
.reviews-empty p.big { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.1; max-width: 18ch; }
.reviews-empty p.big em { color: var(--merlot); }

/* =====================================================================
   FORMS (shared)
   ===================================================================== */
.field { display: grid; gap: .45rem; margin-bottom: 1.4rem; }
.field label, .field .label { font-size: .95rem; }
.field .opt { color: var(--ink-soft); font-size: .85rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="url"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; font-size: 1.0625rem; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--merlot) 18%, transparent); }
.field input[type="date"] { min-width: 0; }
.field .help { font-size: .875rem; color: var(--ink-soft); }
.field .err { font-size: .875rem; color: var(--merlot); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error .chips { border-color: var(--merlot); }
.field.has-error .err { display: block; }
.field-row { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; margin-bottom: 1rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--merlot); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: var(--fs-small); color: var(--merlot); min-height: 1.4em; }

/* Inquiry multi-step */
.inq { row-gap: 2.5rem; align-items: start; }
.inq__aside { grid-column: 1 / -1; }
.inq__main { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .inq__aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
  .inq__main { grid-column: 6 / -1; }
}
.inq__aside h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); max-width: 10ch; }
.inq__aside .lead { margin-top: 1.2rem; font-size: 1.1rem; }
@media (max-width: 1023px) { .inq__aside ul, .inq__aside > p.small { display: none; } .inq__aside h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 3.4rem); } }
.inq__aside ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem; font-size: var(--fs-small); color: var(--ink-soft); }
.inq__aside ul li { padding-left: 1.2rem; position: relative; }
.inq__aside ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }
.progress { margin-bottom: 2rem; }
.progress__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.progress__title { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; }
.progress__count { color: var(--ink-soft); white-space: nowrap; }
.progress__pearls { display: flex; gap: 0; align-items: center; }
.progress__pearls span { flex: 1; height: 10px; position: relative; }
.progress__pearls span::before { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; height: 1px; background: var(--line); }
.progress__pearls span::after { content: ""; position: absolute; left: 0; top: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--bone); border: 1px solid var(--ink-soft); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.progress__pearls span.done::before { background: var(--ink); }
.progress__pearls span.done::after, .progress__pearls span.current::after { background: var(--merlot); border-color: var(--merlot); }
.progress__pearls span.current::after { transform: scale(1.35); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step > legend { padding: 0; }
.js .step[hidden] { display: none; }
.step.enter { animation: stepin .6s var(--ease); }
.step.enter-back { animation: stepback .6s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepback { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.step__intro { color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 52ch; }
.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.step__nav .back { background: none; border: 0; min-height: 44px; padding: .4rem 0; font-size: .95rem; text-decoration: underline; text-underline-offset: .25em; }
.step__nav .back[hidden] { display: none; }
.chips--form .chip span { background: var(--paper); }
.chips--form .chip input:checked + span { background: var(--ink); }
.field.has-error .chips .chip span { border-color: var(--merlot); }
.prefill-note { padding: 1rem 1.2rem; background: var(--paper); border-left: 2px solid var(--merlot); margin-bottom: 1.6rem; font-size: var(--fs-small); }
.prefill-note strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; display: block; }
.summary { margin: 0 0 1.8rem; padding: 1.2rem 1.4rem; background: var(--paper); font-size: var(--fs-small); display: grid; gap: .5rem; }
.summary div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .8rem; }
.summary dt { color: var(--ink-soft); }
.rush-note { display: none; font-size: .875rem; color: var(--olive); }
.rush-note.show { display: block; }

.confirm { padding-block: 2rem; }
.confirm[hidden] { display: none; }
.confirm h2 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5rem); }
.confirm h2 em { color: var(--merlot); }
.confirm p { margin-top: 1.2rem; max-width: 46ch; color: var(--ink-soft); font-size: 1.1rem; }
.confirm .btn-row { margin-top: 2rem; }
.confirm .figure { width: 120px; margin-bottom: 2rem; opacity: .9; }

/* Review form */
.review-form-wrap { row-gap: 2.5rem; }
.review-form-wrap .rf-text { grid-column: 1 / -1; }
.review-form-wrap .rf-form { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .review-form-wrap .rf-text { grid-column: 1 / span 4; }
  .review-form-wrap .rf-form { grid-column: 6 / -1; }
}
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; border: 0; padding: 0; margin: 0; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 1.9rem; line-height: 1; padding: .3rem .15rem; cursor: pointer; color: var(--bone-dim); transition: color .2s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--merlot); }
.stars-input input:focus-visible + label { outline: 2px solid var(--merlot); outline-offset: 2px; }

/* =====================================================================
   REVEALS (only on chosen elements)
   ===================================================================== */
.js [data-reveal="spread"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="spread"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="lines"] .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.js [data-reveal="lines"] .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .18s; }
.js [data-reveal="lines"] .line:nth-child(4) > span { transition-delay: .27s; }

/* lists on dark sections */
.on-dark .desserts__list li { border-color: var(--line-dark); }
.on-dark .desserts__list span { color: var(--bone-dim); }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--margin) 4rem; }
.notfound img { width: min(60vw, 280px); margin: 0 auto 2rem; }
.notfound h1 { font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem); }
.notfound p { margin: 1.2rem auto 2rem; color: var(--bone-dim); max-width: 40ch; }
.notfound .btn-row { justify-content: center; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] , .js [data-reveal] .line > span { clip-path: none !important; transform: none !important; }
  .hero__cue i { animation: none; }
}

/* =====================================================================
   DESSERTS & PASTRY GALLERY (portfolio) + homepage strip
   ===================================================================== */
.desserts-work { padding-block: clamp(4rem, 8vw, 8rem); }
.desserts-work__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.desserts-work__head h2 { max-width: 12ch; }
.desserts-work__head p { max-width: 46ch; }
@media (min-width: 900px) { .desserts-work__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.dg { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gutter); }
.dg__item { break-inside: avoid; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.dg__item--wide { column-span: all; }
.dg__item--wide .dg__img img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .dg { columns: 3; } .dg__item--wide { column-span: none; } .dg__item--wide .dg__img img { aspect-ratio: auto; } }
.dg__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.dg__img { display: block; overflow: hidden; background: var(--bone-dim); }
.dg__img img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.dg__btn:hover .dg__img img, .dg__btn:focus-visible .dg__img img { transform: scale(1.03); }
.dg__cap { display: grid; gap: .2rem; margin-top: .7rem; }
.dg__t { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.dg__n { font-size: var(--fs-small); color: var(--ink-soft); max-width: 36ch; }
.on-dark .dg__n { color: var(--bone-dim); }

.desserts-too__grid { row-gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.desserts-too__text { grid-column: 1 / -1; }
.desserts-too__text h2 { max-width: 12ch; }
@media (min-width: 900px) { .desserts-too__text { grid-column: 1 / span 6; } .desserts-too__aside { grid-column: 8 / -1; } }
.desserts-too__aside { grid-column: 1 / -1; }
.dstrip, .dstrip[role="list"] { list-style: none; margin: 0; padding: 0 var(--margin); display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; }
.dstrip::-webkit-scrollbar { display: none; }
.dstrip li { flex: none; width: min(64vw, 340px); scroll-snap-align: start; }
.dstrip li:nth-child(even) { margin-top: clamp(2rem, 5vw, 4rem); }
.dstrip .dg__img img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1100px) { .dstrip { overflow: visible; max-width: var(--maxw); margin-inline: auto; } .dstrip li { flex: 1; width: auto; } }

.menu-note { display: block; font-family: var(--serif); font-size: .95rem; color: var(--ink-soft); }
.menu-col__note { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-soft); max-width: 30ch; }

/* Looping videos (About) */
.loop-video { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #2b2420; }
.loop-video video { width: 100%; height: 100%; object-fit: cover; }

/* Cut open (Flavors) */
.cutopen__grid { row-gap: 2rem; align-items: end; }
.cutopen__text { grid-column: 1 / -1; }
.cutopen__a { grid-column: 1 / span 7; }
.cutopen__b { grid-column: 6 / -1; margin-top: -4rem; }
.cutopen figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cutopen figcaption { margin-top: .7rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .cutopen__text { grid-column: 1 / span 4; align-self: center; }
  .cutopen__a { grid-column: 5 / span 4; }
  .cutopen__b { grid-column: 10 / -1; margin-top: 0; margin-bottom: 4rem; }
}

/* Composer on phones: a compact sticky strip (small slice + live combo) */
@media (max-width: 899px) {
  .composer__visual { display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: .9rem; padding: .6rem 0 .8rem; border-bottom: 1px solid var(--line-dark); top: calc(var(--header-h) - 2px); }
  .composer__visual .slice { max-width: none; width: 100%; margin: 0; aspect-ratio: auto; height: auto; }
  .composer__result { margin-top: 0; text-align: left; }
  .composer__result .name { font-size: 1.05rem; line-height: 1.25; }
}
@media (max-width: 899px) {
  .cutopen__a { grid-column: 1 / span 6; }
  .cutopen__b { grid-column: 7 / -1; margin-top: 0; }
}
@media (max-width: 899px) { .composer__visual .slice { overflow: hidden; } }

/* About: "Where to find me" with photo */
.where-photo { grid-column: 1 / span 9; margin: 0; }
.where-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.where-photo figcaption { margin-top: .7rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); }
.where-text { grid-column: 1 / -1; max-width: 40rem; }
@media (min-width: 900px) {
  .where-photo { grid-column: 1 / span 4; }
  .where-text { grid-column: 6 / -1; align-self: center; }
}
.about-hero__img img { object-position: 50% 22%; }
