:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #19231d;
  --forest: #24563d;
  --muted: #5d655f;
  --hairline: #d9ddd7;
  --outer: clamp(24px, 4.6vw, 80px);
  --inner: clamp(48px, 8.8vw, 142px);
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: #24563d20; }
a:hover { color: var(--forest); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 6px;
}
[hidden] { display: none !important; }
p { margin: 0; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: var(--outer);
  padding: 12px 16px;
  background: var(--paper);
  border: 2px solid var(--forest);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  max-width: 1600px;
  margin: 0 auto;
  padding: 35px var(--outer) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 32px;
}
.masthead { display: flex; flex-direction: column; align-items: flex-start; }
.invocation { font-size: 12px; line-height: 1.4; margin-bottom: 6px; color: var(--muted); }
.brand { font-size: 22px; line-height: 1.2; letter-spacing: -.6px; padding: 5px 0 8px; min-height: 44px; display: flex; align-items: center; }
.site-nav { display: flex; gap: clamp(24px, 3.6vw, 58px); }
.site-nav a { position: relative; font-size: 16px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.site-nav a::after, .scope-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--forest);
  bottom: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.site-nav a[aria-current]::after, .scope-nav a[aria-current]::after { transform: scaleX(1); }
main { max-width: 1600px; margin: 0 auto; }
main:focus { outline: none; }
.view {
  min-height: calc(100svh - 102px);
  display: flex;
  flex-direction: column;
}
.view-main {
  margin: 0 var(--inner);
  padding-top: clamp(88px, 16vh, 160px);
  padding-bottom: 64px;
  flex: 1;
}
.portrait-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 44px; align-content: start; }
.home-copy, .about-copy { grid-column: 1; grid-row: 1; }
h1 {
  font-size: clamp(54px, 5.25vw, 84px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.052em;
  margin: 0;
  text-wrap: pretty;
}
h1 em { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.keep-together { white-space: nowrap; }
h1:focus { outline: none; }
.portrait {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: clamp(190px, 14vw, 224px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  margin-top: -17px;
}
.portrait-column { grid-column: 2; grid-row: 1 / span 2; width: clamp(190px, 14vw, 224px); margin-top: -17px; }
.about-portrait-column { width: clamp(190px, 16vw, 252px); }
.portrait-column .portrait { width: 100%; margin-top: 0; }
.voice-player { --voice-progress: 0; margin-top: 18px; }
.voice-player audio { width: 100%; }
.voice-heading { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.voice-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.voice-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.voice-toggle { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--forest); border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.voice-toggle:hover { background: var(--forest); color: var(--paper); }
.voice-toggle:focus-visible, .voice-seek:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.voice-play-icon { fill: currentColor; transform: translateX(-2px); }
.voice-pause-icon { display: none; fill: none; stroke: currentColor; stroke-width: 2; }
[data-playing="true"] .voice-play-icon { display: none; }
[data-playing="true"] .voice-pause-icon { display: block; }
.voice-track { position: relative; flex: 1; min-width: 0; height: 44px; }
.voice-track svg { display: block; width: 100%; height: 44px; transform: scaleY(var(--voice-level, 1)); transition: transform 180ms linear; }
.voice-track path { fill: none; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.voice-wave { stroke: var(--hairline); }
.voice-progress { stroke: var(--forest); clip-path: inset(0 calc((1 - var(--voice-progress)) * 100%) 0 0); transition: clip-path 240ms linear; }
.voice-seek { position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.voice-track:focus-within { outline: 2px solid var(--forest); outline-offset: 4px; }
.voice-caption { min-height: 72px; margin-top: 14px; font-size: 16px; line-height: 1.5; letter-spacing: -.015em; color: var(--forest); }
.voice-status { min-height: 36px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.intro { font-size: 20px; line-height: 1.55; letter-spacing: -.025em; }
.ruled::before { content: ""; display: block; width: 86px; height: 2px; background: var(--forest); margin-bottom: 24px; }
.home-copy .intro { margin-top: 42px; }
.primary-link { font-size: 18px; margin-top: 26px; }
.text-link { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; }
.primary-link, .view-footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }
.view-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin: 0 var(--outer);
  padding: 22px 0 36px;
  font-size: 15px;
}
.layer-explore { display: flex; align-items: center; gap: 36px; }
.footer-label { color: var(--muted); font-size: 14px; }
.layer-links { display: flex; align-items: center; gap: 24px; }
.layer-arrow { color: var(--muted); }
.layer-links a:first-child { text-decoration: underline; text-decoration-color: var(--forest); }
.work-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "intro tabs" "intro details" "diagram details"; grid-template-rows: auto auto 1fr; column-gap: clamp(48px, 6vw, 100px); align-content: start; }
.work-intro { grid-area: intro; }
.work-layout > .scope-nav { grid-area: tabs; align-self: start; }
.work-sketch { grid-area: diagram; align-self: start; }
.scope { grid-area: details; }
.home-sketch { grid-column: 1; grid-row: 2; }
.home-proof { max-width: 520px; margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.home-proof a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--hairline); }
.work-intro .intro { margin-top: 36px; max-width: 430px; }
.scope { padding-top: 0; }
.scope-nav { position: relative; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--hairline); }
.scope-indicator { position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px; background: var(--forest); transform-origin: left center; pointer-events: none; }
.motion-ready .scope-nav a::after { display: none; }
.scope-nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding-bottom: 12px; font-size: 17px; white-space: nowrap; }
.scope-content { padding-top: 44px; min-height: 270px; }
.scope-content h2 { font-size: clamp(29px, 2.7vw, 40px); line-height: 1.2; font-weight: 400; letter-spacing: -.045em; margin: 0 0 18px; }
.scope-content p { font-size: 20px; line-height: 1.5; letter-spacing: -.02em; max-width: 510px; }
.vocabulary { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 32px 0 0; font-size: 16px; line-height: 1.6; }
.vocabulary li + li::before { content: "·"; margin-right: 22px; }
.scope-hint { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 20px; }
.text-link span[aria-hidden] { transition: transform 180ms ease; }
.text-link:hover span[aria-hidden], .text-link:focus-visible span[aria-hidden] { transform: translate(2px, -2px); }
.disclosure-mark { transition: transform 180ms ease; }
.about-portrait { width: clamp(190px, 16vw, 252px); }
.about-body { max-width: 660px; margin-top: 32px; }
.about-body p + p { margin-top: 22px; }
.about-connect { margin-top: 32px; }
.about-connect .primary-link { margin-top: 0; }
.about-connect::before { margin-bottom: 13px; }
.about-footer { align-items: flex-start; }
.research { max-width: 580px; text-align: right; }
.research summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: underline; text-decoration-color: var(--forest); text-underline-offset: 5px; }
.research summary::-webkit-details-marker { display: none; }
.disclosure-mark { display: inline-block; font-size: 20px; color: var(--forest); }
.research[open] .disclosure-mark { transform: rotate(45deg); }
.research ul { text-align: left; list-style: none; padding: 0; margin: 20px 0 0; }
.research li + li { margin-top: 18px; }
.research li a { display: block; text-decoration: underline; text-decoration-color: var(--hairline); line-height: 1.6; }
.notes-layout h1 { max-width: 1000px; }
.notes-layout .intro { margin-top: 42px; }

