/*
Theme Name: Zenith Klub Ikenne
Theme URI: https://zenithklub.com
Author: Zenith Klub Ikenne
Description: Bespoke institutional theme for Zenith Klub Ikenne — a private members' club founded in Ikenne, Ogun State, Nigeria in 1985. Motto: Sky is the Beginning.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenith-klub
*/

/* ==========================================================================
   ZKI DESIGN SYSTEM
   Palette sampled directly from the official ZKI logo:
     cyan  rgb(0,176,240)   #00B0F0   — 177,726 px
     red   rgb(240,32,48)   #F02030   —  56,397 px
   Navy ground drawn from the 40th Anniversary artwork, deepened for screen.
   ========================================================================== */
:root {
  /* --- brand, verbatim from the mark --- */
  --zk-cyan:        #00B0F0;
  --zk-red:         #F02030;

  /* --- accessible derivatives (brand hues darkened to pass contrast) --- */
  --zk-cyan-ink:    #0273A4;   /* 4.6:1 on ivory — safe for body-size text */
  --zk-red-ink:     #B01524;   /* 6.1:1 on ivory */
  --zk-cyan-soft:   #7FD8F8;
  --zk-cyan-wash:   rgba(0, 176, 240, 0.08);

  /* --- institutional grounds --- */
  --zk-void:        #05090F;   /* deepest — hero, footer */
  --zk-navy:        #0B1B33;   /* primary dark ground */
  --zk-navy-700:    #12294A;
  --zk-navy-500:    #1D3D66;
  --zk-slate:       #46586F;
  --zk-mute:        #6B7C92;

  /* --- light grounds --- */
  --zk-ivory:       #F7F4ED;
  --zk-paper:       #FCFAF6;
  --zk-line:        #E1D9CB;
  --zk-line-soft:   rgba(11, 27, 51, 0.09);

  /* --- ceremonial (40th anniversary only) --- */
  --zk-gold:        #C9A961;
  --zk-gold-soft:   rgba(201, 169, 97, 0.16);

  /* --- type --- */
  --ff-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --ff-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- measure --- */
  --shell:  1240px;
  --shell-narrow: 760px;
  --gut:    clamp(1.25rem, 4vw, 2.5rem);

  /* --- elevation: tight and low-contrast, never floaty --- */
  --lift-1: 0 1px 2px rgba(11, 27, 51, .05);
  --lift-2: 0 2px 8px rgba(11, 27, 51, .07);
  --lift-3: 0 12px 32px rgba(11, 27, 51, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--zk-navy);
  background: var(--zk-paper);
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--zk-cyan-ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--zk-navy); }

:focus-visible {
  outline: 2px solid var(--zk-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--zk-cyan); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   TYPE SCALE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--zk-navy);
  text-wrap: balance;
}

.t-display  { font-size: clamp(2.75rem, 7.5vw, 5.75rem); line-height: .98; letter-spacing: -.03em; }
.t-h1       { font-size: clamp(2.25rem, 5.5vw, 4rem); }
.t-h2       { font-size: clamp(1.75rem, 4vw, 2.85rem); }
.t-h3       { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.t-h4       { font-size: 1.125rem; letter-spacing: -.005em; }

/* Eyebrow — the small-caps label that opens every section */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--zk-cyan-ink);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.125rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--zk-cyan);
  flex-shrink: 0;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--zk-cyan-soft); }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.72;
  color: var(--zk-slate);
  max-width: 62ch;
}
.on-dark .lede { color: rgba(247, 244, 237, .70); }

.prose > * + * { margin-top: 1.15em; }
.prose p { max-width: 68ch; color: var(--zk-slate); }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose strong { color: var(--zk-navy); font-weight: 600; }

/* Drop-cap opener for heritage narrative */
.prose--heritage > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 4.2em;
  line-height: .78;
  padding: .06em .12em 0 0;
  color: var(--zk-navy);
  font-weight: 600;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--narrow { max-width: var(--shell-narrow); }

