/* ============================================
   CTRL Design System — Display Layer
   Presentation: portfolios, marketing, decks.
   Swiss minimalism. Type and space do the work.
   ============================================ */

/* ── Page ── */

.d-page {
  min-height: 100vh;
  background: var(--bg, #111110);
  color: var(--fg, #e8e6e3);
  -webkit-user-select: text;
  user-select: text;
  overflow-x: hidden;
}

.d-contain {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.d-contain--wide { max-width: 1200px; }

/* ── Nav ── */

.d-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: var(--bg, #111110);
  border-bottom: 1px solid var(--border-subtle, #33332f);
}

.d-nav__name {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
  text-decoration: none;
}

.d-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}


.d-nav__link {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted, #8a8885);
  text-decoration: none;
}

.d-nav__link:hover,
.d-nav__link--active {
  color: var(--fg, #e8e6e3);
}

/* Nav accordion — Case Studies expandable group */
.d-nav__group {
  display: flex;
  align-items: center;
  gap: 0;
  transition: gap 0.3s ease;
}

.d-nav__group--expanded {
  gap: 28px;
}

.d-nav__group-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted, #8a8885);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.d-nav__group-label:hover,
.d-nav__group--expanded .d-nav__group-label {
  color: var(--fg, #e8e6e3);
}

.d-nav__group-items {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 25px;
  list-style: none;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  padding-inline: 0;
  transition: max-width 0.3s ease, opacity 0.2s ease, padding-inline 0.3s ease;
}

.d-nav__group--expanded .d-nav__group-items {
  max-width: 300px;
  opacity: 1;
  padding-inline: 28px;
}

.d-nav__group-items .d-nav__link {
  white-space: nowrap;
}

/* Sub-nav */
.d-subnav {
  position: sticky;
  top: 71px; /* JS overrides with actual nav height */
  z-index: 100;
  display: flex;
  gap: 24px;
  height: 54px;
  padding: 0 clamp(20px, 5vw, 64px);
  align-items: center;
  background: var(--bg, #111110);
  border-bottom: 1px solid var(--border-subtle, #33332f);
}

.d-subnav__link {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-subtle, #666560);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.d-subnav__link:hover { color: var(--fg-muted, #8a8885); }
.d-subnav__link--active { color: var(--fg, #e8e6e3); border-bottom-color: var(--fg, #e8e6e3); }

@media (max-width: 600px) {
  .d-nav__links { gap: 16px; }
  .d-subnav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .d-subnav__link { white-space: nowrap; }
}

/* ── Sections ── */

.d-section,
[id] {
  scroll-margin-top: var(--scroll-offset, 104px);
}

.d-section {
  position: relative;
  padding: 64px 0;
}

.d-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--border-subtle, #33332f);
  pointer-events: none;
}

.d-section:last-of-type::after { display: none; }

.d-section--flush { padding: 0; border: none; }

/* ── Typography ── */

.d-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle, #666560);
  margin-bottom: 12px;
}

.d-headline {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg, #e8e6e3);
}

.d-headline--xl { font-size: 40px; }
.d-headline--lg { font-size: 28px; }
.d-headline--md { font-size: 20px; }

.d-body {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted, #8a8885);
  max-width: 600px;
}

.d-body strong { color: var(--fg, #e8e6e3); font-weight: 600; }
.d-body + .d-body { margin-top: 16px; }
.d-body a { color: var(--color-link, #00fff7); }

.d-mono {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--fg-subtle, #666560);
}

@media (max-width: 600px) {
  .d-headline--xl { font-size: 28px; }
  .d-headline--lg { font-size: 22px; }
}

/* ── Hero ── */

.d-hero {
  padding: 80px 0 48px;
}

.d-hero .d-headline { margin-bottom: 20px; max-width: 720px; }
.d-hero .d-body { margin-bottom: 20px; font-size: 15px; }

.d-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--fg-subtle, #666560);
}

.d-meta__sep { color: var(--border-subtle, #33332f); }

/* ── Cards ── */

.d-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle, #33332f);
}

.d-cards--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 768px) { .d-cards, .d-cards--2 { grid-template-columns: 1fr; } }

.d-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--bg, #111110);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.d-card:hover { background: var(--bg-surface, #1a1a18); }

.d-card__tag {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--fg-subtle, #666560);
}

.d-card__title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
}

.d-card__desc {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.6;
}

/* ── Gallery ── */

.d-gallery {
  display: grid;
  gap: 2px;
}

.d-gallery--2 { grid-template-columns: 1fr 1fr; }
.d-gallery--3 { grid-template-columns: 1fr 1fr 1fr; }
.d-gallery--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

@media (max-width: 768px) {
  .d-gallery--3, .d-gallery--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .d-gallery--2, .d-gallery--3, .d-gallery--4 { grid-template-columns: 1fr; }
}

.d-gallery__item { display: flex; flex-direction: column; }
.d-gallery__item img { width: 100%; display: block; }
.d-gallery__item--span-2 { grid-column: span 2; }

.d-gallery__caption {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--fg-subtle, #666560);
  padding: 8px 0;
  line-height: 1.5;
}

/* ── Phone Frame ── */

.d-phone {
  width: 260px;
  background: #000;
  border-radius: 32px;
  padding: 10px;
  flex-shrink: 0;
}

.d-phone__screen {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
}

.d-phone__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Metrics ── */

.d-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle, #33332f);
}

@media (max-width: 600px) { .d-metrics { grid-template-columns: 1fr; } }

.d-metric {
  padding: 32px 24px;
  background: var(--bg, #111110);
}

.d-metric__value {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--fg, #e8e6e3);
  margin-bottom: 6px;
}

.d-metric__label {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
  margin-bottom: 4px;
}

.d-metric__sub {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--fg-subtle, #666560);
}

/* ── Personas ── */

.d-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: transparent;
  margin-top: 32px;
}

.d-persona {
  padding: 24px;
  background: var(--bg, #111110);
  border: 1px solid var(--border-subtle, #33332f);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-persona__role {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle, #666560);
}

.d-persona__name {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
}

.d-persona__needs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.d-persona__needs li {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.5;
}

/* ── Decisions ── */

.d-decisions {
  display: flex;
  flex-direction: column;
}

.d-decision {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle, #33332f);
}

.d-decision:last-child { border-bottom: none; }

.d-decision__q {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
  margin-bottom: 8px;
}

.d-decision__a {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Flow ── */

.d-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 24px 0;
}

.d-flow__step {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.d-flow__step-num {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--fg-subtle, #666560);
}

.d-flow__step-label {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
}

.d-flow__step-desc {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--fg-subtle, #666560);
  line-height: 1.5;
}

.d-flow__arrow {
  font-family: var(--font-mono, monospace);
  font-size: 16px;
  color: var(--fg-subtle, #666560);
  padding: 20px 4px 0;
}

@media (max-width: 768px) {
  .d-flow { flex-direction: column; }
  .d-flow__arrow { transform: rotate(90deg); padding: 4px 0; align-self: center; }
}

/* ── Overview Table ── */

.d-overview {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border: 1px solid var(--border-subtle, #33332f);
  margin: 24px 0 0;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.d-overview dt {
  padding: 10px 16px;
  color: var(--fg-subtle, #666560);
  border-bottom: 1px solid var(--border-subtle, #33332f);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}

.d-overview dd {
  padding: 10px 16px;
  color: var(--fg-muted, #8a8885);
  border-bottom: 1px solid var(--border-subtle, #33332f);
  border-left: 1px solid var(--border-subtle, #33332f);
  line-height: 1.5;
}

.d-overview dt:last-of-type,
.d-overview dd:last-of-type { border-bottom: none; }

/* ── Callout ── */

.d-callout {
  padding: 24px;
  border-left: 2px solid var(--fg-subtle, #666560);
  margin: 24px 0;
}

.d-callout__body {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Why This Project ── */

.d-why {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-why__label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 12px;
}

/* Color variants — match d-status */
.d-why--dev  { background: rgba(255, 176, 0, 0.04); }
.d-why--dev .d-why__label { color: var(--accent-amber, #ffb000); }

.d-why--shipped { background: rgba(34, 197, 94, 0.04); }
.d-why--shipped .d-why__label { color: var(--color-success, #22c55e); }

.d-why--active { background: rgba(0, 255, 247, 0.04); }
.d-why--active .d-why__label { color: var(--accent-cyan, #00fff7); }

.d-why__headline {
  font-family: var(--font-display, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
  line-height: 1.5;
}

.d-why__body {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: #B8B8B8;
  line-height: 1.7;
}

/* ── Status ── */

.d-status {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.d-status--shipped { color: var(--color-success, #22c55e); }
.d-status--dev { color: var(--accent-amber, #ffb000); }
.d-status--active { color: var(--accent-cyan, #00fff7); }

/* ── Footer ── */

.d-footer {
  padding: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.d-next {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--fg-muted, #8a8885);
  text-decoration: none;
}

.d-next:hover { color: var(--fg, #e8e6e3); }

/* ── Sticky Scroll (parallax phone + text) ── */

.d-sticky-scroll {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  align-items: flex-start;
}

.d-sticky-scroll__phone {
  position: sticky;
  flex-shrink: 0;
  width: 460px;
  z-index: 2;
  /* top is set by JS for vertical centering */
}

.d-sticky-scroll__layers {
  position: relative;
  height: calc(100vh - 125px);
  background: #0E0E0D;
  overflow: hidden;
  opacity: 1;
  /* Bleed to left edge of page */
  width: calc(100% + var(--gutter-page, clamp(20px, 5vw, 64px)));
  margin-left: calc(-1 * var(--gutter-page, clamp(20px, 5vw, 64px)));
}

.d-sticky-scroll__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-sticky-scroll__layer.is-active { opacity: 1; }

.d-sticky-scroll__text {
  flex: 1;
}

.d-sticky-scroll__step {
  min-height: calc(100vh - 125px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  transition: opacity 0.3s ease;
  /* opacity set by JS based on distance from viewport center */
}

/* ── Utilities ── */

.d-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-subtle, #33332f); }
.d-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--border-subtle, #33332f); }
.d-grid-2 > *, .d-grid-3 > * { background: var(--bg, #111110); padding: 24px; }

@media (max-width: 768px) { .d-grid-2, .d-grid-3 { grid-template-columns: 1fr; } }

.d-mt-0 { margin-top: 0; }
.d-mt-4 { margin-top: 16px; }
.d-mt-8 { margin-top: 32px; }
.d-mt-16 { margin-top: 64px; }
.d-pt-8 { padding-top: 32px; }

.d-rule {
  position: relative;
  border: none;
  margin: 32px 0;
  height: 0;
}

.d-rule::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--border-subtle, #33332f);
  pointer-events: none;
}

/* ── Project Modal ── */

.d-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.d-modal-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

.d-modal {
  width: 960px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: var(--bg, #111110);
  border: 1px solid var(--border-subtle, #33332f);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.d-modal-overlay--open .d-modal {
  transform: translateY(0);
}

.d-modal__hero {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 48px;
}

.d-modal__image {
  width: 400px;
  aspect-ratio: 4 / 5;
  background: var(--bg-surface, #1a1a18);
  border: 1px solid var(--border-subtle, #33332f);
  flex-shrink: 0;
  overflow: hidden;
}

.d-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.d-modal__content {
  flex: 1;
  min-width: 0;
}

.d-modal__tag {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-amber, #ffb000);
}

.d-modal__title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg, #e8e6e3);
  margin-top: 12px;
}

.d-modal__desc {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted, #8a8885);
  margin-top: 12px;
  max-width: 468px;
}

.d-modal__footer {
  border-top: 1px solid var(--border-subtle, #33332f);
  padding: 48px;
}

@media (max-width: 768px) {
  .d-modal__hero { flex-direction: column; padding: 24px; }
  .d-modal__image { width: 100%; }
  .d-modal__title { font-size: 28px; }
  .d-modal__footer { padding: 24px; }
}

/* ── Pull Quote ── */

.d-pullquote {
  padding: 32px 40px;
  border-left: 2px solid var(--accent-cyan, #00fff7);
  margin: 48px 0 0;
  max-width: 720px;
}

.d-pullquote__body {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg, #e8e6e3);
}

@media (max-width: 600px) {
  .d-pullquote { padding: 24px 28px; }
  .d-pullquote__body { font-size: 18px; }
}

/* ── Beat (numbered sub-sections inside a section) ── */

.d-beat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.d-beat + .d-beat { margin-top: 40px; }

.d-beat__label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-muted, #8a8885);
  text-transform: uppercase;
}

.d-beat__headline {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg, #e8e6e3);
}

.d-beat__body {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted, #8a8885);
}

.d-beat__body strong { color: var(--fg, #e8e6e3); font-weight: 400; }

/* ── Before / After compare ── */

.d-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  max-width: 864px;
}

@media (max-width: 600px) { .d-compare { grid-template-columns: 1fr; } }

.d-compare__col {
  padding: 24px 28px;
  border: 1px solid var(--border-subtle, #33332f);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-compare__col--after {
  border-color: var(--fg, #e8e6e3);
}

.d-compare__label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle, #666560);
}

.d-compare__col--after .d-compare__label { color: var(--fg, #e8e6e3); }

.d-compare__item {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  color: var(--fg, #e8e6e3);
  line-height: 1.6;
}

/* ── Kept / inline note ── */

.d-kept {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--fg-subtle, #666560);
  max-width: 864px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-kept__label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-muted, #8a8885);
  text-transform: uppercase;
}

.d-kept__items {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  color: var(--fg, #e8e6e3);
  line-height: 1.6;
}

.d-kept__note {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.6;
  margin-top: 4px;
}

/* ── Push Notification timeline ── */

.d-push-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle, #33332f);
  margin-top: 40px;
  max-width: 864px;
}

.d-push {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 24px 28px;
  background: var(--bg, #111110);
}

.d-push__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 160px;
  flex-shrink: 0;
}

.d-push__time {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted, #8a8885);
}

.d-push__type {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-subtle, #666560);
}

.d-push__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.d-push__title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg, #e8e6e3);
}

.d-push__detail {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--fg-muted, #8a8885);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .d-push { flex-direction: column; gap: 12px; }
  .d-push__meta { width: auto; flex-direction: row; gap: 12px; }
}

/* ── Design System sub-section marker (used inside Process) ── */

.d-subsection {
  margin-top: 48px;
}

.d-subsection__num {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted, #8a8885);
}

.d-subsection__title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 4px;
  color: var(--fg, #e8e6e3);
}

.d-subsection__kicker {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--fg-muted, #8a8885);
  margin-top: 8px;
}
