/* =========================================================
   Shara — "بيت شارة": a bright home kitchen at 7am.
   Paper base, daylight photos, the client's hand-drawn stripes as awning + tablecloth.
   Motion level 1–2, text never hidden. Logical properties so /en/ (LTR) reuses this file.
   ========================================================= */
@font-face { font-family: "Camel"; src: url("../fonts/TheYearofTheCamel-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Camel"; src: url("../fonts/TheYearofTheCamel-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fffbf5; --linen: #f4ede2; --ink: #361e10; --ink-70: rgb(54 30 16 / .74); --ink-12: rgb(54 30 16 / .13);
  --sage: #97a07b; --sage-ink: #6b7550; --gold: #b6a183; --sky: #bad9ea; --sky-soft: #e4f0f6;
  --scroll-paper: #f7efe1; --wood: #a0754f;
  --display: "Camel", serif; --text: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --g: clamp(20px, 5vw, 72px);
  --t-body: clamp(1.125rem, 1.08rem + .2vw, 1.25rem);
  --t-lead: clamp(1.25rem, 1.12rem + .55vw, 1.65rem);
  --t-h1: clamp(2.35rem, 1.1rem + 4.6vw, 6rem);
  --t-h2: clamp(2.3rem, 1.3rem + 3.8vw, 5rem);
  --t-h3: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
  --t-h4: clamp(1.4rem, 1.25rem + .5vw, 1.75rem);
  --sec: clamp(48px, 5vw, 72px); --touch: clamp(20px, 2.4vw, 32px); --hdr: 92px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --soft: cubic-bezier(.25, .1, .25, 1);
  --r: 6px; --r-img: 14px;
  --arch: 999px 999px var(--r-img) var(--r-img);
  --stripe: url("../house/stripes.webp");
  --lines: url("../house/lines.webp");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.2C9 2.6 15 6.4 24 4.4s15-2.4 24 .4 16 1.6 25-.8 17-1.2 26 1' fill='none' stroke='%23361e10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.85 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; } ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--g), 1280px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- type ---------- */
.kicker { font-size: 1rem; color: var(--ink-70); }
.kicker b { font-weight: 500; color: var(--ink); }
.h1 { font: 500 var(--t-h1)/1.28 var(--display); }
.h1 span { display: block; white-space: nowrap; }
.h2 { font: 500 var(--t-h2)/1.22 var(--display); text-wrap: balance; }
.h3 { font: 500 var(--t-h3)/1.3 var(--display); }
.h4 { font: 500 var(--t-h4)/1.4 var(--display); }
.sage { color: var(--sage-ink); }
.lead { font-size: var(--t-lead); line-height: 1.75; color: var(--ink-70); max-width: 42ch; }
.lead--ink { color: var(--ink); }
.note { font-size: 1rem; color: var(--ink-70); }
.link { font-weight: 500; text-decoration: none; }

.sec-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

/* hand-drawn underline that draws in on hover (nav, footer, links) */
.ul { position: relative; text-decoration: none; padding-bottom: 8px; transition: color .25s var(--soft); }
.ul:hover, .ul:focus-visible, .ul.is-active { color: var(--ink); }
.ul__line { position: absolute; inset-inline: -2px; bottom: 0; width: calc(100% + 4px); height: 8px; overflow: visible; pointer-events: none; }
.ul__line path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ul.is-draw .ul__line path, .ul.is-active .ul__line path { stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--soft); }
.ul.is-erase .ul__line path { stroke-dashoffset: -1; transition: stroke-dashoffset .35s var(--soft); }
[dir="ltr"] .ul__line { scale: -1 1; }
/* at rest the line is off entirely: the round caps of the hidden dash left dots at the path's end on big menu links */
.ul:not(.is-draw, .is-erase, .is-active) .ul__line { visibility: hidden; }

