/* ==========================================================================
   NEXEC — National Executive Economic Collective
   Design System v1.0
   Palette: Ink navy · Gold · Sand · Emerald
   ========================================================================== */

:root {
  /* Core — true black/white base, navy + gold held as deliberate accents */
  --ink:        #0A0A0A;
  --ink-2:      #141414;
  --ink-3:      #1F1F1F;
  --navy:       #0F2A47;
  --slate:      #454545;
  --mist:       #8A8A8A;
  --line:       rgba(255,255,255,0.10);
  --line-dark:  rgba(10,10,10,0.10);

  /* Accents */
  --gold:       #C8A44D;
  --gold-lt:    #E3C782;
  --gold-dp:    #9C7C2C;
  --emerald:    #1F6B54;
  --emerald-lt: #2E9273;
  --clay:       #A8552F;

  /* Neutrals */
  --paper:      #FFFFFF;
  --sand:       #F7F4EE;
  --sand-2:     #EFEAE0;
  --grey-1:     #F4F5F7;
  --grey-2:     #E4E7EB;

  /* Type */
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max:    1320px;
  --gutter: 40px;
  --nav-h:  76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--grey-2); margin: 48px 0; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Type scale ---------- */
.display   { font-family: var(--serif); font-weight: 400; font-size: clamp(2.9rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -0.035em; }
.display-s { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.09rem; letter-spacing: -0.012em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; }

.eyebrow {
  font-family: var(--mono);
  font-size: .705rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dp);
  font-weight: 500;
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.eyebrow.center { justify-content: center; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--gold-lt); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.58; color: var(--slate); letter-spacing: -0.011em; }
.dark .lead, .on-dark .lead { color: rgba(255,255,255,.72); }
.small { font-size: .875rem; }
.muted { color: var(--mist); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-sm { padding: clamp(52px, 6vw, 84px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.sand { background: var(--sand); }
.grey { background: var(--grey-1); }
.navy-bg { background: var(--navy); color: #fff; }

.grid { display: grid; gap: 32px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-tight { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 48px; }
.mt-m { margin-top: 28px; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: .875rem; font-weight: 550; letter-spacing: .015em;
  border-radius: 2px;
  transition: all .38s var(--ease);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn svg { transition: transform .38s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-lt); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost-lt { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost-lt:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .855rem; font-weight: 560; letter-spacing: .02em;
  color: var(--ink); padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: 15px; color: var(--gold-dp); }
.dark .link-arrow, .on-dark .link-arrow { color: #fff; }
.dark .link-arrow:hover { color: var(--gold-lt); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .35s var(--ease);
  background: transparent;
}
.header.solid { background: rgba(10,10,10,.94); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header.opaque { background: var(--ink); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  color: var(--gold);
  transition: color .4s var(--ease), transform .6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-text { line-height: 1.05; display: block; }
.brand-name {
  display: block; font-size: 1.32rem; font-weight: 700; letter-spacing: .015em;
  color: #fff; font-feature-settings: "ss01" 1;
}
.brand-sub {
  display: block; font-size: .5rem; letter-spacing: .166em; text-transform: uppercase;
  color: rgba(255,255,255,.52); font-weight: 600; margin-top: 4px; white-space: nowrap;
}
@media (max-width: 480px) { .brand-sub { font-size: .44rem; letter-spacing: .12em; } }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; font-size: .805rem; font-weight: 480;
  color: rgba(255,255,255,.78); letter-spacing: .005em;
  transition: color .25s;
}
.nav-link:hover, .nav-item.open .nav-link, .nav-link.active { color: #fff; }
.nav-link .caret { width: 8px; height: 8px; opacity: .55; transition: transform .3s var(--ease); }
.nav-item.open .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 264px; background: #fff; color: var(--ink);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(10,10,10,.20);
  padding: 12px; opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
}
.mega.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: block; padding: 10px 14px; font-size: .85rem; transition: background .2s, color .2s; }
.mega a:hover { background: var(--sand); color: var(--gold-dp); }
.mega a span { display: block; font-size: .715rem; color: var(--mist); margin-top: 2px; line-height: 1.4; }

.nav-cta { margin-left: 14px; }
.burger { display: none; width: 42px; height: 42px; place-items: center; margin-left: 8px; }
.burger span { display: block; width: 21px; height: 1.5px; background: #fff; transition: .3s var(--ease); }
.burger span + span { margin-top: 5px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 890;
  background: var(--ink); padding: 28px var(--gutter) 60px;
  overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: all .38s var(--ease);
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a { display: block; padding: 13px 0; font-size: 1.02rem; color: rgba(255,255,255,.85); border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--gold-lt); }
.drawer .grp { font-family: var(--mono); font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); margin: 30px 0 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 90px) 0 68px;
  background: var(--ink); color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.62) 40%, rgba(10,10,10,.95) 100%);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 26s var(--ease) forwards; }
@keyframes slowzoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 1000px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 660px; color: rgba(255,255,255,.76); }
.hero-cta { margin-top: 40px; }

.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: calc(var(--nav-h) + 88px) 0 82px;
}
.page-hero .hero-bg::after { background: linear-gradient(120deg, rgba(10,10,10,.95) 30%, rgba(15,42,71,.80) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 16ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 640px; }
.crumbs { font-family: var(--mono); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Stat band ---------- */
.stat-band { border-top: 1px solid var(--line); background: var(--ink-2); color: #fff; }
.stat-band .grid { gap: 0; }
.stat {
  padding: 44px 34px; border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); letter-spacing: -0.035em; }
.stat-num sup { font-size: .42em; vertical-align: super; margin-left: 1px; }
.stat-label { margin-top: 14px; font-size: .795rem; color: rgba(255,255,255,.62); line-height: 1.5; max-width: 22ch; }

/* Light stat variant */
.stat-lt { border-right-color: var(--grey-2); }
.stat-lt .stat-num { color: var(--navy); }
.stat-lt .stat-label { color: var(--slate); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--grey-2); padding: 34px 32px 32px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  display: flex; flex-direction: column; height: 100%;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 52px rgba(10,10,10,.11); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .925rem; color: var(--slate); }
.card .link-arrow { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.card-num { font-family: var(--mono); font-size: .705rem; letter-spacing: .14em; color: var(--gold-dp); margin-bottom: 20px; }
.card-icon { width: 38px; height: 38px; margin-bottom: 22px; color: var(--navy); }
.card-dark { background: var(--ink-2); border-color: var(--line); color: #fff; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.66); }
.card-flat { border: 0; border-top: 1px solid var(--grey-2); padding: 30px 0 0; background: none; }
.card-flat:hover { transform: none; box-shadow: none; }
.card-flat::before { display: none; }

/* Service list rows */
.rows { border-top: 1px solid var(--grey-2); }
.row-item {
  display: grid; grid-template-columns: 76px 1fr 1.15fr auto; gap: 30px; align-items: center;
  padding: 30px 6px; border-bottom: 1px solid var(--grey-2);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.row-item:hover { background: var(--sand); padding-left: 20px; padding-right: 20px; }
.row-item .idx { font-family: var(--mono); font-size: .72rem; color: var(--gold-dp); letter-spacing: .1em; }
.row-item h3 { font-size: 1.22rem; }
.row-item p { font-size: .89rem; color: var(--slate); margin: 0; }
.row-item .go { width: 34px; height: 34px; border: 1px solid var(--grey-2); display: grid; place-items: center; border-radius: 50%; transition: .35s var(--ease); }
.row-item:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.rows-dark { border-top-color: var(--line); }
.rows-dark .row-item { border-bottom-color: var(--line); }
.rows-dark .row-item:hover { background: rgba(255,255,255,.04); }
.rows-dark .row-item p { color: rgba(255,255,255,.6); }
.rows-dark .row-item .go { border-color: var(--line); }
.rows-dark .row-item:hover .go { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- People ---------- */
.person { position: relative; }
.person-photo {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--grey-2);
  filter: grayscale(1); transition: filter .6s var(--ease), transform .6s var(--ease);
}
.person:hover .person-photo { filter: grayscale(0); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person h4 { margin-top: 20px; font-size: 1.06rem; }
.person .role { font-size: .82rem; color: var(--gold-dp); margin-top: 5px; font-weight: 500; }
.person .bio { font-size: .87rem; color: var(--slate); margin-top: 12px; }
.ph-avatar {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ink-3), var(--navy));
  color: rgba(255,255,255,.30); font-family: var(--serif); font-size: 3.2rem; letter-spacing: -.03em;
}

/* ---------- Councils ---------- */
.council {
  border: 1px solid var(--grey-2); padding: 30px 28px; background: #fff;
  transition: .45s var(--ease); position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}
.council::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.council:hover { box-shadow: 0 20px 46px rgba(10,10,10,.10); transform: translateY(-4px); }
.council:hover::after { transform: scaleY(1); }
.council .tag { font-family: var(--mono); font-size: .655rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mist); margin-bottom: 16px; }
.council h4 { font-size: 1.04rem; margin-bottom: 10px; }
.council p { font-size: .865rem; color: var(--slate); margin: 0; }

/* ---------- Insight / article cards ---------- */
.article { display: flex; flex-direction: column; height: 100%; }
.article-img { aspect-ratio: 16/10; overflow: hidden; background: var(--grey-2); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article:hover .article-img img { transform: scale(1.06); }
.article-meta { display: flex; gap: 12px; align-items: center; margin: 22px 0 12px; font-family: var(--mono); font-size: .665rem; letter-spacing: .13em; text-transform: uppercase; color: var(--mist); }
.article-meta .cat { color: var(--gold-dp); }
.article h3 { font-size: 1.18rem; line-height: 1.28; transition: color .3s; }
.article:hover h3 { color: var(--gold-dp); }
.article p { font-size: .89rem; color: var(--slate); margin-top: 12px; }
.article .link-arrow { margin-top: auto; padding-top: 20px; align-self: flex-start; }

.ph-img {
  width: 100%; height: 100%; min-height: 180px;
  background: linear-gradient(140deg, var(--ink-3) 0%, var(--navy) 60%, var(--emerald) 140%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.ph-img::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(200,164,77,.10) 0 1px, transparent 1px 14px);
}
.ph-img span {
  position: relative; z-index: 2; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.42);
  text-align: center; padding: 0 16px;
}

/* ---------- Events ---------- */
.event {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 32px; align-items: center;
  padding: 28px 24px; border: 1px solid var(--grey-2); background: #fff;
  transition: .4s var(--ease); margin-bottom: 14px;
}
.event:hover { border-color: var(--ink); transform: translateX(6px); }
.event-date { text-align: center; border-right: 1px solid var(--grey-2); padding-right: 24px; }
.event-date .d { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--navy); }
.event-date .m { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dp); margin-top: 6px; }
.event-body h4 { font-size: 1.1rem; margin-bottom: 7px; }
.event-body .meta { font-size: .82rem; color: var(--mist); display: flex; gap: 18px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 11px; border: 1px solid var(--grey-2); color: var(--slate);
}
.badge-gold { background: rgba(200,164,77,.14); border-color: rgba(200,164,77,.4); color: var(--gold-dp); }
.badge-em { background: rgba(31,107,84,.10); border-color: rgba(31,107,84,.3); color: var(--emerald); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--grey-2); }
.dark .timeline::before { background: var(--line); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
}
.dark .tl-item::before { background: var(--ink); }
.tl-year { font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; color: var(--gold-dp); margin-bottom: 9px; }
.dark .tl-year { color: var(--gold-lt); }
.tl-item h4 { margin-bottom: 8px; }
.tl-item p { font-size: .9rem; color: var(--slate); margin: 0; }
.dark .tl-item p { color: rgba(255,255,255,.62); }

/* ---------- Tabs / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter {
  padding: 9px 18px; font-size: .81rem; border: 1px solid var(--grey-2);
  color: var(--slate); transition: .3s var(--ease); border-radius: 2px;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark .filter { border-color: var(--line); color: rgba(255,255,255,.7); }
.dark .filter.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
[data-hidden="true"] { display: none !important; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--grey-2); }
.acc-item { border-bottom: 1px solid var(--grey-2); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; text-align: left; transition: .3s;
}
.acc-head:hover { color: var(--gold-dp); }
.acc-head h4 { font-size: 1.08rem; }
.acc-icon { width: 22px; height: 22px; flex: none; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--gold-dp); transition: transform .38s var(--ease);
}
.acc-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; }
.acc-icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; }
.acc-item.open .acc-icon::after { transform: rotate(90deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc-body-inner { padding: 0 4px 28px; font-size: .93rem; color: var(--slate); max-width: 74ch; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dash-cell { background: var(--ink-2); padding: 32px 28px; }
.dash-cell .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 16px; }
.dash-cell .v { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: #fff; letter-spacing: -.03em; }
.dash-cell .d { font-size: .78rem; color: var(--gold-lt); margin-top: 10px; }
.bar { height: 5px; background: rgba(255,255,255,.10); margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width 1.4s var(--ease); }

/* ---------- Map ---------- */
.map-wrap { position: relative; }
.sa-map { width: 100%; height: auto; }
.sa-map path { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.22); stroke-width: 1; transition: fill .35s var(--ease); cursor: pointer; }
.sa-map path:hover, .sa-map path.on { fill: var(--gold); }
.map-legend { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.map-legend button {
  font-size: .78rem; padding: 7px 14px; border: 1px solid var(--line); color: rgba(255,255,255,.72); transition: .3s;
}
.map-legend button:hover, .map-legend button.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.map-info { min-height: 120px; }
.map-info h4 { color: var(--gold-lt); margin-bottom: 10px; }

/* ---------- Testimonials ---------- */
.quote { border-left: 2px solid var(--gold); padding-left: 30px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.38; letter-spacing: -.025em; }
.quote .attrib { margin-top: 26px; font-size: .84rem; color: var(--mist); }
.quote .attrib strong { display: block; color: inherit; font-weight: 560; margin-bottom: 3px; }
.dark .quote .attrib strong { color: #fff; }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--grey-2); border: 1px solid var(--grey-2); }
.logo-cell {
  background: #fff; aspect-ratio: 16/9; display: grid; place-items: center; padding: 26px;
  transition: background .35s;
}
.logo-cell:hover { background: var(--sand); }
.logo-cell span {
  font-size: .82rem; font-weight: 560; color: var(--slate); text-align: center; letter-spacing: .01em;
  filter: grayscale(1); opacity: .78; transition: .35s;
}
.logo-cell:hover span { opacity: 1; color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal-item { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--grey-2); }
.gal-item.tall { grid-row: span 2; aspect-ratio: 4/6.2; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 8/3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.07); }
.gal-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(10,10,10,.9));
  font-size: .82rem; opacity: 0; transform: translateY(10px); transition: .4s var(--ease);
}
.gal-item:hover .gal-cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,10,.96);
  display: grid; place-items: center; padding: 60px 40px;
  opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.lightbox.on { opacity: 1; visibility: visible; }
