:root {
  --ink: #07192b;
  --navy: #08294a;
  --blue: #0d4c7c;
  --royal: #176ea4;
  --sky: #9bcce8;
  --mist: #e8f3f8;
  --ivory: #fbf9f3;
  --white: #ffffff;
  --gold: #d9b36c;
  --muted: #617181;
  --line: rgba(8, 41, 74, .15);
  --shadow: 0 20px 60px rgba(1, 28, 52, .14);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--ivory); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: white; color: var(--navy); transform: translateY(-140%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; height: 92px; z-index: 80; display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 24px; align-items: center; padding: 14px 4vw; background: linear-gradient(180deg, rgba(3, 24, 44, .95), rgba(3, 24, 44, .82)); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); transition: .25s ease; }
.site-header.scrolled { height: 76px; background: rgba(4, 31, 56, .98); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.brand img { width: 100%; max-width: 285px; max-height: 66px; object-fit: contain; }
.header-home { display: none; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: white; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.header-home:hover { border-color: var(--gold); color: var(--gold); }
.desktop-nav { display: flex; justify-content: flex-end; gap: clamp(12px, 1.4vw, 26px); }
.desktop-nav a { color: rgba(255,255,255,.78); font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.menu-button, .mobile-nav { display: none; }
.connectivity-status { position: absolute; right: 4vw; bottom: 3px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.connectivity-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--gold); }
.connectivity-status[data-status="live"]::before { background: #70d6a0; }
.connectivity-status[data-status="fallback"] { color: #ffe0a3; }
.connectivity-status[data-status="fallback"]::before { background: #f0b34b; }
.social-row [hidden] { display: none; }
main { min-height: 70vh; overflow: hidden; }

.page-hero { min-height: 54vh; display: flex; align-items: flex-end; padding: 160px 6vw 70px; position: relative; color: white; background: var(--navy); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image, linear-gradient(135deg,#123,#456)) center/cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,28,51,.96) 0%, rgba(4,28,51,.67) 50%, rgba(4,28,51,.2)); }
.page-hero .inner { width: min(1180px,100%); margin: 0 auto; }
.page-hero h1 { max-width: 850px; margin: 8px 0 18px; font-family: var(--serif); font-size: clamp(46px,7vw,92px); line-height: .98; font-weight: 400; letter-spacing: -.04em; }
.page-hero p:not(.eyebrow) { max-width: 700px; margin: 0; font-size: clamp(17px,2vw,22px); color: rgba(255,255,255,.82); }
.eyebrow { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 800; }
.shell { width: min(1180px, calc(100% - 48px)); margin: auto; }
.section { padding: clamp(70px,9vw,120px) 0; }
.section-blue { background: var(--navy); color: white; }
.section-mist { background: var(--mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head h2, .display { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px,5vw,66px); line-height: 1.03; letter-spacing: -.035em; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.section-blue .section-head p { color: rgba(255,255,255,.7); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; background: var(--royal); color: white; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--blue); box-shadow: 0 10px 24px rgba(4,58,99,.2); }
.button:disabled { cursor: wait; opacity: .58; transform: none; box-shadow: none; }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: #eccb8b; }
.button-outline { border-color: currentColor; background: transparent; }
.button-light { background: white; color: var(--navy); }
.button-danger { background: #9a3030; color: white; }
.button-danger:hover { background: #742222; }
.button-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--royal); font-weight: 800; }
.text-link::after { content: " →"; }

.home-hero { min-height: 92vh; position: relative; padding: 132px 4vw 58px; overflow: hidden; color: white; isolation: isolate; background: #041d34; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(135deg,rgba(18,123,179,.16),transparent 42%); }
.hero-glow { position: absolute; z-index: -1; width: 44vw; height: 44vw; left: -12vw; bottom: -20vw; background: radial-gradient(circle, rgba(26,137,198,.5), transparent 65%); }
.home-hero-layout { width: min(1450px,100%); min-height: calc(92vh - 190px); margin: auto; display: grid; grid-template-columns: minmax(440px,.88fr) minmax(0,1.12fr); gap: clamp(35px,5vw,78px); align-items: center; }
.home-hero-inner { min-width: 0; }
.home-hero-photo { min-width: 0; height: min(680px,calc(92vh - 150px)); min-height: 480px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: #03182c; box-shadow: 0 28px 75px rgba(0,0,0,.32); }
.home-hero-photo img { width: 100%; height: 100%; display: block; filter: saturate(.94) contrast(1.03); }
.home-hero-photo.is-loading { min-height: 480px; }
.home-hero-photo-placeholder { display: block; width: 100%; height: 100%; min-height: inherit; background: #03182c; }
.home-hero-photo.fit-contain { height: auto; min-height: 0; }
.home-hero-photo.fit-contain.is-loading { height: min(680px,calc(92vh - 150px)); min-height: 480px; }
.home-hero-photo.fit-contain img { height: auto; }
.hero-logo { width: min(640px,80vw); margin-bottom: 24px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.22)); }
.home-hero h1 { max-width: 640px; margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(43px,5.6vw,78px); line-height: .98; letter-spacing: -.04em; }
.home-hero h1 span { display: block; }
.home-hero .lede { max-width: 560px; font-size: clamp(17px,1.7vw,21px); color: rgba(255,255,255,.82); }
.home-hero .button-row { margin-top: 32px; }
.experience-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px,8vw,110px); align-items: center; }
.experience-copy .display { margin-bottom: 24px; }
.experience-copy > p { color: var(--muted); font-size: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 35px; border-top: 1px solid var(--line); padding-top: 25px; }
.stat { min-width: 0; padding: 0 clamp(6px,1.5vw,18px); text-align: center; }
.stat strong { display: block; font-family: var(--serif); color: var(--blue); font-size: 36px; font-weight: 400; }
.stat span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .1em; }
.photo-stack { position: relative; min-height: 560px; }
.photo-stack .main-photo { width: 85%; height: 500px; object-fit: cover; margin-left: auto; border-radius: 50% 50% 12px 12px; box-shadow: var(--shadow); }
.photo-stack .inset-photo { position: absolute; left: 0; bottom: 0; width: 44%; height: 240px; object-fit: cover; border: 9px solid var(--ivory); border-radius: 12px; box-shadow: var(--shadow); }

.show-feature { display: grid; grid-template-columns: 150px 1fr auto; gap: 30px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.17); }
.show-feature:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.date-block strong { display: block; font-family: var(--serif); font-size: 52px; line-height: .9; color: var(--sky); font-weight: 400; }
.date-block span { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.65); }
.show-feature h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.show-feature p { margin: 0; color: rgba(255,255,255,.67); }
.show-feature .status, .event-card .status { display: inline-flex; padding: 5px 9px; margin-left: 8px; border-radius: 99px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: var(--navy); }
.show-feature .status.sold, .event-card .status.sold { background: #dae1e7; color: #435263; }

.testimonial-stage { min-height: 340px; padding: 55px clamp(24px,7vw,90px); position: relative; display: grid; place-items: center; text-align: center; color: white; border-radius: 36px; background: linear-gradient(135deg,var(--blue),#082e55); overflow: hidden; }
.testimonial-stage::before { content: "“"; position: absolute; top: -55px; left: 20px; font-family: var(--serif); font-size: 260px; color: rgba(255,255,255,.06); }
.testimonial-quote { max-width: 860px; margin: 0 auto 24px; font-family: var(--serif); font-size: clamp(27px,4vw,46px); line-height: 1.2; }
.testimonial-byline { color: var(--sky); font-weight: 700; }
.testimonial-controls { position: absolute; bottom: 22px; display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; }
.dot.active { width: 30px; border-radius: 99px; background: var(--gold); }

.media-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 270px 270px; gap: 14px; }
.media-tile { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 220px; cursor: pointer; border: 0; padding: 0; background: var(--navy); color: white; text-align: left; }
.media-tile:first-child { grid-row: span 2; }
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.media-tile:hover img { transform: scale(1.04); }
.media-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(2,23,42,.8),transparent 55%); }
.tile-label { position: absolute; z-index: 2; left: 22px; bottom: 19px; font-weight: 700; }
.play { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: 10px; background: white; color: var(--navy); border-radius: 50%; }
.cta-band { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding: clamp(50px,7vw,90px); background: linear-gradient(120deg,#0d4e7e,#092c50); color: white; border-radius: 30px; }
.cta-band h2 { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(38px,5vw,68px); line-height: 1; font-weight: 400; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 650px; }
.cta-band .button-row { justify-content: flex-end; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,100px); align-items: center; }
.split img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; max-height: 650px; object-fit: cover; }
.prose h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(36px,4.5vw,58px); font-weight: 400; line-height: 1.05; }
.prose h3 { color: var(--blue); margin: 32px 0 8px; }
.prose p { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.check-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.check-card strong { display: block; color: var(--blue); margin-bottom: 6px; }

.member-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.member-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-photo { aspect-ratio: .83; background: linear-gradient(135deg,#bad9e8,#3a7ca5); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo.draft { display: grid; place-items: center; color: rgba(255,255,255,.8); font-family: var(--serif); font-size: 70px; }
.member-card .copy { padding: 21px; }
.member-card h3 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.member-role { margin: 3px 0 13px; color: var(--royal); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.member-card .bio { margin: 0; color: var(--muted); font-size: 14px; }
.draft-pill { display: inline-flex; margin-top: 13px; padding: 4px 9px; border-radius: 99px; background: var(--mist); color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 40px; padding: 18px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.filter-bar input, .filter-bar select { min-height: 45px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); color: var(--ink); }
.filter-bar input { flex: 1; min-width: 230px; }
.filter-bar select { min-width: 150px; }
.calendar-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.calendar-section-head h2 { margin: 3px 0 0; font-family: var(--serif); font-size: clamp(36px,5vw,58px); font-weight: 400; color: var(--blue); }
.calendar-section-head > p { max-width: 490px; margin: 0 0 7px; color: var(--muted); }
.event-month { display: flex; align-items: center; gap: 18px; margin: 50px 0 15px; font-family: var(--serif); font-size: 35px; font-weight: 400; color: var(--blue); }
.event-month::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg,var(--gold),var(--line)); }
.event-card { display: grid; grid-template-columns: 100px 1.2fr .8fr auto; gap: 24px; align-items: center; padding: 25px 0; border-top: 1px solid var(--line); }
.event-card:last-child { border-bottom: 1px solid var(--line); }
.event-card .event-date strong { display: block; font-family: var(--serif); font-size: 42px; color: var(--blue); line-height: 1; font-weight: 400; }
.event-card .event-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.event-card h3 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.event-card p { margin: 3px 0; color: var(--muted); font-size: 14px; }
.event-links { display: flex; flex-direction: column; gap: 4px; }
.event-links a { color: var(--royal); font-size: 13px; font-weight: 700; }
.event-empty { padding: 70px 20px; text-align: center; background: white; border: 1px dashed var(--line); border-radius: var(--radius); }
.past-performances { margin-top: 90px; padding-top: 64px; border-top: 1px solid var(--line); }
.past-performances.past-only { margin-top: 0; padding-top: 0; border-top: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery-item { grid-column: span 4; grid-row: span 2; position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.short { grid-row: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; inset: auto 18px 16px; color: white; text-align: left; z-index: 2; font-weight: 700; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,31,55,.75),transparent 50%); }
.video-card { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--navy); color: white; border-radius: 24px; overflow: hidden; }
.video-poster { position: relative; min-height: 430px; border: 0; padding: 0; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-poster .play-large { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 80px; height: 80px; background: white; color: var(--blue); border-radius: 50%; font-size: 23px; }
.video-copy { padding: clamp(35px,6vw,75px); display: flex; flex-direction: column; justify-content: center; }
.video-copy h2 { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1.05; margin: 0 0 18px; }
.video-copy p { color: rgba(255,255,255,.72); }

.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quote-card { padding: 31px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { color: var(--gold); letter-spacing: .15em; }
.quote-card blockquote { margin: 18px 0 23px; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.quote-card cite { font-style: normal; color: var(--muted); font-size: 13px; }
.quote-card cite strong { display: block; color: var(--blue); }
.fan-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.fan-gallery-empty { grid-column: 1/-1; }
.fan-photo-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 35px rgba(8,41,74,.08); }
.fan-photo-card > button { display: block; width: 100%; height: 280px; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; }
.fan-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fan-photo-card button:hover img { transform: scale(1.035); }
.fan-photo-card > div { padding: 20px; }
.fan-photo-card p { margin: 5px 0; color: var(--muted); }
.fan-photo-card span { color: var(--blue); font-size: 12px; font-weight: 800; }

.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px,7vw,90px); align-items: start; }
.contact-panel { padding: 36px; background: var(--navy); color: white; border-radius: var(--radius); }
.contact-panel h2 { font-family: var(--serif); font-size: 39px; font-weight: 400; line-height: 1.08; margin: 0 0 18px; }
.contact-panel p { color: rgba(255,255,255,.68); }
.contact-panel img { width: 170px; border-radius: 10px; margin: 30px 0; }
.contact-panel a { color: var(--sky); font-weight: 700; }
.form-card { padding: clamp(25px,5vw,50px); border-radius: var(--radius); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 40px; font-weight: 400; }
.form-card > p { margin: 0 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--navy); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #bdcad3; border-radius: 9px; background: var(--ivory); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-actions { display: flex; align-items: center; gap: 15px; margin-top: 22px; }
.form-note { color: var(--muted); font-size: 12px; }
.form-disclosure { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(212,169,76,.09); color: var(--muted); font-size: 13px; line-height: 1.55; }
.form-disclosure a { color: var(--royal); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.field.consent-field label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; text-transform: none; letter-spacing: normal; }
.field.consent-field input[type="checkbox"] { width: 24px; height: 24px; margin: 0; padding: 0; accent-color: var(--royal); }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.photo-source-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.photo-source-divider::before, .photo-source-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.photo-source-divider span { flex: 0 0 auto; }
.member-photo-editor { display: grid; gap: 14px; }
.member-photo-preview { width: min(220px,100%); aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.member-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-photo-upload { padding: 14px; border: 1px dashed rgba(8,41,74,.35); border-radius: 8px; background: var(--mist); cursor: pointer; }
.member-photo-upload input { padding: 7px 0 0; border: 0; background: transparent; }
.member-photo-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 12px; }
.fan-upload-preview { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.fan-upload-preview[hidden] { display: none; }
.fan-upload-preview img { width: 120px; height: 90px; border-radius: 8px; object-fit: cover; }
.fan-upload-preview p { margin: 0; color: var(--muted); font-size: 13px; }
.photo-terms { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.photo-terms summary { padding: 15px 17px; color: var(--blue); font-weight: 800; cursor: pointer; }
.photo-terms > div { padding: 0 17px 16px; }
.photo-terms p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.photo-terms a { color: var(--royal); font-weight: 800; }
.format-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 35px; }
.format-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.format-card .num { color: var(--sky); font-family: var(--serif); font-size: 45px; line-height: 1; }
.format-card h3 { margin: 14px 0 7px; color: var(--blue); }
.format-card p { margin: 0; color: var(--muted); font-size: 14px; }

.admin-page { min-height: 100vh; padding-top: 92px; background: #eef4f7; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 92px); }
.admin-sidebar { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 92px); padding: 30px 18px; overflow-y: auto; background: #061f38; color: white; }
.admin-sidebar .admin-title { padding: 0 12px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-title strong { display: block; font-family: var(--serif); font-size: 27px; }
.admin-title span { color: var(--sky); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.admin-nav { display: grid; gap: 5px; margin-top: 20px; }
.admin-nav button { padding: 11px 13px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.7); text-align: left; cursor: pointer; }
.admin-nav button:hover, .admin-nav button.active { background: rgba(255,255,255,.1); color: white; }
.admin-nav button[data-admin-tab="fan-photos"] { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.14); border-radius: 0 0 8px 8px; }
.admin-main { min-width: 0; padding: clamp(25px,4vw,55px); }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.admin-top h1 { margin: 0; font-family: var(--serif); font-size: 45px; font-weight: 400; }
.admin-top p { margin: 2px 0 0; color: var(--muted); }
.preview-badge { padding: 7px 11px; border-radius: 99px; background: #fff1d6; color: #7f5a14; font-size: 11px; font-weight: 800; }
.preview-badge.live { background: #dff5e8; color: #24633d; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.metric { padding: 23px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.metric span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.metric strong { display: block; font-family: var(--serif); font-size: 42px; font-weight: 400; color: var(--blue); line-height: 1.2; }
.admin-card { padding: 25px; border-radius: 14px; background: white; border: 1px solid var(--line); margin-bottom: 20px; overflow: auto; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.admin-card h2 { margin: 0; font-size: 18px; color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.admin-show-tools { display: grid; grid-template-columns: minmax(260px,1fr) minmax(190px,.35fr); gap: 14px; margin-bottom: 18px; }
.admin-show-tools label { display: grid; gap: 6px; color: var(--navy); font-size: 12px; font-weight: 800; }
.admin-show-tools input, .admin-show-tools select { width: 100%; padding: 11px 12px; border: 1px solid #bdcad3; border-radius: 8px; background: white; color: var(--ink); }
.admin-show-empty { margin-top: 18px; }
.admin-table th, .admin-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.admin-table th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.admin-table button { border: 0; background: transparent; color: var(--royal); font-weight: 700; cursor: pointer; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.admin-photo-review { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.admin-photo-review img { width: 180px; height: 150px; border-radius: 9px; object-fit: cover; background: var(--mist); }
.photo-unavailable { width: 180px; height: 150px; display: grid; place-items: center; padding: 15px; border-radius: 9px; background: var(--mist); color: var(--muted); font-size: 12px; text-align: center; }
.admin-photo-review h3 { margin: 5px 0 8px; color: var(--navy); }
.admin-photo-review p { margin: 5px 0; color: var(--muted); font-size: 13px; }
.admin-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.admin-form .full { grid-column: 1/-1; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 11px; border: 1px solid #c3d0d8; border-radius: 8px; }
.admin-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-section-title { margin: 14px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--navy); font-size: 15px; }
.homepage-media-editor { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(260px,1.3fr); gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.homepage-media-preview { overflow: hidden; aspect-ratio: 16/9; border-radius: 9px; background: var(--navy); }
.homepage-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.homepage-media-editor > div:last-child { display: grid; align-content: center; gap: 10px; }
.homepage-media-editor .logo-upload { padding: 10px; border: 1px dashed rgba(8,41,74,.3); border-radius: 8px; background: white; }
.admin-brand-details { border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.admin-brand-details > summary { padding: 16px 18px; color: var(--navy); font-weight: 800; cursor: pointer; }
.admin-brand-details .logo-manager { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; background: white; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-actions span { color: var(--muted); font-size: 12px; }
.logo-manager { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.logo-manager > div { display: grid; align-content: start; gap: 10px; }
.logo-manager img { width: 100%; height: 120px; padding: 16px; object-fit: contain; border-radius: 9px; background: var(--navy); }
.logo-manager img.light-preview { background: white; border: 1px solid var(--line); }
.logo-manager .admin-field-title { margin: 0; color: var(--navy); font-size: 12px; font-weight: 800; }
.logo-manager .logo-upload { padding: 11px; border: 1px dashed rgba(8,41,74,.3); border-radius: 8px; background: white; cursor: pointer; }
.logo-manager .logo-upload input { padding: 4px 0 0; border: 0; font-size: 11px; }
.logo-upload-status { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: 11px; }
.hero-photo-manager { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(280px,1.2fr); gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.hero-photo-preview { overflow: hidden; aspect-ratio: 16/9; border-radius: 8px; background: var(--navy); }
.hero-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-controls { display: grid; align-content: start; gap: 12px; }
.hero-photo-save { justify-self: start; }
.hero-photo-controls .logo-upload-status { grid-column: auto; }
.timezone-field { display: grid; gap: 8px; }
.timezone-tools { display: flex; align-items: center; gap: 10px; }
.timezone-tools span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.timezone-tools .button { flex: 0 0 auto; }
.timezone-tools .button-outline { border-color: var(--blue); color: var(--blue); }
.admin-notice { padding: 15px 18px; margin-bottom: 20px; border-left: 4px solid var(--royal); background: #e5f2fa; color: #234760; font-size: 13px; }
.content-json { width: 100%; min-height: 250px; padding: 14px; font: 12px/1.5 monospace; border: 1px solid var(--line); border-radius: 8px; }
.row-actions { display: flex; gap: 10px; }
.admin-logout { width: calc(100% - 24px); margin: 24px 12px 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: transparent; color: rgba(255,255,255,.78); cursor: pointer; text-align: left; }
.admin-logout:hover { border-color: var(--gold); color: white; }
.loading-state, .error-state { min-height: 140px; display: grid; place-items: center; color: var(--muted); }
.error-state { color: #8b2f2f; }
.admin-main, .admin-main button, .admin-main input, .admin-main select, .admin-main textarea { font-variant-numeric: tabular-nums lining-nums; }
.analytics-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.analytics-toolbar .eyebrow { margin-bottom: 4px; color: var(--royal); }
.analytics-toolbar h2 { margin: 0; color: var(--navy); font-size: clamp(22px,2.2vw,30px); }
.analytics-toolbar p:not(.eyebrow) { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.analytics-controls { display: flex; align-items: center; gap: 10px; }
.range-selector { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: white; box-shadow: 0 4px 15px rgba(8,41,74,.05); }
.range-selector button { min-width: 43px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.range-selector button:hover { color: var(--blue); }
.range-selector button.active { background: var(--navy); color: white; }
.analytics-refresh { min-height: 42px; border-color: var(--blue); color: var(--blue); }
.analytics-alert, .analytics-empty { display: flex; gap: 8px; padding: 13px 16px; margin-bottom: 18px; border-radius: 10px; font-size: 13px; }
.analytics-alert { border: 1px solid #dfb9b9; background: #fff1f1; color: #7c2828; }
.analytics-empty { border: 1px solid #c9dfeb; background: #eaf5fa; color: #31566e; }
.analytics-metrics { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.analytics-kpi { min-width: 0; padding: 19px; box-shadow: 0 8px 24px rgba(8,41,74,.045); }
.analytics-kpi strong { margin: 3px 0 8px; font-family: var(--sans); font-size: clamp(27px,3vw,38px); font-weight: 700; letter-spacing: -.04em; }
.metric-delta { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.metric-delta.up { background: #e2f3e8; color: #23623b; }
.metric-delta.down { background: #fbe9e9; color: #8b3030; }
.metric-delta.flat { background: var(--mist); color: var(--muted); }
.analytics-trend-card { overflow: hidden; }
.analytics-loading { color: var(--royal); font-size: 12px; font-weight: 800; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: -2px 0 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.trend-legend span { display: inline-flex; align-items: center; gap: 7px; }
.trend-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.trend-legend .visitors::before { border-radius: 50%; background: repeating-linear-gradient(135deg,var(--royal) 0 2px,var(--sky) 2px 4px); }
.trend-legend .submissions::before { width: 11px; height: 7px; border-radius: 0; background: var(--gold); }
.daily-trend { display: flex; align-items: stretch; gap: clamp(1px,.3vw,4px); min-width: 0; height: 230px; padding-top: 10px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top,transparent 0 54px,rgba(8,41,74,.07) 54px 55px); }
.trend-day { display: grid; grid-template-rows: 190px 28px; flex: 1 1 0; min-width: 0; }
.trend-bars { display: flex; align-items: end; justify-content: center; gap: clamp(1px,.14vw,3px); min-width: 0; border-bottom: 1px solid rgba(8,41,74,.08); }
.trend-bars i { display: block; flex: 1 1 0; min-width: 1px; max-width: 8px; border-radius: 3px 3px 0 0; background: var(--blue); }
.trend-bars i.visitors { background: repeating-linear-gradient(135deg,var(--royal) 0 3px,var(--sky) 3px 6px); }
.trend-bars i.submissions { background: var(--gold); }
.trend-day > span { overflow: visible; color: var(--muted); font-size: 10px; line-height: 28px; white-space: nowrap; }
.analytics-chart-empty { min-height: 180px; display: grid; place-content: center; gap: 3px; color: var(--muted); text-align: center; }
.analytics-chart-empty strong { color: var(--navy); }
.analytics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.analytics-grid-secondary { grid-template-columns: repeat(4,minmax(0,1fr)); }
.analytics-grid .admin-card { min-width: 0; overflow: hidden; }
.analytics-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.analytics-panel-head > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.analytics-list { display: grid; }
.analytics-list-head, .analytics-list-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; min-height: 39px; border-bottom: 1px solid var(--line); }
.analytics-list-head { min-height: 29px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.analytics-list-row > span { overflow: hidden; color: #314a5f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.analytics-list-row strong { color: var(--blue); font-size: 13px; }
.submission-activity { display: grid; }
.submission-activity > div { display: grid; grid-template-columns: minmax(70px,.65fr) minmax(90px,1fr); gap: 1px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.submission-type { grid-row: span 2; align-self: center; overflow: hidden; color: var(--royal); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.submission-activity strong { overflow: hidden; color: var(--navy); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.submission-activity small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.panel-empty { min-height: 120px; display: grid; place-content: center; gap: 2px; color: var(--muted); font-size: 12px; text-align: center; }
.panel-empty strong { color: var(--navy); font-size: 13px; }
.compact-table { min-width: 0; margin-top: 15px; }
.admin-login { min-height: calc(100vh - 92px); display: grid; place-items: center; padding: 40px 20px; background: linear-gradient(145deg,#051e37,#0c4d7e); }
.admin-login-card { width: min(460px,100%); padding: 42px; border-radius: 20px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.admin-login-card img { width: 260px; margin: 0 auto 30px; }
.admin-login-card h1 { margin: 0 0 8px; font-family: var(--serif); font-size: 43px; font-weight: 400; }
.admin-login-card > p { margin: 0 0 26px; color: var(--muted); }
.admin-login-card .field { margin-bottom: 18px; }
.login-error { min-height: 22px; margin: 10px 0 0; color: #a33131; font-size: 13px; }
.security-status { display: flex; align-items: flex-start; gap: 15px; padding: 18px; margin-bottom: 25px; border-radius: 12px; background: var(--mist); }
.security-status strong { display: block; color: var(--blue); }
.security-status p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.legal { max-width: 820px; margin: auto; padding: 150px 24px 100px; }
.legal h1 { font-family: var(--serif); font-size: 60px; font-weight: 400; }
.legal h2 { color: var(--blue); margin-top: 35px; }
.legal p, .legal li { color: var(--muted); }
.modal { width: min(900px,calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; border-radius: 18px; overflow: auto; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.modal::backdrop { background: rgba(1,18,33,.83); backdrop-filter: blur(5px); }
.modal-close { position: absolute; z-index: 5; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: white; color: var(--navy); font-size: 27px; cursor: pointer; }
.modal iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.modal.modal-video { width: min(900px,calc(100vw - 30px),calc(90vh * 16 / 9)); width: min(900px,calc(100vw - 30px),calc(90dvh * 16 / 9)); background: #000; overflow: hidden; }
.modal-video [data-modal-content] { position: relative; width: 100%; aspect-ratio: 16/9; margin: 0; padding: 0; background: #000; line-height: 0; }
.modal-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: #000; }
.modal-body { padding: 35px; }
.modal.modal-image { background: var(--ink); overflow: hidden; max-height: 90vh; max-height: 90dvh; }
.modal-image [data-modal-content] { background: var(--ink); line-height: 0; }
.modal-image [data-modal-content] > img { display: block; width: 100%; height: auto; max-height: 90vh; max-height: 90dvh; object-fit: contain; border: 0; margin: 0; padding: 0; }
.photo-credit { position: static; margin: 8px 0 0; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .015em; color: var(--muted); overflow-wrap: anywhere; }
.credited-photo { margin: 0; min-width: 0; }
.credited-home-photo .photo-credit, .credited-video-poster .photo-credit { color: #c1d0de; }
.photo-credit-band { margin: 0; padding: 10px max(24px,calc((100% - 1240px)/2)); background: var(--ivory); }
.member-card > .photo-credit { padding: 0 21px; }
.credited-media-tile, .credited-video-poster { display: flex; flex-direction: column; min-height: 0; }
.credited-media-tile:first-child { grid-row: span 2; }
.credited-media-tile > .media-tile { flex: 1; min-height: 0; width: 100%; }
.credited-video-poster > .video-poster { flex: 1; width: 100%; }
.credited-video-poster > .photo-credit { padding: 0 16px 12px; }
.photo-credit-editor { margin: 16px 0; }
.photo-credit-editor .form-note { display: block; font-weight: 400; margin-top: 6px; }
.modal-image [data-modal-content] { display: flex; flex-direction: column; max-height: 90vh; max-height: 90dvh; }
.modal-image [data-modal-content] > img { min-height: 0; flex: 0 1 auto; }
.modal-image .photo-credit { flex: 0 0 auto; margin: 0; padding: 12px 20px; color: #d6e2ee; background: var(--ink); }
@media (max-width: 800px) {
  .credited-home-photo { order: -1; }
  .credited-media-tile:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .credited-media-tile:first-child { grid-column: auto; }
}
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; max-width: 380px; padding: 15px 19px; border-radius: 10px; background: var(--navy); color: white; box-shadow: var(--shadow); transform: translateY(140%); opacity: 0; transition: .3s; }
.toast.show { transform: none; opacity: 1; }
.cookie-banner { position: fixed; z-index: 100; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 25px; width: min(850px,calc(100% - 40px)); margin: auto; padding: 17px 20px; border-radius: 13px; background: var(--navy); color: white; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { display: inline; margin: 0 0 0 8px; color: rgba(255,255,255,.7); font-size: 13px; }
.site-footer { padding: 70px 5vw 24px; background: #041a30; color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr .8fr; gap: 50px; max-width: 1280px; margin: auto; }
.footer-brand { display: block; align-self: start; width: 300px; max-width: 100%; height: auto; padding: 0; border: 0; appearance: none; background: transparent !important; cursor: default; text-align: left; }
.footer-brand img { display: block; width: 100%; height: auto; background: transparent; }
.footer-label { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; }
.footer-agent-logo { width: 86px; aspect-ratio: 1.25; object-fit: cover; object-position: center; margin: 12px 0; border-radius: 8px; }
.footer-main nav { display: grid; gap: 6px; }
.footer-main p:not(.footer-label), .footer-main a { color: rgba(255,255,255,.68); font-size: 13px; }
.footer-main a:hover { color: white; }
.social-row { display: flex; gap: 8px; margin-bottom: 18px; }
.social-row a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; font-weight: 800; }
.footer-legal { display: flex; justify-content: space-between; gap: 30px; max-width: 1280px; margin: 55px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 11px; }
.footer-legal nav { display: flex; gap: 16px; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-home { display: inline-flex; }
  .site-header { grid-template-columns: minmax(200px,300px) 1fr; }
  .menu-button { display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; }
  .menu-button span { width: 18px; height: 1px; background: white; }
  .mobile-nav { position: fixed; inset: 92px 0 auto; display: none; padding: 25px 5vw 35px; background: #041f39; border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-nav.open { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .mobile-nav a { padding: 12px 0; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
  .member-grid { grid-template-columns: repeat(3,1fr); }
  .event-card { grid-template-columns: 85px 1fr; }
  .event-links { grid-column: 2; }
  .event-card > .button { grid-column: 2; justify-self: start; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
  .analytics-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .analytics-grid-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 800px) {
  .site-header { height: 76px; padding: 10px 20px; grid-template-columns: minmax(140px,1fr) auto auto; gap: 10px; background: #041f39; }
  .site-header.scrolled { height: 68px; }
  .mobile-nav { top: 76px; }
  .brand img { max-height: 54px; }
  .shell { width: min(100% - 32px,1180px); }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-head p, .section-head .button { margin-top: 18px; }
  .home-hero { min-height: 88vh; padding: 108px 20px 55px; }
  .home-hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 34px; }
  .home-hero-photo { order: -1; width: 100%; height: auto; min-height: 0; aspect-ratio: 16/9; }
  .home-hero-photo.fit-contain { aspect-ratio: auto; }
  .hero-logo { width: min(540px,92vw); }
  .experience-grid, .split, .form-layout, .video-card, .cta-band { grid-template-columns: 1fr; }
  .photo-stack { min-height: 430px; }
  .photo-stack .main-photo { height: 390px; }
  .photo-stack .inset-photo { height: 170px; }
  .show-feature { grid-template-columns: 80px 1fr; gap: 16px; }
  .show-feature .button { grid-column: 2; justify-self: start; }
  .date-block strong { font-size: 42px; }
  .media-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 210px; }
  .media-tile:first-child { grid-column: span 2; grid-row: auto; }
  .cta-band .button-row { justify-content: flex-start; }
  .member-grid { grid-template-columns: repeat(2,1fr); }
  .quote-grid, .format-grid { grid-template-columns: 1fr; }
  .fan-gallery-grid, .admin-photo-grid { grid-template-columns: 1fr; }
  .gallery-item { grid-column: span 6; }
  .gallery-item.wide { grid-column: span 12; }
  .calendar-section-head { display: block; }
  .calendar-section-head > p { margin-top: 12px; }
  .event-card { grid-template-columns: 75px 1fr; }
  .event-card > .button { grid-column: 2; justify-self: start; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell, .admin-sidebar, .admin-main, .admin-card, .admin-form, .logo-manager { min-width: 0; max-width: 100%; }
  .admin-sidebar { position: static; max-height: none; padding: 15px; overflow: visible; }
  .admin-sidebar .admin-title { border: 0; padding: 0 5px 10px; }
  .admin-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; min-width: 0; max-width: 100%; margin: 0; }
  .admin-nav button { min-width: 0; padding: 10px 6px; white-space: normal; text-align: center; font-size: 11px; }
  .admin-nav button[data-admin-tab="fan-photos"] { margin-top: 0; border-top: 0; border-radius: 8px; }
  .admin-logout { width: auto; margin: 10px 5px 0; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .analytics-toolbar { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-brand img { width: 250px; }
  .footer-legal { flex-direction: column; gap: 10px; }
}

@media (max-width: 520px) {
  .mobile-nav.open { grid-template-columns: 1fr; max-height: calc(100vh - 76px); overflow: auto; }
  .admin-main { padding: 20px 12px; }
  .admin-card { padding: 18px 14px; }
  .admin-form input, .admin-form select, .admin-form textarea, .logo-upload input { min-width: 0; max-width: 100%; }
  .logo-manager { padding: 12px; }
  .admin-top h1 { font-size: 38px; }
  .home-hero h1 { font-size: 44px; }
  .home-hero-photo { border-radius: 12px; }
  .home-hero .button { width: 100%; }
  .stat-row { gap: 8px; }
  .stat strong { font-size: 29px; }
  .media-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3,230px); }
  .media-tile:first-child { grid-column: auto; }
  .member-grid { grid-template-columns: 1fr; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery-item, .gallery-item.wide { grid-column: auto; grid-row: auto; }
  .form-grid, .admin-form, .check-grid { grid-template-columns: 1fr; }
  .field.full, .admin-form .full { grid-column: auto; }
  .homepage-media-editor { grid-template-columns: 1fr; }
  .admin-show-tools { grid-template-columns: 1fr; }
  .logo-manager { grid-template-columns: 1fr; }
  .logo-manager.full, .logo-upload-status { grid-column: auto; }
  .hero-photo-manager { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .fan-upload-preview, .admin-photo-review { grid-template-columns: 1fr; }
  .fan-upload-preview img, .admin-photo-review img, .photo-unavailable { width: 100%; height: 210px; }
  .timezone-tools { align-items: flex-start; flex-direction: column; }
  .past-performances { margin-top: 65px; padding-top: 48px; }
  .event-month { font-size: 29px; }
  .event-card { gap: 15px; }
  .event-card .event-date strong { font-size: 34px; }
  .metric-grid { grid-template-columns: 1fr; }
  .analytics-controls { width: 100%; align-items: stretch; flex-direction: column; }
  .range-selector { display: grid; grid-template-columns: repeat(4,1fr); width: 100%; }
  .range-selector button { min-width: 0; }
  .analytics-refresh { width: 100%; }
  .analytics-empty { flex-direction: column; }
  .analytics-kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  .analytics-kpi strong { grid-row: span 2; margin: 0; }
  .daily-trend { height: 205px; }
  .trend-day { grid-template-rows: 165px 28px; }
  .trend-day > span { font-size: 9px; transform: rotate(-42deg); transform-origin: left center; }
  .row-actions, .form-actions { align-items: stretch; flex-direction: column; }
  .row-actions .button, .form-actions .button { width: 100%; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .cookie-banner { align-items: flex-start; flex-direction: column; }
  .cookie-banner p { display: block; margin: 4px 0 0; }
  .connectivity-status { left: 0; right: 0; bottom: -25px; padding: 4px 12px; background: rgba(4,31,57,.96); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.photo-history-button{margin:8px 0 16px}
.photo-history-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-height:88vh;padding:28px;border:1px solid #637281;border-radius:12px;background:#101d2c;color:#f5f1e9;overflow-y:auto}
.photo-history-dialog::backdrop{background:rgba(0,0,0,.75)}
.photo-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.photo-history-heading h2{font-size:24px;margin:0 0 16px;line-height:1.25}
.photo-history-dialog p{line-height:1.6;overflow-wrap:anywhere}
.photo-history-dialog .form-note{color:#bfccd7}
.photo-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.photo-history-card{min-width:0;border:1px solid #637281;padding:12px;border-radius:8px}
.photo-history-card img{display:block;width:100%;height:160px;object-fit:contain;background:#09121e}
.photo-history-card p{font-size:13px}
.photo-history-card .button{width:100%;white-space:normal}
@media(max-width:600px){.photo-history-dialog{padding:18px}.photo-history-grid{grid-template-columns:1fr}.photo-history-heading h2{font-size:20px}.photo-history-card img{height:190px}}
