/* Made by Dejah — interactive extras: pinned rail, marquee, floating gallery,
   cursor label, magnetic buttons, preloader. Uses the tokens in main.css. */

/* ---------- pinned "Recent work" ---------- */
.work__meta { display: flex; align-items: center; gap: 1rem; min-width: 9rem; }
.work__count { font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.work__bar { position: relative; flex: 1; height: 1px; background: var(--line); min-width: 5rem; overflow: hidden; }
.work__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) {
  .rail__img { transition: transform .7s var(--ease); }
  .rail__btn:hover .rail__img, .rail__btn:focus-visible .rail__img { transform: translateY(-10px) rotate(-1.2deg); }
  .rail__item:nth-child(even) .rail__btn:hover .rail__img, .rail__item:nth-child(even) .rail__btn:focus-visible .rail__img { transform: translateY(-10px) rotate(1.2deg); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(.9rem, 2vw, 1.4rem); margin-top: clamp(3rem, 6vw, 5rem); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.marquee__group li { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.4rem); line-height: 1; transform: scaleY(1.08); }
.marquee__group li::after { content: "•"; color: var(--merlot); margin: 0 .55em; font-size: .7em; }
.marquee.is-static .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--margin); }
.marquee.is-static .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: .4rem; }
.marquee.is-static .marquee__group li { font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); }

/* ---------- cursor label (desktop) ---------- */
.cursor-label { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--merlot); color: var(--bone); font-family: var(--serif); font-style: italic; font-size: 1.05rem; opacity: 0; scale: .3; transition: opacity .25s var(--ease), scale .35s var(--ease); }
.cursor-label.is-on { opacity: 1; scale: 1; }
.cursor-label.is-press { scale: .85; }
.has-cursor-label :is([data-cursor], .rail__btn, .ph-btn, .dg__btn) { cursor: none; }
.has-cursor-label .lever { cursor: none; }

/* ---------- magnetic buttons ---------- */
.btn.is-magnetic { transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease); }

/* ---------- preloader ---------- */
.preloader { display: none; }
.js:not(.no-pre) .preloader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 400; background: var(--espresso); animation: preSafety .5s 4.5s forwards; }
.preloader__inner { display: grid; justify-items: center; gap: 1.4rem; }
.preloader img { width: min(52vw, 240px); height: auto; clip-path: inset(100% 0 0 0); animation: preReveal 1.4s var(--ease) .15s forwards; }
.preloader__line { width: min(40vw, 160px); height: 1px; background: rgba(242,235,223,.25); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--peach); transform: scaleX(0); transform-origin: 0 50%; animation: preLine 1.9s var(--ease) .2s forwards; }
.preloader.is-done { clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
@keyframes preReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes preLine { to { transform: scaleX(1); } }
@keyframes preSafety { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .preloader img { clip-path: none; animation: none; }
  .rail__btn:hover .rail__img { transform: none !important; }
}
.work__controls { flex-wrap: wrap; }
@media (max-width: 599px) { .work__meta { min-width: 0; } .work__bar { display: none; } .work__controls { gap: .8rem 1rem; } }

/* =====================================================================
   POLISH PASS — finishing touches
   ===================================================================== */

/* Photo grade: one gentle, warm grade across the real photography */
main :is(.rail__img, .ph-btn, .dg__img, .intro__media, .occasions__media, .about-hero__img, .about-body aside, .inside__media, .cutopen, .sr__media, .unbox__card, .gstrip, .hero__side, .film, .loop-video) :is(img, video),
.hero__media, .lightbox__stage img { filter: saturate(.94) contrast(1.03) sepia(.045); }

/* Header: stays put and slims down slightly once you scroll */
.site-header { transition: height .5s var(--ease), background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s; }
.site-header .brand { transition: width .5s var(--ease); }
.site-header.is-compact { height: 60px; }
.site-header.is-compact .brand { width: clamp(100px, 8.6vw, 120px); }
.site-header.is-compact .btn--small { min-height: 40px; }

/* Links: a fine underline that fills on hover */
.link { text-decoration: none; padding-bottom: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(color-mix(in srgb, currentColor 38%, transparent), color-mix(in srgb, currentColor 38%, transparent));
  background-size: 0% 1px, 100% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  transition: background-size .6s var(--ease); }
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; text-decoration: none; }