.band       { padding-block: clamp(3.5rem, 8vw, 7rem); }
.band--tight{ padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--ivory{ background: var(--zk-ivory); }
.band--dark {
  background: var(--zk-navy);
  color: rgba(247, 244, 237, .78);
}
.band--void { background: var(--zk-void); color: rgba(247, 244, 237, .78); }
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4,
.band--void h1, .band--void h2, .band--void h3, .band--void h4 { color: var(--zk-ivory); }

.band-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.band-head--center { margin-inline: auto; text-align: center; }
.band-head--center .eyebrow { justify-content: center; }

.grid   { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.g-2    { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3    { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4    { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-2-1  { grid-template-columns: 2fr 1fr; }
.g-1-2  { grid-template-columns: 1fr 2fr; }

.rule { height: 1px; background: var(--zk-line); border: 0; }
.on-dark .rule, .band--dark .rule { background: rgba(247,244,237,.14); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5, 9, 15, .90);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(247, 244, 237, .09);
}
.masthead__in {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--ff-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--zk-ivory); letter-spacing: -.01em;
}
.brand__motto {
  font-size: .5625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--zk-cyan);
  margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative;
  padding: .55rem .8rem;
  font-size: .8125rem; font-weight: 500;
  color: rgba(247, 244, 237, .70);
  white-space: nowrap;
  border-radius: 4px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute;
  left: .8rem; right: .8rem; bottom: .28rem;
  height: 1.5px; background: var(--zk-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--zk-ivory); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--zk-ivory); }

.nav__cta {
  margin-left: .6rem;
  padding: .55rem 1.15rem !important;
  background: var(--zk-cyan);
  color: #04121C !important;
  font-weight: 600 !important;
  border-radius: 3px;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: #34C4F7; color: #04121C !important; }

.burger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid rgba(247,244,237,.2);
  border-radius: 3px; cursor: pointer;
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--zk-ivory);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .9rem 1.75rem;
  font-size: .875rem; font-weight: 600;
  letter-spacing: .01em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--zk-cyan); color: #04121C; }
.btn--primary:hover { background: #34C4F7; color: #04121C; }

.btn--ink { background: var(--zk-navy); color: var(--zk-ivory); }
.btn--ink:hover { background: var(--zk-navy-700); color: #fff; }

.btn--ghost {
  background: transparent; color: var(--zk-ivory);
  border-color: rgba(247, 244, 237, .30);
}
.btn--ghost:hover { border-color: var(--zk-cyan); color: var(--zk-cyan); }

.btn--outline {
  background: transparent; color: var(--zk-navy);
  border-color: var(--zk-line);
}
.btn--outline:hover { border-color: var(--zk-navy); background: var(--zk-navy); color: var(--zk-ivory); }

/* text link with a sliding rule */
.link-slide {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600;
  color: var(--zk-cyan-ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--zk-cyan), var(--zk-cyan));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size .35s var(--ease);
}
.link-slide:hover { background-size: 100% 1.5px; color: var(--zk-cyan-ink); }
.on-dark .link-slide, .band--dark .link-slide { color: var(--zk-cyan-soft); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--zk-void);
  color: var(--zk-ivory);
  padding-block: clamp(4.5rem, 12vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}
/* a single wide cyan arc echoing the swoosh in the mark — no gradient soup */
.hero::before {
  content: '';
  position: absolute; z-index: -1;
  width: 150%; aspect-ratio: 2 / 1;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 176, 240, .16);
  border-bottom-color: rgba(240, 32, 48, .12);
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(0,176,240,.10), transparent 72%),
    radial-gradient(ellipse 50% 40% at 78% 88%, rgba(240,32,48,.07), transparent 70%);
}
.hero__in { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); text-align: center; }
.hero__mark { width: clamp(140px, 26vw, 220px); margin: 0 auto 2.25rem; }
.hero h1 { color: var(--zk-ivory); margin-bottom: 1rem; }
.hero__motto {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  color: var(--zk-cyan);
  margin-bottom: 1.5rem;
}
.hero__meta {
  font-size: .6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .26em;
  color: rgba(247, 244, 237, .42);
  margin-bottom: 2.75rem;
}
.hero__acts { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   40TH ANNIVERSARY FEATURE
   ========================================================================== */
.anniv {
  position: relative;
  background: var(--zk-navy);
  color: var(--zk-ivory);
  overflow: hidden;
  isolation: isolate;
}
.anniv::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 70% at 82% 50%, rgba(201,169,97,.13), transparent 68%),
    radial-gradient(ellipse 60% 60% at 10% 20%, rgba(0,176,240,.09), transparent 70%);
}
.anniv__in {
  max-width: var(--shell); margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gut);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* the 1985 → 2025 → Beyond rail */
