:root {
  --paper: #f6f1e7;
  --paper-deep: #ebe4d6;
  --ink: #171713;
  --ink-soft: #555047;
  --forest: #1f342e;
  --forest-deep: #13241f;
  --moss: #657565;
  --wine: #693238;
  --gold: #b68a4a;
  --line: rgba(24, 23, 19, 0.16);
  --line-light: rgba(246, 241, 231, 0.18);
  --white: #fffaf1;
  --shadow: 0 24px 80px rgba(18, 20, 17, 0.18);
  --content: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(31, 52, 46, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 46%, #eee5d7 100%);
  background-size: 76px 76px, auto;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 78%, transparent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 160;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--wine), var(--forest));
  transform: scaleX(0);
  transform-origin: left center;
}

body.memorial-intro-active {
  overflow: hidden;
}

body.memorial-intro-active .site-header,
body.memorial-intro-active .live-stream-pill,
body.memorial-intro-active main,
body.memorial-intro-active .site-footer {
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
}

.memorial-intro {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 46%, rgba(182, 138, 74, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(9, 13, 12, 0.98));
  transition:
    opacity 900ms ease,
    visibility 900ms ease;
}

.memorial-intro[hidden] {
  display: none;
}

.memorial-intro.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.memorial-intro__photos {
  position: absolute;
  inset: 0;
  filter: blur(1.4px);
  opacity: 0.72;
}

.memorial-intro__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72) 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84));
}

.memorial-intro__photo {
  position: absolute;
  width: clamp(130px, 18vw, 270px);
  max-width: none;
  opacity: 0;
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  animation: intro-photo-fade 5s ease-in-out forwards;
}

.memorial-intro__photo--one {
  top: 6%;
  left: 7%;
  aspect-ratio: 3 / 4;
  animation-delay: 0.1s;
}

.memorial-intro__photo--two {
  top: 13%;
  right: 9%;
  aspect-ratio: 4 / 3;
  animation-delay: 0.7s;
}

.memorial-intro__photo--three {
  left: 13%;
  bottom: 8%;
  aspect-ratio: 3 / 4;
  animation-delay: 1.1s;
}

.memorial-intro__photo--four {
  right: 7%;
  bottom: 11%;
  width: clamp(170px, 24vw, 360px);
  aspect-ratio: 3 / 2;
  animation-delay: 1.55s;
}

.memorial-intro__photo--five {
  left: 39%;
  top: 4%;
  width: clamp(120px, 14vw, 210px);
  aspect-ratio: 1150 / 1600;
  animation-delay: 2s;
}

.memorial-intro__photo--six {
  right: 31%;
  bottom: 4%;
  width: clamp(160px, 22vw, 320px);
  aspect-ratio: 4 / 3;
  animation-delay: 2.45s;
}

.memorial-intro__card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  background: rgba(12, 19, 17, 0.62);
  border: 1px solid rgba(255, 250, 241, 0.18);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: intro-card-rise 850ms cubic-bezier(0.18, 0.84, 0.24, 1) both;
}

