/* ============================================================
   AI Maker Summit 北京 2026 · 立项速览
   Design system
   ============================================================ */

:root {
  --ink: #1a1f3a;
  --ink-2: #2d3561;
  --ink-soft: #52607a;
  --muted: #7c87a3;

  --brand: #ff6b35;
  --brand-deep: #e5511a;
  --plum: #8b5cf6;
  --grad: linear-gradient(120deg, #ff6b35 0%, #8b5cf6 100%);

  --paper: #f6f6f3;
  --card: #ffffff;
  --line: #e8e9ef;
  --line-soft: #f0f1f5;

  --tint-orange: #fff3ec;
  --tint-purple: #f4f0fe;
  --tint-navy: #eef1f8;
  --tint-green: #e9f7ec;
  --tint-yellow: #fdf7d9;
  --tint-blue: #eaf2fe;

  --radius: 18px;
  --radius-lg: 26px;

  --shadow-1: 0 1px 2px rgba(26, 31, 58, .05);
  --shadow-2: 0 18px 40px -18px rgba(26, 31, 58, .18);

  --ff: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ff-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --container: 1080px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: rgba(255, 107, 53, .22); }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 246, 243, .82);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(26, 31, 58, .07);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .25s, background .25s;
}

.nav-links a:hover { color: var(--ink); background: rgba(26, 31, 58, .06); }
.nav-links a.active { color: #fff; background: var(--ink); }

/* mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--ink);
  flex: none;
  transition: background .2s;
}
.nav-toggle:hover { background: rgba(26, 31, 58, .07); }

/* ---------- typography ---------- */

.page-head { padding: 72px 0 8px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand-deep);
  text-transform: uppercase;
}

