.memorial-page .memorial-hero {padding-top:80px;background:#071d28;color:#f7faf9}
.memorial-hero-grid {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(32px,5vw,70px);align-items:center;padding-top:clamp(64px,7vw,100px);padding-bottom:clamp(48px,6vw,80px)}
.memorial-hero-copy {max-width:620px}
.memorial-page .memorial-hero-copy .eyebrow {color:#b9d7c5}
.memorial-hero h1 {max-width:13ch;margin:16px 0 24px;font-size:clamp(2.9rem,5.5vw,5.4rem);line-height:1.02}
.memorial-hero h1 span {display:block;color:#b9d7c5}
.memorial-hero-copy>p {max-width:51ch;color:#d9e4e8;font-size:clamp(1rem,1.25vw,1.12rem)}
.memorial-hero-actions {display:flex;align-items:center;gap:16px 25px;flex-wrap:wrap;margin-top:30px}
.memorial-text-link {display:inline-flex;align-items:center;min-height:48px;color:#b9d7c5;font-weight:600;text-underline-offset:5px}
.memorial-hero-photo {margin:0;min-width:0}
.memorial-hero-photo-frame {aspect-ratio:3/2;overflow:hidden}
.memorial-hero-photo img {display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.25);transform-origin:50% 45%}
.memorial-hero-photo figcaption {margin-top:12px;color:#d9e4e8;font-size:.8rem;line-height:1.5}
.memorial-hero-photo figcaption a {color:#b9d7c5;text-underline-offset:3px}
.memorial-section-nav {background:#123444;color:#f7faf9;border-top:1px solid rgba(185,215,197,.22);border-bottom:1px solid rgba(185,215,197,.22)}
.memorial-section-nav .w {display:flex;gap:18px 38px;flex-wrap:wrap}
.memorial-section-nav a {display:inline-flex;align-items:center;min-height:56px;color:inherit;font-size:.9rem;font-weight:600;text-decoration:none;border-bottom:2px solid transparent}
.memorial-section-nav a:hover,.memorial-section-nav a:focus-visible {border-color:#b9d7c5;color:#b9d7c5}
.memorial-remembrance,.memorial-recognition,.memorial-gallery {scroll-margin-top:0}
.memorial-remembrance {padding:clamp(64px,7vw,92px) 0;background:#edf2f3}
.remembrance-grid {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(38px,6vw,82px);align-items:center}
.remembrance-intro h2 {max-width:13ch;margin:18px 0 22px;font-size:clamp(2.6rem,4.5vw,4.5rem);line-height:1.07}
.remembrance-intro>p {max-width:43ch;margin:0;color:#425962;font-size:1.06rem}
.remembrance-copy {min-width:0}
.remembrance-record {margin:0;padding:28px 32px;border-left:4px solid #236345;background:#f7faf9}
.record-year {display:block;color:#236345;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.remembrance-record p {max-width:65ch;margin:12px 0 15px;color:#123444}
.remembrance-record a {display:inline-flex;align-items:center;min-height:44px;color:#236345;font-weight:600;text-underline-offset:4px}
.remembrance-context {max-width:65ch;margin:22px 0 0;color:#425962;font-size:.9rem}
.memorial-recognition {padding:clamp(70px,8vw,108px) 0 clamp(48px,5vw,64px);background:#123444;color:#f7faf9}
.memorial-recognition .eyebrow {color:#b9d7c5!important}
.recognition-heading {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:35px;align-items:end;margin-bottom:36px}
.recognition-heading h2 {max-width:18ch;margin-top:16px;font-size:clamp(2.6rem,4.5vw,4.5rem);line-height:1.08}
.recognition-heading h2 span {color:#b9d7c5}
.recognition-heading>p {max-width:48ch;color:#d9e4e8}
.recognition-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.recognition-photo {display:flex;flex-direction:column;margin:0;min-width:0;background:#071d28}
.recognition-photo img {width:100%;height:clamp(260px,28vw,390px);aspect-ratio:4/3;object-fit:cover}
.recognition-photo figcaption {display:flex;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;padding:16px 18px;color:#d9e4e8;font-size:.84rem}
.recognition-photo figcaption a,.recognition-source a {color:#b9d7c5;text-underline-offset:4px}
.recognition-source {max-width:85ch;margin-top:24px;color:#d9e4e8;font-size:.88rem}
.memorial-gallery {padding:clamp(52px,5vw,68px) 0 clamp(70px,8vw,105px);background:#f7faf9}
.gallery-heading {margin-bottom:28px}
.gallery-heading h2 {max-width:none;margin:15px 0 0;font-size:clamp(2rem,3.1vw,2.8rem);line-height:1.15}
.gallery-heading p {color:#425962}
.gallery-years {border-top:1px solid rgba(18,52,68,.2)}
.gallery-year {border-bottom:1px solid rgba(18,52,68,.2)}
.gallery-year summary {display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:25px;align-items:center;min-height:132px;padding:11px 0;cursor:pointer;list-style:none}
.gallery-year summary::-webkit-details-marker {display:none}
.gallery-year summary>img {display:block;width:160px;height:110px;object-fit:cover}
.gallery-year-label {display:block;min-width:0}
.gallery-year-date {color:#236345;font-family:"DM Serif Display",Georgia,serif;font-size:clamp(2.6rem,4.2vw,4.1rem);font-weight:400;letter-spacing:-.035em;line-height:.95}
.gallery-year-count {display:flex;align-items:center;gap:18px;color:#236345;font-size:.9rem;font-weight:700;white-space:nowrap}
.gallery-year-count span {display:grid;place-items:center;width:36px;height:36px;border:1px solid #a6bfb8;border-radius:50%;font-size:1.3rem;line-height:1;transition:transform .2s}
.gallery-year[open] .gallery-year-count span {transform:rotate(180deg)}
.gallery-year summary:hover .gallery-year-date,.gallery-year summary:focus-visible .gallery-year-date {color:#123444}
.gallery-year summary:focus-visible,.gallery-tile:focus-visible {outline:3px solid #236345;outline-offset:4px}
.gallery-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:5px 0 28px}
.gallery-tile {position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#123444;color:#fff;text-decoration:none}
.gallery-tile img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.gallery-tile:hover img,.gallery-tile:focus-visible img {transform:scale(1.045)}
.gallery-tile span {position:absolute;inset:auto 0 0;padding:28px 12px 12px;background:linear-gradient(transparent,rgba(7,29,40,.88));font-size:.82rem;font-weight:600;line-height:1.3}
.gallery-full-archive {margin:28px 0 0;color:#425962;font-size:.9rem;line-height:1.65}
.gallery-full-archive a {color:#236345;font-weight:600;text-underline-offset:3px}
.gallery-dialog {width:min(94vw,1160px);max-width:1160px;max-height:94dvh;margin:auto;padding:0;border:0;background:#071d28;color:#f7faf9}
.gallery-dialog::backdrop {background:rgba(2,13,20,.9)}
.gallery-dialog-shell {display:flex;flex-direction:column;max-height:94dvh}
.gallery-dialog-bar,.gallery-dialog-footer {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px}
.gallery-dialog-bar {border-bottom:1px solid rgba(255,255,255,.18)}
.gallery-dialog-count {color:#d9e4e8;font-size:.85rem}
.gallery-dialog-close,.gallery-dialog-controls button {min-width:44px;min-height:44px;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;cursor:pointer}
.gallery-dialog-close {padding:0 12px}
.gallery-dialog-close span {margin-left:8px;font-size:1.3rem}
.gallery-dialog-close:hover,.gallery-dialog-controls button:hover {background:#236345}
.gallery-dialog-image {display:block;width:100%;min-height:0;max-height:calc(94dvh - 153px);object-fit:contain;background:#061620}
.gallery-dialog-footer {border-top:1px solid rgba(255,255,255,.18)}
.gallery-dialog-caption {margin:0 0 4px;font-weight:600}
.gallery-dialog-source {color:#b9d7c5;font-size:.84rem;text-underline-offset:3px}
.gallery-dialog-controls {display:flex;gap:8px}
.gallery-dialog-controls button {font-size:1.3rem}
.memorial-contact {padding:clamp(48px,6vw,76px) 0;background:#dce7e6}
.memorial-contact-inner {display:flex;align-items:center;justify-content:space-between;gap:28px}
.memorial-contact h2 {margin:12px 0;font-size:clamp(2rem,3vw,3rem)}
.memorial-contact p {color:#425962}
.memorial-contact .btn {flex:none}
@media(max-width:1100px) {
  .gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px) {
  .memorial-hero-grid,.remembrance-grid,.recognition-heading,.recognition-photos {grid-template-columns:1fr}
  .memorial-hero-grid {padding-top:42px}
  .memorial-hero h1 {max-width:15ch}
  .recognition-photo img {max-height:none;min-height:0}
  .gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .memorial-contact-inner {align-items:flex-start;flex-direction:column}
}
@media(max-width:520px) {
  .memorial-hero-copy {text-align:center}
  .memorial-hero h1,.memorial-hero-copy>p {margin-inline:auto}
  .memorial-hero-actions {justify-content:center}
  .memorial-hero-photo figcaption {text-align:center}
  .memorial-hero h1 {font-size:clamp(2.35rem,11vw,3.2rem)}
  .memorial-section-nav .w {gap:8px 20px}
  .memorial-section-nav a {font-size:.78rem;min-height:48px}
  .remembrance-record {padding:22px 20px}
  .gallery-heading h2 {font-size:clamp(1.9rem,8vw,2.4rem)}
  .gallery-year summary {grid-template-columns:80px minmax(0,1fr) auto;gap:8px;min-height:100px}
  .gallery-year summary>img {width:80px;height:80px}
  .gallery-year-date {font-size:clamp(2.3rem,10vw,3rem)}
  .gallery-year-count {gap:6px;font-size:.78rem}
  .gallery-year-count span {width:24px;height:24px}
  .gallery-grid {gap:8px}
  .gallery-tile span {padding:24px 8px 8px;font-size:.72rem}
  .gallery-dialog-bar,.gallery-dialog-footer {padding:10px 12px}
  .gallery-dialog-footer {align-items:flex-start;flex-direction:column;gap:10px}
  .gallery-dialog-controls {align-self:flex-end}
}
@media(max-width:360px) {
  .gallery-year-count span {display:none}
}