.memorial-intro__card h1 {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7.4vw, 7.2rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.memorial-intro__dates {
  margin: 1.2rem 0 0;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memorial-intro__details {
  display: grid;
  gap: 4px;
  width: min(440px, 100%);
  margin: 1.35rem auto 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.memorial-intro__message {
  max-width: 48rem;
  margin: 1.35rem auto 0;
  color: rgba(255, 250, 241, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.16;
}

.memorial-intro__live {
  display: inline-grid;
  gap: 3px;
  margin-top: 1.55rem;
  padding: 14px 22px;
  color: #19110b;
  background: var(--gold);
  box-shadow: 0 20px 70px rgba(182, 138, 74, 0.28);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memorial-intro__live span {
  color: rgba(25, 17, 11, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 120;
  width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(19, 36, 31, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  background: rgba(19, 36, 31, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-nav a {
  min-height: 36px;
  padding: 8px 12px;
  color: rgba(255, 250, 241, 0.74);
  font-size: 0.86rem;
  border: 1px solid transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  border-color: rgba(255, 250, 241, 0.24);
  background: rgba(255, 250, 241, 0.1);
}

.live-stream-pill {
  position: fixed;
  z-index: 125;
  right: max(20px, calc((100% - 1180px) / 2));
  top: 78px;
  display: grid;
  gap: 1px;
  padding: 11px 15px;
  color: #19110b;
  background: linear-gradient(135deg, #f2c66f, var(--gold));
  border: 1px solid rgba(255, 250, 241, 0.38);
  box-shadow: 0 18px 60px rgba(13, 13, 10, 0.26);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.live-stream-pill span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.live-stream-pill strong {
  font-size: 0.86rem;
  line-height: 1.15;
}

.live-stream-pill:hover,
.live-stream-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 76px rgba(13, 13, 10, 0.34);
}

.scene {
  position: relative;
}

.hero {
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--forest);
}

.hero__image,
.farewell > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image {
  object-position: 56% 12%;
  transform: translateY(calc(var(--scroll-y, 0px) * 0.06)) scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 17, 0.82) 0%, rgba(10, 20, 17, 0.52) 42%, rgba(10, 20, 17, 0.08) 100%),
    linear-gradient(180deg, rgba(10, 20, 17, 0.25) 0%, rgba(10, 20, 17, 0.08) 42%, rgba(10, 20, 17, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
  padding: 150px 0 88px;
  color: var(--white);
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__title,
.section-head h2,
.life-band__intro h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.92;
}

.hero__title {
  max-width: 9.8ch;
  font-size: 7rem;
  text-wrap: balance;
}

.hero__dates {
  margin: 1.1rem 0 1.4rem;
  color: rgba(255, 250, 241, 0.82);
  font-weight: 700;
  letter-spacing: 0;
}

.hero__quote {
  max-width: 42rem;
  margin: 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  color: rgba(255, 250, 241, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1.18;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 28px;
  padding-bottom: 18px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
  animation: breathe-line 1700ms ease-in-out infinite;
}

.life-band {
  margin-top: -1px;
  padding: 76px max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--forest-deep), var(--forest));
  background-size: 120px 120px, auto;
}

.life-band__intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: end;
  margin-bottom: 42px;
}

.life-band__intro h2 {
  max-width: 14ch;
  color: var(--paper);
  font-size: 4rem;
}

.life-marks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.life-mark {
  min-height: 230px;
  padding: 26px 24px 8px 0;
  border-right: 1px solid var(--line-light);
}

.life-mark:last-child {
  border-right: 0;
}

.life-mark__year {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
}

.life-mark h3 {
  margin: 1rem 0 0.55rem;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.life-mark p {
  margin: 0;
  max-width: 16rem;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.95rem;
}

.love-link-panel {
  padding: 32px 0;
  background: var(--forest-deep);
}

.love-link-card {
  width: var(--content);
  min-height: 300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, 280px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(182, 138, 74, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.03));
  border: 1px solid rgba(255, 250, 241, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.love-link-card__image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.love-link-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 36, 31, 0), rgba(19, 36, 31, 0.42));
}

.love-link-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: sepia(0.12) saturate(0.9) contrast(0.96);
  transition: transform 900ms cubic-bezier(0.18, 0.84, 0.24, 1);
}

.love-link-card__copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 64px);
}

.love-link-card__copy strong {
  max-width: 11ch;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.love-link-card__copy span:last-child {
  color: rgba(255, 250, 241, 0.76);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
}

.love-link-card:hover img,
.love-link-card:focus-visible img {
  transform: scale(1.045);
}

.mme-passage {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgba(182, 138, 74, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 80%, rgba(105, 50, 56, 0.2), transparent 25rem),
    linear-gradient(135deg, var(--forest-deep) 0%, #172b25 48%, #0f1d19 100%);
}

.mme-passage::before {
  content: "Mme";
  position: absolute;
  right: max(2vw, 18px);
  bottom: -0.42em;
  color: rgba(255, 250, 241, 0.045);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(10rem, 24vw, 23rem);
  font-weight: 700;
  line-height: 0.78;
  pointer-events: none;
}

.mme-passage::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 250, 241, 0.1);
  pointer-events: none;
}

.mme-passage__inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.mme-passage__copy {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  color: var(--forest);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.97), rgba(244, 236, 221, 0.94)),
    var(--paper);
  box-shadow: 0 34px 90px rgba(4, 10, 8, 0.32);
}

.mme-passage__copy::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(31, 52, 46, 0.16);
  pointer-events: none;
}