.lightbox-media { max-width: 1100px; width: 100%; }
.lightbox-cap { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: 18px; text-align: center; }
.lightbox-close { position: absolute; top: 26px; right: 34px; color: #fff; font-size: 1.7rem; line-height: 1; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block; font-family: var(--mono); font-size: .655rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: transparent;
  border: 1px solid var(--grey-2); border-radius: 2px; font-size: .93rem;
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--sand);
}
.dark .field input, .dark .field textarea, .dark .field select {
  border-color: var(--line); color: #fff;
}
.dark .field input:focus, .dark .field textarea:focus, .dark .field select:focus { background: rgba(255,255,255,.05); }
.dark .field select option { color: var(--ink); }
.form-note { font-size: .78rem; color: var(--mist); }
.form-ok {
  padding: 16px 20px; background: rgba(31,107,84,.10); border: 1px solid rgba(31,107,84,.35);
  color: var(--emerald); font-size: .88rem; display: none;
}
.form-ok.on { display: block; }
.form-error {
  padding: 16px 20px; background: rgba(200,60,60,.08); border: 1px solid rgba(200,60,60,.35);
  color: #b93b3b; font-size: .88rem; display: none;
}
.form-error.on { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 460px at 82% 12%, rgba(200,164,77,.20), transparent 68%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 54px; }
.cta-tile {
  background: var(--navy); padding: 34px 30px; transition: background .4s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.cta-tile:hover { background: var(--ink); }
.cta-tile h4 { font-size: 1.03rem; }
.cta-tile p { font-size: .86rem; color: rgba(255,255,255,.62); margin: 0; }
.cta-tile .link-arrow { margin-top: auto; padding-top: 16px; align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 84px 0 0; font-size: .875rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 58px; }
.footer h5 {
  font-family: var(--mono); font-size: .655rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold-lt); }