.span-rail {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--ff-display);
}
.span-rail__yr {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-weight: 600; line-height: 1;
  color: var(--zk-ivory);
}
.span-rail__yr--now { color: var(--zk-gold); }
.span-rail__yr--next {
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: rgba(247,244,237,.55);
  align-self: flex-end;
  padding-bottom: .18em;
}
.span-rail__dash {
  flex: 0 1 46px; height: 1px;
  background: linear-gradient(90deg, rgba(247,244,237,.35), rgba(201,169,97,.75));
}
.span-rail__dash--last { background: linear-gradient(90deg, rgba(201,169,97,.75), rgba(247,244,237,.18)); }

.anniv__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.24;
  letter-spacing: -.015em;
  color: var(--zk-ivory);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.anniv__quote em { font-style: italic; color: var(--zk-gold); }
.anniv__sub {
  font-size: clamp(.95rem, 1.5vw, 1.075rem);
  color: rgba(247,244,237,.72);
  letter-spacing: .01em;
  margin-bottom: 1.75rem;
  max-width: 46ch;
}
.anniv__sig { margin-bottom: 2.25rem; }
.anniv__sig-name {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--zk-ivory);
  letter-spacing: .01em;
}
.anniv__sig-motto {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--zk-cyan);
  font-size: 1rem;
}

/* framed reproduction of the original souvenir artwork */
.anniv__plate {
  position: relative;
  border: 1px solid rgba(201,169,97,.30);
  padding: .7rem;
  background: rgba(5,9,15,.32);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}
.anniv__plate img { width: 100%; }
.anniv__plate figcaption {
  font-size: .625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: rgba(247,244,237,.44);
  text-align: center;
  padding-top: .7rem;
}

/* ==========================================================================
   MEMBER PORTRAITS — one collection from many sources
   Cohesion comes from framing and furniture, never from altering the faces.
   ========================================================================== */
.roster { list-style: none; padding: 0; }

.person { position: relative; }
.person__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--zk-navy-700);
  border-radius: 2px;
}
.person__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* faces sit in the upper third across the whole set, full-length shots included */
  object-position: 50% 22%;
  transition: transform .7s var(--ease);
}
.person:hover .person__frame img { transform: scale(1.028); }
/* hairline keeps mixed sources reading as one commissioned set */
.person__frame::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(11,27,51,.10);
  pointer-events: none;
}
.band--dark .person__frame::after,
.on-dark .person__frame::after { box-shadow: inset 0 0 0 1px rgba(247,244,237,.13); }

.person__body { padding-top: 1rem; }
.person__name {
  font-family: var(--ff-display);
  font-size: 1.125rem; font-weight: 600;
  line-height: 1.2;
  color: var(--zk-navy);
  margin-bottom: .25rem;
}
.band--dark .person__name, .on-dark .person__name { color: var(--zk-ivory); }
.person__post {
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--zk-cyan-ink);
}
.on-dark .person__post, .band--dark .person__post { color: var(--zk-cyan-soft); }
.person__tag {
  display: inline-block;
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--zk-mute);
}
.person__occ {
  margin-top: .3rem;
  font-size: .8125rem;
  color: var(--zk-slate);
}
.band--dark .person__occ, .on-dark .person__occ { color: rgba(247,244,237,.60); }
.person__base {
  margin-top: .3rem;
  font-size: .75rem;
  letter-spacing: .03em;
  color: var(--zk-mute);
}
.band--dark .person__base, .on-dark .person__base { color: rgba(247,244,237,.45); }

