:root {
  color-scheme: light;
  --paper: #f5eadf;
  --sand: #ead6c2;
  --ink: #25221e;
  --muted-ink: #756659;
  --clay: #a44027;
  --clay-hover: #8c3420;
  --graphite: #211e1b;
  --warm-white: #f5eadf;
  --muted-light: #b9ada1;
  --peach: #dda183;
  --memory-black: #080706;
  --memory-gold: #d9ab54;
  font-family: -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 3px solid var(--graphite);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--paper);
}
.skip {
  position: absolute;
  z-index: 5;
  left: 1rem;
  top: 1rem;
  padding: .75rem;
  background: var(--paper);
}
.skip:not(:focus) { clip-path: inset(50%); }

.region-intro {
  position: relative;
  isolation: isolate;
  background: var(--sand) url("assets/intro-art.webp") center top / 100% auto no-repeat;
  min-height: 100svh;
}
.region-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: clip;
}
/* Local bounce light under the chapter 03 copy, over the continuous material. */
.region-art::before, .region-art::after {
  content: "";
  position: absolute;
  inset: 64% 0 0;
}
.region-art::before {
  background: linear-gradient(to right, #f6e7d8 0%, rgb(246 231 216 / 94%) 26%, rgb(246 231 216 / 84%) 36%, rgb(246 231 216 / 48%) 46%, transparent 60%);
  mask-image: linear-gradient(to bottom, transparent, black 34%, black 81%, transparent 100%);
}
.region-art::after {
  inset-block-start: 94%;
  background: linear-gradient(to bottom, transparent, #1d1b18);
}
.canvas {
  --gutter: 5.1cqw;
  width: min(100%, 2048px);
  margin-inline: auto;
  container-type: inline-size;
  position: relative;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.05cqw 4.7cqw 0 4.9cqw;
}
.brand, .masthead nav, .button { display: inline-flex; align-items: center; }
.brand { gap: .9cqw; font-size: 2.14cqw; font-weight: 700; }
.brand img {
  width: 2.47cqw;
  height: auto;
  filter: drop-shadow(.24cqw 1cqw .09cqw rgb(63 45 32 / 23%));
}
.masthead nav { gap: 2.38cqw; font-size: 1.36cqw; font-weight: 460; font-variation-settings: "opsz" 22; translate: 1cqw 0; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.button {
  justify-content: center;
  gap: .25em;
  border: 1px solid transparent;
  border-radius: .60cqw;
  padding: 0 2.1cqw;
  min-height: 3.87cqw;
  font-size: 1.39cqw;
  font-weight: 550;
  line-height: 1.15;
}
.primary { background: var(--clay); color: white; }
.primary:hover { background: var(--clay-hover); }
.secondary { border-color: var(--ink); }
.secondary:hover { background: rgb(245 234 223 / 64%); }
.nav-download { min-height: 3.4cqw; padding-inline: .68cqw; }
.hero {
  /* Header plus hero occupies the first 1110 units of the regional composition. */
  min-height: 52.36cqw;
  padding: 8.75cqw var(--gutter) 9.3cqw;
}
.hero-copy { width: 39.2cqw; }
h1 { font-size: 3.54cqw; line-height: 1.18; margin-inline-start: -.25cqw; letter-spacing: 0; font-weight: 700; font-variation-settings: "opsz" 20; }
h1 span { color: var(--clay); }
.intro { max-width: 35.5cqw; font-variation-settings: "opsz" 21.6; margin-top: 2.55cqw; font-size: 1.62cqw; line-height: 1.36; }
.intro span { display: block; }
.actions { display: flex; gap: .94cqw; margin-top: 2.16cqw; }
.actions .button { min-width: 13.8cqw; }
.actions .secondary { min-width: 14cqw; border-color: #65564a; }
.features {
  display: grid;
  grid-template-columns: 7.9cqw repeat(3, 9.24cqw);
  list-style: none;
  padding: 0;
  margin-top: 2.15cqw;
  font-size: 1.24cqw;
  line-height: 1.14;
  font-weight: 450; font-variation-settings: "opsz" 21;
}
.features li { position: relative; }
.features li + li { padding-left: 1.36cqw; }
.features li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08cqw;
  height: 5.15cqw;
  border-left: 1px solid rgb(76 45 29 / 30%);
}
.features svg {
  display: block;
  width: 2.28cqw;
  height: 2.28cqw;
  margin-bottom: .8cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artwork { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.workspace, .attention { position: absolute; transform-origin: top left; }
.workspace {
  left: 45.10%;
  top: 12.4cqw;
  width: 60%;
  border-radius: 1.15cqw;
  overflow: hidden;
  box-shadow: 0 1.5cqw 2.6cqw -.5cqw rgb(55 36 23 / 38%);
  /* Project the source plane onto the four visible window corners of the regional drawing. */
  transform: perspective(100cqw) matrix3d(.89252,-.07033,.05912,0, -.08041,.95415,.09367,0, 0,0,1,0, 0,0,0,1);
}
.workspace img { display: block; width: 100%; height: auto; }
.workspace::after {
  content: "";
  position: absolute;
  inset: 0 0 0 81.4%;
  background: rgb(22 20 17 / 25%);
}
.attention {
  left: 73.44%;
  top: 29.12cqw;
  width: 23.4375%;
  height: auto;
  border-radius: 1.05cqw;
  border: 1px solid #706652;
  box-shadow: 0 1.1cqw 2.6cqw -.7cqw rgb(57 39 28 / 38%);
  transform: perspective(100cqw) matrix3d(1.01824,.04261,-.03955,0, -.03451,1.00089,-.00135,0, 0,0,1,0, 0,0,0,1);
}

@media (max-width: 1199px) {
  .region-intro { background: #1d1b18; }
  .region-art {
    --material-width: max(1420px, 205vw);
    --material-position: 24%;
    background: none;
  }
  /* Stretch the quiet middle of the same texture to follow the reading order.
     Preserve the native scale above the pedestal and below the dark curve. */
  .region-art::before {
    inset: 0 auto 0 var(--material-position);
    width: var(--material-width);
    transform: translateX(calc(-1 * var(--material-position)));
    border-image: url("assets/intro-art.webp") 820 0 750 fill /
      calc(var(--material-width) * 820 / 1024) 0 calc(var(--material-width) * 750 / 1024) stretch;
    background: none;
    mask-image: none;
  }
  .region-art::after { inset-block-start: 97%; }
  .canvas { --gutter: clamp(22px, 5vw, 40px); }
  .masthead { padding: 20px var(--gutter) 0; gap: 16px; }
  .brand { gap: 9px; font-size: 25px; min-height: 44px; }
  .brand img { width: 32px; }
  .masthead nav { translate: none; gap: 20px; font-size: 16px; }
  .masthead nav a { display: flex; align-items: center; min-height: 44px; }
  .button { min-height: 46px; padding: 0 20px; border-radius: 8px; font-size: 16px; }
  .hero { min-height: 0; padding: 50px 0 22px; }
  .hero-copy { padding-inline: var(--gutter); width: 100%; }
  h1 { margin-inline-start: 0; font-variation-settings: normal; font-size: clamp(32px, 6.3vw, 52px); line-height: 1.12; }
  .intro span { display: inline; }
  .intro { max-width: 520px; margin-top: 22px; font-size: clamp(17px, 2.7vw, 21px); line-height: 1.42; }
  .actions { gap: 12px; margin-top: 22px; }
  .features { max-width: 490px; grid-template-columns: .9fr repeat(3, 1fr); margin-top: 24px; font-size: clamp(13px, 2vw, 16px); line-height: 1.2; }
  .features li + li { padding-left: clamp(8px, 2vw, 18px); }
  .features li + li::before { height: 90%; }
  .features svg { width: 26px; height: 26px; margin-bottom: 8px; }
  .artwork { position: relative; inset: auto; margin-top: 20px; height: 67cqw; }
  .workspace { width: 91%; left: 6%; top: 6.5cqw; border-radius: 1.9cqw; transform: rotate(-2.5deg) skewX(-3deg); }
  .attention { width: 35%; left: 62%; top: 31cqw; border-radius: 1.7cqw; transform: rotate(2deg); }
}
@media (max-width: 590px) {
  .masthead { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; padding-top: 12px; }
  .nav-download { grid-row: 1; grid-column: 2; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; gap: 22px; }
  .hero { padding-top: 28px; }
  .artwork { height: 110cqw; }
  .attention { left: 28%; top: 40cqw; width: 68%; border-radius: 2.4cqw; }
  .region-art { --material-width: 1180px; --material-position: 20%; }
}
@media (max-width: 359px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .features li:nth-child(3) { padding-left: 0; }
  .features li:nth-child(3)::before { border: 0; }
  .actions { flex-wrap: wrap; }
}

/* Region A · Everyday Friction and Project Context */
.eyebrow, .tool-comparison figcaption, .context-preview figcaption {
  color: var(--clay);
  font-size: 1.12cqw;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  font-variation-settings: "opsz" 18;
  letter-spacing: .012em;
}
.eyebrow { display: flex; align-items: center; gap: .83cqw; }
.eyebrow::before {
  content: "";
  width: 2.12cqw;
  height: max(1px, .14cqw);
  background: currentColor;
}
.chapter-title {
  color: var(--ink);
  font-size: 3.98cqw;
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: .98;
  letter-spacing: -.006em;
  margin: 2.24cqw 0 0 -.2cqw;
}
.friction { min-height: 54.6875cqw; }
.friction-header { position: relative; min-height: 16.46cqw; padding: 2.45cqw var(--gutter) 0; }
.friction-summary {
  position: absolute;
  top: 6.64cqw;
  left: 60.43%;
  font-size: 1.72cqw;
  font-variation-settings: "opsz" 22;
  line-height: 1.27;
  color: #66594e;
}
.tool-comparison {
  display: grid;
  grid-template-columns: 44.1cqw 6.02cqw 42.7cqw;
  padding-inline-start: var(--gutter);
}
.tool-comparison figure, .context-preview { margin: 0; }
.scattered-stack, .unified-visual { position: relative; height: 33.55cqw; }
.scattered-stack img, .unified-visual img, .project-overview img, .related-projects, .context-preview img {
  display: block;
  height: auto;
  border-radius: .8cqw;
  box-shadow: 0 1.25cqw 2.25cqw -.48cqw rgb(54 34 21 / 32%);
}
.scattered-stack img {
  position: absolute;
  transform-origin: top left;
  border-radius: .64cqw;
  outline: 1px solid rgb(89 72 53 / 38%);
}
.claude-tool { left: 1.51%; top: 11.22%; width: 60.25%; transform: rotate(-7deg); }
.codex-tool { left: 44.95%; top: 0; width: 56.7%; transform: rotate(8deg); }
.editor-tool { left: 16.45%; top: 35.65%; width: 67.15%; transform: rotate(4deg); }
.tree-tool { left: -.94%; top: 44.75%; width: 21%; transform: rotate(-6deg); }
.unified-visual { padding-top: 2.81cqw; }
.unified-visual img, .project-overview img, .context-preview img { width: 100%; }
.unified-visual img, .project-overview img, .related-projects, .context-preview img {
  outline: 1px solid rgb(108 92 72 / 72%);
  outline-offset: -1px;
}
.context-preview img {
  aspect-ratio: 1024 / 840;
  object-fit: cover;
  object-position: top;
}
.comparison-arrow { width: 4.2cqw; height: auto; margin-top: 15.68cqw; color: var(--clay); }
.scattered-tools figcaption { color: #66594e; }

.project-context { position: relative; min-height: 63.02cqw; padding: 3.18cqw var(--gutter) 8cqw; }
.context-copy { width: 34cqw; }
.context-copy .chapter-title { margin-top: 2.34cqw; }
.context-summary {
  width: 32.4cqw;
  margin-top: 1.98cqw;
  font-size: 1.56cqw;
  font-variation-settings: "opsz" 21;
  line-height: 1.28;
}
.context-benefits { list-style: none; margin-top: 2.1cqw; padding: 0; }
.context-benefits li { position: relative; padding-inline-start: 2.78cqw; }
.context-benefits li + li { margin-top: 2.17cqw; }
.context-benefits li::before {
  content: "";
  position: absolute;
  top: .6cqw;
  left: 0;
  width: 1.82cqw;
  height: max(1px, .14cqw);
  background: var(--clay);
}
.context-benefits strong, .context-benefits span { display: block; line-height: 1.3; font-variation-settings: "opsz" 19.5; }
.context-benefits strong { font-size: 1.42cqw; font-weight: 600; }
.context-benefits span { font-size: 1.23cqw; margin-top: .3cqw; color: #605549; }
.context-layers {
  position: absolute;
  left: 43.854%;
  top: 3.906cqw;
  width: 54.167%;
  aspect-ratio: 1;
}
.project-overview, .related-projects, .context-preview { position: absolute; display: block; }
.project-overview { left: 3.73%; top: 1.7%; width: 96.15%; transform-origin: top left; transform: rotate(-1deg); }
.related-projects { left: 0; top: 28.85%; width: 66.35%; }
.context-preview { left: 39.62%; top: 45.1%; width: 59.4%; }
.context-preview::before, .context-preview::after {
  content: "";
  position: absolute;
  color: var(--peach);
}
.context-preview::before {
  left: -9.8%;
  width: 9.8%;
  top: 6.15cqw;
  height: 2.02cqw;
  border: solid currentColor;
  border-width: 0 0 .11cqw .11cqw;
}
.context-preview::after {
  top: 8.17cqw;
  left: 0;
  width: .55cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: currentColor;
  border-radius: 50%;
}
.context-preview figcaption { color: #f4c49e; margin-top: 1.3cqw; font-size: 1.03cqw; }

@media (max-width: 1199px) {
  .eyebrow, .tool-comparison figcaption, .context-preview figcaption { font-size: 13px; }
  .eyebrow { gap: 10px; }
  .eyebrow::before { width: 25px; height: 2px; }
  .chapter-title, .context-copy .chapter-title { font-size: clamp(34px, 6.25vw, 58px); line-height: 1.03; margin: 19px 0 0; }
  .friction { min-height: auto; padding: 38px var(--gutter) 0; }
  .friction-header { min-height: 0; padding: 0; }
  .friction-summary { position: static; max-width: 470px; margin-top: 19px; font-size: 19px; line-height: 1.4; }
  .friction-summary br { display: none; }
  .tool-comparison { display: block; max-width: 840px; margin: 30px auto 0; padding: 0; }
  .scattered-stack { width: 94%; height: auto; aspect-ratio: 847 / 646; margin-left: 1%; }
  .tool-comparison figcaption { margin-top: 12px; }
  .scattered-stack img, .unified-visual img, .project-overview img, .related-projects, .context-preview img { border-radius: 8px; }
  .comparison-arrow { display: block; width: 38px; margin: 21px auto; transform: rotate(90deg); }
  .unified-visual { padding: 0; height: auto; }
  .project-context { min-height: auto; padding: 72px var(--gutter) 56px; }
  .context-copy, .context-summary { width: auto; max-width: 550px; }
  .context-summary { margin-top: 22px; font-size: 19px; line-height: 1.45; }
  .context-benefits { margin-top: 25px; }
  .context-benefits li { padding-left: 31px; }
  .context-benefits li + li { margin-top: 20px; }
  .context-benefits li::before { top: 10px; width: 20px; height: 2px; }
  .context-benefits strong { font-size: 18px; }
  .context-benefits span { font-size: 16px; margin-top: 3px; }
  .context-layers { position: relative; inset: auto; width: 100%; max-width: 880px; margin: 36px auto 0; aspect-ratio: auto; }
  .project-overview, .related-projects, .context-preview { position: relative; inset: auto; }
  .project-overview { width: 90%; margin-left: 3%; }
  .related-projects { width: 66%; margin-top: -5%; }
  .context-preview { width: 61%; margin: -3% 0 0 auto; }
  .context-preview::before { top: 0; height: 5cqw; }
  .context-preview::after { top: 5cqw; width: 6px; }
  .context-preview img { aspect-ratio: 1024 / 862; }
  .context-preview figcaption { margin-top: 12px; }
}
@media (max-width: 590px) {
  .friction { padding-top: 26px; }
  .friction-summary, .context-summary { font-size: 17px; }
  .chapter-title, .context-copy .chapter-title { font-size: clamp(29px, 8.1vw, 41px); }
  .project-context { padding-top: 54px; }
  .project-overview { width: 100%; margin-left: 0; transform: none; }
  .related-projects { width: 93%; margin: 12px 0 0; }
  .context-preview { width: 90%; margin-top: 18px; }
  .context-preview::before { width: 5%; left: -5%; top: -18px; height: 38px; border-width: 0 0 1px 1px; }
  .context-preview::after { top: 20px; }
}

/* Region B — Agent Workspace and Attention share one material plane. */
.agent-region {
  position: relative;
  isolation: isolate;
  color: var(--warm-white);
  background-color: #1d1b18;
}
.agent-material {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.agent-canvas {
  container-type: inline-size;
  width: min(100%, 2048px);
  margin-inline: auto;
}
.agent-region h2 {
  margin: 0;
  font-size: 3.64cqw;
  line-height: 1.1;
  letter-spacing: -.003em;
  font-weight: 700;
  font-variation-settings: "opsz" 20;
}
.agent-region h2 span { color: var(--peach); }
.agent-eyebrow, .tech-label {
  font-size: 1.14cqw;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .012em;
  color: #e5a480;
  font-variation-settings: "opsz" 18;
}
.agent-eyebrow { display: flex; align-items: center; gap: .82cqw; }
.agent-eyebrow::before { content: ""; width: 2.1cqw; height: .12cqw; background: currentColor; }
.agent-workspace { min-height: 82.8125cqw; }
.agent-heading { padding-top: 4.1cqw; text-align: center; min-height: 17.7cqw; }
.agent-heading .agent-eyebrow { justify-content: center; margin-bottom: 1.88cqw; }
.agent-intro, .attention-intro {
  font-size: 1.65cqw;
  line-height: 1.34;
  font-variation-settings: "opsz" 21;
  color: #c8baaa;
}
.agent-intro { width: fit-content; margin: 1.18cqw auto 0; text-align: left; }
.agent-intro span { display: block; }
.agent-stage { position: relative; min-height: 65.1cqw; }
.agent-stage figure { position: absolute; margin: 0; }
.session-window { left: 4.896%; top: 2.2cqw; width: 82.08%; }
.split-window { left: 17.66%; top: 6.78cqw; width: 79.68%; }
.agent-stage img, .queue-detail {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.05cqw;
  outline: 1px solid #625647;
  outline-offset: -1px;
  box-shadow: 0 1.15cqw 2.3cqw -.35cqw rgb(0 0 0 / 35%);
}
.session-window img { filter: brightness(.94); }
.tech-label { font-size: 1.04cqw; display: block; }
.agent-stage figcaption { position: absolute; bottom: calc(100% + .99cqw); }
.agent-stage figcaption::after, .cli-annotation::after {
  display: block;
  content: "";
  position: absolute;
  top: calc(100% + .18cqw);
  width: 9.6cqw;
  height: .77cqw;
  border-top: 1px solid #82664c;
}
.session-window figcaption::after { border-right: 1px solid #82664c; }
.split-window figcaption { right: .15cqw; bottom: calc(100% + .84cqw); }
.split-window figcaption::after { right: 0; width: 100%; }
.cli-annotation { position: absolute; left: 4.9%; top: 55.38cqw; font-size: 1.32cqw; font-variation-settings: "opsz" 18; color: #c8baaa; }
.cli-annotation .tech-label { margin-bottom: .65cqw; }
.cli-annotation::after { top: calc(100% + .8cqw); width: 9.15cqw; }
.agent-attention {
  position: relative;
  min-height: 49.4792cqw;
  padding: 1.28cqw 4.65cqw 5.1cqw 53.4cqw;
}
.attention-heading h2 { margin: 1.26cqw 0 0 -.22cqw; font-size: 3.38cqw; line-height: 1.18; }
.attention-heading h2 span { display: block; }
.attention-intro { max-width: 24.9cqw; margin-top: 1.68cqw; line-height: 1.25; font-variation-settings: "opsz" 19.5; }
.attention-scene { position: absolute; left: 0; top: 2.5cqw; width: 49%; }
.queue-environment { width: 75.83%; height: auto; display: block; opacity: .19; border-radius: 0 .75cqw .75cqw 0; outline: 1px solid #7f6e55; }
.attention-scene .queue-detail { position: absolute; left: 14.67%; top: 2.18cqw; width: 84.48%; aspect-ratio: 590 / 562; object-fit: cover; object-position: top; }
.attention-states { font-variation-settings: "opsz" 17; margin: 1.95cqw 0 0; }
.attention-states div { border-top: 1px solid #51463c; padding: 1.04cqw 0 .64cqw 1.72cqw; position: relative; }
.attention-states dt { font-size: 1.46cqw; font-weight: 600; line-height: 1.25; }
.attention-states dd { margin: .15cqw 0 0; font-size: 1.32cqw; line-height: 1.32; color: #c8baaa; }
.attention-states div::before { content: ""; position: absolute; left: 0; top: 1.56cqw; width: .61cqw; aspect-ratio: 1; border-radius: 50%; background: var(--peach); }

@media (max-width: 1199px) {
  .agent-canvas { --agent-gutter: clamp(22px, 5vw, 40px); }
  .agent-workspace { min-height: auto; padding: 0 var(--agent-gutter); }
  .agent-heading { padding-top: 50px; min-height: auto; }
  .agent-heading .agent-eyebrow { margin-bottom: 20px; }
  .agent-eyebrow, .tech-label { font-size: 13px; }
  .agent-eyebrow { gap: 10px; }
  .agent-eyebrow::before { width: 24px; height: 2px; }
  .agent-region h2 { font-size: clamp(34px, 6.2vw, 52px); line-height: 1.08; }
  .agent-heading h2 { text-wrap: balance; }
  .agent-intro, .attention-intro { font-size: clamp(17px, 2.6vw, 20px); line-height: 1.45; }
  .agent-intro { max-width: 550px; text-align: center; margin: 17px auto 0; }
  .agent-intro span { display: inline; }
  .agent-stage { max-width: 660px; margin: 32px auto 0; min-height: auto; }
  .agent-stage figure, .cli-annotation { position: relative; inset: auto; }
  .session-window { width: min(80%, calc(100% - 130px)); }
  .agent-stage img, .queue-detail { border-radius: 9px; }
  .agent-stage figcaption { position: relative; inset: auto; width: fit-content; margin-bottom: 11px; }
  .agent-stage figcaption::after { width: 60%; height: 8px; top: calc(100% + 2px); }
  .agent-stage .split-window { width: 86%; margin: -7% 0 0 auto; }
  .split-window figcaption { margin-left: auto; }
  .cli-annotation { width: fit-content; margin-top: 15px; font-size: 16px; }
  .cli-annotation .tech-label { margin-bottom: 4px; }
  .cli-annotation::after { top: calc(100% + 5px); width: 65%; }
  .agent-attention { min-height: auto; padding: 62px var(--agent-gutter) 45px; }
  .attention-heading, .attention-states, .attention-scene { max-width: 570px; margin-inline: auto; }
  .attention-heading h2 { margin: 17px 0 0; }
  .attention-intro { max-width: 440px; margin-top: 16px; }
  .attention-scene { position: relative; inset: auto; width: 100%; margin-block: 26px; }
  .queue-environment { position: absolute; left: 0; top: 0; width: 81%; height: 100%; object-fit: cover; object-position: left top; }
  .attention-scene .queue-detail { position: relative; inset: auto; width: 92%; margin-left: auto; aspect-ratio: 590 / 570; }
  .attention-states { margin-block: 0; }
  .attention-states div { padding: 15px 0 14px 22px; }
  .attention-states div::before { top: 22px; width: 7px; }
  .attention-states dt { font-size: 18px; }
  .attention-states dd { font-size: 16px; margin-top: 4px; }
}
@media (max-width: 590px) {
  .agent-heading h2 span { display: block; }
  .agent-stage .split-window { width: 95%; margin-top: 14px; }
  .session-window { width: 89%; }
}

#tour { width: min(960px, 94vw); max-height: 92svh; padding: clamp(14px, 2vw, 24px); border: 1px solid #786959; border-radius: 12px; background: #211e1b; color: #fff5e9; }
#tour::backdrop { background: rgb(18 15 12 / 80%); }
#tour header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tour h2 { margin: 0; font-size: clamp(19px, 2.2vw, 29px); }
#tour button { min-height: 44px; padding-inline: 14px; background: #fff1df; color: #362b23; font: inherit; border: 0; border-radius: 6px; cursor: pointer; }
#tour video { display: block; width: 100%; max-height: 58svh; aspect-ratio: 16/10; background: #131211; margin: 12px 0; }
#tour p { line-height: 1.45; color: #e2d5c9; }
dialog :focus-visible { outline: 3px solid #854226; outline-offset: 2px; box-shadow: 0 0 0 3px #fff2de; }

@media (max-width: 1199px) {
  .region-intro { background: var(--paper); }
  .context-preview figcaption { width: fit-content; background: #211e1b; }
  .region-art::before { border-image-source: url("assets/intro-mobile.webp"); }
}
@media (max-width: 590px) {
  .features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 14px; margin-top: 18px; font-size: 14px; }
  .features li, .features li + li { display: flex; align-items: center; gap: 8px; padding: 0; }
  .features li + li::before { content: none; }
  .features svg { width: 23px; height: 23px; margin: 0; flex: none; }
  .hero { padding-block: 18px 8px; }
  .hero .intro, .actions { margin-top: 17px; }
  .artwork { height: 87cqw; margin-top: 14px; }
  .attention { width: 57%; left: 39%; top: 29cqw; }
  .friction { padding-top: 22px; }
  .tool-comparison { margin-top: 24px; }
  .comparison-arrow { margin-block: 12px; }
  .project-context { padding-block: 38px 38px; }
  .context-benefits li + li { margin-top: 12px; }
  .context-layers { margin-top: 24px; }
  .context-preview { margin-top: 12px; }
  .context-preview img { aspect-ratio: 1024 / 675; }
  .agent-heading { padding-top: 36px; }
  .agent-stage { margin-top: 24px; }
  .agent-stage .session-window { width: 90%; }
  .agent-stage .split-window { margin-top: 10px; }
  .agent-attention { padding-block: 44px 34px; }
  .attention-scene { margin-block: 20px; }
}
