/* Light theme */
[data-theme="light"] { --bg:#fafcfd; --surface:#fff; --surface-2:#f2f7f7; --ink:#1d2939; --muted:#617083; --accent:#155a66; --accent-dark:#104a53; --on-accent:#fff; --soft:#ebf4f4; --border:#dfe5e9; --border-strong:#becbd1; --stage-no:#53767b; --hero-start:#e8f1f2; --hero-end:#bfd9da; --orb:rgba(19,89,100,.16); --error:#a12d32; }

/* Dark theme */
[data-theme="dark"] { --bg:#111; --surface:#1a1a24; --surface-2:#222636; --ink:#f2f5fa; --muted:#a0aec0; --accent:#00cc96; --accent-dark:#00a87d; --on-accent:#071a15; --soft:rgba(0,204,150,.12); --border:#283442; --border-strong:#506784; --stage-no:#7fa5ac; --hero-start:#0d1b2a; --hero-end:#163a3a; --orb:rgba(0,204,150,.28); --error:#ff8aa8; }

@font-face { font-family:"Font Awesome 6 Free"; font-style:normal; font-weight:900; font-display:block; src:url("webfonts/fa-solid-900.woff2") format("woff2"); }
* { box-sizing:border-box; }
img { max-width:100%; height:auto; }
a:focus-visible,button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
main { overflow-wrap:anywhere; }
pre { max-width:100%; overflow:auto; }
table { display:block; max-width:100%; overflow:auto; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; line-height:1.6; background:var(--bg); transition:background .25s,color .25s; }
a { color:var(--accent); }
a:hover { text-decoration:underline; }
.shell { max-width:1080px; margin:auto; padding:0 32px; }
.skip-link { position:absolute; top:-99px; left:1rem; background:var(--surface); color:var(--ink); padding:8px; }
.skip-link:focus { top:10px; z-index:10; }

.site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; border-bottom:1px solid var(--border); }
.brand { font-weight:750; text-decoration:none; color:var(--ink); }
.brand:hover { color:var(--accent); text-decoration:none; }
.brand-mark { display:inline-flex; justify-content:center; align-items:center; background:var(--accent); color:var(--on-accent); border-radius:8px; width:29px; height:29px; margin-right:5px; }
.brand-light { font-weight:450; color:var(--muted); }
nav { display:flex; flex-wrap:wrap; align-items:center; gap:24px; font-size:14px; }
nav a { color:var(--muted); text-decoration:none; }
nav a:hover { color:var(--accent); }
.theme-toggle { width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--muted); cursor:pointer; line-height:1; display:flex; align-items:center; justify-content:center; transition:color .2s; }
.theme-toggle:hover { color:var(--accent); }
.theme-icon { font-family:"Font Awesome 6 Free"; font-style:normal; font-weight:900; }
.theme-icon::before { content:"\f185"; }
[data-theme="dark"] .theme-icon::before { content:"\f186"; }