/* ---------- buttons: colour fills in from the reading edge ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: .75em 1.55em; border-radius: 999px;
  background: var(--ink) linear-gradient(var(--sage-ink), var(--sage-ink)) no-repeat right center / 0% 100%;
  color: var(--paper); text-decoration: none; font: 500 1.08rem/1 var(--text); white-space: nowrap;
  transition: background-size .25s var(--soft), color .25s var(--soft), box-shadow .25s var(--soft); }
.btn:hover, .btn:focus-visible { background-size: 100% 100%; }
.btn svg { width: 1.25em; height: 1.25em; }
.btn--ghost { background-color: transparent; background-image: linear-gradient(var(--ink), var(--ink)); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--paper); }
.btn--sm { min-height: 46px; padding: .55em 1.25em; font-size: 1rem; }
[dir="ltr"] .btn { background-position: left center; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- awning (client stripes, scalloped hem, one gentle sway on load) ---------- */
.awning { position: relative; height: 72px; background: var(--linen); transform-origin: 50% 0; }
.awning::before, .cloth::before { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .75;
  -webkit-mask: var(--stripe) top center / 1400px auto repeat; mask: var(--stripe) top center / 1400px auto repeat; }
.awning::after { content: ""; position: absolute; inset-inline: 0; bottom: -17px; height: 18px;
  background: radial-gradient(circle at 50% 0, var(--linen) 17px, transparent 18px) 0 0 / 36px 18px repeat-x; }
.awning.sway { animation: sway 1.7s var(--ease) .25s 1 both; }
@keyframes sway { 0% { transform: scaleY(1); } 28% { transform: scaleY(1.07) skewX(-.6deg); } 55% { transform: scaleY(.985) skewX(.35deg); } 78% { transform: scaleY(1.012); } 100% { transform: none; } }
.awning--foot { height: 56px; background: var(--paper); }
.awning--foot::after { background-image: radial-gradient(circle at 50% 0, var(--paper) 17px, transparent 18px); }

/* tablecloth band: stripes draw across with scroll (--d set by JS; 1 without JS) */
.cloth { position: relative; height: 54px; background: var(--paper); }
.cloth::before { background: var(--sage); opacity: 1; clip-path: inset(0 0 0 calc((1 - var(--d, 1)) * 100%)); }
[dir="ltr"] .cloth::before { clip-path: inset(0 calc((1 - var(--d, 1)) * 100%) 0 0); }
.cloth--sky::before { background: #8fbcd4; }

/* faint stripe wallpaper (4–6%) — menu, catering, visit only */
.has-stripes { position: relative; isolation: isolate; }
.has-stripes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: .05; pointer-events: none;
  -webkit-mask: var(--stripe) top center / 1400px auto repeat; mask: var(--stripe) top center / 1400px auto repeat; }

/* ---------- image frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--linen); box-shadow: 0 0 0 1px var(--ink-12); }
.frame.arch, .arch { border-radius: var(--arch); }
.frame > img, .frame > picture > img { width: 100%; height: 100%; object-fit: cover; }
/* parallax (--py from JS, ±5%) + hover zoom (3%) on independent properties */
.px { scale: 1.1; translate: 0 var(--py, 0%); transition: scale .25s var(--soft); will-change: translate; }
.frame:hover .px { scale: 1.133; }

/* reveal ① large arches + ingredients + house bread: the window opens WITH the scroll (JS sets --o 0.3 → 1
   and --rs 1.08 → 1 from the frame's place on screen, lerp 0.1). Without JS / reduced motion: fully open. */
.sr-ready .sr { clip-path: inset(calc((1 - var(--o, 1)) * 100%) -2px -2px -2px); }
.sr-ready .sr .px, .sr-ready .sr .steam { scale: calc(1.1 * var(--rs, 1)); transition: none; }
/* reveal ② small photos (and the other single photos): fade + rise 16px once really on screen, 500ms */
.mo-ready .fu { opacity: 0; translate: 0 16px; transition: opacity .5s var(--soft) var(--dl, 0s), translate .5s var(--ease) var(--dl, 0s); }
.mo-ready .fu.in { opacity: 1; translate: none; }