/* initial-monogram stand-in where no photograph exists yet */
.monogram {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--zk-navy-700), var(--zk-navy));
  color: rgba(247,244,237,.55);
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: .04em;
}

/* ==========================================================================
   CARDS / EDITORIAL
   ========================================================================== */
.card {
  background: var(--zk-paper);
  border: 1px solid var(--zk-line);
  border-radius: 3px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--zk-navy-500); box-shadow: var(--lift-2); }
a.card:hover { transform: translateY(-2px); }
.band--ivory .card { background: #fff; }
.band--dark .card {
  background: rgba(247,244,237,.035);
  border-color: rgba(247,244,237,.12);
}
.band--dark .card:hover { border-color: rgba(0,176,240,.45); }

.card__num {
  font-family: var(--ff-display);
  font-size: .9375rem; font-weight: 600;
  color: var(--zk-cyan-ink);
  letter-spacing: .06em;
  margin-bottom: .9rem;
}
.band--dark .card__num { color: var(--zk-cyan-soft); }

/* index rows — events, documents, archive entries */
.index { border-top: 1px solid var(--zk-line); }
.band--dark .index { border-top-color: rgba(247,244,237,.14); }
.index__row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--zk-line);
  transition: background .25s var(--ease);
}
.band--dark .index__row { border-bottom-color: rgba(247,244,237,.14); }
a.index__row:hover { background: var(--zk-cyan-wash); }
.index__when {
  font-family: var(--ff-display);
  font-size: 1.55rem; font-weight: 600;
  line-height: 1; color: var(--zk-navy);
}
.band--dark .index__when { color: var(--zk-ivory); }
.index__when small {
  display: block;
  font-family: var(--ff-sans);
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--zk-mute);
  margin-top: .35rem;
}
.index__title { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; }
.index__meta { font-size: .8125rem; color: var(--zk-mute); margin-top: .3rem; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.tl { position: relative; padding-left: 2.25rem; }
.tl::before {
  content: ''; position: absolute; left: 5px; top: .5rem; bottom: .5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--zk-cyan), var(--zk-line) 65%, transparent);
}
.tl__item { position: relative; padding-bottom: 2.5rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: ''; position: absolute;
  left: calc(-2.25rem + 1px); top: .45rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--zk-paper);
  border: 1.5px solid var(--zk-cyan);
}
.band--ivory .tl__item::before { background: var(--zk-ivory); }
.band--dark .tl::before { background: linear-gradient(to bottom, var(--zk-cyan), rgba(247,244,237,.18) 65%, transparent); }
.band--dark .tl__item::before { background: var(--zk-navy); }
.tl__yr {
  font-family: var(--ff-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--zk-navy); margin-bottom: .3rem;
}
.band--dark .tl__yr { color: var(--zk-ivory); }
.tl__body { color: var(--zk-slate); max-width: 60ch; }
.band--dark .tl__body { color: rgba(247,244,237,.66); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--zk-line);
  border-bottom: 1px solid var(--zk-line);
}
.band--dark .stats { border-color: rgba(247,244,237,.14); }
.stat { padding: clamp(1.75rem, 3.5vw, 2.75rem) 1rem; text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--zk-line);
}
.band--dark .stat + .stat::before { background: rgba(247,244,237,.14); }
.stat__n {
  font-family: var(--ff-display);
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  font-weight: 600; line-height: 1;
  color: var(--zk-navy);
  letter-spacing: -.02em;
}
.band--dark .stat__n { color: var(--zk-ivory); }
.stat__l {
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--zk-mute);
  margin-top: .65rem;
}

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pull {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--zk-navy);
  text-wrap: balance;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 2px solid var(--zk-cyan);
}
.band--dark .pull, .on-dark .pull { color: var(--zk-ivory); }
.pull cite {
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--zk-mute);
  margin-top: 1.25rem;
}

