/* ==================================================================
   Enterprise Chamber of Commerce — Site Styles
   Hand-authored CSS. Tokens live in tokens.css.
   Sections:
   1 Fonts & reset   2 Base typography   3 Layout utilities
   4 Buttons/links   5 Header & nav      6 Hero compositions
   7 Section patterns 8 Cards & lists    9 Directory / Events / News
   10 Forms          11 Footer           12 Motion
   ================================================================== */

/* 1 ---------------------------------------------------------- Fonts */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-wght-italic.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--c-gold); color: var(--c-ink); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100%;
  background: var(--c-ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  z-index: 100; font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 2 ------------------------------------------------- Base typography */
h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--c-ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: 'opsz' 144;
}
h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 600; }
h4 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 600; color: var(--c-ink); }
p { text-wrap: pretty; }
.lede { font-size: var(--fs-md); color: var(--c-muted); max-width: 42rem; }
.lede strong { color: var(--c-ink); font-weight: 600; }
.measure { max-width: 38rem; }
.measure-wide { max-width: 52rem; }
em.accent { font-style: italic; font-weight: 400; color: var(--c-blue); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark { color: #fff; }
.on-dark .lede, .on-dark .muted { color: rgba(255,255,255,0.74); }
.on-dark em.accent { color: var(--c-gold); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--c-blue);
  margin-bottom: var(--s-4);
}
.eyebrow::before { content: ''; width: 2.25rem; height: 3px; background: currentColor; border-radius: 2px; flex: none; }
.eyebrow.no-rule::before { display: none; }
.on-dark .eyebrow { color: var(--c-gold); }

/* Four-pillar stripe — the recurring brand motif */
.pillar-bar { display: flex; height: 6px; width: 100%; border-radius: 3px; overflow: hidden; }
.pillar-bar span { flex: 1; }
.pillar-bar span:nth-child(1) { background: var(--c-blue); }
.pillar-bar span:nth-child(2) { background: var(--c-coral); }
.pillar-bar span:nth-child(3) { background: var(--c-gold); }
.pillar-bar span:nth-child(4) { background: var(--c-green); }
.pillar-bar.vertical { flex-direction: column; width: 6px; height: 100%; }
.pillar-bar.short { width: 6rem; }

/* Rich text (editorial bodies) */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: var(--fs-xl); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--c-blue); font-weight: 500; }
.prose blockquote { border-left: 4px solid var(--c-gold); padding: 0.25rem 0 0.25rem 1.25rem; font-family: var(--f-display); font-size: var(--fs-lg); color: var(--c-ink); font-style: italic; }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--c-line); }
.prose th { font-weight: 600; color: var(--c-ink); }

