/* =============================================================================
   Claude Sepia — Design System
   Light (sepia) and dark (ink) tokens, type scale, and shared primitives.
   ============================================================================= */

:root {
  /* Surfaces */
  --color-bg: #f8f7f6;
  --color-bg-elevated: #ffffff;
  --color-bg-muted: #f1ebe3;
  --color-bg-inverse: #1a1a1a;

  /* Text */
  --color-text: #1f1f1f;
  --color-text-muted: #6b6359;
  --color-text-inverse: #e3e3e3;

  /* Accent — burnt amber */
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-accent-soft: rgba(217, 119, 6, 0.12);
  --color-accent-ring: rgba(217, 119, 6, 0.35);

  /* Oslo — complementary listen blue */
  --oslo: #5c86c2;
  --oslo-hover: #4a73ad;
  --oslo-soft: rgba(92, 134, 194, 0.14);
  --oslo-ring: rgba(92, 134, 194, 0.42);

  /* Eda — muted purple, the third beside amber and Oslo blue */
  --eda: #6e5b96;
  --eda-hover: #5c4b80;
  --eda-soft: rgba(110, 91, 150, 0.14);
  --eda-ring: rgba(110, 91, 150, 0.45);

  /* Borders & shadows */
  --color-border: rgba(31, 31, 31, 0.1);
  --color-border-strong: rgba(31, 31, 31, 0.18);
  --shadow-sm: 0 1px 2px rgba(31, 31, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 31, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 31, 31, 0.12);

  /* Agent drawer */
  --agent-width: 400px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;

  /* Type */
  --font-serif: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  color-scheme: light;
}

html[data-theme="dark"] {
  --color-bg: #1a1a1a;
  --color-bg-elevated: #242424;
  --color-bg-muted: #2a2a2a;
  --color-bg-inverse: #f9f6f0;

  --color-text: #e3e3e3;
  --color-text-muted: #a39b91;
  --color-text-inverse: #1f1f1f;

  --color-accent: #f59e0b;
  --color-accent-hover: #fbbf24;
  --color-accent-soft: rgba(245, 158, 11, 0.16);
  --color-accent-ring: rgba(245, 158, 11, 0.4);

  --oslo: #6b94cc;
  --oslo-hover: #88abdb;
  --oslo-soft: rgba(107, 148, 204, 0.2);
  --oslo-ring: rgba(107, 148, 204, 0.48);

  --eda: #b09ad4;
  --eda-hover: #c4b2e2;
  --eda-soft: rgba(176, 154, 212, 0.22);
  --eda-ring: rgba(176, 154, 212, 0.5);

  --color-border: rgba(227, 227, 227, 0.1);
  --color-border-strong: rgba(227, 227, 227, 0.18);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

html,
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  height: 100%;
  overflow: hidden;
  transition:
    background-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

#app-shell {
  display: flex;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

#site-column {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

#site-column > header {
  position: relative;
  flex-shrink: 0;
  top: auto;
  z-index: 40;
}

.site-lockup {
  font-weight: 600;
  letter-spacing: -0.01em;
  word-spacing: 0;
}

footer a {
  color: inherit;
  text-underline-offset: 3px;
}

footer a:hover {
  color: var(--color-accent);
}

#site-column > main {
  flex: 1 1 0%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.agent-panel {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

.surface {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.accent-link {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button.accent-link {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.hero-actions a,
.hero-actions button {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.accent-link:hover {
  color: var(--color-accent-hover);
}

.eda-link {
  color: var(--eda);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button.eda-link {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.eda-link:hover {
  color: var(--eda-hover);
}

.case-walks .accent-link,
.case-walks .eda-link {
  text-decoration: none;
}
.case-walks .accent-link:hover,
.case-walks .eda-link:hover,
.case-walks .accent-link:focus-visible,
.case-walks .eda-link:focus-visible {
  text-decoration-line: underline;
}

.case-walks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  transition:
    background-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
}

html[data-theme="dark"] .btn-accent {
  color: #1a1a1a;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.theme-toggle:hover {
  border-color: var(--color-border-strong);
  background: var(--color-bg-muted);
}

.theme-toggle .icon-sun,
html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.agent-trigger {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid var(--color-accent-ring);
  background: var(--color-accent-soft);
  transition:
    color var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.agent-trigger:hover {
  color: var(--color-accent-hover);
  border-color: var(--color-accent);
}

.agent-trigger .oslo-word {
  position: relative;
  display: inline-block;
}

.agent-trigger .oslo-word::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  left: -0.14em;
  top: 0.1em;
  pointer-events: none;
}

.agent-panel,
.walk-rail,
.walk-foot {
  --color-accent: var(--oslo);
  --color-accent-hover: var(--oslo-hover);
  --color-accent-soft: var(--oslo-soft);
  --color-accent-ring: var(--oslo-ring);
}

html[data-agent="eda"] .walk-rail,
html[data-agent="eda"] .walk-foot {
  --color-accent: var(--eda);
  --color-accent-hover: var(--eda-hover);
  --color-accent-soft: var(--eda-soft);
  --color-accent-ring: var(--eda-ring);
}

html.is-agent-open .agent-trigger {
  --color-accent: var(--oslo);
  --color-accent-hover: var(--oslo-hover);
  --color-accent-soft: var(--oslo-soft);
  --color-accent-ring: var(--oslo-ring);
}

.agent-panel {
  background: var(--color-bg-elevated);
  border-left: 1px solid transparent;
  transition:
    width 300ms ease-in-out,
    max-width 300ms ease-in-out,
    border-color 300ms ease-in-out,
    background-color var(--duration) var(--ease-out);
}

#site-column {
  transition:
    width 300ms ease-in-out,
    max-width 300ms ease-in-out,
    flex-basis 300ms ease-in-out;
}

html.is-agent-open #agent-panel {
  width: 100%;
  max-width: 100%;
  border-left-color: var(--oslo-ring);
}

html.is-agent-open #site-column {
  width: 0;
  max-width: 0;
  flex: 0 0 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  html.is-agent-open #agent-panel {
    width: var(--agent-width);
    max-width: var(--agent-width);
  }

  html.is-agent-open #site-column {
    width: auto;
    max-width: none;
    flex: 1 1 0%;
    overflow: hidden;
  }
}

.agent-close {
  font-family: var(--font-serif);
  color: var(--color-text-muted);
}

.agent-close:hover {
  color: var(--color-text);
}

.chat-turn {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chat-turn-label {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.chat-turn-user .chat-turn-label {
  color: var(--color-accent);
}

.chat-turn-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text);
  white-space: pre-wrap;
}

.chat-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  min-height: 1.65em;
}

.chat-loader span {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 9999px;
  background: var(--color-accent);
  animation: chat-dot 1.05s ease-in-out infinite;
}

.chat-loader span:nth-child(2) {
  animation-delay: 0.16s;
}

.chat-loader span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes chat-dot {
  0%,
  70%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-loader span {
    animation: none;
    opacity: 0.55;
  }
}

.agent-inquiries {
  border-top: 1px solid var(--color-border);
}

.agent-inquiry {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition:
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
}

.agent-panel .agent-inquiry {
  background: var(--oslo-soft);
  border-color: var(--oslo-ring);
}

.agent-inquiry:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.agent-panel :focus-visible,
.walk-rail :focus-visible,
.walk-foot :focus-visible {
  outline-color: var(--oslo);
}

.chat-input {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.agent-panel .chat-input:focus,
.walk-rail .chat-input:focus {
  border-color: var(--oslo);
  outline: none;
}

.chat-input::placeholder {
  color: var(--color-text-muted);
}

.work-card-media {
  height: 14rem;
  overflow: hidden;
  background: #0a0a0a;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms var(--ease-out);
}

.work-card-media img.work-card-oslo {
  object-position: center 22%;
}

.eda-home-card .work-card-media {
  height: 16rem;
}

@media (min-width: 768px) {
  .eda-home-card .work-card-media {
    height: 100%;
    min-height: 22rem;
  }
}

.work-card:hover .work-card-media img {
  transform: scale(1.03);
}

.case-back {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.case-back:hover {
  color: var(--color-accent);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .case-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.case-meta dt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.case-meta dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.case-figure {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-figure figcaption {
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.case-figure-pair {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .case-figure-pair {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .case-figure-pair > .case-figure figcaption {
    min-height: 4.2rem;
    box-sizing: border-box;
  }
}

.case-figure.is-eda-anchor {
  border-color: var(--eda);
  box-shadow: 0 0 0 3px var(--eda-ring);
}

.case-figure.is-eda-anchor figcaption::before {
  content: "Eda is on this screen";
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eda);
}

.eda-panel,
#eda-panel .walk-foot {
  --color-accent: var(--eda);
  --color-accent-hover: var(--eda-hover);
  --color-accent-soft: var(--eda-soft);
  --color-accent-ring: var(--eda-ring);
}

.eda-panel {
  background: var(--color-bg-elevated);
  border-left: 1px solid transparent;
  transition:
    width 300ms ease-in-out,
    max-width 300ms ease-in-out,
    border-color 300ms ease-in-out;
}

html.is-eda-open #eda-panel {
  width: 100%;
  max-width: 100%;
  border-left-color: var(--eda-ring);
}

html.is-eda-open #site-column {
  width: 0;
  max-width: 0;
  flex: 0 0 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  html.is-eda-open #eda-panel {
    width: var(--agent-width);
    max-width: var(--agent-width);
  }

  html.is-eda-open #site-column {
    width: auto;
    max-width: none;
    flex: 1 1 0%;
    overflow: hidden;
  }
}

#eda-panel .walk-rail-head,
#eda-panel .eda-station,
#eda-panel .walk-asks,
#eda-panel .walk-form,
#eda-panel .walk-foot {
  flex-shrink: 0;
}

.eda-station {
  flex-shrink: 0;
  padding: 0.9rem 1.35rem 0.15rem;
}

.eda-station span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eda);
}

