/* ==========================================================================
   UGANDA PARA-ROWING FEDERATION — DESIGN SYSTEM
   Token system: Ink / Paper / Regatta Red / Gold / Water Deep / Water Mid
   Display: Big Shoulders (condensed, bib-number athleticism)
   Body:    Inter (clean, highly legible, accessible)
   Mono:    IBM Plex Mono (race-clock / scoreboard data)
   Signature: the "lane line" — a tick-marked rule referencing rowing
   lane markers and stroke-rate counts, used to divide every section.
   ========================================================================== */

:root {
  /* Colour tokens */
  --ink: #14140f;
  --ink-soft: #24261f;
  --paper: #faf8f3;
  --paper-alt: #f1ede2;
  --white: #ffffff;
  --red: #c8272c;
  --red-dark: #a11e22;
  --gold: #e8a917;
  --gold-dark: #b98410;
  --water-deep: #0b3652;
  --water: #3e7c93;
  --water-light: #a9c9d4;
  --line: rgba(20, 20, 15, 0.12);
  --line-on-dark: rgba(250, 248, 243, 0.18);

  /* Type */
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --step-3: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --step-4: clamp(3.25rem, 2.5rem + 3.5vw, 5.5rem);

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
  --focus: 3px solid var(--water-deep);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; }

/* Focus visibility — never suppressed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.15s ease;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Visually hidden but screen-reader accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------- Type --------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water-deep);
  font-weight: 600;
}
.eyebrow.on-dark { color: var(--gold); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink-soft);
}
.on-dark, .on-dark h2, .on-dark h3, .on-dark p { color: var(--paper); }

/* Lane-line divider — the signature element: a hairline with tick marks,
   evoking lane ropes / stroke-rate counts on a race course. */
.lane-line {
  --tick: var(--line);
  height: 10px;
  background-image:
    linear-gradient(var(--tick), var(--tick)),
    repeating-linear-gradient(
      to right,
      var(--tick) 0 2px,
      transparent 2px 24px
    );
  background-position: center, bottom;
  background-size: 100% 1px, 100% 8px;
  background-repeat: no-repeat, repeat-x;
  margin-block: 1.5rem;
}
.lane-line.on-dark { --tick: var(--line-on-dark); }
.lane-line.short { max-width: 220px; }

/* ---------------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--paper); border-color: var(--line-on-dark); }
.btn-outline:hover { border-color: var(--paper); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ---------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { height: 40px; width: auto; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.05;
}
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--water-deep);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-list { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding-block: 0.5rem;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { border-color: var(--red); }
.nav-cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0.25rem; width: 100%; }
  .nav-list a { color: var(--paper); display: block; padding: 0.85rem 0.25rem; width: 100%; border-bottom: 1px solid var(--line-on-dark); }
  .nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
  .nav-cta { margin-top: 1.5rem; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, var(--water-deep) 130%);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    100deg,
    transparent 0 46px,
    var(--line-on-dark) 46px 48px
  );
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero-inner { max-width: 46rem; }
.hero h1 { font-size: var(--step-4); margin-block: 0.75rem 1rem; }
.hero .lede { color: var(--water-light); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Hero photo slider */
#hero-slider {
  min-height: clamp(560px, 86vh, 780px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(3rem, 8vw, 5rem) clamp(4.5rem, 8vw, 6rem);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.15s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,15,15,0.35) 0%, rgba(11,54,82,0.42) 45%, rgba(15,15,11,0.88) 100%),
    linear-gradient(90deg, rgba(11,10,7,0.55) 0%, rgba(11,10,7,0.05) 55%);
}
.hero-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.hero-nav {
  width: 42px; height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-on-dark);
  background: rgba(20,20,15,0.35);
  color: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.hero-nav:hover { border-color: var(--gold); background: rgba(20,20,15,0.55); }
.hero-dots { display: flex; gap: 0.6rem; }
.hero-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero-dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.hero-dot:hover { border-color: var(--gold); }
@media (max-width: 560px) {
  #hero-slider { min-height: clamp(480px, 92vh, 640px); }
}

/* ---------------------------------- Sections ------------------------------ */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-water { background: var(--water-deep); color: var(--paper); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-foot { margin-top: 2.5rem; }

/* Photo placeholder — clearly marked content slot for future photography.
   Styled with intention (not a broken-image look) so it reads as a
   deliberate placeholder rather than a mistake. */
.photo-slot {
  position: relative;
  aspect-ratio: var(--ar, 4 / 3);
  border: 1px dashed var(--line-on-dark-strong, rgba(20,20,15,0.28));
  background:
    linear-gradient(135deg, var(--water-deep), var(--ink) 70%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.photo-slot .photo-slot-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--water-light);
  background: rgba(11, 54, 82, 0.55);
  padding: 0.6rem 0.85rem;
  width: 100%;
}
.photo-slot.light {
  background: linear-gradient(135deg, var(--paper-alt), var(--water-light) 140%);
}
.photo-slot.light .photo-slot-label { color: var(--ink); background: rgba(250, 248, 243, 0.75); }

/* Cards */
.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card h3, .card h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
}
.card p { color: var(--ink-soft); flex: 1; }
.card-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--water-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.card-link:hover { color: var(--red); }
.card-link .arrow { transition: transform 0.15s ease; }
.card-link:hover .arrow { transform: translateX(3px); }

