@charset "UTF-8";
@font-face { font-family: "UnifrakturCook"; src: url("./assets/fonts/UnifrakturCook-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("./assets/fonts/plex/IBMPlexMono-Regular-Latin1.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
:root {
  color-scheme: dark;
  --night: #0d0a0b;
  --surface: #4a1725;
  --surface-hover: #682536;
  --text: #f0e4d5;
  --muted: #c4abae;
  --accent: #c57e89;
  --line: #4e2b33;
  --card-line: #b79c93;
  --card-inner: #7e4d57;
  --serif: Georgia, "Times New Roman", serif;
  --gothic: "UnifrakturCook", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
html:has(.photo-viewer[open]), body:has(.photo-viewer[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: .24em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 112px), 1280px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 16px; background: var(--text); color: var(--night); padding: 14px 20px; font: 15px/1.5 var(--mono); }
.skip-link:focus { top: 16px; }
figure { margin: 0; min-width: 0; }
h1, h2, h3, p { margin: 0; }
h2 { font: 400 44px/1.1 var(--serif); letter-spacing: -1px; }

.opening { position: relative; isolation: isolate; overflow: clip; padding-block: 40px 72px; background: radial-gradient(ellipse at 49% 54%, #701e3266, transparent 64%); }
.grave-sigil.sigil--opening { position: absolute; z-index: -1; top: calc(50% - 92px); left: calc(50% - 188px); transform: translate(-50%, -50%); --sigil-size: 900px; --sigil-opacity: .12; --sigil-speed: 200s; --sigil-phase: -24s; --sigil-ink: var(--card-line); }
.masthead { display: flex; justify-content: center; margin-bottom: 28px; }
.masthead h1 { width: min(58%, 650px); line-height: 0; }
.wordmark { display: block; width: 100%; height: auto; }
.sanctuary { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 580px) 320px; justify-content: center; align-items: center; gap: 56px; max-width: 1000px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; min-width: 0; max-width: 760px; text-align: center; }
.invitation { font: 700 clamp(80px, 8vw, 112px)/.94 var(--gothic); letter-spacing: -.5px; color: var(--text); }
.event-panel { --seal-size: 184px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; width: 100%; min-width: 0; padding: 0; }
.event-panel h2 { grid-column: 1; grid-row: 1; align-self: end; font-size: 34px; letter-spacing: -.7px; }
.event-date { position: relative; grid-column: 1; grid-row: 1; align-self: center; width: var(--seal-size); aspect-ratio: 1; }
.event-dial { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--card-line); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .7; pointer-events: none; }
.event-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; padding: 24px 14px; text-align: center; }
.event-month { color: var(--text); font: 400 calc(var(--seal-size) * .085)/1.2 var(--serif); letter-spacing: .13em; text-transform: uppercase; }
.event-number { color: var(--text); font: 400 calc(var(--seal-size) * .48)/.88 var(--serif); letter-spacing: -.07em; padding-right: .07em; font-variant-numeric: lining-nums tabular-nums; }
.event-weekday { color: var(--muted); font: italic 400 calc(var(--seal-size) * .10)/1.3 var(--serif); }
.event-date-pending { gap: 3px; color: var(--text); font: 400 calc(var(--seal-size) * .19)/1.06 var(--serif); letter-spacing: -.02em; }
.event-date-pending span:first-child { color: var(--muted); font-size: .8em; font-style: italic; }
.event-date-fallback { color: var(--text); font: 400 23px/1.35 var(--serif); overflow-wrap: anywhere; }
.event-details { grid-column: 1; grid-row: 2; display: grid; justify-items: center; gap: 10px; max-width: 100%; margin-top: 12px; text-align: center; }
.event-details h3 { font: 400 25px/1.3 var(--serif); }
.event-time { padding-bottom: 10px; border-bottom: 1px solid #7e4d5766; color: var(--text); font: 400 29px/1.25 var(--serif); }
.event-venue { font: 23px/1.4 var(--serif); }
.event-address, .event-description { color: var(--muted); font: 19px/1.5 var(--serif); }
.event-actions { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.event-actions:not(:has(a:not([hidden]))) { display: none; }
.event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) .event-date { grid-column: 1; grid-row: 1; }
.event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) .event-details { display: none; }
.event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) .event-actions { grid-column: 1; grid-row: 2; margin-top: 20px; }
.social-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.social-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); text-decoration: none; transition: color .2s, background .2s, box-shadow .2s; }
.social-icon svg { display: block; width: 24px; height: 24px; }
.social-icon[href]:hover { color: var(--accent); background: #c57e8914; box-shadow: 0 0 18px #c57e8929; }
.social-icon.is-unlinked { color: var(--muted); cursor: default; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font: 15px/1.5 var(--mono); }
.text-link:hover { color: var(--accent); }

/* Etched card rails echo the faceted frames around the food photographs. */
.painting-art { width: 100%; min-width: 0; filter: drop-shadow(0 16px 22px #0007); }
.tarot-card { position: relative; isolation: isolate; width: 100%; aspect-ratio: 360 / 670; background: linear-gradient(145deg, #26121b, #100b0e 55%, #210f18); clip-path: polygon(5% 0, 95% 0, 100% 2.7%, 100% 97.3%, 95% 100%, 5% 100%, 0 97.3%, 0 2.7%); }
.card-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.tarot-seal { position: absolute; top: 4.3%; left: 50%; width: clamp(18px, 9%, 30px); transform: translateX(-50%); }
.tarot-seal img { display: block; width: 100%; height: auto; clip-path: inset(2.8% 4% 2.6% round 50% 50% 0 0 / 33% 33% 0 0); }
.painting-frame { position: absolute; left: 8%; right: 8%; bottom: 9.5%; padding: 6px; border: 1px solid #9b727a; background: #100a0d; box-shadow: 0 0 0 3px #100a0d, 0 0 0 4px #54333e; }
.painting-viewport { position: relative; width: 100%; aspect-ratio: 840 / 1480; overflow: hidden; background: #70533b; }
.painting-plane { position: absolute; top: 0; left: 0; width: 840px; height: 1480px; transform-origin: 0 0; transform: scale(var(--painting-scale, 0)); }
.painting-source { position: absolute; top: 0; left: 0; display: block; width: 1368px; max-width: none; height: 1824px; transform-origin: 0 0; transform: matrix3d(.95467270470286114,-.0058662558654306012,0,-.00002254698641690233,-.047798227434378705,.82225353047118921,0,-.00010320127597871188,0,0,1,0,-248.05988194457836,-148.8943732484268,0,1); }
.photo-link { display: block; position: relative; overflow: hidden; background: #1d1014; text-decoration: none; }
.photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rotating-photo-stage { position: relative; isolation: isolate; }
.rotating-photo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rotating-photo-stage > .photo-transition { opacity: 0; z-index: 1; pointer-events: none; transition: opacity .65s ease; }
.rotating-photo-stage > .photo-transition.is-entering, .rotating-photo-stage > .photo-current { opacity: 1; }

.kitchen-section { position: relative; padding-block: 64px 72px; border-block: 1px solid #48262f; background: #180e12; }
/* Static sun and crescent engravings mark both edges of the maroon section. */
.section-transition { position: absolute; inset-inline: 0; z-index: 1; display: block; height: 48px; max-width: none; pointer-events: none; user-select: none; }
.section-transition--top { top: 0; transform: translateY(-50%); }
.section-transition--bottom { bottom: 0; transform: translateY(50%); }
.kitchen-heading { margin-bottom: 38px; }
.kitchen-heading h2 { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; align-items: baseline; column-gap: .28em; row-gap: .08em; font: 700 clamp(48px, 6vw, 82px)/1.05 var(--gothic); letter-spacing: 0; }
.kitchen-heading h2 > span { white-space: nowrap; }
.kitchen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kitchen-grid figure { --photo-frame-inset: 12px; position: relative; padding: 0; border: var(--photo-frame-inset) solid transparent; border-image: url("./assets/branding/grave-photo-frame.svg") 24 fill / 1 / 0 stretch; background: transparent; transition: filter .25s; }
.gallery-feature { position: relative; grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
.gallery-feature .rotating-photo-stage { position: absolute; inset: 0; }
.gallery-close { grid-column: 3 / 5; }
.gallery-close .rotating-photo-stage { aspect-ratio: 4 / 3; }
.gallery-share { grid-column: 3; }
.gallery-pan { grid-column: 4; }
.gallery-share .photo-link, .gallery-pan .photo-link { aspect-ratio: 1; }
.gallery-share img { object-position: center 61%; }
.gallery-pan img { object-position: center 45%; }

.contact { display: grid; grid-template-columns: minmax(0, max-content) 220px; justify-content: center; gap: 72px; align-items: start; max-width: 880px; padding-block: 66px 74px; }
.contact-copy { min-width: 0; }
.contact-heading { display: flex; align-items: center; gap: 16px; }
.contact-mark { display: block; flex: 0 0 auto; width: 42px; height: auto; clip-path: inset(2.8% 4% 2.6% round 50% 50% 0 0 / 33% 33% 0 0); filter: url("#contact-mark-ivory"); }
.contact h2 { font: 700 clamp(47px, 5vw, 68px)/1.05 var(--gothic); letter-spacing: 0; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 44px; color: var(--text); font: 25px/1.5 var(--serif); text-decoration-color: var(--accent); text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.contact-links a > span { min-width: 0; }
.contact-link-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; color: var(--muted); }
.contact-links a:hover { color: var(--muted); }
.contact-pending { margin-top: 24px; color: var(--muted); font: 21px/1.5 var(--serif); }
.instagram-qr { position: relative; display: block; width: 220px; max-width: 100%; aspect-ratio: 1; border: 10px solid transparent; border-image: url("./assets/branding/grave-photo-frame.svg") 24 fill / 1 / 0 stretch; transition: filter .25s; }
.qr-palette { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.instagram-qr-crop { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 6%; background: var(--text); }
.instagram-qr img { position: absolute; display: block; width: 125.1592356688%; max-width: none; height: auto; left: -12.5796178344%; top: -39.1719745223%; filter: url("#instagram-qr-palette"); }

.photo-viewer { --viewer-gutter: 32px; position: fixed; inset: 0; width: min(calc(100% - var(--viewer-gutter)), 1100px); height: calc(100vh - var(--viewer-gutter)); height: calc(100dvh - var(--viewer-gutter)); min-width: 0; min-height: 0; max-width: none; max-height: none; margin: auto; padding: 10px 14px 14px; border: 16px solid transparent; border-image: url("./assets/branding/grave-photo-frame.svg") 24 fill / 1 / 0 stretch; background: var(--night); color: var(--text); overflow: hidden; box-shadow: 0 24px 100px #000b; }
.photo-viewer[open] { display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; gap: 10px; }
.photo-viewer:not([open]) { display: none; }
.photo-viewer::backdrop { background: radial-gradient(ellipse at center, #34131dec, #080608f5 75%); }
.photo-viewer > img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
.photo-close { display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); }
.photo-close:hover { color: var(--accent); }
.photo-close span { font: 30px/1 var(--mono); }
.photo-viewer > p { text-align: center; color: var(--muted); font: 17px/1.4 var(--serif); overflow-wrap: anywhere; }

/* Keep the supplied menu directly accessible to QR visitors. */
.menu-page { position: relative; isolation: isolate; overflow-x: clip; }
.grave-sigil.sigil--menu { position: fixed; z-index: -1; top: 72px; right: calc(50% - 680px); --sigil-size: 900px; --sigil-opacity: .10; --sigil-speed: 220s; --sigil-phase: -50s; --sigil-ink: var(--card-line); }
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(calc(100% - 48px), 760px); margin-inline: auto; min-height: 76px; border-bottom: 1px solid var(--line); }
.back-home, .tool-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border: 0; color: var(--muted); background: transparent; font: 15px/1.5 var(--mono); text-decoration: none; }
.back-home:hover, .tool-button:hover { color: var(--text); text-decoration: underline; }
.menu-tool-actions { display: flex; gap: 24px; }
.menu-sheet { width: min(calc(100% - 40px), 760px); margin: 28px auto 32px; }
.menu-poster-link, .menu-poster { display: block; width: 100%; }
.menu-poster-link { border: 16px solid transparent; border-image: url("./assets/branding/grave-photo-frame.svg") 24 fill / 1 / 0 stretch; background: var(--night); box-shadow: 0 18px 70px #0008; transition: filter .25s; }
.menu-poster { height: auto; }
.menu-afterword { width: min(calc(100% - 48px), 760px); margin: 0 auto; }
.menu-afterword:has([data-share-status]:not(:empty), [data-share-fallback]:not([hidden])) { padding-bottom: 32px; }
[data-share-status] { font: 15px/1.5 var(--mono); }
[data-share-status]:empty { display: none; }
.share-fallback { display: block; margin-top: 16px; font: 15px/1.5 var(--mono); }
.share-fallback input { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 14px/1.5 var(--mono); }

.not-found-page { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(ellipse at center, #4a172540, transparent 70%), var(--night); }
.not-found { max-width: 720px; padding-block: 48px; text-align: center; }
.not-found-wordmark { display: block; width: min(100%, 340px); height: auto; margin: 0 auto 44px; }
.not-found h1 { font: 700 clamp(42px, 8vw, 72px)/1.1 var(--gothic); }
.not-found p { margin-top: 20px; color: var(--muted); font: 21px/1.5 var(--serif); }
.not-found nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .opening { padding-block: 32px 56px; }
  .masthead { margin-bottom: 22px; }
  .masthead h1 { width: min(64%, 600px); }
  .sanctuary { grid-template-columns: minmax(0, 540px) 280px; gap: 36px; max-width: 900px; }
  .grave-sigil.sigil--opening { top: calc(50% - 80px); left: calc(50% - 158px); --sigil-size: 780px; }
  .invitation { font-size: clamp(76px, 8vw, 88px); }
  .hero-copy { gap: 30px; }
  .event-panel { --seal-size: 156px; }
  .event-panel h2 { font-size: 30px; }
  .event-description { font-size: 18px; }
  .kitchen-section { padding-block: 48px 56px; }
  .contact { gap: 48px; padding-block: 52px 60px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .sanctuary { grid-template-columns: minmax(0, 1fr) 245px; gap: 28px; }
  .grave-sigil.sigil--opening { top: calc(50% - 70px); left: calc(50% - 136.5px); --sigil-size: 680px; }
  .invitation { font-size: 68px; }
  .event-panel h2 { font-size: 26px; }
  .event-panel { --seal-size: 140px; }
  .event-day { gap: 3px; padding: 20px 12px; }
  .event-month { font-size: 13px; }
  .event-weekday { font-size: 16px; }
  .event-description { font-size: 17px; }
  .hero-copy { gap: 30px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .opening { --mobile-hero-gap: clamp(10px, 1.9svh, 16px); display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding-block: clamp(12px, 1.9svh, 16px) clamp(24px, 3.3svh, 28px); }
  .grave-sigil.sigil--opening { top: 32%; left: 50%; transform: translate(-50%, -50%); --sigil-size: 760px; --sigil-opacity: .085; }
  .grave-sigil.sigil--menu { top: 120px; right: -220px; --sigil-size: 620px; --sigil-opacity: .075; }
  .masthead { margin-bottom: var(--mobile-hero-gap); }
  .masthead h1 { width: min(82%, 300px, 35svh); }
  .sanctuary { grid-template-columns: minmax(0, 1fr); gap: var(--mobile-hero-gap); align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; gap: var(--mobile-hero-gap); }
  .invitation { font-size: clamp(38px, 5.7svh, 48px); line-height: 1.05; text-align: center; }
  .painting-art { grid-column: 1; grid-row: 2; width: min(54%, 180px, 22svh); justify-self: center; }
  .painting-frame { padding: 4px; }
  .event-panel { --seal-size: clamp(110px, 17svh, 144px); }
  .event-actions, .event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) .event-actions { margin-top: 8px; }
  .event-panel h2 { font-size: 32px; }
  .event-description { font-size: 19px; }
  .kitchen-section { padding-block: 36px 40px; }
  .section-transition { height: 36px; }
  .kitchen-heading { margin-bottom: 28px; }
  .kitchen-heading h2 { font-size: clamp(35px, 6.3vw, 48px); }
  .kitchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .kitchen-grid figure { --photo-frame-inset: 10px; }
  .gallery-feature { grid-column: 1 / -1; grid-row: auto; }
  .gallery-feature .rotating-photo-stage { position: relative; inset: auto; aspect-ratio: 4 / 5; }
  .gallery-close { grid-column: 1 / -1; }
  .gallery-close .rotating-photo-stage { aspect-ratio: 3 / 2; }
  .gallery-share { grid-column: 1; }
  .gallery-pan { grid-column: 2; }
  .contact { grid-template-columns: minmax(0, max-content) 200px; gap: 40px; padding-block: 40px 46px; }
  .contact-heading { gap: 12px; }
  .contact-mark { width: 34px; }
  .contact h2 { font-size: 48px; }
  .contact-links { margin-top: 22px; gap: 10px; }
  .contact-links a { font-size: 24px; }
  .instagram-qr { width: 200px; border-width: 10px; }
  .photo-viewer { --viewer-gutter: 16px; padding: 8px; border-width: 10px; }
  .menu-poster-link { border-width: 8px; }
  .photo-viewer[open] { gap: 8px; }
  .menu-tools { min-height: 70px; gap: 12px; }
  .menu-tool-actions { gap: 16px; }
  .back-home, .tool-button { font-size: 13px; gap: 7px; }
}
@media (max-width: 560px) {
  .social-links { align-self: center; justify-content: center; }
  .event-panel { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .event-panel h2 { grid-column: 1; grid-row: 1; font-size: 31px; text-align: center; }
  .event-date { grid-column: 1; grid-row: 1; margin-top: 0; }
  .event-details { grid-column: 1; grid-row: 2; width: 100%; margin-top: 17px; text-align: center; }
  .event-actions { grid-column: 1; grid-row: 3; width: 100%; }
  .event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) { row-gap: 0; }
  .event-panel:is([data-popup-status="past"], [data-popup-status="undated"]) .event-actions { grid-column: 1; grid-row: 2; }
  .kitchen-heading h2 { width: 100%; font-size: clamp(39px, 9.5vw, 51px); }
  .contact h2 { font-size: clamp(43px, 11.3vw, 51px); }
  .contact-links a { font-size: 26px; }
}
@media (max-width: 680px) {
  .contact { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; text-align: center; }
  .contact-heading { justify-content: center; }
  .contact-links { align-items: center; }
}
@media (max-width: 360px) {
  .painting-frame { padding: 3px; }
  .contact-links a { font-size: 23px; }
  .menu-tool-actions { gap: 12px; }
  .back-home, .tool-button { font-size: 12px; gap: 5px; }
}
@media (hover: hover) {
  .kitchen-grid figure:hover, .kitchen-grid figure:focus-within,
  .menu-poster-link:hover, .instagram-qr:hover { filter: drop-shadow(0 0 12px #c57e8940); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { color-scheme: light; }
  .menu-page { background: white; color: black; }
  .menu-tools, .menu-afterword, .skip-link, .photo-controls, .photo-viewer { display: none !important; }
  .menu-sheet { width: 100%; max-width: none; margin: 0; padding: 0; }
  .menu-poster-link { border: 0; box-shadow: none; filter: none; }
  .menu-poster { width: auto; max-width: 100%; height: auto; max-height: 250mm; margin: 0 auto; }
  @page { size: letter portrait; margin: 10mm; }
}