/* striped cloth (client Lines Shape) peeking out behind large arched photos */
.story__photo { position: relative; isolation: isolate; }
.story__photo { --off: 20px; --sx: 1; }
.story__item:nth-child(even) .story__photo, .bread__photo { --sx: -1; }
[dir="ltr"] .story__photo { --sx: -1; }
[dir="ltr"] .story__item:nth-child(even) .story__photo, [dir="ltr"] .bread__photo { --sx: 1; }
/* the same arch shifted out/down: a tinted fabric (::before) with the client's hand-drawn lines on it (::after).
   With JS it rides the photo's progress 0.08 behind: --oc opens it (never more than the photo), --sc slides it out. */
.story__photo::before, .story__photo::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: var(--arch);
  translate: calc(var(--sx) * var(--off) * var(--sc, 1)) calc(var(--off) * var(--sc, 1)); }
.sr-ready .story__photo::before, .sr-ready .story__photo::after { clip-path: inset(calc((1 - var(--oc, 1)) * 100%) -2px -2px -2px); }
.story__photo::before { background: #e3e6d6; }
.story__photo::after { background: #7f8a62; -webkit-mask: var(--lines) center top / 120px auto repeat; mask: var(--lines) center top / 120px auto repeat; }
.story__item:nth-child(even) .story__photo::before { background: #ece3d3; }
.story__item:nth-child(even) .story__photo::after, .bread__photo::after { background: #a08a69; }
.bread__photo::before { background: #e2d5bf; } /* a shade deeper: it sits on linen, not paper */

/* procedural steam over قهوة اليوم */
.steam { position: absolute; inset: 0; width: 100%; height: 100%; scale: 1.1; translate: 0 var(--py, 0%); pointer-events: none; transition: scale .25s var(--soft); }
.frame:hover .steam { scale: 1.133; }
.steam path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: 0; filter: blur(4px); transform-box: fill-box; transform-origin: 50% 100%;
  animation: steam 5.2s var(--soft) infinite; }
.steam path:nth-child(2) { animation-delay: 1.7s; }
.steam path:nth-child(3) { animation-delay: 3.4s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(18px) scaleY(.7); } 30% { opacity: .75; } 70% { opacity: .35; } 100% { opacity: 0; transform: translateY(-46px) scaleY(1.1) skewX(-4deg); } }

/* ---------- header: sticky, transparent at the top, paper bar after ~80px, hides going down ---------- */
.hdr { position: sticky; top: 0; z-index: 40; height: var(--hdr); pointer-events: none; transition: transform .35s var(--ease); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { pointer-events: auto; border-bottom: 1px solid transparent; } /* no fade: once past 80px it is solid paper in every frame */
.hdr.is-solid .hdr__bar { background: var(--paper); border-bottom-color: var(--ink-12); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); transition: height .3s var(--soft); }
.hdr.is-solid .hdr__in { height: 70px; }
.hdr__logo img { height: 58px; width: auto; transition: height .3s var(--soft); }
.hdr.is-solid .hdr__logo img { height: 44px; }
.hdr__nav { display: flex; gap: clamp(16px, 2vw, 30px); font-size: 1.02rem; }
.hdr__nav a { color: var(--ink-70); padding-top: 6px; }
.hdr__end { display: flex; align-items: center; gap: 14px; }
.lang { font: 500 .95rem/1 var(--text); padding: 10px 6px; color: var(--ink-70); }

/* ---------- mobile menu: hand-drawn lines button → full-screen paper panel that drops like an awning ---------- */
.hdr__menu { display: none; place-items: center; width: 48px; height: 48px; margin-inline-end: -8px; padding: 0; border: 0; border-radius: 12px;
  background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hdr__menu:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hdr__menu svg { width: 32px; height: 24px; overflow: visible; }
.hdr__menu path { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; transform-box: fill-box; transform-origin: center;
  transition: transform .35s var(--ease), opacity .2s var(--soft); }
.hdr__menu[aria-expanded="true"] .m1 { transform: translateY(5.8px) rotate(38deg); }
.hdr__menu[aria-expanded="true"] .m2 { opacity: 0; transform: scaleX(.2); }
.hdr__menu[aria-expanded="true"] .m3 { transform: translateY(-5.8px) rotate(-38deg); }

.mnav { --bar: 70px; position: fixed; inset: 0; z-index: 39; padding-top: var(--bar); background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); transition: clip-path .35s var(--ease); }
.mnav[hidden] { display: none; }
.mnav.is-open { clip-path: inset(0 0 -2px 0); }
.mnav__awning { transform-origin: 50% 0; scale: 1 .4; transition: scale .35s var(--ease); }
.mnav.is-open .mnav__awning { scale: 1 1; }
.mnav__body { display: grid; gap: 30px; padding-block: 34px calc(32px + env(safe-area-inset-bottom)); }
.mnav__nav { display: grid; justify-items: start; gap: 2px; }
.mnav__nav a { display: inline-flex; align-items: center; min-height: 56px; padding-block: 6px 12px;
  font: 500 clamp(1.95rem, 1.3rem + 3vw, 2.5rem)/1.3 var(--display); color: var(--ink); }
.mnav__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.mnav__end .btn { flex: 1 1 220px; }
.mnav__end .lang { display: inline-flex; align-items: center; min-height: 48px; font-size: 1.05rem; }
.mnav__hours { font-size: .95rem; }
/* links arrive one after another (40ms apart) once the panel has unrolled */
.mnav__nav a, .mnav__end, .mnav__hours { opacity: 0; translate: 0 -10px; transition: opacity .3s var(--soft), translate .35s var(--ease), color .25s var(--soft); }
.mnav.is-open :is(.mnav__nav a, .mnav__end, .mnav__hours) { opacity: 1; translate: none; transition-delay: calc(120ms + var(--i, 0) * 40ms); }
.mnav__nav a:nth-child(2) { --i: 1; } .mnav__nav a:nth-child(3) { --i: 2; } .mnav__nav a:nth-child(4) { --i: 3; }
.mnav__nav a:nth-child(5) { --i: 4; } .mnav__nav a:nth-child(6) { --i: 5; } .mnav__end { --i: 6; } .mnav__hours { --i: 7; }
html.menu-open { overflow: hidden; } /* scroll lock */
.menu-open .mbar { visibility: hidden; }
@media (max-width: 1080px) { .hdr__menu { display: grid; } }
@media (max-width: 860px) { .mnav { --bar: 60px; } }

/* mobile order bar */
.mbar { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(12px, 2vw, 28px) var(--sec); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__photo { position: relative; }
.hero__photo .frame { aspect-ratio: 4 / 4.3; }
.hero__photo img { object-position: 30% 60%; }
.hero__tag { position: absolute; inset-inline-end: -14px; bottom: 34px; background: var(--paper); padding: 14px 18px; border-radius: var(--r); box-shadow: 0 10px 30px -14px rgb(54 30 16 / .35); font-size: 1rem; line-height: 1.5; max-width: 230px; }
.hero__tag b { display: block; font: 500 1.3rem/1.3 var(--display); }

/* ---------- about ---------- */
.about { padding-block: var(--sec) calc(var(--sec) / 2); }
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about__photo .frame { aspect-ratio: 4 / 3.6; }
.about__photo figcaption { margin-top: 12px; }
.truths { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); }
.truths li { padding-block: 22px; border-top: 1px solid var(--ink-12); }
.truths b { display: block; font: 500 clamp(1.35rem, 1.2rem + .5vw, 1.6rem)/1.4 var(--display); margin-bottom: 4px; }
.truths span { color: var(--ink-70); display: block; line-height: 1.7; }

/* ---------- products story ---------- */
.products { padding-block: calc(var(--sec) / 2) var(--sec); }
.story { display: grid; gap: clamp(64px, 8vw, 120px); }
.story__item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.story__item:nth-child(even) .story__photo { order: 2; }
.story__photo { max-width: 470px; width: 100%; justify-self: center; }
.story__photo .frame { aspect-ratio: 4 / 5; }
.story__copy { display: grid; gap: 18px; justify-items: start; max-width: 32rem; }
.story__copy .h3 { font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.2; }
.story__copy > p:first-of-type { font-size: var(--t-lead); line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 14px; border-radius: 999px; font-size: .98rem; background: var(--linen); }
.with { color: var(--ink-70); }
.with span { font: 500 1.3rem/1 var(--display); color: var(--ink); margin-inline-end: .35em; }
.story__copy .btn { margin-top: 4px; }
.story-row { margin-top: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink-12); }
.mini .frame { aspect-ratio: 4 / 4.4; margin-bottom: 18px; }
.mini p { color: var(--ink-70); margin-top: 6px; }

/* ---------- خبز البيت ---------- */
.bread { position: relative; padding-block: var(--sec); background: var(--linen); }
.bread__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.bread__copy { display: grid; gap: 18px; justify-items: start; }
.bread__with { margin-top: 10px; font-weight: 500; }
.addons { display: flex; flex-wrap: wrap; gap: 10px; }
.addons li { padding: 8px 18px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink-12); }
.bread__photo { max-width: 450px; }
.bread__photo .frame { aspect-ratio: 4 / 5; }
.bread__photo img { object-position: 50% 62%; }

/* ---------- menu: hanging paper scroll that unrolls with scroll ---------- */
.menu { padding-block: var(--sec) calc(var(--sec) / 2); }
.scroll { --u: 1; --ph: 0px; position: relative; max-width: 940px; margin-inline: auto; padding-top: 40px; }
.scroll__cord { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 46%; height: 46px; overflow: visible; }
.scroll__cord path { fill: none; stroke: var(--wood); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.scroll__cord circle { fill: var(--ink); }
.scroll__rod { position: relative; z-index: 2; height: 18px; margin-inline: -18px; border-radius: 9px;
  background: linear-gradient(#c49a6c, var(--wood) 55%, #7a5536); box-shadow: 0 6px 12px -6px rgb(54 30 16 / .5); }
.scroll__rod::before, .scroll__rod::after { content: ""; position: absolute; top: -3px; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #b88a5c, #6e4a2e); }
.scroll__rod::before { inset-inline-start: -14px; } .scroll__rod::after { inset-inline-end: -14px; }
.scroll__rod--end { margin-top: -6px; translate: 0 calc((var(--u) - 1) * var(--ph)); }
.scroll__paper { position: relative; margin-top: -6px; margin-bottom: 0; background: var(--scroll-paper);
  background-image: linear-gradient(90deg, rgb(54 30 16 / .06), transparent 7% 93%, rgb(54 30 16 / .06)),
    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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .21 0 0 0 0 .12 0 0 0 0 .06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 30px 50px -40px rgb(54 30 16 / .55);
  clip-path: inset(0 -40px calc((1 - var(--u)) * 100%) -40px); }
.scroll__inner { padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 72px) clamp(56px, 6vw, 80px); }
.scroll__top { display: grid; justify-items: center; gap: 4px; margin-bottom: clamp(28px, 4vw, 48px); text-align: center; }
.scroll__top img { width: clamp(150px, 18vw, 210px); }
.scroll__top p { color: var(--ink-70); font-size: .98rem; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.scroll__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 80px); }
.mcat { margin-bottom: clamp(30px, 4vw, 44px); }
.mcat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; min-height: 56px; }
.mcat__head h3 { font: 500 var(--t-h4)/1.3 var(--display); padding: 4px 18px; border-radius: 40% 55% 45% 60% / 60% 45% 55% 40%; background: rgb(151 160 123 / .28); }
.mcat .art { width: 64px; height: 64px; flex: none; color: #6e4a2e; opacity: .9; margin-bottom: -6px; }
.mcat li { display: flex; align-items: baseline; gap: 10px; padding-block: 8px; }
.mcat li span { flex: 0 1 auto; }
.mcat li::after { content: ""; order: 1; flex: 1 1 24px; border-bottom: 1.5px dotted rgb(54 30 16 / .35); translate: 0 -5px; }
.mcat li b { order: 2; font: 500 1.02rem/1 var(--text); white-space: nowrap; }
.scroll__seal { width: 70px; margin: 8px auto 0; opacity: .55; }

/* ---------- offer + preorder ---------- */
.pair { padding-block: calc(var(--sec) / 2) var(--sec); }
.pair__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(20px, 3vw, 40px); }
.offer { position: relative; display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 52px); background: var(--sky-soft); border-radius: var(--r); }
.offer::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--sky); border-radius: 4px; pointer-events: none; }
.offer b { font-weight: 600; }
.offer__seal { width: 64px; opacity: .8; }
.preorder { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--linen); border-radius: var(--r); }
.preorder__copy { display: grid; gap: 14px; justify-items: start; }
.preorder__img { aspect-ratio: 1; border-radius: 50%; }