.mme-passage__copy h2 {
  position: relative;
  margin: 0;
  max-width: 10ch;
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 5.4vw, 5.9rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.mme-passage__copy > p:not(.section-kicker) {
  position: relative;
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.mme-passage__qualities {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.7rem;
}

.mme-passage__qualities span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(31, 52, 46, 0.16);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(31, 52, 46, 0.05);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mme-passage__media {
  display: grid;
  grid-template-areas:
    "hero hero"
    "voice family";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
  align-items: stretch;
}

.mme-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #0b1512;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.mme-photo--hero {
  grid-area: hero;
  aspect-ratio: 16 / 9;
  min-height: 340px;
}

.mme-photo--voice {
  grid-area: voice;
  aspect-ratio: 16 / 10;
}

.mme-photo--family {
  grid-area: family;
  aspect-ratio: 16 / 10;
}

.mme-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 800ms cubic-bezier(0.18, 0.84, 0.24, 1);
}

.mme-photo--hero img {
  object-position: center 46%;
}

.mme-photo--voice img {
  object-position: center 42%;
}

.mme-photo--family img {
  object-position: center 44%;
}

.mme-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 56%;
  background: linear-gradient(180deg, rgba(11, 18, 16, 0), rgba(11, 18, 16, 0.78));
}

.mme-photo figcaption {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(12px, 1.8vw, 20px);
  z-index: 2;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mme-photo:hover img {
  transform: scale(1.045);
}

.obituary-section,
.gallery-section {
  width: var(--content);
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.section-head h2 {
  max-width: 12ch;
  font-size: 4.4rem;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.obituary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: start;
}

.obituary-copy {
  padding: 22px 0 0 34px;
  border-left: 3px solid var(--forest);
}

.reader-cue {
  display: inline-block;
  margin: 2.2rem 0 0.8rem;
  padding: 6px 9px;
  color: var(--forest);
  background: rgba(31, 52, 46, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

.reader-cue:first-child {
  margin-top: 0;
}

.obituary-text {
  max-width: 68ch;
  margin: 0 0 1.3rem;
  color: #27251f;
  font-size: 1.04rem;
}

.obituary-text--preserve {
  white-space: pre-line;
}

.closing-lines {
  max-width: 62ch;
  margin-top: 2.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

.closing-lines p {
  margin: 0.35rem 0;
}

.obituary-aside {
  position: sticky;
  top: 92px;
}

.obituary-aside img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.programme-section {
  padding: 86px max(20px, calc((100% - 1180px) / 2));
  color: var(--paper);
  background: var(--wine);
}

.section-head--dark {
  border-top-color: rgba(255, 250, 241, 0.22);
}

.section-head--dark p:not(.section-kicker) {
  color: rgba(255, 250, 241, 0.72);
}

.live-stream-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 18px;
  align-items: center;
  margin: -10px 0 34px;
  padding: clamp(20px, 3vw, 30px);
  color: #1b1208;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 250, 241, 0.55), transparent 16rem),
    linear-gradient(135deg, #efc46f, var(--gold));
  box-shadow: 0 28px 80px rgba(46, 18, 22, 0.28);
}

.live-stream-panel span,
.live-stream-panel em {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-stream-panel strong {
  color: #18110a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
}

.programme-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.22);
  border-bottom: 1px solid rgba(255, 250, 241, 0.22);
}

.programme-phase {
  padding: 28px 22px 32px 0;
  border-right: 1px solid rgba(255, 250, 241, 0.22);
}

.programme-phase:last-child {
  border-right: 0;
}

.programme-phase h3 {
  min-height: 3.8em;
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.programme-list {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  color: var(--gold);
  font-weight: 800;
}

.programme-list li {
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 250, 241, 0.14);
}

.programme-list li:first-child {
  border-top: 0;
}

.programme-list__plain {
  list-style: none;
}

.programme-list span,
.programme-list strong {
  display: block;
  color: rgba(255, 250, 241, 0.9);
  font-weight: 700;
}

.programme-list strong {
  margin-top: 2px;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.86rem;
}

.memory-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.memory-frame {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--forest);
  cursor: pointer;
}

.memory-frame--wide {
  grid-column: span 6;
}

.memory-frame--portrait {
  grid-row: span 2;
  min-height: 560px;
}

.memory-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
}

.memory-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 14, 12, 0.78));
  opacity: 0.84;
}