/* One operating system, unfolded at three depths. Native signals share a clock. */
html:not(.system-ready) .system-sketch { display: none; }
.system-sketch { --flow-task: #24563d; --flow-runtime: #376b91; --flow-release: #a5672b; margin: 24px 0 0; max-width: 600px; }
.sketch-drawing { height: 264px; overflow: hidden; }
.sketch-drawing svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.sketch-camera, .sketch-structure, .sketch-signal { transform-box: view-box; transform-origin: 0 0; }
.system-sketch figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 18px; min-height: 44px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sketch-explanation { flex-basis: 100%; min-height: 42px; padding-top: 8px; font-size: 14px; line-height: 1.5; }
.sketch-separator { margin: 0 7px; color: var(--hairline); }
[data-sketch-label] { color: var(--forest); }
.sketch-overview { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; text-decoration: underline; text-decoration-color: var(--hairline); }
.sketch-overview:hover { text-decoration-color: var(--forest); }
.sketch-structure { color: var(--forest); }
.sketch-line, .sketch-route, .sketch-boundary, .sketch-detail-line, .sketch-support-line, .sketch-accent { stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.sketch-route { opacity: .46; }
.sketch-release-route, .sketch-observe-route, .sketch-detail-line { stroke-dasharray: 3 5; }
.sketch-boundary { opacity: .65; }
.sketch-node { fill: var(--paper); stroke: currentColor; stroke-width: 1.4; }
.sketch-terminal { fill: var(--paper); stroke: currentColor; stroke-width: 1.4; }
.sketch-label, .sketch-detail-label, .sketch-agent-label { fill: currentColor; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 19px; }
.sketch-detail-label { font-size: 18px; }
.sketch-agent-label { font-size: 18px; }
.sketch-agent-node { fill: var(--paper); stroke: var(--forest); stroke-width: 1.5; }
.sketch-agent-symbol { stroke: var(--forest); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sketch-accent { stroke-width: 2.2; }
.sketch-support-line { opacity: .35; }
.sketch-support-point, .sketch-release-origin { fill: var(--paper); stroke: currentColor; stroke-width: 1.2; }
.sketch-release-origin { color: var(--flow-release); }
.sketch-focus-node { opacity: 0; }
.system-sketch[data-focus="infrastructure"] [data-sketch-part="infrastructure"] .sketch-focus-node { opacity: 1; }
.system-sketch[data-focus="infrastructure"] [data-sketch-part="infrastructure"] .sketch-summary-node,
.system-sketch[data-focus="deployment"] [data-sketch-part="deployment"] .sketch-summary-node { opacity: 0; }
[data-active] { opacity: 0; }
.sketch-signal { fill: currentColor; color: var(--flow-task); opacity: 0; }
[data-active="agent"], [data-active="tool-a"], [data-active="tool-b"], [data-active="check"] { color: var(--flow-task); }
[data-signal="compute"], [data-signal="observe"], [data-active="compute"], [data-active="observe"], [data-route="compute"], [data-route="observe"] { color: var(--flow-runtime); }
[data-signal="release"], [data-active="service"], [data-route^="release"] { color: var(--flow-release); }
.sketch-key { display: flex; flex-basis: 100%; order: 1; align-items: center; gap: 18px; min-height: 26px; }
.sketch-key > span { display: inline-flex; align-items: center; gap: 7px; }
.sketch-key > span::before { content: ""; display: block; width: 7px; height: 7px; flex: 0 0 7px; }
.key-task::before { background: var(--flow-task); border-radius: 50%; }
.key-runtime::before { background: var(--flow-runtime); border-radius: 1px; }
.key-release::before { background: var(--flow-release); transform: rotate(45deg); }
[data-detail] { opacity: 0; }
.home-sketch .sketch-structure { color: var(--muted); }
.home-sketch [data-sketch-part="software"],
.home-sketch[data-preview="deployment"] [data-sketch-part="deployment"],
.home-sketch[data-preview="infrastructure"] [data-sketch-part="infrastructure"] { color: var(--forest); }
.home-sketch .sketch-separator, .home-sketch [data-sketch-label] { display: none; }
.work-sketch[data-focus="software"] [data-sketch-part="deployment"] text,
.work-sketch[data-focus="software"] [data-sketch-part="infrastructure"] text,
.work-sketch[data-focus="deployment"] [data-sketch-part="software"] text,
.work-sketch[data-focus="deployment"] [data-sketch-part="infrastructure"] text,
.work-sketch[data-focus="infrastructure"] [data-sketch-part="software"] text,
.work-sketch[data-focus="infrastructure"] [data-sketch-part="deployment"] text { opacity: 0; }
@media (min-width: 1101px) and (min-height: 701px) {
  .home-view .view-main { padding-top: clamp(88px, 12vh, 132px); }
}
.work-sketch { margin-top: 30px; }
.work-sketch .sketch-drawing { height: 264px; }
.system-ready .layer-links a:first-child { text-decoration: none; }
.system-ready .layer-links a[data-preview-current="true"] { text-decoration: underline; text-decoration-color: var(--forest); }

/* Without JavaScript, the same content is a readable, anchor-linked document. */
html:not(.enhanced) .view + .view { border-top: 1px solid var(--hairline); }
html:not(.enhanced) .scope-content article + article { margin-top: 44px; }

@media (min-width: 1101px) and (max-width: 1430px) {
  .home-view h1 { font-size: 5.05vw; }
}
@media (max-width: 1100px) {
  :root { --inner: 7vw; }
  .portrait-layout { gap: 36px; }
  .home-view h1 { max-width: 620px; }
  .work-layout { display: flex; flex-direction: column; gap: 24px; }
  .work-layout > .scope-nav, .work-layout > .scope { width: 100%; max-width: 640px; }
  .work-sketch { margin-top: 0; width: 100%; }
  .work-sketch .sketch-drawing { height: 240px; }
  .scope-content { padding-top: 0; }
  .work-intro .intro { max-width: 540px; }
  .scope { max-width: 640px; }
  .scope-content { min-height: 248px; }
  .layer-explore { gap: 24px; }
  .layer-links { gap: 16px; }
  .layer-arrow { display: none; }
  .about-view h1 { font-size: clamp(48px, 5.7vw, 64px); }
}
@media (max-width: 700px) {
  :root { --outer: 24px; --inner: 24px; }
  .site-header { padding-top: 24px; gap: 12px 24px; flex-wrap: wrap; }
  .invocation { font-size: 11px; }
  .brand { font-size: 21px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 14px; }
  .view { min-height: calc(100svh - 94px); }
  .view-main { padding-top: 64px; padding-bottom: 40px; }
  .portrait-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portrait { grid-column: 1; grid-row: 1; justify-self: end; width: 124px; margin-top: 0; }
  .portrait-column { grid-column: 1; grid-row: 2; width: min(100%, 240px); justify-self: end; margin-top: 0; }
  .portrait-column .portrait { width: 124px; margin-left: auto; }
  .home-copy, .about-copy { grid-column: 1; grid-row: 1; }
  .home-sketch { grid-column: 1; grid-row: 3; margin-top: 0; }
  h1, .home-view h1, .about-view h1 { font-size: clamp(40px, 11.7vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
  .intro { font-size: 17px; line-height: 1.55; }
  .home-copy .intro, .notes-layout .intro { margin-top: 34px; }
  .ruled::before { width: 54px; margin-bottom: 22px; }
  .desktop-break { display: none; }
  .primary-link { font-size: 16px; margin-top: 22px; }
  .view-footer { font-size: 14px; padding-top: 20px; padding-bottom: 24px; gap: 24px; flex-wrap: wrap; }
  .home-footer { align-items: flex-end; }
  .layer-explore { width: 100%; display: block; }
  .footer-label { display: block; margin-bottom: 10px; }
  .layer-links { justify-content: space-between; gap: 12px; font-size: 14px; }
  .home-footer > .text-link { margin-left: auto; }
  .work-layout { gap: 14px; }
  .work-intro .intro { margin-top: 24px; }
  .scope-nav { gap: 12px; }
  .scope-nav a { font-size: 14px; padding-bottom: 8px; }
  .scope-content { padding-top: 0; min-height: 256px; }
  .scope-content h2 { font-size: 30px; }
  .scope-content p { font-size: 17px; }
  .vocabulary { font-size: 14px; gap: 8px 14px; margin-top: 26px; }
  .vocabulary li + li::before { margin-right: 14px; }
  .scope-hint { margin-top: 8px; font-size: 13px; }
  .about-body { margin-top: 28px; }
  .about-body p + p { margin-top: 20px; }
  .about-connect { margin-top: 28px; }
  .about-connect::before { margin-bottom: 12px; }
  .about-footer { flex-direction: column; gap: 4px; }
  .research { text-align: left; }
  .research ul { margin-top: 12px; }
  .notes-layout { padding-top: 88px; }
  .system-sketch { margin-top: 20px; }
  .sketch-drawing { height: 214px; }
  .work-sketch .sketch-drawing { height: 240px; }
  .system-sketch figcaption { display: grid; grid-template-columns: 1fr; gap: 6px; min-height: 94px; font-size: 12px; }
  .sketch-explanation { min-height: 42px; padding-top: 0; }
  .sketch-label { font-size: 21px; }
  .sketch-motion { font-size: 12px; }
  .work-sketch { margin-top: 0; }
}
@media (max-width: 370px) {
  .site-nav { gap: 19px; }
  .site-header { column-gap: 20px; }
  .layer-links, .scope-nav a { font-size: 13px; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .view-main { padding-top: 64px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The quiet outer channels still name their source and destination. */
.sketch-track-label { fill: var(--muted); font-family: "Helvetica Neue", Arial, sans-serif; font-size: 18px; }
.sketch-channel-arrow { stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sketch-release-arrow { stroke: var(--flow-release); opacity: .7; }
.home-sketch .sketch-release-route, .home-sketch .sketch-observe-route { opacity: .65; }

/* Résumé content uses the same open columns and restrained type as the site. */
.resume-content { max-width: 1100px; margin: 0 var(--inner); padding-bottom: 80px; }
.resume-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; border-top: 1px solid var(--hairline); padding-top: 18px; margin-bottom: 48px; }
.resume-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--muted); }
.resume-nav a:hover, .resume-nav a[aria-current] { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; }
.about-copy .resume-nav { border: 0; margin: 24px 0 0; padding: 0; gap: 0 24px; }
.resume-section { display: grid; grid-template-columns: minmax(140px, .3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: 40px 0 56px; border-top: 1px solid var(--hairline); scroll-margin-top: 32px; }
.resume-section h2 { align-self: start; justify-self: start; margin: 4px 0 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--forest); }
.resume-entries { min-width: 0; max-width: 720px; }
.resume-entry + .resume-entry { margin-top: 38px; }
.resume-entry h3, .resume-research h3 { margin: 0 0 12px; font-size: clamp(23px, 2vw, 28px); font-weight: 400; line-height: 1.25; letter-spacing: -.035em; }
.resume-entry p, .resume-research p { font-size: 18px; line-height: 1.65; letter-spacing: -.015em; }
.resume-entry .resume-meta { font-size: 14px; color: var(--muted); margin: -4px 0 12px; line-height: 1.5; }
.resume-research { max-width: none; text-align: left; }
.resume-research summary { color: var(--forest); }
.resume-research ul { margin-top: 28px; }
.resume-research li + li { margin-top: 36px; }
.resume-research h3 { font-size: 22px; line-height: 1.4; }
.resume-research li a { display: inline; line-height: inherit; }
@media (max-width: 700px) {
  .resume-content { padding-bottom: 32px; }
  .resume-nav { gap: 0 24px; margin-bottom: 28px; padding-top: 12px; }
  .resume-nav a { font-size: 14px; }
  .resume-section { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 40px; scroll-margin-top: 24px; }
  .resume-section h2 { margin-top: 0; font-size: 15px; }
  .resume-entry h3 { font-size: 24px; }
  .resume-entry p, .resume-research p { font-size: 17px; line-height: 1.6; }
  .resume-entry + .resume-entry { margin-top: 32px; }
  .resume-research h3 { font-size: 21px; }
  .resume-research ul { margin-top: 20px; }
  .about-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

.resume-education-note { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Concrete work decisions, kept in the existing single detail column. */
.work-details { margin: 30px 0 0; }
.work-details > div + div { margin-top: 24px; }
.work-details dt { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--forest); }
.work-details dd { margin: 6px 0 0; font-size: 17px; line-height: 1.55; letter-spacing: -.015em; }
.work-example { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.work-example h3 { margin: 0 0 10px; font-size: 12px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.work-example p { font-size: 17px; line-height: 1.55; }
.work-related { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; color: var(--forest); font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; }
.scope-content { min-height: 690px; }
.resume-entry[id] { scroll-margin-top: 32px; }
@media (max-width: 700px) {
  .scope-content { min-height: 760px; }
  .work-details { margin-top: 26px; }
  .work-details dt { font-size: 15px; }
  .work-details dd, .work-example p { font-size: 16px; }
  .work-details > div + div { margin-top: 22px; }
}

/* Original brand marks, with one generous link target per linked entry. */
.company-identity { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; min-height: 44px; }
.company-logo { display: block; width: 36px; height: 36px; object-fit: contain; transition: transform 180ms ease; }
.company-name { min-width: 0; }
.company-domain { font-size: 13px; line-height: 1.5; letter-spacing: 0; font-weight: 400; color: var(--muted); white-space: nowrap; }
.company-domain > span { display: inline-block; color: var(--forest); transition: transform 180ms ease; }
a.company-identity:hover .company-logo, a.company-identity:focus-visible .company-logo { transform: translateY(-2px); }
a.company-identity:hover .company-domain, a.company-identity:focus-visible .company-domain { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
a.company-identity:hover .company-domain > span, a.company-identity:focus-visible .company-domain > span { transform: translate(2px, -2px); }
@media (max-width: 700px) {
  .company-identity { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; }
  .company-logo { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 32px; align-self: start; margin-top: 2px; }
  .company-name, .company-domain { grid-column: 2; }
  .company-domain { font-size: 12px; }
}

/* The complete audio text remains available to assistive technology. */
.voice-transcript { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A checked candidate receives traffic inside the same service. */
.work-sketch[data-focus="deployment"] .sketch-service-label { visibility: hidden; }
.work-sketch[data-focus="deployment"] .sketch-agent-symbol { visibility: hidden; }
[data-active="start"], [data-active="ready"], [data-active="switch"] { color: var(--flow-release); }
[data-active="candidate"], [data-active="traffic"] { color: var(--flow-task); }

/* Shorter phone rhythm; playback keeps its own stable two-line text slot. */
@media (max-width: 700px) {
  .site-header { padding-top: 20px; }
  .view-main { padding-top: 32px; padding-bottom: 28px; }
  .portrait-layout { row-gap: 20px; }
  .home-copy .intro, .notes-layout .intro { margin-top: 26px; }
  .primary-link { margin-top: 18px; }
  .home-proof { margin-top: 12px; }
  .voice-player { margin-top: 12px; }
  .voice-controls { position: relative; }
  .voice-caption { min-height: 48px; margin-top: 10px; }
  .voice-status { position: absolute; bottom: 0; left: 0; right: 0; min-height: 0; }
  .voice-status:not(:empty) { min-height: 48px; background: var(--paper); }
  .home-sketch { margin-top: 0; }
  .home-sketch .sketch-drawing { height: 200px; }
}
