/* ══════════════════════════════════════════════════════════════════════
   OMXUS — Shared Design System  ·  base.css
   Neutral, premium, airy. White / ivory / grey / near-black.
   Each site sets ONE thing to get its "splash of colour":
       :root { --accent: #hexcode; }   (and optionally --accent-ink)
   Everything else derives from the neutral scale below.
   ══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Neutral core (the whole brand lives here) ── */
  --white:    #ffffff;
  --ivory:    #fcfbf8;   /* warm paper — default page background */
  --bg:       #fafafa;
  --bg-soft:  #f6f5f2;   /* alternating section band (warm) */
  --bg-band:  #f4f4f5;   /* alternating section band (cool) */
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-150: #ececee;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --ink:      #0b0f17;   /* near-black for headings */

  /* ── Accent — OVERRIDE PER SITE. Neutral slate by default. ── */
  --accent:        #334155;
  --accent-ink:    #1e293b;   /* darker accent for text on light */
  --accent-soft:   color-mix(in srgb, var(--accent) 14%, white);
  --accent-line:   color-mix(in srgb, var(--accent) 28%, white);
  --accent-wash:   color-mix(in srgb, var(--accent) 6%, white);
  --accent-contrast: #ffffff; /* text colour that sits on --accent */

  /* ── Type ── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;   /* editorial headings / pull quotes */
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  /* ── Shape & depth ── */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(16,24,40,0.04);
  --shadow-sm: 0 1px 3px rgba(16,24,40,0.06), 0 1px 2px rgba(16,24,40,0.04);
  --shadow-md: 0 4px 16px rgba(16,24,40,0.07);
  --shadow-lg: 0 12px 34px rgba(16,24,40,0.10);
  --shadow-xl: 0 24px 60px rgba(16,24,40,0.13);
  --ring:      0 0 0 1px var(--gray-200);

  --max-w: 1180px;
  --max-w-narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset-ish base ── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--gray-600); }
strong { color: var(--gray-800); font-weight: 600; }

/* ══════════════ LAYOUT ══════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--max-w-narrow); margin-left: auto; margin-right: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.band { background: var(--bg-soft); }
.band-cool { background: var(--bg-band); }
.band-ink { background: var(--ink); color: var(--gray-300); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: #fff; }
.band-accent { background: var(--accent-wash); }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--accent-ink);
}
.kicker::before { content: ''; width: 20px; height: 1.5px; background: var(--accent-line); }
.kicker.center::before { display: none; }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { font-size: 1.06rem; color: var(--gray-500); }

.section-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-bar h2 { font-size: 1.5rem; }
.section-bar .more { font-size: 0.85rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.section-bar .more:hover { text-decoration: underline; }

/* ══════════════ HEADER / NAV ══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ivory) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--gray-150);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: 1rem; letter-spacing: -0.02em; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent); color: var(--accent-contrast);
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand .muted { color: var(--gray-400); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--gray-500); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-cta {
  padding: 8px 16px; border-radius: 100px; background: var(--ink); color: #fff !important;
  font-weight: 600; transition: transform 0.2s var(--ease), background 0.2s;
}
.nav-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--gray-700); }
@media (max-width: 860px) {
  .nav { position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-150);
    padding: 8px 0; transform: translateY(-120%); transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-lg); }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 12px 24px; }
  .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ══════════════ BUTTONS ══════════════ */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 100px;
  font-weight: 600; font-size: 0.94rem; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-family: var(--font); transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow-sm); }
