/* ==========================================================================
   مقدمة في إدارة المشاريع — صفحة عرض تدريسي
   Design-led, image-free presentation page. HTML / CSS / SVG only.
   ========================================================================== */

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Regular.woff2") format("woff2"),
       url("../fonts/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Bold.woff2") format("woff2"),
       url("../fonts/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-ExtraBold.woff2") format("woff2"),
       url("../fonts/Tajawal-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F7F3EA;
  --paper-2: #EFE7D9;
  --paper-3: #E6DCC9;
  --ink: #1B2B28;
  --teal: #0F5C63;
  --teal-dk: #093F45;
  --teal-deep: #062F34;
  --coral: #CE684F;
  --coral-text: #A94C37;
  --sand: #E3BE7C;
  --sage: #9CB4A5;
  --muted: #5F6E68;
  --muted-2: #63706A;
  --line: rgba(27, 43, 40, 0.17);
  --line-soft: rgba(27, 43, 40, 0.10);
  --white: #FFFFFF;
  --max: 1240px;
  --gutter: clamp(22px, 4.2vw, 48px);
  --header-h: 78px;
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
}

::selection { background: var(--teal); color: var(--white); }

img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ol, ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
bdi { unicode-bidi: isolate; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--coral);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 18px 36px -34px rgba(9, 63, 69, 0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-inline-end: auto;
  text-decoration: none;
  line-height: 1.3;
}
.brand-mark { width: 31px; height: 31px; flex: none; }
.brand-text strong { display: block; font-size: 15.5px; font-weight: 700; }
.brand-text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
}

.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav a {
  position: relative;
  padding-block: 5px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--teal); font-weight: 700; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
}
.section-no {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--coral-text);
  font-size: 12.5px;
  font-weight: 700;
}
.section-no::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--coral);
}
.section-title {
  max-width: 22ch;
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.24;
  text-wrap: balance;
}
.section-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.95;
  text-wrap: pretty;
}
.label { color: var(--teal); font-size: 12px; font-weight: 700; }
.body-copy {
  max-width: 58ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}
.body-copy strong { color: var(--ink); font-weight: 700; }

