/* Fonts are hosted with the site (no requests to Google). Inter and Fraunces, SIL Open Font License, see assets/fonts/OFL.txt */
@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff') format('woff'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces.woff') format('woff'); font-weight: 300 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   SMC Netherlands, shared stylesheet
   Loaded by every page. Page-specific tweaks live at the bottom.
   ========================================================================== */

:root {
  --red:    #BB2038;
  --orange: #F07010;
  --ink:    #1A1A1A;
  --muted:  #5A5A5A;
  --soft:   #FFF5F2;
  --rule:   #ECECEC;
  --bg:     #FAFAFA;
  --maxw:   1120px;
  --nav-h:  61px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Keyboard focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.25s ease;
}
nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; max-width: var(--maxw); margin: 0 auto; }
nav .brand { display: flex; align-items: center; flex-shrink: 0; }
nav img { height: 36px; width: auto; }
nav .links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
nav .links a { position: relative; padding: 2px 0; transition: color 0.2s; }
nav .links a:hover { color: var(--red); }
nav .links a.active { color: var(--ink); }
nav .links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--red); border-radius: 2px;
}
nav .cta {
  background: var(--red); color: #fff !important; padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
nav .cta:hover { background: #96182C; transform: translateY(-1px); }
nav .nav-right { display: flex; align-items: center; gap: 14px; }

/* Mobile menu */
.menu-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--rule);
  background: #fff; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink); padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 0.25s, background 0.25s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform 0.25s;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top:  6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--rule);
  background: rgba(255,255,255,0.97);
  padding: 8px 28px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--rule);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--red); }

@media (max-width: 860px) {
  nav .links { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 28px 80px;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(240,112,16,0.06), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(187,32,56,0.05), transparent 50%),
    #fff;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--orange); top: -100px; left: -150px; animation: float1 14s ease-in-out infinite; }
.hero::after  { width: 520px; height: 520px; background: var(--red);    bottom: -180px; right: -180px; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes float2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, -50px) scale(1.05); } }
.hero-logo { max-width: 260px; width: 50%; height: auto; margin-bottom: 32px; animation: rise 1s ease-out 0.1s both; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); max-width: 18ch; margin-bottom: 20px; animation: rise 1s ease-out 0.25s both; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p.lede {
  font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 56ch;
  margin-bottom: 40px; animation: rise 1s ease-out 0.4s both;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; animation: rise 1s ease-out 0.55s both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 90px) 0 70px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(240,112,16,0.08), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(187,32,56,0.06), transparent 55%),
    #fff;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { font-size: clamp(36px, 5.5vw, 58px); max-width: 20ch; margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer; border: none;
}
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(187,32,56,0.5); }
.btn.primary:hover { background: #96182C; transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(187,32,56,0.6); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 18px; }
.section-title { font-size: clamp(32px, 4vw, 46px); margin-bottom: 22px; max-width: 24ch; }
.section-title em { font-style: italic; color: var(--red); }
.lead-p { font-size: 17px; color: var(--muted); max-width: 60ch; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }
.heading-row .right { color: var(--muted); font-size: 15px; max-width: 36ch; }

/* Mission / Vision strip */
.mv { background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 60px 0; }
.mv .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 720px) { .mv .grid { grid-template-columns: 1fr; gap: 40px; } }
.mv-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.mv-body { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); }

/* What we do */
.what .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .what .grid { grid-template-columns: 1fr; gap: 40px; } }
.what ul { list-style: none; padding: 0; margin: 28px 0 0; }
.what li {
  display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s;
}
.what li.reveal { opacity: 1; transform: none; }
.what li:last-child { border-bottom: none; }
.what .li-num { font-family: 'Fraunces', serif; font-size: 32px; color: var(--orange); font-weight: 600; line-height: 1; flex-shrink: 0; width: 48px; }
/* Clock times are far wider than the "01" numerals this column was sized for,
   so they need their own width and a step down in size. */
.what .times .li-num { width: auto; min-width: 88px; font-size: 25px; padding-top: 2px; }
.what .li-content strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.what .li-content span { color: var(--muted); font-size: 15px; }

