
:root {
  --cream: #F7F3EC;
  --cream2: #F1EDE4;
  --ink: #1A1814;
  --muted: #6B6560;
  --line: #E0D9CE;
  --red: #B31217;
  --red2: #C41E24;
  --black: #0A0A0A;
  --card: #FFFcf8;
  --panel: #FFFFFF;
  --header-h: 70px;
  --chart-blue: #3B6FA0;
  --chart-purple: #6B5B9A;
  --footer-bg: #0A0A0A;
  --hero-right-bg: #0A0A0A;
}
html[data-theme="dark"] {
  --cream: #0A0A0A;
  --cream2: #111111;
  --ink: #F2EDE4;
  --muted: #9A948A;
  --line: #2A2A2A;
  --card: #161616;
  --panel: #141414;
  --chart-blue: #5B8FBF;
  --chart-purple: #9B8BC4;
  --footer-bg: #050505;
  --hero-right-bg: #000;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream); color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .28s, color .28s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1480px, 100% - 24px); margin-inline: auto; }

/* Top bar */
.topbar {
  display: grid; grid-template-columns: 1fr 1fr;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  width: 100%;
}
.topbar-left {
  background: var(--cream);
  display: flex; align-items: center;
  padding: 0 20px; gap: 14px;
  transition: background .28s;
}
.topbar-right {
  background: var(--black);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 20px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text strong {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.brand-text strong span { color: var(--red); }
.brand-text small {
  display: block; font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.nav-dark {
  display: flex; gap: 20px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: #B8B2A8;
}
.nav-dark a:hover { color: #fff; }
.btn-outline {
  border: 1px solid #fff; color: #fff;
  padding: 9px 14px; font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--black); }
.theme-btn {
  width: 34px; height: 34px; border: 1px solid #444;
  color: #ccc; display: grid; place-items: center; font-size: 14px;
}
.theme-btn:hover { border-color: #888; color: #fff; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; width: 100%; }
.hero-left {
  background: var(--cream); padding: 64px 48px 56px 28px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--line); position: relative;
  transition: background .28s;
}
.hero-left::before {
  content: ""; position: absolute;
  left: 28px; top: 64px; bottom: 56px;
  width: 2px; background: var(--red);
}
.hero-left-inner { padding-left: 28px; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.hero h1 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: clamp(34px, 4.2vw, 50px); line-height: 1.12; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 16px; color: var(--muted); max-width: 420px; margin-bottom: 28px; }

.hero-partners {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 22px;
}
.hero-partner {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 12px;
}
.hero-partner img {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 3px; background: #111; flex-shrink: 0;
}
.hero-partner .hero-maple {
  width: 32px; height: 32px; flex-shrink: 0;
}
.hero-partner strong {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; line-height: 1.25;
}
.hero-partner span {
  display: block; font-size: 10px; color: var(--muted); margin-top: 1px;
}

.motto {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.motto span + span::before { content: "|"; margin-right: 18px; color: var(--line); }

.hero-right {
  background: var(--hero-right-bg); position: relative;
  overflow: hidden; min-height: 620px;
}
.hero-right img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  background: #000;
}
.sculpture-light { display: none !important; }
html[data-theme="dark"] .sculpture-dark { display: none !important; }
html[data-theme="dark"] .sculpture-light { display: block !important; }
.hero-right-labels {
  position: absolute; right: 28px; top: 50%;
  transform: translateY(-50%); z-index: 2; text-align: right;
  pointer-events: none;
}
.hero-right-labels div {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #E8E2D6; margin: 18px 0;
  position: relative; padding-bottom: 10px;
}
.hero-right-labels div::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 18px; height: 2px; background: var(--red);
}

/* Pillars */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: background .28s;
}
.pillar {
  padding: 22px 20px; border-right: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.pillar:last-child { border-right: 0; }
.pillar svg { width: 28px; height: 28px; color: var(--muted); flex-shrink: 0; margin-top: 2px; }
.pillar strong {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px;
}
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.45; }


/* Threshold — full width detailed chart */
.threshold {
  padding: 48px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: background .28s;
}
.threshold-header {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px; margin-bottom: 18px;
}
.threshold h2 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05;
  text-transform: uppercase; margin-bottom: 12px;
}
.threshold-q { font-size: 15px; color: var(--muted); max-width: 360px; line-height: 1.5; }
.org-badge {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: var(--card);
  padding: 14px 16px; min-width: 280px;
}
.org-badge svg { width: 32px; height: 32px; flex-shrink: 0; }
.org-badge strong { display: block; font-size: 13px; font-weight: 600; }
.org-badge strong span { color: var(--red2); }
.org-badge em {
  display: block; font-style: normal; font-size: 11px;
  color: var(--muted); margin-top: 3px; line-height: 1.35;
}
.chart-card {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  padding: 20px 16px 12px; min-height: 420px;
  overflow: visible;
}
.chart-svg { width: 100%; height: auto; display: block; }
.phases {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; margin-top: 20px;
}
.phase {
  background: var(--card); border: 1px solid var(--line);
  padding: 16px 14px 18px; min-height: 128px;
}
.phase-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 10px;
  border: 1px solid var(--line);
}
.phase-icon svg { width: 14px; height: 14px; }
.phase h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.phase p { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.phase.blue h4, .phase.blue .phase-icon { color: var(--chart-blue); }
.phase.purple h4, .phase.purple .phase-icon { color: var(--chart-purple); }
.phase.red h4, .phase.red .phase-icon { color: var(--red2); }
.slogan {
  text-align: center; padding: 36px 12px 4px;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.slogan strong { color: var(--red2); font-weight: 600; }
.slogan .sep { margin: 0 12px; opacity: .35; }
.slogan .orn {
  display: inline-block; width: 32px; height: 1px;
  background: var(--line); vertical-align: middle; margin: 0 12px;
}

/* Framework + Milestones */
.framework-band {
  display: grid; grid-template-columns: 1.15fr .85fr;
  border-bottom: 1px solid var(--line);
}
.framework-left {
  padding: 40px 28px 40px 0; border-right: 1px solid var(--line);
}
.kicker {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.framework-left h2 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px;
}
.framework-left > p { color: var(--muted); font-size: 14px; max-width: 360px; margin-bottom: 18px; }
.link-red {
  color: var(--red); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.link-red:hover { text-decoration: underline; }
.fw-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 28px;
}
.fw-card {
  background: var(--card); border: 1px solid var(--line);
  padding: 20px 16px; transition: border-color .2s, box-shadow .2s;
}
.fw-card:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.fw-card svg { width: 24px; height: 24px; color: var(--ink); margin-bottom: 12px; }
.fw-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.fw-card p { font-size: 12px; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }
.fw-card .more { font-size: 11px; font-weight: 600; color: var(--red); letter-spacing: .04em; }

.milestones {
  padding: 40px 24px 40px 28px; background: var(--cream2);
  transition: background .28s;
}
.milestones h3 {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 28px;
}
.ms-track { position: relative; padding-top: 8px; }
.ms-line {
  position: absolute; left: 0; right: 0; top: 28px;
  height: 2px; background: var(--line);
}
.ms-line::after {
  content: ""; position: absolute; right: 0; top: 0;
  width: 18%; height: 100%; background: var(--red);
}
.ms-points {
  display: grid; grid-template-columns: repeat(7, 1fr);
  position: relative; z-index: 1;
}
.ms-point { text-align: center; }
.ms-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--cream2);
  margin: 0 auto 10px;
}
.ms-point:last-child .ms-dot { background: var(--red); width: 14px; height: 14px; }
.ms-year { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.ms-point:last-child .ms-year { color: var(--red); }
.ms-label { font-size: 10px; color: var(--muted); line-height: 1.3; }
.ms-caption {
  margin-top: 28px; text-align: center;
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* Resources */
.resources { padding: 40px 0; border-bottom: 1px solid var(--line); }
.resources-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 28px;
}
.resources h2 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px;
}
.resources-head p { color: var(--muted); font-size: 14px; max-width: 320px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.res-card {
  background: var(--card); border: 1px solid var(--line);
  display: grid; grid-template-columns: 88px 1fr; overflow: hidden;
}
.res-card:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.res-cover {
  background: var(--black); min-height: 120px;
  display: grid; place-items: center; overflow: hidden;
}
.res-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.res-cover .placeholder {
  width: 40px; height: 40px; border: 1px solid #444;
  display: grid; place-items: center; color: #888;
}
.res-body { padding: 16px 14px; }
.res-body .type {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.res-body h3 { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.res-body .more { font-size: 11px; font-weight: 600; color: var(--red); }

/* Contact */
.connect {
  border-bottom: 1px solid var(--line);
  background: var(--cream2); padding: 40px 0;
  transition: background .28s;
}
.connect-inner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.connect h2 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: 26px; margin-bottom: 10px;
}
.connect p { color: var(--muted); max-width: 400px; margin-bottom: 18px; }
.form { display: flex; max-width: 420px; }
.form input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 14px; outline: none;
}
.form button {
  background: var(--red); color: #fff; padding: 12px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.mission-box {
  border: 1px solid var(--line); background: var(--card); padding: 24px 22px;
}
.mission-box h3 {
  font-family: "Libre Baskerville", Georgia, serif; font-size: 17px;
  font-weight: 700; margin-bottom: 8px;
}
.mission-box p { font-size: 13px; color: var(--muted); }


/* Collaboration — top bar under hero */
.collab {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream2);
}
.collab-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.collab-label {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.collab-text h3 {
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: 16px; margin-bottom: 2px;
}
.collab-text p { font-size: 13px; color: var(--muted); max-width: 480px; line-height: 1.45; }
.collab-partners {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.collab-partner {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: var(--card);
  padding: 10px 14px;
}
.collab-partner img {
  width: 42px; height: 42px; object-fit: contain;
  border-radius: 4px; background: #111;
}
.collab-partner .maple-lg {
  width: 36px; height: 36px; display: block;
}
.collab-partner strong {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
}
.collab-partner span {
  display: block; font-size: 11px; color: var(--muted); margin-top: 2px;
}
.footer-meta .maple { width: 18px; height: 18px; }

/* Footer */
footer { background: var(--footer-bg); color: #E8E2D6; padding: 36px 0 24px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
}
footer .brand-text strong { color: #F2EDE4; }
footer .brand-text small { color: #888; }
.footer-nav {
  display: flex; gap: 22px; font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: #A8A29A;
}
.footer-nav a:hover { color: #fff; }
.footer-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; color: #777; letter-spacing: .06em;
}
.footer-meta .maple { width: 16px; height: 16px; fill: var(--red); }
.footer-bottom {
  border-top: 1px solid #222; padding-top: 16px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 11px; color: #666;
}

@media (max-width: 1000px) {
  .topbar, .hero, .framework-band { grid-template-columns: 1fr; }
  .topbar-right { justify-content: flex-end; gap: 12px; }
  .nav-dark { display: none; }
  .hero-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-right { min-height: 360px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .fw-cards, .res-grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr 1fr 1fr; }
  .ms-points { grid-template-columns: repeat(4, 1fr); gap: 16px 0; }
  .ms-line { display: none; }
  .framework-left { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .connect-inner { grid-template-columns: 1fr; }
  .chart-card { min-height: 280px; padding: 16px 10px 10px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 16px, 1480px); }
  .pillars, .fw-cards, .res-grid, .ms-points, .phases { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .topbar-left, .hero-left { padding-left: 16px; padding-right: 16px; }
  .hero-left::before { left: 16px; }
  .res-card { grid-template-columns: 72px 1fr; }
  .threshold-header { flex-direction: column; align-items: flex-start; }
  .form { flex-direction: column; }
  .form button { width: 100%; }
}


/* Multi-page shared */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.page-hero .kicker { margin-bottom: 8px; }
.page-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  margin-bottom: 12px;
}
.page-hero .lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

.about-page { padding: 40px 0 64px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.about-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.about-body {
  font-size: 14.5px;
  color: var(--ink);
  max-width: 540px;
  line-height: 1.65;
}
.about-body p + p { margin-top: 14px; }
.about-side { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px 18px;
}
.about-card h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.about-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-stat {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 16px 14px;
}
.about-stat strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-stat span {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.res-list {
  padding: 40px 0 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.res-list-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  min-height: 160px;
  color: inherit;
  transition: border-color .2s;
}
.res-list-card:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.res-list-cover {
  background: #0A0A0A;
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.res-list-cover img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .9;
}
.res-list-cover .ph {
  width: 48px; height: 48px;
  border: 1px solid #444;
  display: grid; place-items: center;
  color: #999;
}
.res-list-body { padding: 22px 20px; display: flex; flex-direction: column; }
.res-list-body .type {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.res-list-body h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px; line-height: 1.25;
}
.res-list-body p {
  font-size: 14px; color: var(--muted);
  line-height: 1.5; flex: 1; margin-bottom: 14px;
}
.res-list-body .more {
  font-size: 12px; font-weight: 600;
  color: var(--red); letter-spacing: .04em;
}
.article-page { padding: 40px 0 64px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.article-body h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px; font-weight: 700;
  margin: 28px 0 12px;
}
.article-body p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink); margin-bottom: 14px;
  max-width: 640px;
}
.article-body ul {
  margin: 12px 0 18px 20px;
  color: var(--ink); font-size: 15px; line-height: 1.65;
  max-width: 640px;
}
.article-body li { margin-bottom: 6px; }
.article-meta {
  font-size: 12px; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.article-side .side-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px 16px;
  margin-bottom: 12px;
}
.article-side h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.article-side a {
  display: block; font-size: 13px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.article-side a:last-child { border-bottom: 0; }
.article-side a:hover { color: var(--red); }
.article-side a.active { font-weight: 700; color: var(--red); }
.back-link {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--red); letter-spacing: .04em;
  margin-bottom: 20px;
}
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .res-list { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .res-list-card { grid-template-columns: 100px 1fr; }
}


/* === Layout polish: full-width, hero, align === */
.topbar {
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr 1fr;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78vh, 720px);
  width: 100%;
}
.hero-left {
  min-width: 0;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 48px) clamp(32px, 4vw, 56px) clamp(20px, 3vw, 28px);
}
.hero-right {
  min-width: 0;
  min-height: min(78vh, 720px);
  height: auto;
  align-self: stretch;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  background: #000;
}
.pillars {
  width: 100%;
  max-width: none;
}
.pillars.wrap,
.wrap {
  width: min(1480px, calc(100% - 24px));
  margin-inline: auto;
}
.fw-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  align-items: stretch;
}
.fw-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}
.fw-card p { flex: 1; }
.fw-card .more { margin-top: auto; }
.framework-band {
  width: min(1480px, calc(100% - 24px));
  margin-inline: auto;
  align-items: stretch;
}
.phases {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  align-items: stretch;
}
.phase { min-height: 0; height: 100%; }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto !important; }
  .hero {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }
  .hero-right {
    min-height: 480px;
    width: 100%;
  }
  .fw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .framework-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-right { min-height: 300px; aspect-ratio: 4 / 3; }
  .fw-cards, .phases, .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .wrap, .framework-band, .pillars.wrap {
    width: calc(100% - 16px);
  }
}

a.res-card { color: inherit; text-decoration: none; }
a.res-card:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
