:root {
  --ink: #14231d;
  --ink-deep: #08130f;
  --forest: #173d2f;
  --forest-light: #2f6753;
  --brand-orange: #f16524;
  --brand-orange-deep: #cc4d14;
  --brand-gold: #fdd56f;
  --gold: #c4a15e;
  --gold-soft: #dfc994;
  --ivory: #f5f0e7;
  --paper: #fbf8f2;
  --sage: #d8dfd4;
  --muted: #69736d;
  --line: rgba(20, 35, 29, 0.15);
  --serif: "Italiana", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold-soft); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; transform: translateY(-180%); background: white; color: var(--ink); padding: .75rem 1rem; border-radius: 2px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; color: #fff; border-top: 3px solid var(--brand-orange); border-bottom: 1px solid rgba(255,255,255,.15); transition: background .3s ease, height .3s ease, box-shadow .3s ease; }
.site-header.scrolled { height: 72px; background: rgba(8,19,15,.92); box-shadow: 0 12px 30px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: .8rem; line-height: 1; }
.brand-logo { width: 132px; height: 42px; display: grid; place-items: center; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.brand-divider { width: 1px; height: 30px; background: rgba(255,255,255,.35); }
.brand-product strong { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .03em; }
.brand-product small { display: block; margin-top: .35rem; font-size: .49rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.desktop-nav { display: flex; gap: 2.25rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a { position: relative; padding: .8rem 0; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 .35rem; height: 1px; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.share-button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .55rem .95rem; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.share-button:hover { background: var(--brand-orange); border-color: var(--brand-orange); }
.share-button span { font-size: .78rem; }

.hero { position: relative; min-height: 100svh; isolation: isolate; display: grid; align-items: end; overflow: hidden; background: var(--ink-deep); color: white; }
.hero-image, .hero-shade, .hero-grain { position: absolute; inset: 0; }
.hero-image { z-index: -3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 22%; animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(5,14,10,.94) 0%, rgba(5,14,10,.76) 36%, rgba(5,14,10,.16) 70%, rgba(5,14,10,.25) 100%), linear-gradient(0deg, rgba(5,14,10,.78), transparent 48%); }
.hero-grain { z-index: -1; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.hero-content { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 170px 0 12vh; }
.eyebrow, .kicker { margin: 0 0 1.5rem; color: var(--brand-orange); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: #ff9a67; }
.eyebrow span { display: inline-block; width: 38px; height: 1px; background: currentColor; }
.hero h1 { max-width: 780px; margin: 0; font: 400 clamp(4.5rem, 9.5vw, 9.5rem)/.82 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--gold-soft); }
.life-dates { display: flex; align-items: center; gap: 1.1rem; margin: 2rem 0 1.4rem; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.life-line { position: relative; display: inline-block; width: 80px; height: 1px; background: rgba(255,255,255,.35); }
.life-line i { position: absolute; width: 5px; height: 5px; top: -2px; left: calc(50% - 2px); border: 1px solid var(--gold-soft); transform: rotate(45deg); }
.hero-service-date { margin: 0 0 1.25rem; color: var(--brand-gold); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero blockquote { margin: 0 0 2.4rem; max-width: 510px; color: rgba(255,255,255,.72); font-size: 1rem; font-style: italic; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 2px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { background: var(--brand-orange); color: #fff; }
.button-primary:hover { background: var(--brand-orange-deep); }
.button-ghost { color: white; border-color: rgba(255,255,255,.38); }
.button-ghost:hover { background: rgba(255,255,255,.09); }
.button-dark { background: var(--ink); color: white; }
.scroll-cue { position: absolute; right: 4vw; bottom: 8vh; min-width: 44px; display: flex; align-items: center; gap: .75rem; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.65); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--gold-soft), transparent); }

.service { position: relative; display: grid; grid-template-columns: 1.25fr .55fr .9fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: 120px max(4vw, calc((100vw - 1180px)/2)); background: var(--paper); overflow: hidden; }
.section-marker { position: absolute; top: 4rem; right: 5vw; font: 400 7rem/1 var(--serif); color: rgba(20,35,29,.045); }
.service-intro h2, .venues-heading h2, .story-copy h2, .section-heading h2, .livestream-copy h2, .memories-heading h2, .tributes-copy h2, .closing-copy h2 { margin: 0; font: 400 clamp(2.8rem, 5vw, 5rem)/1.02 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.service-intro > p:last-child { max-width: 500px; margin: 1.6rem 0 0; color: var(--muted); }
.service-date { min-height: 255px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-inline: 1px solid var(--line); text-align: center; }
.service-date > span { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.service-date strong { color: var(--forest); font: 400 7rem/.9 var(--serif); letter-spacing: -.07em; }
.service-details { display: grid; gap: 1.45rem; }
.service-details > div:not(.service-actions) { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: start; }
.detail-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-orange); }
.detail-icon svg { width: 19px; }
.service-details p { margin: 0; }
.service-details small, .service-details strong, .service-details span { display: block; }
.service-details small { color: var(--muted); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.service-details strong { margin: .1rem 0; font-size: 1rem; }
.service-details p > span { color: var(--muted); font-size: .84rem; }
.text-link { width: max-content; min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; border-bottom: 1px solid var(--gold); padding: .5rem 0; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.service-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: .3rem; }
.service-action { width: 100%; min-width: 0; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .6rem .25rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .58rem; font-weight: 600; letter-spacing: .02em; text-align: center; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.service-action:hover { background: #fff; border-color: rgba(241,101,36,.45); color: var(--brand-orange-deep); }
.service-action svg { width: 18px; color: var(--brand-orange); }
.service-availability { margin: .2rem 0 0 51px !important; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; line-height: 1.45; }
.service-availability span { display: block !important; margin-bottom: .18rem; color: var(--ink); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-essentials { margin: .1rem 0 0 51px; padding: 0; border-top: 1px solid var(--line); }
.service-essentials > div { display: grid !important; grid-template-columns: 92px 1fr !important; gap: .75rem !important; align-items: baseline !important; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.service-essentials dt { color: var(--brand-orange-deep); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-essentials dd { margin: 0; color: var(--ink); font-size: .72rem; line-height: 1.45; }

.venues { padding: 112px max(4vw, calc((100vw - 1180px)/2)); background: var(--ivory); }
.venues-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: clamp(3rem, 8vw, 8rem); margin-bottom: 4rem; }
.venues-heading > p { max-width: 410px; margin: 0 0 .6rem; color: var(--muted); }
.venue-list { position: relative; border-top: 1px solid var(--line); }
.venue-list::before { content: ""; position: absolute; left: 37px; top: 2rem; bottom: 2rem; width: 1px; background: rgba(241,101,36,.22); }
.venue-row { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(220px, .42fr); gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.venue-number { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; background: var(--ivory); color: var(--brand-orange-deep); font: 400 1.55rem/1 var(--serif); }
.venue-copy h3 { margin: .15rem 0 .2rem; font: 400 1.75rem/1.15 var(--serif); }
.venue-copy address { color: var(--ink); font-size: .82rem; font-style: normal; }
.venue-copy > p:last-child { margin: .35rem 0 0; color: var(--muted); font-size: .72rem; }
.venue-label { margin: 0; color: var(--brand-orange-deep); font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.venue-actions { display: grid; justify-items: start; gap: .45rem; }
.venue-actions a, .venue-actions button { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.venue-actions a { border-color: var(--brand-orange); }
.venue-actions button { color: var(--muted); }
.venue-actions a:hover, .venue-actions button:hover { color: var(--brand-orange-deep); }
.demo-note { max-width: 660px; margin: 1.5rem 0 0 auto; color: var(--muted); font-size: .62rem; text-align: right; }

.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.story-photo { position: relative; min-height: 720px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.05) saturate(.8); }
.photo-caption { position: absolute; left: 2rem; bottom: 2rem; padding: .55rem .8rem; background: rgba(8,19,15,.82); color: white; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.story-copy { align-self: center; padding: 8vw max(5vw, calc((100vw - 1180px)/2)); padding-right: max(6vw, calc((100vw - 1180px)/2)); }
.story-copy .lead { margin: 2rem 0 1.25rem; color: var(--forest); font: 400 1.35rem/1.5 var(--serif); }
.story-copy > p:not(.kicker):not(.lead), .story-more p { color: var(--muted); }
.obituary-label { display: block; margin: 0 0 .45rem; color: var(--brand-orange-deep); font-family: var(--sans); font-size: .61rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-toggle { min-height: 46px; display: inline-flex; align-items: center; gap: .7rem; padding: .2rem 0; margin-top: 1.2rem; background: none; border: 0; border-bottom: 1px solid var(--brand-orange); color: var(--ink); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.story-toggle svg { transition: transform .25s ease; }
.story-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.story-more { padding-top: .5rem; }
.story-quote { grid-column: 1 / -1; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 2rem; padding: 64px max(4vw, calc((100vw - 1180px)/2)); background: var(--sage); }
.story-quote svg { width: 54px; border: 0; fill: var(--forest-light); stroke: none; opacity: .5; }
.story-quote blockquote { margin: 0; font: 400 clamp(2rem, 4vw, 4rem)/1.1 var(--serif); }
.story-quote cite { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-style: normal; }

.programme { padding: 120px max(4vw, calc((100vw - 1180px)/2)); background: var(--forest); color: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 4rem; }
.section-heading > p { max-width: 320px; margin: 0 0 .7rem; color: rgba(255,255,255,.58); }
.kicker.light { color: #ff9a67; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.programme-groups { display: grid; gap: 3.25rem; }
.programme-group { position: relative; }
.programme-group-heading { display: grid; grid-template-columns: 110px 1fr; gap: 0; align-items: end; margin-bottom: 1.1rem; }
.programme-group-heading > span { color: var(--brand-gold); font: 400 1.35rem/1 var(--serif); }
.programme-group-heading p { margin: 0; color: var(--brand-gold); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.programme-group-heading small { display: block; margin-top: .25rem; color: rgba(255,255,255,.58); font-size: .68rem; }
.timeline-item { position: relative; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid rgba(255,255,255,.18); }
.timeline-item::before { content: ""; position: absolute; left: 108px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.15); }
.timeline-item > time { padding: 1.55rem 1rem 1.55rem 0; color: var(--gold-soft); font: 400 1.35rem/1 var(--serif); }
.timeline-item button { width: 100%; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0 1.2rem 2rem; background: transparent; color: white; border: 0; text-align: left; cursor: pointer; }
.timeline-item button > span { font-size: 1.05rem; }
.timeline-item button small { display: block; margin-bottom: .25rem; color: rgba(255,255,255,.62); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; }
.programme-speaker { display: flex; flex-wrap: wrap; gap: .3rem .65rem; margin-top: .45rem; font-family: var(--sans); font-size: .68rem; line-height: 1.35; }
.programme-speaker strong { color: var(--gold-soft); font-weight: 600; }
.programme-speaker em { color: rgba(255,255,255,.67); font-style: normal; }
.timeline-item button svg { transition: transform .25s ease; }
.timeline-item button[aria-expanded="true"] svg { transform: rotate(180deg); }
.timeline-detail { grid-column: 2; margin: -1rem 0 1.5rem; padding: 0 4rem 0 2rem; color: rgba(255,255,255,.62); max-width: 720px; }
.timeline-detail p { margin: 0; }
.programme-download { display: flex; width: max-content; align-items: center; gap: 1rem; margin: 3rem 0 0 auto; padding: .9rem 1.2rem; border: 1px solid rgba(255,255,255,.25); transition: background .2s ease; }
.programme-download:hover { background: rgba(255,255,255,.08); }
.programme-download svg { color: #ff9a67; }
.programme-download span { font-size: .8rem; font-weight: 600; }
.programme-download small { display: block; color: rgba(255,255,255,.48); font-size: .62rem; font-weight: 400; }

.livestream { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: 112px max(4vw, calc((100vw - 1180px)/2)); background: var(--ink-deep); color: white; }
.livestream-copy > p:not(.kicker) { max-width: 490px; margin: 1.5rem 0 0; color: rgba(255,255,255,.62); }
.live-schedule { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem !important; color: rgba(255,255,255,.86) !important; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.live-schedule span + span { padding-left: .7rem; border-left: 1px solid rgba(255,255,255,.28); color: var(--brand-gold); }
.livestream-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.livestream-actions .button:disabled { background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.18); }
.livestream-actions .button:disabled svg { color: #ff9a67; }
.light-link { color: white; border-color: rgba(255,255,255,.3); }
.livestream-player { min-width: 0; }
.live-preview, .livestream-player iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.16); border-top: 2px solid var(--brand-orange); background: #0d1b16; }
.live-preview { position: relative; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2rem; text-align: center; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.live-preview::before { content: "Memorial broadcast"; position: absolute; top: 1rem; left: 1rem; color: rgba(255,255,255,.43); font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.live-preview[hidden] { display: none; }
.live-preview > svg { width: 64px; height: 64px; padding: 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: #ff9a67; }
.live-preview p { margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.live-status { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.76); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 5px rgba(241,101,36,.12); }
.livestream-player iframe { display: block; }
.livestream-player iframe[hidden] { display: none; }
.live-fallback { margin: 1rem 0 0; color: rgba(255,255,255,.47); font-size: .68rem; }

.memories { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .6fr); grid-template-rows: auto auto 1fr; gap: 2rem; padding: 120px max(4vw, calc((100vw - 1180px)/2)); background: var(--paper); }
.memories-heading { grid-column: 1 / -1; display: grid; grid-template-columns: .6fr 1fr; align-items: end; margin-bottom: 2rem; }
.memories-heading .kicker { margin: 0 0 .6rem; }
.gallery-feature { position: relative; grid-row: 2 / span 2; min-height: 620px; padding: 0; overflow: hidden; border: 0; background: var(--ink); text-align: left; cursor: zoom-in; }
.gallery-feature img, .gallery-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-feature:hover img, .gallery-portrait:hover img { transform: scale(1.025); }
.gallery-feature::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(5,14,10,.78)); pointer-events: none; }
.gallery-overlay { position: absolute; z-index: 2; left: 2.2rem; bottom: 2.2rem; color: white; }
.gallery-overlay small, .gallery-overlay strong { display: block; }
.gallery-overlay small { margin-bottom: .5rem; color: var(--gold-soft); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.gallery-overlay strong { max-width: 420px; font: 400 2.2rem/1.1 var(--serif); }
.expand-icon { position: absolute; z-index: 3; top: 1.5rem; right: 1.5rem; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.memory-note { padding: 2.2rem; background: var(--sage); }
.memory-note span { display: block; color: var(--forest); font: 400 6rem/.85 var(--serif); letter-spacing: -.06em; }
.memory-note p { margin: 1rem 0 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.gallery-portrait { position: relative; min-height: 310px; padding: 0; overflow: hidden; border: 0; cursor: zoom-in; }
.gallery-portrait span { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; background: rgba(8,19,15,.82); color: white; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }

.tributes { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 9vw, 9rem); padding: 120px max(4vw, calc((100vw - 1080px)/2)); background: var(--ivory); }
.tributes-copy p:last-child { color: var(--muted); max-width: 400px; margin-top: 1.5rem; }
.tribute-form { padding: 2.5rem; background: white; box-shadow: 0 30px 80px rgba(30,42,35,.09); }
.tribute-form label { display: block; margin: 0 0 .45rem; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tribute-form input, .tribute-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); outline: none; padding: .55rem 0 .8rem; margin: 0 0 1.4rem; transition: border-color .2s ease; resize: vertical; }
.tribute-form input:focus, .tribute-form textarea:focus { border-color: var(--forest-light); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-row > span { color: var(--muted); font-size: .7rem; }
.form-status { min-height: 1.4rem; margin: 1rem 0 0; color: var(--forest-light); font-size: .8rem; }
.tribute-locked { position: relative; min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; }
.tribute-locked::after { content: ""; position: absolute; right: -55px; bottom: -65px; width: 210px; height: 210px; border: 1px solid rgba(241,101,36,.15); border-radius: 50%; box-shadow: 0 0 0 30px rgba(241,101,36,.04), 0 0 0 60px rgba(241,101,36,.025); }
.status-label { position: absolute; top: 1.5rem; right: 1.5rem; padding: .35rem .55rem; border: 1px solid rgba(241,101,36,.35); color: var(--brand-orange-deep); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tribute-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1.4rem; border: 1px solid rgba(241,101,36,.32); color: var(--brand-orange); }
.tribute-locked h3 { max-width: 440px; margin: 0; font: 400 2rem/1.15 var(--serif); }
.tribute-locked p { max-width: 520px; margin: 1rem 0 1.5rem; color: var(--muted); }
.button:disabled { position: relative; z-index: 1; background: #e7e3dc; color: #777b77; cursor: not-allowed; transform: none; }

.closing { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; background: var(--ink-deep); color: white; text-align: center; }
.closing-image { position: absolute; inset: 0; opacity: .21; }
.closing-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(.5); }
.closing::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 34%, transparent, rgba(5,14,10,.78) 70%); }
.closing-copy { position: relative; z-index: 2; width: min(670px, calc(100% - 48px)); padding: 6rem 0; }
.closing-copy .kicker { margin-bottom: 1.3rem; }
.closing-copy p:not(.kicker) { margin: 1.7rem auto; color: rgba(255,255,255,.68); }
.closing-signature { margin-top: 2.5rem; color: var(--gold-soft); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.closing-signature em { display: block; margin-top: .5rem; color: white; font: 400 1.65rem/1 var(--serif); text-transform: none; letter-spacing: 0; }
.farewell-line { margin-top: 2.2rem !important; color: #ff9a67 !important; font: 400 1.2rem/1.3 var(--serif); }

footer { background: #07100d; color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .04em; }
.footer-family, .footer-provider { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 4vw; }
.footer-family { min-height: 94px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-family p { margin: 0; }
.footer-family a { min-height: 44px; display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; }
.footer-family a span { color: #ff9a67; font-size: 1rem; }
.footer-provider { min-height: 116px; gap: 1.5rem; }
.footer-logo { width: 132px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.footer-provider > p { flex: 1; margin: 0; }
.footer-provider strong, .footer-provider span:not(.footer-logo):not(.footer-demo) { display: block; }
.footer-provider strong { color: #fff; font-size: .76rem; font-weight: 600; }
.footer-provider p span { margin-top: .32rem; color: rgba(255,255,255,.52); font-size: .62rem; }
.footer-demo { max-width: 215px; padding-left: 1rem; border-left: 1px solid rgba(223,201,148,.55); color: rgba(255,255,255,.45); font-size: .56rem; font-weight: 600; letter-spacing: .1em; line-height: 1.55; text-transform: uppercase; }

.mobile-app-nav, .mobile-more-sheet, .mobile-sheet-backdrop { display: none; }
.lightbox { width: min(1100px, calc(100% - 32px)); height: min(88vh, 820px); padding: 0; background: #08100d; border: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(3,8,6,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(8,16,13,.7); color: white; cursor: pointer; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 2rem; transform: translate(-50%, calc(100% + 5rem)); padding: .8rem 1.1rem; background: var(--ink); color: white; box-shadow: 0 16px 40px rgba(0,0,0,.2); font-size: .78rem; opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes sheetIn { from { transform: translateY(110%); } to { transform: translateY(0); } }

@media (max-width: 900px) {
  :root { --container: calc(100% - 40px); }
  .desktop-nav { display: none; }
  .service { grid-template-columns: 1fr 1fr; }
  .service-intro { grid-column: 1 / -1; }
  .venue-row { grid-template-columns: 58px minmax(0, 1fr); }
  .venue-list::before { left: 28px; }
  .venue-actions { grid-column: 2; grid-template-columns: repeat(2, max-content); gap: 1.25rem; }
  .livestream { grid-template-columns: 1fr; }
  .story { grid-template-columns: .9fr 1.1fr; }
  .story-photo { min-height: 610px; }
  .story-quote { grid-template-columns: 55px 1fr; }
  .story-quote cite { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 36px); }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-header { height: calc(74px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; border-top-width: 2px; border-bottom-color: rgba(255,255,255,.1); background: transparent; }
  .site-header.scrolled { height: calc(74px + env(safe-area-inset-top)); background: rgba(8,19,15,.94); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
  .brand { position: absolute; left: 50%; top: calc(env(safe-area-inset-top) + 10px); height: 40px; min-height: 40px; transform: translateX(-50%); }
  .brand-logo { width: 128px; height: 40px; }
  .brand-divider, .brand-product { display: none; }
  .site-header > .share-button { position: absolute; top: calc(env(safe-area-inset-top) + 7px); right: 10px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,19,15,.22); color: rgba(255,255,255,.92); }
  .site-header > .share-button:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }
  .site-header > .share-button span { display: none; }
  .site-header > .share-button svg { width: 19px; height: 19px; }
  .hero { min-height: 780px; height: 100svh; max-height: 900px; align-items: end; }
  .hero-image { inset: 0; }
  .hero-image img { object-position: 59% 15%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,14,10,.96) 0%, rgba(5,14,10,.72) 42%, rgba(5,14,10,.05) 72%), linear-gradient(90deg, rgba(5,14,10,.25), transparent 70%); }
  .hero-content { width: calc(100% - 36px); padding: 110px 0 112px; }
  .eyebrow { margin-bottom: .8rem; font-size: .61rem; }
  .hero h1 { max-width: 350px; font-size: clamp(3.75rem, 17vw, 5rem); line-height: .86; }
  .life-dates { gap: .7rem; margin: 1.4rem 0 1rem; font-size: .65rem; }
  .life-line { width: 38px; }
  .hero-service-date { margin-bottom: 1rem; font-size: .59rem; letter-spacing: .1em; }
  .hero blockquote { max-width: 330px; margin-bottom: 1.4rem; font-size: .86rem; }
  .hero-actions { flex-wrap: nowrap; }
  .button { min-height: 48px; padding: .7rem 1rem; }
  .hero-actions .button-ghost { flex: 1; }
  .scroll-cue { display: none; }

  .service { display: block; padding: 78px 18px; }
  .section-marker { top: 2.3rem; right: 1rem; font-size: 4.8rem; }
  .service-intro h2, .venues-heading h2, .story-copy h2, .section-heading h2, .livestream-copy h2, .memories-heading h2, .tributes-copy h2, .closing-copy h2 { font-size: clamp(2.75rem, 13vw, 3.8rem); }
  .service-date { min-height: 190px; margin: 3rem 0; border-inline: 0; border-block: 1px solid var(--line); }
  .service-date strong { font-size: 6rem; }
  .service-details { gap: 1.25rem; }
  .text-link { margin-top: .3rem; }
  .service-actions { margin-top: .7rem; }
  .service-action { min-height: 70px; font-size: .58rem; }
  .service-availability { margin-left: 0 !important; }
  .service-essentials { margin-left: 0; }

  .venues { padding: 78px 18px; }
  .venues-heading { display: block; margin-bottom: 2.5rem; }
  .venues-heading > p { margin: 1.2rem 0 0; }
  .venue-row { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.7rem 0; }
  .venue-list::before { left: 21px; top: 1.7rem; bottom: 1.7rem; }
  .venue-number { width: 30px; height: 30px; font-size: 1.2rem; }
  .venue-copy h3 { font-size: 1.55rem; }
  .venue-actions { grid-column: 2; grid-template-columns: 1fr; gap: .2rem; }
  .venue-actions a, .venue-actions button { width: max-content; }
  .demo-note { text-align: left; }

  .story { display: flex; flex-direction: column; }
  .story-photo { min-height: 520px; order: 1; }
  .story-photo img { object-position: 54% center; }
  .story-copy { order: 2; padding: 76px 18px; }
  .story-copy .lead { font-size: 1.25rem; }
  .story-quote { order: 3; display: block; padding: 56px 18px; }
  .story-quote svg { width: 38px; margin-bottom: 1.2rem; }
  .story-quote blockquote { font-size: 2.5rem; }
  .story-quote cite { display: block; margin-top: 1.5rem; }

  .programme { padding: 78px 18px; }
  .section-heading { display: block; margin-bottom: 2.5rem; }
  .section-heading > p { margin: 1.2rem 0 0; }
  .programme-groups { gap: 2.75rem; }
  .programme-group-heading { grid-template-columns: 72px 1fr; margin-bottom: .8rem; }
  .programme-group-heading > span { padding-top: .15rem; font-size: 1.05rem; }
  .programme-group-heading p { font-size: .61rem; }
  .programme-group-heading small { font-size: .62rem; line-height: 1.4; }
  .timeline-item { grid-template-columns: 72px 1fr; }
  .timeline-item::before { left: 70px; }
  .timeline-item > time { padding-top: 1.7rem; font-size: 1.05rem; }
  .timeline-item button { min-height: 88px; padding-left: 1.15rem; }
  .timeline-item button > span { font-size: .94rem; }
  .programme-speaker { display: grid; gap: .12rem; font-size: .64rem; }
  .timeline-item button svg { flex: 0 0 auto; }
  .timeline-detail { padding-left: 1.15rem; padding-right: 0; font-size: .86rem; }
  .programme-download { margin: 2.5rem 0 0; }

  .livestream { display: block; padding: 78px 18px; }
  .livestream-player { margin-top: 3rem; }
  .livestream-actions { gap: .9rem; }
  .live-schedule { margin-top: 1.1rem !important; }
  .live-preview { padding: 1.25rem; }
  .live-preview > svg { width: 54px; height: 54px; }

  .memories { display: grid; grid-template-columns: 1fr .72fr; grid-template-rows: auto 430px 210px; gap: 10px; padding: 78px 10px; }
  .memories-heading { grid-column: 1 / -1; display: block; padding: 0 8px; margin: 0 0 2rem; }
  .gallery-feature { grid-column: 1 / -1; grid-row: 2; min-height: 0; }
  .gallery-feature img { object-position: 52% center; }
  .gallery-overlay { left: 1.2rem; bottom: 1.2rem; }
  .gallery-overlay strong { max-width: 280px; font-size: 1.65rem; }
  .expand-icon { top: 1rem; right: 1rem; width: 42px; height: 42px; }
  .memory-note { grid-column: 1; grid-row: 3; padding: 1.3rem; }
  .memory-note span { font-size: 4.5rem; }
  .memory-note p { font-size: .63rem; }
  .gallery-portrait { grid-column: 2; grid-row: 3; min-height: 0; }
  .gallery-portrait img { object-position: center 27%; }

  .tributes { display: block; padding: 78px 18px; }
  .tributes-copy { margin-bottom: 2.5rem; }
  .tribute-form { padding: 1.5rem; box-shadow: 0 18px 50px rgba(30,42,35,.09); }
  .tribute-locked { min-height: 410px; }
  .tribute-locked h3 { font-size: 1.85rem; }
  .form-row { align-items: end; }
  .form-row .button { max-width: 175px; }

  .closing { min-height: 590px; }
  .closing-image img { object-position: 57% 20%; }
  .footer-family, .footer-provider { display: grid; justify-items: center; gap: 1rem; padding: 2rem 18px; text-align: center; }
  .footer-family { min-height: 130px; }
  .footer-provider { min-height: 190px; }
  .footer-provider > p { flex: initial; }
  .footer-logo { width: 128px; height: 42px; }
  .footer-demo { max-width: 265px; padding: .65rem 0 0; border-left: 0; border-top: 1px solid rgba(223,201,148,.55); }

  .mobile-app-nav { position: fixed; z-index: 110; inset: auto 10px calc(10px + env(safe-area-inset-bottom)); height: 72px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px 7px; border: 1px solid rgba(241,101,36,.38); border-radius: 20px; background: rgba(8,19,15,.94); color: rgba(255,255,255,.72); box-shadow: 0 14px 36px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .mobile-app-nav a, .mobile-app-nav button { min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .28rem; padding: 0 2px; border: 0; background: transparent; color: inherit; font-size: .53rem; font-weight: 600; letter-spacing: .02em; cursor: pointer; }
  .mobile-app-nav svg { width: 18px; height: 18px; }
  .mobile-app-nav a.is-active, .mobile-app-nav button[aria-expanded="true"] { color: var(--brand-gold); }
  .mobile-programme-action { position: relative; color: white !important; }
  .mobile-programme-action .mobile-nav-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -24px; border: 2px solid var(--brand-gold); border-radius: 50%; background: var(--brand-orange); color: white; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
  .mobile-programme-action.is-active .mobile-nav-icon { background: var(--brand-orange-deep); transform: translateY(-2px); }
  .mobile-programme-action span:last-child { margin-top: -1px; }
  .mobile-sheet-backdrop { position: fixed; z-index: 120; inset: 0; background: rgba(3,8,6,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .mobile-more-sheet { position: fixed; z-index: 130; inset: auto 0 0; display: block; max-height: min(78svh, 660px); overflow: auto; padding: .7rem 18px calc(98px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -20px 55px rgba(0,0,0,.26); animation: sheetIn .28s cubic-bezier(.2,.7,.2,1) both; }
  .mobile-more-sheet[hidden], .mobile-sheet-backdrop[hidden] { display: none; }
  .sheet-handle { width: 38px; height: 4px; margin: .15rem auto 1.3rem; border-radius: 10px; background: rgba(20,35,29,.2); }
  .sheet-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
  .sheet-heading .kicker { margin-bottom: .6rem; }
  .sheet-heading h2 { margin: 0; font: 400 2.35rem/1 var(--serif); letter-spacing: -.03em; }
  .sheet-heading button { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
  .sheet-links { margin-top: 1.75rem; border-top: 1px solid var(--line); }
  .sheet-links a, .sheet-links button { width: 100%; min-height: 64px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; padding: .65rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
  .sheet-links span { font-size: .79rem; font-weight: 600; }
  .sheet-links small { color: var(--muted); font-size: .64rem; }
  .sheet-open { overflow: hidden; }
  .toast { z-index: 150; bottom: calc(100px + env(safe-area-inset-bottom)); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body { padding: 0; background: white; color: #111; font-size: 10pt; }
  .site-header, .hero, .story, .memories, .tributes, .closing, footer, .mobile-app-nav, .mobile-more-sheet, .mobile-sheet-backdrop, .scroll-cue, .livestream, .service-actions, .programme-download, .story-toggle { display: none !important; }
  .service, .venues, .programme { display: block; padding: 0; background: white; color: #111; break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
  .service { margin-bottom: 12mm; }
  .section-marker, .service-intro > p:last-child, .service-availability, .demo-note { display: none; }
  .service-intro h2, .venues-heading h2, .section-heading h2 { font-size: 28pt; }
  .service-date { min-height: 0; margin: 7mm 0; padding: 5mm 0; border: 1px solid #ccc; }
  .service-date strong { font-size: 45pt; }
  .service-essentials { margin-left: 0; }
  .venues-heading, .section-heading { display: block; margin: 0 0 7mm; }
  .venue-row { grid-template-columns: 12mm 1fr; gap: 4mm; padding: 5mm 0; }
  .venue-actions { display: none; }
  .programme { margin-top: 12mm; page-break-before: always; }
  .section-heading > p { color: #555; }
  .kicker.light, .programme-speaker strong { color: #b94410; }
  .timeline { border-color: #bbb; }
  .programme-groups { gap: 6mm; }
  .programme-group { break-inside: avoid; }
  .programme-group-heading { grid-template-columns: 22mm 1fr; margin: 0 0 3mm; }
  .programme-group-heading > span, .programme-group-heading p { color: #b94410; }
  .programme-group-heading small { color: #555; }
  .timeline-item { grid-template-columns: 22mm 1fr; border-color: #ccc; break-inside: avoid; }
  .timeline-item::before { left: 21.5mm; background: #ccc; }
  .timeline-item > time { color: #7a572b; }
  .timeline-item button { min-height: 0; padding: 4mm 0 4mm 6mm; color: #111; }
  .timeline-item button svg, .timeline-detail { display: none; }
  .timeline-item button small, .programme-speaker em { color: #666; }
}
