@charset "utf-8";
/* ==========================================================================
   Eric Pierce — Portfolio
   Design system: dispatch-ticket aesthetic
   Breakpoints follow Material Design 3 window size classes:
     Compact   < 600px   (phone)
     Medium    600–839px (tablet portrait / large phone)
     Expanded  840–1199px (tablet landscape / small desktop)
     Large     1200–1599px (desktop)
     X-Large   1600px+   (large desktop)
   ========================================================================== */

:root {
  /* color — dark navy, dispatch-ticket-at-night */
  --paper: #0B1220;
  --paper-raised: #131C30;
  --ink: #F3F5FA;
  --ink-soft: #A7B0C4;
  --ink-faint: #5C6580;
  --route-blue: #6EA8FF;
  --route-blue-deep: #3D6FD1;
  --amber: #F0995B;
  --amber-soft: rgba(240, 153, 80, 0.16);
  --amber-ink: #F5B47E;
  --hairline: #263151;
  --shipped-green: #52C08A;

  /* type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* fluid type scale */
  --step-mono: clamp(0.7rem, 0.66rem + 0.2vw, 0.78rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --step-h3: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --step-h2: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-h1: clamp(2.6rem, 1.9rem + 3.2vw, 5.2rem);

  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 9rem;

  --radius: 3px;
  --nav-height: 72px;
  --content-max: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 600px) { .container { padding-inline: var(--space-5); } }
@media (min-width: 1200px) { .container { padding-inline: var(--space-6); } }

section { padding-block: var(--space-7); }
@media (max-width: 599px) { section { padding-block: var(--space-6); } }

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

/* ---------- eyebrow / mono labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--route-blue);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- headings ---------- */
h1, .h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-h1); line-height: 0.98; letter-spacing: -0.01em; }
h2, .h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-h2); line-height: 1.04; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--step-h3); line-height: 1.15; }
.lead { font-size: var(--step-lead); color: var(--ink-soft); }

/* fourth-level heading inside a long section */
.sub-head {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--route-blue);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--hairline);
  max-width: 68ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85em 1.5em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  min-height: 44px;
}
.btn-primary { background: var(--route-blue); border-color: var(--route-blue); color: var(--paper); }
.btn-primary:hover { background: var(--route-blue-deep); border-color: var(--route-blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- tag pills ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--paper-raised);
}
.tag-amber { border-color: var(--amber); color: var(--amber-ink); background: var(--amber-soft); }

/* breadcrumb linking a case-study child page back to its parent project */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.breadcrumb a { color: var(--route-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--ink-faint); }

/* compact selected-work grid used on parent (Operix / Sallie Mae) pages */
.subwork-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
@media (min-width: 840px) {
  .subwork-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}
.nav-logo span { color: var(--ink-soft); font-weight: 500; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a { text-decoration: none; padding-block: var(--space-2); border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: var(--route-blue); color: var(--route-blue); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 150ms ease, opacity 150ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  padding-block: var(--space-3) var(--space-4);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-mobile-panel a {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.nav-mobile-panel.is-open { display: flex; }

/* Medium (600px) and up: full horizontal nav, no hamburger */
@media (min-width: 600px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-mobile-panel { display: none !important; }
}

/* ==========================================================================
   Hero — dispatch ticket
   ========================================================================== */
.hero {
  padding-top: var(--space-6);
}
.ticket {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--paper-raised);
}
@media (min-width: 600px) { .ticket { padding: var(--space-5); } }
@media (min-width: 1200px) { .ticket { padding: var(--space-6); } }

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.status-pill {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shipped-green);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.status-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shipped-green);
}