main { padding:62px 0 80px; }
.eyebrow { display:block; font-weight:780; letter-spacing:.12em; font-size:12px; color:var(--accent); text-transform:uppercase; margin-bottom:14px; }
h1,h2,h3 { color:var(--ink); }
h1 { font-size:clamp(36px,5.3vw,58px); letter-spacing:-.045em; line-height:1.13; margin:12px 0 20px; }
h2 { font-size:29px; line-height:1.2; letter-spacing:-.025em; margin:10px 0 8px; }
h3 { margin:2px 0 8px; font-size:19px; letter-spacing:-.01em; }
p { margin:0 0 17px; }
.lead { font-size:18px; line-height:1.72; color:var(--muted); max-width:590px; }
.narrow { max-width:750px; }
.hero { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:56px; align-items:center; padding:0 0 74px; }
.pill { display:inline-block; padding:5px 11px; color:var(--accent); background:var(--soft); border:1px solid var(--border); border-radius:50px; font-size:12px; font-weight:650; }
.metadata { display:grid; gap:3px; color:var(--muted); font-size:14px; margin:25px 0; }
.metadata strong { color:var(--ink); }
.primary-link { display:inline-flex; align-items:center; gap:14px; padding:12px 18px; border-radius:8px; font-size:14px; font-weight:700; text-decoration:none; }
.primary-link { background:var(--accent); color:var(--on-accent); }
.primary-link:hover { background:var(--accent-dark); text-decoration:none; }
.hero-graphic { height:270px; border-radius:8px; background:linear-gradient(145deg,var(--hero-start),var(--hero-end)); position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.hero-photo { width:100%; height:100%; object-fit:cover; border-radius:8px; display:block; }
.orb { position:absolute; border:1px solid var(--orb); border-radius:100%; }
.one { height:190px; width:190px; }.two { height:315px; width:315px; }.three { height:440px; width:440px; }
.hero-monogram { position:relative; font-size:112px; line-height:1; color:var(--accent); font-weight:700; letter-spacing:-.1em; opacity:.76; transform:translateX(-.06em); }
.content-section { padding:40px 0 48px; border-top:1px solid var(--border); }
.section-title { display:flex; align-items:end; justify-content:space-between; gap:35px; }
.section-title p { color:var(--muted); max-width:385px; font-size:14px; }
.timeline { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:28px; }
.stage { background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:25px; display:flex; gap:20px; align-items:flex-start; }
.stage-no { font-weight:800; font-size:21px; line-height:1.4; color:var(--stage-no); flex-shrink:0; }
.stage-body { flex:1; min-width:0; }
.stage-period { color:var(--accent); font-size:13px; font-weight:650; margin-bottom:7px; }
.stage p { font-size:14px; line-height:1.7; color:var(--muted); margin:0; }
.stage-figure { margin:14px 0 0; }
.stage-figure img { width:100%; max-height:220px; object-fit:cover; border-radius:6px; border:1px solid var(--border); display:block; }
.stage-figure figcaption { font-size:12px; color:var(--muted); margin-top:6px; text-align:left; }

/* Showcase grid */
.showcase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:28px; }
.showcase-card { background:var(--surface); border:1px solid var(--border); border-radius:10px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.showcase-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,.08); }
.showcase-img { width:100%; height:190px; object-fit:cover; display:block; border-bottom:1px solid var(--border); background:var(--surface-2); }
.showcase-content { padding:22px; display:flex; flex-direction:column; flex:1; }
.showcase-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.showcase-tag { font-size:11px; font-weight:650; padding:3px 8px; border-radius:4px; background:var(--soft); color:var(--accent); }
.showcase-card h3 { font-size:18px; margin:0 0 8px; line-height:1.35; color:var(--ink); }
.showcase-card p { font-size:13px; color:var(--muted); line-height:1.6; margin:0 0 18px; flex:1; }
.showcase-links { display:flex; flex-wrap:wrap; gap:14px; font-size:13px; font-weight:650; }
.showcase-links a { color:var(--accent); text-decoration:none; }
.showcase-links a:hover { text-decoration:underline; }

.page-heading { margin-bottom:12px; }
.info-strip { margin:36px 0 18px; border-left:3px solid var(--accent); background:var(--soft); color:var(--muted); padding:14px 18px; border-radius:0 8px 8px 0; font-size:14px; }
.meeting-list { padding:0; margin:0; list-style:none; border:1px solid var(--border); background:var(--surface); border-radius:8px; overflow:hidden; }
.meeting-list li + li { border-top:1px solid var(--border); }
.meeting-list a { display:flex; align-items:center; gap:16px; padding:18px 20px; color:var(--ink); text-decoration:none; }
.meeting-list a:hover { background:var(--surface-2); }
.meeting-icon { display:grid; place-items:center; width:37px; height:37px; border-radius:8px; background:var(--soft); font-size:19px; }
.meeting-main { flex:1; display:grid; line-height:1.5; }.meeting-main strong { font-weight:690; font-size:15px; }.meeting-main small { font-size:12px; color:var(--muted); }
.meeting-arrow { color:var(--accent); }
.empty-state { border:1px dashed var(--border); padding:23px; border-radius:8px; background:var(--surface); color:var(--muted); }
.backlink { margin-top:32px; font-size:14px; }.backlink a { text-decoration:none; }
.site-footer { display:flex; justify-content:space-between; gap:20px; padding:22px 0 35px; border-top:1px solid var(--border); font-size:12px; color:var(--muted); }

@media (max-width:760px) { .shell { padding:0 18px; }.site-header { flex-direction:column; align-items:flex-start; gap:14px; }.hero { grid-template-columns:1fr; gap:28px; padding-bottom:48px; }.hero-graphic { height:160px; order:-1; }.hero-monogram { font-size:80px; }.section-title { display:block; }.timeline { grid-template-columns:1fr; }.showcase-grid { grid-template-columns:1fr; }main { padding:34px 0 60px; }.site-footer { flex-direction:column; }nav { gap:16px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } body,.showcase-card,.theme-toggle { transition:none; }.showcase-card:hover { transform:none; } }
