:root {
  --navy: #102744;
  --navy-deep: #071527;
  --red: #92262f;
  --gold: #b4944b;
  --gold-pale: #e6d8ae;
  --paper: #fffdf8;
  --paper-soft: #f3eee2;
  --ink: #18202c;
  --muted: #66707d;
  --shell: min(1100px, calc(100% - 40px));
  --shadow: 0 22px 60px rgb(8 23 43 / 15%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; }
.shell { width: var(--shell); margin: 0 auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.masthead {
  position: relative;
  overflow: hidden;
  border-top: 8px solid var(--red);
  background: var(--paper);
}
.masthead::after {
  position: absolute;
  right: -12vw;
  bottom: -60px;
  left: -12vw;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 84px, #fff 84px 126px, var(--red) 126px 210px, #fff 210px 252px);
  content: "";
  opacity: 0.86;
}
.masthead-content { padding: clamp(52px, 9vw, 108px) 0 clamp(64px, 10vw, 122px); text-align: center; }
.masthead p { margin: 0; }
.masthead-kicker {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.masthead h1 {
  margin: -4px 0 20px;
  color: var(--navy-deep);
  font-size: clamp(3.2rem, 9vw, 7.7rem);
  letter-spacing: -0.07em;
  line-height: 0.94;
}
.masthead-honoree { color: var(--navy); font-family: Arial, sans-serif; font-size: clamp(1.35rem, 3vw, 2.2rem); font-weight: 700; }
.masthead-people { margin-top: 20px !important; font-size: clamp(1.08rem, 2vw, 1.35rem); font-weight: 700; }
.masthead-gift { margin-top: 5px !important; color: var(--muted); font-family: Arial, sans-serif; font-size: 1rem; }

.hero-section { padding: clamp(36px, 6vw, 75px) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%); }
.hero-content { text-align: center; }
.hero-figure { position: relative; max-width: 980px; margin: 0 auto; overflow: hidden; background: #0e1b2c; box-shadow: var(--shadow); }
.hero-figure img { display: block; width: 100%; height: auto; min-height: 280px; object-fit: cover; object-position: center; }
.audio-overlay { position: absolute; right: 20px; bottom: 20px; left: 20px; margin: 0; padding: 18px; color: #fff; background: rgb(7 21 39 / 88%); backdrop-filter: blur(7px); }
.audio-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--gold-pale); color: var(--navy-deep); background: var(--gold-pale); font-family: Arial, sans-serif; font-size: 0.92rem; font-weight: 800; cursor: pointer; }
.audio-icon { font-size: 0.75em; }
.audio-status { min-height: 1.45em; margin: 9px 0 0; color: rgb(255 255 255 / 78%); font-family: Arial, sans-serif; font-size: 0.76rem; }
.audio-player { display: none; width: min(100%, 620px); margin: 18px auto 0; }
.read-link { display: inline-block; margin-top: 20px; color: var(--navy); font-family: Arial, sans-serif; font-size: 0.85rem; font-weight: 800; }

.letter-section {
  padding: clamp(70px, 11vw, 132px) 0;
  background: #ebe4d5;
}
.letter-shell { max-width: 900px; }
.letter-paper {
  padding: clamp(34px, 7vw, 82px);
  background: #fff;
  box-shadow: var(--shadow);
}
.letter-rule { width: 82px; height: 4px; margin-bottom: 32px; background: var(--gold); }
.letter-paper h2 { margin: 0 0 35px; color: var(--navy); font-size: clamp(2rem, 4.8vw, 3.7rem); letter-spacing: -0.045em; line-height: 1.04; }
.letter-paper p { margin: 0 0 1.45em; }
.letter-greeting { margin-top: 2.2em !important; font-size: 1.16rem; font-weight: 700; }
.letter-greeting:first-of-type { margin-top: 0 !important; }
.letter-signoff { margin-top: 2.6em !important; }
.letter-senders { margin-bottom: 0 !important; font-weight: 700; }

.gift-section { padding: clamp(70px, 10vw, 120px) 0; border-top: 4px solid var(--red); color: #fff; background: radial-gradient(ellipse at 90% 18%, rgb(35 67 103 / 18%), transparent 42%), linear-gradient(140deg, #05070a, #111b28); }
.gift-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(260px, 0.7fr); align-items: center; gap: clamp(34px, 9vw, 120px); }
.lion-gallery { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: 14px; padding: 20px; border: 1px solid rgb(230 216 174 / 60%); background: linear-gradient(145deg, rgb(255 255 255 / 7%), rgb(0 0 0 / 20%)), #0b1017; box-shadow: 0 0 0 7px rgb(230 216 174 / 8%), 0 24px 60px rgb(0 0 0 / 40%); }
.lion-gallery::after { position: absolute; inset: 6px; border: 1px solid rgb(230 216 174 / 29%); content: ""; pointer-events: none; }
.lion-supporting-photos { display: grid; gap: 14px; align-self: center; }
.lion-figure { position: relative; margin: 0; overflow: hidden; border: 1px solid rgb(230 216 174 / 56%); background: #160c14; box-shadow: 0 13px 30px rgb(0 0 0 / 28%); }
.lion-lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lion-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.lion-lightbox-trigger img { transition: transform 260ms ease, filter 260ms ease; }
.lion-lightbox-trigger:hover img { filter: brightness(1.08); transform: scale(1.018); }
.lion-lightbox-trigger:focus-visible { outline: 3px solid var(--gold-pale); outline-offset: -6px; }
.lion-plaque { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 11px 13px 10px; color: var(--gold-pale); background: rgb(7 21 39 / 86%); box-shadow: 0 7px 17px rgb(0 0 0 / 30%); font-family: Arial, sans-serif; text-align: left; pointer-events: none; }
.lion-plaque span, .lion-plaque small { display: block; }
.lion-plaque span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.lion-plaque small { margin-top: 2px; color: rgb(255 255 255 / 68%); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.section-kicker { margin: 0; color: var(--gold-pale); font-family: Arial, sans-serif; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.gift-copy h2, .callout-card h2, .contact-content h2 { margin: 11px 0 16px; line-height: 1.06; }
.gift-copy h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.gift-copy p:not(.section-kicker) { max-width: 450px; font-size: 1.08rem; }
.gift-note { color: rgb(255 255 255 / 66%); font-family: Arial, sans-serif; font-size: 0.83rem !important; }

.contact-section { padding: clamp(72px, 10vw, 120px) 0; text-align: center; background: var(--paper); }
.contact-content { max-width: 670px; }
.contact-content .section-kicker { color: var(--red); }
.contact-content h2 { color: var(--navy); font-size: clamp(2rem, 4.3vw, 3.4rem); }
.contact-content > p { margin: 0 0 20px; }
.contact-message { max-width: 780px; margin: 25px auto 32px; color: var(--navy-deep); font-size: clamp(1.08rem, 2.15vw, 1.45rem); line-height: 1.55; }
.domain-link, .email-link { display: block; margin-top: 8px; color: var(--navy); font-family: Arial, sans-serif; font-weight: 800; overflow-wrap: anywhere; }
.email-link { color: var(--red); }

.image-lightbox { width: auto; max-width: min(92vw, 1220px); max-height: 92dvh; margin: auto; padding: 0; border: 0; overflow: visible; color: #fff; background: transparent; }
.image-lightbox::backdrop { background: rgb(2 10 22 / 88%); backdrop-filter: blur(7px); }
.image-lightbox-panel { position: relative; }
.image-lightbox figure { display: grid; justify-items: center; gap: 13px; margin: 0; }
.image-lightbox-image { display: block; width: auto; max-width: 92vw; max-height: 78dvh; border: 1px solid rgb(230 216 174 / 72%); background: var(--navy-deep); box-shadow: 0 25px 80px rgb(0 0 0 / 58%); object-fit: contain; }
.image-lightbox figcaption { max-width: min(92vw, 720px); color: rgb(255 255 255 / 78%); font-family: Arial, sans-serif; font-size: 0.82rem; text-align: center; }
.image-lightbox-close { position: absolute; z-index: 1; top: -18px; right: -18px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgb(230 216 174 / 76%); border-radius: 50%; color: var(--gold-pale); background: var(--navy-deep); box-shadow: 0 9px 20px rgb(0 0 0 / 35%); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.image-lightbox-close:hover { color: #fff; background: #193b65; }
.image-lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.site-footer { color: rgb(255 255 255 / 70%); background: var(--navy-deep); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; font-family: Arial, sans-serif; font-size: 0.78rem; }
.footer-content a { color: var(--gold-pale); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 28px, 1100px); }
  .masthead-content { padding-top: 46px; }
  .audio-overlay { right: 10px; bottom: 10px; left: 10px; padding: 13px; }
  .audio-button { width: 100%; }
  .gift-grid { grid-template-columns: 1fr; }
  .lion-gallery { width: min(100%, 620px); margin: 0 auto; }
  .image-lightbox-close { top: -13px; right: -7px; }
  .gift-copy { text-align: center; }
  .gift-copy p:not(.section-kicker) { margin-right: auto; margin-left: auto; }
  .callout-card blockquote { margin-right: auto; margin-left: auto; }
}

@media (max-width: 560px) {
  .hero-section { padding: 28px 0 44px; }
  .hero-figure { overflow: visible; box-shadow: none; }
  .hero-figure img { min-height: 0; box-shadow: var(--shadow); }
  .audio-overlay { position: static; margin: 0; }
  .letter-section { padding: 52px 0; }
  .letter-paper { padding: 30px 22px; }
  .lion-gallery { grid-template-columns: 1fr; padding: 13px; }
  .lion-supporting-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lion-plaque { right: 10px; bottom: 10px; left: 10px; }
  .contact-section { padding: 58px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lion-lightbox-trigger img { transition: none; }
}