/* Buttons: the color fills up smoothly on hover */
.btn { position: relative; isolation: isolate; overflow: hidden; --fill: var(--ink); --fill-fg: var(--bone); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { background: var(--btn-bg); color: var(--fill-fg); border-color: var(--fill); }
.btn--solid { --fill: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--btn-bg); border-color: var(--ink); }
.btn:active::before { transition-duration: .2s; }
.on-dark .btn { --fill: var(--bone); --fill-fg: var(--espresso); }
.on-dark .btn:hover, .on-dark .btn:focus-visible { background: var(--btn-bg); color: var(--fill-fg); border-color: var(--fill); }
.on-dark .btn--solid { --fill: var(--peach); }
.site-header .btn--solid { --fill: var(--ink); }
.site-header.is-over-dark:not(.is-solid) .btn--solid, body.menu-open .site-header .btn--solid { --fill: var(--peach); --fill-fg: var(--espresso); }

/* Section headings rise in once, gently */
.js [data-reveal="rise"] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal="rise"].is-in { opacity: 1; transform: none; }

/* Mobile menu: a soft full-screen fade */
@media (max-width: 1023px) {
  .menu { clip-path: none; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; }
  .menu.is-open { opacity: 1; transition: opacity .6s var(--ease), visibility 0s; }
}

/* Hero: the opening shot eases back from close-up as the page loads */
.js:not(.is-loaded) .hero:not(.is-static) .hero__media { scale: 1.12; }
.hero__media { transition: scale 3s var(--ease); }
.js .hero:not(.is-static) .hero__intro p { opacity: 0; transform: translateY(14px); transition: opacity 1.2s .7s var(--ease), transform 1.4s .7s var(--ease); }
.is-loaded .hero:not(.is-static) .hero__intro p { opacity: 1; transform: none; }

/* Recent work: tighter on phones, contained, predictable snapping */
.work { overflow: clip; }
.rail { scroll-behavior: smooth; }
.rail::after { content: ""; flex: 0 0 1px; }
.rail-btn:disabled { opacity: .35; }
.rail-btn:focus-visible { outline: 2px solid var(--merlot); outline-offset: 3px; }
@media (max-width: 767px) {
  .work__head { margin-bottom: 1.5rem; gap: 1rem; }
  .work__head h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 2.8rem); }
  .rail__cap { margin-top: .7rem; }
  .rail__item, .rail__item:nth-child(3n+2), .rail__item:nth-child(3n) { width: 76vw; }
  .rail__img, .rail__item:nth-child(3n+2) .rail__img, .rail__item:nth-child(3n) .rail__img { aspect-ratio: 4 / 5; }
}

/* Strips that peek: clipped to their own box, never the page */
.desserts-too, .floaty, .gstrip-sec { overflow: clip; }
.dstrip { scroll-padding-inline: var(--margin); }
.dstrip::after { content: ""; flex: 0 0 calc(var(--margin) - var(--gutter)); }
.dstrip .dg__cap { padding-right: .5rem; }
@media (max-width: 767px) { .dstrip li { width: 68vw; } .dstrip li:nth-child(even) { margin-top: 2.2rem; } }

