:root {
  --revision-ink: #20201d;
  --revision-dark: #242421;
  --revision-paper: #f7f7f4;
  --revision-soft: #f2f2ee;
  --revision-line: #d6d6cf;
}

body { background: var(--revision-paper); }
.site-header { background: color-mix(in srgb, var(--revision-paper) 92%, transparent); }
.brand-mark-asymmetric { position: relative; width: 28px; height: 28px; display: block; background: transparent; border: 0; }
.brand-mark-asymmetric i { position: absolute; display: block; background: var(--revision-ink); width: 7px; height: 7px; }
.brand-mark-asymmetric i:nth-child(1) { left: 2px; top: 3px; }
.brand-mark-asymmetric i:nth-child(2) { left: 11px; top: 3px; width: 12px; }
.brand-mark-asymmetric i:nth-child(3) { left: 6px; top: 12px; width: 9px; height: 11px; }
.brand-mark-asymmetric i:nth-child(4) { left: 18px; top: 15px; width: 6px; height: 6px; }
.brand-mark-asymmetric b { position: absolute; left: 15px; top: 10px; width: 5px; height: 5px; background: var(--orange); }

.hero { min-height: 880px; background: var(--revision-paper); }
.hero-inner { min-height: 820px; }
.hero-stage { background: #f1f1ed; box-shadow: 0 18px 55px rgba(22,22,20,.08); }
.stage-grid, .contact-grid { opacity: .22; }
.hero-path .path-shadow { opacity: .08; }
.hero-path .path-main { stroke-dasharray: none; opacity: .76; animation: none; }
.problem-fragment { opacity: .68; }
.fragment-b { display: none; }
.system-module { box-shadow: 0 10px 22px rgba(18,18,16,.08); }
.scroll-cue { opacity: .58; }

.page-section { min-height: 0; padding-block: clamp(84px, 8vw, 128px); }
.section-inner { width: min(1240px, calc(100% - 64px)); }
.section-heading { margin-bottom: clamp(44px, 5vw, 72px); }
.section-heading h2 { font-size: clamp(2.45rem, 4.25vw, 4.65rem); max-width: 900px; }
.section-heading > p:last-child { max-width: 720px; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.system-label { letter-spacing: .13em; }

.line-card { min-height: 330px; padding: 24px; border-color: var(--revision-line); background: rgba(255,255,255,.38); }
.line-card + .line-card { border-left-color: transparent; }
.line-card h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
.pixel-diagram { height: 88px; opacity: .72; }
.process-section { background: #f2f2ee; }
.process-board { padding: clamp(32px, 5vw, 64px); border-color: #c9c9c2; background-image: linear-gradient(rgba(31,31,28,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(31,31,28,.035) 1px,transparent 1px); background-size: 48px 48px; }
.process-notes { margin-top: 40px; }

.work-section { background: var(--revision-dark); }
.work-section .section-heading h2, .work-section .section-heading > p:last-child { max-width: 760px; }
.work-tabs button { min-height: 60px; }
.work-panel { box-shadow: none; }

.capability-router { display: grid; gap: 24px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.capability-grid button { position: relative; min-height: 154px; padding: 20px; border: 1px solid var(--revision-line); background: transparent; color: var(--revision-ink); text-align: left; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.capability-grid button:hover { background: #f4f4f1; border-color: #b9b9b2; }
.capability-grid button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.capability-grid button[aria-selected="true"] { background: #f1f1ee; border-color: var(--revision-ink); }
.capability-grid button[aria-selected="true"]::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--orange); }
.capability-grid button > span { display: block; margin-bottom: 24px; font: 600 .7rem/1 var(--mono); letter-spacing: .12em; color: #77776f; }
.capability-grid button > strong { display: block; font-size: clamp(1.1rem, 1.35vw, 1.35rem); }
.capability-grid button > small { display: block; margin-top: 8px; font: 500 .78rem/1.45 var(--sans); color: #6d6d66; }
.capability-grid button > i { position: absolute; right: 14px; top: 14px; width: 6px; height: 6px; background: #b7b7b0; }
.capability-grid button[aria-selected="true"] > i { background: var(--orange); }
.capability-panel { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 300px; border: 1px solid var(--revision-ink); background: #fff; }
.capability-panel-copy, .capability-panel-proof { padding: clamp(28px, 4vw, 48px); }
.capability-panel-copy { border-right: 1px solid var(--revision-line); }
.capability-panel h3 { margin: 18px 0 20px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.capability-core { max-width: 540px; font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 700; line-height: 1.45; }
.capability-lens { margin-top: 26px; color: #686861; }
.capability-panel-proof ul { margin: 22px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--revision-line); }
.capability-panel-proof li { border-bottom: 1px solid var(--revision-line); }
.capability-panel-proof li a { display: flex; align-items: center; min-height: 52px; color: inherit; text-decoration: none; }
.capability-panel-proof li a:hover { background: #f6f6f3; }
.capability-panel-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.capability-panel-actions > span { max-width: 230px; color: #73736c; font-size: .82rem; }

.contact-section { min-height: 700px; background: #292926; }
.contact-inner { padding-block: clamp(100px, 12vw, 150px); }
.contact-inner h2 { font-size: clamp(3rem, 6vw, 6.25rem); max-width: 1040px; }
.contact-status { opacity: .66; }
.site-footer { background: #f2f2ee; }

@media (max-width: 900px) {
  .section-inner { width: min(100% - 40px, 760px); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-panel { grid-template-columns: 1fr; }
  .capability-panel-copy { border-right: 0; border-bottom: 1px solid var(--revision-line); }
}

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; }
  .page-section { padding-block: 76px; }
  .section-inner { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .line-card + .line-card { border-left-color: var(--revision-line); border-top-color: transparent; }
  .process-board { padding: 28px 18px; }
  .capability-grid { grid-template-columns: 1fr; gap: 8px; }
  .capability-grid button { min-height: 116px; }
  .capability-grid button > span { margin-bottom: 16px; }
  .capability-panel-copy, .capability-panel-proof { padding: 28px 22px; }
  .capability-panel h3 { font-size: 2.45rem; }
  .contact-section { min-height: 620px; }
  .contact-inner h2 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .capability-grid button { transition: none; }
}

/* Refinement 01: content-first fallback and 85/15 brand-to-pixel balance. */
.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
.skip-link { top: 12px; left: 16px; opacity: 0; pointer-events: none; transform: translateY(-72px); border: 1px solid var(--revision-ink); background: #fff; color: var(--revision-ink); box-shadow: 0 8px 24px rgb(32 32 29 / 12%); transition: opacity 160ms ease, transform 160ms ease; }
.skip-link:focus, .skip-link:focus-visible { top: 12px; opacity: 1; pointer-events: auto; transform: translateY(0); }
#main:focus, #main:focus-visible { outline: 0; }

.brand-mark-path { width: 30px; height: 30px; overflow: visible; fill: var(--revision-ink); shape-rendering: crispEdges; }
.brand-mark-path .brand-path { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.hero { min-height: clamp(720px, 84svh, 900px); padding-top: calc(var(--v2-header) + clamp(28px, 4vh, 52px)); padding-bottom: clamp(46px, 6vh, 68px); border-bottom-color: var(--revision-line); }
.hero-inner { min-height: 0; grid-template-columns: minmax(400px, .78fr) minmax(560px, 1.05fr); gap: clamp(36px, 4vw, 72px); }
.hero h1 { max-width: 7.8em; font-size: clamp(3.8rem, 5.35vw, 6.1rem); line-height: .96; }
.hero-lede { max-width: 35em; font-weight: 500; }
.hero-career-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 18px; color: #595952; font-size: .88rem; text-underline-offset: 4px; }
.hero-career-link:hover { color: var(--orange-dark); }
.hero-stage { min-height: clamp(480px, 54svh, 570px); border-color: #c7c7c0; }
.stage-meta { opacity: .62; }
.hero-path { inset: 7% 5% 7%; width: 90%; height: 86%; }
.hero-path .path-node rect { opacity: .7; }
.problem-fragment { font-size: .64rem; }
.system-module { min-width: 150px; padding: 11px 12px; border-color: #aaa9a2; }
.system-module strong { font-size: .74rem; }
.system-module small { margin-top: 5px; color: #686861; font: 500 .62rem/1.35 var(--sans); letter-spacing: 0; }
.module-status { font-size: .48rem; opacity: .7; }
.stage-caption { opacity: .55; }

.page-section { padding-block: clamp(76px, 7vw, 108px); }
.section-heading { margin-bottom: clamp(36px, 4vw, 56px); }
.section-heading h2 { max-width: 820px; font-size: clamp(2.25rem, 3.55vw, 3.85rem); line-height: 1.02; }
.section-heading > p:last-child { margin-top: 20px; font-weight: 500; line-height: 1.72; }
.system-label { margin-bottom: 16px; opacity: .76; }

.problem-grid { border-color: transparent; gap: 12px; }
.line-card { position: relative; min-height: 280px; border: 1px solid var(--revision-line); }
.line-card + .line-card { border-left-color: var(--revision-line); }
.line-card::after { content: ""; position: absolute; right: 16px; top: 16px; width: 5px; height: 5px; background: transparent; }
.line-card:hover { background: #f3f3f0; border-color: #b9b9b2; }
.line-card:hover::after { background: var(--orange); }
.line-card h3 { font-size: clamp(1.28rem, 1.65vw, 1.7rem); line-height: 1.3; }
.line-card p { max-width: 29em; font-weight: 500; }
.pixel-diagram { height: 68px; margin-block: 24px 20px; opacity: .62; }

.process-board { padding: clamp(28px, 4vw, 48px); border-color: var(--revision-line); background-image: none; }
.process-board li > i { margin-block: 22px 18px; }
.process-line { background: #cdcdc6; }
.process-line i { opacity: .7; }
.process-notes { margin-top: 18px; border: 0; gap: 1px; background: var(--revision-line); }
.process-notes p { min-height: 0; padding: 22px; border: 0; background: #f7f7f4; font-weight: 500; }
.process-notes p span { margin-bottom: 10px; }

.work-section { padding-block: clamp(80px, 8vw, 116px); background: #262623; }
.work-panel { grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr); background: #20201e; }
.work-media { min-height: 0; align-self: start; }
.work-media img { height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.work-copy { padding: clamp(30px, 3.4vw, 50px); }
.work-copy h3 { max-width: 16em; font-size: clamp(1.8rem, 2.35vw, 2.85rem); line-height: 1.15; }
.work-summary { max-width: 36em; font-weight: 500; line-height: 1.72; }
.work-copy dl { margin-top: 10px; }
.work-tabs button { min-height: 56px; border-color: #4f4f4a; }
.work-tabs button[aria-selected="true"] { background: #eeeeea; box-shadow: inset 0 -2px var(--orange); }

.capability-panel h3 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.capability-core { font-size: clamp(1.06rem, 1.45vw, 1.3rem); font-weight: 600; }

.contact-section { min-height: 0; padding: clamp(80px, 8vw, 116px) var(--v2-gutter); background: #f4f4f1; color: var(--revision-ink); }
.contact-grid { display: none; }
.contact-inner { width: min(100%, 1240px); padding-block: 0; }
.contact-inner .system-label { color: #6c6c65; }
.contact-inner h2 { max-width: 900px; font-size: clamp(2.7rem, 4.6vw, 5rem); line-height: 1; }
.contact-inner > p:not(.system-label) { margin-top: 24px; color: #606059; font-weight: 500; }
.contact-button { margin-top: 32px; }
.site-footer { min-height: 140px; grid-template-columns: 1fr 1fr auto; padding-block: 32px; border-top: 1px solid var(--revision-line); background: #efefeb; }
.site-footer > div:first-child { display: grid; gap: 6px; }
.site-footer strong { font-size: 1.05rem; }
.site-footer span, .site-footer p { margin: 0; color: #66665f; font-size: .82rem; }
.footer-status { display: flex; align-items: center; justify-content: flex-end; gap: 16px; color: #77776f; }
.footer-status span, .footer-status small { font: 600 .55rem/1 var(--mono); letter-spacing: .08em; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(350px, .8fr) minmax(470px, 1fr); }
  .hero h1 { font-size: clamp(3.4rem, 5.5vw, 4.8rem); }
  .work-panel { grid-template-columns: 1fr; }
  .work-media { width: 100%; }
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--v2-header) + 44px); padding-bottom: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { max-width: 7.8em; font-size: clamp(3rem, 13vw, 4rem); }
  .hero-stage { min-height: 430px; }
  .system-module { min-width: 128px; padding: 9px 10px; }
  .system-module strong { font-size: .64rem; }
  .system-module small { font-size: .55rem; }
  .page-section { padding-block: 68px; }
  .section-heading h2 { font-size: clamp(2rem, 9.8vw, 2.85rem); }
  .line-card { min-height: 250px; }
  .process-board li { min-height: 76px; }
  .process-notes { gap: 1px; }
  .work-panel { display: grid; grid-template-columns: 1fr; padding: 24px 18px; }
  .work-copy { display: contents; }
  .work-copy > .system-label { grid-row: 1; margin: 0 0 14px; }
  .work-copy > h3 { grid-row: 2; margin: 0 0 18px; font-size: clamp(1.7rem, 7.8vw, 2.35rem); }
  .work-copy > .work-summary { grid-row: 3; margin: 0 0 24px; }
  .work-media { grid-row: 4; min-height: 0; padding: 8px; }
  .work-media img { min-height: 0; height: auto; }
  .work-copy > dl { grid-row: 5; margin: 24px 0; }
  .work-copy > .work-links { grid-row: 6; }
  .contact-section { padding-block: 72px; }
  .contact-inner h2 { font-size: clamp(2.45rem, 11vw, 3.45rem); }
  .site-footer { min-height: 0; grid-template-columns: 1fr; gap: 20px; }
  .footer-status { justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible, [data-depth] { opacity: 1 !important; transform: none !important; }
}