/* 3 ------------------------------------------------ Layout utilities */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.container-wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }
.section-dark { background: var(--c-ink); color: #fff; }
.section-paper { background: var(--c-paper); }
.section-blue { background: var(--c-blue); color: #fff; }
.section-cream-2 { background: var(--c-cream-2); }
.flow > * + * { margin-top: var(--flow, 1.25rem); }
.stack-sm { display: grid; gap: var(--s-3); }
.stack { display: grid; gap: var(--s-5); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-5); }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head p { margin-top: var(--s-4); }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* 4 ---------------------------------------------------- Buttons etc. */
.btn {
  --btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bd: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { --btn-bg: var(--c-blue); --btn-bd: var(--c-blue); }
.btn-primary:hover { --btn-bg: var(--c-blue-700); --btn-bd: var(--c-blue-700); }
.btn-gold { --btn-bg: var(--c-gold); --btn-fg: var(--c-ink); --btn-bd: var(--c-gold); }
.btn-gold:hover { --btn-bg: #f6b955; --btn-bd: #f6b955; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); }
.btn-outline:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,0.1); --btn-bd: #fff; }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: var(--fs-xs); }
.btn-lg { min-height: 3.5rem; padding: 1rem 2rem; font-size: var(--fs-base); }
.btn[aria-busy='true'] { pointer-events: none; color: transparent; }
.btn[aria-busy='true']::after {
  content: ''; position: absolute; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.btn-gold[aria-busy='true']::after, .btn-light[aria-busy='true']::after { border-color: rgba(14,31,75,0.3); border-top-color: var(--c-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--c-blue);
  text-decoration: none; font-size: var(--fs-sm);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.on-dark .link-arrow { color: var(--c-gold); }

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  background: var(--c-blue-100); color: var(--c-blue-700);
}
.tag-gold { background: #fdefd6; color: #8a5a0b; }
.tag-coral { background: #fde4e1; color: #9b2b22; }
.tag-green { background: #e3f0de; color: #2f5a24; }
.tag-dark { background: var(--c-ink); color: #fff; }
.tag-outline { background: transparent; border: 1px solid var(--c-line); color: var(--c-muted); }

/* 5 ---------------------------------------------------- Header & nav */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--c-cream) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 8px 30px rgba(14,31,75,0.06); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .pillar-bar { height: 4px; border-radius: 0; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: var(--header-h); transition: min-height var(--dur-base) var(--ease-out);
}
.is-scrolled .header-inner { min-height: var(--header-h-compact); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--c-ink); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; width: 2.25rem; height: 2.25rem; flex: none; }
.brand-mark span { border-radius: 3px; }
.brand-mark span:nth-child(1) { background: var(--c-blue); }
.brand-mark span:nth-child(2) { background: var(--c-coral); }
.brand-mark span:nth-child(3) { background: var(--c-gold); }
.brand-mark span:nth-child(4) { background: var(--c-green); }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em; font-variation-settings: 'opsz' 48; }
.brand-text small { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--c-blue); margin-top: 3px; }
.on-dark .brand { color: #fff; } .on-dark .brand-text small { color: var(--c-gold); }

.primary-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.show-sm { display: none; }
@media (max-width: 39.99rem) {
  .header-inner { gap: var(--s-3); }
  .brand-text b { font-size: 1.1rem; }
  .brand-text small { font-size: 0.52rem; letter-spacing: 0.12em; white-space: nowrap; }
  .header-actions { gap: var(--s-2); }
  .header-actions .btn-primary .hide-sm { display: none; }
  .header-actions .btn-primary .show-sm { display: inline; }
  .nav-toggle { padding: 0.5rem 0.7rem; }
  .nav-toggle .toggle-label { display: none; }
}
.header-actions .btn-outline { display: none; }
@media (min-width: 64rem) {
  .primary-nav { display: block; }
  .header-actions .btn-outline { display: inline-flex; }
  .nav-toggle { display: none; }
}
.primary-nav > ul { display: flex; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.85rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-link svg { width: 0.75rem; height: 0.75rem; transition: transform var(--dur-base) var(--ease-out); opacity: 0.6; }
.nav-link:hover, .nav-link[aria-expanded='true'] { background: rgba(39,81,163,0.08); }
.nav-link[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-link[aria-current='page'], .nav-item.is-active > .nav-link { color: var(--c-blue); }
.nav-item.is-active > .nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 0.1rem; width: 1.2rem; height: 2px; background: var(--c-gold); transform: translateX(-50%); border-radius: 1px;
}

.mega {
  position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translate(-50%, 8px);
  min-width: 36rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 1.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega::before { content: ''; position: absolute; inset: -0.75rem 0 auto; height: 0.75rem; }
.mega-links { display: grid; gap: 0.15rem; align-content: start; }
.mega-links a {
  display: grid; gap: 0.1rem; padding: 0.7rem 0.85rem; border-radius: var(--r-md); text-decoration: none;
  transition: background var(--dur-fast);
}
.mega-links a:hover { background: var(--c-cream); }
.mega-links a b { font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); display: flex; align-items: center; gap: 0.4rem; }
.mega-links a span { font-size: var(--fs-xs); color: var(--c-muted); }
.mega-feature {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--c-ink); color: #fff;
  padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 14rem; text-decoration: none; isolation: isolate;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; z-index: -1; transition: transform var(--dur-slow) var(--ease-out); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,31,75,0.95), rgba(14,31,75,0.1)); z-index: -1; }
.mega-feature .eyebrow { margin-bottom: 0.4rem; color: var(--c-gold); }
.mega-feature b { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 500; line-height: 1.2; }
.mega-feature span { font-size: var(--fs-xs); opacity: 0.8; margin-top: 0.3rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill); border: 1.5px solid var(--c-ink); font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink);
}
.nav-toggle .bars { width: 1.1rem; height: 0.8rem; position: relative; }
.nav-toggle .bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }
@media (min-width: 64rem) { .nav-toggle { display: none; } }
.nav-toggle .bars i:nth-child(1) { top: 0; } .nav-toggle .bars i:nth-child(2) { top: 50%; margin-top: -1px; } .nav-toggle .bars i:nth-child(3) { bottom: 0; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; grid-template-columns: 1fr;
  visibility: hidden; pointer-events: none;
}
.drawer[aria-hidden='false'] { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(14,31,75,0.55); opacity: 0; transition: opacity var(--dur-base); }
.drawer[aria-hidden='false'] .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 26rem); background: var(--c-ink); color: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer[aria-hidden='false'] .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); min-height: var(--header-h); }
.drawer-close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.drawer-close:hover { background: rgba(255,255,255,0.1); }
.drawer-nav { padding: 0 var(--gutter) 2rem; }
.drawer-nav > ul > li { border-top: 1px solid var(--c-line-dark); }
.drawer-nav > ul > li:last-child { border-bottom: 1px solid var(--c-line-dark); }
.drawer-link, .drawer-group-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; color: #fff; text-decoration: none; text-align: left;
}
.drawer-group-btn svg { width: 1rem; height: 1rem; transition: transform var(--dur-base) var(--ease-out); opacity: 0.7; }
.drawer-group-btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.drawer-sub { display: grid; gap: 0.1rem; padding: 0 0 1rem 0.25rem; }
.drawer-sub[hidden] { display: none; }
.drawer-sub a { display: block; padding: 0.55rem 0.5rem; color: rgba(255,255,255,0.82); text-decoration: none; font-size: var(--fs-base); border-radius: var(--r-sm); }
.drawer-sub a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-cta { display: grid; gap: 0.75rem; padding: 1.5rem 0 0; }
.drawer-foot { margin-top: auto; padding: 1.5rem var(--gutter); border-top: 1px solid var(--c-line-dark); font-size: var(--fs-sm); color: rgba(255,255,255,0.7); display: grid; gap: 0.5rem; }
.drawer-foot a { color: #fff; }
.drawer-nav li { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.drawer[aria-hidden='false'] .drawer-nav > ul > li { opacity: 1; transform: none; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(1) { transition-delay: 120ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(2) { transition-delay: 170ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(3) { transition-delay: 220ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(4) { transition-delay: 270ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(5) { transition-delay: 320ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(6) { transition-delay: 370ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(7) { transition-delay: 420ms; }
.drawer[aria-hidden='false'] .drawer-nav > ul > li:nth-child(8) { transition-delay: 470ms; }
.drawer-sub li { opacity: 1; transform: none; }
body.drawer-open { overflow: hidden; }

/* 6 ------------------------------------------------- Hero compositions */
.hero-home { position: relative; overflow: clip; padding-block: clamp(2.5rem, 2vw + 1.5rem, 4.5rem) clamp(3rem, 6vw, 6rem); }
.hero-home .container { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 64rem) { .hero-home .container { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: var(--fs-hero); margin-top: var(--s-4); }
.hero-copy h1 .line { display: block; overflow: hidden; }
.hero-copy h1 .line > span { display: block; }
.hero-copy .lede { margin-top: var(--s-5); font-size: var(--fs-lg); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.hero-proof div { display: grid; gap: 0.1rem; }
.hero-proof b { font-family: var(--f-display); font-size: var(--fs-xl); font-weight: 500; color: var(--c-ink); line-height: 1; }
.hero-proof span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }

.hero-visual { position: relative; min-height: 26rem; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); }
@media (min-width: 64rem) { .hero-visual { min-height: 40rem; } }
.hero-visual > * { position: relative; }
.hero-img-main { grid-column: 3 / 13; grid-row: 1 / 12; border-radius: var(--r-arch); overflow: hidden; box-shadow: var(--sh-lg); z-index: 2; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transform: scale(1.06); }
.hero-img-second { grid-column: 1 / 7; grid-row: 7 / 13; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-lg); z-index: 3; border: 6px solid var(--c-cream); }
.hero-img-second img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-badge {
  grid-column: 9 / 13; grid-row: 10 / 13; z-index: 4; align-self: end; justify-self: end;
  background: var(--c-gold); color: var(--c-ink); border-radius: var(--r-md); padding: 1rem 1.1rem; max-width: 12.5rem; box-shadow: var(--sh-md);
  display: grid; gap: 0.15rem;
}
.hero-badge b { font-family: var(--f-display); font-size: 2rem; line-height: 1; font-weight: 600; }
.hero-badge span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco.ring { width: 42vw; max-width: 36rem; aspect-ratio: 1; right: -12vw; top: -8rem; border: 1.5px solid var(--c-line); border-radius: 50%; }
.hero-deco.stripe { left: 0; top: 0; bottom: 0; width: 6px; }
.hero-caption { position: absolute; right: 0; bottom: -1.5rem; font-size: var(--fs-xs); color: var(--c-muted); }

/* Page hero (interior) — editorial, varied per page via modifiers */
.page-hero { position: relative; padding-block: clamp(3rem, 4vw + 1rem, 5.5rem) clamp(2.5rem, 4vw, 4rem); }
.page-hero h1 { margin-top: var(--s-3); }
.page-hero .lede { margin-top: var(--s-5); }
.page-hero.has-media .container { display: grid; gap: var(--s-7); align-items: end; }
@media (min-width: 64rem) { .page-hero.has-media .container { grid-template-columns: 1.2fr 1fr; } }
.page-hero-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-lg); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.dark { background: var(--c-ink); color: #fff; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lede { color: rgba(255,255,255,0.78); }
.page-hero.banner { background: var(--c-ink); color: #fff; isolation: isolate; overflow: clip; min-height: 28rem; display: flex; align-items: flex-end; }
.page-hero.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.6; }
.page-hero.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,31,75,0.96) 10%, rgba(14,31,75,0.35) 70%, rgba(14,31,75,0.1)); }
.page-hero.banner h1 { color: #fff; }
.page-hero.banner .lede { color: rgba(255,255,255,0.8); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.breadcrumbs a { text-decoration: none; color: inherit; }
.breadcrumbs a:hover { color: var(--c-blue); }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.on-dark .breadcrumbs, .dark .breadcrumbs, .banner .breadcrumbs { color: rgba(255,255,255,0.65); }

/* 7 ---------------------------------------------- Section patterns */
/* Intro: text + offset image with pillar stripe */
.intro-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 64rem) { .intro-grid { grid-template-columns: 1fr 1fr; } .intro-grid.reverse > :first-child { order: 2; } }
.media-stack { position: relative; }
.media-stack .main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sh-lg); }
.media-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .inset {
  position: absolute; right: -1rem; bottom: -1.5rem; width: 46%; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-lg); border: 6px solid var(--c-cream); aspect-ratio: 1;
}
.media-stack .inset img { width: 100%; height: 100%; object-fit: cover; }
.section-paper .media-stack .inset, .section-paper .hero-img-second { border-color: #fff; }
.media-stack .stripe { position: absolute; left: -1.25rem; top: 10%; height: 40%; }
@media (max-width: 40rem) { .media-stack .inset { right: 0.5rem; bottom: -1rem; width: 44%; } .media-stack .stripe { display: none; } }
.media-stack .caption { position: absolute; left: 0; bottom: -2.4rem; font-size: var(--fs-xs); color: var(--c-muted); }

/* Big-number pillars */
.pillars { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--c-paper); padding: 2rem 1.75rem; display: grid; gap: 0.75rem; align-content: start; position: relative; min-height: 16rem; transition: background var(--dur-base); }
.pillar::before { content: ''; height: 6px; width: 3rem; border-radius: 3px; background: var(--pillar, var(--c-blue)); }
.pillar b { font-family: var(--f-display); font-size: var(--fs-2xl); font-weight: 500; line-height: 1; color: var(--c-ink); }
.pillar h3 { font-family: var(--f-body); font-size: var(--fs-base); }
.pillar p { font-size: var(--fs-sm); color: var(--c-muted); }
.pillar:hover { background: var(--c-cream); }

/* Benefits — editorial list with large numerals */
.benefit-list { display: grid; gap: 0; counter-reset: benefit; border-top: 1px solid var(--c-line-dark); }
.benefit { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-line-dark); align-items: start; }
@media (min-width: 48rem) { .benefit { grid-template-columns: 5rem 1fr 1fr; gap: 2rem; } }
.benefit::before { counter-increment: benefit; content: counter(benefit, decimal-leading-zero); font-family: var(--f-display); font-size: var(--fs-xl); color: var(--c-gold); line-height: 1; font-weight: 400; }
.benefit h3 { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 500; color: #fff; }
.benefit p { color: rgba(255,255,255,0.74); font-size: var(--fs-sm); }
@media (max-width: 47.99rem) { .benefit p { grid-column: 2; } }

/* Marquee of member categories */
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.25rem; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; transition: background var(--dur-fast), border-color var(--dur-fast); }
.marquee-track a:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.marquee-track a i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dot, var(--c-blue)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Quote band */
.quote-band { position: relative; }
.quote-band blockquote { font-family: var(--f-display); font-size: var(--fs-2xl); font-weight: 400; line-height: 1.2; color: var(--c-ink); letter-spacing: -0.01em; max-width: 52rem; }
.quote-band blockquote::before { content: '“'; display: block; font-size: 5rem; line-height: 0.6; color: var(--c-gold); margin-bottom: 1rem; }
.quote-band figcaption { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; font-size: var(--fs-sm); color: var(--c-muted); }
.quote-band figcaption b { color: var(--c-ink); display: block; }

/* CTA band */
.cta-band { position: relative; overflow: clip; border-radius: var(--r-lg); background: var(--c-blue); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem); isolation: isolate; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band p { color: rgba(255,255,255,0.82); }
.cta-band .deco { position: absolute; z-index: -1; right: -8rem; top: -8rem; width: 28rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%); }
.cta-band .deco-2 { position: absolute; z-index: -1; left: -6rem; bottom: -10rem; width: 24rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); }
.cta-band .grid { align-items: center; }
.cta-price { display: grid; gap: 0.25rem; padding: 1.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-md); }
.cta-band .stat b { font-size: var(--fs-2xl); color: #fff; }
.cta-band .stat-strip { gap: 1.5rem 1rem; }
.cta-price b { font-family: var(--f-display); font-size: var(--fs-2xl); line-height: 1; font-weight: 500; }
.cta-price span { font-size: var(--fs-sm); color: rgba(255,255,255,0.8); }

/* Timeline (history) */
.timeline { position: relative; display: grid; gap: 2.5rem; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--c-line); }
.timeline li { position: relative; display: grid; gap: 0.3rem; }
.timeline li::before { content: ''; position: absolute; left: -2rem; top: 0.45rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--c-gold); border: 3px solid var(--c-cream); box-shadow: 0 0 0 1px var(--c-line); }
.timeline time { font-family: var(--f-display); font-size: var(--fs-xl); color: var(--c-ink); line-height: 1; }
.timeline h3 { font-family: var(--f-body); font-size: var(--fs-md); }
.timeline p { color: var(--c-muted); font-size: var(--fs-sm); }