/* ---------- catering ---------- */
.catering { padding-block: var(--sec); }
.catering__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.catering__photo .frame { aspect-ratio: 4 / 3.4; }
.catering__copy { display: grid; gap: 26px; }
.facts div { padding-block: 16px; border-top: 1px solid var(--ink-12); display: grid; grid-template-columns: 12rem 1fr; gap: 6px 22px; }
.facts dt { font: 500 1.3rem/1.45 var(--display); }
.facts dd { color: var(--ink-70); }

/* ---------- reviews ---------- */
.reviews { padding-block: var(--sec); background: var(--linen); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: 36px; }
.quotes li { padding: clamp(24px, 3vw, 36px); background: var(--paper); border-radius: var(--r-img); display: grid; gap: 18px; align-content: space-between;
  transition: transform .25s var(--soft), box-shadow .25s var(--soft); }
.quotes li:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -22px rgb(54 30 16 / .4); }
.quotes blockquote { quotes: none; font: 500 clamp(1.4rem, 1.2rem + .6vw, 1.75rem)/1.55 var(--display); }
.quotes cite { font-style: normal; color: var(--ink-70); font-size: 1rem; }

/* ---------- visit ---------- */
.visit { padding-block: var(--sec); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.visit__copy { display: grid; gap: 22px; justify-items: start; }
.hours { width: 100%; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--ink-12); }
.hours dt { font-weight: 500; }
.hours dd { font: 500 1.3rem/1.5 var(--display); }
.addr { color: var(--ink-70); }
.door { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-img); background: var(--sky-soft); }
.door img { width: 46px; flex: none; opacity: .75; }
.visit__media { display: grid; gap: 16px; }
.visit__photo .frame { aspect-ratio: 3 / 2; }
/* map: static poster first, live map fades in over it once it has loaded */
.map { position: relative; display: block; border-radius: var(--r-img); overflow: hidden; box-shadow: 0 0 0 1px var(--ink-12); aspect-ratio: 12 / 5; background: var(--linen); }
.map__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.85); opacity: 0; transition: opacity .6s var(--soft); }
.map.is-live iframe { opacity: 1; }

