/* Memorial pages (/opm39/gayle).
   A quiet, high-end memorial: ivory paper, soft gold hairlines, a muted
   rose accent, Cormorant Garamond for display and Newsreader for reading.
   Standalone (no site.css), so nothing from the main site leaks in. */
:root {
  --ivory: #f8f3ea;
  --ivory-2: #f2eadd;
  --paper: #fffcf6;
  --ink: #2c2521;
  --ink-2: #5f544b;
  --ink-3: #8b7f73;
  --gold: #b5955c;
  --gold-soft: rgba(181, 149, 92, .35);
  --gold-faint: rgba(181, 149, 92, .16);
  --rose: #9e6a5c;
  --rose-deep: #85574b;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --caps: "Cormorant SC", "Cormorant Garamond", Garamond, serif;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow-soft: 0 1px 2px rgba(70, 48, 30, .05), 0 18px 40px -26px rgba(70, 48, 30, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.memorial {
  margin: 0; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.65;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(232, 205, 178, .45), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(236, 219, 196, .45), transparent 60%),
    var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
figure { margin: 0; }
::selection { background: rgba(158, 106, 92, .18); }

/* ---------- Top navigation ---------- */
.mm-nav {
  display: flex; justify-content: center; gap: 34px; padding: 22px 20px 0;
  font-family: var(--caps); font-size: 15px; letter-spacing: .14em; text-transform: lowercase;
}
.mm-nav a { text-decoration: none; color: var(--ink-3); transition: color .3s; }
.mm-nav a:hover { color: var(--rose); }

/* ---------- Hero ---------- */
.mm-hero {
  max-width: 1180px; margin: 0 auto; padding: 72px 48px 110px;
  display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 88px; align-items: center;
}
.mm-portrait { position: relative; justify-self: end; width: 100%; }
.mm-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(70, 48, 30, .06), 0 40px 80px -40px rgba(70, 48, 30, .55);
  background: var(--ivory-2);
}
.mm-arch img { width: 100%; height: 100%; object-fit: cover; }
.mm-arch { outline: 1px solid var(--gold-soft); outline-offset: 15px; }
.mm-portrait figcaption {
  margin-top: 40px; text-align: center; font-family: var(--display); font-style: italic; font-size: 17px; color: var(--ink-3);
}
.mm-hero-text { max-width: 560px; }
.mm-kicker {
  font-family: var(--caps); font-size: 16px; letter-spacing: .28em; text-transform: lowercase; color: var(--gold);
}
.mm-hero h1 { margin-top: 18px; font-family: var(--display); font-weight: 300; line-height: .98; letter-spacing: -.01em; }
.mm-first { display: block; font-style: italic; font-size: clamp(64px, 8.4vw, 124px); color: var(--ink); }
.mm-last { display: block; font-size: clamp(50px, 6.4vw, 94px); color: var(--ink); padding-left: .55em; }
.mm-ornament { display: flex; align-items: center; gap: 14px; margin: 34px 0 26px; color: var(--gold); }
.mm-ornament span { height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.mm-ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.mm-ornament i { font-style: normal; font-size: 11px; }
.mm-dateline { font-family: var(--caps); font-size: 19px; letter-spacing: .12em; text-transform: lowercase; color: var(--ink-2); }
.mm-dateline span { color: var(--gold); padding: 0 6px; }
.mm-from { margin-top: 18px; font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink-2); }

/* ---------- Story ---------- */
.mm-story { max-width: 700px; margin: 0 auto; padding: 0 28px 40px; }
.mm-body p { font-size: 21px; line-height: 1.75; color: var(--ink); margin-bottom: 22px; font-weight: 300; }
.mm-lede::first-letter {
  float: left; font-family: var(--display); font-weight: 300; font-size: 92px; line-height: .78;
  padding: 9px 10px 0 0; color: var(--rose);
}
.mm-notice {
  position: relative; margin: 54px auto 0; max-width: 560px; padding: 34px 40px 32px; text-align: center;
  background: var(--paper); border-radius: 4px; box-shadow: var(--shadow-soft);
}
.mm-notice::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-faint); border-radius: 2px; pointer-events: none; }
.mm-notice-label { font-family: var(--caps); letter-spacing: .24em; text-transform: lowercase; color: var(--gold); font-size: 15px; margin-bottom: 12px; }
.mm-notice p:not(.mm-notice-label) { font-family: var(--display); font-size: 21px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Feature photo ---------- */
.mm-feature { max-width: 1000px; margin: 96px auto 0; padding: 0 28px; text-align: center; }
.mm-feature-frame {
  display: block; padding: 14px; background: var(--paper); border-radius: 4px; box-shadow: 0 2px 6px rgba(70, 48, 30, .06), 0 50px 90px -50px rgba(70, 48, 30, .6);
  position: relative; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.mm-feature-frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--gold-faint); pointer-events: none; border-radius: 2px; }
