/* Round 02: editorial reduction, mobile-first composition, and functional pixel states. */
:root {
  --round02-ink: #1d1d1a;
  --round02-muted: #686861;
  --round02-paper: #f7f7f3;
  --round02-soft: #f0f0ec;
  --round02-line: #d4d4cd;
  --round02-stage: #262623;
}

.brand-c { min-width: 224px; }
.brand-logo-c { width: 32px; height: 32px; flex: 0 0 32px; display: block; image-rendering: pixelated; }
.brand-c .brand-copy { padding-left: 0; }
.hero-contact-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 12px; color: var(--round02-muted); font-size: .86rem; text-underline-offset: 4px; }
.hero-contact-link:hover, .hero-contact-link:focus-visible { color: var(--orange-dark); }

.hero { min-height: 0; padding-top: calc(var(--v2-header) + clamp(36px, 5vw, 72px)); padding-bottom: clamp(52px, 6vw, 80px); }
.hero-inner { min-height: 0; }
.hero-copy { align-self: center; }
.hero h1 { max-width: 7.6em; font-size: clamp(3.7rem, 5.1vw, 5.8rem); }
.hero-lede { max-width: 31em; margin-top: 26px; }
.hero-entry-row { margin-top: 30px; }
.hero-stage { min-height: clamp(450px, 48vw, 520px); }
.stage-grid { opacity: .13; }
.problem-fragment { display: none; }
.route-segment { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: square; stroke-linejoin: miter; opacity: 0; transition: opacity 180ms ease; }
.hero-stage[data-active-route="work-console"] .route-console,
.hero-stage[data-active-route="resume-flow"] .route-resume,
.hero-stage[data-active-route="job-tracker"] .route-tracker { opacity: 1; }
.hero-stage[data-active-route] .path-main { opacity: .18; }
.hero-stage[data-active-route] .system-module:not(.is-route-active) { opacity: .68; }
.hero-stage[data-active-route="resume-flow"] .node-1 circle,
.hero-stage[data-active-route="resume-flow"] .node-2 circle,
.hero-stage[data-active-route="resume-flow"] .node-3 circle,
.hero-stage[data-active-route="work-console"] .node-3 circle,
.hero-stage[data-active-route="work-console"] .node-4 circle,
.hero-stage[data-active-route="job-tracker"] .node-4 circle,
.hero-stage[data-active-route="job-tracker"] .node-5 circle { r: 8px; fill: var(--orange); }
.system-module { min-height: 100px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 8px 20px rgb(18 18 16 / 7%); transition: opacity 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.system-module:hover, .system-module:focus-visible, .system-module.is-route-active { border-color: var(--round02-ink); background: #fff; color: var(--round02-ink); box-shadow: 6px 6px 0 var(--orange); transform: none; }
.system-module small { opacity: 1; }
.system-module em { display: block; max-height: 0; margin-top: 0; color: var(--orange-dark); font: 700 .58rem/1.3 var(--sans); font-style: normal; opacity: 0; overflow: hidden; transition: opacity 160ms ease, max-height 160ms ease, margin-top 160ms ease; }
.system-module:hover em, .system-module:focus-visible em, .system-module.is-route-active em { max-height: 24px; margin-top: 7px; opacity: 1; }
.module-status { display: flex; align-items: center; }
.module-status b { font: inherit; }
.module-status i { transition: background-color 160ms ease, box-shadow 160ms ease; }
.system-module.is-route-active .module-status i { box-shadow: 0 0 0 3px rgb(244 87 36 / 16%); }

.page-section { padding-block: clamp(68px, 6.5vw, 96px); }
.section-heading { margin-bottom: clamp(30px, 3.5vw, 46px); }
.section-heading h2 { font-size: clamp(2.15rem, 3.2vw, 3.45rem); }
.section-heading > p:last-child { max-width: 640px; }

.problem-grid { gap: 10px; }
.line-card { min-height: 250px; padding: 20px; }
.line-card h3 { margin-bottom: 10px; font-size: clamp(1.16rem, 1.45vw, 1.48rem); }
.line-card p { font-size: .86rem; line-height: 1.62; }
.pixel-diagram { height: 56px; margin: 18px 0 16px; background-size: 18px 18px; }
.diagram-choice i { width: 22px; height: 22px; top: 18px; }
.diagram-choice b { top: 28px; }
.diagram-tools i { width: 28px; height: 28px; }
.diagram-tools i:nth-child(1) { top: 9px; }.diagram-tools i:nth-child(2) { top: 24px; }.diagram-tools i:nth-child(3) { top: 10px; }
.diagram-entry i:nth-child(1) { width: 46px; height: 44px; top: 5px; }.diagram-entry i:nth-child(2) { width: 28px; height: 28px; top: 14px; }.diagram-entry b { top: 27px; }
.diagram-proof i { bottom: 8px; }.diagram-proof i:nth-child(1) { height: 16px; }.diagram-proof i:nth-child(2) { height: 28px; }.diagram-proof i:nth-child(3) { height: 40px; }.diagram-proof b { top: 8px; }

.process-board { padding: clamp(26px, 3.5vw, 42px); }
.process-board li > i { margin-block: 18px 14px; }
.process-phases { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 13px 2px 0; border-top: 1px solid var(--round02-line); color: var(--round02-muted); font: 700 .6rem/1 var(--mono); letter-spacing: .14em; }

.work-section { background: var(--round02-stage); }
.work-panel { grid-template-columns: minmax(0, 1.18fr) minmax(360px, .72fr); }
.work-media { margin: 12px; padding: 0; border: 1px solid #76766f; background: #242420; }
.window-bar { min-height: 38px; border-color: #76766f; }
.work-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border-color: #a5a59d;
  background: #fff;
  object-fit: contain;
}
.work-copy { padding: clamp(28px, 3vw, 44px); }
.work-copy h3 { max-width: 17em; margin-bottom: 16px; font-size: clamp(1.65rem, 2vw, 2.2rem); line-height: 1.16; }
.work-summary { margin-bottom: 26px; font-size: .95rem; }
.work-copy dl div { padding-block: 13px; }

.capability-grid-wrap { position: relative; padding-bottom: 11px; }
.capability-grid { gap: 8px; }
.capability-grid button { min-height: 128px; padding: 18px; }
.capability-grid button > span { margin-bottom: 18px; }
.capability-track { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--round02-line); overflow: hidden; }
.capability-track i { width: calc(25% - 6px); height: 3px; display: block; background: var(--orange); transform: translateX(calc(var(--cap-index, 0) * (100% + 8px))); transition: transform 180ms ease-out; }
.capability-grid-wrap[data-active-index="0"] { --cap-index: 0; }
.capability-grid-wrap[data-active-index="1"] { --cap-index: 1; }
.capability-grid-wrap[data-active-index="2"] { --cap-index: 2; }
.capability-grid-wrap[data-active-index="3"] { --cap-index: 3; }
.capability-panel { min-height: 260px; }
.capability-panel-copy, .capability-panel-proof { padding: clamp(24px, 3.5vw, 42px); }
.capability-panel h3 { font-size: clamp(1.8rem, 2.7vw, 2.7rem); }
.capability-core { font-size: clamp(1rem, 1.25vw, 1.16rem); }
.capability-lens { margin-top: 18px; }
.capability-panel-proof ul { margin-bottom: 22px; }
.capability-panel-actions > span { flex-basis: 100%; max-width: none; }
.capability-secondary[hidden] { display: none; }

.contact-section { padding-block: clamp(64px, 6vw, 88px); }
.contact-inner h2 { max-width: 760px; font-size: clamp(2.25rem, 3.6vw, 3.7rem); line-height: 1.06; }
.contact-inner > p:not(.system-label) { margin-top: 18px; }
.contact-button { margin-top: 26px; }
.site-footer { min-height: 116px; padding-block: 24px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-stage { min-height: 480px; }
  .work-panel { grid-template-columns: 1fr; }
  .work-media { margin-bottom: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand-c { min-width: 0; }
  .brand-logo-c { width: 32px; height: 32px; flex-basis: 32px; }
  .hero { padding-top: calc(var(--v2-header) + 36px); padding-bottom: 54px; }
  .hero-inner { gap: 32px; }
  .hero h1 { max-width: 8em; font-size: clamp(2.85rem, 12.2vw, 3.55rem); line-height: 1; }
  .hero-lede { margin-top: 20px; line-height: 1.65; }
  .hero-entry-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .hero-entry-row .button { min-width: 0; padding-inline: 10px; font-size: .78rem; }
  .hero-contact-link { margin-top: 8px; }
  .hero-stage { min-height: 360px; margin-inline: -6px; }
  .stage-meta span:first-child, .stage-caption { display: none; }
  .hero-path { inset: 6% 0; width: 100%; height: 88%; }
  .system-module { min-width: 112px; min-height: 78px; padding: 8px; box-shadow: 4px 4px 0 rgb(18 18 16 / 7%); }
  .system-module strong { margin-block: 6px; font-size: .58rem; }
  .system-module small { max-width: 10em; font-size: .53rem; line-height: 1.25; }
  .system-module em { font-size: .52rem; }
  .module-status { font-size: .43rem; }
  .module-console { top: 17%; right: 3%; }.module-resume { top: 45%; left: 3%; }.module-tracker { right: 4%; bottom: 4%; }

  .page-section { padding-block: 60px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .section-heading > p:last-child { margin-top: 16px; line-height: 1.65; }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .line-card { min-height: 224px; padding: 14px; }
  .line-card h3 { font-size: 1rem; line-height: 1.32; }
  .line-card p { font-size: .78rem; line-height: 1.55; }
  .card-index { font-size: .54rem; }
  .pixel-diagram { height: 46px; margin-block: 14px 12px; }

  .process-board { padding: 22px 18px; }
  .process-board li { min-height: 68px; }
  .process-phases { font-size: .52rem; }

  .work-tabs button { min-height: 54px; }
  .work-panel { padding: 20px 16px; }
  .work-copy > .system-label { grid-row: 1; }
  .work-copy > h3 { grid-row: 2; font-size: 1.75rem; }
  .work-copy > .work-summary { grid-row: 3; font-size: .92rem; }
  .work-media { grid-row: 4; min-height: 0; margin: 0; border-width: 1px; }
  .work-media img { height: auto; min-height: 0; object-fit: contain; }
  .work-copy > dl { grid-row: 5; }
  .work-copy > .work-links { grid-row: 6; }
  .work-copy dl div { grid-template-columns: 46px 1fr; gap: 12px; }

  .capability-grid-wrap { padding-bottom: 9px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .capability-grid button { min-height: 112px; padding: 14px; }
  .capability-grid button > span { margin-bottom: 13px; font-size: .58rem; }
  .capability-grid button > strong { font-size: .96rem; line-height: 1.28; }
  .capability-grid button > small { font-size: .7rem; }
  .capability-track i { width: calc(50% - 4px); }
  .capability-grid-wrap[data-active-index="0"], .capability-grid-wrap[data-active-index="2"] { --cap-index: 0; }
  .capability-grid-wrap[data-active-index="1"], .capability-grid-wrap[data-active-index="3"] { --cap-index: 1; }
  .capability-grid button[aria-selected="true"] { box-shadow: inset 0 -2px var(--orange); }
  .capability-panel-copy, .capability-panel-proof { padding: 24px 18px; }
  .capability-panel h3 { font-size: 2rem; }
  .capability-panel-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .brand-c .brand-copy small { display: block; margin-top: 3px; font-size: .43rem; letter-spacing: .1em; }

  .contact-section { padding-block: 58px; }
  .contact-inner h2 { font-size: clamp(2.05rem, 9.5vw, 2.7rem); }
  .site-footer { gap: 14px; }
}

@media (max-width: 410px) {
  .hero-entry-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.2rem); }
  .hero-stage { min-height: 340px; }
  .line-card { min-height: 216px; }
}

@media (prefers-reduced-motion: reduce) {
  .route-segment, .system-module, .system-module em, .capability-track i { transition: none; }
}
