/* ==================================================
   YEARBOOK — palette + bespoke identity sections
   Palette from the brand board (Page 7):
   Blue #446DF6 · Bright Peach #FAB70B ·
   Black #19191B · White #F6F7FC
   ================================================== */

:root {
  --cs-ink: #0A0F26;            /* the wordmark's deep navy */
  --cs-hero-bg: #446DF6;        /* brand blue drench */
  --cs-accent: #446DF6;
  --cs-accent-text: #2C49C9;    /* blue, deepened for text on bone */
  --cs-support: #FAB70B;
  --cs-soft: #ECECF4;           /* cool-tinted soft, echoes brand white */
}

/* Hero on brand blue: white type, peach accents */
.cs-hero { color: #F6F7FC; }
.cs-hero-sub { color: rgba(246, 247, 252, 0.78); }
.cs-hero-rail { border-top-color: rgba(246, 247, 252, 0.25); }
.cs-hero-meta dt { color: rgba(246, 247, 252, 0.55); }

.yb-hero-logo { width: clamp(280px, 36vw, 560px); height: auto; }
.yb-hero-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 247, 252, 0.7);
  display: block;
  margin-top: 24px;
}

/* --------------------------------------------------
   KEY INSIGHT pull quote
-------------------------------------------------- */
.yb-insight {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 250;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.4;
  max-width: 26em;
  margin-top: clamp(40px, 6vh, 72px);
  padding-top: clamp(28px, 4vh, 44px);
  border-top: 1px solid var(--cs-line);
  color: var(--text);
}
.yb-insight strong { font-weight: 400; color: var(--cs-accent-text); }
.cs-section--ink .yb-insight {
  border-top-color: var(--cs-line-dark);
  color: var(--cs-on-ink);
}
.cs-section--ink .yb-insight strong { color: var(--cs-support); }

/* --------------------------------------------------
   VISION — three intentions
-------------------------------------------------- */
.yb-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(44px, 7vh, 80px);
}
.yb-vision-col .num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cs-accent-text);
  display: block;
  margin-bottom: 14px;
}
.yb-vision-col h3 {
  font-weight: 650;
  font-variation-settings: 'wdth' 86;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.yb-vision-col p {
  font-size: 14px;
  font-weight: 380;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 30ch;
}

/* --------------------------------------------------
   IDENTITY
-------------------------------------------------- */
.yb-logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 5vh, 56px);
}
.yb-logo-tile {
  background: #F6F7FC;
  border: 1px solid var(--cs-line);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yb-logo-tile--dark { background: var(--cs-ink); }
.yb-logo-tile img { width: 100%; max-width: 180px; height: auto; }
.yb-logo-tile figcaption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.yb-wordmark-band {
  margin: clamp(40px, 6vh, 72px) calc(-1 * var(--gutter)) 0;
}
.yb-wordmark-band img { width: 100%; height: auto; display: block; }

.yb-rationale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 72px);
  margin-top: clamp(40px, 6vh, 72px);
  align-items: start;
}
.yb-rationale ul { margin-top: 18px; }
.yb-rationale li {
  font-size: 14.5px;
  font-weight: 390;
  line-height: 1.65;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--cs-line);
}
.yb-rationale li::before {
  content: '"';
  font-family: var(--serif);
  font-weight: 600;
  color: var(--cs-accent-text);
  margin-right: 12px;
}

.yb-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(32px, 5vh, 56px);
}
.yb-context-grid figure:first-child { grid-column: 1 / -1; }

/* --------------------------------------------------
   FEATURE SYSTEMS
-------------------------------------------------- */
.yb-feature {
  padding: clamp(40px, 7vh, 80px) 0;
  border-top: 1px solid var(--cs-line);
  margin-top: clamp(36px, 6vh, 64px);
}
.yb-feature:first-of-type { margin-top: clamp(48px, 8vh, 88px); }
.yb-feature-head { max-width: 62ch; }
.yb-feature-head h3 {
  font-weight: 650;
  font-variation-settings: 'wdth' 86;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.yb-feature-head p {
  font-size: 15px;
  font-weight: 390;
  line-height: 1.7;
  color: var(--text-secondary);
}
.yb-feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 72px);
  margin-top: clamp(28px, 4vh, 44px);
}
.yb-feature-cols h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-accent-text);
  margin-bottom: 18px;
}
.yb-mini { display: grid; gap: 14px; }
.yb-mini > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: baseline;
}
.yb-mini .n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cs-accent-text);
}
.yb-mini p {
  font-size: 13.5px;
  font-weight: 390;
  line-height: 1.6;
  color: var(--text-secondary);
}
.yb-feature figure { margin-top: clamp(28px, 4vh, 44px); }

@media (max-width: 1200px) {
  .yb-vision { grid-template-columns: 1fr; gap: 36px; }
  .yb-vision-col p { max-width: 52ch; }
}
@media (max-width: 768px) {
  .yb-logo-row { grid-template-columns: 1fr; }
  .yb-rationale { grid-template-columns: 1fr; }
  .yb-context-grid { grid-template-columns: 1fr; }
  .yb-feature-cols { grid-template-columns: 1fr; gap: 32px; }
}
