/* ════════════════════════════════════════════
   extras.css : Process (04) + Stats (05) + Now (06)
   ════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   PROCESS (04) : numbered editorial steps
   ═══════════════════════════════════════════════════════ */
.fw-process-section {
  background: var(--bg-process);
  color: var(--text);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fw-process-inner {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 56px 100px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 80px;
}

.fw-process-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fw-process-top .fw-process-num   { color: var(--text-2); }
.fw-process-top .fw-process-label { color: var(--text); }
.fw-process-top .fw-process-count { color: var(--text-2); font-variant-numeric: tabular-nums; }

.fw-process-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0;
  color: var(--text);
}
.fw-process-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.fw-process-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.fw-process-step {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 56px;
  padding: 40px 0;
  border-top: 1px solid var(--border-strong);
  align-items: baseline;
  will-change: opacity, transform;
}
.fw-process-step:last-child { border-bottom: 1px solid var(--border-strong); }

.fw-process-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-3);
}

.fw-process-step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.fw-process-step-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.fw-process-step-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 480px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   STATS (05) : jumbo metric grid
   ═══════════════════════════════════════════════════════ */
.fw-stats-section {
  background: var(--bg-stats);
  color: var(--text);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fw-stats-inner {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 56px 110px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 72px;
}

.fw-stats-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fw-stats-top .fw-stats-num   { color: var(--text-2); }
.fw-stats-top .fw-stats-label { color: var(--text); }
.fw-stats-top .fw-stats-since { color: var(--text-2); font-variant-numeric: tabular-nums; }

.fw-stats-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 920px;
  margin: 0;
  color: var(--text);
}
.fw-stats-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.fw-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.fw-stat {
  padding: 36px 24px 30px 0;
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.fw-stat:not(:last-child) {
  border-right: 1px solid var(--border-strong);
}
.fw-stat:not(:last-child) .fw-stat-content { padding-right: 28px; }

.fw-stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.04em;
  will-change: contents;
}
.fw-stat-value-suffix {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--text-2);
  margin-left: 0.08em;
}

.fw-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}

.fw-stat-content {
  padding-left: 24px;
}
.fw-stat:first-child .fw-stat-content { padding-left: 0; }

/* ═══════════════════════════════════════════════════════
   STYLE GUIDE (06) : pinned scrub reveal of design tokens
   ═══════════════════════════════════════════════════════ */
.fw-style-section {
  background: var(--bg-style);
  color: var(--text);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fw-style-pin {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.fw-style-stage {
  width: 100%;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) 56px 24px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
}

.fw-style-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  will-change: opacity, transform;
}
.fw-style-top .fw-style-num   { color: var(--text-2); }
.fw-style-top .fw-style-label { color: var(--text); }
.fw-style-top .fw-style-tag   { color: var(--text-2); }

.fw-style-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 860px;
  margin: 0;
  will-change: opacity, transform;
}
.fw-style-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.fw-style-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  min-height: 0;
}

.fw-style-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.fw-style-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  border-top: 1px solid var(--border-strong);
  padding-top: 10px;
}

