:root {
  --paper: #f6f6f1;
  --paper-2: #eeefe9;
  --ink: #17232b;
  --muted: #657078;
  --accent: #235f59;
  --accent-dark: #174641;
  --accent-soft: #dce8e4;
  --line: #d8ddd9;
  --white: #ffffff;
  --warm: #9a6c42;
  --max: 1160px;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(22, 37, 45, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 999;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 10px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--paper) 89%, transparent);
  border-bottom: 1px solid rgba(216, 221, 217, 0.9);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: #33424a;
  font-size: 0.94rem;
  font-weight: 600;
  position: relative;
}
.nav-links a:not(.nav-cv)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cv {
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 14px;
}
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.02;
  margin: 0;
}
.hero {
  padding: 84px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.35rem); max-width: 930px; }
.hero .lede {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  color: #46545c;
  max-width: 760px;
  margin: 28px 0 0;
}
.hero-identity {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #24353f; }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.58); }
.btn-secondary:hover { border-color: #aeb8b2; background: white; }
.btn-text { color: var(--accent); padding-left: 0; padding-right: 0; }

.portrait-frame {
  border-radius: 32px 32px 170px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }

section { padding: 82px 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.section-head h2, .page-hero h1, .section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.75rem); }
.section-head p { color: var(--muted); max-width: 510px; margin: 0; }

.theme-grid, .research-grid, .stat-grid, .dimension-grid, .project-grid {
  display: grid;
  gap: 18px;
}
.theme-grid { grid-template-columns: repeat(3, 1fr); }
.theme-card, .paper-card, .stat-card, .dimension-card, .project-card {
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.theme-card { padding: 28px; min-height: 235px; display: flex; flex-direction: column; }
.theme-num { color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; }
.theme-card h3, .dimension-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 1.45rem; margin: 42px 0 10px; }
.theme-card p, .dimension-card p { color: var(--muted); margin: 0; }

.feature-band {
  background: var(--ink);
  color: white;
  border-radius: 30px;
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.feature-band .eyebrow { color: #91c5bc; }
.feature-band h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.2vw, 4rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; margin: 0; }
.feature-band p { color: #c6d0d4; }
.five-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.five-list span { padding: 13px 15px; border: 1px solid rgba(255,255,255,0.17); border-radius: 12px; color: #e8eeee; font-weight: 650; }
.five-list span:last-child { grid-column: 1 / -1; }

.paper-list { display: grid; gap: 12px; }
.paper-card { padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.paper-card h3 { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.45; }
.paper-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.paper-card .paper-link { color: var(--accent); text-decoration: none; font-weight: 750; font-size: 0.88rem; white-space: nowrap; }
.paper-card .paper-link:hover { text-decoration: underline; }
.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  color: #536169;
  background: rgba(255,255,255,0.48);
}

.page-hero { padding: 76px 0 48px; }
.page-hero h1 { font-size: clamp(3.15rem, 6.5vw, 5.6rem); margin: 0; max-width: 980px; }
.page-hero .page-lede { font-size: 1.2rem; color: var(--muted); max-width: 800px; margin: 24px 0 0; }

.research-grid { grid-template-columns: repeat(3, 1fr); }
.research-panel { padding: 26px; border-top: 3px solid var(--accent); background: rgba(255,255,255,0.52); border-radius: 0 0 var(--radius) var(--radius); }
.research-panel h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0 0 12px; font-size: 1.55rem; }
.research-panel p { color: var(--muted); margin: 0; }

.subhead { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 2.2rem; margin: 0 0 22px; }
.prose { color: #3d4b53; font-size: 1.02rem; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--accent); }

.dimension-grid { grid-template-columns: repeat(5, 1fr); }
.dimension-card { padding: 22px; min-height: 265px; }
.dimension-card h3 { margin-top: 26px; }
.dimension-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 850; }

.pathway { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: stage; }
.stage { position: relative; padding: 20px 16px 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.6); border-radius: 15px; min-height: 172px; }
.stage::before { counter-increment: stage; content: counter(stage); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: white; font-size: .75rem; font-weight: 800; margin-bottom: 22px; }
.stage strong { display: block; font-size: 0.92rem; line-height: 1.35; }
.stage span { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card { padding: 24px; }
.stat-card .big { font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; letter-spacing: -0.03em; }
.stat-card p { margin: 8px 0 0; color: var(--muted); font-size: 0.91rem; }

.citation-box { border-left: 4px solid var(--accent); padding: 24px 28px; background: rgba(255,255,255,0.55); border-radius: 0 16px 16px 0; }
.citation-box p { margin: 0 0 14px; }
.citation-box p:last-child { margin-bottom: 0; }

.request-box { background: var(--accent-soft); border: 1px solid #c4d9d3; border-radius: 24px; padding: clamp(30px, 5vw, 54px); }
.request-box h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0; font-size: 2.3rem; }
.request-box p { max-width: 760px; color: #405550; }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.media-card { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: white; }
.media-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.media-card .caption { padding: 16px 18px; color: var(--muted); font-size: 0.88rem; }

.award-strip { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; }
.award-number { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; }
.award-copy h3 { margin: 0 0 6px; font-size: 1.05rem; }
.award-copy p { margin: 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline-item time { color: var(--muted); font-size: .87rem; }
.timeline-item h3 { margin: 0 0 3px; font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .92rem; }

.contact-list { display: grid; gap: 10px; margin-top: 24px; }
.contact-list a { color: var(--accent); text-decoration: none; font-weight: 700; }
.contact-list a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 50px; margin-top: 50px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer-name { font-weight: 780; }
.footer-small { color: var(--muted); font-size: .86rem; margin-top: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #4c5b63; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .hero-grid, .feature-band, .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { width: min(100%, 460px); }
  .theme-grid, .research-grid { grid-template-columns: 1fr; }
  .dimension-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 7px 2px; }
  .nav-links a::after { display: none; }
  .nav-cv { text-align: center; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  section { padding: 62px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .paper-card { grid-template-columns: 1fr; gap: 13px; }
  .dimension-grid, .stat-grid, .media-grid { grid-template-columns: 1fr; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .award-strip { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 440px) {
  .pathway { grid-template-columns: 1fr; }
  .five-list { grid-template-columns: 1fr; }
  .five-list span:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* v0.2 additions */
.form-embed{margin:8px 0 4px;border:1px solid rgba(0,0,0,.10);border-radius:12px;overflow:hidden;background:#fff}
.form-embed iframe{display:block;width:100%;border:0}

/* v0.4: compact layout, conference accordions, role/community panels */
.display, .page-hero h1, .section-head h2, .subhead { text-wrap: balance; }
.hero.compact-hero { padding: 58px 0 48px; }
.hero.compact-hero .hero-grid { grid-template-columns: minmax(0,1.4fr) minmax(250px,.6fr); gap: clamp(34px, 5vw, 70px); }
.hero.compact-hero h1 { font-size: clamp(3.15rem, 5.8vw, 5.45rem); line-height: 1.045; letter-spacing: -0.045em; max-width: 820px; }
.hero.compact-hero .lede { font-size: clamp(1.05rem, 1.45vw, 1.25rem); max-width: 790px; margin-top: 22px; }
.affiliation-line { margin-top: 20px; font-size: .92rem; font-weight: 750; color: var(--muted); }
.affiliation-line span { margin: 0 8px; color: #a5ada9; }
.compact-portrait { width: min(100%, 350px); justify-self: end; }
.role-strip-wrap { padding: 0 0 24px; }
.role-strip { display:grid; grid-template-columns: repeat(3,1fr); border:1px solid var(--line); border-radius:18px; overflow:hidden; background:rgba(255,255,255,.48); }
.role-strip > div { padding:16px 18px; display:grid; gap:3px; border-right:1px solid var(--line); }
.role-strip > div:last-child { border-right:0; }
.role-label { color:var(--accent); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:850; }
.role-strip strong { font-size:.88rem; line-height:1.4; font-weight:700; }
.compact-section { padding: 54px 0; }
.compact-page-hero { padding: 54px 0 34px; }
.compact-page-hero h1 { font-size: clamp(2.9rem, 5.5vw, 4.8rem); max-width: 930px; line-height:1.06; }
.compact-page-hero .page-lede { margin-top:18px; font-size:1.12rem; }
.compact-head { margin-bottom: 28px; }
.compact-head h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
.compact-cards .theme-card { min-height: 178px; padding:22px; }
.compact-cards .theme-card h3 { margin:26px 0 8px; font-size:1.32rem; }
.compact-feature { padding: clamp(30px, 4vw, 46px); gap:40px; }
.compact-feature h2 { font-size: clamp(2.15rem, 3.7vw, 3.35rem); }
.light-button { background:#f6f6f1 !important; border-color:#f6f6f1 !important; color:var(--ink) !important; }
.compact-paper-list .paper-card { padding:20px 22px; }
.community-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.community-card { border:1px solid var(--line); background:rgba(255,255,255,.6); border-radius:var(--radius); padding:22px; display:flex; flex-direction:column; min-height:205px; }
.community-card h3 { font-family:Georgia,"Times New Roman",serif; font-size:1.35rem; font-weight:500; line-height:1.15; margin:14px 0 8px; }
.community-card p { color:var(--muted); margin:0; font-size:.94rem; }
.community-card a { color:var(--accent); font-weight:750; text-decoration:none; margin-top:auto; padding-top:16px; }
.mini-award { display:block; margin-top:auto; padding-top:14px; color:var(--accent-dark); font-size:.82rem; font-weight:800; }
.compact-dimensions .dimension-card { min-height:220px; padding:18px; }
.compact-dimensions .dimension-card h3 { margin-top:18px; }
.evidence-row { display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start; }
.evidence-row .subhead { margin:0; }
.evidence-row > p { margin:30px 0 0; color:var(--muted); }
.compact-request { padding:clamp(26px,4vw,40px); }
.compact-request h2 { font-size:2rem; }
.compact-award { padding:22px 0; }
.year-rail { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-bottom:18px; }
.year-rail span { text-align:center; padding:8px 10px; border-radius:999px; background:var(--accent-soft); color:var(--accent-dark); font-size:.82rem; font-weight:850; }
.conference-list { display:grid; gap:10px; }
.conference-year { border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.56); overflow:hidden; }
.conference-year summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:16px 18px; }
.conference-year summary::-webkit-details-marker { display:none; }
.conference-year summary strong { font-family:Georgia,"Times New Roman",serif; font-size:1.35rem; font-weight:500; }
.conference-year summary span { color:var(--muted); font-size:.86rem; font-weight:700; }
.conference-year[open] summary { border-bottom:1px solid var(--line); background:rgba(220,232,228,.35); }
.conference-content { padding:8px 18px 18px; display:grid; gap:0; }
.conference-content article { padding:14px 0; border-bottom:1px solid var(--line); }
.conference-content article:last-of-type { border-bottom:0; }
.conference-content h3 { margin:0 0 5px; font-size:1rem; line-height:1.4; }
.conference-content p { margin:0; color:var(--muted); font-size:.9rem; }
.conference-content a { display:inline-block; margin-top:6px; color:var(--accent); font-size:.86rem; font-weight:750; text-decoration:none; }
.conference-note { margin:12px 0 0; padding:12px 14px; background:var(--paper-2); border-radius:10px; color:var(--muted); font-size:.88rem; }
.pipeline-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.pipeline-card { border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.56); padding:18px 20px; }
.pipeline-card h3 { font-size:1rem; line-height:1.4; margin:5px 0 7px; }
.pipeline-card p { margin:0; color:var(--muted); font-size:.88rem; }
.form-drawer { margin-top:22px; border:1px solid #bfd4ce; border-radius:14px; background:rgba(255,255,255,.48); overflow:hidden; }
.form-drawer summary { cursor:pointer; padding:14px 18px; font-weight:800; color:var(--accent-dark); }
.form-drawer[open] summary { border-bottom:1px solid #cbdcd7; }
.form-drawer .form-embed { border:0; border-radius:0; margin:0; }
.form-fallback { margin-top:12px !important; }
.two-plus-one .community-card { min-height:220px; }

@media (max-width:980px) {
  .hero.compact-hero .hero-grid { grid-template-columns:1fr; }
  .compact-portrait { justify-self:start; width:min(100%,320px); }
  .role-strip { grid-template-columns:1fr; }
  .role-strip > div { border-right:0; border-bottom:1px solid var(--line); }
  .role-strip > div:last-child { border-bottom:0; }
  .community-grid { grid-template-columns:1fr; }
  .pipeline-grid { grid-template-columns:1fr; }
  .evidence-row { grid-template-columns:1fr; gap:12px; }
  .evidence-row > p { margin:0; }
}
@media (max-width:720px) {
  .hero.compact-hero { padding-top:42px; }
  .hero.compact-hero h1 { font-size:clamp(2.9rem, 13vw, 4.2rem); line-height:1.06; }
  .compact-section { padding:42px 0; }
  .compact-page-hero { padding:42px 0 24px; }
  .year-rail { grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
  .year-rail span { padding:7px 4px; font-size:.75rem; }
  .conference-year summary { align-items:flex-start; flex-direction:column; gap:2px; }
  .form-drawer iframe { height:760px; }
}


/* v0.5: stronger identity, section rails, real photography, RGAIC reflections */
:root { --max: 1240px; }
body { line-height: 1.62; }
.nav-wrap { min-height: 86px; }
.brand { font-size: 1.2rem; font-weight: 800; }
.nav-links { gap: 31px; }
.nav-links a { font-size: 1rem; font-weight: 650; }
.nav-cv { padding: 9px 15px; }
.hero.compact-hero { padding: 66px 0 52px; }
.hero.compact-hero .hero-grid { grid-template-columns: minmax(0,1.5fr) minmax(270px,.5fr); }
.hero.compact-hero h1 { font-size: clamp(3.6rem, 6.1vw, 6rem); line-height: .99; max-width: 900px; }
.hero.compact-hero .lede { font-size: clamp(1.12rem, 1.55vw, 1.3rem); line-height: 1.6; }
.compact-page-hero { padding: 62px 0 38px; }
.compact-page-hero h1 { font-size: clamp(3.1rem, 5.7vw, 5.15rem); }
.compact-section { padding: 50px 0; }
.compact-head { margin-bottom: 26px; }
.compact-head h2 { font-size: clamp(2.15rem, 3.7vw, 3.35rem); }
.section-head p { font-size: 1rem; }
.paper-card h3 { font-size: 1.08rem; }

/* fixed section navigator */
.section-rail {
  position: fixed;
  z-index: 70;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  width: 150px;
  padding: 14px 12px;
  border: 1px solid rgba(216,221,217,.88);
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(22,37,45,.06);
}
.section-rail a { display:flex; align-items:center; gap:9px; padding:7px 3px; color:#758087; text-decoration:none; font-size:.78rem; font-weight:720; line-height:1.2; transition:color .16s ease; }
.section-rail a:hover, .section-rail a.active { color:var(--accent-dark); }
.rail-dot { width:7px; height:7px; flex:0 0 7px; border-radius:50%; border:1.5px solid #9eaaa5; background:transparent; transition:all .16s ease; }
.section-rail a.active .rail-dot { background:var(--accent); border-color:var(--accent); transform:scale(1.2); }
@media (min-width: 1480px) { .section-rail { display:block; } }

/* richer media */
.conference-media-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin: 2px 0 24px; }
.conference-media-grid .media-card img { aspect-ratio: 4/3; }
.rgaic-media-grid { display:grid; grid-template-columns: 1.35fr .65fr; gap:18px; margin-top:26px; }
.rgaic-media-grid .media-card:first-child img { aspect-ratio: 16/7; }
.rgaic-media-grid .media-card:last-child img { aspect-ratio: 4/5; }
.profile-glance { border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.58); padding:24px; display:grid; gap:0; }
.profile-glance > div { display:grid; gap:4px; padding:16px 0; border-top:1px solid var(--line); }
.profile-glance > div:first-of-type { border-top:0; padding-top:6px; }
.profile-glance strong { font-size:.98rem; }
.profile-glance span { color:var(--muted); font-size:.9rem; }

/* RGAIC reflections */
.reflections-section { overflow:hidden; }
.reflection-marquee { overflow:hidden; width:100%; padding:4px 0 12px; -webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent); mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent); }
.reflection-track { display:flex; gap:16px; width:max-content; animation: reflection-scroll 34s linear infinite; }
.reflection-marquee:hover .reflection-track { animation-play-state:paused; }
.reflection-card { width:min(390px,82vw); min-height:205px; flex:0 0 auto; display:flex; flex-direction:column; justify-content:space-between; padding:24px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.66); }
.reflection-card p { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:1.08rem; line-height:1.55; color:#2a3941; }
.reflection-person { margin-top:20px; display:flex; align-items:center; gap:8px; font-size:.86rem; }
.reflection-person strong { color:var(--accent-dark); }
.reflection-person span { color:var(--muted); }
@keyframes reflection-scroll { from { transform:translateX(0); } to { transform:translateX(calc(-50% - 8px)); } }

/* RGAIC form: always visible and intentionally narrow */
.request-access-section { background:rgba(220,232,228,.28); }
.request-intro { text-align:left; }
.request-intro > p:last-child { color:var(--muted); }
.form-shell { width:min(calc(100% - 28px), 790px); margin:26px auto 0; overflow:hidden; border-radius:18px; background:transparent; }
.form-shell iframe { display:block; width:100%; border:0; background:transparent; }
.form-notes { margin-top:10px; }
.form-notes .caption { margin:8px 0; }
.form-notes a { color:var(--accent); }
.form-drawer { display:none !important; }

@media (max-width: 980px) {
  .rgaic-media-grid { grid-template-columns:1fr; }
  .rgaic-media-grid .media-card:first-child img, .rgaic-media-grid .media-card:last-child img { aspect-ratio:16/10; }
  .conference-media-grid { grid-template-columns:1fr; }
  .hero.compact-hero .hero-grid { grid-template-columns:1fr; }
  .compact-portrait { justify-self:start; width:min(100%,390px); }
}
@media (max-width:720px) {
  .nav-wrap { min-height:76px; }
  .brand { font-size:1.08rem; }
  .hero.compact-hero { padding-top:50px; }
  .hero.compact-hero h1 { font-size:clamp(3.15rem,14vw,4.8rem); }
  .compact-section { padding:44px 0; }
  .reflection-marquee { overflow-x:auto; mask-image:none; -webkit-mask-image:none; scrollbar-width:none; }
  .reflection-marquee::-webkit-scrollbar { display:none; }
  .reflection-track { animation:none; }
  .reflection-card { width:84vw; }
  .form-shell { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reflection-track { animation:none; }
  .reflection-marquee { overflow-x:auto; mask-image:none; -webkit-mask-image:none; }
}


/* v1.0 release: stronger contrast, richer research methods, compact RGAIC architecture */
.method-chips { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 4px; }
.method-chips span { padding:7px 10px; border:1px solid #b9d0c9; border-radius:999px; background:rgba(255,255,255,.56); color:var(--accent-dark); font-size:.78rem; font-weight:780; }

/* RGAIC: overview and request live side-by-side */
.rgaic-overview { padding:58px 0 44px; }
.rgaic-overview-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(580px,1.18fr); gap:42px; align-items:start; }
.rgaic-intro { padding:20px 0 0; }
.rgaic-intro h1 { font-family:Georgia,"Times New Roman",serif; font-weight:500; letter-spacing:-.035em; line-height:1.03; font-size:clamp(3.1rem,5.1vw,5rem); margin:0; text-wrap:balance; }
.rgaic-intro .page-lede { font-size:1.13rem; color:var(--muted); margin:22px 0 0; max-width:590px; }
.rgaic-pill-row { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 2px; }
.rgaic-pill-row span { padding:7px 10px; border-radius:999px; background:var(--accent-soft); color:var(--accent-dark); font-size:.8rem; font-weight:800; }
.rgaic-request-panel { border:1px solid #c4d9d3; border-radius:24px; background:rgba(220,232,228,.42); padding:24px 22px 18px; overflow:hidden; }
.rgaic-request-panel h2 { font-family:Georgia,"Times New Roman",serif; font-size:2rem; font-weight:500; margin:0 0 8px; }
.rgaic-request-panel > p:not(.eyebrow):not(.caption) { color:#405550; margin:0 0 12px; }
.rgaic-form-frame { width:100%; overflow:hidden; border-radius:14px; background:transparent; }
.rgaic-form-frame iframe { display:block; width:100%; border:0; background:transparent; }
.form-compact-note { margin:8px 4px 0; }
.form-compact-note a, .rgaic-programme-credit a { color:var(--accent); }

/* Field work and reflections come immediately after the overview */
#field-settings { padding-top:34px; }
#reflections { padding-top:42px; padding-bottom:42px; }
.reflection-track { animation-duration:96s; }

/* Compact expandable detail layer */
.rgaic-knowledge { padding-top:48px; }
.knowledge-stack { display:grid; gap:10px; }
.knowledge-stack details { border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.58); overflow:hidden; }
.knowledge-stack summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:36px 1fr auto; gap:12px; align-items:center; padding:18px 20px; }
.knowledge-stack summary::-webkit-details-marker { display:none; }
.knowledge-stack summary span { color:var(--accent); font-size:.78rem; font-weight:850; letter-spacing:.08em; }
.knowledge-stack summary strong { font-family:Georgia,"Times New Roman",serif; font-size:1.28rem; font-weight:500; }
.knowledge-stack summary em { font-style:normal; color:var(--muted); font-size:.84rem; }
.knowledge-stack details[open] summary { border-bottom:1px solid var(--line); background:rgba(220,232,228,.26); }
.knowledge-content { padding:22px; }
.knowledge-content .citation-box { margin-top:24px; }
.rgaic-programme-credit { margin:16px 2px 0; }

@media (max-width:1100px) {
  .rgaic-overview-grid { grid-template-columns:1fr; }
  .rgaic-intro { padding-top:0; }
  .rgaic-request-panel { max-width:760px; width:100%; }
}
@media (max-width:720px) {
  .rgaic-overview { padding:42px 0 28px; }
  .rgaic-intro h1 { font-size:clamp(2.8rem,13vw,4.1rem); }
  .rgaic-request-panel { padding:18px 10px 14px; border-radius:18px; }
  .rgaic-form-frame iframe { height:650px; }
  .knowledge-stack summary { grid-template-columns:30px 1fr; }
  .knowledge-stack summary em { grid-column:2; }
  .knowledge-content { padding:16px; }
}