.page-title {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-sub {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  color: var(--ink-soft);
}

h2.sec-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.sec-sub {
  margin: 0 0 36px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------- cards & grids ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pad { padding: 28px; }

/* ---------- stat ---------- */

.stat .num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat .num em {
  font-style: normal;
  font-size: .52em;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}

.stat .label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.stat .num.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card.stat { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

/* ---------- pills / tags ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--tint-navy);
  color: var(--ink-2);
  white-space: nowrap;
}
.tag.orange { background: var(--tint-orange); color: var(--brand-deep); }
.tag.purple { background: var(--tint-purple); color: #6d3fd6; }
.tag.green  { background: var(--tint-green);  color: #2f8a4c; }
.tag.blue   { background: var(--tint-blue);   color: #2f66c4; }
.tag.yellow { background: var(--tint-yellow); color: #8a7410; }
.tag.ghost  { background: transparent; border: 1px solid var(--line); color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.pill:hover { border-color: var(--ink-soft); color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- bars ---------- */

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 31, 58, .07);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 1.1s var(--ease);
}

.bar-fill.solid { background: var(--brand); }
.bar-fill.plum  { background: var(--plum); }

/* ============================================================
   HERO
   ============================================================ */

.masthead {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 108px 0 96px;
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  pointer-events: none;
}
.masthead::before { background: #ff6b35; top: -240px; right: -120px; }
.masthead::after  { background: #8b5cf6; bottom: -300px; left: -160px; opacity: .28; }

.masthead .wrap { position: relative; z-index: 1; }

.masthead .kicker { color: #ffb598; }

.masthead h1 {
  margin: 18px 0 0;
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.masthead h1 .grad-text {
  background: linear-gradient(100deg, #ff9a6c, #b794f8 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }

.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 107, 53, .6); }
.btn.primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn.ghost { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(26,31,58,.5); }

/* countdown */

.countdown {
  margin-top: 64px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cd-cell {
  min-width: 96px;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}

.cd-cell .v {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.cd-cell .u {
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
}

/* ============================================================
   GOAL / CHANGE CARDS
   ============================================================ */

.goal-card { position: relative; overflow: hidden; }

.goal-card .idx {
  font-family: var(--ff-serif);
  font-size: 20px;
  color: var(--brand);
  font-weight: 700;
}

.goal-card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.goal-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.change-card { display: flex; gap: 18px; align-items: flex-start; }

.change-card .n {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  background: var(--grad);
}

.change-card h3 { margin: 2px 0 4px; font-size: 17px; color: var(--ink); font-weight: 800; }
.change-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* quote */

.quote {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--plum);
  filter: blur(130px);
  opacity: .25;
  right: -160px; top: -180px;
}

.quote blockquote {
  position: relative;
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.8;
  letter-spacing: .02em;
}

.quote figcaption {
  position: relative;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- explore nav cards ---------- */

.explore-card {
  display: block;
  padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.explore-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }

.explore-card .t { font-size: 19px; font-weight: 800; color: var(--ink); }
.explore-card .d { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.explore-card .go {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-deep);
}

/* ============================================================
   OVERVIEW
   ============================================================ */

.info-list { display: grid; gap: 0; }

.info-row {
  display: flex;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child { border-bottom: 0; }

.info-row .k {
  flex: none;
  width: 96px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 2px;
}

.info-row .v { color: var(--ink); font-weight: 600; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 9px; }

.topic-card { padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.topic-card.hide { display: none; }

.topic-card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--ink); }
.topic-card .en { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.topic-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; }
.topic-meta .pct { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.topic-meta .pct.na { color: var(--muted); font-weight: 700; }

/* ============================================================
   SCHEDULE
   ============================================================ */

.day-block h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.day-block h3 small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.day-block + .day-block { margin-top: 44px; }

.sched-rows {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.sched-row {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s;
}
.sched-row:last-child { border-bottom: 0; }
.sched-row.kind-break { background: #fafaf7; }
.sched-row.kind-break .item { color: var(--muted); font-weight: 600; }
.sched-row.kind-meal { background: var(--tint-orange); }
.sched-row.kind-tea { background: var(--tint-yellow); }
.sched-row.kind-panel { background: var(--tint-purple); }

.sched-row:hover { background: #f4f6fb; }
.sched-row.kind-break:hover { background: #f5f4f0; }

.sched-row .time {
  font-family: var(--ff-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.sched-row .item { font-weight: 700; color: var(--ink); }

.sched-row.picked { box-shadow: inset 4px 0 0 var(--brand); }
.sched-row.picked .item { color: var(--brand-deep); }

.now-line {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: var(--brand);
  z-index: 5;
  pointer-events: none;
}
.now-line span {
  position: absolute;
  left: 8px;
  top: -10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 1px 8px;
  border-radius: 999px;
}

.sched-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.sched-legend i {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -1px;
}

/* ============================================================
   SPEAKERS
   ============================================================ */

.ratio-bar {
  display: grid;
  grid-template-columns: 20fr 30fr 50fr;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: var(--shadow-1);
}
.ratio-bar div {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.ratio-bar .r-hero { background: #ff6b35; }
.ratio-bar .r-hot  { background: linear-gradient(120deg, #ff8a5c, #b07cf0); }
.ratio-bar .r-help { background: #8b5cf6; justify-content: flex-end; }

.h-card { padding: 32px 30px; position: relative; overflow: hidden; }
.h-card .h-pct {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.h-card .h-pct em { font-style: normal; font-size: 24px; color: var(--muted); font-weight: 700; }
.h-card h3 { margin: 14px 0 2px; font-size: 22px; font-weight: 800; color: var(--ink); }
.h-card .h-count { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.h-card .h-desc { margin: 16px 0 18px; font-size: 14.5px; color: var(--ink-soft); }

.h-card.hero .h-pct { color: var(--brand-deep); }
.h-card.help .h-pct { color: #6d3fd6; }

.dir-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   ROADMAP
   ============================================================ */

.progress-card { padding: 26px 28px; margin-bottom: 40px; display: flex; align-items: center; gap: 26px; }
.progress-card .p-num { font-size: 34px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.progress-card .p-label { font-size: 13.5px; color: var(--muted); margin-top:6px; }
.progress-card .bar-track { flex: 1; height: 10px; }

.month { margin-bottom: 40px; }
.month > h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.month > h3 small { font-weight: 600; color: var(--muted); margin-left: 8px; font-size: 12.5px; }

.milestones { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }

.ms-row {
  position: relative;
  display: grid;
  grid-template-columns: 152px 1fr auto auto;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  transition: background .2s;
}
.ms-row:last-child { border-bottom: 0; }
.ms-row:hover { background: #f7f8fc; }
.ms-row.hide { display: none; }

.ms-row .m-date { font-weight: 700; font-size: 14.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ms-row .m-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.ms-row .m-note { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ms-row.is-key .m-title { color: var(--brand-deep); }
.ms-row.is-final { background: var(--tint-purple); }
.ms-row.is-final .m-title { color: #6d3fd6; }

.ms-check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.6px solid var(--line-strong, #cfd5e2);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 13px;
  transition: all .25s;
}

.ms-row.done .ms-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.ms-row.done .m-title,
.ms-row.done .m-date { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(124,135,163,.6); }
.ms-row.done .m-note { color: #b3bccf; }

.roadmap-hint { font-size: 13px; color: var(--muted); margin: -12px 0 24px; }

/* ============================================================
   FINANCE
   ============================================================ */

.scenario-card { padding: 40px 36px; margin-bottom: 28px; }

.scenario-pills { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }

.spill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.spill .sub { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.spill:hover { border-color: var(--ink-soft); }
.spill.on-red    { background: #fdeceb; border-color: #f4b3af; color: #c0443c; }
.spill.on-yellow { background: #fdf7d9; border-color: #e7d675; color: #7d6a0e; }
.spill.on-green  { background: #e9f7ec; border-color: #9cd6ab; color: #2b7c47; }

.finance-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 36px; }
.finance-hero .big-rev {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.finance-hero .big-rev .cur { font-size: .4em; color: var(--muted); margin-right: 4px; vertical-align: .18em; font-weight: 700; }
.finance-hero .f-meta { font-size: 14.5px; color: var(--ink-soft); padding-bottom: 8px; }
.finance-hero .f-meta b { color: var(--ink); }

.tier-rows { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }

.tier-row {
  display: grid;
  grid-template-columns: 110px 1fr 92px 130px;
  gap: 18px;
  align-items: center;
  padding: 15px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.tier-row:last-child { border-bottom: 0; }

.tier-row .t-price { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier-row .t-count { font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.tier-row .t-rev { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

.compo { margin-top: 36px; }
.compo h4 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.stacked { display: flex; height: 16px; border-radius: 999px; overflow: hidden; }
.stacked i { display: block; height: 100%; transition: width .9s var(--ease); }
.compo-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); }
.compo-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* ============================================================
   TEAM
   ============================================================ */

.person-card { padding: 30px; }
.person-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

.avatar {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  flex: none;
}
.avatar.c1 { background: linear-gradient(135deg, #ff6b35, #e5511a); }
.avatar.c2 { background: linear-gradient(135deg, #5b7cfa, #3a55c9); }
.avatar.c3 { background: linear-gradient(135deg, #8b5cf6, #6d3fd6); }
.avatar.c4 { background: linear-gradient(135deg, #34b26b, #218a4e); }
.avatar.c5 { background: linear-gradient(135deg, #e8a93c, #c9851c); }

.person-head h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.person-head .p-role { font-size: 13px; color: var(--muted); }

.duty { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.duty:last-child { border-bottom: 0; padding-bottom: 0; }
.duty:first-child { padding-top: 0; }
.duty .d-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.duty .d-note { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  padding: 56px 0 48px;
  margin-top: 40px;
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer .brand { color: #fff; }
.footer .f-note { font-size: 13.5px; }

/* ============================================================
   REVEAL MOTION
   ============================================================ */

/* Progressive enhancement: content stays visible without JS.
   The hidden start state exists only while .js is set on <html>. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .quote { padding: 48px 28px; }

  /* nav collapses to a dropdown */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 20px 16px;
    overflow: visible;
    background: #f8f8f5;
    border-bottom: 1px solid rgba(26, 31, 58, .1);
    box-shadow: 0 24px 40px -24px rgba(26, 31, 58, .3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; border-radius: 12px; font-size: 15px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .nav-inner { height: 58px; gap: 12px; }
  .brand small { display: none; }

  .masthead { padding: 80px 0 72px; }
  .cd-cell { min-width: 72px; padding: 14px 14px 12px; }
  .cd-cell .v { font-size: 28px; }

  .sched-row { grid-template-columns: 110px 1fr; padding: 14px 18px; gap: 10px; }
  .sched-row .kind-tag { display: none; }

  .ms-row { grid-template-columns: 1fr auto auto; gap: 10px; padding: 14px 18px; }
  .ms-row .m-date { grid-column: 1 / -1; }

  .tier-row { grid-template-columns: 76px 1fr 96px; gap: 10px; padding: 13px 18px; }
  .tier-row .t-rev { display: none; }

  .progress-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .info-row { flex-direction: column; gap: 6px; }
  .info-row .k { width: auto; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bar-fill, .stacked i { transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
