.process-page { background: var(--surface); color: var(--text); }
.process-page [hidden] { display: none !important; }
.process-page svg:not(.process-diagram) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: 0 0 auto; }
.process-intro, .process-experience, .working-together, .process-close { max-width: 1440px; margin-inline: auto; padding-inline: clamp(24px, 5vw, 80px); }
.process-intro { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 64px; padding-block: clamp(48px, 6vw, 80px) 48px; }
.process-page h1, .process-page h2 { font-stretch: normal; font-variation-settings: "wdth" 100; text-transform: none; font-weight: 520; letter-spacing: -.035em; }
.process-intro h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.04; margin: 0; text-wrap: balance; }
.process-keep { white-space: nowrap; }
.process-intro p { max-width: 44ch; margin: 0 0 20px; color: var(--text-muted); font-size: 17px; line-height: 1.55; }
.process-intro a, .working-together a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 14px; text-underline-offset: 5px; }
.process-experience { padding-bottom: 68px; scroll-margin-top: 90px; }
.process-stages { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); gap: 24px; }
.process-stages a { position: relative; display: flex; align-items: center; gap: 14px; padding-block: 20px; color: var(--text-muted); text-decoration: none; font-size: 18px; }
.stage-number { font-size: 11px; font-variant-numeric: tabular-nums; }
.process-stages .is-active { color: var(--text); font-weight: 650; }
.process-stages .is-active .stage-number { color: var(--accent-text); }
.process-stages a::after, .process-stages a i { content: ''; position: absolute; height: 2px; inset: auto 0 -1px; background: transparent; }
.process-stages .is-active::after { background: var(--line); }
.process-stages .is-active i { z-index: 1; background: var(--orange); transform: scaleX(var(--stage-progress, 1)); transform-origin: left; }
.process-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); gap: 0 40px; padding-top: 32px; scroll-margin-top: 90px; }
.process-scenes > article + article { border-top: 1px solid var(--line); margin-top: 36px; }
.process-enhanced .process-scenes > article + article { border: 0; margin-top: 0; }
.process-story { padding-block: 18px 12px; }
.process-story h2 { max-width: 16ch; margin: 0 0 18px; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.13; }
.process-story > p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 40ch; }
.process-roles { margin: 28px 0 0; }
.process-roles > div { margin-top: 17px; }
.process-roles dt { font-size: 12px; font-weight: 650; margin-bottom: 5px; }
.process-roles dd { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; max-width: 34ch; }
.process-graphic { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 354px; margin: 0; padding: 22px 16px 20px; border-radius: 12px; background: var(--surface-alt); overflow: hidden; }
.process-diagram { width: 100%; height: auto; display: block; overflow: visible; }
.process-diagram text { font-family: Archivo, sans-serif; text-anchor: middle; fill: var(--text); font-size: 18px; font-weight: 500; }
.process-diagram .diagram-small { font-size: 16px; fill: var(--text-muted); }
.process-diagram .diagram-title { font-size: 20px; font-weight: 650; }
.diagram-box { fill: var(--surface-raised); stroke: var(--line); stroke-width: 1; }
.diagram-box.quiet { fill: var(--surface-alt); }
.diagram-box.orange { fill: var(--orange); stroke: var(--orange); }
.diagram-line { fill: none; stroke: var(--control-line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.process-diagram .on-orange { fill: var(--ink); }
.process-diagram path.on-orange { fill: none; stroke: rgba(17,17,17,.35); }
.target-mark { fill: none; stroke: var(--orange); stroke-width: 2; }
.target-mark circle:last-child { fill: var(--orange); }
.signal-packet { fill: var(--orange); stroke: var(--surface-alt); stroke-width: 3; offset-distance: 0%; opacity: 0; }
.process-graphic figcaption { padding-top: 16px; text-align: center; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.diagram-mobile { display: none; }
.process-output { grid-column: 2; display: flex; align-items: center; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line); }
.process-output > span { color: var(--text-muted); font-size: 11px; }
.process-output strong { flex: 1; font-size: 14px; font-weight: 550; }
.process-output svg { color: var(--accent-text); }
.process-detail { grid-column: 1 / -1; margin-top: 24px; border-bottom: 1px solid var(--line); }
.process-page summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; }
.process-page summary::-webkit-details-marker { display: none; }
.process-page summary > span { font-size: 22px; font-weight: 350; }
.process-page details[open] > summary > span { transform: rotate(45deg); }
.process-detail summary { min-height: 54px; font-size: 13px; }
.process-detail dl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-block: 12px 24px; }
.process-detail dt { font-size: 12px; font-weight: 650; margin-bottom: 10px; }
.process-detail dd { margin: 0; max-width: 50ch; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.process-playback { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.process-playback button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.process-playback p { margin: 0; color: var(--text-muted); font-size: 11px; }
.process-playback .pause-symbol { display: none; }
.is-playing .process-playback .play-symbol { display: none; }
.is-playing .process-playback .pause-symbol { display: block; }
.process-enhanced .is-active .signal-packet { animation: carry-signal 7s linear 1 both; animation-play-state: paused; }
.process-enhanced .is-active .draw-path { stroke-dasharray: 8 7; animation: carry-line 1s linear infinite; animation-play-state: paused; }
.process-enhanced.is-playing .is-active :is(.signal-packet, .draw-path) { animation-play-state: running; }
@keyframes carry-signal { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes carry-line { to { stroke-dashoffset: -15; } }
.working-together { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 60px 80px; border-top: 1px solid var(--line); }
.working-together h2 { margin: 0 0 22px; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.working-together > div > p { max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--text-muted); margin-bottom: 20px; }
.partnership-notes details { border-bottom: 1px solid var(--line); }
.partnership-notes summary { min-height: 70px; font-size: 17px; font-weight: 550; }
.partnership-notes p { margin: 0 34px 22px 0; max-width: 45ch; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.process-close { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 48px; background: var(--orange); color: var(--ink); }
.process-close h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.process-close a { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 14px 20px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; border-radius: 6px; }
.process-page :is(a,button,summary):focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.process-close a:focus-visible { outline-color: var(--ink); }
@media (max-width: 1000px) { .process-scene { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 0 28px; } .process-intro { gap: 36px; } .working-together { gap: 48px; } }
@media (max-width: 760px) {
  .process-intro { grid-template-columns: 1fr; gap: 22px; padding-block: 42px 24px; }
  .process-intro h1 { font-size: 36px; }
  .process-intro p { font-size: 16px; margin-bottom: 8px; }
  .process-stages { gap: 12px; }
  .process-stages a { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; padding-block: 16px; }
  .process-scene { grid-template-columns: 1fr; padding-top: 24px; }
  .process-story { display: contents; }
  .process-story h2 { max-width: 25ch; font-size: 29px; margin-bottom: 12px; }
  .process-story h2 { grid-row: 1; }
  .process-story > p { grid-row: 2; max-width: 46ch; margin-bottom: 22px; }
  .process-roles { grid-row: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0 12px; }
  .process-roles > div { margin: 0; }
  .process-roles dd { font-size: 12px; }
  .process-graphic { grid-row: 3; min-height: 0; padding: 8px 8px 16px; }
  .diagram-desktop { display: none; }
  .diagram-mobile { display: block; max-height: 390px; }
  .process-graphic figcaption { padding: 0 12px; font-size: 12px; }
  .process-output { grid-column: 1; grid-row: 5; gap: 8px 14px; padding-block: 18px; flex-wrap: wrap; }
  .process-output > span { flex: 1 0 100%; }
  .process-output strong { font-size: 14px; }
  .process-detail { grid-row: 6; margin-top: 8px; }
  .process-detail dl { grid-template-columns: 1fr; gap: 22px; }
  .process-playback { flex-wrap: wrap; gap: 4px 20px; padding-top: 10px; }
  .process-playback p { order: 3; flex: 1 0 100%; text-align: center; padding-top: 8px; }
  .process-experience { padding-bottom: 42px; }
  .working-together { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; }
  .working-together h2 { font-size: 32px; }
  .process-close { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .process-page *, .process-page *::before, .process-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } .signal-packet { display: none; } }