/* Stat strip */
.stat-strip { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip.two { grid-template-columns: repeat(2, 1fr); }
.stat { min-width: 0; }
@media (max-width: 39.99rem) { .stat b { font-size: clamp(1.9rem, 9vw, 2.6rem); } .stat { padding-left: 0.9rem; } }
.stat { display: grid; gap: 0.35rem; border-left: 2px solid var(--c-gold); padding-left: 1.25rem; }
.stat b { font-family: var(--f-display); font-size: var(--fs-3xl); line-height: 0.95; font-weight: 400; color: #fff; letter-spacing: -0.02em; }
.stat span { font-size: var(--fs-sm); color: rgba(255,255,255,0.75); }
.stat small { font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }

/* Team grid */
.people { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
@media (max-width: 39.99rem) { .people { grid-template-columns: repeat(2, 1fr); } .person .avatar { font-size: 1.5rem; } }
.person { display: grid; gap: 0.6rem; }
.person .avatar { aspect-ratio: 1; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-cream-2); color: var(--c-ink); font-family: var(--f-display); font-size: 2rem; overflow: hidden; position: relative; }
.person .avatar::after { content: ''; position: absolute; inset: auto 0 0; height: 5px; background: var(--pillar, var(--c-blue)); }
.person h3 { font-family: var(--f-body); font-size: var(--fs-base); }
.person p { font-size: var(--fs-sm); color: var(--c-muted); }
.person a { color: var(--c-blue); font-size: var(--fs-sm); text-decoration: none; }
.person a:hover { text-decoration: underline; }
.board-list { columns: 1; gap: 2rem; }
@media (min-width: 40rem) { .board-list { columns: 2; } }
@media (min-width: 64rem) { .board-list { columns: 3; } }
.board-list li { break-inside: avoid; padding: 0.85rem 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 0.1rem; }
.board-list b { color: var(--c-ink); font-weight: 600; }
.board-list span { font-size: var(--fs-sm); color: var(--c-muted); }
.board-list em { font-style: normal; font-size: var(--fs-xs); font-weight: 700; color: var(--c-blue); letter-spacing: 0.06em; text-transform: uppercase; }

/* Pricing table */
.price-tiers { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .price-tiers { grid-template-columns: 1.4fr 1fr; } }
.price-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.price-card header { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.price-card header h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lg); }
.price-rows { display: grid; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 1.75rem; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); transition: background var(--dur-fast); }
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: var(--c-cream); }
.price-row b { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 500; color: var(--c-ink); white-space: nowrap; }
.price-row span { color: var(--c-muted); }
.price-note { padding: 1rem 1.75rem; font-size: var(--fs-xs); color: var(--c-muted); background: var(--c-cream); }