.section {
  padding-block: clamp(72px, 9vw, 120px);
  scroll-margin-top: calc(var(--header-h) + 14px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 62px);
}
.section-head .section-lead { padding-bottom: 7px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(70px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(42px, 6vw, 80px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  font-weight: 500;
  line-height: 1.55;
}
.hero-lead {
  max-width: 55ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.95;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  padding-bottom: 2px;
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 92, 99, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-link:hover { color: var(--teal-dk); border-bottom-color: var(--teal-dk); }
.hero-link svg { width: 15px; height: 15px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 630px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.hero-facts > div {
  min-width: 0;
  padding-inline: 20px;
  border-inline-start: 1px solid var(--line-soft);
}
.hero-facts > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-facts dt { color: var(--muted-2); font-size: 11px; margin-bottom: 3px; }
.hero-facts dd { font-size: 13.5px; font-weight: 700; line-height: 1.55; }

/* ---------- live lesson board ---------- */
.lesson-board {
  position: relative;
  min-width: 0;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  box-shadow: 0 30px 60px -46px rgba(9, 63, 69, 0.6);
}
.board-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.board-top span { display: block; color: var(--muted); font-size: 10px; }
.board-top strong { display: block; margin-top: 1px; font-size: 14.5px; font-weight: 700; }
.board-time {
  color: var(--coral-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 0.9;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.board-time small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
}
.project-card {
  margin-top: 15px;
  background: var(--white);
  border: 1px solid var(--line);
}
.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 13px;
  background: var(--teal);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}
.project-card-head span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
}
.project-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-fields > div {
  min-width: 0;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line-soft);
}
.project-fields > div:nth-child(odd) { border-inline-end: 1px solid var(--line-soft); }
.project-fields dt { color: var(--muted); font-size: 9px; line-height: 1.5; }
.project-fields dd {
  margin-top: 1px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}
.status {
  display: inline-block;
  padding: 1px 6px;
  background: var(--coral-text);
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.7;
}
.project-card-note {
  padding: 8px 13px;
  background: var(--paper);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}
.board-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 9px;
}

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat {
  min-width: 0;
  padding: 27px 22px;
  border-inline-start: 1px solid var(--line-soft);
}
.stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stat-value {
  color: var(--teal);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-value span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-inline-start: 5px;
}
.stat-note { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* ---------- idea ---------- */
.idea-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}
.pullquote {
  padding-inline-start: clamp(20px, 2.5vw, 30px);
  border-inline-start: 3px solid var(--coral);
}
.pullquote p {
  font-size: clamp(1.55rem, 2.5vw, 2.18rem);
  font-weight: 800;
  line-height: 1.48;
  text-wrap: balance;
}
.pullquote .accent { color: var(--teal); }
.idea-grid .body-copy { margin-top: 26px; }
.question {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 17px 21px;
  background: var(--paper-2);
  border-inline-end: 2px solid var(--coral);
}
.question .label { flex: none; color: var(--coral-text); }
.question p { color: var(--teal); font-size: 17.5px; font-weight: 700; line-height: 1.5; }

.objectives { border-top: 2px solid var(--ink); }
.objectives .label { padding-block: 14px 2px; }
.obj-list { list-style: none; }
.obj {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.obj-no {
  padding-top: 4px;
  color: var(--coral-text);
  font-size: 11.5px;
  font-weight: 700;
  direction: ltr;
  text-align: start;
}
.obj p { font-size: 16.5px; font-weight: 500; line-height: 1.7; }

/* ---------- concepts ---------- */
#concepts {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}
.concept-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
}
.c-compare { grid-column: span 7; }
.c-traits { grid-column: span 5; }
.c-triangle { grid-column: span 5; }
.c-lifecycle { grid-column: span 7; }
.concept-kicker {
  color: var(--coral-text);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
}
.concept-card h3 {
  margin-top: 5px;
  font-size: clamp(1.28rem, 1.8vw, 1.6rem);
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
}

.compare {
  margin-top: 19px;
  border-top: 1px solid var(--ink);
  font-size: 11.5px;
  line-height: 1.6;
}
.compare-row {
  display: grid;
  grid-template-columns: 0.62fr 1fr 1fr;
}
.compare-row > span {
  padding: 8px 7px;
  border-bottom: 1px solid var(--line-soft);
}
.compare-row.head > span {
  padding-block: 7px;
  border-bottom: 0;
  color: var(--white);
  background: var(--teal);
  font-size: 9.5px;
  font-weight: 700;
}
.compare-row.head > span:first-child { background: var(--ink); }
.compare-row.head > span:last-child { background: var(--sage); color: var(--teal-dk); }
.compare-row > span:first-child { color: var(--muted); font-size: 10px; font-weight: 700; }
.compare-row:not(.head) > span:nth-child(2) { background: rgba(15, 92, 99, 0.045); }

.traits {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid var(--ink);
}
.traits li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.t-no {
  padding-top: 2px;
  color: var(--coral-text);
  font-size: 9px;
  font-weight: 700;
  direction: ltr;
}
.traits strong { display: block; font-size: 12px; font-weight: 700; line-height: 1.5; }
.traits p { margin-top: 1px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }

.triangle-figure {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 440 / 380;
  margin: 10px auto 0;
}
.triangle-figure svg { width: 100%; height: 100%; }
.tri-label {
  position: absolute;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.tri-quality {
  top: 62.6%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 10.5px;
}
.tri-time { top: 68%; right: 14%; }
.tri-cost { top: 68%; left: 14%; }
.tri-scope {
  bottom: 0.5%;
  left: 50%;
  transform: translateX(-50%);
}
.concept-note {
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}
.c-triangle .concept-note { border-top: 1px solid var(--line-soft); }

.lifecycle {
  list-style: none;
  margin-top: 15px;
  border-top: 1px solid var(--ink);
}
.lifecycle li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.lc-no {
  color: var(--coral-text);
  font-size: 9px;
  font-weight: 700;
  direction: ltr;
}
.lc-body h4 { font-size: 12px; font-weight: 700; line-height: 1.5; }
.lc-body p { margin-top: 1px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.lc-out {
  padding: 1px 6px;
  border: 1px solid var(--line);
  color: var(--teal);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.lifecycle-note {
  margin-top: auto;
  padding-top: 13px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

/* ---------- agenda ---------- */
#agenda { background: var(--paper); }
.timebar { display: flex; gap: 3px; height: 15px; }
.timebar span { display: block; height: 100%; background: var(--teal); }
.timebar .t-sand { background: var(--sand); }
.timebar .t-coral { background: var(--coral); }
.timebar .t-sage { background: var(--sage); }
.timebar .t-dark { background: var(--teal-dk); }
.timebar .t-soft { background: #4B868A; }
.timebar-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.agenda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 38px;
}
.agenda-list { list-style: none; border-top: 2px solid var(--ink); }
.agenda-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-block: 21px;
  border-bottom: 1px solid var(--line-soft);
}
.agenda-idx {
  padding-top: 3px;
  color: var(--coral-text);
  font-size: 11.5px;
  font-weight: 700;
  direction: ltr;
}
.agenda-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
}
.agenda-main h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.agenda-time {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.agenda-time small { margin-inline-start: 2px; color: var(--muted); font-size: 10.5px; font-weight: 400; }
.agenda-main p {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.agenda-slides {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  margin-top: 8px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.agenda-slides bdi { color: var(--ink); font-weight: 700; }

.agenda-aside {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.outcome {
  padding: clamp(24px, 3vw, 30px);
  background: var(--teal);
  border-top: 4px solid var(--sand);
  color: var(--white);
}
.outcome .label { color: var(--sand); }
.outcome p { margin-top: 10px; font-size: 15.5px; line-height: 1.9; }
.outcome-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.outcome-chips span {
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 10.5px;
  line-height: 1.7;
}
.agenda-note {
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--coral);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- design ---------- */
.design-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: start;
}
.principles { list-style: none; border-top: 2px solid var(--ink); }
.principle {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.principle-no {
  padding-top: 4px;
  color: var(--coral-text);
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
}
.principle h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.principle p { margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

.identity-card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
}
.id-type {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 11px;
  direction: ltr;
  text-align: end;
}
.id-sample {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem);
  font-weight: 800;
  line-height: 1.5;
}
.id-sample span { color: var(--teal); }
.id-sample-note { margin-top: 3px; color: var(--muted-2); font-size: 10.5px; }
.palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 25px;
}
.swatch { border: 1px solid var(--line-soft); }
.swatch i { display: block; height: 48px; background: var(--c); }
.swatch small {
  display: block;
  padding: 4px 3px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
  text-align: center;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.id-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.id-specs > div { padding-block: 10px; border-bottom: 1px solid var(--line-soft); }
.id-specs > div:nth-child(odd) { padding-inline-end: 12px; }
.id-specs > div:nth-child(even) { padding-inline-start: 12px; }
.id-specs dt { color: var(--muted-2); font-size: 9.5px; }
.id-specs dd { margin-top: 1px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.colophon {
  max-width: 92ch;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.8;
}

/* ---------- record ---------- */
#record {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
}
.record-list {
  border-top: 2px solid var(--ink);
}
.record-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding-block: 20px;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.record-row dt {
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.record-row dd {
  max-width: 72ch;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- closing ---------- */
.closing {
  padding-block: clamp(88px, 11vw, 150px);
  background: var(--teal-dk);
  border-top: 4px solid var(--coral);
  color: var(--paper);
}
.closing .section-no { color: var(--sand); }
.closing .section-no::after { background: var(--sand); }
.closing-quote {
  max-width: 20ch;
  margin-top: 22px;
  color: #FFFDF8;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}
.closing-quote span { color: var(--sand); }
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  margin-top: 38px;
}
.closing-copy {
  max-width: 64ch;
  color: rgba(247, 243, 234, 0.72);
  font-size: 16px;
  line-height: 1.95;
}
.signature {
  min-width: 210px;
  padding-inline-start: 19px;
  border-inline-start: 2px solid var(--sand);
}
.signature strong { display: block; color: #FFFDF8; font-size: 18px; font-weight: 700; }
.signature span {
  display: block;
  margin-top: 2px;
  color: rgba(247, 243, 234, 0.66);
  font-size: 11.5px;
  line-height: 1.7;
}

/* ---------- footer ---------- */
.site-footer {
  padding-block: 42px 24px;
  background: var(--teal-deep);
  border-top: 1px solid rgba(247, 243, 234, 0.14);
  color: rgba(247, 243, 234, 0.76);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand strong { display: block; color: #FFFDF8; font-size: 16px; font-weight: 700; }
.footer-brand p {
  max-width: 40ch;
  margin-top: 5px;
  color: rgba(247, 243, 234, 0.58);
  font-size: 12px;
  line-height: 1.8;
}
.footer-nav { display: flex; flex-direction: column; gap: 7px; }
.footer-nav a {
  color: rgba(247, 243, 234, 0.72);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--sand); }
.footer-meta { color: rgba(247, 243, 234, 0.58); font-size: 11.5px; line-height: 1.9; }
.footer-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--sand);
  font-weight: 700;
  text-decoration: none;
}
.footer-meta a:hover { color: #FFFDF8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 18px;
  color: rgba(247, 243, 234, 0.42);
  font-size: 10.5px;
}
.footer-bottom span:last-child { direction: ltr; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { gap: 21px; }
  .hero-grid { gap: 44px; }
  .hero-facts > div { padding-inline: 15px; }
  .concept-grid { gap: 18px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px -32px rgba(9, 63, 69, 0.55);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding-block: 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15.5px;
  }
  .site-nav a.is-active::after { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-copy { max-width: 680px; }
  .lesson-board { max-width: 620px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .section-head .section-lead { padding-bottom: 0; }
  .agenda-aside { position: static; }
  .c-compare,
  .c-traits,
  .c-triangle,
  .c-lifecycle { grid-column: span 12; }
  .compare { font-size: 12.5px; }
  .traits strong { font-size: 13px; }
  .traits p { font-size: 11.5px; }
  .lifecycle li { padding-block: 10px; }
  .lc-body h4 { font-size: 13px; }
  .lc-body p { font-size: 11.5px; }
}

@media (max-width: 800px) {
  .idea-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .agenda-grid { grid-template-columns: minmax(0, 1fr); }
  .agenda-aside { max-width: 560px; }
  .design-grid { grid-template-columns: minmax(0, 1fr); }
  .identity-card { max-width: 560px; }
  .closing-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .signature { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stat:last-child {
    grid-column: 1 / -1;
    padding-inline: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line-soft);
  }
  .stat-value { font-size: 2rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .hero-facts > div:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 12px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line-soft);
  }
  .record-row { grid-template-columns: 105px minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 560px) {
  .brand-text small { display: none; }
  .hero { padding-block: 34px 64px; }
  .hero h1 { font-size: clamp(2.15rem, 10.2vw, 3.2rem); }
  .hero-sub { font-size: 1.08rem; }
  .hero-lead { font-size: 15.5px; }
  .hero-facts { grid-template-columns: 1fr; row-gap: 0; }
  .hero-facts > div { padding: 10px 0; border-inline-start: 0; border-bottom: 1px solid var(--line-soft); }
  .hero-facts > div:first-child { padding-top: 0; }
  .hero-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .lesson-board { padding: 14px; }
  .board-top { padding-bottom: 12px; }
  .board-time { font-size: 25px; }
  .project-fields > div { padding: 9px 10px; }
  .project-fields dd { font-size: 11.5px; }
  .project-card-note { font-size: 8.5px; }
  .board-foot { font-size: 8.5px; }
  .question { flex-direction: column; align-items: flex-start; gap: 5px; }
  .obj { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; }
  .agenda-row { grid-template-columns: 27px minmax(0, 1fr); gap: 10px; }
  .agenda-main { column-gap: 12px; }
  .agenda-main h3 { font-size: 15px; }
  .agenda-time { font-size: 12.5px; }
  .concept-card { padding: 18px 16px; }
  .compare { font-size: 10.5px; }
  .compare-row > span { padding: 7px 5px; }
  .compare-row > span:first-child { font-size: 9px; }
  .compare-row.head > span { font-size: 8.5px; }
  .triangle-figure { max-width: 300px; }
  .lifecycle li { grid-template-columns: 21px minmax(0, 1fr); gap: 9px; }
  .lc-out { grid-column: 2; justify-self: start; margin-top: 3px; }
  .palette { gap: 5px; }
  .swatch small { font-size: 8px; }
  .record-row { grid-template-columns: 1fr; gap: 3px; padding-block: 16px; }
  .record-row dt { font-size: 11px; }
  .record-row dd { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