.hero-headline { max-width: 16ch; }
.hero-headline .accent { color: var(--route-blue); }
.hero-sub { max-width: 52ch; margin-top: var(--space-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.route-line-wrap { margin-top: var(--space-5); }
.route-line-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }

/* The route draws itself, an arrow rides the tip, and the destination pings on arrival.
   Dash values are in pathLength units (100), so edits to the path can't desync them. */
.route-line-path {
  fill: none;
  stroke: var(--route-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-route 1.6s ease-out 0.3s forwards;
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }

.route-dot-start {
  fill: var(--amber);
  opacity: 0;
  animation: dot-in 0.3s ease-out 0.15s forwards;
}
.route-dot-end {
  fill: var(--amber);
  opacity: 0;
  animation: dot-in 0.3s ease-out 1.9s forwards;
}
@keyframes dot-in { to { opacity: 1; } }

.route-arrow {
  fill: var(--route-blue);
  opacity: 0;
  animation: arrow-in 0.2s ease-out 0.3s forwards;
}
@keyframes arrow-in { to { opacity: 1; } }

/* expanding ring under the destination dot */
.route-ping {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  opacity: 0;
  animation: route-ping 2s ease-out 2.1s 3;
}
@keyframes route-ping {
  0%   { r: 6;  opacity: 0.6; }
  70%  { r: 20; opacity: 0; }
  100% { r: 20; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .route-line-path { animation: none; stroke-dashoffset: 0; }
  .route-dot-start, .route-dot-end { animation: none; opacity: 1; }
  .route-arrow { animation: none; opacity: 1; }
  .route-ping { animation: none; opacity: 0; }
}

/* ==========================================================================
   Selected Work — summary cards
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
@media (min-width: 840px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

.work-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--paper-raised);
  transition: border-color 150ms ease, transform 150ms ease;
}
.work-card:hover { border-color: var(--route-blue); transform: translateY(-2px); }
.work-card-thumb { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-4); aspect-ratio: 16/10; background: var(--paper); }
.work-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
.work-card h3 { margin-bottom: var(--space-2); }
.work-card-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

.placeholder-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: var(--step-mono);
  color: var(--ink-faint); text-align: center; padding: var(--space-3);
  background:
    repeating-linear-gradient(135deg, var(--hairline) 0, var(--hairline) 1px, transparent 1px, transparent 12px);
}

/* ==========================================================================
   Process — Open / In Progress / Shipped
   ========================================================================== */
.process-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
  position: relative;
}
@media (min-width: 840px) {
  .process-strip { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .process-strip::before {
    content: "";
    position: absolute;
    top: 11px; left: calc(100%/6); right: calc(100%/6);
    height: 1px;
    background: repeating-linear-gradient(to right, var(--hairline) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
}
.process-step { position: relative; z-index: 1; }
.process-step-marker {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-mono); font-size: var(--step-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: var(--space-3);
}
.process-step-marker::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--route-blue); flex-shrink: 0;
}
.process-step[data-stage="shipped"] .process-step-marker::before { background: var(--shipped-green); border-color: var(--shipped-green); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-5);
  align-items: start;
}
@media (min-width: 840px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-6); }
}
.about-photo { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; }
.about-copy p { margin-bottom: var(--space-3); }
.about-facts { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.about-facts div { font-family: var(--font-mono); font-size: var(--step-mono); color: var(--ink-soft); }
.about-facts strong { display: block; color: var(--ink); font-family: var(--font-body); font-size: 1rem; }

/* ==========================================================================
   Resume / Contact / Footer
   ========================================================================== */
.resume-block, .contact-block {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-4);
}
@media (min-width: 600px) {
  .resume-block, .contact-block { flex-direction: row; align-items: center; justify-content: space-between; }
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between;
}
.footer-stamp { color: var(--shipped-green); }

/* ==========================================================================
   Case study page
   ========================================================================== */
.cs-hero { padding-top: var(--space-6); padding-bottom: 0; }
.cs-meta-row {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  font-family: var(--font-mono); font-size: var(--step-mono); color: var(--ink-soft);
  margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--hairline);
}
.cs-meta-row div strong { display: block; color: var(--ink); font-family: var(--font-body); font-size: 1rem; }

/* .cs-section carries no divider — sections are separated by their own
   generous padding. A full-bleed hairline between every one of them read as
   leftover chrome rather than structure. */
.cs-section-head { max-width: 68ch; margin-bottom: var(--space-5); }

/* collage: tilted on Medium+, stacked swipe on Compact */
.collage {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2);
  margin: 0 calc(-1 * var(--space-4));
  padding-inline: var(--space-4);
}
.collage::-webkit-scrollbar { height: 6px; }
.collage-item {
  flex: 0 0 88%;
  scroll-snap-align: start;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.collage-item img { width: 100%; }
.collage-item figcaption {
  font-family: var(--font-mono); font-size: var(--step-mono); color: var(--ink-soft);
  padding: var(--space-2) var(--space-3); border-top: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    overflow: visible;
    margin: 0; padding-inline: 0;
    gap: var(--space-4);
    padding-block: var(--space-4) var(--space-6);
  }
  .collage-item { flex: none; }
  .collage-item:nth-child(1) { grid-column: 1 / 8; transform: rotate(-1.5deg); z-index: 2; }
  .collage-item:nth-child(2) { grid-column: 7 / 13; grid-row: 1; transform: rotate(1deg) translateY(28px); z-index: 1; }
  .collage-item:nth-child(3) { grid-column: 2 / 9; transform: rotate(1deg); margin-top: var(--space-4); }
  .collage-item:nth-child(4) { grid-column: 8 / 13; transform: rotate(-1deg) translateY(20px); }
  .collage-item:nth-child(5) { grid-column: 3 / 11; transform: rotate(-0.75deg); margin-top: var(--space-4); }
}

/* numbered proposal list — the five recommendations are a real enumerated set */
.proposal-list { display: grid; gap: var(--space-4); margin-top: var(--space-4); counter-reset: proposal; }
.proposal-list li { display: flex; gap: var(--space-3); align-items: baseline; }
.proposal-num {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  color: var(--route-blue);
  flex: 0 0 2.25em;
  letter-spacing: 0.04em;
}
.proposal-list strong { display: block; margin-bottom: 0.25rem; }