.footer-brand p { max-width: 34ch; margin-top: 22px; font-size: .87rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 26px 0 34px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: .77rem; color: rgba(255,255,255,.42);
}
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 36px; height: 36px; border: 1px solid var(--line); display: grid; place-items: center;
  transition: .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 15px; height: 15px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); z-index: 950; width: 0; transition: width .1s linear; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: slide 42s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; color: rgba(255,255,255,.34); }
.marquee-track span::after { content: "·"; margin-left: 56px; color: var(--gold); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Resource centre */
.res-search { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 620px; margin-bottom: 34px; }
.res-search input { padding: 15px 18px; border: 1px solid var(--grey-2); font-size: .93rem; border-radius: 2px; }
.res-search input:focus { outline: none; border-color: var(--gold); }
.res-item {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 18px; border-bottom: 1px solid var(--grey-2); transition: background .3s;
}
.res-item:hover { background: var(--sand); }
.res-type {
  width: 44px; height: 54px; border: 1px solid var(--grey-2); display: grid; place-items: center;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--gold-dp); background: #fff;
}
.res-item h4 { font-size: 1rem; margin-bottom: 6px; }
.res-item .meta { font-size: .77rem; color: var(--mist); display: flex; gap: 16px; flex-wrap: wrap; }
.no-results { padding: 50px 0; color: var(--mist); text-align: center; display: none; }
.no-results.on { display: block; }

