:root {
  --paper: #eef1f4;
  --white: #ffffff;
  --ink: #14181d;
  --muted: #5d6772;
  --line: #d5dbe2;
  --red: #c4121a;
  --red-dark: #8e0d13;
  --navy: #121820;
  --display: "Alumni Sans", "Arial Narrow", Impact, sans-serif;
  --sans: "Sofia Sans", "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: #f3c3c6; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: white;
  padding: 0.5rem 0.75rem;
  z-index: 80;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Chrome */

.utility {
  background: var(--navy);
  color: #d5dbe3;
  font-size: 0.82rem;
  font-weight: 600;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.42rem;
}
.utility a { color: white; text-decoration: none; }
.utility-links { display: flex; gap: 1rem; }

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.mast-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 58px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.brand-name span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: white;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  cursor: pointer;
}

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 0.05rem; }
.site-nav a,
.site-nav .sub-toggle {
  display: inline-flex;
  background: none;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.7rem 0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.site-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.site-nav a:hover,
.site-nav .sub-toggle:hover { color: var(--red); }

.has-sub { position: relative; }
.has-sub .sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 250px;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 0.35rem 0;
  z-index: 40;
}
.has-sub .sub a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  box-shadow: none;
}
.has-sub .sub a:hover { background: #f6f7f9; }
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.is-open .sub { display: flex; }

/* Home */

.hero-stage {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--navy);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.5) 0%, rgba(8, 12, 16, 0.62) 42%, rgba(8, 12, 16, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 12, 16, 0.72) 0%, rgba(8, 12, 16, 0.45) 55%, rgba(8, 12, 16, 0.28) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 6.5rem 0 4.6rem;
}
.hero-stage .kicker { color: #ffc9cc; }
.hero-stage h1 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.4rem, 7vw, 6.8rem);
  line-height: 0.82;
  width: fit-content;
  background: rgba(8, 12, 16, 0.45);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.02em 0.08em 0.04em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: white;
}
.hero-stage .nation {
  margin: 0.85rem 0 0;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
.hero-stage .lede {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-meta li { display: flex; align-items: center; gap: 0.45rem; }
.hero-meta li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  flex: none;
}
.hero-meta a { color: white; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.35rem; }
.hero-stage .btn-line {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}
.hero-stage .btn-line:hover { background: white; color: var(--ink); }

.result { position: relative; z-index: 2; margin-top: -2.8rem; }
.result-card {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(18, 24, 32, 0.16);
}
.result-card > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 42%;
}
.result-copy {
  padding: 1.6rem 1.55rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 6px solid var(--red);
}
.result-copy h2 {
  margin: 0.25rem 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.86;
  text-transform: uppercase;
}
.result-copy p { margin: 0 0 0.9rem; color: #2c343c; }
.score {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.score b { color: var(--red); font-size: 2.7rem; }

.band { padding: 2.2rem 0 0.4rem; }
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.band-head h2,
.sheet-title {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.band-head a,
.more {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--red);
}
.band-note { margin: 0.35rem 0 0.9rem; color: var(--muted); max-width: 46rem; }

.club-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
.club-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 0.55rem 0.55rem 0.75rem;
  min-width: 0;
}
.club-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
}
.club-card h3 {
  margin: 0.5rem 0.15rem 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
}
.news-card:hover { border-color: var(--red); }
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d7dde4;
}
.news-card div { padding: 0.8rem 0.85rem 0.95rem; }
.news-card time {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.news-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
}

