:root {
  --navy: #071c2c;
  --navy-2: #0c2b40;
  --navy-3: #123c50;
  --cream: #f5eddb;
  --paper: #fbf5e8;
  --gold: #d8ad60;
  --gold-light: #f0ce8c;
  --red: #922e31;
  --ink: #112737;
  --muted: #5d6870;
  --line: rgba(216, 173, 96, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.page-width { width: min(100% - 80px, 1260px); margin-inline: auto; }
.section-pad { padding-block: 88px 96px; }
.eyebrow { margin: 0; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .23em; line-height: 1.5; text-transform: uppercase; }
.dark-eyebrow { color: #a16f27; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; background: var(--gold-light); color: var(--navy); padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.site-header { height: 88px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 max(40px, calc((100vw - 1260px) / 2)); background: rgba(7, 28, 44, .97); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-crest { position: relative; display: grid; place-items: center; width: 43px; height: 48px; border: 1px solid var(--gold); color: var(--gold-light); font-family: Georgia, serif; font-size: 29px; line-height: 1; clip-path: polygon(50% 0, 96% 16%, 96% 76%, 50% 100%, 4% 76%, 4% 16%); background: #0c293d; }
.brand-crest span { position: absolute; top: 3px; right: 5px; font-size: 8px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.brand-lockup strong { font-family: Georgia, serif; font-size: 25px; letter-spacing: .08em; font-weight: 700; }
.brand-lockup small { color: var(--gold); font-size: 8px; letter-spacing: .18em; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-left: auto; }
.desktop-nav a { color: #d9dccf; font-size: 12px; letter-spacing: .09em; transition: color .2s; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 22px; }
.language-picker { min-height: 43px; padding: 0 28px 0 12px; border: 1px solid var(--line); border-radius: 0; background-color: var(--navy); color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.language-picker option { background: var(--navy); color: var(--cream); }
.header-cta { border: 1px solid var(--gold); color: var(--gold-light); padding: 13px 17px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--gold); color: var(--navy); }

.hero { position: relative; min-height: 720px; overflow: hidden; background: radial-gradient(circle at 77% 41%, #173e54 0, #0d2a3e 26%, var(--navy) 64%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: radial-gradient(#d8ad60 0.65px, transparent 0.65px); background-size: 13px 13px; mask-image: linear-gradient(90deg, transparent 25%, #000 100%); }
.hero::after { content: ''; position: absolute; width: 800px; height: 800px; border: 1px solid rgba(216,173,96,.1); border-radius: 50%; top: -80px; right: -115px; pointer-events: none; }
.hero-inner { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; position: relative; z-index: 1; gap: 40px; }
.hero-copy { padding: 80px 0 85px; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 29px; height: 1px; background: var(--gold); }
.hero-prayer { margin: 52px 0 5px; color: var(--gold-light); font-family: Georgia, serif; font-size: clamp(25px, 3.2vw, 42px); font-style: italic; line-height: 1.1; }
.hero h1 { margin: 0; font-size: clamp(72px, 8.6vw, 128px); line-height: .88; letter-spacing: -.065em; color: var(--paper); text-shadow: 0 3px 1px rgba(0,0,0,.1); }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--gold-light); font-weight: 400; font-style: normal; letter-spacing: -.04em; }
.hero-description { max-width: 540px; margin: 32px 0 32px; color: #d9dfd8; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 52px; padding: 15px 22px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: var(--gold-light); }
.text-link { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 7px; transition: color .2s; }
.text-link:hover { color: var(--gold-light); }
.hero-note { margin: 42px 0 0; color: #9eaea9; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.hero-note span:first-child { color: var(--gold); font-style: normal; margin-right: 7px; }
.hero-visual { height: 650px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(216,173,96,.35); border-radius: 50%; }
.orbit-one { width: 570px; height: 570px; }
.orbit-two { width: 630px; height: 630px; opacity: .3; }
.hero-poster-frame { position: relative; z-index: 1; width: min(460px, 88%); transform: rotate(4deg); padding: 9px; background: #091a25; border: 1px solid var(--gold); box-shadow: 0 33px 70px rgba(0,0,0,.45), 0 0 0 8px rgba(216,173,96,.07); }
.hero-poster-frame::after { content: ''; position: absolute; inset: 15px; border: 1px solid rgba(216,173,96,.24); pointer-events: none; }
.hero-poster-frame img { width: 100%; max-height: 555px; object-fit: contain; }
.hero-seal { position: absolute; z-index: 2; right: -8px; bottom: 78px; width: 132px; aspect-ratio: 1; border-radius: 50%; background: var(--red); border: 5px double var(--gold-light); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; transform: rotate(12deg); text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.hero-seal span { font-size: 8px; letter-spacing: .1em; font-weight: 800; }
.hero-seal strong { font: 25px Georgia, serif; color: var(--gold-light); }
.hero-spark { position: absolute; z-index: 2; color: var(--gold-light); }
.spark-one { left: 2%; top: 21%; font-size: 45px; }
.spark-two { right: 6%; top: 18%; font-size: 17px; }
.hero-stars { position: absolute; top: 24px; right: 5%; color: rgba(216,173,96,.3); letter-spacing: 35px; }
.hero-bottom-rule { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: grid; place-items: center; color: var(--gold); font-size: 18px; width: min(100% - 80px, 1260px); border-bottom: 1px solid var(--line); }
.hero-bottom-rule span { background: var(--navy); transform: translateY(50%); padding: 0 15px; }

.marquee { height: 47px; overflow: hidden; display: flex; align-items: center; background: var(--gold); color: var(--navy); font-family: Georgia, serif; font-size: 15px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.marquee-track { display: flex; flex: none; width: max-content; animation: marquee var(--marquee-duration, 36s) linear infinite; }
.marquee-group { display: flex; flex: none; }
.marquee-group span { flex: none; padding-right: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.new-art-section { background: #e8d9b9; color: var(--ink); padding-block: 45px 55px; border-bottom: 1px solid #cbb286; }
.new-art-heading { display: flex; align-items: end; gap: 40px; justify-content: space-between; margin-bottom: 25px; }
.new-art-heading h2 { margin: 0; font-size: clamp(32px, 3.6vw, 49px); letter-spacing: -.04em; line-height: 1.1; }
.new-art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.new-art-card { min-width: 0; display: flex; align-items: center; gap: 15px; padding: 8px 14px 8px 8px; background: var(--paper); border: 1px solid #c6a66e; transition: transform .2s, box-shadow .2s; }
.new-art-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(41,33,20,.16); }
.new-art-card img { width: 92px; height: 106px; flex: none; object-fit: contain; background: #06131e; }
.new-art-card span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.new-art-card strong { font: 22px/1.1 Georgia, serif; }
.new-art-card small { color: #637078; font-size: 11px; line-height: 1.4; }
.new-art-card b { margin-left: auto; align-self: start; color: #a2773c; font-size: 17px; font-weight: 400; }

.legend-section { background: var(--paper); color: var(--ink); }
.two-column-intro { display: grid; grid-template-columns: 1.15fr .65fr; gap: 9%; align-items: end; margin-top: 25px; }
.two-column-intro h2, .relics-heading h2, .guestbook-intro h2, .gratitude-inner h2 { margin: 0; font-size: clamp(43px, 5.1vw, 72px); letter-spacing: -.045em; line-height: 1.05; }
.two-column-intro p { max-width: 405px; margin: 0 0 7px; color: #50616c; font-size: 16px; line-height: 1.8; }
.virtues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.virtue-card { min-height: 262px; padding: 30px 31px; background: #f0e6d2; border: 1px solid #dcccad; position: relative; }
.virtue-card::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(169,134,81,.22); pointer-events: none; }
.virtue-head { display: flex; align-items: start; justify-content: space-between; color: #aa7c3d; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.virtue-symbol { font: 33px Georgia, serif; line-height: 1; color: var(--red); }
.virtue-card h3 { margin: 34px 0 10px; font-size: 31px; letter-spacing: -.03em; }
.virtue-card p { max-width: 330px; margin: 0; color: #58626a; font-size: 14px; line-height: 1.7; }

.faith-section { background: #e8d5ab; color: var(--ink); overflow: hidden; border-bottom: 8px solid #b88b4c; }
.faith-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(45px, 8vw, 125px); align-items: center; padding-block: 85px; }
.faith-art { position: relative; width: min(100%, 470px); margin-inline: auto; padding: 14px; background: #102838; border: 2px solid #b58b4a; box-shadow: 0 22px 55px rgba(43, 30, 13, .25); transform: rotate(-2deg); }
.faith-art::after { content: ''; position: absolute; inset: 21px; border: 1px solid rgba(240,206,140,.45); pointer-events: none; }
.faith-art img { position: relative; z-index: 1; width: 100%; height: auto; }
.faith-halo { position: absolute; z-index: 0; width: 130%; aspect-ratio: 1; border: 1px solid rgba(132, 93, 38, .42); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faith-halo::after { content: ''; position: absolute; inset: 28px; border: 1px solid rgba(132, 93, 38, .25); border-radius: 50%; }
.faith-copy { position: relative; z-index: 1; }
.faith-copy h2 { margin: 19px 0 25px; max-width: 670px; font-size: clamp(43px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -.045em; }
.faith-copy > p:not(.eyebrow) { max-width: 540px; color: #4d5b60; font-size: 17px; line-height: 1.8; }
.faith-motto { display: flex; align-items: center; gap: 15px; max-width: 520px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(103,76,38,.4); color: var(--red); }
.faith-motto span { font-size: 22px; }
.faith-motto strong { font-size: 11px; line-height: 1.5; letter-spacing: .19em; }

.relics-section { background: var(--navy); position: relative; }
.relics-section::before { content: ''; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(var(--gold) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.relics-section .page-width { position: relative; }
.relics-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 50px; }
.relics-heading h2 { margin-top: 18px; }
.relics-heading-side { max-width: 375px; }
.relics-heading-side p { color: #d0d9d5; font-size: 15px; line-height: 1.7; margin-bottom: 13px; }
.relics-heading-side small { color: var(--gold); font-size: 11px; letter-spacing: .1em; }
.relic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.relic-card { min-width: 0; border: 1px solid var(--line); padding: 8px; text-align: left; background: #102b3d; color: var(--cream); transition: transform .25s, border-color .25s, box-shadow .25s; }
.relic-card:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 20px 35px rgba(0,0,0,.18); }
.relic-image-wrap { display: flex; align-items: center; justify-content: center; height: 420px; background: #02070b; overflow: hidden; }
.relic-image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.relic-card:hover img { transform: scale(1.04); }
.relic-caption { position: relative; display: flex; flex-direction: column; min-height: 125px; padding: 19px 12px 9px; }
.relic-caption small { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; margin-bottom: 8px; }
.relic-caption strong { max-width: 210px; font-family: Georgia, serif; font-size: 22px; line-height: 1.1; font-weight: 400; }
.relic-caption > span:not(.relic-arrow) { display: block; max-width: 210px; color: #abbab8; font-size: 11px; line-height: 1.5; margin-top: 7px; }
.relic-arrow { position: absolute; right: 7px; bottom: 10px; color: var(--gold); font-size: 19px; }

.gratitude-section { background: var(--cream); color: var(--ink); border-block: 9px solid #d8bc87; }
.gratitude-inner { display: grid; grid-template-columns: .52fr 1fr; gap: 70px; align-items: center; padding-block: 94px; }
.gratitude-mark { width: 270px; height: 315px; margin: auto; display: grid; place-items: center; position: relative; color: var(--gold); font: 180px Georgia, serif; border: 2px solid #bc9250; background: #0d293d; clip-path: polygon(50% 0, 98% 17%, 98% 77%, 50% 100%, 2% 77%, 2% 17%); box-shadow: inset 0 0 0 9px #0d293d; }
.gratitude-mark::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(216,173,96,.55); clip-path: polygon(50% 0, 98% 17%, 98% 77%, 50% 100%, 2% 77%, 2% 17%); }
.gratitude-mark span { position: absolute; top: 23px; font-size: 23px; }
.gratitude-inner h2 { max-width: 750px; margin: 18px 0 25px; }
.gratitude-text { max-width: 620px; color: #485964; font-size: 17px; line-height: 1.8; }
.gratitude-signature { margin: 30px 0 0; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .24em; }

.guestbook-section { background: radial-gradient(circle at 13% 80%, #133c51, var(--navy) 58%); }
.guestbook-layout { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(50px, 8vw, 120px); }
.guestbook-intro h2 { margin: 18px 0 18px; max-width: 600px; }
.guestbook-intro > p:not(.eyebrow) { max-width: 530px; color: #c3d0cd; font-size: 15px; line-height: 1.75; }
.message-tabs { display: flex; gap: 0; margin-top: 35px; border: 1px solid var(--gold); width: min(100%, 530px); }
.message-tab { flex: 1; min-height: 51px; padding: 11px 13px; border: 0; background: transparent; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.message-tab + .message-tab { border-left: 1px solid var(--gold); }
.message-tab.is-active { background: var(--gold); color: var(--navy); }
.message-tab:not(.is-active):hover { background: rgba(216,173,96,.13); }
.mode-note { color: #aabeb9 !important; font-family: Georgia, serif; font-size: 13px !important; font-style: italic; margin: 15px 0 0; }
.tribute-form { margin-top: 28px; display: flex; flex-direction: column; }
.tribute-form label { color: var(--gold-light); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
.tribute-form input, .tribute-form textarea { width: 100%; border: 1px solid rgba(216,173,96,.4); border-radius: 0; background: rgba(4, 18, 29, .35); color: var(--paper); padding: 15px 16px; margin-bottom: 23px; outline: none; resize: vertical; transition: border-color .2s, background .2s; }
.tribute-form input:focus, .tribute-form textarea:focus { border-color: var(--gold-light); background: #0d2a3e; }
.tribute-form input::placeholder, .tribute-form textarea::placeholder { color: #829a9e; }
.tribute-form textarea { min-height: 150px; }
.hidden-field { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.form-bottom small { color: #97aaa8; font-size: 11px; }
.form-status { min-height: 23px; margin: 14px 0 0; color: var(--gold-light); font-size: 13px; line-height: 1.5; }
.messages-panel { border: 1px solid var(--line); background: rgba(2, 15, 25, .33); padding: 29px 30px 30px; min-height: 570px; align-self: start; }
.messages-heading { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.messages-heading > span { color: var(--gold); font-size: 21px; }
.messages-heading h3 { font-size: 27px; margin: 0; }
.messages { max-height: 565px; overflow-y: auto; scrollbar-color: var(--gold) transparent; }
.message-card { border-bottom: 1px solid rgba(216,173,96,.23); padding: 22px 0 21px; }
.message-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold); }
.message-top time { color: #8ca5a7; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.message-card p { margin: 12px 0 12px; color: #eceddf; font-family: Georgia, serif; font-size: 18px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.message-card small { color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .16em; overflow-wrap: anywhere; }
.messages-note { color: #bacac7; font-family: Georgia, serif; font-size: 18px; line-height: 1.6; padding: 25px 0; }
.private-panel { min-height: 565px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #173b4e, #071b2b 70%); padding: 48px 42px; align-self: start; display: flex; flex-direction: column; align-items: start; justify-content: center; position: relative; overflow: hidden; }
.private-panel::before { content: ''; position: absolute; width: 460px; height: 460px; top: -85px; right: -180px; border: 1px solid rgba(216,173,96,.13); border-radius: 50%; }
.private-envelope { color: var(--gold-light); font-size: 90px; font-family: Georgia, serif; line-height: 1; margin-bottom: 37px; }
.private-panel-star { position: absolute; top: 50px; right: 42px; color: var(--gold); font-size: 22px; }
.private-panel h3 { margin: 0 0 20px; font-size: clamp(34px, 3.5vw, 49px); line-height: 1.05; }
.private-panel p { color: #c6d2cc; font-size: 15px; line-height: 1.75; max-width: 390px; }
.private-panel small { display: block; color: var(--gold); font-size: 10px; letter-spacing: .17em; font-weight: 800; margin-top: 20px; }

.photos-section { background: var(--paper); color: var(--ink); }
.photos-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 48px; margin-top: 42px; }
.photo-form { padding: 30px; border: 1px solid #d6bb88; background: var(--cream); }
.photo-form h3 { margin-bottom: 12px; font-size: 32px; }
.photo-public-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 25px; }
.photo-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; display: flex; flex-direction: column; }
.photo-form label { color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.photo-form input, .photo-form textarea { width: 100%; min-width: 0; padding: 13px; margin-bottom: 23px; background: var(--paper); color: var(--ink); border: 1px solid #c9b991; border-radius: 0; }
.photo-form input::placeholder, .photo-form textarea::placeholder { color: var(--muted); }
.photo-form input:focus, .photo-form textarea:focus { border-color: #9e6e32; }
.photo-form input[aria-invalid="true"] { border-color: var(--red); }
.photo-form textarea { resize: vertical; min-height: 100px; }
.photo-form input[type="file"] { border: 1px dashed #a17a3d; font-size: 12px; margin-bottom: 9px; padding: 13px 10px; cursor: pointer; }
.photo-form input::file-selector-button { font: inherit; padding: 9px 11px; margin-right: 10px; border: 0; background: var(--navy); color: var(--cream); cursor: pointer; }
.photo-file-hint { color: var(--muted); font-size: 11px; line-height: 1.6; margin-bottom: 23px; }
.photo-preview { margin-bottom: 24px; }
.photo-preview img { width: 100%; max-height: 290px; object-fit: contain; background: var(--navy); }
.photo-preview > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; }
.photo-preview small { min-width: 0; color: var(--muted); overflow-wrap: anywhere; font-size: 11px; }
.photo-preview button, .photos-heading button { flex: none; padding: 8px 10px; background: transparent; border: 1px solid #c9b991; color: var(--ink); font-size: 11px; }
.photo-preview button:hover, .photos-heading button:hover { background: var(--gold-light); }
.photo-form .form-status { color: var(--red); overflow-wrap: anywhere; }
.photo-form .button { width: 100%; }
.photos-panel { min-width: 0; }
.photos-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #d6bb88; }
.photos-heading h3 { margin: 0; font-size: 28px; }
.photos-status { margin: 22px 0; color: var(--muted); font: italic 18px/1.6 Georgia, serif; }
.photos-status:empty { display: none; }
.photos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-height: 850px; overflow-y: auto; margin-top: 24px; scrollbar-color: #a17a3d var(--cream); }
.photo-card { min-width: 0; border: 1px solid #d6bb88; background: var(--cream); }
.photo-image-button { display: block; width: 100%; padding: 0; border: 0; background: var(--navy); overflow: hidden; }
.photo-image-button img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.photo-image-button:hover img { transform: scale(1.03); }
.photo-card-details { padding: 17px; }
.photo-card-details p { font: 18px/1.5 Georgia, serif; margin-bottom: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.photo-card-details small { display: block; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; overflow-wrap: anywhere; }
.photo-card-details time { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; }

.site-footer { background: #041522; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-block: 36px; }
.footer-inner strong { font: 30px Georgia, serif; letter-spacing: .08em; color: var(--gold-light); }
.footer-inner p { color: #98aaa8; font-size: 12px; margin: 8px 0 0; }
.footer-right { display: flex; align-items: end; flex-direction: column; gap: 16px; }
.footer-right a { color: var(--cream); font-size: 12px; transition: color .2s; }
.footer-right small { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; }

.relic-dialog { max-width: min(90vw, 880px); max-height: 90vh; padding: 28px; border: 1px solid var(--gold); background: var(--navy); color: var(--cream); box-shadow: 0 25px 90px rgba(0,0,0,.6); }
.relic-dialog::backdrop { background: rgba(0, 7, 12, .85); }
.relic-dialog img { max-height: calc(90vh - 110px); max-width: 100%; width: auto; margin: auto; object-fit: contain; }
.relic-dialog p { text-align: center; font-family: Georgia, serif; margin: 13px 0 0; }
.dialog-close { position: sticky; z-index: 2; float: right; top: 0; margin: -17px -17px 0 0; border: 1px solid var(--gold); width: 33px; height: 33px; background: var(--navy); color: var(--cream); font-size: 22px; line-height: 1; }

.inbox-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(circle at 72% 30%, #183d50, var(--navy) 62%); }
.inbox-main { flex: 1; padding-block: 105px 125px; }
.inbox-intro { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.inbox-intro h1 { margin: 14px 0 18px; font-size: clamp(64px, 8vw, 100px); letter-spacing: -.05em; line-height: 1; }
.inbox-intro > p:last-child { max-width: 580px; margin-inline: auto; color: #c4d1ca; font-size: 16px; line-height: 1.75; }
.inbox-gate { width: min(100%, 470px); margin: auto; border: 1px solid var(--gold); background: #0a2233; padding: 45px; box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.inbox-lock { color: var(--gold-light); font-size: 76px; line-height: 1; text-align: center; }
.inbox-gate h2 { font-size: 35px; text-align: center; margin: 12px 0 30px; }
.inbox-gate form { display: flex; flex-direction: column; }
.inbox-gate label { color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.inbox-gate input { width: 100%; min-height: 48px; padding: 13px 14px; margin-bottom: 20px; color: var(--cream); background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.inbox-gate input::placeholder { color: #8ca5a7; }
.inbox-gate .button { width: 100%; }
#inbox-status { min-height: 20px; color: var(--gold-light); font-size: 13px; line-height: 1.5; margin: 18px 0 0; }
.inbox-content { max-width: 900px; margin: auto; }
.inbox-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.inbox-toolbar h2 { margin: 8px 0 0; font-size: clamp(42px, 5vw, 64px); }
.inbox-toolbar button { border: 1px solid var(--gold); background: transparent; color: var(--gold-light); padding: 12px 15px; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.inbox-toolbar button:hover { background: var(--gold); color: var(--navy); }
.inbox-messages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.inbox-letter { min-width: 0; background: var(--paper); color: var(--ink); padding: 27px 29px; border: 6px double #d2b980; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.inbox-letter-top { display: flex; justify-content: space-between; gap: 15px; color: #9e6e32; }
.inbox-letter-top time { font-size: 11px; color: #667079; }
.inbox-letter p { margin: 21px 0 25px; font: 20px/1.55 Georgia, serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-letter small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .15em; overflow-wrap: anywhere; }
.inbox-empty { grid-column: 1 / -1; color: #cbd5ce; font: italic 20px/1.5 Georgia, serif; text-align: center; padding: 50px 0; }

@media (max-width: 1100px) {
  .page-width { width: min(100% - 56px, 1260px); }
  .site-header { padding-inline: 28px; }
  .desktop-nav { display: none; }
  .hero-inner { gap: 10px; }
  .hero h1 { font-size: clamp(70px, 8.5vw, 105px); }
  .hero-seal { right: -15px; }
  .relic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relic-image-wrap { height: 420px; }
  .guestbook-layout { gap: 45px; }
  .photos-layout { gap: 25px; }
  .photo-form { padding: 24px; }
  .new-art-card { gap: 10px; }
  .new-art-card img { width: 72px; height: 90px; }
  .new-art-card strong { font-size: 19px; }
}
@media (max-width: 760px) {
  .page-width { width: min(100% - 36px, 600px); }
  .section-pad { padding-block: 56px 64px; }
  .site-header { height: 72px; padding-inline: 18px; }
  .brand-crest { width: 36px; height: 41px; font-size: 25px; }
  .brand-lockup strong { font-size: 20px; }
  .brand-lockup small { font-size: 6px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 8px; margin-left: auto; }
  .language-picker { min-height: 37px; padding: 0 22px 0 9px; }
  .header-cta { padding: 10px 12px; font-size: 10px; }
  .new-art-section { padding-block: 38px 48px; }
  .new-art-heading { display: block; }
  .new-art-heading h2 { margin-top: 8px; }
  .new-art-grid { grid-template-columns: 1fr; gap: 10px; }
  .new-art-card img { width: 78px; height: 86px; }
  .new-art-card strong { font-size: 21px; }
  .hero { min-height: auto; }
  .hero-inner { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .hero-copy { display: contents; }
  .hero-heading { order: 0; width: 100%; padding-top: 30px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .17em; }
  .hero-prayer { margin-top: 22px; font-size: 27px; }
  .hero h1 { font-size: clamp(68px, 15vw, 105px); }
  .hero-details { order: 2; width: 100%; padding-bottom: 34px; }
  .hero-description { margin: 12px 0 22px; font-size: 15px; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: 10px; letter-spacing: .06em; }
  .hero-note { margin: 22px 0 0; font-size: 12px; }
  .hero-visual { order: 1; width: 100%; height: 310px; margin: 18px 0 0; }
  .hero-poster-frame { width: min(250px, 67%); }
  .hero-poster-frame img { max-height: 270px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 330px; height: 330px; }
  .hero-seal { width: 84px; right: max(3%, calc(50% - 155px)); bottom: 12px; }
  .hero-seal span { font-size: 6px; }
  .hero-seal strong { font-size: 19px; }
  .hero-bottom-rule { width: calc(100% - 36px); }
  .two-column-intro { display: block; }
  .two-column-intro p { margin-top: 25px; }
  .virtues { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .virtue-card { min-height: 0; padding: 26px; }
  .virtue-card h3 { margin-top: 20px; }
  .faith-layout { display: flex; flex-direction: column; gap: 38px; padding-block: 56px 64px; }
  .faith-art { width: min(80%, 380px); }
  .faith-copy h2 { font-size: clamp(41px, 9vw, 62px); }
  .relics-heading { display: block; margin-bottom: 32px; }
  .relics-heading-side { margin-top: 20px; }
  .relic-grid { gap: 13px; }
  .relic-image-wrap { height: 290px; }
  .relic-caption { min-height: 140px; }
  .relic-caption strong { font-size: 19px; }
  .gratitude-inner { display: flex; flex-direction: column; align-items: start; gap: 28px; padding-block: 56px; }
  .gratitude-mark { width: 150px; height: 178px; font-size: 103px; margin: 0; }
  .gratitude-mark span { top: 13px; font-size: 14px; }
  .guestbook-layout { grid-template-columns: 1fr; gap: 35px; }
  .photos-layout { grid-template-columns: 1fr; gap: 35px; margin-top: 30px; }
  .photos-grid { gap: 13px; }
  .messages-panel { min-height: 300px; }
  .private-panel { min-height: 340px; padding: 38px 30px; }
  .private-envelope { font-size: 70px; margin-bottom: 25px; }
  .inbox-main { padding-block: 75px 95px; }
  .inbox-intro { margin-bottom: 40px; }
  .inbox-messages { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .site-header { gap: 8px; }
  .brand { gap: 7px; }
  .brand-lockup small { display: none; }
  .header-actions { gap: 6px; }
  .language-picker { padding-inline: 7px 20px; }
  .header-cta { padding: 10px 8px; font-size: 8px; letter-spacing: .04em; }
  .hero h1 { font-size: clamp(64px, 16vw, 78px); }
  .hero-actions { gap: 18px; }
  .button { gap: 12px; padding-inline: 16px; font-size: 11px; }
  .relic-grid { grid-template-columns: 1fr; }
  .relic-image-wrap { height: 410px; }
  .relic-caption { min-height: 117px; }
  .relic-caption strong { font-size: 22px; }
  .message-tab { font-size: 10px; }
  .photos-grid { grid-template-columns: 1fr; max-height: 750px; }
  .photo-card-details { padding: 20px; }
  .form-bottom { align-items: start; flex-direction: column; }
  .form-bottom .button { width: 100%; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-right { align-items: start; }
  .inbox-gate { padding: 28px 22px; }
  .inbox-toolbar { align-items: start; flex-direction: column; }
}
@media (max-width: 380px) {
  .site-header { gap: 12px; }
  .brand { gap: 8px; }
  .brand-lockup small { display: none; }
  .header-cta { font-size: 9px; letter-spacing: .08em; }
  .language-picker { padding-left: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