/* Form choices: an unmistakable selected state */
.chips--form .chip input:checked + span { background: var(--merlot); border-color: var(--merlot); color: var(--bone); }
.chips--form .chip input:checked + span::before { content: "✓"; font-size: .85em; margin-right: .1rem; }
.field ::placeholder, .field input::placeholder, .field textarea::placeholder { color: #7A6D63; opacity: 1; }
.stars-input label { color: #B9AB98; }
.stars-input input:checked ~ label { color: var(--merlot); }
@media (hover: hover) { .stars-input label:hover, .stars-input label:hover ~ label { color: var(--merlot); } }
.stars-input label { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }

/* Order guide: prices easy to scan, factors read as notes rather than buttons */
.size td:last-child, .size thead th:last-child { text-align: right; white-space: nowrap; }
.size td:last-child { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.size td.q { font-style: italic; color: var(--ink-soft); }
.size th[scope="row"] { padding-right: 1rem; }
.size { padding-block: 1.8rem; }
.factors { display: grid; grid-template-columns: 1fr; gap: .1rem 2rem; }
@media (min-width: 640px) { .factors { grid-template-columns: 1fr 1fr; } }
.factors li { border: 0; padding: .55rem 0 .55rem 1.1rem; border-radius: 0; position: relative; border-bottom: 1px dotted var(--line); }
.factors li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }

/* FAQ: generous tap areas, smooth open/close */
.faq summary { min-height: 56px; }
.faq summary:focus-visible { outline: 2px solid var(--merlot); outline-offset: 4px; }
.faq .a { overflow: hidden; }

/* =====================================================================
   THE SLICE REVEAL (homepage)
   ===================================================================== */
.sr { background: var(--bone); position: relative; }
.sr.is-scroll { height: 280vh; padding-block: 0; }
.sr.is-scroll .sr__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) * .7); }
.sr__stage { width: 100%; }
.sr__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; align-items: center; }
.sr__text h2 { max-width: 12ch; }
.sr__text .lead { margin-top: 1.2rem; max-width: 34ch; }
.sr__end { margin-top: 2rem; }
.sr__end p { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; margin-bottom: 1.2rem; }
.sr__end p em { color: var(--merlot); }
.sr__media { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.sr__frame { position: relative; width: 60%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bone-dim); }
.sr__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr__whole { transform-origin: 50% 55%; will-change: transform; }
.sr__slice-wrap { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); will-change: clip-path; }
.sr__knife { position: absolute; left: -2%; right: -2%; height: 2px; margin-top: -1px; background: var(--paper); box-shadow: 0 0 12px rgba(250,246,239,.9); opacity: 0; pointer-events: none; }
.sr__slice-wrap { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); will-change: clip-path; }
.sr__knife { position: absolute; top: -2%; bottom: -2%; width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 12px rgba(250,246,239,.9); opacity: 0; pointer-events: none; }
.sr__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sr__line { fill: none; stroke: var(--ink); stroke-width: .3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sr__dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sr__label { position: absolute; left: 64%; right: 0; transform: translate3d(10px,-50%,0); opacity: 0; }
.sr__label b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, .95rem + .6vw, 1.5rem); line-height: 1.1; }
.sr__label span { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .2rem; }
.sr.is-static .sr__slice-wrap { clip-path: none; }
.sr__dot { opacity: 0; }
.sr.is-static .sr__dot { opacity: 1; }
.sr.is-static .sr__line { stroke-dashoffset: 0; }
.sr.is-static .sr__label, .sr.is-static [data-sr-end] { opacity: 1; transform: translate3d(0,-50%,0); }
.sr.is-static [data-sr-end] { transform: none; }
@media (min-width: 900px) {
  .sr__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); }
}
@media (max-width: 899px) { .sr__label span { display: none; } }

/* =====================================================================
   THE UNBOXING (homepage) — photos stack and settle as you scroll
   ===================================================================== */
.unbox__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; align-items: start; }
.unbox__text h2 { max-width: 11ch; }
.unbox__text p.lead { margin-top: 1.2rem; max-width: 36ch; }
.unbox__text .btn-row { margin-top: 1.8rem; }
.unbox__stack { position: relative; padding-bottom: 2rem; }
.unbox__card { position: sticky; top: calc(var(--header-h) + 1.5rem + var(--i) * 1.6rem); margin: 0 auto 32vh; width: min(100%, 460px); background: var(--bone); padding: 10px; border: 1px solid var(--line); }
.unbox__card:last-child { margin-bottom: 0; }
.unbox__card:nth-child(2) { rotate: 1.2deg; }
.unbox__card:nth-child(3) { rotate: -0.8deg; }
.unbox__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.unbox__card figcaption { padding: .7rem .2rem .2rem; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .unbox__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 6rem); }
  .unbox__text { position: sticky; top: calc(var(--header-h) + 3rem); }
}
@media (prefers-reduced-motion: reduce) { .unbox__card { position: relative; top: auto; margin-bottom: 2rem; rotate: none !important; } }