/* Stat / scoreboard strip */
.stat-strip {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding-block: 2.25rem;
}
.stat { text-align: left; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--water-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
  display: block;
}

/* Pathway / process (Discover -> Participate -> Train -> Compete -> Excel) */
.pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.pathway-step {
  border-top: 3px solid var(--gold);
  padding-top: 1rem;
}
.pathway-step .idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--water-light);
}
.pathway-step h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  margin-top: 0.25rem;
}
@media (max-width: 780px) {
  .pathway { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .pathway { grid-template-columns: 1fr; }
}

/* What-we-do icons (simple geometric marks, no clip-art) */
.icon-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.icon-mark svg { width: 22px; height: 22px; }
.on-dark .icon-mark, .section-water .icon-mark, .section-dark .icon-mark { border-color: var(--gold); }

/* News cards */
.news-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  display: inline-block;
  width: fit-content;
}
.tag-news { background: var(--water-deep); color: var(--white); }
.tag-event { background: var(--red); color: var(--white); }
.tag-story { background: var(--gold); color: var(--ink); }
.news-card .date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); }

/* Placeholder pill for text-level placeholders */
.ph {
  background: rgba(232, 169, 23, 0.18);
  border: 1px dashed var(--gold-dark);
  padding: 0.02em 0.45em;
  border-radius: 3px;
  font-style: italic;
  white-space: normal;
}
.on-dark .ph, .section-water .ph, .section-dark .ph { background: rgba(232,169,23,0.14); }

.callout-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.5rem 1.75rem;
}

/* Two column layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* Leadership grid */
.people-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.person-card { text-align: left; }
.person-photo { aspect-ratio: 1; margin-bottom: 0.85rem; }
.person-card h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; }
.person-card .role { font-family: var(--font-mono); font-size: 0.78rem; color: var(--water-deep); text-transform: uppercase; letter-spacing: 0.04em; }

/* Values list */
.values-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.value-item { border-left: 3px solid var(--red); padding-left: 1rem; }
.value-item h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; }

/* Table-like priority list */
.priority-list li {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.priority-list .num { font-family: var(--font-mono); color: var(--water-deep); font-weight: 600; }

/* Breadcrumb */
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; padding-block: 1rem; color: var(--ink-soft); }
.breadcrumb a { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Explainer note box for classification guidance */
.note-box {
  border-left: 4px solid var(--water-deep);
  background: var(--paper-alt);
  padding: 1.25rem 1.5rem;
}
.note-box p + p { margin-top: 0.5rem; }

/* Filters (news page) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  min-height: 40px;
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Event list */
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.event-date { font-family: var(--font-mono); text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.event-date .day { font-size: 1.6rem; font-weight: 700; display: block; }
.event-date .mon { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 620px) {
  .event-row { grid-template-columns: 70px 1fr; }
  .event-row .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.5rem; }
}

/* Gallery grid stub */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }

/* ---------------------------------- Forms ---------------------------------- */
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.field .req { color: var(--red); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 0.85rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.35rem; }
.field .error {
  font-size: 0.82rem;
  color: var(--red-dark);
  margin-top: 0.35rem;
  display: none;
  font-weight: 600;
}
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field.has-error .error { display: block; }
.form-status {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  margin-top: 1.5rem;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success { border-color: var(--water-deep); background: rgba(11,54,82,0.06); }
.form-status.error { border-color: var(--red); background: rgba(200,39,44,0.06); }
/* Honeypot field — hidden from sighted & AT users, catches simple bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------- Contact info ---------------------------------- */
.contact-list { display: grid; gap: 1.25rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-item .k { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--water-light); display: block; margin-bottom: 0.25rem; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-desc { color: var(--water-light); max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a { text-decoration: none; color: var(--paper); }
.footer-col a:hover { color: var(--gold); text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social-list a {
  border: 1px solid var(--line-on-dark);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.social-list a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--water-light);
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { text-decoration: underline; color: var(--water-light); }
.footer-legal a:hover { color: var(--gold); }

/* Full gallery grid + lightbox */
.full-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--paper-alt);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }

dialog#lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
}
dialog#lightbox::backdrop { background: rgba(10, 10, 8, 0.9); }
.lightbox-inner {
  background: var(--ink);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 92vw;
}
.lightbox-inner img {
  max-width: 88vw;
  max-height: 74vh;
  object-fit: contain;
  display: block;
  margin-inline: auto;
  background: #000;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--water-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.lightbox-actions { display: flex; gap: 0.5rem; }
.lightbox-actions button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-on-dark);
  background: transparent;
  color: var(--paper);
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-actions button:hover { border-color: var(--gold); }
.lightbox-caption { color: var(--paper); font-family: var(--font-body); font-size: 0.9rem; max-width: 60ch; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
