/* La Cave d'Antoine — static stylesheet.
   Merged from the former Next.js app/globals.css + app/design-memory.css.
   Design rules and component patterns adapted from the user's Design Memory
   library. Exact provenance and attributions: /CREDITS.md and /research/. */

/* Self-hosted fonts (variable, SIL Open Font License — see CREDITS.md).
   Each file covers its whole weight range, so one @font-face per style
   renders every weight used on the site (500/600 for headings, 400/500
   for body text) with no external request and no visual change. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans.woff2') format('woff2');
}

:root {
  --background: #f6f3ea;
  --foreground: #302a25;
  --primary: #6f272f;
  --primary-foreground: #fffaf0;
  --secondary: #e9e5d8;
  --muted-foreground: #6e675f;
  --border: #d8d0c2;
  --marker: #e4c780;
  --olive: #515b46;
  --gutter: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --type-xs: .75rem; --type-sm: .875rem; --type-base: 1rem; --type-lg: 1.25rem;
  --type-xl: 1.563rem; --type-2xl: 1.953rem; --type-3xl: 2.441rem;
  --type-4xl: 3.052rem; --type-5xl: 3.815rem; --type-display: 4.769rem;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --motion-base: 250ms; --motion-slow: 400ms; --motion-reveal: 600ms;
  --shadow-lg: 0 12px 32px #302a251f;
}

/* --- Minimal preflight (was Tailwind's) --- */
[hidden] { display: none !important; }
*, ::before, ::after { box-sizing: border-box; border: 0 solid var(--border); }
button, input, textarea, select { font: inherit; color: inherit; background: transparent; padding: 0; margin: 0; }
button { -webkit-appearance: none; appearance: none; text-align: inherit; }
svg { display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* --- Base --- */
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-body), Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display), Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(49px, 5.3vw, 76px); } h2 { font-size: clamp(39px, 3.4vw, 49px); } h3 { font-size: 31px; }
em { font-family: var(--font-display), Georgia, serif; font-weight: 500; }
::selection { background: var(--marker); color: var(--foreground); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1280px; width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.eyebrow { font-size: 12px; line-height: 1.2; letter-spacing: .07em; font-weight: 500; }
.quiet-note, .image-credit { font-size: 12px; color: var(--muted-foreground); }
.image-credit { margin-top: 12px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; transform: translateY(-160%); background: var(--background); border: 1px solid var(--primary); padding: 12px 16px; }
.skip-link:focus { transform: none; }

.button { display: inline-flex; position: relative; isolation: isolate; overflow: hidden; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 16px 24px; border: 1px solid var(--primary); border-radius: 0; color: var(--background); background: var(--background); font-size: 14px; font-weight: 500; line-height: 1.2; transition: color var(--motion-base) var(--ease); }
.button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--primary); transform-origin: 100% 50%; transition: transform var(--motion-slow) var(--ease); }
.button:hover, .button:focus-visible { color: var(--primary); }
.button:hover::before, .button:focus-visible::before { transform: scaleX(0); }
.button svg { flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 14px; line-height: 1.2; border-bottom: 1px solid currentColor; padding-block: 8px; }
.text-link svg { flex-shrink: 0; transition: transform var(--motion-base) var(--ease); }
.text-link:hover svg, .text-link:focus-visible svg { transform: translate(3px, -3px); }

/* --- Header --- */
.masthead { border-bottom: 1px solid var(--border); }
.masthead-sign { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 24px 20px; gap: 32px; }
.masthead-address, .masthead-hours { font-size: 12px; line-height: 1.5; letter-spacing: .06em; }
.masthead-address span, .masthead-hours span { display: block; color: var(--muted-foreground); margin-top: 4px; font-size: 12px; letter-spacing: .03em; }
.masthead-hours { text-align: right; }
.sign-name { text-align: center; color: var(--primary); font-family: var(--font-display), Georgia, serif; font-size: 39px; font-weight: 600; line-height: 1; white-space: nowrap; }
.sign-name small { display: block; font-family: var(--font-body), Arial, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: .24em; margin-top: 12px; }
.masthead-nav { display: flex; justify-content: center; gap: 48px; border-top: 1px solid var(--border); }
.masthead-nav a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-size: 14px; }
.nav-marker { background: linear-gradient(var(--marker), var(--marker)) left 85% / 0% 45% no-repeat; transition: background-size var(--motion-slow) var(--ease); padding-inline: 4px; }
.masthead-nav [aria-current=page] .nav-marker, .masthead-nav a:hover .nav-marker { background-size: 100% 45%; }
.menu-toggle, .masthead-mobile-note { display: none; }
.menu-toggle { border: 0; background: transparent; color: inherit; align-items: center; justify-content: center; }