.members {
  margin-top: 2.4rem;
  padding: 2.3rem 0 2.6rem;
  background: white;
  border-top: 1px solid var(--line);
}
.members-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.members-head h2 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.members-head p { margin: 0.45rem 0 0; color: var(--muted); max-width: 36rem; }
.members-head a {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--red);
  flex: none;
}
.member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.member-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
}
.member-list img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: none;
  background: white;
}
.member-list h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.btn:hover { background: var(--red-dark); }
.btn-line {
  background: white;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-line:hover { background: var(--ink); color: white; }

/* Inner */

.page-hero {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0 1.35rem;
}
.page-hero h1 {
  margin: 0.2rem 0 0;
  max-width: 18ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}
.page-hero .dek {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

main > .wrap { padding-top: 1.3rem; padding-bottom: 2.6rem; }

.president {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 1.2rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 0.8rem;
}
.president img { width: 100%; height: 460px; object-fit: cover; object-position: center 15%; }
.president div { padding-right: 1.4rem; }
.president p {
  margin: 0;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.president h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}
.roster article {
  background: white;
  border: 1px solid var(--line);
}
.roster img { width: 100%; height: 230px; object-fit: cover; object-position: center 15%; }
.roster div { padding: 0.6rem 0.65rem 0.75rem; }
.roster h3 { margin: 0; font-size: 1rem; line-height: 1.2; }
.roster p {
  margin: 0.2rem 0 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.office {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 1.4rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  padding: 0.8rem;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  padding: 2rem 2.2rem 2.2rem;
}
.contact address,
.contact > div { min-width: 0; }
.contact .btn { margin-top: 1.15rem; }
.office img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.office h2,
.contact h2 {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.phone {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.mail {
  display: block;
  max-width: 100%;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.socials { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.socials a {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--red);
}

.doc-list,
.ledger,
.archive ul { list-style: none; margin: 0; padding: 0; }
.doc-list a,
.ledger a,
.archive li a {
  display: grid;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.85rem 0.7rem;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  margin-bottom: 0.45rem;
}
.doc-list a { grid-template-columns: 1fr auto; }
.doc-list a:hover,
.ledger a:hover,
.archive li a:hover { border-color: var(--red); }
.doc-list span,
.ledger em {
  font-style: normal;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ledger a { grid-template-columns: 7rem 1fr auto; }
.archive li a { grid-template-columns: 7.2rem minmax(0, 1fr); }
.ledger time,
.archive time {
  color: var(--red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sheet-title { margin: 1.8rem 0 0.7rem; }

.year-block { margin-top: 1.4rem; }
.year-block h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
}

main:has(> article.entry) .page-hero {
  padding: 2.8rem 0 2.1rem;
  text-align: center;
}
main:has(> article.entry) .page-hero h1 {
  max-width: 18em;
  margin: 0.45rem auto 0;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  line-height: 0.96;
  text-wrap: balance;
}
main:has(> article.entry) .page-hero .dek {
  margin-inline: auto;
}
article.entry {
  width: min(740px, calc(100% - 2.2rem));
  margin: 1.7rem auto 2.8rem;
  background: white;
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem 1.9rem;
}
.entry p { margin: 0.75rem 0; }
.entry h2, .entry h3 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 1.3rem 0 0.4rem;
}
.entry h2 { font-size: 2rem; }
.entry a { color: var(--red-dark); }
.entry img { width: 100%; height: auto; margin: 0.4rem 0; }
.entry ul:has(img),
.entry ol:has(img) {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
.entry ul:has(img) li,
.entry ol:has(img) li { margin: 0; }
.entry figure { margin: 0.6rem 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry th, .entry td { border: 1px solid var(--line); padding: 0.35rem 0.45rem; text-align: left; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.figure { margin: 0 0 1rem; }
.figure figcaption,
.note { color: var(--muted); font-size: 0.92rem; }
.prose { max-width: 74ch; }
.prose h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 0.95;
}

.rep-photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.rep-photos a {
  position: relative;
  display: block;
  min-height: 220px;
  color: white;
  text-decoration: none;
  overflow: hidden;
  background: #111;
}
.rep-photos img { width: 100%; height: 240px; object-fit: cover; }
.rep-photos span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.7rem 0.65rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.rep-photos em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rep-photos strong {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 0.9;
  text-transform: uppercase;
}

/* Footer */

.site-footer {
  margin-top: 2rem;
  background: var(--navy);
  color: #e7ebf0;
  padding-top: 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 1.6rem;
}
.site-footer img { width: 68px; }
.site-footer h2 {
  margin: 0.4rem 0 0.25rem;
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
}
.site-footer p { margin: 0.3rem 0; color: #c5ced8; }
.site-footer strong {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.site-footer ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: #ffd0d2; }
.tiny {
  margin-top: 1.4rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa6b3;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .brand-name span { display: none; }
  .club-wall,
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-grid,
  .rep-photos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - 78px);
    background: white;
    padding: 0.4rem 1rem 2rem;
    overflow: auto;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a,
  .site-nav .sub-toggle {
    width: 100%;
    justify-content: flex-start;
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: 0.02em;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }
  .has-sub .sub {
    position: static;
    display: none;
    border: 0;
    padding: 0.2rem 0 0.4rem;
  }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open .sub { display: flex; }
  .has-sub .sub a {
    font-family: var(--sans);
    font-size: 1.05rem;
    border: 0;
  }
  body.nav-open { overflow: hidden; }

  .result-card,
  .president,
  .office,
  .contact,
  .footer-grid,
  .pair { grid-template-columns: 1fr; }
  .hero-stage { min-height: calc(100svh - 7.8rem); align-items: flex-end; }
  .hero-copy { padding: 1.1rem 0 1.25rem; }
  .hero-stage h1 { font-size: 3.45rem; }
  .hero-stage .lede { font-size: 1rem; }
  .result { margin-top: 0; }
  .result-card > img { min-height: 240px; }
  .member-list { grid-template-columns: 1fr; }
  .president div,
  .office,
  .contact { padding: 0.8rem; }
  .president img { height: 360px; }
  .ledger a,
  .archive li a { grid-template-columns: 1fr; }
  .utility .wrap { flex-direction: column; gap: 0.15rem; }
}

@media (max-width: 640px) {
  .club-wall,
  .roster,
  .news-grid,
  .rep-photos,
  .entry ul:has(img) { grid-template-columns: 1fr 1fr; }
  .hero-stage h1 { font-size: 3.35rem; }
  .lightbox-nav { width: 44px; height: 56px; font-size: 2rem; }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-img { max-width: calc(100vw - 1.2rem); max-height: calc(100dvh - 7rem); }
}

.lightbox-source { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 16, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox-stage { margin: 0; max-width: 100%; }
.lightbox-img {
  display: block;
  max-width: min(1080px, calc(100vw - 9rem));
  max-height: calc(100dvh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: #c4121a;
  color: white;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}
.lightbox-close {
  top: 0.8rem;
  right: 0.8rem;
  width: 46px;
  height: 46px;
  font-size: 2rem;
}
.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 2.6rem;
}
.lightbox-prev { left: 0.8rem; }
.lightbox-next { right: 0.8rem; }
.lightbox-close:hover,
.lightbox-nav:hover { background: #8e0d13; }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid white; outline-offset: 3px; }