/* =====================================================================
   GLIDING DETAIL STRIP (portfolio)
   ===================================================================== */
.gstrip-sec { padding-block: clamp(3.5rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.gstrip-sec__head { display: grid; gap: 1rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
@media (min-width: 900px) { .gstrip-sec__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.gstrip .marquee__group { gap: 0; }
.gstrip .marquee__group li { font-size: inherit; text-transform: none; transform: none; display: block; margin-right: clamp(1rem, 2.4vw, 2rem); }
.gstrip .marquee__group li::after { content: none; }
.gstrip figure { margin: 0; width: clamp(200px, 26vw, 340px); }
.gstrip li:nth-child(even) figure { width: clamp(170px, 20vw, 270px); margin-top: 2.5rem; }
.gstrip .gimg { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bone-dim); }
.gstrip li:nth-child(3n) .gimg { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; }
.gstrip .gimg img, .gstrip .gimg video { width: 100%; height: 100%; object-fit: cover; }
.gstrip figcaption { margin-top: .6rem; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-soft); white-space: normal; max-width: 24ch; }
.gstrip.marquee { border: 0; padding: 0; margin: 0; }
.gstrip.is-static .marquee__track { overflow-x: auto; scroll-snap-type: x mandatory; flex-wrap: nowrap; justify-content: flex-start; padding-inline: var(--margin); }
.gstrip.is-static .marquee__group { flex-wrap: nowrap; }
.gstrip.is-static li { scroll-snap-align: start; }

@media (prefers-reduced-motion: reduce) {
  .js:not(.is-loaded) .hero .hero__media { scale: 1; }
  .js .hero .hero__intro p { opacity: 1; transform: none; }
  .js [data-reveal="rise"] { opacity: 1; transform: none; }
}

/* slice reveal: pins sit on the real layers; lines read over the cake and the page */
.sr__line { stroke: var(--paper); stroke-width: .26; }
.sr__line--under { stroke: rgba(26,20,17,.7); stroke-width: .6; }
@media (max-width: 899px) { .sr__line { stroke-width: .42; } .sr__line--under { stroke-width: .95; } }
.sr__pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); opacity: 0; pointer-events: none; }
.sr.is-static .sr__pin { opacity: 1; }

@media (max-width: 899px) {
  .sr.is-scroll { height: 240vh; }
  .sr.is-scroll .sr__stage { padding-top: var(--header-h); }
  .sr .sr__grid { row-gap: 1rem; }
  .sr .sr__text h2 { font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); }
  .sr .sr__text .lead { margin-top: .5rem; font-size: 1rem; }
  .sr .sr__end { margin-top: 1rem; }
  .sr .sr__end p { font-size: 1.4rem; margin-bottom: .7rem; }
}