/* letter-swap: pure CSS hover animation, Fancy Components MIT, see CREDITS.md */
.letter-swap, .letter-swap-visual { display: inline-flex; }
.letter-swap { vertical-align: bottom; overflow: clip; line-height: 1.2; }
.swap-cell { position: relative; display: inline-flex; white-space: pre; }
.swap-primary { position: relative; }
.swap-secondary { position: absolute; top: 100%; left: 0; }
a:hover .swap-primary, a:focus-visible .swap-primary, a:hover .swap-secondary, a:focus-visible .swap-secondary { animation: letter-forward var(--motion-slow) var(--ease) var(--letter-delay, 0ms) both; }
@keyframes letter-forward { to { transform: translateY(-100%); } }

/* --- Home --- */
.home-hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; padding-block: 64px 48px; align-items: center; }
.home-hello h1 { margin: 24px 0; }
.home-hello > p:not(.eyebrow) { max-width: 400px; }
.home-hello .button { margin-top: 32px; }
.home-phone { display: block; width: fit-content; font-size: 14px; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.home-photo { min-width: 0; }
.photo-window { position: relative; overflow: clip; }
.home-photo .photo-window { height: 440px; border-radius: 120px 4px 4px 4px; }
.photo-window > img { width: 100%; height: calc(100% + 96px); position: absolute; inset: -48px 0; object-fit: cover; transform: translate3d(0, var(--depth-y, 0px), 0) scale(var(--image-scale, 1)); }
.home-photo .photo-window > img { object-position: 57% 50%; }
.home-photo figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; margin-top: 16px; letter-spacing: .04em; }
.photo-note { position: absolute; z-index: 2; bottom: 24px; right: 24px; color: #fffaf0; text-align: right; font-family: var(--font-display), Georgia, serif; font-size: 31px; line-height: 1.05; text-shadow: 0 2px 12px #24150b99; }

/* soft-blur-in: animata MIT adaptation, see CREDITS.md */
.soft-blur { display: inline-block; white-space: nowrap; }
.soft-character { display: inline-block; }

/* text-highlight: Fancy Components MIT adaptation, see CREDITS.md */
.text-highlight { color: inherit; font-style: italic; font-family: var(--font-display), Georgia, serif; background: linear-gradient(transparent 57%, var(--marker) 57%, var(--marker) 87%, transparent 87%) left / 100% 100% no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-inline: .03em; }

/* reveal-lines: animata "Mask Reveal Up" MIT adaptation, see CREDITS.md */
.reveal-lines, .reveal-line, .reveal-line-inner { display: block; }
.reveal-line { overflow: clip; padding-block: .1em; margin-block: -.1em; }

.hours-ribbon { display: flex; justify-content: center; align-items: center; gap: 32px; padding: 16px var(--gutter); background: var(--secondary); border-block: 1px solid var(--border); font-size: 14px; }
.hours-ribbon strong { font-weight: 500; }
.hours-ribbon a { display: flex; gap: 8px; align-items: center; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.home-offering { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 96px; padding-block: 80px; }
.atmosphere-photo { width: 100%; max-width: 432px; }
.atmosphere-photo .photo-window { height: 460px; }
.atmosphere-photo img { object-position: 50% 65%; }
.home-offering h2 { margin: 20px 0 32px; }
.offering-list > div { display: grid; grid-template-columns: 128px 1fr; align-items: baseline; gap: 24px; border-top: 1px solid var(--border); padding: 16px 0; }
.offering-list dt { font-family: var(--font-display), Georgia, serif; font-size: 25px; line-height: 1.2; }
.offering-list dd { font-size: 14px; line-height: 1.5; }
.home-offering .quiet-note { margin: 8px 0 24px; }

/* progressive-blur: motion-primitives MIT adaptation, see CREDITS.md */
.progressive-blur { position: absolute; pointer-events: none; inset: auto 0 0; height: 45%; z-index: 1; }
.progressive-blur > span { position: absolute; inset: 0; pointer-events: none; }
.progressive-blur::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, #261a154d); }

.reviews-section { background: #e9eadf; padding-block: 56px; }
.reviews-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: center; }
.reviews-heading h2 { margin-top: 16px; }
.reviews-heading .text-link { margin-top: 24px; }
.review-card { background: #f8f7f0; border: 1px solid #cfd1c2; padding: 32px; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--primary); color: var(--background); display: grid; place-items: center; font-family: var(--font-display), Georgia, serif; font-size: 25px; }
.review-person h3 { font-family: var(--font-body), Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.review-person div > span { font-size: 12px; color: var(--muted-foreground); }
.google-label { margin-left: auto; font-size: 20px; color: var(--olive); }
.review-stars { display: flex; gap: 4px; color: #8d641c; margin-top: 20px; }
.review-card blockquote { font-size: 20px; line-height: 1.5; margin-top: 16px; }
.review-source { font-size: 12px; color: var(--muted-foreground); margin-top: 24px; }

.landscape { position: relative; min-height: 440px; display: flex; align-items: center; overflow: clip; color: #fffaf0; background: #353c2e; }
.landscape > img { position: absolute; inset: -80px 0; width: 100%; height: calc(100% + 160px); object-fit: cover; object-position: 50% 52%; transform: translate3d(0, var(--depth-y, 0px), 0); }
.landscape-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #172016bb, #17201611); }
.landscape-copy { position: relative; padding-block: 64px; }
.landscape h2 { font-size: 61px; margin: 24px 0; }
.landscape-credit { position: absolute; bottom: 16px; right: var(--gutter); left: var(--gutter); text-align: right; font-size: 12px; }
.landscape :focus-visible, .site-footer :focus-visible { outline-color: var(--background); }

/* --- La Cave page --- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 80px 64px; }
.about-intro h1 { font-size: 61px; margin: 24px 0; }
.about-intro p:not(.eyebrow) { max-width: 440px; margin-top: 16px; }
.about-intro .text-link { margin-top: 24px; }
.photo-stack { position: relative; height: 400px; margin-inline: 24px; }
.photo-stack figure { position: absolute; width: 80%; padding: 12px 12px 16px; background: #fffcf3; box-shadow: var(--shadow-lg); transition: transform var(--motion-slow) var(--ease); }
.photo-stack img { width: 100%; height: 260px; object-fit: cover; }
.photo-stack figcaption { font-family: var(--font-display), Georgia, serif; font-size: 20px; text-align: center; margin-top: 12px; }
.stack-back { left: 0; top: 0; transform: rotate(-9deg); }
.stack-front { right: 0; top: 56px; transform: rotate(7deg); }
.photo-stack:hover .stack-back, .photo-stack:focus-within .stack-back { transform: rotate(-4deg) translateY(-8px); }
.photo-stack:hover .stack-front, .photo-stack:focus-within .stack-front { transform: rotate(2deg) translateY(4px); }
.gallery-section { padding-block: 32px 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 16px; }
.section-heading > p { font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gallery-item:nth-child(even) { padding-top: 48px; }
.photo-button { position: relative; width: 100%; height: 300px; padding: 0; border: 0; border-radius: 0; overflow: clip; display: block; }
.photo-button > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-slow) var(--ease); }
.photo-button:hover > img, .photo-button:focus-visible > img { transform: scale(1.04); }
.photo-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--background); color: var(--primary); }
.gallery-caption { display: flex; align-items: baseline; gap: 12px; font-size: 12px; line-height: 1.5; margin-top: 12px; }
.gallery-caption > span:first-child { color: var(--primary); }
.instagram-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.instagram-note > p { font-family: var(--font-display), Georgia, serif; font-size: 31px; line-height: 1.2; }

/* --- Contatti page --- */
.contact-page { padding-block: 64px 80px; }
.page-intro { margin-bottom: 56px; }
.page-intro h1 { margin-top: 24px; font-size: 61px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.contact-details { display: grid; gap: 32px; }
.contact-details h2 { font-size: 31px; margin-bottom: 16px; }
.phone-number { display: inline-flex; gap: 16px; align-items: center; font-family: var(--font-display), Georgia, serif; font-size: 31px; color: var(--primary); }
.contact-details section:first-child > p { font-size: 14px; margin-top: 8px; }
.hours > div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.hours dd { white-space: nowrap; }
.contact-details .quiet-note { margin-top: 12px; }
.contact-details .text-link { margin-top: 16px; }
.map-panel { position: relative; border: 1px solid var(--border); background: var(--secondary); min-height: 520px; }
.map-placeholder { height: 100%; min-height: 520px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.map-placeholder > svg { color: var(--primary); margin-bottom: 16px; }
.map-placeholder > span { font-family: var(--font-display), Georgia, serif; font-style: italic; font-size: 49px; line-height: 1.1; }
.map-placeholder p { margin-top: 24px; }
.map-placeholder .button { margin-top: 32px; }
.map-placeholder small { font-size: 12px; margin-top: 20px; color: var(--muted-foreground); display: block; }
.map-placeholder > a { font-size: 12px; text-decoration: underline; margin-top: 8px; min-height: 32px; display: inline-flex; align-items: center; }
.map-panel iframe { width: 100%; height: 100%; min-height: 520px; display: block; border: 0; }
.map-hide { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--background); border: 1px solid var(--border); min-height: 44px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.practical-notes { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.practical-notes h2 { font-size: 31px; }
.practical-notes details { border-bottom: 1px solid var(--border); }
.practical-notes summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.2; cursor: pointer; list-style: none; }
.practical-notes summary::-webkit-details-marker { display: none; }
.practical-notes details[open] svg { transform: rotate(45deg); }
.practical-notes details svg { transition: transform var(--motion-base) var(--ease); }
.practical-notes details p { padding-bottom: 24px; }
.around-note { font-size: 14px; max-width: 720px; margin-top: 40px; color: var(--muted-foreground); }
.around-note a { text-decoration: underline; text-underline-offset: 4px; }

/* --- Footer --- */
.site-footer { background: var(--primary); color: var(--background); padding-block: 48px 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #ffffff30; }
.footer-invitation { font-family: var(--font-display), Georgia, serif; font-size: 61px; line-height: 1.1; margin-top: 16px; letter-spacing: -.025em; }
.footer-phone { display: flex; align-items: center; gap: 24px; font-family: var(--font-display), Georgia, serif; font-size: 31px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 32px; }
.footer-brand { font-family: var(--font-display), Georgia, serif; font-size: 25px; }
.footer-main p { font-size: 12px; margin-top: 12px; color: #ecd8d0; }
.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #ffffff30; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: #ecd8d0; }
.mobile-contact { display: none; }

/* edge-blur: Cult UI MIT adaptation, see CREDITS.md */
.edge-blur { position: absolute; inset: auto 0 100%; height: 48px; pointer-events: none; }
.edge-blur > span { position: absolute; inset: 0; pointer-events: none; }

/* --- Note legali page --- */
.legal-page { max-width: 800px; padding-block: 64px 80px; }
.legal-page h1 { margin: 24px 0 32px; }
.legal-notice { border-left: 3px solid var(--primary); background: var(--secondary); padding: 20px 24px; }
.legal-notice strong { font-weight: 500; }
.legal-notice p { margin-top: 8px; font-size: 14px; }
.legal-index { display: flex; flex-wrap: wrap; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--border); font-size: 14px; }
.legal-page a { text-decoration: underline; text-underline-offset: 4px; }
.legal-page section { margin-top: 48px; }
.legal-page section h2 { font-size: 31px; margin-bottom: 20px; }
.legal-page h3 { font-size: 25px; margin-top: 32px; }
.legal-page section p { margin-top: 16px; }

/* --- 404 --- */
.not-found { padding-block: 80px 96px; }
.not-found h1 { margin: 24px 0 32px; }

/* --- Dialogs (native <dialog>) --- */
html.dialog-open { overflow: hidden; }
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: #201c18bb; animation: backdrop-in 100ms ease both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.photo-dialog, .menu-sheet { margin: auto; }
.photo-dialog { width: min(960px, calc(100vw - 32px)); border-radius: 0; padding: 24px; max-height: calc(100dvh - 32px); overflow: auto; background: var(--background); animation: dialog-in 100ms ease both; }
@keyframes dialog-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.photo-dialog > img { width: 100%; max-height: 68dvh; object-fit: contain; }
.photo-dialog .dialog-title { padding-right: 40px; font-family: var(--font-display), Georgia, serif; font-size: 25px; line-height: 1.2; font-weight: 500; }
.photo-dialog .dialog-description { font-size: 12px; color: var(--muted-foreground); margin-top: 12px; }
.dialog-x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; color: var(--foreground); background: var(--background); display: grid; place-items: center; border: 1px solid var(--border); }

.menu-sheet { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; overflow-y: auto; isolation: isolate; }
.menu-curtain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: var(--background); }
.menu-close { position: absolute; top: 20px; right: 16px; width: 48px; height: 48px; border-radius: 0; z-index: 2; display: grid; place-items: center; }
.menu-sheet-copy { position: relative; padding: 96px 24px 40px; }
.menu-sheet-copy .dialog-title { font-family: var(--font-display), Georgia, serif; font-size: 39px; line-height: 1.1; font-style: italic; font-weight: 500; }
.menu-sheet nav { margin-block: 40px; }
.menu-sheet nav a { display: flex; align-items: center; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--border); font-family: var(--font-display), Georgia, serif; font-size: 31px; line-height: 1.2; }
.menu-sheet nav a > span { font-family: var(--font-body), Arial, sans-serif; color: var(--primary); font-size: 12px; }
.menu-sheet nav a svg { margin-left: auto; flex-shrink: 0; }
.menu-sheet nav [aria-current=page] { color: var(--primary); }
.menu-phone { font-size: 20px; display: block; }
.menu-sheet-copy > p { margin-top: 8px; font-size: 14px; }
.menu-sheet-copy > .text-link { font-size: 12px; margin-top: 32px; }

/* Codrops SVG path page transition adapted to the mobile menu, see CREDITS.md */
@supports (d: path('M 0 0 L 1 1')) {
  .menu-sheet[open] .menu-curtain path { animation: curtain-in var(--motion-slow) var(--ease) both; }
}
.menu-sheet[open] .menu-sheet-copy { animation: menu-copy-in var(--motion-slow) var(--ease) both; }
@keyframes curtain-in {
  0% { d: path('M 0 100 V 100 Q 50 100 100 100 V 100 z'); }
  45% { d: path('M 0 100 V 50 Q 50 0 100 50 V 100 z'); }
  100% { d: path('M 0 100 V 0 Q 50 0 100 0 V 100 z'); }
}
@keyframes menu-copy-in { 0%, 35% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }

@media (max-width: 1023px) {
  :root { --gutter: 24px; }
  .masthead-sign { gap: 16px; }
  .sign-name { font-size: 31px; }
  .masthead-address, .masthead-hours { font-size: 12px; }
  .home-hero, .about-intro { gap: 40px; }
  .home-hero h1, .about-intro h1 { font-size: 49px; }
  .home-photo .photo-window { height: 400px; border-top-left-radius: 80px; }
  .home-offering { gap: 48px; }
  .offering-list > div { grid-template-columns: 1fr; gap: 4px; }
  .reviews-inner { gap: 40px; }
  .photo-stack { margin-inline: 8px; height: 360px; }
  .photo-stack img { height: 220px; }
  .gallery-grid { gap: 16px; }
  .photo-button { height: 240px; }
  .contact-grid { gap: 40px; }
  .footer-phone { font-size: 25px; gap: 16px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  h1 { font-size: 49px; } h2 { font-size: 39px; }
  .masthead-sign { display: flex; justify-content: center; position: relative; padding-block: 20px; }
  .sign-name { font-size: 31px; padding-right: 24px; }
  .sign-name small { font-size: 10px; margin-top: 8px; }
  .masthead-address, .masthead-hours, .masthead-nav { display: none; }
  .menu-toggle { display: inline-flex; position: absolute; right: -8px; width: 44px; height: 44px; border-radius: 0; }
  .masthead-mobile-note { display: flex; justify-content: space-between; gap: 16px; padding: 8px var(--gutter); border-top: 1px solid var(--border); font-size: 10px; letter-spacing: .07em; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 32px; }
  .home-hero h1 { font-size: 61px; margin-block: 20px; }
  .home-hello .eyebrow { font-size: 10px; }
  .home-hello .button { margin-top: 24px; }
  .home-phone { display: inline-block; margin-left: 20px; font-size: 12px; }
  .home-photo .photo-window { height: 340px; border-radius: 80px 4px 4px 4px; }
  .photo-window > img { inset: 0; height: 100%; transform: none; }
  .photo-note { font-size: 31px; bottom: 20px; right: 20px; }
  .home-photo figcaption { font-size: 10px; margin-top: 12px; }
  .hours-ribbon { flex-wrap: wrap; gap: 4px 16px; padding-block: 16px; font-size: 12px; }
  .hours-ribbon a { width: 100%; justify-content: center; margin-top: 4px; }
  .home-offering { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .home-offering > div:last-child { order: -1; }
  .home-offering h2 { margin: 16px 0 24px; }
  .offering-list > div { grid-template-columns: 108px 1fr; gap: 16px; }
  .offering-list dt { font-size: 25px; }
  .atmosphere-photo { max-width: none; }
  .atmosphere-photo .photo-window { height: 360px; }
  .atmosphere-photo img { object-position: 50% 60%; }
  .reviews-section { padding-block: 40px; }
  .reviews-inner { grid-template-columns: 1fr; gap: 24px; }
  .reviews-heading h2 br { display: none; }
  .reviews-heading .text-link { margin-top: 16px; }
  .review-card { padding: 24px; }
  .review-card blockquote { font-size: 20px; }
  .landscape { min-height: 400px; }
  .landscape > img { inset: 0; height: 100%; transform: none; }
  .landscape h2 { font-size: 49px; }
  .landscape-credit { text-align: left; font-size: 10px; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; padding-block: 40px 32px; }
  .about-intro h1 { font-size: 49px; margin-block: 20px; }
  .photo-stack { margin-inline: 20px; height: 360px; max-width: 400px; width: calc(100% - 40px); justify-self: center; }
  .photo-stack img { height: 232px; }
  .gallery-section { padding-block: 24px 48px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .gallery-item:nth-child(even) { padding-top: 32px; }
  .photo-button { height: 240px; }
  .gallery-caption { gap: 8px; }
  .instagram-note { display: block; padding-block: 40px; }
  .instagram-note > p { font-size: 31px; }
  .instagram-note .text-link { margin-top: 24px; }
  .contact-page { padding-block: 40px 48px; }
  .page-intro { margin-bottom: 40px; }
  .page-intro h1 { font-size: 49px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-number { font-size: 31px; }
  .map-panel, .map-placeholder, .map-panel iframe { min-height: 400px; }
  .map-panel iframe { height: 400px; }
  .map-placeholder { padding: 32px 16px; }
  .practical-notes { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .around-note { margin-top: 32px; }
  .site-footer { padding-block: 40px 24px; }
  .footer-top { display: block; padding-bottom: 32px; }
  .footer-invitation { font-size: 49px; }
  .footer-phone { font-size: 25px; margin-top: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-main > div { grid-column: 1 / -1; }
  .footer-main nav { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 30; background: var(--background); border-top: 1px solid var(--border); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-contact a { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; line-height: 1.2; min-height: 48px; }
  .mobile-contact a:first-of-type { background: var(--primary); color: var(--background); }
  .legal-page { padding-block: 40px 48px; }
  .legal-notice { padding: 16px; }
  .legal-page section { margin-top: 32px; }
  .legal-index { gap: 20px; }
  .photo-dialog { padding: 16px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .home-hero h1 { font-size: 49px; }
  .home-phone { margin-left: 0; display: block; }
  .sign-name { font-size: 25px; }
  .home-photo .photo-window { height: 300px; }
  .about-intro h1, .page-intro h1 { font-size: 39px; }
  .photo-stack img { height: 200px; }
  .photo-stack { height: 320px; }
  .photo-button { height: 200px; }
  .offering-list > div { grid-template-columns: 96px 1fr; gap: 12px; }
  .offering-list dt { font-size: 20px; }
  .phone-number { font-size: 25px; gap: 12px; }
  .review-card { padding: 20px; }
  .menu-sheet nav a { font-size: 25px; }
  .menu-sheet-copy { padding-inline: 20px; }
}
@media (max-width: 767px) {
  [data-depth] { --depth-y: 0px; --image-scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .photo-stack figure, .photo-button:hover > img, .photo-button:focus-visible > img { transition: none; }
  [data-depth] { --depth-y: 0px !important; --image-scale: 1 !important; }
  .soft-character, .reveal-line-inner, .swap-primary, .swap-secondary, .menu-curtain path, .menu-sheet-copy { animation: none !important; }
  .swap-secondary { display: none; }
  .photo-button > img { transform: none !important; }
  .text-highlight { background-size: 100% 100% !important; }
}