.mm-feature-frame img { width: 100%; height: auto; border-radius: 2px; }
.mm-feature-frame:hover { transform: translateY(-3px); }
.mm-feature figcaption { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: 21px; color: var(--ink-2); }

/* ---------- Section heads ---------- */
.mm-section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.mm-section-head h2 { margin-top: 10px; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 58px); line-height: 1.05; }
.mm-section-note { margin-top: 16px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--ink-3); }

/* ---------- Gallery ---------- */
.mm-gallery { max-width: 1240px; margin: 0 auto; padding: 130px 40px 20px; }
.mg-chapter + .mg-chapter { margin-top: 84px; }
.mg-chapter-head { display: flex; align-items: baseline; gap: 18px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--gold-faint); }
.mg-num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--gold); min-width: 30px; }
.mg-chapter-head h3 { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.1; }
.mg-chapter-head p { margin-left: auto; font-family: var(--caps); letter-spacing: .14em; text-transform: lowercase; color: var(--ink-3); font-size: 16px; }
.mg-chapter-sub { margin: -8px 0 26px; padding-left: 48px; font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--ink-2); }
.mg-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(54px, 6.4vw, 86px); grid-auto-flow: row dense; gap: 14px; }
.mg-item {
  position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--ivory-2);
  box-shadow: 0 1px 2px rgba(70, 48, 30, .06), 0 14px 30px -22px rgba(70, 48, 30, .45);
}
.mg-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.92) brightness(.99); }
.mg-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 252, 246, .35); pointer-events: none; }
.mg-item:hover img, .mg-item:focus-visible img { transform: scale(1.035); filter: saturate(1.02) brightness(1.02); }
.mg-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.g-a-big { grid-column: 1 / span 8; grid-row: span 4; }
.g-a-sm { grid-column: 9 / span 4; grid-row: span 2; }
.g-ar-big { grid-column: 5 / span 8; grid-row: span 4; }
.g-ar-sm { grid-column: 1 / span 4; grid-row: span 2; }
.g-b, .g-b1 { grid-column: span 4; grid-row: span 3; }
.g-c { grid-column: span 6; grid-row: span 4; }
.g-wide { grid-column: 3 / span 8; grid-row: span 5; }
.js .mg-extra { display: none; }
.js.mg-all .mg-extra { display: block; animation: mg-in .7s ease both; }
@keyframes mg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mg-toggle-wrap { text-align: center; margin-top: 64px; }
html:not(.js) .mg-toggle-wrap { display: none; }
.mg-toggle {
  font-family: var(--caps); font-size: 17px; letter-spacing: .16em; text-transform: lowercase; color: var(--rose);
  background: transparent; border: 1px solid var(--gold-soft); border-radius: 999px; padding: 13px 30px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.mg-toggle:hover { background: var(--paper); border-color: var(--gold); }

/* ---------- Tributes ---------- */
.mm-wall { max-width: 1240px; margin: 0 auto; padding: 140px 40px 20px; }
.tw-grid { columns: 3 320px; column-gap: 26px; }
.tw-live { display: contents; }
.tw-card {
  position: relative; break-inside: avoid; margin: 0 0 26px; padding: 48px 34px 28px;
  background: var(--paper); border-radius: 4px; box-shadow: var(--shadow-soft);
}
.tw-card::before {
  content: "\201C"; position: absolute; top: 4px; left: 26px; font-family: var(--display); font-size: 76px; line-height: 1; color: var(--gold); opacity: .55;
}
.tw-card::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-faint); border-radius: 2px; pointer-events: none; }
.tw-card.tw-new { box-shadow: 0 0 0 1px var(--gold-soft), var(--shadow-soft); }
.tw-card.tw-hidden { opacity: .45; }
.tw-text p { font-family: var(--display); font-size: 21px; line-height: 1.5; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.tw-text p + p { margin-top: 12px; }
.tw-card footer { margin-top: 22px; display: flex; flex-direction: column; gap: 3px; }
.tw-card footer::before { content: ""; width: 34px; height: 1px; background: var(--gold); margin-bottom: 12px; opacity: .8; }
.tw-card footer strong { font-family: var(--caps); font-weight: 500; font-size: 19px; letter-spacing: .06em; text-transform: lowercase; color: var(--ink); }
.tw-card footer span { font-family: var(--sans); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tw-card abbr { text-decoration: none; border-bottom: 1px dotted var(--ink-3); cursor: help; }
.tw-photos { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 18px; }
.tw-photos a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.tw-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tw-photos a:hover img { transform: scale(1.05); }
.tw-admin { position: relative; z-index: 1; margin-top: 14px; font: 500 12px var(--sans); color: var(--rose); background: none; border: 1px solid var(--rose); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.tw-admin-bar { text-align: center; font-family: var(--sans); font-size: 13px; color: var(--rose); margin: -24px 0 28px; }
.tw-empty { text-align: center; color: var(--ink-3); font-style: italic; }

/* ---------- Form ---------- */
.mm-form { max-width: 820px; margin: 0 auto; padding: 140px 28px 40px; }
.mm-form form {
  position: relative; background: var(--paper); border-radius: 6px; padding: 52px 56px 40px; box-shadow: var(--shadow-soft);
}
.mm-form form::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-faint); border-radius: 3px; pointer-events: none; }
.mm-form label { position: relative; display: block; margin-bottom: 30px; }
.tf-label { display: block; font-family: var(--caps); font-size: 17px; letter-spacing: .12em; text-transform: lowercase; color: var(--ink-2); }
.tf-label em { font-family: var(--display); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--ink-3); font-size: 16px; margin-left: 4px; }
.tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mm-form .tf-contact label { margin-bottom: 10px; }
.tf-private { margin: 0 0 30px; font-family: var(--display); font-style: italic; font-size: 15.5px; color: var(--ink-3); }
.tw-contact { position: relative; z-index: 1; margin-top: 12px; font: 12.5px/1.5 var(--sans); color: var(--rose); word-break: break-word; }
.mm-form input[type="text"], .mm-form input[type="email"], .mm-form input[type="tel"], .mm-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 2px; font-family: var(--display); font-size: 22px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--gold-soft); border-radius: 0; transition: border-color .3s;
}
.mm-form textarea { padding: 14px 16px; border: 1px solid var(--gold-soft); border-radius: 4px; background: rgba(255, 255, 255, .5); line-height: 1.5; resize: vertical; margin-top: 10px; }
.mm-form input[type="text"]:focus, .mm-form input[type="email"]:focus, .mm-form input[type="tel"]:focus, .mm-form textarea:focus { outline: none; border-color: var(--rose); }
.mm-form ::placeholder { color: #b3a89c; font-style: italic; }
.tf-photos input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tf-drop {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 16px; border: 1px dashed var(--gold); border-radius: 6px;
  background: rgba(181, 149, 92, .05); text-align: center; transition: background .3s;
}
.tf-photos:hover .tf-drop, .tf-photos:focus-within .tf-drop { background: rgba(181, 149, 92, .11); }
.tf-drop-title { font-family: var(--caps); font-size: 18px; letter-spacing: .12em; text-transform: lowercase; color: var(--rose); }
.tf-drop-note { font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: 16px; }
.tf-previews { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 26px; }
.tf-previews img { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-soft); }
.tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-submit { text-align: center; }
.mm-btn {
  display: inline-block; padding: 15px 42px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--rose); color: #fff9f2; font-family: var(--caps); font-size: 18px; letter-spacing: .16em; text-transform: lowercase;
  box-shadow: 0 12px 26px -16px rgba(133, 87, 75, .8); transition: background .3s, transform .3s;
}
.mm-btn:hover { background: var(--rose-deep); transform: translateY(-1px); }
.mm-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.tf-status { margin-top: 18px; text-align: center; font-family: var(--display); font-size: 19px; min-height: 1.4em; }
.tf-status.err { color: #a2382a; }
.tf-status.ok { color: #4d6b4f; }
.tf-fine { margin-top: 14px; text-align: center; font-family: var(--sans); font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.tf-fine a { color: var(--ink-2); }

/* ---------- Footer ---------- */
.mm-foot { text-align: center; padding: 80px 24px 64px; }
.mm-foot .mm-ornament { justify-content: center; margin: 0 0 20px; }
.mm-foot p { font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-3); }
.mm-foot a { color: var(--ink-3); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.mm-foot a:hover { color: var(--ink-2); border-color: var(--gold-soft); }

/* ---------- About your host (quiet, no calls to action) ---------- */
.mm-host { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto 0; max-width: 420px; }
.mm-host-photo { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-soft); padding: 2px; background: var(--paper); filter: saturate(.85); }
.mm-foot .mm-host-text { margin: 0; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.mm-host-name { font-family: var(--display); font-size: 17px; font-style: italic; letter-spacing: .01em; color: var(--ink-2); }
.mm-foot a.mm-host-link { align-self: flex-start; font-family: var(--caps); font-size: 14px; letter-spacing: .1em; text-transform: lowercase; color: var(--ink-3); border-bottom: 1px solid var(--gold-faint); }
.mm-foot a.mm-host-link:hover, .mm-foot a.mm-host-link:focus-visible { color: var(--rose); border-color: var(--gold-soft); }

/* ---------- Request an edit or removal ---------- */
.mm-foot .mm-edit-wrap { margin-bottom: 14px; }
.mm-edit-open {
  font-family: var(--caps); font-size: 15px; letter-spacing: .12em; text-transform: lowercase; color: var(--ink-3);
  background: none; border: 0; border-bottom: 1px solid var(--gold-faint); padding: 2px 1px 3px; cursor: pointer;
  transition: color .3s, border-color .3s;
}
.mm-edit-open:hover, .mm-edit-open:focus-visible { color: var(--rose); border-color: var(--gold-soft); outline: none; }
.mm-edit {
  width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: 6px;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(50, 34, 24, .55);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.mm-edit.is-on { opacity: 1; transform: none; }
.mm-edit::backdrop { background: rgba(48, 36, 28, .32); backdrop-filter: blur(2px); }
.mm-edit form { position: relative; padding: 40px 40px 26px; }
.mm-edit form::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-faint); border-radius: 3px; pointer-events: none; }
.mm-edit h2 { font-family: var(--display); font-weight: 400; font-size: 29px; line-height: 1.15; color: var(--ink); text-align: center; }
.mm-edit-note { margin: 10px auto 26px; max-width: 420px; text-align: center; font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink-3); }
.mm-edit label { position: relative; display: block; margin-bottom: 22px; }
.mm-edit .tf-row { gap: 26px; }
.mm-edit .tf-label { font-size: 15px; }
.mm-edit input[type="text"], .mm-edit input[type="email"], .mm-edit textarea {
  display: block; width: 100%; margin-top: 4px; padding: 8px 0; font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--gold-soft); border-radius: 0; transition: border-color .3s;
}
.mm-edit textarea { padding: 10px 12px; margin-top: 8px; border: 1px solid var(--gold-soft); border-radius: 4px; background: rgba(255, 255, 255, .5); line-height: 1.5; resize: vertical; }
.mm-edit input:focus, .mm-edit textarea:focus { outline: none; border-color: var(--rose); }
.mm-edit ::placeholder { color: #b3a89c; font-style: italic; }
.mm-edit-actions { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 4px; }
.mm-edit-cancel { font-family: var(--caps); font-size: 16px; letter-spacing: .12em; text-transform: lowercase; color: var(--ink-3); background: none; border: 0; cursor: pointer; padding: 8px 4px; }
.mm-edit-cancel:hover { color: var(--ink-2); }
.mm-btn.mm-btn-sm { padding: 11px 28px; font-size: 16px; }
.mm-edit .tf-status { font-size: 17px; margin-top: 14px; }
.mm-edit .tf-status a { color: var(--rose); }
.mm-edit-close { position: absolute; top: 14px; right: 18px; z-index: 1; font: 300 26px/1 var(--display); color: var(--ink-3); background: none; border: 0; cursor: pointer; padding: 4px 8px; }
.mm-edit-close:hover { color: var(--ink); }
@media (max-width: 640px) {
  .mm-edit form { padding: 34px 22px 20px; }
  .mm-edit .tf-row { grid-template-columns: 1fr; gap: 0; }
  .mm-edit h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .mm-edit { transition: none; } }

/* ---------- Lightbox ---------- */
.mm-lightbox {
  border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  opacity: 0; transition: opacity .35s ease;
}
.mm-lightbox.lb-on { opacity: 1; }
.mm-lightbox::backdrop { background: rgba(30, 23, 19, .94); }
.mm-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.mm-lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.mm-lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.mm-lightbox img.lb-fade { opacity: 0; transform: scale(.985); }
.mm-lightbox figcaption { margin-top: 18px; color: #e9dccd; font-family: var(--display); font-style: italic; font-size: 18px; text-align: center; }
.mm-lightbox figcaption b { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 12px; letter-spacing: .12em; color: #b9a995; margin-left: 12px; }
.mm-lightbox button { position: fixed; background: none; border: 0; color: #f1e6d8; font-family: var(--display); font-weight: 300; font-size: 54px; line-height: 1; cursor: pointer; padding: 14px 22px; opacity: .75; transition: opacity .3s; }
.mm-lightbox button:hover { opacity: 1; }
.lb-close { top: 6px; right: 10px; font-size: 44px !important; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .mm-hero { grid-template-columns: 1fr; gap: 54px; padding: 56px 28px 90px; text-align: center; }
  .mm-portrait { justify-self: center; width: min(76vw, 400px); }
  .mm-hero-text { margin: 0 auto; }
  .mm-last { padding-left: 0; }
  .mm-ornament { justify-content: center; }
  .mm-gallery, .mm-wall { padding-left: 24px; padding-right: 24px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body.memorial { font-size: 17px; }
  .mm-nav { gap: 16px; font-size: 13px; letter-spacing: .1em; padding-top: 18px; flex-wrap: wrap; }
  .mm-nav a:first-child { display: none; }
  .mm-hero { padding: 44px 22px 70px; gap: 46px; }
  .mm-portrait { width: min(80vw, 340px); }
  .mm-arch { outline-offset: 10px; }
  .mm-portrait figcaption { margin-top: 24px; font-size: 16px; }
  .mm-first { font-size: 68px; }
  .mm-last { font-size: 48px; }
  .mm-ornament { margin: 26px 0 20px; }
  .mm-dateline { font-size: 17px; }
  .mm-from { font-size: 20px; }
  .mm-story { padding: 0 24px 24px; }
  .mm-body p { font-size: 19px; line-height: 1.72; }
  .mm-lede::first-letter { font-size: 76px; padding-top: 8px; }
  .mm-notice { padding: 28px 24px 26px; margin-top: 40px; }
  .mm-notice p:not(.mm-notice-label) { font-size: 19px; }
  .mm-feature { margin-top: 72px; padding: 0 16px; }
  .mm-feature-frame { padding: 9px; }
  .mm-feature figcaption { font-size: 19px; }
  .mm-gallery { padding: 100px 16px 10px; }
  .mm-section-head { margin-bottom: 38px; }
  .mm-section-note { font-size: 18px; }
  .mg-chapter + .mg-chapter { margin-top: 60px; }
  .mg-chapter-head { flex-wrap: wrap; gap: 4px 12px; }
  .mg-chapter-head h3 { font-size: 25px; }
  .mg-chapter-head p { margin-left: 0; width: 100%; padding-left: 42px; font-size: 15px; }
  .mg-chapter-sub { margin: -10px 0 20px; padding-left: 42px; font-size: 18px; }
  .mg-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 8px; }
  .mg-grid .mg-item { grid-column: span 1; grid-row: auto; aspect-ratio: 1; }
  .mg-grid .g-a-big, .mg-grid .g-ar-big, .mg-grid .g-b1, .mg-grid .g-wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .mg-item { border-radius: 4px; }
  .mm-wall { padding: 100px 16px 10px; }
  .tw-grid { columns: 1; }
  .tw-card { padding: 44px 26px 24px; margin-bottom: 18px; }
  .tw-text p { font-size: 20px; }
  .mm-form { padding: 100px 14px 24px; }
  .mm-form form { padding: 38px 24px 30px; }
  .tf-row { grid-template-columns: 1fr; gap: 0; }
  .mm-form .tf-contact label:first-child { margin-bottom: 26px; }
  .mm-lightbox button { font-size: 44px; padding: 10px 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mg-item img, .mm-feature-frame, .mm-lightbox, .mm-lightbox img { transition: none; }
  .js.mg-all .mg-extra { animation: none; }
}