/* ==========================================================================
   DIGITAL HEADQUARTERS — the members-only platform, introduced publicly
   Mobile-first: a single stacked list, widening to two then three columns.
   ========================================================================== */
.hq-band {
  background: var(--zk-navy);
  color: rgba(247, 244, 237, .78);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hq-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 88% 12%, rgba(0,176,240,.12), transparent 70%),
    radial-gradient(ellipse 45% 55% at 6% 92%, rgba(240,32,48,.06), transparent 72%);
}
.hq-band h2, .hq-band h3 { color: var(--zk-ivory); }
.hq-band .eyebrow { color: var(--zk-cyan-soft); }
.hq-band .lede { color: rgba(247, 244, 237, .70); }

.hq-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(247, 244, 237, .10);
  border: 1px solid rgba(247, 244, 237, .10);
  border-radius: 3px;
  overflow: hidden;
}
.hq-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  background: var(--zk-navy);
  transition: background .3s var(--ease);
}
.hq-item:hover { background: var(--zk-navy-700); }

.hq-item__ico {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 176, 240, .35);
  border-radius: 2px;
  color: var(--zk-cyan);
}
.hq-item__ico svg { width: 17px; height: 17px; }

.hq-item__body { display: block; min-width: 0; }
.hq-item__t {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--zk-ivory);
  line-height: 1.25;
  margin-bottom: .2rem;
}
.hq-item__d {
  display: block;
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(247, 244, 237, .58);
}

.hq-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.25rem;
}
.hq-cta__note {
  font-size: .8125rem;
  color: rgba(247, 244, 237, .48);
}

@media (min-width: 620px) {
  .hq-grid { grid-template-columns: repeat(2, 1fr); }
  /* seven items never divide evenly — let the archive close the grid full-width
     rather than leaving a dead cell beside it */
  .hq-item:last-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .hq-grid { grid-template-columns: repeat(3, 1fr); }
  .hq-item { padding: 1.5rem 1.4rem; }
}

/* ==========================================================================
   SAMPLE CONTENT — placeholders stay visibly labelled
   ========================================================================== */
.flag--sample {
  color: #8A6D24;
  background: rgba(201, 169, 97, .14);
  border-color: rgba(201, 169, 97, .38);
  vertical-align: middle;
  margin-left: .5rem;
}
.band--dark .flag--sample, .on-dark .flag--sample {
  color: var(--zk-gold);
  background: rgba(201, 169, 97, .12);
  border-color: rgba(201, 169, 97, .34);
}
.card.is-sample {
  border-style: dashed;
  border-color: rgba(201, 169, 97, .48);
}
.sample-note {
  margin-top: 1.5rem;
  font-size: .8125rem;
  color: var(--zk-mute);
}
.sample-note em { color: #8A6D24; font-style: normal; font-weight: 600; }
.band--dark .sample-note, .on-dark .sample-note { color: rgba(247,244,237,.48); }
.band--dark .sample-note em, .on-dark .sample-note em { color: var(--zk-gold); }

/* ==========================================================================
   PROVENANCE — every archival fact carries its source
   ========================================================================== */
.prov {
  font-size: .6875rem;
  line-height: 1.55;
  color: var(--zk-mute);
  border-left: 1px solid var(--zk-line);
  padding-left: .85rem;
  margin-top: 1.15rem;
}
.band--dark .prov { color: rgba(247,244,237,.42); border-left-color: rgba(247,244,237,.18); }
.prov strong { color: var(--zk-slate); font-weight: 600; }
.band--dark .prov strong { color: rgba(247,244,237,.62); }

.flag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--zk-red-ink);
  background: rgba(240,32,48,.07);
  border: 1px solid rgba(240,32,48,.2);
  border-radius: 2px;
  padding: .2rem .5rem;
}

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */
.phead {
  background: var(--zk-navy);
  color: var(--zk-ivory);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.phead::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 90% at 12% 0%, rgba(0,176,240,.11), transparent 70%);
}
.phead h1 { color: var(--zk-ivory); margin-bottom: .85rem; }
.phead .lede { color: rgba(247,244,237,.68); }

/* breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: rgba(247,244,237,.45);
  margin-bottom: 1.35rem;
}
.crumbs a { color: rgba(247,244,237,.65); }
.crumbs a:hover { color: var(--zk-cyan); }
.crumbs span::after { content: '/'; margin-left: .5rem; color: rgba(247,244,237,.28); }

/* ==========================================================================
   HEADQUARTERS CHROME
   ========================================================================== */
.hq-head {
  background: var(--zk-navy);
  color: var(--zk-ivory);
  padding-block: 1.75rem;
  border-bottom: 1px solid rgba(247, 244, 237, .10);
}
.hq-head__in {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.hq-head .eyebrow { color: var(--zk-cyan-soft); margin-bottom: .5rem; }
.hq-head__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hq-head__nav a {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(247, 244, 237, .62);
}
.hq-head__nav a:hover { color: var(--zk-cyan); }

.hq-head__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Account menu */
.hq-account { position: relative; }
.hq-account__btn {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .75rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(247, 244, 237, .8);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .375rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hq-account__btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.hq-account__caret { transition: transform .2s; }
.hq-account[data-open] .hq-account__caret { transform: rotate(180deg); }
.hq-account__menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 14rem;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);
  z-index: 100;
  overflow: hidden;
}
.hq-account__who {
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.hq-account__fullname {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--zk-navy, #0A1628);
}
.hq-account__role {
  display: block;
  font-size: .6875rem;
  color: rgba(10,22,40,.5);
  margin-top: .125rem;
}
.hq-account__menu a {
  display: block;
  padding: .5rem 1rem;
  font-size: .8125rem;
  color: var(--zk-navy, #0A1628);
  transition: background .1s;
}
.hq-account__menu a:hover { background: rgba(0,0,0,.04); }
.hq-account__dev {
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: .25rem;
  padding-top: .5rem;
}
.hq-account__signout {
  border-top: 1px solid rgba(0,0,0,.06) !important;
  margin-top: .25rem !important;
  padding-top: .5rem !important;
  color: #c0392b !important;
}
.hq-account__signout:hover { background: rgba(192,57,43,.06) !important; }

@media (max-width: 640px) {
  .hq-head__right { width: 100%; justify-content: space-between; }
  .hq-head__nav { gap: .75rem; }
  .hq-head__nav a { font-size: .75rem; }
  .hq-account__btn { font-size: .75rem; padding: .25rem .5rem; }
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.gal__fig { margin: 0; position: relative; }
.gal__fig img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 22%;
  border-radius: 2px;
  transition: transform .6s var(--ease);
}
.gal__fig:hover img { transform: scale(1.03); }
.gal__cap { padding-top: .7rem; font-size: .8125rem; color: var(--zk-slate); }
.gal__cap b { display: block; color: var(--zk-navy); font-weight: 600; }
.band--dark .gal__cap b { color: var(--zk-ivory); }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  padding: .45rem 1rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--zk-line);
  border-radius: 100px;
  background: transparent;
  color: var(--zk-slate);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--zk-navy); color: var(--zk-navy); }
.chip[aria-pressed="true"] { background: var(--zk-navy); border-color: var(--zk-navy); color: var(--zk-ivory); }