/* ---------- footer ---------- */
.ftr { background: var(--linen); padding-bottom: 40px; }
.ftr__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; padding-top: 64px; }
.ftr__logo { width: 180px; }
.ftr__tag { margin-top: 10px; color: var(--ink-70); }
.social { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.social a { font-weight: 500; padding-top: 8px; }
.ftr .note { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--ink-12); }

/* the cloth band is the divider: no section padding on the side that touches it */
.cloth + section { padding-top: var(--touch); }
section:has(+ .cloth) { padding-bottom: var(--touch); }
@media (min-width: 861px) { .hero:has(+ .cloth) { padding-bottom: 0; } } /* desktop: the hero photo sits right on the tablecloth */

/* ---------- equal-height columns (desktop): frames fill the row, text centred in its column ---------- */
@media (min-width: 861px) {
  .about__grid, .story__item, .bread__grid, .catering__grid, .visit__grid { align-items: stretch; }
  .truths, .story__copy, .bread__copy, .catering__copy, .visit__copy { align-content: center; }
  .fill { display: flex; flex-direction: column; }
  .fill > .frame { flex: 1 1 auto; aspect-ratio: auto; height: 100%; }
  .fill > .frame > img { position: absolute; inset: 0; } /* the row, not the photo's own ratio, sets the height */
  .about__photo > .frame { min-height: 340px; }
  .story__photo > .frame { min-height: clamp(440px, 40vw, 580px); }
  .bread__photo > .frame { min-height: clamp(440px, 38vw, 540px); }
  .catering__photo > .frame { min-height: 380px; }
  .visit__media { display: flex; flex-direction: column; gap: 16px; }
  .visit__photo { flex: 3 1 0; min-height: 0; }
  .visit__photo > .frame { min-height: 220px; }
  .map { flex: 2 1 0; min-height: 200px; aspect-ratio: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .pair__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --hdr: 72px; }
  .hdr.is-solid .hdr__in { height: 60px; }
  .hdr__logo img { height: 46px; }
  .hdr.is-solid .hdr__logo img { height: 38px; }
  .mbar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 45; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 251 245 / .97); border-top: 1px solid var(--ink-12); }
  .mbar .btn { width: 100%; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .awning { height: 46px; }
  .awning::after { bottom: -13px; height: 14px; background-size: 28px 14px; background-image: radial-gradient(circle at 50% 0, var(--linen) 13px, transparent 14px); }
  .cloth { height: 40px; }
  .hero { padding-top: 6px; }
  .hero__grid, .about__grid, .bread__grid, .catering__grid, .visit__grid, .story__item { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .hero__photo .frame { aspect-ratio: 4 / 3.1; border-radius: 160px 160px var(--r-img) var(--r-img); }
  .hero__copy { gap: 18px; }
  .hero__tag { display: none; }
  .cta .btn { flex: 1 1 auto; }
  .truths { grid-template-columns: 1fr; }
  .story__item:nth-child(even) .story__photo { order: 0; }
  .story__photo { max-width: 340px; }
  .story__photo { --off: 16px; }
  .bread__photo { order: -1; }
  .story-row { grid-template-columns: 1fr; }
  .mini { display: grid; grid-template-columns: 38% 1fr; gap: 0 18px; align-items: start; }
  .mini .frame { grid-row: span 2; margin: 0; }
  /* the scroll goes edge to edge on phones */
  .scroll { margin-inline: calc(-1 * var(--g)); padding-top: 34px; }
  .scroll__rod { margin-inline: 4px; }
  .scroll__rod::before { inset-inline-start: -4px; } .scroll__rod::after { inset-inline-end: -4px; }
  .scroll__cord { width: 64%; height: 40px; }
  .scroll__cols { grid-template-columns: 1fr; }
  .mcat .art { width: 52px; height: 52px; }
  .preorder { grid-template-columns: 1fr; }
  .preorder__img { max-width: 260px; width: 100%; justify-self: center; }
  .facts div { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .ftr__grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .h1 { font-size: 2.1rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .awning.sway { animation: none; }
  .sr-ready .sr, .sr-ready .story__photo::before, .sr-ready .story__photo::after { clip-path: none; }
  .mo-ready .fu { opacity: 1; translate: none; transition: none; }
  .mnav, .mnav__nav a, .mnav__end, .mnav__hours, .hdr__menu path { transition: none !important; }
  .hdr, .hdr__bar, .hdr__in, .hdr__logo img, .ul__line path { transition: none !important; }
  .px, .steam { translate: none; transition: none; }
  .frame:hover .px, .frame:hover .steam { scale: 1.1; }
  .steam { display: none; }
  .cloth::before { clip-path: none; }
  .scroll { --u: 1 !important; }
  .btn, .ul, .quotes li, .map iframe { transition: none; }
  .quotes li:hover { transform: none; }
}