/* Stats */
.stats {
  background:
    radial-gradient(ellipse at top right, rgba(240,112,16,0.10), transparent 60%),
    radial-gradient(ellipse at bottom left,  rgba(187,32,56,0.08), transparent 60%),
    var(--soft);
  padding: 80px 0 76px;
}
/* Held to the carousel's column width so the band reads as part of the gallery. */
.stats > .container { max-width: 876px; }
.stats .section-title { margin-bottom: 0; }
.stats .grid { margin-top: 40px; }
.stats .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
@media (max-width: 720px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 28px; border-right: 1px solid rgba(0,0,0,0.08);
  opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s;
}
.stat.reveal { opacity: 1; transform: none; }
.stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.08); }
}
.stat-num { font-family: 'Fraunces', serif; font-size: clamp(40px, 5vw, 56px); font-weight: 600; color: var(--red); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 13px; color: var(--muted); }

/* Quote */
.quote { padding: 100px 0; text-align: center; }
.quote blockquote {
  margin: 0 auto; max-width: 36ch;
  font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(24px, 3vw, 32px);
  color: var(--ink); line-height: 1.35;
}
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Get involved cards */
.involved { background: var(--bg); padding: 100px 0; }
.involved .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
@media (max-width: 900px) { .involved .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(20px);
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: 0.6s;
}
.card.reveal { opacity: 1; transform: none; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.15); border-color: var(--orange); }
.card-num {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 38px; font-weight: 500;
  color: var(--orange); line-height: 1; margin-bottom: 4px; letter-spacing: -0.01em;
  transition: color 0.3s, transform 0.3s; transform-origin: left center;
}
.card:hover .card-num { color: var(--red); transform: scale(1.04); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; }
.card .link {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--red); font-size: 14px; transition: gap 0.2s;
}
.card:hover .link { gap: 10px; }

/* Final CTA */
.final {
  text-align: center; padding: 120px 0;
  background: radial-gradient(ellipse at center, rgba(187,32,56,0.06), transparent 60%), #fff;
}
.final h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.final p { color: var(--muted); margin-bottom: 40px; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* Footer */
footer { padding: 72px 0 36px; border-top: 1px solid var(--rule); background: #fff; }
footer .row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 48px; }
footer .row .left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--muted); font-size: 14px; }
/* The footer logo already spells the name out, so the motto is all the text needed. */
.footer-tagline { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #9A9A9A; }
footer img { height: 34px; width: auto; }
.footer-cols { display: flex; gap: 88px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--red); }
.footer-head { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; color: #999; }
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: var(--red); }
@media (max-width: 600px) { .footer-cols { gap: 56px; } footer .row { gap: 36px; } }

/* ---------- Gallery / carousel ---------- */
.gallery { padding: 100px 0 64px; background: #fff; }
/* Match the heading column to the narrower carousel so they share an edge. */
.gallery > .container { max-width: 876px; }

/* Source photos are 1400x788 (exactly 16/9). In most of them the walkers sit in
   the bottom quarter and the top half is sky, so each slide sets its own --zoom
   and --focus-y to frame the people rather than the canopy.
   820px keeps zoom up to ~1.7x inside the native 1400px, so no upscaling. */
.carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #0E0E0E;
  isolation: isolate;
  touch-action: pan-y;
}
/* No ring on mouse click; keep a visible one for keyboard users only. */
.carousel:focus { outline: none; }
.carousel:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.carousel .slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}
.carousel .slide.active { opacity: 1; pointer-events: auto; }

/* Per-slide framing. --zoom scales the photo up; --focus-y picks which band of
   it stays in view (100% = flush with the bottom edge, where the walkers are).
   Width-driven sizing is safe here because photo and frame share a ratio. */
.carousel .slide-media {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: calc(100% * var(--zoom, 1)) auto;
  background-position: 50% var(--focus-y, 50%);
}

/* Scrim sits at the TOP, over sky and canopy, the one region of these photos
   with nothing in it. The bottom, where the people are, is left completely clear. */
.carousel .slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,.30) 13%, rgba(0,0,0,0) 34%);
}