/* side-by-side demo frames for the panel system */
.panel-demo-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.demo-frame { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-raised); }
.demo-frame video { width: 100%; display: block; }

/* From Expanded up, the two demos sit side by side at a matched height —
   each video's width follows from its own aspect ratio. */
@media (min-width: 840px) {
  .panel-demo-grid {
    --demo-h: clamp(300px, 40vw, 540px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    align-items: flex-start;
  }
  .panel-demo-grid .demo-frame { flex: 0 1 auto; min-width: 0; }
  .panel-demo-grid .demo-frame video {
    height: var(--demo-h);
    width: auto;
    max-width: 100%;
  }
}
.demo-frame figcaption {
  font-family: var(--font-mono); font-size: var(--step-mono); color: var(--ink-soft);
  padding: 0.75rem 1rem; border-top: 1px solid var(--hairline);
}

/* full-container-width figure, for artifacts too dense for the text column */
.figure-wide {
  margin-top: var(--space-4);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.figure-wide img { width: 100%; display: block; }
.figure-wide figcaption {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  color: var(--ink-soft);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--hairline);
}
/* Prose beside its figure, from Expanded up. Below that they stack,
   because a tall diagram in a half-width column stops being readable. */
.split-figure { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.split-figure > .figure-wide { margin-top: 0; }
@media (min-width: 840px) {
  .split-figure {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-5);
    align-items: start;
  }
  .split-figure > p { margin-top: 0; }
}

.figure-zoom { position: relative; display: block; cursor: zoom-in; }
.figure-zoom-hint {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--route-blue);
  padding: 0.45em 0.8em;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}
.figure-zoom:hover .figure-zoom-hint,
.figure-zoom:focus-visible .figure-zoom-hint { opacity: 1; transform: translateY(0); }
/* No hover on touch, and at phone width the artwork is only a thumbnail —
   in both cases the affordance has to stay visible to be discoverable. */
@media (hover: none), (max-width: 599px) {
  .figure-zoom-hint { opacity: 1; transform: none; }
}

/* Evidence gallery — annotated screenshots whose aspect ratios vary a lot.
   Each item spans the number of columns that keeps its row roughly level,
   so nothing gets squashed and no ragged gaps open up. */
.evidence-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.evidence-item {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.evidence-item img { width: 100%; display: block; }
.evidence-item figcaption {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  color: var(--ink-soft);
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .evidence-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-4);
    align-items: start;
  }
  .evidence-item[data-span="3"]  { grid-column: span 3; }
  .evidence-item[data-span="4"]  { grid-column: span 4; }
  .evidence-item[data-span="5"]  { grid-column: span 5; }
  .evidence-item[data-span="6"]  { grid-column: span 6; }
  .evidence-item[data-span="7"]  { grid-column: span 7; }
  .evidence-item[data-span="8"]  { grid-column: span 8; }
  .evidence-item[data-span="9"]  { grid-column: span 9; }
  .evidence-item[data-span="12"] { grid-column: span 12; }
}

/* Lean UX Canvas cells, transcribed — the canvas is a grid of prompts and
   answers, so it stays a grid rather than becoming a wall of paragraphs. */
.canvas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
@media (min-width: 600px) { .canvas-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
@media (min-width: 1200px) { .canvas-grid { grid-template-columns: repeat(3, 1fr); } }
.canvas-cell {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper-raised);
  padding: var(--space-4);
}
.canvas-cell h4 {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--route-blue);
  margin-bottom: var(--space-2);
}
.canvas-cell p { font-size: 1rem; }
.canvas-cell[data-fill="wide"] { grid-column: 1 / -1; }

/* Verbatim research quotes — the evidence the design arguments rest on. */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 840px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
.pull-quote {
  margin: 0;
  border-left: 2px solid var(--amber);
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
}
.pull-quote p { font-size: 1.05rem; color: var(--ink); }
.pull-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  font-style: normal;
  color: var(--ink-soft);
}

/* Boxed detail — a test plan, a spec, anything the reader may want to skim
   as a unit rather than read as prose. */
.callout {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--route-blue);
  border-radius: var(--radius);
  background: var(--paper-raised);
  padding: var(--space-4);
  margin-top: var(--space-4);
}
.callout-label {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--route-blue);
  display: block;
  margin-bottom: var(--space-3);
}
.callout dl { margin: 0; display: grid; gap: var(--space-3); }
.callout dt {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.callout dd { margin: 0; font-size: 1rem; }

.impact-list { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.impact-list li { display: flex; gap: var(--space-3); align-items: baseline; }
.impact-list li::before { content: "→"; color: var(--route-blue); font-family: var(--font-mono); flex-shrink: 0; }

.cs-nav-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid var(--hairline);
}

/* placeholder note box for Operix page */
.placeholder-note {
  border: 1px dashed var(--ink-faint);
  border-radius: var(--radius);
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  color: var(--ink-soft);
  background: var(--paper-raised);
}