.memory-frame span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 800;
  text-align: left;
}

.memory-frame:hover img,
.memory-frame:focus-visible img {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.055);
}

.love-story-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 138, 74, 0.16), transparent 26rem),
    linear-gradient(180deg, #121f1b 0%, var(--forest-deep) 42%, #f3ecdf 42%, var(--paper) 100%);
}

.love-story-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding: 116px 0 72px;
  color: var(--white);
}

.love-story-hero__image {
  position: relative;
  width: min(100%, 720px);
  justify-self: center;
  padding: 14px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(-1.4deg);
}

.love-story-hero__image::before,
.love-story-hero__image::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: rgba(255, 250, 241, 0.24);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.love-story-hero__image::before {
  inset: 18px -16px -18px 18px;
  transform: rotate(3deg);
}

.love-story-hero__image::after {
  inset: -12px 24px 28px -14px;
  transform: rotate(-3.5deg);
}

.love-story-hero__image img {
  width: 100%;
  height: auto;
  max-width: 1150px;
  filter: sepia(0.16) saturate(0.9) contrast(0.96);
}

.love-story-hero__copy {
  max-width: 680px;
}

.love-story-hero__copy h1 {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.4rem, 10vw, 10rem);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.love-story-hero__copy p:not(.section-kicker) {
  max-width: 32rem;
  margin: 1.5rem 0 1.8rem;
  color: rgba(255, 250, 241, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.love-story-reader {
  position: relative;
  padding: 92px 0 110px;
  background:
    linear-gradient(90deg, rgba(31, 52, 46, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f3ecdf, var(--paper));
  background-size: 88px 88px, auto;
}

.love-story-copy {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 70px);
  color: #25221d;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(31, 52, 46, 0.14);
  box-shadow: 0 28px 90px rgba(26, 24, 20, 0.12);
}

.love-story-copy p {
  margin: 0;
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  line-height: 1.9;
}

.love-story-copy p + p {
  margin-top: 1.7rem;
}

.love-story-copy p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--wine);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 0.78;
}

.farewell {
  min-height: 76svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.farewell > img {
  opacity: 0.42;
  filter: grayscale(0.18) contrast(0.94);
}

.farewell__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 36, 31, 0.92), rgba(19, 36, 31, 0.42)),
    linear-gradient(180deg, rgba(19, 36, 31, 0.2), rgba(19, 36, 31, 0.88));
}

.farewell__content {
  position: relative;
  z-index: 2;
  width: var(--content);
}

.farewell__content p,
.farewell__content strong {
  display: block;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  font-weight: 500;
  line-height: 0.98;
}

.farewell__content strong {
  margin-top: 1.3rem;
  color: var(--gold);
  font-size: 2.6rem;
}

.site-footer {
  width: var(--content);
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox__figure {
  position: relative;
  z-index: 2;
  width: min(94vw, 76rem);
  margin: 0;
  display: grid;
  gap: 14px;
}

.lightbox__figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  animation: modal-in 260ms ease;
}

.lightbox__figure figcaption {
  color: var(--white);
  text-align: center;
  font-weight: 700;
}