/* Caption, top-left, clear of the walkers at the bottom of every frame. */
.carousel .caption {
  position: absolute; left: 28px; right: 28px; top: 34px; z-index: 2;
  display: flex; align-items: baseline; gap: 15px; color: #fff;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .7s .25s, transform .7s .25s;
}
.carousel .slide.active .caption { opacity: 1; transform: none; }
.carousel .cap-index {
  font-family: 'Fraunces', Georgia, serif; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; color: rgba(255,255,255,.75); flex-shrink: 0;
  padding-right: 15px; border-right: 1px solid rgba(255,255,255,.3);
}
.carousel .cap-text { font-size: 15.5px; font-weight: 500; text-shadow: 0 1px 14px rgba(0,0,0,.55); }

/* Arrows, fade in on hover, stay put on touch devices. */
.carousel .nav-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(18,18,18,.3); backdrop-filter: blur(10px);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .3s, background .25s, color .25s, border-color .25s, transform .25s;
}
.carousel:hover .nav-arrow, .carousel:focus-within .nav-arrow { opacity: 1; }
.carousel .nav-arrow:hover { background: rgba(255,255,255,.95); color: var(--ink); border-color: transparent; }
.carousel .nav-arrow.prev { left: 22px; }
.carousel .nav-arrow.next { right: 22px; }
.carousel .nav-arrow.prev:hover { transform: translateY(-50%) translateX(-2px); }
.carousel .nav-arrow.next:hover { transform: translateY(-50%) translateX(2px); }
@media (hover: none) { .carousel .nav-arrow { opacity: 1; } }