/* FAQ */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font-weight: 600; color: var(--c-ink); font-size: var(--fs-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--c-blue); transition: transform var(--dur-base) var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--c-muted); max-width: 48rem; }

/* In-page subnav */
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subnav a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.4rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--c-line); background: #fff; font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink); text-decoration: none; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.subnav a:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.on-dark .subnav a { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.on-dark .subnav a:hover { background: #fff; color: var(--c-ink); }
/* Two-column editorial text */
.two-col { columns: 1; gap: 3rem; }
@media (min-width: 48rem) { .two-col { columns: 2; } }
.two-col > * { break-inside: avoid; }
/* Definition rows (fact sheet) */
.facts { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 40rem) { .facts > div { grid-template-columns: 14rem 1fr; gap: 1.5rem; } }
.facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.facts dd { margin: 0; color: var(--c-fg); }
.facts dd small { display: block; color: var(--c-mist); font-size: var(--fs-xs); margin-top: 0.15rem; }
/* Offer table */
.offer-list { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.offer { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); position: relative; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.offer:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.offer .monogram { width: 3rem; height: 3rem; font-size: 1.2rem; }
.offer h3 { font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 600; }
.offer h3 a { text-decoration: none; } .offer h3 a::after { content: ''; position: absolute; inset: 0; }
.offer p { font-family: var(--f-display); font-size: var(--fs-md); color: var(--c-ink); margin-top: 0.25rem; line-height: 1.3; }
.offer small { display: block; font-size: var(--fs-xs); color: var(--c-muted); margin-top: 0.35rem; }
/* Map embed */
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-cream-2); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Big editorial number list (signature events) */
.sig-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.sig { display: grid; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--c-line); align-items: center; }
@media (min-width: 48rem) { .sig { grid-template-columns: 8rem 1fr 18rem; gap: 2rem; } }
.sig .month { font-family: var(--f-display); font-size: var(--fs-xl); color: var(--c-blue); line-height: 1; }
.sig .month small { display: block; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-top: 0.4rem; }
.sig h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-xl); }
.sig p { color: var(--c-muted); margin-top: 0.4rem; }
.sig .media { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--c-cream-2); }
.sig .media img { width: 100%; height: 100%; object-fit: cover; }

