:root {
  --night: #03150f;
  --deep: #06251a;
  --forest: #0b3525;
  --pine: #114b32;
  --moss: #2f6848;
  --sage: #8cae91;
  --mist: #deebe0;
  --pale: #edf5ee;
  --gold: #cba657;
  --gold-light: #ead39b;
  --ink: #102319;
  --line: rgba(203, 166, 87, .38);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--deep); color: var(--pale); font: 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a, button, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.skip { position: fixed; left: -9999px; top: 1rem; z-index: 100; background: var(--pale); color: var(--ink); padding: .75rem 1rem; }
.skip:focus { left: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: 0 clamp(1rem, 3vw, 3.25rem);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3, 21, 15, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  backdrop-filter: blur(15px);
}
.brand { color: var(--gold-light); text-decoration: none; display: flex; align-items: center; gap: .72rem; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; place-items: center; width: 47px; height: 55px; color: var(--gold); border: 1px solid var(--gold); border-radius: 45% 45% 52% 52% / 28% 28% 70% 70%; font: 1.65rem/1 var(--serif); box-shadow: inset 0 0 0 3px rgba(203, 166, 87, .12); }
.brand-mark::before { content: ""; position: absolute; width: 18px; height: 5px; top: -6px; border: 1px solid var(--gold); border-bottom: 0; border-radius: 6px 6px 0 0; }
.brand-name { font: 1.35rem/1 var(--serif); letter-spacing: .1em; white-space: nowrap; }
.brand small { display: block; margin-top: .38rem; color: var(--sage); font: .61rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: stretch; gap: clamp(.75rem, 1.5vw, 1.6rem); height: 100%; margin-left: auto; }
.site-header nav a { position: relative; display: flex; align-items: center; color: #dfe9e1; text-decoration: none; text-transform: uppercase; font-size: clamp(.64rem, .7vw, .76rem); letter-spacing: .055em; white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 15px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.site-header nav a:hover, .site-header nav a.active { color: var(--gold-light); }
.site-header nav a:hover::after, .site-header nav a.active::after { transform: scaleX(1); }
.languages { display: flex; align-items: center; gap: .35rem; flex: 0 0 auto; color: var(--gold); border-left: 1px solid rgba(203, 166, 87, .25); padding-left: 1rem; }
.languages select { max-width: 6.5rem; border: 0; background: var(--deep); color: #e8f0e9; font: 700 .7rem var(--sans); cursor: pointer; }
.languages option { background: var(--deep); color: var(--pale); }
.menu-btn { display: none; color: var(--gold-light); border: 1px solid var(--line); background: var(--deep); padding: .55rem .7rem; }

.hero { min-height: clamp(650px, 82vh, 860px); position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; background: var(--night); border-bottom: 1px solid var(--gold); }
.hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(1, 19, 13, .92) 0%, rgba(3, 25, 17, .8) 23%, rgba(4, 25, 17, .22) 57%, rgba(2, 18, 12, .2) 100%), linear-gradient(0deg, rgba(2, 21, 14, .8), transparent 40%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 17% 48%, rgba(20, 75, 48, .2), transparent 35%); }
.hero-copy { width: min(45rem, 48vw); padding: clamp(4rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6rem); text-align: center; }
.hero-established { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 0 1.2rem; color: var(--gold-light); text-transform: uppercase; font: .7rem/1 var(--sans); letter-spacing: .2em; }
.hero-established > span:first-child, .hero-established > span:last-child { width: 52px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; color: #f3e9d0; text-shadow: 0 3px 18px rgba(0, 0, 0, .45); font: 400 clamp(4rem, 7vw, 7.2rem)/.88 var(--serif); letter-spacing: .055em; }
.hero-subtitle { margin: 1.4rem 0 .6rem; color: var(--gold); font: italic clamp(1.35rem, 2vw, 2rem)/1.2 var(--serif); }
.hero-motto { display: inline-block; margin: 0 0 1.2rem; color: var(--gold-light); text-transform: uppercase; font: .67rem/1.4 var(--sans); letter-spacing: .13em; }
.hero-text { max-width: 34rem; margin: 0 auto 2rem; color: #e2ebe4; font: clamp(1rem, 1.3vw, 1.15rem)/1.55 var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; color: var(--gold-light); background: var(--pine); border: 1px solid var(--gold); border-radius: 2px; text-decoration: none; text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .055em; transition: .2s ease; }
.button:hover { color: var(--pale); background: var(--moss); border-color: var(--gold-light); transform: translateY(-2px); }
.button.outline { color: var(--gold-light); background: rgba(4, 31, 21, .65); }
.button.outline:hover { color: var(--gold-light); background: var(--pine); }
.hero-caption { position: absolute; right: 1.5rem; bottom: 1rem; margin: 0; color: #e5e7de; font-size: .66rem; letter-spacing: .11em; text-shadow: 0 2px 6px #000; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--deep); border-bottom: 1px solid var(--line); }
.pillar { min-height: 156px; display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 1rem; padding: 1.4rem clamp(1rem, 2.2vw, 2rem); color: var(--pale); text-decoration: none; border-right: 1px solid var(--line); background: linear-gradient(135deg, rgba(18, 77, 50, .48), rgba(4, 34, 23, .88)); transition: background .2s ease; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--pine); }
.pillar-icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--gold); border: 1px solid var(--line); border-radius: 50%; font: 1.5rem var(--serif); }
.pillar strong, .pillar small, .pillar em { display: block; }
.pillar strong { color: var(--gold-light); font: 1.15rem var(--serif); text-transform: uppercase; letter-spacing: .055em; }
.pillar small { min-height: 3.3em; margin: .35rem 0 .55rem; color: #c7d7cb; line-height: 1.45; }
.pillar em, .feature-card em { color: var(--gold); font-size: .67rem; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

.intro, .archive, .gallery, .journey { padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 6rem); }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); color: var(--ink); background: var(--mist); }
.eyebrow { margin: 0 0 .8rem; color: #86651e; text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .2em; }
h2 { margin: 0; font: 400 clamp(2.2rem, 4.5vw, 4.5rem)/1.04 var(--serif); letter-spacing: -.025em; }
.intro h2 { color: #123826; }
.intro-copy > p { margin: 0; color: #263b2d; font-size: 1.06rem; }
.intro blockquote { margin: 2.2rem 0 0; padding-left: 1.3rem; color: var(--forest); border-left: 3px solid var(--gold); font: italic 1.45rem/1.4 var(--serif); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 2.2rem clamp(1.25rem, 6vw, 6rem); background: var(--forest); }
.facts article { padding: 1rem clamp(1rem, 4vw, 4rem); border-left: 1px solid var(--line); text-align: center; }
.facts article:first-child { border-left: 0; }
.facts strong { display: block; color: var(--gold-light); font: 400 clamp(2rem, 3.4vw, 3.25rem) var(--serif); }
.facts span { display: block; color: #cbd8ce; font-size: .78rem; }

.journey { color: var(--pale); background: radial-gradient(circle at 50% -20%, #1a593b, transparent 55%), var(--deep); border-bottom: 1px solid var(--line); }
.section-title.centered { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.journey h2 { color: var(--gold-light); font-size: clamp(2.1rem, 4vw, 4rem); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1250px; margin: auto; }
.timeline::before { content: ""; position: absolute; left: 7%; right: 7%; top: 11px; height: 1px; background: var(--gold); opacity: .65; }
.timeline a { position: relative; padding: 1.85rem .7rem .5rem; color: var(--pale); text-decoration: none; text-align: center; }
.timeline a::before { content: ""; position: absolute; top: 6px; left: 50%; width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 50%; background: var(--deep); transform: translateX(-50%); transition: .2s ease; }
.timeline a:hover::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(203, 166, 87, .14); }
.timeline strong, .timeline span { display: block; }
.timeline strong { color: var(--gold-light); font: 1.05rem var(--serif); }
.timeline span { margin-top: .25rem; color: #bfcec3; font-size: .7rem; }

.feature-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; padding: .55rem; background: var(--night); }
.feature-card { position: relative; isolation: isolate; min-height: 270px; display: flex; align-items: flex-end; overflow: hidden; padding: 1.5rem; color: var(--pale); text-decoration: none; border: 1px solid var(--line); background-position: center; background-size: cover; }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 24, 16, .98), rgba(6, 44, 29, .5) 72%, rgba(8, 48, 31, .48)); transition: .25s ease; }
.feature-card:hover::before { background: linear-gradient(0deg, rgba(5, 38, 25, .98), rgba(18, 78, 50, .52)); }
.feature-card.tree { background-image: url("assets/gallery/porodicno-stablo-popivoda-2025.jpg"); }
.feature-card.gallery-card { background-image: url("assets/gallery/ljesev-stup-1974.jpg"); }
.feature-card.documents { background-image: url("archive/Popivoda/SLIKE/Maticna%20knjiga%2001.jpg"); }
.feature-card.map { background-image: url("archive/Popivoda/SLIKE/Ljesev%20Stup%20mapa.jpg"); }
.feature-card strong, .feature-card small, .feature-card em { display: block; }
.feature-card strong { color: var(--gold-light); font: 1.3rem var(--serif); text-transform: uppercase; letter-spacing: .04em; }
.feature-card small { max-width: 18rem; min-height: 3.7em; margin: .45rem 0 .75rem; color: #d4e0d7; line-height: 1.5; }

.archive { color: var(--ink); background: var(--pale); }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-head > p { margin: 0; color: #475d4d; }
.chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #a7bda9; border-left: 1px solid #a7bda9; }
.chapter { min-height: 220px; padding: 1.4rem; color: var(--ink); text-decoration: none; border-right: 1px solid #a7bda9; border-bottom: 1px solid #a7bda9; background: var(--mist); transition: .22s ease; }
.chapter:nth-child(3n) { background: #d4e4d7; }
.chapter:hover { color: var(--pale); background: var(--pine); transform: translateY(-3px); }
.chapter.featured { color: var(--pale); background: var(--forest); }
.chapter > span { color: #8b691f; font-size: .7rem; }
.chapter.featured > span, .chapter:hover > span { color: var(--gold-light); }
.chapter h3 { margin: 2.5rem 0 .65rem; font: 400 1.45rem var(--serif); }
.chapter p { margin: 0; font-size: .82rem; }
.text-link { display: inline-block; margin-top: 2rem; color: var(--forest); font-weight: 700; text-underline-offset: 5px; }

.gallery { color: var(--pale); background: #071f16; }
.gallery .section-head > p { color: #b8cabe; }
.gallery h2 { color: var(--gold-light); }
.event-gallery-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); min-height: 320px; margin: 0 0 2rem; overflow: hidden; color: var(--pale); background: var(--pine); border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.event-gallery-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.event-gallery-card > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.event-gallery-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3.5rem); background: radial-gradient(circle at 100% 0, rgba(140, 174, 145, .2), transparent 48%), var(--forest); }
.event-gallery-copy > small { color: var(--gold); text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.event-gallery-copy > strong { margin: .65rem 0 .8rem; color: var(--gold-light); font: 400 clamp(1.8rem, 3vw, 3rem)/1.05 var(--serif); }
.event-gallery-copy > span { color: #d3e0d6; }
.event-gallery-copy > em { margin-top: 1.5rem; color: var(--gold-light); font-size: .72rem; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .6rem; }
.photo { position: relative; overflow: hidden; border: 1px solid rgba(203, 166, 87, .18); padding: 0; background: var(--forest); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) sepia(.08); transition: .4s ease; }
.photo:hover img { transform: scale(1.04); filter: saturate(1); }
.photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .7rem; color: #fff; background: linear-gradient(transparent, rgba(3, 29, 19, .92)); text-align: left; font-size: .76rem; }
.photo.tall { grid-row: span 2; }
.photo.wide { grid-column: span 2; }
.photo.featured { grid-column: span 2; grid-row: span 2; }
.photo.document img { object-fit: contain; background: #163b29; }
.photo.new-photo { box-shadow: inset 0 0 0 2px rgba(203, 166, 87, .4); }
.gallery .text-link { color: var(--gold-light); }

.event-gallery-page { background: var(--deep); }
.gallery-page-hero { min-height: 560px; position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); border-bottom: 1px solid var(--line); }
.gallery-page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.gallery-page-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 22, 15, .92), rgba(4, 37, 24, .45) 65%, rgba(3, 24, 16, .35)), linear-gradient(0deg, rgba(3, 25, 17, .95), transparent 65%); }
.gallery-page-copy { width: min(840px, 100%); padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem); }
.gallery-page-copy h1 { margin: .45rem 0 1rem; color: var(--gold-light); font: 400 clamp(3rem, 7vw, 6.8rem)/.95 var(--serif); letter-spacing: -.025em; }
.gallery-page-copy > p:last-child { max-width: 620px; margin: 0; color: #e0ebe2; font: clamp(1rem, 1.7vw, 1.22rem)/1.55 var(--serif); }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--gold-light); text-decoration: none; text-transform: uppercase; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.event-gallery-section { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem); background: var(--deep); }
.event-gallery-heading { max-width: 760px; margin-bottom: 2.5rem; }
.event-gallery-heading h2 { color: var(--gold-light); }
.event-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.event-gallery-grid .photo { width: 100%; aspect-ratio: 3 / 2; }

.contact { padding: clamp(5rem, 9vw, 8rem) 1.25rem; color: var(--pale); background: var(--moss); text-align: center; border-top: 1px solid var(--line); }
.contact .eyebrow { color: var(--gold-light); }
.contact h2 { max-width: 850px; margin: auto; }
.contact > p:not(.eyebrow) { max-width: 680px; margin: 1.4rem auto 2rem; }
.button.light { color: var(--deep); background: var(--pale); border-color: var(--pale); }

footer { position: relative; display: grid; grid-template-columns: 1.35fr repeat(3, .7fr); gap: clamp(2rem, 5vw, 5rem); padding: 3.2rem clamp(1.25rem, 6vw, 6rem) 4.8rem; color: #c7d6cb; background: var(--night); border-top: 1px solid var(--line); }
.footer-brand { font-size: .85rem; }
.footer-motto { max-width: 22rem; margin: 1rem 0 0; color: var(--gold); text-transform: uppercase; font: .65rem/1.5 var(--sans); letter-spacing: .1em; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .38rem; }
.footer-column h3 { margin: 0 0 .5rem; color: var(--gold); text-transform: uppercase; font: .68rem var(--sans); letter-spacing: .12em; }
.footer-column a, .footer-column span { color: #c7d6cb; text-decoration: none; font-size: .76rem; }
.footer-column a:hover { color: var(--gold-light); }
.copyright { position: absolute; left: clamp(1.25rem, 6vw, 6rem); right: clamp(1.25rem, 6vw, 6rem); bottom: 1.2rem; display: flex; justify-content: space-between; padding-top: .75rem; color: #7f9b88; border-top: 1px solid rgba(203, 166, 87, .15); font-size: .68rem; }
.copyright a { color: var(--gold); text-decoration: none; }

dialog { max-width: min(92vw, 1200px); max-height: 92vh; padding: 0; color: var(--pale); background: var(--night); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(1, 15, 10, .92); }
dialog img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
dialog p { margin: .6rem 1rem; }
.close { position: absolute; z-index: 2; right: .5rem; top: .5rem; width: 42px; height: 42px; color: #fff; background: rgba(3, 36, 23, .85); border: 1px solid var(--line); border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
body.modal-open { overflow: hidden; }

@media (max-width: 1220px) {
  .site-header { height: 70px; }
  .menu-btn { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
  .site-header nav { display: none; position: absolute; top: 70px; left: 0; right: 0; height: auto; padding: 1rem clamp(1rem, 4vw, 3rem); flex-direction: column; align-items: flex-start; gap: .2rem; background: rgba(3, 25, 17, .98); border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; }
  .site-header nav a { width: 100%; padding: .6rem 0; }
  .site-header nav a::after { bottom: .3rem; right: auto; width: 42px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero { min-height: 690px; align-items: flex-end; }
  .hero > img { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(2, 20, 13, .96) 0%, rgba(3, 25, 17, .72) 55%, rgba(3, 25, 17, .14) 100%); }
  .hero-copy { width: 100%; padding: 4rem 1.25rem 3.7rem; }
  .hero h1 { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero-caption { display: none; }
  .intro, .section-head { grid-template-columns: 1fr; gap: 2rem; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 2.3rem; }
  .timeline::before { display: none; }
  .timeline a::after { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 1px; background: rgba(203, 166, 87, .35); z-index: -1; }
  .chapter-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .event-gallery-card { grid-template-columns: 1fr; }
  .event-gallery-card > img { height: 300px; min-height: 0; }
  .event-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 64px; }
  .site-header { height: 64px; gap: .6rem; padding: 0 .75rem; }
  .site-header nav { top: 64px; }
  .brand-mark { width: 37px; height: 43px; font-size: 1.25rem; }
  .brand-name { font-size: 1rem; }
  .brand small { display: none; }
  .menu-btn span:last-child { display: none; }
  .languages { padding-left: .55rem; }
  .languages select { max-width: 4.6rem; }
  .hero { min-height: 650px; }
  .hero > img { object-position: 64% center; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); letter-spacing: .015em; }
  .hero-established { font-size: .61rem; }
  .hero-motto { font-size: .59rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .pillars, .feature-links { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card { min-height: 230px; }
  .facts { grid-template-columns: 1fr; padding: 1rem 1.25rem; }
  .facts article, .facts article:first-child { border-left: 0; border-top: 1px solid var(--line); }
  .facts article:first-child { border-top: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter { min-height: 175px; }
  .chapter h3 { margin-top: 1.7rem; }
  .gallery-grid { display: block; }
  .photo { width: 100%; height: 270px; margin-bottom: .6rem; }
  .photo.document { height: 360px; }
  .event-gallery-card > img { height: 230px; }
  .event-gallery-copy { padding: 1.5rem; }
  .gallery-page-hero { min-height: 500px; }
  .gallery-page-copy { padding-bottom: 3.5rem; }
  .gallery-page-copy h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .event-gallery-grid { grid-template-columns: 1fr; }
  .event-gallery-grid .photo { height: auto; margin: 0; aspect-ratio: 3 / 2; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-branding { grid-column: 1 / -1; }
  .contact-details { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