/* ── Color swatches ── */
.fw-style-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fw-style-swatch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  will-change: opacity, transform;
}
.fw-style-swatch-chip {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(21,20,15,0.04),
    0 6px 14px rgba(21,20,15,0.05);
}
.fw-style-swatch-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.fw-style-swatch-hex {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

/* ── Typography ── */
.fw-style-types {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fw-style-type {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  will-change: opacity, transform;
}
.fw-style-type:last-child {
  border-bottom: 1px solid var(--border);
}
.fw-style-type-sample {
  font-size: 40px;
  line-height: 0.9;
  color: var(--text);
}
.fw-style-type-sample--display { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.fw-style-type-sample--body    { font-family: var(--font-body);    font-weight: 500; }
.fw-style-type-sample--mono    { font-family: var(--font-mono);    font-weight: 600; font-size: 34px; letter-spacing: -0.02em; }

.fw-style-type-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fw-style-type-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.fw-style-type-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fw-style-type-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
}

.fw-style-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  border-top: 1px solid var(--border-strong);
  padding-top: 14px;
  will-change: opacity, transform;
}

@media (max-width: 1100px) {
  .fw-style-stage {
    padding: calc(var(--nav-h) + 28px) 40px 28px;
    gap: 22px;
  }
  .fw-style-grid {
    gap: 40px;
  }
  .fw-style-swatches {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  /* Drop pin + 100vh constraint, let section flow naturally */
  .fw-style-pin {
    height: auto;
    overflow: visible;
  }
  .fw-style-stage {
    height: auto;
    padding: 88px 28px 72px;
    gap: 28px;
    grid-template-rows: auto;
  }
  .fw-style-top {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .fw-style-heading {
    font-size: clamp(28px, 6.4vw, 44px);
    max-width: none;
  }
  .fw-style-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fw-style-group {
    gap: 14px;
  }
  .fw-style-swatches {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .fw-style-swatch-chip { aspect-ratio: 1.6 / 1; }
  .fw-style-swatch-name { font-size: 13px; }
  .fw-style-swatch-hex { font-size: 9px; }
  .fw-style-type {
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    padding: 12px 0;
  }
  .fw-style-type-sample { font-size: 36px; }
  .fw-style-type-sample--mono { font-size: 28px; }
  .fw-style-type-name { font-size: 16px; }
  .fw-style-type-role { font-size: 9px; }
  .fw-style-type-tag { font-size: 9px; padding: 4px 8px; }
  .fw-style-top, .fw-style-bottom {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .fw-style-bottom {
    flex-wrap: wrap;
    row-gap: 6px;
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .fw-style-stage {
    padding: 72px 18px 60px;
    gap: 24px;
  }
  .fw-style-heading {
    font-size: clamp(26px, 7.4vw, 38px);
  }
  .fw-style-swatches {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .fw-style-type {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .fw-style-type-tag { display: none; }
  .fw-style-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ═══════════════════════════════════════════════════════
   NOW (07) : currently building snapshot
   ═══════════════════════════════════════════════════════ */
.fw-now-section {
  background: var(--bg-now);
  color: var(--text);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fw-now-inner {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 56px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}

.fw-now-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.fw-now-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fw-now-top .fw-now-num   { color: var(--text-2); }
.fw-now-top .fw-now-label { color: var(--text); }

.fw-now-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}
.fw-now-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.fw-now-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.fw-now-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: breathe 2.4s ease-in-out infinite;
}

.fw-now-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.fw-now-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border-strong);
  align-items: baseline;
  will-change: opacity, transform;
}
.fw-now-item:last-child { border-bottom: 1px solid var(--border-strong); }

.fw-now-item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.fw-now-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fw-now-item-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}
.fw-now-item-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.fw-now-item-meta {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .fw-process-inner,
  .fw-stats-inner,
  .fw-now-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .fw-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fw-stat:nth-child(2) { border-right: none; }
  .fw-stat:nth-child(3),
  .fw-stat:nth-child(4) { border-top: 1px solid var(--border-strong); }
}

@media (max-width: 900px) {
  .fw-process-inner {
    padding: 88px 28px 72px;
    gap: 56px;
  }
  .fw-process-step {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .fw-process-step-desc {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 4px;
  }

  .fw-stats-inner {
    padding: 88px 28px 80px;
    gap: 48px;
  }
  .fw-stat {
    padding: 28px 0 22px;
  }
  .fw-stat-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .fw-stat:not(:last-child) {
    border-right: none;
  }
  .fw-stat-value { font-size: clamp(64px, 14vw, 110px); }

  .fw-now-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 88px 28px 80px;
  }
  .fw-now-left {
    position: static;
  }
  .fw-now-item {
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 22px 0;
  }
  .fw-now-item-label { font-size: 10px; letter-spacing: 0.18em; }
}

@media (max-width: 600px) {
  .fw-process-inner,
  .fw-stats-inner,
  .fw-now-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .fw-process-top,
  .fw-stats-top,
  .fw-now-top { font-size: 10px; letter-spacing: 0.18em; }
  .fw-process-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fw-process-step-num { color: var(--text-2); }
  .fw-stats-grid {
    grid-template-columns: 1fr;
  }
  .fw-stat:nth-child(3) { border-top: 1px solid var(--border-strong); }
  .fw-now-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
