/* Responsible Printing - think-tank aesthetic.
   Navy + gold, serif body type, generous whitespace. */

:root {
  --bg: #fbfaf6;            /* parchment cream */
  --card: #ffffff;
  --ink: #14213d;           /* deep navy */
  --ink-soft: #2a3a5e;
  --muted: #5a6478;
  --rule: #e0d9c4;
  --rule-strong: #b8a978;
  --gold: #c9a14a;          /* accent gold */
  --gold-dark: #9c7a26;
  --serif: 'Cormorant Garamond', 'Hoefler Text', 'Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(20, 33, 61, 0.05);
  --shadow-md: 0 6px 24px rgba(20, 33, 61, 0.08);
  --max: 1100px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin: 0.5rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 0.5rem; line-height: 1.3; }
h4 { font-size: 1.05rem; margin: 0 0 0.35rem; }
h5 { font-size: 0.85rem; margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

p { margin: 0.85rem 0; }

/* -- Top bar -- */
.topbar {
  background: var(--ink);
  border-bottom: 4px solid var(--gold);
  padding: 0.75rem 0;
}
.bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: white;
}
.brand:hover { color: white; }
.rp-mark {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  border: 2px solid #fff;
}
.rp-mark::before, .rp-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--ink);
}
.rp-mark::after {
  inset: 9px;
  background: var(--ink);
  border: 0;
}
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.05; color: white; }
.brand-name sup { font-size: 0.55em; }
.brand-sub { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 0.1rem; letter-spacing: 0.02em; }

.topnav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.topnav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: all .15s;
}
.topnav a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.04);
}

/* -- Hero -- */
.hero {
  background:
    linear-gradient(180deg, transparent 0%, rgba(201, 161, 74, 0.04) 100%),
    var(--bg);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 1rem 0 1.75rem;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all .15s;
}
.cta.primary {
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
}
.cta.primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: white; }
.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta.ghost:hover { background: var(--ink); color: white; }

/* -- Stats strip -- */
.stats {
  background: var(--card);
  border-bottom: 1px solid var(--rule);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.stat {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* -- Generic blocks -- */
.block { padding: 4rem 0; }
.block.alt { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.block-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.block-lede {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0.5rem 0 2rem;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.two-col p { color: var(--ink-soft); font-size: 0.98rem; }
.two-col strong { color: var(--ink); font-weight: 600; }

/* -- Programs grid -- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.program {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
}
.program-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.program h3 { font-size: 1.2rem; }
.program p { color: var(--ink-soft); font-size: 0.92rem; margin: 0.5rem 0 0.85rem; }
.program-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
}
.program-link:hover { color: var(--ink); }

/* -- Standard section -- */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 1.5rem 0 2rem;
}
.standard-grid h4 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}
.cite-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.cite-list li {
  padding: 0.4rem 0;
  border-bottom: 1px dotted var(--rule);
  line-height: 1.5;
}
.standard-note {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

/* -- Members grid -- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.member {
  display: flex;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.member-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  box-shadow: var(--shadow-sm);
}
.member-logo.gradient { background: linear-gradient(135deg, #6366f1, #ec4899); }
.member-logo.amber    { background: linear-gradient(135deg, #d97706, #f59e0b); }
.member-logo.teal     { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.member-logo.coral    { background: linear-gradient(135deg, #dc2626, #f87171); }
.member-logo.navy     { background: linear-gradient(135deg, #14213d, #2a3a5e); }
.member-logo.plum     { background: linear-gradient(135deg, #6b21a8, #a855f7); }
.member-logo.slate    { background: linear-gradient(135deg, #475569, #64748b); }

.member h4 { font-size: 1.05rem; }
.member-role { font-size: 0.86rem; color: var(--ink-soft); margin: 0.3rem 0 0.5rem; line-height: 1.55; }
.member-link { font-size: 0.82rem; color: var(--gold-dark); text-decoration: none; }
.ci-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  vertical-align: 2px;
  margin-left: 0.3rem;
}

/* -- Board grid -- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.director {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.dir-photo {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  box-shadow: var(--shadow-sm);
}
.dir-photo.gradient { background: linear-gradient(135deg, #6366f1, #ec4899); }
.dir-photo.amber    { background: linear-gradient(135deg, #d97706, #f59e0b); }
.dir-photo.teal     { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.dir-photo.coral    { background: linear-gradient(135deg, #dc2626, #f87171); }
.dir-photo.navy     { background: linear-gradient(135deg, #14213d, #2a3a5e); }
.dir-photo.plum     { background: linear-gradient(135deg, #6b21a8, #a855f7); }
.dir-photo.slate    { background: linear-gradient(135deg, #475569, #64748b); }

.director h4 { font-size: 1.1rem; }
.dir-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.5rem;
}
.director p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* -- Quotes / "industry observers" -- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.quote {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 1rem;
  position: relative;
  padding-left: 1.4rem;
}
.quote blockquote::before {
  content: '"';
  position: absolute;
  left: -0.1rem; top: -0.6rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}
.quote figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px dotted var(--rule);
  padding-top: 0.6rem;
}

/* -- Legal drawer: collapsed bar below the footer -- */
.legal-drawer {
  background: #14213d;
  color: #e9e3cc;
  border-top: 1px solid #2a3a5e;
  font-family: var(--sans);
}
.legal-drawer > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a14a;
  user-select: none;
  transition: background .15s, color .15s;
}
.legal-drawer > summary::-webkit-details-marker { display: none; }
.legal-drawer > summary::marker { content: ""; }
.legal-drawer > summary::after {
  content: "▾";
  margin-left: 0.6rem;
  display: inline-block;
  transition: transform .2s;
  color: #c9a14a;
}
.legal-drawer[open] > summary::after { transform: rotate(180deg); }
.legal-drawer > summary:hover {
  background: #1a2b4f;
  color: #ffd479;
}
.legal-drawer-label { font-weight: 700; }
.legal-drawer-hint {
  margin-left: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #8a96b3;
  font-weight: 400;
  text-transform: uppercase;
}
.legal-drawer-body {
  background: #fff8e7;
  color: var(--ink);
  border-top: 3px solid #b8860b;
  padding: 2rem 0 2.5rem;
}
.legal-drawer-body h2 {
  font-size: 1.6rem;
  margin-top: 0;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 1.5rem 0 1.25rem;
}
.legal-grid h4 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.legal-grid ul {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  line-height: 1.7;
}
.legal-grid li { margin: 0.25rem 0; }
.legal-fine {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.6);
  border-left: 3px solid var(--gold-dark);
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  border-radius: 4px;
  line-height: 1.6;
}

/* -- Press / news -- */
.press {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  padding: 1.5rem 1.75rem;
  margin: 1.25rem 0;
  border-radius: var(--radius);
}
.press-date {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.press h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.press p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.press-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
}

/* -- Contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 1.75rem;
  border-radius: var(--radius);
}
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.92rem;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row strong { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; align-self: center; }
.contact-row a { color: var(--ink); }

/* -- Footer -- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  border-top: 4px solid var(--gold);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-col .brand { color: white; }
.footer-col h5 { color: var(--gold); margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.25rem 0; font-size: 0.88rem; }
.footer-col a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 360px;
  margin-top: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}