.btn-accent:hover { box-shadow: var(--shadow-md); filter: brightness(1.05); }
.btn-ghost { background: var(--white); color: var(--gray-800); border-color: var(--gray-200); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--gray-300); }
.btn-quiet { background: transparent; color: var(--accent-ink); padding: 8px 4px; }
.btn-quiet:hover { transform: none; text-decoration: underline; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ══════════════ HERO ══════════════ */
.hero { position: relative; padding: clamp(72px, 12vw, 132px) 0 clamp(56px, 8vw, 92px); overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, var(--accent-wash), transparent 60%), linear-gradient(180deg, var(--white), var(--ivory)); }
.hero .container { position: relative; z-index: 2; }
.hero-center { text-align: center; max-width: 780px; margin: 0 auto; }
.hero h1 { margin: 20px 0 22px; }
.hero .lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--gray-500); max-width: 620px; line-height: 1.6; }
.hero-center .lede { margin: 0 auto 34px; }
.hero .highlight { color: var(--accent-ink); }
.hero .serif { font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
/* subtle grain/dot texture layer */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(var(--gray-200) 0.5px, transparent 0.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Stat strip under hero */
.stat-strip { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); justify-content: center; margin-top: 44px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat .n .accent { color: var(--accent-ink); }
.stat .l { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray-400); margin-top: 8px; font-weight: 600; }

/* ══════════════ CARDS ══════════════ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--gray-150); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-xs); transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s; }
.card.hover:hover, a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
a.card { text-decoration: none; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--gray-500); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
  background: var(--accent-wash); margin-bottom: 16px; }
.card.feature { padding: 32px; }
.card.accent-top { position: relative; overflow: hidden; }
.card.accent-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--accent-ink); }
.card:hover .card-link .arr { transform: translateX(3px); }
.card-link .arr { transition: transform 0.2s; }

/* Fact / number cards */
.fact { background: var(--white); border: 1px solid var(--gray-150); border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: var(--shadow-xs); }
.fact .n { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--accent-ink); margin-bottom: 6px; }
.fact .t { font-size: 0.86rem; color: var(--gray-500); line-height: 1.5; }

/* ══════════════ PILLS / TAGS / BADGES ══════════════ */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 600; background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-150); }
.pill.accent { background: var(--accent-wash); color: var(--accent-ink); border-color: var(--accent-line); }
.pill.ink { background: var(--ink); color: #fff; border-color: transparent; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 6px; background: var(--accent-wash); color: var(--accent-ink); }

/* ══════════════ TIDBITS (fun facts strip) ══════════════ */
.tidbit { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--white);
  border: 1px solid var(--gray-150); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.tidbit .dot { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-wash); font-size: 1.05rem; }
.tidbit .label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700; color: var(--accent-ink); }
.tidbit p { font-size: 0.9rem; color: var(--gray-600); margin-top: 2px; }

/* ══════════════ DIRECTORY / LINK LIST ══════════════ */
.dir { display: grid; gap: 12px; }
.dir-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white);
  border: 1px solid var(--gray-150); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.dir-item:hover { border-color: var(--accent-line); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.dir-item .fav { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-wash);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; color: var(--accent-ink); }
.dir-item .grow { flex: 1; min-width: 0; }
.dir-item .name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.dir-item .desc { font-size: 0.82rem; color: var(--gray-500); }
.dir-item .ext { color: var(--gray-300); transition: color 0.2s, transform 0.2s; }
.dir-item:hover .ext { color: var(--accent-ink); transform: translate(2px, -2px); }

/* ══════════════ THE BOARD (people) ══════════════ */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.person { text-align: center; }
.person .avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover;
  background: linear-gradient(135deg, var(--accent-soft), var(--gray-100)); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.7rem; color: var(--accent-ink); border: 1px solid var(--gray-150); box-shadow: var(--shadow-sm); }
.person .name { font-weight: 700; color: var(--ink); }
.person .role { font-size: 0.82rem; color: var(--accent-ink); font-weight: 600; margin-top: 2px; }
.person .bio { font-size: 0.85rem; color: var(--gray-500); margin-top: 8px; }

/* ══════════════ EVENTS / TIMELINE ══════════════ */
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 22px 24px; background: var(--white);
  border: 1px solid var(--gray-150); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s, border-color 0.25s; }
.event:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.event .when { text-align: center; }
.event .when .d { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.event .when .m { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); font-weight: 700; margin-top: 4px; }
.event .when .y { font-size: 0.72rem; color: var(--gray-400); }
.event h3 { font-size: 1.05rem; margin-bottom: 4px; }
.event p { font-size: 0.9rem; color: var(--gray-500); }
@media (max-width: 620px) { .event { grid-template-columns: 64px 1fr; gap: 16px; } .event .when .d { font-size: 1.3rem; } }