.lightbox__close,
.lightbox__control {
  position: absolute;
  z-index: 3;
  min-width: 58px;
  min-height: 42px;
  border: 1px solid rgba(255, 250, 241, 0.26);
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.lightbox__close {
  top: 18px;
  right: 18px;
}

.lightbox__control {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__control--prev {
  left: 18px;
}

.lightbox__control--next {
  right: 18px;
}

.reveal .life-band__intro,
.reveal .love-link-card,
.reveal .love-story-copy,
.reveal .mme-passage__copy,
.reveal .mme-passage__media,
.reveal .section-head,
.reveal .obituary-copy,
.reveal .obituary-aside,
.reveal .farewell__content,
.life-mark,
.programme-phase,
.memory-frame {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible .life-band__intro,
.reveal.is-visible .love-link-card,
.reveal.is-visible .love-story-copy,
.reveal.is-visible .mme-passage__copy,
.reveal.is-visible .mme-passage__media,
.reveal.is-visible .section-head,
.reveal.is-visible .obituary-copy,
.reveal.is-visible .obituary-aside,
.reveal.is-visible .farewell__content,
.reveal.is-visible .life-mark,
.reveal.is-visible .programme-phase,
.reveal.is-visible .memory-frame {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(0.18, 0.84, 0.24, 1);
  transition-delay: var(--sequence-delay, 0s);
}

.reveal.is-visible .life-mark:nth-child(2),
.reveal.is-visible .programme-phase:nth-child(2),
.reveal.is-visible .memory-frame:nth-child(2) {
  transition-delay: 80ms;
}

.reveal.is-visible .life-mark:nth-child(3),
.reveal.is-visible .programme-phase:nth-child(3),
.reveal.is-visible .memory-frame:nth-child(3) {
  transition-delay: 160ms;
}

.reveal.is-visible .life-mark:nth-child(4),
.reveal.is-visible .programme-phase:nth-child(4),
.reveal.is-visible .memory-frame:nth-child(4) {
  transition-delay: 240ms;
}

.reveal.is-visible .programme-phase:nth-child(5),
.reveal.is-visible .memory-frame:nth-child(5) {
  transition-delay: 320ms;
}

.reveal.is-visible .memory-frame:nth-child(6) {
  transition-delay: 400ms;
}

.reveal.is-visible .memory-frame:nth-child(7) {
  transition-delay: 480ms;
}

.reveal.is-visible .memory-frame:nth-child(8) {
  transition-delay: 560ms;
}

.reveal.is-visible .memory-frame:nth-child(9) {
  transition-delay: 640ms;
}

.reveal.is-visible .memory-frame:nth-child(10) {
  transition-delay: 720ms;
}

@keyframes breathe-line {
  0%,
  100% {
    transform: scaleX(0.45);
  }

  50% {
    transform: scaleX(1);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes intro-card-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes intro-photo-fade {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }

  22%,
  76% {
    opacity: 0.42;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px) scale(1.04);
  }
}

@media (max-width: 1120px) {
  .hero__title {
    font-size: 5.7rem;
  }

  .life-band__intro,
  .section-head,
  .obituary-layout,
  .mme-passage__inner {
    grid-template-columns: 1fr;
  }

  .life-marks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programme-flow {
    grid-template-columns: 1fr 1fr;
  }

  .programme-phase:nth-child(2n) {
    border-right: 0;
  }

  .obituary-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
  }

  .love-story-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .love-story-hero__copy {
    order: -1;
  }

  .love-story-hero__image {
    width: min(100%, 640px);
  }

  .mme-passage__media {
    min-height: 500px;
  }

  .mme-photo--hero {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(1180px, calc(100% - 28px));
  }

  .site-header {
    inset: 12px 0 auto;
    display: block;
    align-items: initial;
    gap: 8px;
  }

  .site-mark {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
  }

  .site-nav {
    width: min(350px, calc(100vw - 64px));
    margin-left: 50px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 2px;
    white-space: nowrap;
    text-align: center;
    font-size: 0.58rem;
  }

  .memorial-intro {
    padding: 14px;
  }

  .memorial-intro__photos {
    opacity: 0.55;
  }

  .memorial-intro__photo {
    width: clamp(96px, 34vw, 150px);
  }

  .memorial-intro__photo--one {
    top: 8%;
    left: -8%;
  }

  .memorial-intro__photo--two {
    top: 10%;
    right: -10%;
  }

  .memorial-intro__photo--three {
    left: -5%;
    bottom: 9%;
  }

  .memorial-intro__photo--four {
    right: -16%;
    bottom: 10%;
    width: clamp(130px, 48vw, 210px);
  }

  .memorial-intro__photo--five {
    left: 36%;
    top: 1%;
    width: clamp(88px, 26vw, 128px);
  }

  .memorial-intro__photo--six {
    right: 23%;
    bottom: 1%;
    width: clamp(118px, 42vw, 190px);
  }

  .memorial-intro__card {
    padding: 30px 20px;
  }

  .memorial-intro__details {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .memorial-intro__live {
    width: min(100%, 300px);
    padding: 13px 16px;
  }

  .live-stream-pill {
    top: auto;
    right: 14px;
    bottom: 14px;
    padding: 10px 13px;
  }

  .live-stream-pill span {
    font-size: 0.56rem;
  }

  .live-stream-pill strong {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__image {
    object-position: 54% 10%;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 20, 17, 0.18) 0%, rgba(10, 20, 17, 0.5) 42%, rgba(10, 20, 17, 0.9) 100%),
      linear-gradient(90deg, rgba(10, 20, 17, 0.64), rgba(10, 20, 17, 0.2));
  }

  .hero__content {
    padding: 150px 0 84px;
  }

  .hero__title {
    font-size: 4.25rem;
  }

  .hero__quote {
    max-width: 22rem;
    font-size: 1.55rem;
  }

  .hero__scroll {
    left: 14px;
    right: auto;
    bottom: 22px;
  }

  .life-band,
  .programme-section {
    padding: 64px 14px;
  }

  .live-stream-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: -8px 0 26px;
  }

  .life-band__intro h2,
  .section-head h2 {
    font-size: 3rem;
  }

  .life-marks,
  .programme-flow {
    grid-template-columns: 1fr;
  }

  .life-mark,
  .programme-phase,
  .programme-phase:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .life-mark:last-child,
  .programme-phase:last-child {
    border-bottom: 0;
  }

  .love-link-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .love-link-card__image {
    min-height: 330px;
  }

  .love-link-card__copy {
    padding: 30px 24px 36px;
  }

  .love-story-hero {
    padding: 116px 0 58px;
  }

  .love-story-hero__image {
    width: min(100%, 430px);
    padding: 10px;
  }

  .love-story-hero__copy h1 {
    font-size: 4.4rem;
  }

  .love-story-reader {
    padding: 58px 0 72px;
  }

  .love-story-copy {
    width: min(100% - 28px, 860px);
    padding: 28px 22px;
  }

  .love-story-copy p {
    line-height: 1.78;
  }

  .mme-passage {
    padding: 64px 0;
  }

  .mme-passage::after {
    inset: 14px;
  }

  .mme-passage__inner {
    gap: 28px;
  }

  .mme-passage__copy {
    padding: 32px 24px;
  }

  .mme-passage__copy h2 {
    max-width: 10ch;
    font-size: 3.1rem;
  }

  .mme-passage__media {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "voice"
      "family";
    grid-template-rows: auto;
    min-height: 0;
  }

  .mme-photo,
  .mme-photo--hero,
  .mme-photo--voice,
  .mme-photo--family {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .mme-photo:nth-child(2),
  .mme-photo:nth-child(3) {
    aspect-ratio: 16 / 10;
  }

  .obituary-section,
  .gallery-section {
    padding: 64px 0;
  }

  .obituary-copy {
    padding-left: 18px;
  }

  .obituary-section .section-head,
  .obituary-section .obituary-copy,
  .obituary-section .obituary-aside {
    opacity: 1;
    transform: none;
  }

  .obituary-text {
    font-size: 1rem;
  }

  .obituary-aside {
    grid-template-columns: 1fr;
  }

  .programme-phase h3 {
    min-height: 0;
  }

  .memory-wall {
    grid-template-columns: 1fr;
  }

  .memory-frame,
  .memory-frame--wide,
  .memory-frame--portrait {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }

  .farewell {
    min-height: 68svh;
  }

  .farewell__content p {
    font-size: 3.2rem;
  }

  .farewell__content strong {
    font-size: 1.8rem;
  }

  .site-footer {
    display: grid;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }

  .lightbox__control {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .sequence,
  .reveal,
  .reveal .life-band__intro,
  .reveal .love-link-card,
  .reveal .love-story-copy,
  .reveal .mme-passage__copy,
  .reveal .mme-passage__media,
  .reveal .section-head,
  .reveal .obituary-copy,
  .reveal .obituary-aside,
  .reveal .farewell__content,
  .life-mark,
  .programme-phase,
  .memory-frame {
    opacity: 1;
    transform: none;
  }
}