/* Segmented progress bar doubles as the slide picker. */
.carousel .dots {
  position: absolute; z-index: 3; left: 28px; right: 28px; top: 20px;
  display: flex; gap: 8px;
}
.carousel .dots button {
  flex: 1; height: 3px; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,.3); border-radius: 999px; overflow: hidden;
  transition: background .25s, height .2s;
}
.carousel .dots button:hover { background: rgba(255,255,255,.55); height: 5px; }
.carousel .dots .fill { display: block; height: 100%; width: 0; background: #fff; border-radius: 999px; }
.carousel .dots button[aria-current="true"] .fill {
  animation: segfill var(--seg-dur, 5500ms) linear forwards;
}
@keyframes segfill { from { width: 0; } to { width: 100%; } }

@media (max-width: 720px) {
  .carousel { border-radius: 16px; }
  .carousel .caption { left: 18px; right: 18px; top: 26px; gap: 12px; }
  .carousel .cap-text { font-size: 13px; }
  .carousel .cap-index { font-size: 11.5px; padding-right: 11px; }
  .carousel .nav-arrow { width: 36px; height: 36px; }
  .carousel .nav-arrow.prev { left: 10px; }
  .carousel .nav-arrow.next { right: 10px; }
  .carousel .dots { left: 18px; right: 18px; top: 14px; }
}

/* ---------- Prose (about page) ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.prose p.first::first-letter {
  font-family: 'Fraunces', Georgia, serif; font-size: 62px; float: left;
  line-height: 0.82; padding: 6px 12px 0 0; color: var(--red); font-weight: 600;
}
.prose h3 { font-size: 26px; margin: 46px 0 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Two-column split with sticky aside */
.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.aside-box {
  background: var(--soft); border: 1px solid var(--rule); border-radius: 18px; padding: 30px;
  position: sticky; top: calc(var(--nav-h) + 28px);
}
@media (max-width: 900px) { .aside-box { position: static; } }
.aside-box h3 { font-size: 19px; margin-bottom: 16px; }
.aside-box dl { margin: 0; }
.aside-box dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 18px; }
.aside-box dt:first-child { margin-top: 0; }
.aside-box dd { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- People grid ---------- */
.people-section { padding: 90px 0; }
.people-section.alt { background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 44px; }
.person {
  background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.person:hover { transform: translateY(-4px); box-shadow: 0 20px 46px -22px rgba(0,0,0,0.14); border-color: var(--orange); }
.person .avatar {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 16px;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  object-fit: cover; overflow: hidden;
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.person .name { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; }
.person .role { font-size: 14px; color: var(--red); font-weight: 600; }
.person .country { font-size: 13px; color: var(--muted); margin-top: 2px; }
.person .bio { font-size: 14px; color: var(--muted); margin-top: 12px; }
.person .profile-link { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--red); }
.person.placeholder { border-style: dashed; background: var(--bg); }
.person.placeholder .avatar { background: linear-gradient(135deg, #D8D8D8, #BFBFBF); }
.person.placeholder .name, .person.placeholder .role { color: var(--muted); }

/* ---------- Events / calendar ---------- */
.events { padding: 90px 0; }
.event-list { display: flex; flex-direction: column; gap: 18px; margin-top: 44px; }
.event {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 24px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.event:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -22px rgba(0,0,0,0.14); border-color: var(--orange); }
.event.past { opacity: 0.72; background: var(--bg); }
/* Dateless entry: the date column carries a marker instead of a day/month. */
.event.tba .event-date { display: grid; place-items: center; }
.event .tba-mark {
  font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 600;
  color: var(--orange); line-height: 1; letter-spacing: -0.01em;
}
.event.past:hover { transform: none; box-shadow: none; border-color: var(--rule); }
.event-date {
  text-align: center; border-right: 1px solid var(--rule); padding-right: 20px;
}
.event-date .day { font-family: 'Fraunces', Georgia, serif; font-size: 34px; font-weight: 600; line-height: 1; color: var(--red); }
.event-date .mon { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 6px; }
.event-date .yr { font-size: 12px; color: #999; }
.event-body h3 { font-size: 21px; margin-bottom: 6px; }
.event-body .meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.event-body .meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.badge {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.badge.open   { background: rgba(240,112,16,0.14); color: #B85400; }
.badge.soon   { background: rgba(0,0,0,0.06);      color: var(--muted); }
.badge.full   { background: rgba(187,32,56,0.12);  color: var(--red); }
.badge.done   { background: rgba(0,0,0,0.05);      color: #888; }
.event-action .btn { padding: 10px 20px; font-size: 14px; }

@media (max-width: 760px) {
  .event { grid-template-columns: 76px 1fr; gap: 20px; }
  .event-date { padding-right: 14px; }
  .event-date .day { font-size: 26px; }
  .event-action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 16px; }
}

/* Note / callout */
.note {
  background: var(--soft); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0;
  padding: 20px 24px; font-size: 15px; color: var(--muted); margin-top: 36px;
}
.note strong { color: var(--ink); }

/* ---------- Reduced motion ---------- */
@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; }
  .what li, .stat, .card { opacity: 1 !important; transform: none !important; }
  /* Show the progress segment as simply filled, otherwise the 0.01ms rule
     above would fire animationend instantly and race through every slide. */
  .carousel .dots button[aria-current="true"] .fill { animation: none; width: 100%; }
}

/* ==========================================================================
   Scope labelling, distinguishes SMC-global content from SMC Netherlands
   content, so borrowed numbers are never mistaken for ours.
   ========================================================================== */
.scope-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.scope-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.scope-chip.global { background: rgba(26,26,26,0.055); padding: 7px 13px; }
.scope-chip.local  { background: rgba(187,32,56,0.10);  color: var(--red); }
/* The global chip carries the SMC wordmark instead of the word "SMC". */
.scope-chip.global::before { display: none; }
.scope-chip.global img { height: 16px; width: auto; display: block; }

.source-line {
  font-size: 12.5px; color: #8E8E8E; margin-top: 30px;
  padding-top: 16px; border-top: 1px solid var(--rule);
}

/* ---------- Global section (SMC-wide) ---------- */
.global-band { background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 90px 0; }
.global-band .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-top: 44px;
}
@media (max-width: 820px) { .global-band .grid { grid-template-columns: repeat(2, 1fr); } }
.global-band .stat { padding: 34px 26px; border-right: 1px solid rgba(0,0,0,0.08); }
.global-band .stat:last-child { border-right: none; }
@media (max-width: 820px) {
  .global-band .stat:nth-child(2n) { border-right: none; }
  .global-band .stat:nth-child(1), .global-band .stat:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.08); }
}
.global-band .stat-num { color: var(--ink); }
/* The base .stat starts hidden and waits for the JS reveal class, which only
   the home page's .reveal-grid receives. These are static, so show them. */
.global-band .stat { opacity: 1; transform: none; }

/* ---------- Two pillars (GRQ / HIQ) ---------- */
.pillars { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: stretch; margin-top: 48px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 20px; } }
.pillar {
  background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 38px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: 0 24px 56px -26px rgba(0,0,0,.16); border-color: var(--orange); }
.pillar .p-num {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 20px;
}
.pillar .p-abbr {
  font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 600;
  line-height: 1; color: var(--red); margin-bottom: 10px;
}
.pillar h3 { font-size: 20px; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar-plus {
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif; font-size: 34px; color: var(--orange); font-weight: 600;
}
@media (max-width: 900px) { .pillar-plus { padding: 0; } }

/* ---------- GITE three tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; border-radius: 20px; overflow: hidden; border: 1px solid var(--rule); }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }
.tier { padding: 34px 30px; background: #fff; border-right: 1px solid var(--rule); }
.tier:last-child { border-right: none; }
@media (max-width: 820px) { .tier { border-right: none; border-bottom: 1px solid var(--rule); } .tier:last-child { border-bottom: none; } }
.tier .t-step { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.tier h3 { font-size: 19px; margin-bottom: 10px; }
.tier p { font-size: 14.5px; color: var(--muted); }
.tier-flow {
  margin-top: 22px; font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 19px; color: var(--muted); text-align: center;
}
.tier-flow strong { color: var(--ink); font-style: normal; font-weight: 600; }

/* ---------- Impact / survey evidence ---------- */
.impact { padding: 90px 0; }
.impact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 1000px) { .impact-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
.metric {
  background: var(--soft); border: 1px solid rgba(187,32,56,.12); border-radius: 16px;
  padding: 26px 22px; text-align: left;
}
.metric .m-num {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 600; color: var(--red); line-height: 1;
}
.metric .m-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 12px; }
.metric .m-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Horizontal indicator bars */
.bars { margin-top: 14px; }
.bar-row { display: grid; grid-template-columns: 1fr 58px; gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.bar-row:last-child { border-bottom: none; }
.bar-row .bar-label { font-size: 14.5px; color: var(--muted); }
.bar-row .bar-val { font-family: 'Fraunces', Georgia, serif; font-size: 17px; font-weight: 600; color: var(--ink); text-align: right; }
.bar-track { grid-column: 1 / -1; height: 3px; background: var(--rule); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--red)); }