/* 8 -------------------------------------------------- Cards & lists */
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-cream-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; flex: 1; }
.card-body h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lg); }
.card-body h3 a { text-decoration: none; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.card-body p { color: var(--c-muted); font-size: var(--fs-sm); }
.card-foot { margin-top: auto; padding-top: 0.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--fs-sm); }
.card-dark { background: var(--c-ink); color: #fff; border-color: transparent; }
.card-dark .card-body h3, .card-dark .card-body h3 a { color: #fff; }
.card-dark .card-body p { color: rgba(255,255,255,0.72); }

/* Program cards — editorial, no photo dependency */
.program-card {
  display: grid; gap: 1rem; padding: 2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  min-height: 18rem; align-content: start;
}
.program-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pillar, var(--c-blue)); }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.program-card .kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--pillar, var(--c-blue)); }
.program-card h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-xl); }
.program-card h3 a { text-decoration: none; }
.program-card h3 a::after { content: ''; position: absolute; inset: 0; }
.program-card p { color: var(--c-muted); font-size: var(--fs-sm); }
.program-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-xs); color: var(--c-muted); }
.program-card .meta span { padding: 0.25rem 0.6rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.program-card.featured { grid-column: 1 / -1; background: var(--c-ink); color: #fff; border-color: transparent; }
@media (min-width: 64rem) { .program-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .program-card.featured .copy { display: grid; gap: 1rem; align-content: start; } }
.program-card.featured h3, .program-card.featured h3 a { color: #fff; }
.program-card.featured p { color: rgba(255,255,255,0.75); }
.program-card.featured .meta span { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
.program-card.featured .media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.program-card.featured .media img { width: 100%; height: 100%; object-fit: cover; }

/* Resource link list */
.resource-list { display: grid; gap: 0.5rem; }
.resource-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--c-line); text-decoration: none; transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.resource-list a:hover { border-color: var(--c-blue); transform: translateX(4px); }
.resource-list b { color: var(--c-ink); font-weight: 600; display: block; }
.resource-list span { font-size: var(--fs-sm); color: var(--c-muted); }
.resource-list svg { width: 1.1rem; height: 1.1rem; color: var(--c-blue); }

/* Link tiles (Explore) */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tile { position: relative; display: grid; align-content: end; gap: 0.35rem; min-height: 16rem; padding: 1.5rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--c-ink); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease-out); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,31,75,0.95) 0%, rgba(14,31,75,0.25) 60%, rgba(14,31,75,0.05)); }
.tile:hover img { transform: scale(1.05); }
.tile b { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 500; }
.tile span { font-size: var(--fs-sm); color: rgba(255,255,255,0.8); }
.tile .kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-gold); }
.tile.tile-solid { background: var(--tile, var(--c-blue)); }
.tile.tile-solid::after { display: none; }
.tile.tile-tall { min-height: 22rem; }
.tile.tile-wide { grid-column: 1 / -1; min-height: 12rem; }
@media (min-width: 64rem) { .tiles-explore { grid-template-columns: repeat(4, 1fr); } .tiles-explore .tile-tall { grid-row: span 2; } .tiles-explore .tile-wide { grid-column: span 3; } }
.detail.contact-layout { }
@media (min-width: 64rem) { .detail.contact-layout { grid-template-columns: 1fr 1.2fr; } }
.section-paper .timeline li::before { border-color: #fff; }

/* Photo placeholder — honest slot for Chamber-supplied photography */
.photo-slot {
  position: relative; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: repeating-linear-gradient(135deg, var(--c-cream-2) 0 10px, #f4ecdd 10px 20px);
  color: var(--c-slate); border: 1px dashed var(--c-line); border-radius: var(--r-md); min-height: 100%;
}
.photo-slot span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.photo-slot small { display: block; margin-top: 0.3rem; font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0; text-transform: none; max-width: 16rem; }

/* 9 ------------------------------------ Directory / Events / News */
.toolbar { display: grid; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
@media (min-width: 64rem) { .toolbar { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border-radius: var(--r-md); border: 1.5px solid var(--c-line);
  background: var(--c-cream); color: var(--c-fg); transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-blue); background: #fff; box-shadow: 0 0 0 4px rgba(39,81,163,0.14); }
.input::placeholder { color: var(--c-mist); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--c-mist); pointer-events: none; }
.input-wrap .input { padding-left: 2.75rem; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5263' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.75rem; }
.textarea { min-height: 8rem; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; padding: 0.35rem 0.9rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line); background: #fff; font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed='true'] { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.chip i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dot, var(--c-blue)); }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; font-size: var(--fs-sm); color: var(--c-muted); }
.results-bar b { color: var(--c-ink); }
.view-toggle { display: inline-flex; border: 1.5px solid var(--c-line); border-radius: var(--r-pill); overflow: hidden; background: #fff; }
.view-toggle button { padding: 0.45rem 0.9rem; font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); display: inline-flex; gap: 0.4rem; align-items: center; }
.view-toggle button svg { width: 1rem; height: 1rem; }
.view-toggle button[aria-pressed='true'] { background: var(--c-ink); color: #fff; }

.member-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.member-card { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base); }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: transparent; }
.member-card.featured { border-color: var(--c-gold); }
.member-card.featured::before { content: 'Featured member'; position: absolute; top: -0.6rem; left: 1rem; background: var(--c-gold); color: var(--c-ink); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); }
.monogram { width: 3.5rem; height: 3.5rem; border-radius: var(--r-md); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--mono-fg, #fff); background: var(--mono, var(--c-blue)); flex: none; }
.member-card h3, .on-dark .member-card h3, .on-dark .member-card h3 a { font-family: var(--f-body); font-size: var(--fs-base); font-weight: 600; line-height: 1.3; color: var(--c-ink); }
.member-card h3 a { text-decoration: none; }
.member-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.member-card .industry { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 0.15rem; }
.member-card .note { font-size: var(--fs-xs); color: var(--c-slate); margin-top: 0.5rem; }
.member-list .member-card { grid-template-columns: 3rem 1fr auto; align-items: center; padding: 0.9rem 1.25rem; border-radius: var(--r-md); }
.member-list .member-card .monogram { width: 3rem; height: 3rem; font-size: 1.2rem; }
.member-list .member-card .note { display: none; }
.member-list { display: grid; gap: 0.5rem; }
.member-list .member-card .chev { width: 1.1rem; height: 1.1rem; color: var(--c-mist); }
.member-grid .chev { display: none; }

.empty-state { text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.5rem; border: 1px dashed var(--c-line); border-radius: var(--r-lg); background: #fff; display: grid; gap: 0.75rem; justify-items: center; }
.empty-state .glyph { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-cream-2); color: var(--c-ink); }
.empty-state .glyph svg { width: 1.5rem; height: 1.5rem; }
.empty-state h3 { font-family: var(--f-display); font-weight: 500; }
.empty-state p { color: var(--c-muted); max-width: 28rem; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 0.35rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination button { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.75rem; border-radius: var(--r-pill); border: 1.5px solid var(--c-line); background: #fff; font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; }
.pagination button:hover:not(:disabled) { border-color: var(--c-ink); }
.pagination button[aria-current='page'] { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button svg { width: 1rem; height: 1rem; }

/* Detail page layout */
.detail { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .detail { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.detail-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.info-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: 1rem; }
.info-card h2, .info-card h3 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.info-row { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); }
.info-row svg { width: 1.25rem; height: 1.25rem; color: var(--c-blue); margin-top: 0.1rem; }
.info-row a { color: var(--c-ink); }
.info-row .na { color: var(--c-mist); font-style: italic; }
.detail-hero { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: auto 1fr; }
.detail-hero .monogram { width: 5rem; height: 5rem; font-size: 2rem; border-radius: var(--r-lg); }
.detail-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-cream-2); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

/* Detail-page loading placeholder (reserves space until data renders) */
#member-app:not(.is-ready), #event-app:not(.is-ready), #article-app:not(.is-ready) { min-height: 100vh; }

/* Events */
.events-split { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 64rem) { .events-split { grid-template-columns: 1fr 1fr; } }
.event-row.compact { grid-template-columns: 5rem 1fr; gap: 1.25rem; align-items: start; }
.event-row.compact { row-gap: 0.35rem; }
.event-row.compact .tags { grid-column: 2; margin-top: 0.1rem; }
.event-row.compact h3 { font-size: var(--fs-md); }
.event-row { display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-line); position: relative; align-items: start; }
@media (min-width: 48rem) { .event-row { grid-template-columns: 6rem 1fr 14rem; gap: 2rem; align-items: center; } }
.event-row:hover .date-block { background: var(--c-ink); color: #fff; }
.date-block { display: grid; justify-items: center; gap: 0; padding: 0.75rem 0.5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); text-align: center; transition: background var(--dur-base), color var(--dur-base); }
.date-block b { font-family: var(--f-display); font-size: 2rem; line-height: 1; font-weight: 500; }
.date-block span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.date-block small { font-size: 0.65rem; opacity: 0.7; margin-top: 0.2rem; }
.event-row h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lg); }
.event-row h3 a { text-decoration: none; }
.event-row h3 a::after { content: ''; position: absolute; inset: 0; }
.event-row .meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: var(--fs-sm); color: var(--c-muted); margin-top: 0.35rem; }
.event-row .meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.event-row .meta svg { width: 1rem; height: 1rem; }
.event-row .thumb { display: none; }
@media (min-width: 48rem) { .event-row .thumb { display: block; aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: var(--c-cream-2); } .event-row .thumb img { width: 100%; height: 100%; object-fit: cover; } }
.event-row .tags { grid-column: 2; margin-top: 0.5rem; }
@media (min-width: 48rem) { .event-row .tags { grid-column: auto; margin: 0; } }
.event-feature { position: relative; display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--c-ink); color: #fff; isolation: isolate; min-height: 26rem; }
@media (min-width: 64rem) { .event-feature { grid-template-columns: 1fr 1fr; } }
.event-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.event-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,31,75,0.97) 35%, rgba(14,31,75,0.4)); }
.event-feature .copy { padding: clamp(2rem, 4vw, 3.5rem); display: grid; gap: 1rem; align-content: end; }
.event-feature h2, .event-feature h3 { color: #fff; }
.event-feature p { color: rgba(255,255,255,0.8); }
.month-head { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 0.5rem; }
.month-head h2 { font-size: var(--fs-xl); }
.month-head::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.month-head:first-child { margin-top: 0; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.calendar .dow { background: var(--c-cream-2); padding: 0.5rem 0.25rem; text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.calendar .day { background: #fff; min-height: 5.5rem; padding: 0.4rem; display: grid; align-content: start; gap: 0.25rem; font-size: var(--fs-xs); }
.calendar .day.pad { background: var(--c-cream); }
.calendar .day .n { font-weight: 600; color: var(--c-muted); }
.calendar .day.today .n { color: #fff; background: var(--c-coral); border-radius: 50%; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; }
.calendar .day a { display: block; padding: 0.2rem 0.4rem; border-radius: var(--r-xs); background: var(--c-blue-100); color: var(--c-blue-700); text-decoration: none; font-weight: 600; font-size: 0.68rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.calendar .day a.signature { background: #fdefd6; color: #8a5a0b; }
@media (max-width: 48rem) { .calendar .day { min-height: 3.5rem; } .calendar .day a { font-size: 0; padding: 0; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-blue); } .calendar .day a.signature { background: var(--c-gold); } }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-head h2 { font-size: var(--fs-xl); }
.cal-head button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--c-line); background: #fff; display: grid; place-items: center; }
.cal-head button svg { width: 1rem; height: 1rem; }

/* News */
.news-feature { display: grid; gap: 1.5rem; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-line); position: relative; }
@media (min-width: 64rem) { .news-feature { grid-template-columns: 1.2fr 1fr; } }
.news-feature .media { aspect-ratio: 16/10; background: var(--c-cream-2); }
@media (min-width: 64rem) { .news-feature .media { aspect-ratio: auto; min-height: 100%; } }
.news-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .copy { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: center; }
.news-feature h2 { font-size: var(--fs-xl); }
.news-feature h2 a { text-decoration: none; }
.news-feature h2 a::after { content: ''; position: absolute; inset: 0; }
.byline { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.article-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.article-item { display: grid; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-line); position: relative; }
@media (min-width: 48rem) { .article-item { grid-template-columns: 9rem 1fr auto; gap: 2rem; align-items: center; } }
.article-item time { font-family: var(--f-display); font-size: var(--fs-md); color: var(--c-ink); }
.article-item h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lg); }
.article-item h3 a { text-decoration: none; }
.article-item h3 a::after { content: ''; position: absolute; inset: 0; }
.article-item p { color: var(--c-muted); font-size: var(--fs-sm); margin-top: 0.25rem; }
.article-head { max-width: var(--container-narrow); margin-inline: auto; display: grid; gap: 1.25rem; }
.article-head h1 { font-size: var(--fs-2xl); }
.article-body { max-width: var(--container-narrow); margin-inline: auto; margin-top: var(--s-7); font-size: var(--fs-md); }
.source-note { margin-top: var(--s-7); padding: 1rem 1.25rem; background: #fff; border-left: 4px solid var(--c-gold); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--c-muted); }
.source-note a { color: var(--c-blue); }

/* 10 ---------------------------------------------------------- Forms */
.form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.form fieldset { border: 0; padding: 0; display: grid; gap: 1.25rem; }
.form legend { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 500; color: var(--c-ink); margin-bottom: 0.75rem; padding: 0; }
.field .hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field .error-msg { display: none; font-size: var(--fs-xs); color: var(--c-error); font-weight: 600; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--c-error); background: #fff7f6; }
.field.is-invalid .error-msg { display: block; }
.field .req { color: var(--c-coral); }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); color: var(--c-fg); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--c-blue); }
.radio-cards { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.radio-card { position: relative; display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border: 1.5px solid var(--c-line); border-radius: var(--r-md); background: #fff; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-card b { font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); }
.radio-card span { font-size: var(--fs-xs); color: var(--c-muted); }
.radio-card:has(input:checked) { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(39,81,163,0.15); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted); }
.form-status { display: none; padding: 1.25rem 1.5rem; border-radius: var(--r-md); font-size: var(--fs-sm); align-items: flex-start; gap: 0.75rem; }
.form-status.is-visible { display: flex; }
.form-status.success { background: #e7f3ea; color: #1d4f2d; border: 1px solid #bfe0c8; }
.form-status.error { background: #fdecea; color: #7a1f17; border: 1px solid #f3c2bd; }
.form-status svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.1rem; }
.form-status b { display: block; margin-bottom: 0.15rem; }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.prototype-note { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem; border-radius: var(--r-pill); background: #fdefd6; color: #8a5a0b; font-size: var(--fs-xs); font-weight: 600; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.step::before { counter-increment: step; content: counter(step); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; }
.step b { display: block; color: var(--c-ink); }
.step span { font-size: var(--fs-sm); color: var(--c-muted); }
.on-dark .step::before { background: var(--c-gold); color: var(--c-ink); }
.on-dark .step b { color: #fff; } .on-dark .step span { color: rgba(255,255,255,0.72); }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); z-index: var(--z-toast); background: var(--c-ink); color: #fff; padding: 0.9rem 1.25rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out); max-width: calc(100% - 2rem); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 11 --------------------------------------------------------- Footer */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,0.78); position: relative; overflow: clip; }
.footer-top { padding-block: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 3rem); display: grid; gap: 3rem; }
@media (min-width: 64rem) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer-brand { display: grid; gap: 1.25rem; align-content: start; }
.footer-brand p { font-size: var(--fs-sm); max-width: 20rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text small { color: var(--c-gold); }
.footer-col h3 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: var(--fs-sm); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--c-gold); }
.footer-contact { display: grid; gap: 0.75rem; font-size: var(--fs-sm); }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .row { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; align-items: start; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; color: var(--c-gold); margin-top: 0.15rem; }
.footer-newsletter { display: grid; gap: 0.75rem; }
.footer-newsletter form { display: flex; gap: 0.5rem; }
.footer-newsletter form .input { flex: 1; min-width: 0; }
.footer-newsletter .input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; min-height: 2.75rem; }
.footer-newsletter .input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter .input:focus { background: rgba(255,255,255,0.12); border-color: var(--c-gold); box-shadow: 0 0 0 4px rgba(242,169,59,0.25); }
.socials { display: flex; gap: 0.5rem; }
.socials a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); color: #fff; transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); }
.socials a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-ink); transform: translateY(-2px); }
.socials svg { width: 1.1rem; height: 1.1rem; }
.footer-wordmark::before { content: attr(data-text); }
.footer-wordmark { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 12vw, 11rem); line-height: 0.85; letter-spacing: -0.03em; color: rgba(255,255,255,0.06); user-select: none; white-space: nowrap; padding-inline: var(--gutter); overflow: hidden; }
.footer-bottom { border-top: 1px solid var(--c-line-dark); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.55); }
.footer-bottom a { color: inherit; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.accreditations { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.accreditations span { font-size: var(--fs-xs); border: 1px solid rgba(255,255,255,0.2); padding: 0.35rem 0.7rem; border-radius: var(--r-pill); }

/* Overflow safety for long unbreakable strings (emails, URLs) and wide tables */
.info-row span, .facts dd, .footer-contact, .step span, .offer p, .drawer-foot, .card-body p, .person a { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.form-card { min-width: 0; } .form-grid > * { min-width: 0; } .detail > * { min-width: 0; }
input[type='file'].input { max-width: 100%; }

/* 12 --------------------------------------------------------- Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.reveal-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-mask.is-in { clip-path: inset(0 0 0 0); }
.reveal-wipe { clip-path: inset(0 100% 0 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-wipe.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
@keyframes heroRise { from { transform: translateY(0.45em); } to { transform: none; } }
@keyframes heroFade { from { transform: translateY(14px); } to { transform: none; } }
.hero-copy .line > span { animation: heroRise 1s var(--ease-out) both; }
.hero-copy .line:nth-child(2) > span { animation-delay: 90ms; }
.hero-copy .line:nth-child(3) > span { animation-delay: 180ms; }
.hero-copy .eyebrow, .hero-copy .lede, .hero-actions, .hero-proof { animation: heroFade 0.9s var(--ease-out) both; }
.hero-copy .lede { animation-delay: 120ms; } .hero-actions { animation-delay: 200ms; } .hero-proof { animation-delay: 280ms; }
.hero-visual .hero-img-main { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); transition: clip-path 1.3s var(--ease-out) 200ms; }
.hero-visual.is-in .hero-img-main { clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); }
.hero-visual .hero-img-second { opacity: 0; transform: translate(-20px, 20px); transition: opacity 0.9s var(--ease-out) 700ms, transform 0.9s var(--ease-out) 700ms; }
.hero-visual.is-in .hero-img-second { opacity: 1; transform: none; }
.hero-visual .hero-badge { opacity: 0; transform: scale(0.8); transition: opacity 0.6s var(--ease-out) 1000ms, transform 0.6s var(--ease-out) 1000ms; }
.hero-visual.is-in .hero-badge { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }
.counter { font-variant-numeric: tabular-nums; }

@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; transition-delay: 0ms !important; }
  .reveal, .reveal-scale, .reveal-mask, .reveal-wipe, .hero-copy .line > span, .hero-copy .eyebrow, .hero-copy .lede, .hero-actions, .hero-proof, .hero-visual .hero-img-main, .hero-visual .hero-img-second, .hero-visual .hero-badge { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track [data-dup] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  [data-parallax] { transform: none !important; }
}
.no-js .reveal, .no-js .reveal-scale, .no-js .reveal-mask, .no-js .reveal-wipe, .no-js .hero-copy .line > span, .no-js .hero-copy .eyebrow, .no-js .hero-copy .lede, .no-js .hero-actions, .no-js .hero-proof, .no-js .hero-visual .hero-img-main, .no-js .hero-visual .hero-img-second, .no-js .hero-visual .hero-badge { opacity: 1; transform: none; clip-path: none; }

@media print {
  .site-header, .site-footer, .drawer, .btn, .toast { display: none !important; }
  body { background: #fff; color: #000; }
}