/* ==========================================================================
   TABLE
   ========================================================================== */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.tbl thead th {
  text-align: left; padding: .8rem 1rem;
  font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--zk-mute);
  border-bottom: 1px solid var(--zk-navy);
}
.tbl tbody td { padding: .9rem 1rem; border-bottom: 1px solid var(--zk-line); }
.tbl tbody tr:hover { background: var(--zk-cyan-wash); }

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.progress-bar {
  width: 100%;
  height: 6px;
  margin: 1rem 0 .55rem;
  background: rgba(11, 27, 51, .10);
  border-radius: 100px;
  overflow: hidden;
}
.band--dark .progress-bar, .on-dark .progress-bar { background: rgba(247, 244, 237, .14); }
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--zk-cyan), var(--zk-navy-500));
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center;
  padding: .22rem .65rem;
  font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border-radius: 100px;
}
.badge--active,
.badge--verified,
.badge--paid     { background: rgba(16,140,90,.10);  color: #0C7A4E; }
.badge--pending  { background: rgba(201,169,97,.16); color: #8A6D24; }
.badge--overdue,
.badge--rejected { background: rgba(240,32,48,.09);  color: var(--zk-red-ink); }
.badge--draft    { background: rgba(70,88,111,.10);  color: var(--zk-slate); }
.badge--historic { background: rgba(0,176,240,.10);  color: var(--zk-cyan-ink); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--zk-slate);
  margin-bottom: .45rem;
}
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=password], .field input[type=date], .field textarea, .field select {
  width: 100%;
  padding: .8rem 1rem;
  background: #fff;
  border: 1px solid var(--zk-line);
  border-radius: 3px;
  font-size: .9375rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--zk-cyan);
  box-shadow: 0 0 0 3px rgba(0,176,240,.14);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--zk-void); color: rgba(247,244,237,.55); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 3rem;
}
.foot__name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; color: var(--zk-ivory); }
.foot__motto { font-family: var(--ff-display); font-style: italic; color: var(--zk-cyan); margin: .3rem 0 1rem; }
.foot__blurb { font-size: .875rem; line-height: 1.7; max-width: 40ch; }
.foot__h {
  font-family: var(--ff-sans);
  font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--zk-ivory);
  margin-bottom: 1.1rem;
}
.foot__list { list-style: none; padding: 0; }
.foot__list li + li { margin-top: .55rem; }
.foot__list a { font-size: .875rem; color: rgba(247,244,237,.55); }
.foot__list a:hover { color: var(--zk-cyan); }
.foot__bar {
  border-top: 1px solid rgba(247,244,237,.10);
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  font-size: .75rem; color: rgba(247,244,237,.42);
}

/* ==========================================================================
   MOTION — restrained; one gesture only
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s var(--ease) both; }

/* Hide-before-reveal is applied only once JS has confirmed it can un-hide.
   Without the .js flag the content simply renders — a broken script must never
   leave the page blank. */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { animation: rise .75s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .anniv__in { grid-template-columns: 1fr; }
  .anniv__plate { max-width: 380px; margin-inline: auto; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    /* fully opaque — a translucent panel let the hero read through the links */
    background: var(--zk-void);
    border-bottom: 1px solid rgba(247,244,237,.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    padding: .6rem var(--gut) 1.35rem;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .95rem .2rem; border-bottom: 1px solid rgba(247,244,237,.07); font-size: .9375rem; }
  .nav a::after { display: none; }
  .nav__cta { margin: 1rem 0 0; text-align: center; justify-content: center; }
  .burger { display: grid; }

  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-2-1, .g-1-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(1)::before { display: none; }
}

@media (max-width: 620px) {
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bar { flex-direction: column; }
  .index__row { grid-template-columns: 64px 1fr; }
  .index__row > :last-child { grid-column: 2; }
  .hero__acts .btn { width: 100%; }
  .prose--heritage > p:first-of-type::first-letter { font-size: 3.2em; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
}

@media (max-width: 400px) {
  .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat::before { display: none !important; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .masthead, .foot, .burger, .hero__acts { display: none !important; }
  body { background: #fff; color: #000; }
  .band--dark, .band--void, .hero, .anniv, .phead { background: #fff !important; color: #000 !important; }
  .band--dark h1,.band--dark h2,.band--dark h3,.hero h1,.phead h1 { color: #000 !important; }
}