/* Print */
@media print { .header, .footer, .drawer, .progress { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 30px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-5 { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat-band .g-4 { grid-template-columns: 1fr 1fr; }
  .stat-band .stat { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .nav, .nav-cta { display: none; }
  .burger { display: grid; }
  .split, .split-tight { grid-template-columns: 1fr; }
  .g-3, .cta-grid, .dash { grid-template-columns: 1fr; }
  .dash { gap: 1px; }
  .row-item { grid-template-columns: 40px 1fr; gap: 16px 20px; }
  .row-item p { grid-column: 1 / -1; }
  .row-item .go { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal-item.wide { grid-column: span 2; }
  .hero { min-height: 78vh; }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; --nav-h: 66px; }
  body { font-size: 16px; }
  .g-2, .g-4, .g-5, .form-row { grid-template-columns: 1fr; }
  .stat-band .g-4 { grid-template-columns: 1fr; }
  .stat { border-right: 0; padding: 32px 0; }
  .event { grid-template-columns: 1fr; gap: 18px; }
  .event-date { text-align: left; border-right: 0; border-bottom: 1px solid var(--grey-2); padding: 0 0 16px; display: flex; align-items: baseline; gap: 10px; }
  .event-date .m { margin-top: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gal-item.tall, .gal-item.wide { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .res-item { grid-template-columns: 44px 1fr; }
  .res-item .badge { grid-column: 2; justify-self: start; }
  .quote { padding-left: 20px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Empty states ---------- */
.empty {
  border: 1px dashed var(--grey-2);
  padding: clamp(38px, 5vw, 60px) clamp(24px, 4vw, 48px);
  text-align: center;
  background: linear-gradient(180deg, var(--sand) 0%, transparent 100%);
}
.empty h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; margin-bottom: 14px; }
.empty p { max-width: 52ch; margin: 0 auto; color: var(--slate); font-size: .93rem; }
.empty .btn-row { justify-content: center; }
.dark .empty, .navy-bg .empty {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, transparent 100%);
}
.dark .empty h3 { color: #fff; }
.dark .empty p { color: rgba(255,255,255,.62); }