.eda-station strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.case-prose p {
  max-width: 42rem;
}

.hero-orbit {
  --orbit-gold: #ffaf34;
  --orbit-listen: var(--oslo);
  margin-top: 1.75rem;
  width: 100%;
  max-width: 48rem;
  overflow: visible;
}

.hero-orbit svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-orbit .orbit-expand {
  stroke: var(--orbit-gold);
  transform-box: view-box;
  transform-origin: 300.5px 302.5px;
  transform: scale(1);
  transition: stroke 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

html.is-agent-open .hero-orbit .orbit-expand {
  stroke: var(--orbit-listen);
  transform: scale(var(--orbit-open-scale));
}

.hero-orbit .orbit-cw,
.hero-orbit .orbit-ccw {
  transform-origin: 0 0;
  will-change: transform;
}

.hero-orbit .orbit-cw {
  animation: orbit-cw 36s linear infinite;
}

.hero-orbit .orbit-ccw {
  animation: orbit-ccw 48s linear infinite;
}

@keyframes orbit-cw {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-ccw {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit .orbit-cw,
  .hero-orbit .orbit-ccw {
    animation: none;
  }

  .hero-orbit .orbit-expand,
  html.is-agent-open .hero-orbit .orbit-expand {
    transform: none;
    transition: stroke 900ms ease;
  }
}

/* -------------------------------------------------------------------------
   About page
   ------------------------------------------------------------------------- */
.about-intro {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.about-portrait figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.about-intro .about-lede {
  margin-top: 0;
}

.about-intro .about-body {
  margin-top: 1.5rem;
}

.about-lede {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.about-body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-body p + p {
  margin-top: 1.1rem;
}

.about-section {
  margin-top: 6rem;
}

.about-section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-strong);
}

.about-practice {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .about-practice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .about-practice {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-practice h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.about-practice p {
  margin-top: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-skills {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 900px) {
  .about-skills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-skills-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.about-chips li {
  font-size: 0.8125rem;
  line-height: 1.2;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-elevated);
  color: var(--color-text);
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 900px) {
  .about-contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.case-callout {
  border-left: 2px solid var(--color-accent);
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.case-reasons {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .case-reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.case-reason {
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
}

.case-reason h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.case-reason p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.case-checks {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 900px) {
  .case-checks {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .case-checks-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.case-check {
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  padding: 0.9rem 0.85rem 1rem;
}

.case-check span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.case-check h3 {
  margin-top: 0.45rem;
  font-size: 1.05rem;
}

.case-check p {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.case-flow {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .case-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

.case-flow-step {
  position: relative;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  padding: 1rem 0.95rem 1.1rem;
}

@media (min-width: 900px) {
  .case-flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.35rem;
    right: -0.42rem;
    z-index: 1;
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1.5px solid var(--color-accent);
    border-right: 1.5px solid var(--color-accent);
    transform: rotate(45deg);
    background: var(--color-bg);
  }
}

.case-flow-step span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}

.case-flow-step h3 {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.case-flow-step p {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.station-lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  display: grid;
  gap: 1.15rem;
}

.station-lead p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.station-chart {
  margin-top: 2.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  padding: 1.5rem 1.35rem 0.4rem;
}

.station-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1rem;
}

.station-chart-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
}

.station-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.84rem;
  color: var(--color-text);
}

.station-chart-legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.45rem;
  vertical-align: -1px;
  border-radius: 1px;
}

.swatch-ground {
  background: var(--color-accent);
}

.swatch-m365 {
  background: var(--oslo);
}

.station-plot {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  column-gap: 0.55rem;
}

.station-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--color-text);
  text-align: right;
}

.station-field {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: 220px;
  border-bottom: 1px solid var(--color-border-strong);
  border-left: 1px solid var(--color-border);
}

.station-guides {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.station-guides span {
  display: block;
  border-top: 1px dashed color-mix(in srgb, var(--color-text) 22%, transparent);
}

.station-guides span:last-child {
  border-top-color: transparent;
}

.station-col {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  height: 100%;
}

.station-bar {
  display: block;
  width: clamp(0.55rem, 1.6vw, 0.95rem);
  min-height: 2px;
  border-radius: 2px 2px 0 0;
}

.station-bar.ground {
  background: var(--color-accent);
}

.station-bar.m365 {
  background: var(--oslo);
}

.station-x {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  column-gap: 0.55rem;
  margin-top: 0.45rem;
}

.station-x ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.station-x li span {
  display: block;
  margin-top: 0.35rem;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--color-accent);
}

.station-x-note {
  margin: 0.85rem 0 0 calc(2.1rem + 0.55rem);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

.station-chart figcaption {
  margin-top: 1.15rem;
  padding: 0.95rem 0 1.15rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.station-pull {
  max-width: 40rem;
  margin-top: 2.5rem;
  border-left: 3px solid var(--color-accent);
  padding: 0.2rem 0 0.2rem 1.25rem;
}

.station-pull p {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .station-plot,
  .station-x {
    grid-template-columns: 1.65rem minmax(0, 1fr);
    column-gap: 0.4rem;
  }

  .station-y,
  .station-field {
    height: 168px;
  }

  .station-col {
    gap: 0.28rem;
  }

  .station-x-note {
    margin-left: calc(1.65rem + 0.4rem);
  }

  .station-chart {
    padding: 1.15rem 0.9rem 0.25rem;
  }
}

/* -------------------------------------------------------------------------
   Design systems landing
   ------------------------------------------------------------------------- */
.sys-hero {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .sys-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.55fr);
    gap: 4rem;
    align-items: start;
  }
}

.sys-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 40rem;
}

.sys-lede strong {
  color: var(--color-text);
  font-weight: 500;
}

.sys-meta {
  display: grid;
  gap: 1.15rem;
  padding-top: 0.35rem;
}

.sys-meta div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.sys-meta dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sys-meta dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text);
}

.sys-quote {
  margin: 4.5rem 0 0;
  max-width: 38rem;
}

.sys-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.sys-quote footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sys-prose {
  margin-top: 2.25rem;
  max-width: 42rem;
}

.sys-prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.sys-prose p + p {
  margin-top: 1.1rem;
}

.sys-prose strong {
  color: var(--color-text);
  font-weight: 500;
}

.sys-shifts {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .sys-shifts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sys-shift {
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.sys-shift h3 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sys-shift .sys-shift-fromto {
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.sys-shift p {
  margin-top: 0.7rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.sys-figure {
  margin: 2.25rem 0 0;
  padding: 1.5rem 1.1rem 1.15rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

@media (min-width: 768px) {
  .sys-figure {
    padding: 1.75rem 1.75rem 1.25rem;
  }
}

.sys-figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.sys-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sys-svg text {
  fill: var(--color-text);
}

.sys-svg .sys-svg-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--color-accent);
}

.sys-svg .sys-svg-title {
  font-family: var(--font-serif);
  font-size: 15px;
}

.sys-svg .sys-svg-note {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: var(--color-text-muted);
}

.sys-cores {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 720px) {
  .sys-cores {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.sys-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.sys-core-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.sys-core-tube {
  width: min(100%, 14.5rem);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-bg-muted);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-bg) 35%, transparent);
}

.sys-core-cap {
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg-elevated));
  border-bottom: 1px solid var(--color-border);
}

.sys-core-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.sys-core-unlogged .sys-core-band {
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-style: italic;
}

.sys-core-logged .sys-core-band {
  color: var(--color-text);
}

.sys-core figcaption {
  margin-top: 1rem;
  max-width: 18rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.sys-phases {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .sys-phases {
    grid-template-columns: 1fr 1fr;
  }
}

.sys-phase {
  padding: 1.4rem 1.3rem 1.45rem;
  border-top: 2px solid var(--color-border-strong);
}

.sys-phase h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.sys-phase .sys-phase-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

.sys-phase p {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.sys-phase ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.sys-phase li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.sys-phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.sys-proof {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 720px) {
  .sys-proof {
    grid-template-columns: 1fr 1fr;
  }
}

.sys-proof a {
  display: block;
  padding: 1.35rem 1.3rem 1.4rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: inherit;
  text-decoration: none;
  transition:
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.sys-proof a:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
}

.sys-proof p:first-child {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sys-proof h3 {
  margin-top: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.sys-proof p:last-child {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   Oslo-led walk
   ------------------------------------------------------------------------- */
.walk-shell {
  background: var(--color-bg);
}

.walk-header {
  flex-shrink: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px);
}

.walk-picker,
.walk-stage {
  min-height: 0;
}

.walk-picker {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 3rem 1.25rem 4rem;
}

html.is-walk-picking .walk-picker {
  display: block;
}

html.is-walking .walk-picker {
  display: none;
}

.walk-picker-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.walk-picker-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-picker-title {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.walk-picker-lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.walk-picker-meta {
  margin-top: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.walk-choices {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .walk-choices {
    grid-template-columns: 1fr 1fr;
  }
}

.walk-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.4rem 1.35rem 1.45rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: inherit;
  cursor: pointer;
  transition:
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.walk-choice:hover,
.walk-choice:focus-visible {
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
}

.walk-choice-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-choice h2,
.walk-choice h3 {
  margin-top: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.walk-choice p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.walk-choice-go {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
}

.walk-stage {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

html.is-walking .walk-stage {
  display: flex;
}

.walk-split {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

@media (min-width: 960px) {
  .walk-split {
    flex-direction: row;
  }
}

.walk-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 2rem 1.5rem 1.5rem;
}

@media (min-width: 960px) {
  .walk-main {
    padding: 2.5rem 3rem 2rem;
  }
}

.walk-station-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-station-title {
  margin-top: 0.7rem;
  max-width: 22rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.walk-station-lede {
  margin-top: 0.9rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.walk-visual {
  margin-top: 1.75rem;
}

.walk-visual img {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  border: 1px solid var(--color-border);
  background: var(--color-bg-muted);
}

.walk-caption {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.walk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.walk-tags li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
}

.walk-holds {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .walk-holds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.walk-hold {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.walk-hold p:first-child {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-hold h3 {
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.walk-hold p:last-child {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.walk-cut {
  max-width: 40rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.walk-cut-band {
  padding: 0.85rem 1.1rem 0.95rem;
  border-top: 1px solid var(--color-border);
}

.walk-cut-band:first-child {
  border-top: 0;
}

.walk-cut-band p:first-child {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-cut-band h3 {
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.walk-cut-band p:last-child {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.walk-cut-sky {
  background: color-mix(in srgb, var(--color-accent) 9%, var(--color-bg));
}

.walk-cut-weather {
  background: var(--color-bg-muted);
}

.walk-cut-paths {
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-bg-muted));
}

.walk-cut-bedrock {
  background: color-mix(in srgb, var(--color-text) 14%, var(--color-bg-elevated));
}

.walk-trail {
  display: grid;
  gap: 0.65rem;
  max-width: 36rem;
}

@media (min-width: 700px) {
  .walk-trail {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
}

.walk-trail-node {
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-elevated);
}

.walk-trail-node p:first-child {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-trail-node h3 {
  margin-top: 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.walk-trail-arrow {
  display: none;
  color: var(--color-accent);
  font-size: 1.1rem;
}

@media (min-width: 700px) {
  .walk-trail-arrow {
    display: block;
  }
}

.walk-rail {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

@media (min-width: 960px) {
  .walk-rail {
    width: var(--agent-width);
    max-width: var(--agent-width);
    min-height: 0;
    border-top: 0;
    border-left: 1px solid var(--color-border-strong);
  }
}

.walk-rail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.walk-rail-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.walk-rail-status[data-state="answering"] {
  color: var(--color-text-muted);
}

.walk-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.walk-asks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.35rem 0.65rem;
}

.walk-ask {
  font-size: 0.75rem;
  line-height: 1.3;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.walk-ask:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.walk-ask:disabled {
  opacity: 0.45;
  cursor: default;
}

.walk-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem 1.1rem;
  border-top: 1px solid var(--color-border);
}

.walk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.walk-dots {
  display: flex;
  gap: 0.4rem;
}

.walk-dot {
  width: 1.35rem;
  height: 3px;
  border: 0;
  padding: 0;
  background: var(--color-border-strong);
  cursor: pointer;
}

.walk-dot.is-current {
  background: var(--color-accent);
}

.walk-nav {
  display: flex;
  gap: 0.5rem;
}

.walk-nav button {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.walk-nav button:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.walk-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.walk-nav .walk-next {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

html[data-theme="dark"] .walk-nav .walk-next {
  color: #1a1a1a;
}

.walk-nav .walk-next:hover:not(:disabled) {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

html[data-theme="dark"] .walk-nav .walk-next:hover:not(:disabled) {
  color: #1a1a1a;
}

/* Oslo evidence stays in the existing reading column and follows the site theme. */
.oslo-claim { display: block; margin-bottom: 1rem; }
.oslo-evidence { display: block; margin-top: .4rem; font-size: .875rem; }
.oslo-evidence:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
[id^="oslo-evidence-"] { scroll-margin-top: 1.5rem; }

/* Atlas interaction schematic: a wireframe explanation, not a live map. */
.atlas-diagram { margin-top: 2rem; border: 1px solid var(--color-border-strong); border-radius: 12px; overflow: hidden; background: var(--color-bg-elevated); }
.atlas-diagram-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--color-border); font-size: 1rem; }
.atlas-diagram-note, .atlas-panel-kicker { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; color: var(--color-text-muted); }
.atlas-diagram-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); }
.atlas-wire-map { display: flex; flex-direction: column; justify-content: center; min-width: 0; background: var(--color-bg); }
.atlas-wire-map > svg { display: block; width: 100%; height: auto; }
.atlas-map-grid { color: var(--color-border); opacity: .4; }
.atlas-site-outline { color: var(--color-border-strong); stroke-width: 1.3; }
.atlas-map-neutral, .atlas-other-route { color: var(--color-text-muted); }
.atlas-active-route, .atlas-route-ahead { color: var(--color-accent); }
.atlas-route-ahead { stroke: var(--color-bg); }
.atlas-marker-bg { fill: var(--color-bg-elevated); stroke: var(--color-border-strong); stroke-width: 1; }
.atlas-map-label { font: 14px var(--font-mono); letter-spacing: 1px; fill: var(--color-text-muted); }
.atlas-incident-label { fill: var(--color-accent); }
.atlas-map-legend { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; align-items: center; padding: 1rem 1.4rem; font-size: .8rem; color: var(--color-text-muted); }
.atlas-map-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.atlas-legend-line { display: inline-block; width: 24px; border-top: 2px solid var(--color-accent); }
.atlas-legend-dashed { border-color: var(--color-text-muted); border-top-style: dashed; }
.atlas-review-panel { border-left: 1px solid var(--color-border-strong); padding: 1.5rem; }
.atlas-review-panel h3 { margin-top: .6rem; font-size: 1.35rem; line-height: 1.25; }
.atlas-panel-summary { color: var(--color-text-muted); font-size: .9rem; line-height: 1.55; margin-top: .65rem; }
.atlas-viewfinder { margin-top: 1.2rem; border: 1px solid var(--color-border-strong); background: var(--color-bg); color: var(--color-text-muted); padding: .45rem .6rem; }
.atlas-viewfinder svg { width: 100%; max-height: 100px; }
.atlas-viewfinder span { display: block; font-family: var(--font-mono); font-size: .65rem; text-align: center; padding-bottom: .35rem; }
.atlas-panel-status { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .9rem; font-size: .75rem; line-height: 1.45; }
.atlas-panel-status dt { font-weight: 600; }
.atlas-panel-status dd { color: var(--color-text-muted); margin-top: .25rem; }
.atlas-context-heading { margin-top: 1.5rem; }
.atlas-context-list { margin-top: .55rem; padding: 0; list-style: none; font-size: .8rem; }
.atlas-context-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--color-border); }
.atlas-context-list strong { font-weight: 600; }
.atlas-context-list span { color: var(--color-text-muted); text-align: right; }
.atlas-diagram .atlas-diagram-caption { padding: 1rem 1.4rem; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: .8rem; line-height: 1.5; }
@media (max-width: 760px) {
  .atlas-diagram-layout { grid-template-columns: 1fr; }
  .atlas-review-panel { border-left: 0; border-top: 1px solid var(--color-border-strong); padding: 1.25rem; }
  .atlas-map-label { font-size: 17px; }
  .atlas-diagram-heading { padding: 1rem 1.25rem; }
  .atlas-map-legend { padding: .75rem 1.25rem; }
}

/* Atlas's second schematic explains the workspace around one selected flight. */
.atlas-operations-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
.atlas-operations-map { min-width: 0; background: var(--color-bg); padding-top: 1.4rem; display: flex; flex-direction: column; justify-content: center; }
.atlas-operations-map > .atlas-panel-kicker { padding: 0 1.4rem; }
.atlas-operations-map > svg { width: 100%; height: auto; display: block; margin: 1.3rem 0; }
.atlas-step-number { color: var(--color-accent); font: .7rem var(--font-mono); margin-right: .45rem; }
.atlas-operations-map-note { color: var(--color-text-muted); font-size: .85rem; line-height: 1.6; padding: 0 1.4rem 1.4rem; max-width: 27rem; }
.atlas-operations-console { padding: 1.4rem; border-left: 1px solid var(--color-border-strong); }
.atlas-console-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-bottom: 1.1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--color-border); }
.atlas-connection-label { display: inline-flex; gap: .4rem; align-items: center; color: var(--color-text-muted); font-size: .7rem; }
.atlas-connection-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.atlas-console-title { font-size: .95rem; font-weight: 600; }
.atlas-camera-scene { background: var(--color-bg); border: 1px solid var(--color-border-strong); color: var(--color-text-muted); margin-top: .8rem; }
.atlas-camera-scene > svg { width: 100%; height: auto; display: block; }
.atlas-camera-caption { padding: .65rem .8rem; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem; font-family: var(--font-mono); font-size: .6rem; }
.atlas-operations-status { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.atlas-operations-status > div { padding-top: .9rem; border-top: 1px solid var(--color-border); }
.atlas-operations-status svg { width: 32px; height: 32px; color: var(--color-text-muted); margin: .7rem 0; }
.atlas-operations-status p:last-child { color: var(--color-text-muted); font-size: .8rem; line-height: 1.55; }
@media (max-width: 760px) {
  .atlas-operations-layout { grid-template-columns: 1fr; }
  .atlas-operations-console { border-left: 0; border-top: 1px solid var(--color-border-strong); padding: 1.25rem; }
  .atlas-operations-map > svg { margin: .5rem 0; }
  .atlas-operations-status { gap: .8rem; }
  .atlas-operations-status .atlas-console-title { font-size: .85rem; }
}

.atlas-camera-scene .atlas-map-label { stroke: none; }

/* Device presentation from the existing FloTrak case. */
.case-figure-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 34rem);
  margin-inline: auto;
  overflow: visible;
  padding: 2.5rem 1.5rem 0.25rem;
}

.case-figure-phone figcaption {
  align-self: stretch;
}

/* iPhone 16 Plus: 77.8 × 160.9 mm, Dynamic Island, thin titanium bezel. */
.iphone-16 {
  position: relative;
  width: min(268px, 72vw);
  margin-inline: auto;
  padding: 9px;
  border-radius: 46px;
  background:
    linear-gradient(155deg, #f2f2f4 0%, #c5c5c9 7%, #6d6d72 24%, #2a2a2c 52%, #141416 78%, #8d8d92 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    inset 0 0 0 3px #0c0c0d,
    0 22px 44px rgba(40, 28, 12, 0.16);
}

.iphone-16-action,
.iphone-16-volume,
.iphone-16-power {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(#4a4a4e, #1a1a1c);
}

.iphone-16-action {
  left: -2px;
  top: 17%;
  height: 20px;
}

.iphone-16-volume {
  left: -2px;
  top: 25%;
  height: 58px;
}

.iphone-16-power {
  right: -2px;
  top: 27%;
  height: 72px;
}

.iphone-16-screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: #000;
}

.iphone-16-status {
  position: relative;
  height: 40px;
  background: #000;
}

.iphone-16-island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2);
}

.iphone-16-screen img,
.walk-visual .iphone-16-screen img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border: 0;
  background: transparent;
}


/* FloTrak uses the same dark stage as the other project thumbnails. */
.work-card-media.flotrak-thumbnail { position: relative; background: #0a0a0a; }
/* Earlier upright phone artwork, cropped to the wedge and metering points. */
.work-card-media img.work-card-zone { display: block; width: 76%; height: 100%; margin-inline: auto; object-fit: cover; object-position: center 44%; }
.flotrak-story-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; padding: 1.5rem 0; border-block: 1px solid var(--color-border); }
.flotrak-story-flow span { font: .7rem var(--font-mono); color: var(--color-accent); }
.flotrak-story-flow h3 { margin: .6rem 0; font-size: 1.15rem; }
.flotrak-story-flow p { font-size: .875rem; line-height: 1.6; color: var(--color-text-muted); }
@media (max-width: 640px) { .flotrak-story-flow { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Keep the hero's geometry stable while the mobile Oslo panel opens. */
@media (max-width: 767px) {
  #app-shell { position: relative; }
  #agent-panel {
    position: absolute;
    inset: 0;
    z-index: 60;
    width: 100%;
    max-width: 100%;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 300ms ease-in-out, visibility 0s linear 300ms;
  }
  html.is-agent-open #agent-panel {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }
  html.is-agent-open #site-column {
    width: 100%;
    max-width: 100%;
    flex: 1 1 0%;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #agent-panel { transition: none; }
}

/* Hold panel content at its final width while the outer reveal animates. */
.agent-panel-content { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0; height: 100%; width: 100%; contain: layout style; }
@media (min-width: 768px) {
  .agent-panel-content { width: calc(var(--agent-width) - 1px); flex-shrink: 0; transform: translateX(24px); opacity: 0; transition: transform 300ms ease-in-out, opacity 200ms ease; }
  html.is-agent-open .agent-panel-content { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .agent-panel-content { transition: none; transform: none; } }

/* The original portrait footprint, with no card surface or frame. */
.about-data-portrait { position: relative; width: 100%; aspect-ratio: 440 / 644; }
.about-data-portrait canvas { display: block; width: 100%; height: 100%; }

.sys-foundation-art { margin: 2.5rem 0 0; }
.sys-foundation-art svg { display: block; width: 100%; height: auto; color: var(--color-text-muted); overflow: visible; }
.sys-foundation-art figcaption { margin-top: .85rem; font: .75rem var(--font-mono); color: var(--color-text-muted); line-height: 1.6; }

/* Agent drawers: soft depth and an open edge toward the page. */
#agent-panel,
#eda-panel {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}
html.is-agent-open #agent-panel,
html.is-eda-open #eda-panel {
  z-index: 50;
  border-left-color: transparent;
  box-shadow: -10px 0 32px rgba(31, 31, 31, .12), -2px 0 8px rgba(31, 31, 31, .06);
}
html[data-theme="dark"].is-agent-open #agent-panel,
html[data-theme="dark"].is-eda-open #eda-panel {
  box-shadow: -12px 0 40px rgba(0, 0, 0, .35), -2px 0 10px rgba(0, 0, 0, .2);
}
/* Transparent borders retain the existing section spacing and dimensions. */
#agent-panel header,
#agent-panel .agent-inquiries,
#agent-panel #chat-form,
#eda-panel .walk-rail-head,
#eda-panel .walk-asks,
#eda-panel .walk-form,
#eda-panel .walk-foot {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

/* Shared card corners across route pickers, walkthroughs, and systems. */
:root { --radius-card: 1rem; }
.work-card,
.walk-choice,
.walk-hold,
.case-figure,
.case-flow-step,
.case-check,
.walk-cut,
.walk-trail-node,
.sys-shift,
.sys-core,
.sys-figure,
.sys-proof a,
.atlas-diagram {
  border-radius: var(--radius-card);
}
.walk-choice,
.walk-cut,
.atlas-diagram {
  overflow: hidden;
}
.walk-nav button { border-radius: .65rem; }

/* SBI: a readable overview replaces the dense application-map thumbnail. */
.sbi-tablet-figure > img { box-sizing: border-box; padding: clamp(1rem, 3vw, 2.5rem); }
.sbi-question-map { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-bg-muted); }
.sbi-map-label { display: block; font: .7rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent); }
.sbi-map-root { max-width: 34rem; margin: auto; padding: 1.4rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-card); background: var(--color-bg-elevated); text-align: center; }
.sbi-map-root h3 { margin-top: .6rem; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }
.sbi-map-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-top: 2.5rem; position: relative; }
.sbi-map-branches::before { content: ''; position: absolute; top: 0; left: 50%; height: 2.5rem; border-left: 1px solid var(--color-border-strong); }
.sbi-map-branch { position: relative; padding: 1.35rem; background: var(--color-bg-elevated); border: 1px solid var(--color-border-strong); border-radius: var(--radius-card); }
.sbi-map-branch h4 { margin-top: .75rem; font-size: 1.1rem; line-height: 1.4; }
.sbi-map-branch p, .sbi-map-result p { margin-top: .6rem; font-size: .95rem; line-height: 1.6; color: var(--color-text-muted); }
.sbi-map-result { margin-top: 1.5rem; padding: 1.25rem; text-align: center; border: 1px solid var(--color-border-strong); border-radius: var(--radius-card); }
.sbi-question-map figcaption { margin-top: 1.25rem; font-size: .8rem; line-height: 1.6; color: var(--color-text-muted); }
@media (max-width: 760px) { .sbi-map-branches { grid-template-columns: 1fr; gap: .85rem; } }

.sbi-map-branches-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbi-map-items { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.sbi-map-items li { padding: .45rem .65rem; border: 1px solid var(--color-border-strong); border-radius: .65rem; font-size: .85rem; line-height: 1.4; }
@media (max-width: 760px) { .sbi-map-branches-two { grid-template-columns: 1fr; } }

/* Match the dedicated walkthrough sidebar to the agent drawers. */
.walk-rail {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: -10px 0 32px rgba(31, 31, 31, .12), -2px 0 8px rgba(31, 31, 31, .06);
  border-left-color: transparent;
}
html[data-theme="dark"] .walk-rail {
  box-shadow: -12px 0 40px rgba(0, 0, 0, .35), -2px 0 10px rgba(0, 0, 0, .2);
}
.walk-rail .walk-rail-head,
.walk-rail .walk-form {
  border-top-color: transparent;
  border-bottom-color: transparent;
}

/* Oslo arrives with the walk; reloads and station changes keep the rail still. */
html.is-walk-entering .walk-split { overflow: clip; }
html.is-walk-entering .walk-stage .walk-rail {
  animation: walk-rail-rise 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 960px) {
  html.is-walk-entering .walk-stage .walk-rail { animation-name: walk-rail-slide; }
}
@keyframes walk-rail-slide {
  from { transform: translateX(100%); }
  to { transform: none; }
}
@keyframes walk-rail-rise {
  from { transform: translateY(1.5rem); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html.is-walk-entering .walk-stage .walk-rail { animation: none; }
}

/* AI disclosure remains visible while the adjacent guide status changes. */
.agent-caption { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; margin-top: .25rem; }
.agent-caption > p { margin-top: 0; }
.ai-guide-badge { display: inline-flex; align-items: center; gap: .3rem; font: .625rem var(--font-mono); letter-spacing: .025em; white-space: nowrap; color: var(--color-accent); }
.ai-guide-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.site-lockup { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.site-mark { width: 1.75rem; height: 1.75rem; flex: 0 0 auto; }
.site-lockup > span { word-spacing: -.12em; }

/* Companion guides use Oslo’s original, closer thumbnail framing. */
.work-card-media.guide-thumbnail { position: relative; background: #000; }
.guide-thumbnail-screen { position: relative; width: 100%; height: 100%; overflow: hidden; container-type: inline-size; }
.guide-thumbnail-screen img.work-card-oslo { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* Eda’s source has no outer margin: match the screen scale in Oslo’s capture. */
.guide-thumbnail-screen img.work-card-eda { position: absolute; width: 74.12%; height: auto; aspect-ratio: 759 / 510; left: 12.89%; top: calc(22% - 7.32cqw); object-fit: fill; border-radius: .65rem; }


.sbi-business-figure { width: 100%; max-width: 52rem; margin-inline: auto; }

.guide-conversation-context { margin-top: .5rem; color: var(--color-text-muted); font: .7rem var(--font-mono); }

.guide-context-link { display: inline-block; margin-top: .5rem; font-size: .8rem; line-height: 1.4; }

.walk-evidence-back {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .65rem 1rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  background: var(--color-bg);
  cursor: pointer;
}
.walk-evidence-view { max-width: 70rem; margin-inline: auto; }
.walk-evidence-view img, .walk-evidence-view svg { max-width: 100%; height: auto; }
.walk-evidence-view .about-section { margin-top: 0; }

/* The shared landing groups routes by the guide’s purpose. */
.walk-guide-group { margin-top: 3rem; }
.walk-guide-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.walk-guide-heading h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; }
.walk-guide-ai { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .7rem; color: var(--oslo); }
.walk-guide-ai svg { width: 1rem; height: 1rem; }
.walk-guide-description { margin-top: .75rem; max-width: 42rem; line-height: 1.6; color: var(--color-text-muted); }
.walk-guide-group .walk-choices { margin-top: 1.25rem; }
a.walk-choice { text-decoration: none; }
.walk-guide-eda .walk-choice-kicker, .walk-guide-eda .walk-choice-go, .walk-guide-eda .walk-guide-ai { color: var(--eda); }

/* Dedicated walks keep the guide aligned with the full-height site drawers. */
.walk-rail-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; flex-shrink: 0; }
.walk-exit { color: var(--color-text-muted); font-family: var(--font-sans); font-size: .75rem; text-decoration: none; }
.walk-exit:hover, .walk-exit:focus-visible { color: var(--color-text); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 960px) {
  html.is-walking .walk-shell { padding-right: var(--agent-width); }
  html.is-walking .walk-stage .walk-rail { position: fixed; inset: 0 0 0 auto; width: var(--agent-width); height: 100dvh; max-height: 100%; z-index: 60; }
}
@media (min-width: 960px) and (max-width: 1279px) {
  html.is-walking .walk-header nav[aria-label="Primary"] { display: none; }
  html.is-walking .walk-header #nav-toggle { display: inline-flex; }
  html.is-walking .walk-header #nav-menu:not(.hidden) { display: block; }
}

/* Eda: an inspectable, self-paced evidence walk. */
html.is-walking .eda-station-map {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--color-border)}
.eda-station-map button {text-align:left;padding:.65rem .55rem;border:1px solid transparent;border-radius:.5rem;font-size:.75rem;line-height:1.3;color:var(--color-text-muted);background:transparent;min-width:0}
.eda-station-map button span {display:block;font: .65rem var(--font-mono);margin-bottom:.35rem;color:var(--color-accent)}
.eda-station-map button[aria-current="step"] {background:var(--color-accent-soft);border-color:var(--color-border-strong);color:var(--color-text)}
.eda-station-map button:hover {border-color:var(--color-accent)}
html.is-walking .walk-station-title {max-width:38rem;font-size:clamp(1.8rem,3.2vw,2.8rem)}
html.is-walking .walk-visual img {max-width:none;max-height:45vh;object-fit:contain;border-radius:.75rem;background:var(--color-bg-muted)}
.eda-zoom {display:block;margin:.75rem 0 0 auto;padding:.5rem .75rem;color:var(--color-accent);border:1px solid var(--color-border-strong);border-radius:99px;font-size:.8rem}
.eda-review {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem;padding:1.4rem;border:1px solid var(--color-border);border-radius:1rem;background:var(--color-bg-elevated)}
.eda-review h2 {font: .65rem var(--font-mono);text-transform:uppercase;letter-spacing:.1em;color:var(--color-accent);margin:0 0 .6rem}
.eda-review p {font-size:.94rem;line-height:1.6;color:var(--color-text-muted);margin:0}
.eda-wrap-up {margin-top:1.5rem;padding:1.5rem;border-left:2px solid var(--color-accent);background:var(--color-accent-soft);border-radius:0 .75rem .75rem 0}
.eda-wrap-up h2 {font:1.5rem var(--font-serif);margin:.6rem 0}
.eda-wrap-up>p:not(.walk-station-kicker) {line-height:1.6;color:var(--color-text-muted);font-size:.94rem}
.eda-related-link,.eda-source-link {display:block;width:fit-content;color:var(--color-accent);text-decoration:underline;text-underline-offset:4px;margin-top:1rem;font-size:.9rem}
.eda-source-link {font-size:.75rem}
html.is-walking .walk-dot {width:32px;height:32px;border-radius:50%;font: .7rem var(--font-mono);color:var(--color-text-muted);background:transparent;border:1px solid var(--color-border-strong)}
html.is-walking .walk-dot.is-current {background:var(--color-accent);color:var(--color-bg)}
.eda-image-dialog {position:fixed;inset:0;margin:auto;width:min(96vw,1500px);height:90dvh;max-width:none;max-height:94dvh;padding:0;background:var(--color-bg);color:var(--color-text);border:1px solid var(--color-border);border-radius:1rem;box-shadow:0 24px 100px #0008;overflow:hidden}
.eda-image-dialog::backdrop {background:#000b;backdrop-filter:blur(5px)}
.eda-image-head {display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid var(--color-border)}
.eda-image-head h2 {font:1.15rem var(--font-serif)}
.eda-image-head button {padding:.6rem 1rem;border:1px solid var(--color-border-strong);border-radius:99px;flex-shrink:0}
.eda-image-viewport {height:calc(100% - 85px);overflow:auto;padding:1.5rem;display:grid;align-items:start}
.eda-image-viewport img {width:100%;min-width:850px;height:auto;background:#fff}
.eda-image-dialog :focus-visible,.eda-station-map :focus-visible,.eda-zoom:focus-visible {outline:2px solid var(--color-accent);outline-offset:4px}
@media(max-width:959px){html.is-walking .walk-main{flex:0 0 52%;padding:1.3rem}html.is-walking .walk-rail{flex:1;min-height:0}.eda-station-map button{font-size:.65rem;padding:.4rem .2rem}html.is-walking .eda-station-map{margin-bottom:1.2rem;gap:.2rem}.eda-review{grid-template-columns:1fr;gap:1rem;padding:1rem}html.is-walking .walk-visual img{max-height:35vh}html.is-walking .walk-foot{padding:.6rem;gap:.3rem}html.is-walking .walk-dots{gap:.2rem}html.is-walking .walk-dot{width:27px;height:27px}.eda-image-head{padding:.8rem}.eda-image-viewport{padding:.75rem}}
@media(prefers-reduced-motion:reduce){.eda-station-map button{transition:none}}

html.is-walking .walk-hold,html.is-walking .walk-cut-band,html.is-walking .sys-core{animation:station-detail-in 380ms ease-out both}html.is-walking .walk-hold:nth-child(2),html.is-walking .walk-cut-band:nth-child(2){animation-delay:70ms}html.is-walking .walk-hold:nth-child(3),html.is-walking .walk-cut-band:nth-child(3){animation-delay:140ms}@keyframes station-detail-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){html.is-walking .walk-hold,html.is-walking .walk-cut-band,html.is-walking .sys-core{animation:none}}

.walk-station-title[tabindex="-1"]:focus{outline:none}
.walk-guide-toggle{display:none}
@media(max-width:959px){.walk-guide-toggle{display:block;font-size:.7rem;color:var(--color-accent);border:1px solid var(--color-border-strong);padding:.45rem;border-radius:.4rem;white-space:nowrap}.walk-stage.is-guide-collapsed .walk-rail{display:none}html.is-walking .walk-stage.is-guide-collapsed .walk-main{flex:1 1 auto}html.is-walking .walk-dot{width:24px;height:28px}.walk-nav{gap:.25rem}.walk-nav button{padding:.5rem .6rem}}

/* Keep the evidence frame while bringing interface details closer. */
html.is-walking .walk-image-frame{overflow:hidden;border:1px solid var(--color-border);border-radius:.75rem;background:var(--color-bg-muted)}
html.is-walking .walk-image-frame img{border:0;border-radius:0;transform:scale(1.18);transform-origin:center}

/* Authored screenshot regions keep each station's product evidence readable. */
html.is-walking .walk-image-frame.has-detail{position:relative;aspect-ratio:16/9;isolation:isolate}
html.is-walking .walk-image-frame.has-detail img{position:absolute;max-width:none;max-height:none;object-fit:fill;transform:none;border:0}
.walk-detail-views{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.8rem}
.walk-detail-views button{font:inherit;font-size:.78rem;color:var(--color-text-muted);background:transparent;border:1px solid var(--color-border);border-radius:999px;padding:.45rem .8rem;cursor:pointer}
.walk-detail-views button[aria-pressed="true"]{color:var(--color-text);background:var(--color-bg-muted);border-color:currentColor}
.walk-detail-views button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.walk-detail-caption{margin:.65rem 0 0;font-size:.75rem;color:var(--color-text-muted)}

html.is-walking .walk-image-frame.has-detail{max-width:min(100%,calc(55vh * var(--detail-ratio,1.78)));margin-inline:auto}

/* Eda foundations: one concrete task, annotated wireframes and local interactions. */
.access-example{border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}
.access-window-bar{display:flex;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid var(--color-border);font-size:.7rem;color:var(--color-text-muted)}
.access-example-body{padding:clamp(1rem,3vw,2rem)}
.access-example h2{font-size:1.4rem;margin:0 0 1.3rem;line-height:1.3}.access-example h3{font-size:1rem;margin:1rem 0 .5rem}.access-example p{font-size:.88rem;line-height:1.6}
.access-example .access-eyebrow{font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted);margin:0 0 1rem}
.access-wire-screen{border:1px solid var(--color-text-muted);padding:1.2rem;background:var(--color-bg);border-radius:.35rem}
.access-wire-field{display:grid;gap:.5rem;margin-bottom:1rem}.access-wire-field span{font-size:.72rem;color:var(--color-text-muted)}.access-wire-field strong{font-size:.85rem;font-weight:400;border:1px dashed var(--color-text-muted);padding:.7rem}
.access-wire-action{display:inline-block;border:1px solid currentColor;padding:.7rem;font-size:.8rem}
.access-story{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:0;list-style:none;margin:1.5rem 0 0;counter-reset:context}
.access-story li{border-top:2px solid var(--color-text-muted);padding-top:.8rem;counter-increment:context}.access-story strong{display:block;font-size:.82rem}.access-story strong:before{content:counter(context) ' / ';color:var(--color-text-muted)}.access-story span{display:block;font-size:.8rem;line-height:1.6;margin-top:.5rem}
.access-surface-choices{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.3rem}
.access-example button{color:var(--color-text);background:var(--color-bg);border:1px solid var(--color-text-muted);border-radius:.35rem;padding:.65rem .85rem;font:inherit;font-size:.8rem;min-height:44px;cursor:pointer}
.access-example button[aria-pressed="true"]{background:var(--color-text);color:var(--color-bg)}
.access-example :is(button,input):focus-visible{outline:3px solid #5298ef;outline-offset:4px}
.access-example button:disabled{opacity:.3;cursor:default}
.access-surface-view{display:grid;grid-template-columns:1.15fr 1fr;gap:1.5rem;align-items:start}.access-surface-view aside{border-left:2px solid var(--color-text-muted);padding-left:1rem}
.access-example .access-reference{font-size:.76rem;line-height:1.6;color:var(--color-text-muted);border-top:1px solid var(--color-border);padding-top:.8rem;margin-top:1rem}
.access-source{display:inline-block;font-size:.75rem;margin-top:1rem;text-decoration:underline}
.access-delivery{display:flex;gap:.75rem}.access-delivery button{min-width:100px}
.access-priority{list-style:none;padding:0;display:grid;gap:.65rem}.access-priority li{display:flex;align-items:center;gap:.6rem;padding:.65rem;border:1px solid var(--color-border);border-radius:.4rem}.access-priority li span{flex:1;font-size:.9rem}.access-priority button{min-width:44px}
.access-demo-status{min-height:1.5em;font-size:.78rem!important;color:var(--color-text-muted)}
.access-demo-form label{display:block;font-size:.9rem;margin-bottom:.4rem}.access-demo-form label span{color:var(--color-text-muted);font-size:.75rem}.access-demo-form input{width:100%;box-sizing:border-box;min-height:48px;padding:.7rem;font:inherit;color:var(--color-text);background:var(--color-bg);border:1px solid var(--color-text-muted);border-radius:.3rem}.access-demo-form input[aria-invalid="true"]{border:2px solid #df746d}.access-field-error{color:#df746d;min-height:1.5em}
.access-state-path{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;border-top:1px solid var(--color-border);padding-top:1rem;margin-top:1rem;font-size:.75rem;color:var(--color-text-muted)}
.access-evidence{margin:0}.access-evidence>div{display:grid;grid-template-columns:1fr 2fr;gap:1rem;padding:1rem 0;border-top:1px solid var(--color-border)}.access-evidence dt{font-size:.8rem;font-weight:600}.access-evidence dd{font-size:.85rem;line-height:1.6;margin:0}
@media(max-width:650px){.access-surface-view,.access-story{grid-template-columns:1fr}.access-evidence>div{grid-template-columns:1fr;gap:.4rem}.access-surface-choices>span{display:none}.access-surface-choices button{flex:1}.access-window-bar{font-size:.6rem}}

/* SBI: connect field signals, uncertain forecasts, and the inventory decision. */
.sbi-explainer{border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}
.sbi-explainer-top{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.5rem;border-bottom:1px solid var(--color-border);font-family:"IBM Plex Mono",monospace;font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}
.sbi-steps{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--color-border)}
.sbi-steps button{text-align:left;padding:1.15rem;background:transparent;color:var(--color-text-muted);border:0;border-bottom:2px solid transparent;cursor:pointer;transition:background .2s,color .2s}
.sbi-steps button+button{border-left:1px solid var(--color-border)}.sbi-steps button span{display:block;font-family:"IBM Plex Mono",monospace;font-size:.65rem;margin-bottom:.45rem}.sbi-steps button strong{font-size:.9rem;font-weight:500}.sbi-steps button[aria-pressed="true"]{color:var(--color-text);border-bottom-color:var(--color-accent);background:var(--color-bg-muted)}
.sbi-explainer button:focus-visible,.sbi-explainer a:focus-visible{outline:2px solid var(--color-accent);outline-offset:-4px}
.sbi-scene{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);gap:2rem;padding:2rem;align-items:center;min-height:390px}.sbi-scene[hidden]{display:none}
.sbi-micro{font-family:"IBM Plex Mono",monospace;font-size:.65rem;color:var(--color-accent);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.8rem}
.sbi-scene-copy h3{font-family:Lora,serif;font-size:1.55rem;line-height:1.3;margin-bottom:1rem}.sbi-scene-copy>p:not(.sbi-micro){font-size:.92rem;line-height:1.7;color:var(--color-text-muted)}
.sbi-question{border-left:2px solid var(--color-accent);padding-left:1rem;margin-top:1.5rem}.sbi-question>span{font-size:.62rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}.sbi-question p{font-size:.9rem;line-height:1.6;margin-top:.5rem}
.sbi-dataviz{min-width:0}.sbi-dataviz svg{width:100%;height:auto;display:block;background:var(--color-bg);border:1px solid var(--color-border);border-radius:.5rem;color:var(--color-text-muted)}.sbi-dataviz text{fill:currentColor;font-family:"IBM Plex Mono",monospace;font-size:12px}.sbi-dataviz .sbi-axis-label{font-family:"Source Sans 3",sans-serif;font-size:13px}
.sbi-axis{fill:none;stroke:currentColor;stroke-opacity:.35;stroke-width:1}.sbi-line{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.sbi-line-accent{stroke:var(--color-accent)}.sbi-threshold{fill:none;stroke:currentColor;stroke-opacity:.5;stroke-dasharray:5 6}.sbi-signal-dot{fill:var(--color-accent)}.sbi-window{fill:var(--color-accent);fill-opacity:.12;stroke:var(--color-accent);stroke-dasharray:5 5}.sbi-dashed{stroke-dasharray:7 7}
.sbi-viz-caption{font-size:.7rem;line-height:1.6;color:var(--color-text-muted);margin-top:.75rem}
.sbi-planning-wire{border:1px solid var(--color-text-muted);border-radius:.5rem;padding:1.25rem;background:var(--color-bg)}.sbi-wire-head{display:flex;justify-content:space-between;gap:.7rem;color:var(--color-text-muted);font-size:.65rem}.sbi-planning-wire h4{font-size:1.1rem;margin:1.3rem 0}.sbi-wire-row{margin:1.25rem 0}.sbi-wire-row>span{font-size:.8rem}.sbi-wire-track{display:flex;position:relative;height:20px;margin:.5rem 0;background:var(--color-bg-muted);border:1px solid var(--color-border)}.sbi-wire-track i{display:block;height:100%}.sbi-bar-demand{width:80%;background:var(--color-accent)}.sbi-bar-stock{width:49%;background:var(--color-text-muted)}.sbi-wire-track b{position:absolute;left:49%;width:31%;height:100%;border:1px dashed var(--color-accent);font-weight:400;font-size:.6rem;display:grid;place-items:center;color:var(--color-text)}.sbi-wire-row small{font-size:.65rem;color:var(--color-text-muted)}
.sbi-purchase-context{display:flex;flex-wrap:wrap;gap:.5rem;border-top:1px solid var(--color-border);padding-top:1rem;margin-top:1rem}.sbi-purchase-context>span{width:100%;font-size:.65rem;color:var(--color-text-muted)}.sbi-purchase-context strong{font-size:.65rem;font-weight:400;border:1px dashed var(--color-text-muted);padding:.4rem}.sbi-evidence-link{display:inline-block;font-size:.7rem;text-decoration:underline;margin-top:1rem}
.sbi-explainer-bottom{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-top:1px solid var(--color-border)}.sbi-explainer-bottom>span{font-family:"IBM Plex Mono",monospace;font-size:.7rem;white-space:nowrap;color:var(--color-accent)}.sbi-explainer-bottom p{font-size:.68rem;line-height:1.6;color:var(--color-text-muted);max-width:32rem}.sbi-explainer-bottom button{background:transparent;color:var(--color-text);border:1px solid var(--color-border);padding:.65rem .8rem;border-radius:.3rem;font-size:.75rem;cursor:pointer;min-height:44px}
@media(max-width:800px){.sbi-scene{grid-template-columns:1fr;padding:1.25rem;gap:1.5rem}.sbi-steps{grid-template-columns:repeat(2,1fr)}.sbi-steps button:nth-child(3){border-left:0;border-top:1px solid var(--color-border)}.sbi-steps button:nth-child(4){border-top:1px solid var(--color-border)}.sbi-explainer-bottom{flex-wrap:wrap}.sbi-explainer-bottom p{flex:1;min-width:180px}.sbi-explainer-bottom button{width:100%}.sbi-explainer-top{padding:1rem}}

/* SBI chart rationale: connect the original visual choices to the planning question. */
.sbi-chart-reasoning{border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}
.sbi-chart-intro{padding:2rem;max-width:54rem}.sbi-chart-intro h3{font-size:1.8rem;line-height:1.3;margin:.7rem 0 1rem}.sbi-chart-intro>p:last-child{font-size:.95rem;line-height:1.7;color:var(--color-text-muted)}
.sbi-chart-closeup{margin:0 2rem}.sbi-chart-crop{position:relative;aspect-ratio:805/201;overflow:hidden;border:1px solid var(--color-border);border-radius:.5rem;background:#393c3e}.sbi-chart-crop img{position:absolute;max-width:none;width:238.51%;height:275.13%;left:-3.23%;top:-30.35%;cursor:zoom-in}
.sbi-chart-closeup figcaption{display:flex;flex-wrap:wrap;gap:1rem;font-size:.7rem;color:var(--color-text-muted);padding:.8rem 0;line-height:1.5}.sbi-chart-closeup figcaption span{display:flex;align-items:center;gap:.4rem}.sbi-chart-closeup figcaption span:last-child{margin-left:auto}.sbi-chart-closeup i{display:inline-block;width:25px;border-top:2px solid #7179e6}.sbi-chart-closeup .sbi-key-forecast{border-top:2px dashed var(--color-text-muted)}
.sbi-chart-logic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;padding:1.5rem 2rem 2rem}.sbi-chart-logic>div{border-top:1px solid var(--color-border);padding-top:1.2rem}.sbi-chart-logic h4{font-family:Lora,serif;font-size:1.1rem;line-height:1.45;margin:.7rem 0}.sbi-chart-logic p{font-size:.88rem;line-height:1.7;color:var(--color-text-muted)}
.sbi-chart-takeaway{border-top:1px solid var(--color-border);padding:1.4rem 2rem;font-size:.95rem;line-height:1.7}.sbi-chart-takeaway>span{display:block;font-family:"IBM Plex Mono",monospace;font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-accent);margin-bottom:.4rem}.sbi-chart-takeaway strong{font-weight:500}
@media(max-width:700px){.sbi-chart-intro{padding:1.25rem}.sbi-chart-intro h3{font-size:1.45rem}.sbi-chart-closeup{margin-inline:1rem}.sbi-chart-logic{grid-template-columns:1fr;padding:1.25rem}.sbi-chart-takeaway{padding:1.25rem}.sbi-chart-closeup figcaption span:last-child{margin-left:0}}

/* SBI geographic context: an illustrative network alongside original evidence. */
.sbi-geo{border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}
.sbi-geo-controls{display:flex;gap:.5rem;flex-wrap:wrap;padding:0 2rem 1.5rem}.sbi-geo-controls button{border:1px solid var(--color-border);border-radius:2rem;padding:.65rem 1rem;font-family:"IBM Plex Mono",monospace;font-size:.7rem;color:var(--color-text-muted);background:transparent}.sbi-geo-controls button[aria-pressed=true]{color:var(--color-accent);border-color:var(--color-accent);background:color-mix(in srgb,var(--color-accent) 8%,transparent)}.sbi-geo-controls button:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}
.sbi-geo-view{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);border-block:1px solid var(--color-border)}.sbi-geo-map{min-width:0;margin:0;padding:1rem;background:color-mix(in srgb,var(--color-text) 2%,transparent)}.sbi-geo-map svg{width:100%;height:auto;color:var(--color-text-muted)}.sbi-geo-map text{fill:var(--color-text-muted);font-family:"IBM Plex Mono",monospace;font-size:13px}.sbi-geo-map .sbi-geo-region{font-size:10px;letter-spacing:1px}.sbi-geo-map .sbi-geo-label{font-size:10px}.sbi-geo-water{fill:#718ca8;opacity:.09}.sbi-geo-coast{fill:none;stroke:#718ca8;stroke-width:2;opacity:.5}.sbi-geo-routes{stroke:var(--color-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.sbi-geo-map [data-geo-highlight]{fill:var(--color-bg-elevated);stroke:var(--color-accent);stroke-width:2.5;transition:opacity .2s}.sbi-geo-map [data-geo-highlight] text{stroke:none}.sbi-geo-map .sbi-geo-hub{fill:var(--color-bg-elevated);stroke:var(--color-text-muted);stroke-width:2}.sbi-geo-hub text{stroke:none}.sbi-geo-map [data-geo-highlight].is-dim{opacity:.25}.sbi-geo-map [data-geo-highlight].is-selected{fill:color-mix(in srgb,var(--color-accent) 22%,var(--color-bg-elevated))}.sbi-geo-map figcaption{display:flex;flex-wrap:wrap;gap:1rem;padding:.8rem;font-size:.65rem;color:var(--color-text-muted)}.sbi-geo-map figcaption span{display:flex;align-items:center;gap:.4rem}.sbi-geo-map i{width:22px;border-top:2px solid var(--color-accent)}.sbi-geo-map i.sbi-geo-dashed{border-top-style:dashed}.sbi-geo-detail{padding:1.5rem;border-left:1px solid var(--color-border)}.sbi-geo-detail h4{font-size:1.35rem;line-height:1.4;margin:.8rem 0}.sbi-geo-detail>p:not(.sbi-micro){font-size:.88rem;line-height:1.7;color:var(--color-text-muted)}.sbi-geo-question{border-left:2px solid var(--color-accent);padding-left:1rem;margin:1.5rem 0}.sbi-geo-question>span{font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-accent)}.sbi-geo-question p{font-size:.9rem;line-height:1.6;margin-top:.5rem}.sbi-geo-detail p.sbi-geo-note{font-size:.7rem;line-height:1.6}
@media(max-width:800px){.sbi-geo-view{grid-template-columns:1fr}.sbi-geo-detail{border-left:0;border-top:1px solid var(--color-border)}.sbi-geo-controls{padding-inline:1.25rem}.sbi-geo-map{padding:.5rem}}
@media(prefers-reduced-motion:reduce){.sbi-geo-map [data-geo-highlight]{transition:none}}

/* Original dashboard evidence, explored at a readable scale. */
.sbi-dashboard{border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}.sbi-dashboard-stage{padding:1.5rem 2rem;border-block:1px solid var(--color-border);background:#202425}.sbi-dashboard-stage figure{margin:0}.sbi-dashboard-crop{position:relative;overflow:hidden;aspect-ratio:1076/267;border:1px solid #555;border-radius:.5rem}.sbi-dashboard-crop img{position:absolute;max-width:none;width:133.74%;height:auto;left:-6.32%;top:-89.14%}.sbi-dashboard-crop[data-dashboard-crop=kpi]{aspect-ratio:1076/145}.sbi-dashboard-crop[data-dashboard-crop=kpi] img{top:-55.17%}.sbi-dashboard-crop[data-dashboard-crop=operations] img{top:-201.87%}.sbi-dashboard-crop[data-dashboard-crop=market]{aspect-ratio:277/545;max-width:22rem;margin:auto}.sbi-dashboard-crop[data-dashboard-crop=market] img{width:519.49%;left:-419.49%;top:-11.19%}.sbi-dashboard-stage figcaption{font-size:.7rem;line-height:1.6;color:#b7bec4;margin-top:.8rem;text-align:center}.sbi-dashboard-explanation{padding:1.5rem 2rem;max-width:58rem}.sbi-dashboard-explanation h4{font-size:1.5rem;line-height:1.4;margin:.7rem 0}.sbi-dashboard-explanation>p:not(.sbi-micro){color:var(--color-text-muted);font-size:.95rem;line-height:1.8}.sbi-dashboard-intent{border-left:2px solid var(--color-accent);padding-left:1rem;margin-top:1.2rem}.sbi-dashboard-intent>span:first-child{display:block;text-transform:uppercase;font-family:"IBM Plex Mono",monospace;font-size:.65rem;color:var(--color-accent)}
@media(max-width:700px){.sbi-dashboard-stage{padding:1rem .7rem}.sbi-dashboard-explanation{padding:1.25rem}}

/* Flotrak: connect a photography lesson to a visible product choice. */
.flotrak-learning{margin-top:2.5rem;border:1px solid var(--color-border);border-radius:1rem;overflow:hidden;background:var(--color-bg-elevated)}.flotrak-learning-intro{padding:2rem 2rem 1.5rem}.flotrak-eyebrow{font-family:"IBM Plex Mono",monospace;font-size:.65rem;letter-spacing:.07em;text-transform:uppercase;color:var(--color-accent)}.flotrak-learning-intro h3{font-size:1.9rem;line-height:1.3;margin:.8rem 0}.flotrak-learning-intro>p:last-child{font-size:.95rem;line-height:1.8;color:var(--color-text-muted)}.flotrak-learning-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--color-border)}.flotrak-learning-nav button{position:relative;text-align:left;padding:1.1rem 1.5rem;background:transparent;border:0;color:var(--color-text-muted);border-right:1px solid var(--color-border)}.flotrak-learning-nav button:last-child{border-right:0}.flotrak-learning-nav button[aria-pressed=true]{background:color-mix(in srgb,var(--color-accent) 8%,transparent);color:var(--color-text)}.flotrak-learning-nav button[aria-pressed=true]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--color-accent)}.flotrak-learning-nav button:focus-visible{outline:2px solid var(--color-accent);outline-offset:-4px}.flotrak-learning-nav span{font-family:"IBM Plex Mono",monospace;font-size:.65rem;color:var(--color-accent);margin-right:.7rem}.flotrak-learning-nav strong{font-family:Lora,serif;font-size:1.25rem;font-weight:400}.flotrak-learning-nav small{display:block;font-size:.75rem;margin:.45rem 0 0 1.7rem}.flotrak-learning-body{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:2.5rem;padding:2rem}.flotrak-learning-copy h4{font-size:1.8rem;line-height:1.35;margin:.8rem 0 1rem}.flotrak-learning-copy>p:not(.flotrak-eyebrow){font-size:.95rem;line-height:1.8;color:var(--color-text-muted)}.flotrak-learning-prompt{margin:1.5rem 0;border-left:2px solid var(--color-accent);padding-left:1rem}.flotrak-learning-prompt>span,.flotrak-learning-principle>span:first-child{display:block;font-family:"IBM Plex Mono",monospace;font-size:.6rem;text-transform:uppercase;letter-spacing:.04em;color:var(--color-accent)}.flotrak-learning-prompt p{font-family:Lora,serif;font-size:1.2rem;line-height:1.5;margin-top:.6rem}.flotrak-learning-principle>span:last-child{display:block;margin-top:.5rem}.flotrak-learning-evidence{min-width:0;margin:0}.flotrak-learning-frame{padding:.65rem;background:#080808;border:1px solid #45443d;border-radius:.8rem;box-shadow:0 18px 45px #0003}.flotrak-learning-chrome{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .5rem 1rem;color:#aaa99b;font-family:"IBM Plex Mono",monospace;font-size:.5rem;letter-spacing:.08em}.flotrak-learning-chrome i{width:5px;height:5px;background:#e4d22f;border-radius:100%}.flotrak-learning-crop{position:relative;aspect-ratio:780/650;overflow:hidden;background:#000}.flotrak-learning-crop img{position:absolute;width:100%;height:auto;top:-21.54%;max-width:none}.flotrak-learning-crop[data-learning-crop=adjust] img{top:-138.46%}.flotrak-learning-crop[data-learning-crop=observe] img{top:-121.54%}.flotrak-learning-evidence figcaption{font-size:.65rem;line-height:1.7;margin-top:1rem;color:var(--color-text-muted)}.flotrak-learning-foot{padding:1.25rem 2rem;border-top:1px solid var(--color-border);display:flex;align-items:center;gap:2rem}.flotrak-learning-foot>span{flex-shrink:0;font-family:"IBM Plex Mono",monospace;font-size:.65rem;letter-spacing:.05em;color:var(--color-accent)}.flotrak-learning-foot p{font-size:.7rem;line-height:1.7;color:var(--color-text-muted)}
@media(max-width:750px){.flotrak-learning-body{grid-template-columns:1fr;gap:1.5rem;padding:1.25rem}.flotrak-learning-intro{padding:1.25rem}.flotrak-learning-intro h3{font-size:1.5rem}.flotrak-learning-nav button{padding:1rem .65rem}.flotrak-learning-nav small{margin-left:0;font-size:.65rem}.flotrak-learning-nav strong{font-size:1rem}.flotrak-learning-nav span{margin-right:.3rem}.flotrak-learning-foot{flex-direction:column;align-items:flex-start;gap:.75rem;padding:1.25rem}.flotrak-learning-copy h4{font-size:1.5rem}}

/* Photography leads; technical guidance follows the photographer's intent. */
.flotrak-photo-story{margin-top:2.5rem;border-block:1px solid var(--color-border);padding-top:2rem}.flotrak-photo-intro{max-width:46rem;margin-bottom:2rem}.flotrak-photo-intro h3{font-size:2.3rem;line-height:1.25;margin:.7rem 0 1rem}.flotrak-photo-intro>p:last-child{color:var(--color-text-muted);font-size:1rem;line-height:1.8}.flotrak-photo-figure{margin:0}.flotrak-photo-scene{position:relative;overflow:hidden;border-radius:.6rem;background:#141b25}.flotrak-photo-scene>img{display:block;width:100%;height:auto}.flotrak-photo-figure figcaption{font-family:"IBM Plex Mono",monospace;font-size:.6rem;letter-spacing:.03em;color:var(--color-text-muted);margin:.8rem 0 1.5rem}.flotrak-photo-marker{position:absolute;left:58%;top:23%;width:2.5rem;height:2.5rem;transform:translate(-50%,-50%);border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 6px #0002;display:grid;place-items:center;transition:left .45s ease,top .45s ease}.flotrak-photo-marker i{width:4px;height:4px;border-radius:50%;background:white}.flotrak-photo-marker>span{position:absolute;top:calc(100% + .65rem);left:50%;transform:translateX(-50%);white-space:nowrap;padding:.3rem .5rem;border-radius:.2rem;background:#101517c9;color:#fff;font-family:"IBM Plex Mono",monospace;font-size:.55rem;letter-spacing:.06em}.flotrak-photo-nav{display:flex;border-bottom:1px solid var(--color-border);gap:2rem}.flotrak-photo-nav button{position:relative;padding:.6rem 0 1rem;background:transparent;color:var(--color-text-muted);font-family:Lora,serif;font-size:1.1rem;border:0}.flotrak-photo-nav button span{font-family:"IBM Plex Mono",monospace;font-size:.6rem;margin-right:.55rem;color:var(--color-accent)}.flotrak-photo-nav button[aria-pressed=true]{color:var(--color-text)}.flotrak-photo-nav button[aria-pressed=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--color-accent)}.flotrak-photo-nav button:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}.flotrak-photo-reading{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;padding:2rem 0}.flotrak-photo-reading h4{font-size:1.8rem;line-height:1.4;margin:.7rem 0 1rem}.flotrak-photo-reading h5{font-size:1.3rem;line-height:1.5;margin:.7rem 0 1rem}.flotrak-photo-reading p:not(.flotrak-eyebrow){color:var(--color-text-muted);font-size:.95rem;line-height:1.8}.flotrak-photo-bridge{border-left:1px solid var(--color-border);padding-left:2rem}.flotrak-photo-bridge a{display:inline-block;margin-top:1.2rem;font-size:.8rem}.flotrak-photo-note{font-size:.7rem;line-height:1.7;color:var(--color-text-muted);max-width:50rem;padding-bottom:1.5rem}
@media(max-width:700px){.flotrak-photo-intro h3{font-size:1.8rem}.flotrak-photo-nav{gap:1rem;justify-content:space-between}.flotrak-photo-nav button{font-size:.9rem}.flotrak-photo-nav button span{margin-right:.25rem}.flotrak-photo-reading{grid-template-columns:1fr;gap:1.5rem}.flotrak-photo-reading h4{font-size:1.5rem}.flotrak-photo-bridge{border-left:0;border-top:1px solid var(--color-border);padding:1.5rem 0 0}.flotrak-photo-marker{width:1.6rem;height:1.6rem}.flotrak-photo-marker>span{font-size:.45rem}}
@media(prefers-reduced-motion:reduce){.flotrak-photo-marker{transition:none}}

.guide-context-switch{display:block;font-size:.75rem;margin-top:.5rem;text-align:left;background:none;border:0;padding:0}.guide-context-switch[hidden]{display:none}

/* Optional guide follow-up: email is separate from explicit question sharing. */
.guide-support{border-top:1px solid var(--color-border);padding-top:.9rem;margin-top:.9rem;font-size:.8rem;line-height:1.65;color:var(--color-text-muted)}.guide-support>p{margin:0 0 .5rem}.guide-support>a{display:inline-block;margin-bottom:.7rem}.guide-support details{margin-top:.5rem}.guide-support summary{cursor:pointer;font-size:.75rem;color:var(--color-text-muted)}.guide-support summary:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}.guide-review-label{display:block;font-size:.7rem;margin-top:1rem}.guide-review-label textarea{display:block;width:100%;margin-top:.45rem;padding:.65rem .75rem;border:1px solid var(--color-border);border-radius:.5rem;background:var(--color-bg);color:var(--color-text);font:inherit;font-size:.85rem;line-height:1.6;resize:vertical}.guide-review-label textarea:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.guide-review-notice{font-size:.7rem;margin:.7rem 0;line-height:1.65}.guide-support details>a{font-size:.7rem}.guide-review-send{display:block;padding:.45rem .85rem;border:1px solid var(--color-accent);border-radius:2rem;background:transparent;color:var(--color-accent);font-size:.75rem;margin-top:1rem}.guide-review-send:disabled{opacity:.55}.guide-review-status{font-size:.75rem;margin-top:.65rem;line-height:1.65}

.about-implementation > p { margin-top: 1.5rem; max-width: 46rem; font-size: 1.0625rem; line-height: 1.8; color: var(--color-text-muted); }

/* Text below section rules needs a deliberate gap, including policy pages. */
.case-prose > p { margin-top: 1.1rem; line-height: 1.8; }
.about-section-title + p { margin-top: 1.5rem; }
.about-section.case-prose > p { font-size: 1.0625rem; color: var(--color-text-muted); max-width: 46rem; }

/* Phone guides occupy the viewport rather than shifting the page underneath. */
@media (max-width: 767px) {
  #app-shell { overflow: clip; }
  #agent-panel, #eda-panel {
    position: fixed; inset: 0; z-index: 60; width: 100%; max-width: 100%;
    height: 100dvh; max-height: 100%; border: 0; border-radius: 0;
    transform: translateX(100%); visibility: hidden;
    transition: transform 300ms ease-in-out, visibility 0s linear 300ms;
  }
  html.is-agent-open #agent-panel, html.is-eda-open #eda-panel {
    transform: translateX(0); visibility: visible; transition-delay: 0s;
  }
  html.is-agent-open #site-column, html.is-eda-open #site-column {
    width: 100%; max-width: 100%; flex: 1 1 0%;
  }
  #agent-close, #eda-close { min-width: 44px; min-height: 44px; }
  .chat-input { font-size: 16px; min-width: 0; }
  #chat-form { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  #eda-panel .walk-foot { padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
  .walk-split { position: relative; }
  html.is-walking .walk-main { flex: 1 1 auto; }
  html.is-walking .walk-stage .walk-rail {
    position: absolute; inset: 0; width: 100%; max-width: 100%; min-height: 0;
    z-index: 55; border-radius: 0; border: 0;
  }
  html.is-walking .walk-foot {
    display: grid; grid-template-columns: 1fr auto; row-gap: .4rem;
    padding: .65rem .75rem max(.65rem, env(safe-area-inset-bottom));
  }
  html.is-walking .walk-guide-toggle { grid-column: 1; grid-row: 1; justify-self: start; min-height: 40px; }
  html.is-walking .walk-nav { grid-column: 2; grid-row: 1; }
  html.is-walking .walk-dots { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
  html.is-walking .walk-nav button { min-height: 40px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #agent-panel, #eda-panel { transition: none; }
}

/* Quiet frosted site chrome, with content scrolling beneath its edges. */
#site-column.has-glass-chrome { position: relative; }
.has-glass-chrome > header {
  position: absolute !important; inset: 0 0 auto; z-index: 40;
  background-color: color-mix(in srgb, var(--color-bg) 76%, transparent) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%);
  border-bottom-color: color-mix(in srgb, var(--color-text) 12%, transparent) !important;
  box-shadow: 0 1px 0 color-mix(in srgb, white 3%, transparent);
}
.has-glass-chrome > footer {
  position: absolute; inset: auto 0 0; z-index: 40;
  background-color: color-mix(in srgb, var(--color-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.has-glass-chrome > main {
  padding-top: var(--site-header-height, 72px);
  padding-bottom: var(--site-footer-height, 0px);
  scroll-padding-top: calc(var(--site-header-height, 72px) + 16px);
  scroll-padding-bottom: calc(var(--site-footer-height, 0px) + 16px);
}
.walk-header, .walk-foot {
  background-color: color-mix(in srgb, var(--color-bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .has-glass-chrome > header, .has-glass-chrome > footer, .walk-header, .walk-foot {
    background-color: var(--color-bg) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@media (max-width:767px) and (max-height:600px) {
  #agent-panel .agent-inquiries, #eda-panel .walk-asks, .walk-stage .walk-asks { display: none; }
}
.has-glass-chrome > footer { max-width: none; padding-inline: max(1.25rem, calc((100% - 72rem) / 2 + 2rem)); }
