:root {
  --blue: #006395;
  --blue-deep: #00486e;
  --blue-tint: #e6f0f5;
  --key: #8a8c8e;
  --ink: #1f1d1c;
  --ink-2: #4a4744;
  --ink-3: #6e6a66;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --card: #fffdf9;
  --line: rgba(31, 29, 28, 0.12);
  --red: #a8322a;
  --ok: #2f6b3a;

  --f-display: 'League Gothic', 'Arial Narrow', sans-serif;
  --f-body: 'Archivo', system-ui, sans-serif;

  --t-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --t-2xl: clamp(2.5rem, 1.9rem + 2.8vw, 4rem);
  --t-hero: clamp(3.25rem, 2rem + 6vw, 6.75rem);

  --r: 10px;
  --r-lg: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(40, 30, 20, 0.06), 0 8px 24px rgba(40, 30, 20, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--t-base); line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1; letter-spacing: 0.01em; margin: 0 0 0.4em; text-transform: uppercase; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-family: var(--f-body); font-weight: 700; text-transform: none; font-size: var(--t-lg); letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-3); }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.eyebrow.light { color: #d6e7f0; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.opt { font-weight: 400; color: var(--ink-3); font-size: 0.85em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 var(--t-base)/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: var(--t-lg); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--t-sm); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Show-day banner */
.showday-banner { background: var(--red); color: #fff; font-size: var(--t-sm); }
.showday-banner .wrap { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding-block: 0.6rem; }
.banner-cta { color: #fff; font-weight: 700; margin-left: auto; background: rgba(0,0,0,0.2); padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none; }
.banner-cta:hover { background: rgba(0,0,0,0.35); color: #fff; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm); padding: 0.55rem 0.8rem; border-radius: 999px; transition: background 0.2s var(--ease); }
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.site-nav .nav-register { background: var(--red); color: #fff; }
.site-nav .nav-register:hover, .site-nav .nav-register[aria-current="page"] { background: #8b271f; color: #fff; }
.fb-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .brand img { height: 44px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.3s var(--ease), visibility 0.3s;
  }
  .site-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .site-nav a { padding: 0.85rem 0.75rem; font-size: var(--t-base); }
}

/* Road divider — the dashed centre line from the logo key */
.road-divider { height: 14px; background: var(--key) repeating-linear-gradient(90deg, transparent 0 40px, #fff 40px 80px) center / 100% 3px no-repeat; }
.road-divider.dark { background-color: #2b2927; background-image: repeating-linear-gradient(90deg, transparent 0 40px, #e9d9a8 40px 80px); }

/* Hero */
.hero { position: relative; min-height: min(84vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,0.15) 0%, rgba(10,14,20,0.2) 40%, rgba(10,14,20,0.78) 100%); }
.hero-copy { position: relative; padding-block: 4rem 3.5rem; }
.hero h1 { font-size: var(--t-hero); max-width: 12ch; margin-bottom: 0.25em; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.lede { font-size: var(--t-lg); max-width: 46ch; color: #eef3f6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Next show */
.next-show { margin-top: -0px; padding-block: 3.5rem 1rem; }
.next-show-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.meta-line { color: var(--ink-2); }
.countdown { display: flex; gap: 0.75rem; }
.countdown > div { background: var(--blue); color: #fff; border-radius: var(--r); padding: 0.9rem 1rem 0.7rem; min-width: 88px; text-align: center; }
.countdown .num { display: block; font-family: var(--f-display); font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .lbl { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 760px) { .next-show-card { grid-template-columns: 1fr; } .countdown > div { flex: 1; min-width: 0; } }

/* Split */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: 4rem; }
.split-img img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; padding-block: 2.5rem; } }

/* Awards */
.categories-band { padding-block: 1rem 4rem; }
.award-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.award-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1rem; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.award-list small { display: block; font-family: var(--f-body); font-size: 0.75rem; text-transform: none; color: var(--ink-3); margin-top: 0.35rem; }
.award-no { display: block; font-family: var(--f-body); font-size: 0.75rem; font-weight: 700; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
@media (max-width: 860px) { .award-list { grid-template-columns: repeat(2, 1fr); } .award-list li:last-child { grid-column: 1 / -1; } }

.fb-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 4rem; }
.fb-band h2 { margin-bottom: 0.2em; }
.fb-band p { margin: 0; color: #dbe9f1; }
.fb-band .btn-primary { background: #fff; color: var(--blue); }
.fb-band .btn-primary:hover { background: var(--paper-2); color: var(--blue-deep); }

/* Page heads */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.page-head h1 { max-width: 18ch; }
.page-sub { max-width: 60ch; color: var(--ink-2); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.prose { max-width: 66ch; }
.prose h2 { margin-top: 1.6em; }
.lede-dark { font-size: var(--t-lg); color: var(--ink-2); }
.tick-list { padding: 0; list-style: none; margin: 0 0 1rem; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; }
.tick-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.9rem; height: 3px; background: var(--blue); border-radius: 2px; }
.about-aside { align-self: start; position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; }
.about-aside img { width: 70%; margin: 0 auto 1.5rem; }
.fact-list { margin: 0; }
.fact-list div { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.fact-list dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.fact-list dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.wide-img { padding-bottom: 4rem; }
.wide-img img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-aside { position: static; } .wide-img img { aspect-ratio: 4 / 3; } }

/* Events */
.event-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 2.5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.event-date { background: var(--blue); color: #fff; border-radius: var(--r); width: 110px; padding: 0.9rem 0.5rem; text-align: center; align-self: start; display: flex; flex-direction: column; }
.event-date .m { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.event-date .d { font-family: var(--f-display); font-size: 3.6rem; line-height: 1; }
.event-date .y { font-size: 0.85rem; opacity: 0.85; }
.event-date.small { width: 84px; background: var(--paper-2); color: var(--ink); }
.event-date.small .d { font-size: 2.6rem; }
.event-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.25rem; }
.event-cols h3 { margin-top: 0.5rem; }
.award-chips { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.award-chips li { background: var(--blue-tint); color: var(--blue-deep); font-weight: 600; font-size: var(--t-sm); padding: 0.35rem 0.85rem; border-radius: 999px; }
.event-row { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.event-row h3 { margin-top: 0.2rem; }
.event-row p { color: var(--ink-2); max-width: 70ch; }
.section-title { margin-top: 3rem; }
.event-row.past:last-child { margin-bottom: 3rem; }
@media (max-width: 760px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; width: auto; gap: 0.6rem; align-items: baseline; justify-content: flex-start; padding: 0.6rem 1rem; }
  .event-date .d { font-size: 2.2rem; }
  .event-cols { grid-template-columns: 1fr; gap: 0.5rem; }
  .event-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .event-date.small { width: fit-content; }
  .event-date.small .d { font-size: 1.8rem; }
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 0.9rem; padding-bottom: 4rem; }
.g-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.g-wide { grid-column: span 2; }
.g-full { grid-column: 1 / -1; grid-row: span 2; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.75rem; color: #fff; font-size: var(--t-sm); font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,0.6)); pointer-events: none; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .g-wide, .g-full { grid-column: 1 / -1; grid-row: span 1; } .g-full { grid-row: span 2; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 10, 10, 0.88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 0.75rem 0 0; }
.lb-close { position: fixed; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; cursor: pointer; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 4rem; align-items: start; }
.dues-card { display: flex; align-items: center; gap: 1rem; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.dues-num { font-family: var(--f-display); font-size: 4.5rem; line-height: 0.9; margin: 0; }
.dues-lbl { margin: 0; font-weight: 600; max-width: 18ch; }
.steps { padding-left: 1.3rem; margin: 0 0 2rem; }
.steps li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.steps li::marker { font-weight: 700; color: var(--blue); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 0.25rem; background: var(--paper-2); padding: 4px; border-radius: 999px; margin-bottom: 1.5rem; }
.tab { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 999px; font: 600 var(--t-sm) var(--f-body); color: var(--ink-2); cursor: pointer; transition: background 0.2s var(--ease); }
.tab[aria-selected="true"] { background: var(--card); color: var(--blue); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 1rem; }
.stack-form fieldset { border: 0; padding: 0; margin: 0 0 0.5rem; display: flex; flex-direction: column; gap: 1rem; }
.stack-form legend { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--blue); }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row.three { grid-template-columns: 0.7fr 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .field-row.three { grid-template-columns: 1fr 1fr; } .field-row.three .field:first-child { grid-column: 1 / -1; } }
input, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%;
  border: 1.5px solid rgba(31, 29, 28, 0.22); border-radius: 8px; padding: 0.75rem 0.85rem; min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 99, 149, 0.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--red); }

/* Register */
.register-wrap { padding-block: clamp(1.5rem, 5vw, 3.5rem) 4rem; display: flex; justify-content: center; }
.reg-card { width: 100%; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 5vw, 2.5rem); box-shadow: var(--shadow); }
.reg-card.narrow { max-width: 440px; margin-inline: auto; }
.reg-head { text-align: center; margin-bottom: 1.5rem; }
.reg-head h1 { font-size: var(--t-2xl); }
.reg-logo-h { width: 200px; margin: 0 auto 1.25rem; }
.reg-closed { text-align: center; }
.reg-logo { width: 180px; margin: 0 auto 1.5rem; }
.reg-closed h1 { font-size: var(--t-xl); }
.reg-done { text-align: center; border-top: 6px solid var(--ok); }
.entry-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--ink-3); margin-bottom: 0; }
.entry-num { font-family: var(--f-display); font-size: clamp(6rem, 22vw, 10rem); line-height: 1; color: var(--blue); margin: 0.1em 0 0.15em; font-variant-numeric: tabular-nums; }
.entry-summary { font-weight: 700; font-size: var(--t-lg); }

/* Admin */
.admin-wrap { padding-block: 2.5rem 4rem; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-top h1 { margin: 0; font-size: var(--t-xl); }
.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 3vw, 1.75rem); margin-bottom: 1.25rem; }
.admin-card h2 { font-size: 1.8rem; }
.admin-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-card-head h2 { margin: 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.admin-actions input { min-height: 40px; width: 220px; padding: 0.5rem 0.75rem; }
.count { display: inline-block; font-family: var(--f-body); font-size: 0.9rem; font-weight: 700; background: var(--blue-tint); color: var(--blue-deep); padding: 0.1rem 0.6rem; border-radius: 999px; vertical-align: middle; }
.status-pill { display: inline-block; font-weight: 700; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--paper-2); }
.status-pill.open { background: #e3f1e5; color: var(--ok); }
.status-pill.closed { background: #f6e3e1; color: var(--red); }
.settings-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.radio-row legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: 0.4rem; }
.radio-row label { display: flex; gap: 0.6rem; align-items: center; min-height: 36px; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); }
.small-field { max-width: 180px; }
.settings-form .btn { align-self: flex-start; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { background: var(--paper-2); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); position: sticky; top: 0; }
.data-table tbody tr:hover { background: #faf7f1; }
.data-table .empty { text-align: center; color: var(--ink-3); padding: 2rem; white-space: normal; }
.del-btn { border: 0; background: none; color: var(--red); font-weight: 600; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 6px; font-size: 0.85rem; }
.del-btn:hover { background: #f6e3e1; }
.msg-list { display: flex; flex-direction: column; gap: 0.75rem; }
.msg { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.msg-top { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; margin-bottom: 0.35rem; }
.msg-kind { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); }
.msg-kind.contact { background: var(--paper-2); color: var(--ink-2); }
.msg p { margin: 0.2rem 0 0; color: var(--ink-2); white-space: pre-wrap; }
.msg time { color: var(--ink-3); font-size: 0.85rem; }
.photo-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.photo-form input[type="file"] { width: auto; flex: 1 1 220px; padding: 0.5rem; }
.photo-form input[type="text"] { flex: 1 1 200px; width: auto; }
.photo-form .form-status { flex-basis: 100%; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.admin-photos figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.admin-photos img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.admin-photos figcaption { display: flex; justify-content: space-between; align-items: center; padding: 0.3rem 0.5rem; font-size: 0.8rem; gap: 0.25rem; }
.admin-photos figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Footer */
.site-footer { background: #1f1d1c; color: #d9d4cc; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; padding-block: 2.75rem 2rem; }
.footer-name { font-family: var(--f-display); font-size: 2rem; text-transform: uppercase; color: #fff; margin-bottom: 0.25rem; line-height: 1; }
.site-footer p { margin: 0 0 0.25rem; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: flex-start; }
.site-footer nav a { text-decoration: none; font-weight: 600; padding: 0.4rem 0; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-small { grid-column: 1 / -1; font-size: 0.85rem; color: #a39d94; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; }
.footer-small a { color: #a39d94; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Page transitions */
.page { animation: pageIn 0.45s var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.admin-photos > p { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
