/* Documentary-layer sections (philosophy / system / evolution / AGI / tech / roadmap) */

/* ── Design philosophy ───────────────────────────────────── */
.philosophy {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.philosophy h2 { color: var(--ink-on-dark); }
.philosophy .lede { color: rgba(242, 237, 225, 0.65); }
.philosophy__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.principle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 237, 225, 0.08);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.principle__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: -1px;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.principle__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-on-dark);
  letter-spacing: -0.3px;
}
.principle__desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 237, 225, 0.65);
}

/* ── Design system swatches ──────────────────────────────── */
.system { background: var(--bg-cream); }
.system__group {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.system__group:last-child { border-bottom: 1px solid var(--hairline); }
.system__group-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive-deep);
}
.system__group-en {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-faint);
  margin-top: 4px;
}
.system__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.swatch {
  background: var(--bg-card);
  border-radius: var(--r-chip);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.swatch__pad {
  height: 80px;
  position: relative;
}
.swatch__pad-hint {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.85);
  mix-blend-mode: difference;
}
.swatch__meta {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.swatch__name { color: var(--ink); font-weight: 600; }
.swatch__hex { color: var(--ink-faint); font-family: var(--font-mono); }

.system__type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.type-card {
  background: var(--bg-card);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.type-card__sample {
  color: var(--ink);
  font-feature-settings: "tnum" 1;
  letter-spacing: -1px;
}
.type-card__sample.s-56 { font-size: 56px; font-weight: 600; line-height: 1; }
.type-card__sample.s-28 { font-size: 28px; font-weight: 700; line-height: 1.1; }
.type-card__sample.s-17 { font-size: 17px; font-weight: 600; }
.type-card__sample.s-10 { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--olive); }
.type-card__meta {
  font-size: 11px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  text-align: right;
  line-height: 1.5;
}

.system__radius-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}
.radius {
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: end center;
  padding: 4px 0;
  font-size: 11px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
.radius.r-4   { width: 60px; height: 60px; border-radius: 4px; }
.radius.r-12  { width: 64px; height: 64px; border-radius: 12px; }
.radius.r-14  { width: 68px; height: 68px; border-radius: 14px; }
.radius.r-18  { width: 72px; height: 72px; border-radius: 18px; }
.radius.r-22  { width: 76px; height: 76px; border-radius: 22px; }
.radius.r-28  { width: 84px; height: 84px; border-radius: 28px; }
.radius.r-40  { width: 96px; height: 96px; border-radius: 40px; }
.radius.r-100 { width: 110px; height: 60px; border-radius: 100px; }

/* ── Evolution timeline ──────────────────────────────────── */
.evolution { background: var(--bg-page); }
.evolution__timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
  position: relative;
}
.evolution__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evolution__mockup {
  aspect-ratio: 5 / 7;
  border-radius: var(--r-chip);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.evolution__mockup::after {
  content: attr(data-label);
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
/* The 5 mockup variants — drawn in CSS, not images */
.evolution__mockup--v1 {
  background:
    linear-gradient(180deg, #ffd5a8 0%, #ff7e3d 100%);
}
.evolution__mockup--v2 {
  background:
    linear-gradient(165deg, #0F2419 0%, #1A3527 100%);
}
.evolution__mockup--v3 {
  background:
    linear-gradient(168deg, #F2EDE1 0%, #E8E0CC 100%);
}
.evolution__mockup--v4 {
  background:
    linear-gradient(168deg, #FBF7EA 0%, #F5F0DE 100%);
}
.evolution__mockup--v5 {
  background:
    linear-gradient(168deg, #FFFFFF 0%, #FBFBFD 100%);
  border: 1px solid var(--hairline);
}
.evolution__step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.evolution__step-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ── AGI co-creation ─────────────────────────────────────── */
.agi {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.agi h2 { color: var(--ink-on-dark); }
.agi .lede { color: rgba(242, 237, 225, 0.65); max-width: 720px; }
.agi__triad {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 237, 225, 0.08);
  border-radius: var(--r-card);
  padding: 28px;
}
.tool__chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--olive);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--olive-soft);
  margin-bottom: 16px;
}
.tool__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-on-dark);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.tool__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242, 237, 225, 0.7);
  margin-bottom: 18px;
}
.tool__did {
  font-size: 12px;
  color: rgba(242, 237, 225, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tool__list {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242, 237, 225, 0.85);
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tool__list li { padding-left: 16px; position: relative; }
.tool__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1.5px;
  background: var(--olive);
}

.agi__callout {
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: var(--r-card);
  background: rgba(207, 232, 90, 0.06);
  border: 1px solid rgba(207, 232, 90, 0.15);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.agi__callout-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  line-height: 1.4;
}
.agi__callout-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242, 237, 225, 0.85);
}
.agi__callout-text em {
  color: var(--olive);
  font-style: normal;
  font-weight: 700;
}

/* ── Tech architecture ───────────────────────────────────── */
.tech { background: var(--bg-page); }
.tech__diagram {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.tier {
  background: var(--bg-card);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.tier__role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--olive-deep);
  text-transform: uppercase;
}
.tier__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.tier__sub {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tier__chips {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-cream);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.chip--accent {
  background: var(--olive-soft);
  color: var(--olive-deep);
}

/* ── Roadmap ─────────────────────────────────────────────── */
.roadmap { background: var(--bg-cream); }
.roadmap__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: var(--bg-card);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.plan__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan__num {
  width: 36px; height: 36px;
  border-radius: var(--r-chip);
  background: var(--bg-cream);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.plan__status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.plan__status--done {
  background: var(--olive-soft);
  color: var(--olive-deep);
}
.plan__status--wip {
  background: rgba(255, 126, 61, 0.12);
  color: #C9633A;
}
.plan__status--todo {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink-faint);
}
.plan__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.plan__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.plan.is-done .plan__num {
  background: var(--ink);
  color: var(--bg-card);
}

@media (max-width: 1024px) {
  .philosophy__grid { grid-template-columns: repeat(2, 1fr); }
  .agi__triad { grid-template-columns: 1fr; }
  .tech__diagram { grid-template-columns: 1fr; }
  .roadmap__grid { grid-template-columns: repeat(2, 1fr); }
  .agi__callout { grid-template-columns: 1fr; }
  .evolution__timeline { grid-template-columns: repeat(2, 1fr); }
  .system__group { grid-template-columns: 1fr; gap: 16px; }
  .system__type-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .philosophy__grid { grid-template-columns: 1fr; }
  .roadmap__grid { grid-template-columns: 1fr; }
  .evolution__timeline { grid-template-columns: 1fr; }
}