.timeline { position: relative; display: flex; flex-direction: column; padding-left: 8px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.tl-item { position: relative; padding: 0 0 28px 34px; }
.tl-item::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.tl-item .t-when { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-ink); }
.tl-item h3 { font-size: 1.02rem; margin: 4px 0 4px; }
.tl-item p { font-size: 0.9rem; color: var(--gray-500); }

/* ══════════════ BAR CHART (simple data) ══════════════ */
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 190px 1fr 56px; align-items: center; gap: 16px; }
.bar-row .bl { font-size: 0.86rem; color: var(--gray-700); font-weight: 500; text-align: right; }
.bar-track { height: 30px; background: var(--gray-100); border-radius: 7px; overflow: hidden; border: 1px solid var(--gray-150); }
.bar-fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--accent-line), var(--accent));
  width: 0; transition: width 1.1s var(--ease); }
.bar-row .bp { font-size: 0.86rem; font-weight: 600; color: var(--gray-500); }
@media (max-width: 620px) { .bar-row { grid-template-columns: 108px 1fr 44px; gap: 10px; } .bar-row .bl { font-size: 0.76rem; } }

/* ══════════════ QUOTE / CALLOUT / NOTE ══════════════ */
.quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.4;
  color: var(--ink); letter-spacing: -0.01em; }
.quote cite { display: block; font-family: var(--font); font-style: normal; font-size: 0.9rem; font-weight: 600;
  color: var(--accent-ink); margin-top: 20px; }
.callout { border-left: 3px solid var(--accent); background: var(--accent-wash); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout h3 { font-size: 1rem; margin-bottom: 6px; }
.callout p { font-size: 0.92rem; color: var(--gray-600); }
.note { font-size: 0.82rem; color: var(--gray-400); font-style: italic; }
.source { font-size: 0.76rem; color: var(--gray-400); }

/* ══════════════ PROSE (article body) ══════════════ */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--gray-600); font-size: 1.02rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.prose blockquote { border-left: 3px solid var(--accent-line); padding-left: 20px; color: var(--gray-500); font-style: italic; }
.prose .lead { font-size: 1.18rem; color: var(--gray-700); line-height: 1.6; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--gray-150); }
.prose figcaption { font-size: 0.8rem; color: var(--gray-400); margin-top: 8px; text-align: center; }

/* ══════════════ TABLE ══════════════ */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-150); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--white); }
table.data th { text-align: left; padding: 14px 18px; background: var(--bg-soft); color: var(--gray-700);
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--gray-200); }
table.data td { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--gray-50); }

/* ══════════════ CTA BAND ══════════════ */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: var(--gray-400); font-size: 1.06rem; max-width: 560px; margin: 0 auto 30px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.24); }
.cta .btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ══════════════ GET INVOLVED / FORM ══════════════ */
.form-card { background: var(--white); border: 1px solid var(--gray-150); border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); max-width: 480px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; color: var(--gray-800); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: 0.76rem; color: var(--gray-400); margin-top: 6px; }
.form-msg { font-size: 0.86rem; margin-top: 4px; min-height: 20px; }
.form-msg.err { color: #b91c1c; }
.form-msg.ok { color: #15803d; }
.addr-preview { font-family: var(--mono); font-size: 0.8rem; color: var(--gray-400); background: var(--gray-50);
  border: 1px solid var(--gray-150); border-radius: var(--radius-sm); padding: 11px 13px; word-break: break-all; min-height: 42px; }

/* ══════════════ FOOTER ══════════════ */
.site-footer { background: var(--bg); border-top: 1px solid var(--gray-150); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand p { font-size: 0.9rem; color: var(--gray-500); margin-top: 12px; max-width: 320px; }
.footer-col h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--gray-400); margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: var(--gray-600); font-size: 0.88rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom { border-top: 1px solid var(--gray-150); padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 0.78rem; color: var(--gray-400); text-decoration: none; }
.footer-bottom a:hover { color: var(--gray-600); }

/* ══════════════ REVEAL ON SCROLL ══════════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; } .reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; } .reveal.d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ══════════════ UTILITIES ══════════════ */
.center { text-align: center; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-6{margin-top:48px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.muted { color: var(--gray-400); }
.accent-text { color: var(--accent-ink); }
.serif { font-family: var(--serif); }
.hr { height: 1px; background: var(--gray-150); border: 0; margin: 0; }
.hidden { display: none !important; }