.sr__frame { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sr__frame:focus-visible { outline: 2px solid var(--merlot); outline-offset: 4px; }

/* ---------- swipe-to-slice ---------- */
.sr, .sr.is-scroll { height: auto !important; }
.sr .sr__stage { position: relative !important; height: auto !important; }
.sr__frame { touch-action: none; cursor: none; user-select: none; -webkit-user-select: none; }
.sr.is-cut .sr__frame { cursor: default; touch-action: auto; }
.sr__frame img { pointer-events: none; -webkit-user-drag: none; }
.sr__chef { position: absolute; left: 0; top: 0; width: 120px; height: 30px; z-index: 6; pointer-events: none; transform-origin: 5px 19px; opacity: 0; transition: opacity .25s; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.sr__chef svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sr.is-drawing .sr__chef, .sr.is-hover:not(.is-cut) .sr__chef { opacity: 1; }
.sr.is-cut .sr__chef { opacity: 0; }
.sr__trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.sr__trail path { fill: none; stroke: rgba(250,246,239,.95); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
/* idle hint: the knife sweeps across once in a while until the cake is cut */
.sr:not(.is-cut):not(.is-drawing):not(.is-hover):not(.is-reduced) .sr__chef { opacity: 1; animation: srHint 3.6s var(--ease-io) 1s infinite; }
@keyframes srHint {
  0%, 18% { transform: translate3d(70%,-8%,0) rotate(90deg); opacity: 0; }
  26% { opacity: 1; }
  55% { transform: translate3d(70%,96%,0) rotate(90deg); opacity: 1; }
  64%, 100% { transform: translate3d(70%,96%,0) rotate(90deg); opacity: 0; }
}
.sr__hint { margin-top: .8rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--merlot); }
.sr.is-cut .sr__hint { visibility: hidden; }
.sr__btn { display: inline-block; margin-top: .4rem; background: none; border: 0; padding: .3rem 0; font-size: .9rem; color: var(--ink-soft); cursor: pointer; min-height: 40px; }
@media (hover: none) { .sr__frame { cursor: default; } }
/* Sparkle trail behind the knife */
.sr__trail { display: none; }
.sr__sparks { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: visible; }
.sr__spark { position: absolute; display: block; pointer-events: none; }
.sr__spark svg { width: 100%; height: 100%; display: block; fill: currentColor; opacity: 0; -webkit-animation: srTwinkle 2s ease-out both; animation: srTwinkle 2s ease-out both; -webkit-filter: drop-shadow(0 0 1.5px rgba(60,30,0,.55)) drop-shadow(0 0 7px rgba(255,210,120,.95)); filter: drop-shadow(0 0 1.5px rgba(60,30,0,.55)) drop-shadow(0 0 7px rgba(255,210,120,.95)); }
@-webkit-keyframes srTwinkle {
  0% { opacity: 0; -webkit-transform: scale(.1) rotate(0deg); }
  18% { opacity: 1; -webkit-transform: scale(1.15) rotate(25deg); }
  40% { opacity: .55; -webkit-transform: scale(.75) rotate(45deg); }
  60% { opacity: 1; -webkit-transform: scale(1) rotate(65deg); }
  100% { opacity: 0; -webkit-transform: translateY(10px) scale(.2) rotate(120deg); }
}
@keyframes srTwinkle {
  0% { opacity: 0; transform: scale(.1) rotate(0deg); }
  18% { opacity: 1; transform: scale(1.15) rotate(25deg); }
  40% { opacity: .55; transform: scale(.75) rotate(45deg); }
  60% { opacity: 1; transform: scale(1) rotate(65deg); }
  100% { opacity: 0; transform: translateY(10px) scale(.2) rotate(120deg); }
}
@-webkit-keyframes srFade { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes srFade { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
/* Keep the sparkles visible even when the phone has Reduce Motion turned on (they still twinkle) */
@media (prefers-reduced-motion: reduce) {
  .sr .sr__spark svg { -webkit-animation: srTwinkle 2s ease-out both !important; animation: srTwinkle 2s ease-out both !important; }
}

/* ---------- Back button (in the header, left of the logo) ---------- */
.site-header .wrap > .brand { margin-right: auto; }
.back-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  height: 2.4rem; min-width: 2.4rem; padding: 0 .55rem; margin-right: .7rem; border-radius: 999px;
  background: #B8902C; color: #3E1626; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  box-shadow: 2px 2px 0 var(--merlot);
  opacity: 0; transition: opacity .4s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.back-btn.is-in { opacity: 1; }
.back-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.back-btn span { display: none; }
@media (min-width: 640px) { .back-btn { padding: 0 .95rem 0 .6rem; } .back-btn span { display: inline; } }
.back-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--merlot); }
.back-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media print { .back-btn { display: none; } }
@media (max-width: 420px) {
  .back-btn { height: 2.15rem; min-width: 2.15rem; padding: 0; margin-right: .45rem; }
  .back-btn ~ .brand { width: 96px; }
  .back-btn ~ .header-actions { gap: .6rem; }
}
@media (max-width: 400px) {
  /* make room for the back button: the menu button shows just its icon (screen readers still hear "Menu") */
  .back-btn ~ .header-actions [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .back-btn ~ .header-actions .menu-toggle { padding: .5rem; }
}
@media (max-width: 340px) {
  .back-btn { margin-right: .3rem; }
  .back-btn ~ .brand { width: 82px; }
  .back-btn ~ .header-actions { gap: .35rem; }
  .back-btn ~ .header-actions .btn--small { padding-inline: .8rem; }
}

/* ---------- customer quote page ---------- */
.quote-page h1 { margin-bottom: .6rem; }
.quote-page h2 { font-size: var(--fs-h3); margin: 2.4rem 0 .8rem; }
.quote-item { border-top: 1px solid var(--line); padding: 1.4rem 0 .4rem; }
.quote-item h3 { font-size: var(--fs-h3); margin: 0 0 .7rem; }
.quote-choices { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; }
.quote-choices dt { font-size: var(--fs-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2em; }
.quote-choices dd { margin: 0; }
.quote-lines { list-style: none; margin: .4rem 0 1rem; padding: 0; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.quote-lines b { font-weight: 600; white-space: nowrap; }
.quote-totals { border-top: 1px solid var(--ink); margin-top: 1.4rem; }
.quote-totals .is-total { font-size: 1.25rem; border-bottom: 1px solid var(--ink); }
.quote-status { margin: 1.4rem 0; max-width: none; }
.quote-note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; margin: 1.6rem 0; }
.quote-policies { margin: 0 0 1rem; padding-left: 1.1rem; display: grid; gap: .5rem; }
.quote-accept { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.quote-accept .err { color: var(--merlot); margin: .6rem 0; }

/* ---------- open dates calendar (inquiry form) ---------- */
.opendates__toggle { margin: -.4rem 0 1rem; font-size: var(--fs-small); }
.opendates__toggle button { background: none; border: 0; padding: .3rem 0; font: inherit; color: var(--merlot); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.opendates { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .9rem; margin: 0 0 1.2rem; max-width: 360px; }
.opendates__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.opendates__head button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.opendates__head button:disabled { opacity: .3; cursor: default; }
.opendates__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.opendates__dow { font-size: var(--fs-meta); color: var(--ink-soft); padding: .2rem 0; }
.opendates__grid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; }
.opendates__grid button:disabled { background: none; color: var(--bone-dim); cursor: default; }
.opendates__grid button.is-off { text-decoration: line-through; color: var(--ink-soft); opacity: .55; }
.opendates__grid button.is-limited { box-shadow: inset 0 -3px 0 var(--amber); }
.opendates__grid button.is-picked { background: var(--merlot); color: var(--bone); }
.opendates__key { font-size: var(--fs-meta); color: var(--ink-soft); margin: .7rem 0 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.opendates__key span { display: inline-block; padding: 0 .35rem; border-radius: 6px; background: #fff; }
.opendates__key .k-off { text-decoration: line-through; opacity: .55; }
.opendates__key .k-lim { box-shadow: inset 0 -3px 0 var(--amber); }

/* ---------- holiday & seasonal menu banner ---------- */
.season { background: var(--merlot); color: var(--bone); padding: calc(var(--header-h) + 1.2rem) var(--margin) 1.6rem; }
.season + * { }
.season__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.season__kicker { font-size: var(--fs-meta); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin: 0 0 .4rem; }
.season__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin: 0 0 .5rem; color: var(--bone); }
.season__msg { margin: 0 auto .8rem; max-width: 52ch; color: var(--bone); opacity: .9; }
.season__menu { text-align: left; margin: .6rem auto 1rem; max-width: 560px; }
.season__menu summary { cursor: pointer; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.season__menu ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.season__menu li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-dark); }
.season__desc { font-size: var(--fs-small); opacity: .8; }
.season__cta { background: var(--bone); color: var(--merlot); border-color: var(--bone); }
.season__menu li.is-soldout strong { text-decoration: line-through; opacity: .7; }
.season__tag { display: inline-block; margin-top: .2rem; font-size: var(--fs-meta); letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