/* Builder pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 900px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
.pipe {
  border: 1px solid var(--rule); border-radius: 16px; padding: 24px; background: #fff;
}
.pipe .pi-num { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 600; color: var(--orange); line-height: 1; }
.pipe .pi-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }
.pipe .pi-note { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ---------- Governance link-out block ---------- */
.gov {
  background: var(--soft); border: 1px solid rgba(187,32,56,.14); border-radius: 22px;
  padding: 44px; margin-top: 44px;
}
.gov .gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 900px) { .gov { padding: 32px; } .gov .gov-grid { grid-template-columns: 1fr; gap: 30px; } }
.gov h3 { font-size: 22px; margin-bottom: 14px; }
.gov p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.gov .named { margin: 0 0 22px; padding: 0; list-style: none; }
.gov .named li { padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 15px; }
.gov .named li:last-child { border-bottom: none; }
.gov .named strong { font-weight: 600; }
.gov .named span { color: var(--muted); font-size: 13.5px; display: block; }
.gov .roster { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Closing CTA over the cohort photo ----------
   The 9 May group shot has clean sky and water across its top half, so the
   copy sits there over a white wash that fades out before the faces start.
   A dark scrim would have read better for text but would have dimmed the
   thing the section is actually showing. */
.final {
  position: relative;
  padding: 92px 0 300px;
  background-image:
    linear-gradient(180deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.80) 28%,
      rgba(255,255,255,0.32) 50%,
      rgba(255,255,255,0.00) 70%),
    url('../img/community-band.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.final .container { position: relative; z-index: 1; }
.final p { color: #4A4A4A; }

@media (max-width: 860px) {
  /* Narrow viewports crop the group hard, so lean on the copy and show less. */
  .final { padding: 80px 0 190px; background-position: center 78%; }
}

/* ---------- Sign-up dialog ---------- */
dialog.signup {
  border: 0; border-radius: 22px; padding: 0; color: var(--ink);
  width: calc(100% - 32px); max-width: 500px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.4);
}
dialog.signup::backdrop { background: rgba(20,20,20,0.45); }
.signup .inner { position: relative; padding: 34px 32px 28px; }
.signup .x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
}
.signup .x:hover { color: var(--red); border-color: var(--red); }
.signup h3 { font-family: 'Fraunces', Georgia, serif; font-size: 25px; line-height: 1.2; margin: 6px 40px 4px 0; }
.signup .when { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.signup p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.signup p strong { color: var(--ink); }
.signup .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup .choice {
  text-align: left; background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 18px; cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.signup .choice:hover { border-color: var(--orange); transform: translateY(-2px); }
.signup .choice strong { display: block; font-size: 17px; margin-bottom: 4px; }
.signup .choice span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.signup .steps { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 12px; }
.signup .steps li { display: flex; gap: 14px; border: 1px solid var(--rule); border-radius: 16px; padding: 16px 18px; }
.signup .steps .n { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--orange); line-height: 1.2; }
.signup .steps strong { display: block; font-size: 15px; margin-bottom: 10px; }
.signup .btn { padding: 11px 20px; font-size: 14px; }
.signup .back { display: block; margin-top: 18px; padding: 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.signup .back:hover { color: var(--red); }
.signup .done { border-left: 3px solid var(--orange); padding: 4px 0 4px 16px; }
.signup .done p { margin: 0; }
/* email check */
.signup .grow { flex: 1; min-width: 0; }
.signup .check label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.signup .check .row { display: flex; gap: 8px; }
.signup .check input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; background: #fff;
}
.signup .check input:focus { outline: none; border-color: var(--orange); }
.signup .check button[disabled] { opacity: .6; cursor: wait; }
.signup .check .msg { font-size: 14px; line-height: 1.5; margin: 10px 0 0; }
.signup .check .msg:empty { display: none; }
.signup .check .msg.warn { color: var(--red); }
.signup .steps .closed-note { font-size: 14px; margin: -4px 0 12px; }
.signup .ok { font-size: 14px; margin-bottom: 12px; }
@media (max-width: 520px) { .signup .check .row { flex-direction: column; } }
@media (max-width: 520px) { .signup .choices { grid-template-columns: 1fr; } .signup .inner { padding: 30px 22px 24px; } }

/* privacy & terms */
.legal-section { padding-top: 40px; }
.legal { max-width: 72ch; }
.legal-toc { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.legal-toc a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; }
.legal-toc a:hover { border-color: var(--red); color: var(--red); }
.legal h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(30px, 4vw, 40px); margin: 64px 0 8px; scroll-margin-top: 90px; }
.legal h2:first-of-type { margin-top: 0; }
.legal .updated { font-size: 14px; }
.legal h3 { font-size: 21px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal ul { margin: 0 0 22px 20px; padding: 0; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--red); }
.legal .todo, .legal .todo-list { background: #FFF3CD; }
.signup .privacy-hint { font-size: 12px; color: var(--faint, #8C8C8C); margin: 8px 0 0; }
.signup .privacy-hint a { color: inherit; }

/* contact form */
.contact-form { margin-top: 30px; display: grid; gap: 16px; max-width: 560px; }
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .cf-row:has(> label:only-child) { grid-template-columns: 1fr; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.contact-form .cf-opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px; font: inherit; font-size: 15px; font-weight: 400;
  color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 11px 15px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form .cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.contact-form button { justify-self: start; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form .cf-msg { font-size: 14px; margin: 0; }
.contact-form .cf-msg:empty { display: none; }
.contact-form .cf-msg.warn { color: var(--red); }
.contact-form .cf-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }
.contact-form .cf-note a { color: var(--muted); text-decoration: underline; }
@media (max-width: 560px) { .contact-form .cf-row { grid-template-columns: 1fr; } }

/* mentor bench */
.bench { margin-top: 46px; border: 1px solid var(--rule); border-radius: 20px; padding: 30px 32px; background: #fff; }
.bench h3 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; margin: 6px 0 14px; }
.bench p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }
.bench .bench-sectors { margin-top: 14px; font-size: 13px; color: var(--faint, #8C8C8C); }
