/* ─────────────────────────────────────────────────────────────────────
   AIBC Consulting – base + sections
   Palette + typography + paper texture lifted from royal-corp-prep.html
   ───────────────────────────────────────────────────────────────────── */

/* GTM noscript iframe – kept off-screen without inline style (CSP-safe) */
.gtm-noscript { display: none; visibility: hidden; }

/* ── Fonts ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Advercase';
  src: url('../assets/fonts/Advercase-Font-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Advercase';
  src: url('../assets/fonts/Advercase-Font-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Switzer (400/500/600) loaded via <link> in index.html – Fontshare CDN. */

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --parchment: #f5f2ed;
  --parchment-deep: #ebe7e1;
  --ink: #0A0913;
  --royal-navy: #1e3154;
  --navy: var(--royal-navy);
  --navy-light: #2a4068;
  --mint: #5a9e8b;
  --mint-dark: #4a8575;
  --peach: #f0a090;
  --peach-dark: #e08878;
  --steel: #6b7178;

  /* Roles – on light */
  --heading-light: var(--navy);
  --body-light: rgba(10, 9, 19, 0.62);
  --overline-light: var(--steel);
  --rule-light: var(--mint);
  --meta-light: var(--steel);

  /* Roles – on dark */
  --heading-dark: var(--parchment);
  --body-dark: rgba(245, 242, 237, 0.65);

  /* Type stacks */
  --font-display: 'Advercase', Georgia, serif;
  --font-body: 'Switzer', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-y: 96px;
  --section-y-tight: 64px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--parchment);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Paper texture + vignette ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='tooth'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='4' stitchTiles='stitch' seed='1'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.96 0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23tooth)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
  z-index: 0;
}

section,
footer {
  position: relative;
  z-index: 1;
}

/* ── Container ───────────────────────────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}

.container--wide {
  max-width: 1100px;
}

@media (max-width: 640px) {
  .container,
  .container--wide {
    padding: 0 24px;
  }
}

/* ── Typography scale ────────────────────────────────────────────────── */
.type-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.02em;
  color: var(--parchment);
  line-height: 1.08;
}

.type-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--body-dark);
}

.type-body em {
  font-style: italic;
  color: var(--parchment);
}

.overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.55);
}

.overline--peach { color: var(--peach-dark); }

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: 0.02em;
  color: var(--parchment);
  line-height: 1.12;
  margin-bottom: 32px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow__text {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.link-arrow::after {
  content: '→';
  font-family: var(--font-display);
  transition: transform 0.2s ease;
}
.link-arrow:hover {
  color: var(--mint);
  gap: 10px;
}
.link-arrow:hover .link-arrow__text {
  border-bottom-color: var(--mint);
}
.link-arrow--muted {
  color: rgba(245, 242, 237, 0.55);
  cursor: default;
  pointer-events: none;
}
.link-arrow--muted::after { content: ''; }

/* ── A11y helpers ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── HERO ──────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
}

.author-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 72px;
}

.author-line__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.author-line__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.author-line__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--parchment);
  line-height: 1;
}

.author-line__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(245, 242, 237, 0.55);
  line-height: 1.25;
}

.hero__headline {
  margin-bottom: 36px;
  max-width: 720px;
}

.hero__intro {
  max-width: 560px;
  margin-bottom: 56px;
}

.hero__subhead {
  margin: 0;
}

/* WhatsApp tap-bar – two-row pill (input + animated logo strip), one big <a> */
.contact-bar {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  padding: 10px 14px 12px;
  background: #ffffff;
  border: 1px solid rgba(30, 49, 84, 0.28);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 24px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.05s ease;
}
.contact-bar:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 28px rgba(0, 0, 0, 0.4);
}
.contact-bar:active { transform: translateY(1px); }

.contact-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 8px 6px;
}
.contact-bar__row--logos {
  padding-top: 12px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(10, 9, 19, 0.06);
  margin-top: 4px;
}

.contact-bar__placeholder {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--steel);
}

.contact-bar__send {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--peach);
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.2s ease;
}
.contact-bar:hover .contact-bar__send { background: var(--peach-dark); }
.contact-bar__send svg { width: 14px; height: 14px; }

.contact-bar__counter {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--steel);
  white-space: nowrap;
}

.logo-slots {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Each slot stacks 4 brand icons. JS rotates one slot at a time, left-to-right,
   with a 2-beat hold at the end of each pass. */
.logo-slot {
  position: relative;
  width: 17px;
  height: 17px;
  display: inline-block;
}
.logo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.logo-slot img.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .logo-slot img { transition: none; }
}

/* ─── TERMINAL PROOF STRIP ─────────────────────────────────────────── */
.terminal-section {
  padding: 144px 0 var(--section-y);
  background: transparent;
}

.agent-usecases-heading {
  max-width: 760px;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--parchment);
}

.agent-usecases-subhead {
  max-width: 620px;
  margin: 0 auto 42px;
  text-align: center;
}

.agent-usecases-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 38px;
  align-items: stretch;
}

.agent-usecase-list {
  min-width: 0;
  border-top: 1px solid rgba(245, 242, 237, 0.12);
}

.agent-usecase-card {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  gap: 18px;
  padding: 24px 18px 24px 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 242, 237, 0.12);
  color: var(--parchment);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.agent-usecase-card.is-active {
  border-left: 2px solid var(--peach);
  padding-left: 18px;
  background: rgba(245, 242, 237, 0.09);
}

.agent-usecase-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  align-self: center;
  justify-self: end;
  border: 1px solid rgba(245, 242, 237, 0.26);
  border-radius: 50%;
}

.agent-usecase-chevron::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid rgba(245, 242, 237, 0.72);
  border-bottom: 1.5px solid rgba(245, 242, 237, 0.72);
  transform: rotate(45deg);
  transition: transform 0.2s ease, top 0.2s ease;
}

.agent-usecase-card.is-active .agent-usecase-chevron::before {
  top: 6px;
  transform: rotate(225deg);
}

.agent-simulation[hidden] {
  display: none;
}

.agent-mobile-panel {
  display: none;
}

.agent-usecase-number {
  padding-top: 6px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--peach);
}

.agent-usecase-copy h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--parchment);
}

.agent-usecase-copy {
  min-width: 0;
}

.agent-usecase-copy p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 242, 237, 0.58);
}

.agent-simulation {
  min-width: 0;
}

.agent-simulation.terminal-window {
  background: #fbfaf8;
  border-color: rgba(30, 49, 84, 0.16);
  box-shadow: 0 18px 48px rgba(10, 9, 19, 0.18);
}

.agent-usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.agent-usecase-tags span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(245, 242, 237, 0.08);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(245, 242, 237, 0.56);
}

.terminal-window {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #1a1a1c;
  border: 1px solid rgba(245, 242, 237, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.terminal-titlebar,
.desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  background: #2a2a2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agent-simulation .terminal-titlebar {
  background: #f2f0ed;
  border-bottom-color: rgba(30, 49, 84, 0.1);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
}

.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green { background: #28c840; }

.terminal-title,
.desktop-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.agent-simulation .terminal-title {
  margin-left: 6px;
  margin-right: 0;
  color: rgba(30, 49, 84, 0.54);
}

.terminal-body {
  min-height: 238px;
  padding: 22px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.agent-simulation .terminal-body {
  color: rgba(10, 9, 19, 0.78);
}

.terminal-body p { margin: 0; }

.terminal-prompt { color: var(--mint); }

.agent-simulation .terminal-body {
  min-height: 100%;
  padding: 28px;
  font-size: 13px;
}

.agent-simulation .terminal-prompt { color: var(--mint-dark); }

.agent-thread-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  margin-bottom: 16px;
}

.agent-thread-line p {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.agent-profile-card {
  min-width: 0;
  margin: 0 0 18px 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.agent-simulation .agent-profile-card {
  background: rgba(30, 49, 84, 0.045);
  border-color: rgba(30, 49, 84, 0.1);
}

.agent-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-simulation .agent-profile-header {
  border-bottom-color: rgba(30, 49, 84, 0.1);
}

.agent-profile-header div {
  min-width: 0;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240, 160, 144, 0.18);
  color: var(--peach);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}

.agent-simulation .agent-avatar {
  background: rgba(240, 160, 144, 0.22);
  color: var(--peach-dark);
}

.agent-profile-header strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  color: var(--parchment);
}

.agent-simulation .agent-profile-header strong {
  color: var(--navy);
}

.agent-profile-header div span {
  display: block;
  margin-top: 1px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(245, 242, 237, 0.45);
}

.agent-simulation .agent-profile-header div span {
  color: rgba(10, 9, 19, 0.48);
}

.agent-profile-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.agent-profile-facts div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}

.agent-profile-facts dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.38);
}

.agent-simulation .agent-profile-facts dt {
  color: rgba(30, 49, 84, 0.45);
}

.agent-profile-facts dd {
  margin: 0;
  color: rgba(245, 242, 237, 0.76);
  min-width: 0;
  overflow-wrap: anywhere;
}

.agent-simulation .agent-profile-facts dd {
  color: rgba(10, 9, 19, 0.72);
}

.terminal-card {
  margin: 12px 0 16px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.055);
  border-left: 2px solid var(--mint);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.72);
  min-width: 0;
  overflow-wrap: anywhere;
}

.agent-simulation .terminal-card {
  background: rgba(30, 49, 84, 0.055);
  color: rgba(10, 9, 19, 0.72);
}

.agent-draft-card {
  margin-left: 22px;
}

.agent-draft-card span {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.42);
}

.agent-simulation .agent-draft-card span {
  color: rgba(30, 49, 84, 0.48);
}

.agent-draft-card p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 242, 237, 0.76);
}

.agent-simulation .agent-draft-card p {
  color: rgba(10, 9, 19, 0.72);
}

.terminal-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 4px;
  vertical-align: -2px;
  background: rgba(255, 255, 255, 0.82);
  animation: terminal-caret-blink 1s steps(2, start) infinite;
}

@keyframes terminal-caret-blink {
  to { visibility: hidden; }
}

.agent-simulation .terminal-caret {
  background: rgba(30, 49, 84, 0.7);
}

/* ─── AGENT META LINE (shared, header strip above the thread) ─────── */
.agent-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.48);
}

.agent-meta-line span + span::before {
  content: '·';
  margin-right: 10px;
  opacity: 0.5;
}

.agent-simulation .agent-meta-line {
  border-bottom-color: rgba(30, 49, 84, 0.1);
  color: rgba(30, 49, 84, 0.5);
}

/* ─── AGENT 02 — SCALE / KILL CARDS ───────────────────────────────── */
.agent-scalekill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 6px 0 16px;
}

.agent-scalekill-card {
  --sk-accent: var(--mint);
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--sk-accent);
  border-radius: 6px;
  min-width: 0;
  color: var(--sk-accent);
}

.agent-scalekill-card--scale { --sk-accent: #5fbf8a; }
.agent-scalekill-card--kill  { --sk-accent: #d77272; }

.agent-simulation .agent-scalekill-card {
  background: rgba(30, 49, 84, 0.04);
  border-color: rgba(30, 49, 84, 0.1);
  border-top-color: var(--sk-accent);
}
.agent-simulation .agent-scalekill-card--scale { --sk-accent: #2f8a5a; }
.agent-simulation .agent-scalekill-card--kill  { --sk-accent: #b14545; }

.agent-scalekill-label {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sk-accent);
}

.agent-scalekill-title {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--parchment);
}
.agent-simulation .agent-scalekill-title { color: var(--navy); }

.agent-scalekill-row {
  position: relative;
  margin: 8px 0;
  min-height: 38px;
}

.agent-scalekill-stat {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--sk-accent);
  white-space: nowrap;
}
.agent-scalekill-stat span {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.42);
  vertical-align: middle;
}
.agent-simulation .agent-scalekill-stat span { color: rgba(30, 49, 84, 0.48); }

.agent-scalekill-spark {
  display: block;
  width: 100%;
  height: 38px;
  color: var(--sk-accent);
  opacity: 0.7;
}

.agent-scalekill-body {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 242, 237, 0.72);
}
.agent-simulation .agent-scalekill-body { color: rgba(10, 9, 19, 0.7); }

/* ─── AGENT 03 — BOARD (Blocked / In progress / Done) ─────────────── */
.agent-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 6px 0 16px;
}

.agent-board-group {
  --bd-accent: var(--peach);
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  min-width: 0;
}

.agent-board-group--blocked    { --bd-accent: #d77272; }
.agent-board-group--inprogress { --bd-accent: var(--peach); }
.agent-board-group--done       { --bd-accent: #5fbf8a; }

.agent-simulation .agent-board-group {
  background: rgba(30, 49, 84, 0.04);
  border-color: rgba(30, 49, 84, 0.1);
}
.agent-simulation .agent-board-group--blocked    { --bd-accent: #b14545; }
.agent-simulation .agent-board-group--inprogress { --bd-accent: var(--peach-dark); }
.agent-simulation .agent-board-group--done       { --bd-accent: #2f8a5a; }

.agent-board-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--bd-accent) 18%, transparent);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bd-accent);
}

.agent-board-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.agent-board-item:first-of-type { border-top: 0; padding-top: 0; }
.agent-simulation .agent-board-item { border-top-color: rgba(30, 49, 84, 0.08); }

.agent-board-item--highlight {
  margin: 0 -6px;
  padding: 8px 8px;
  background: color-mix(in srgb, var(--bd-accent) 8%, transparent);
  border-radius: 4px;
  border-top: 0;
}

.agent-board-item__name {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--parchment);
  min-width: 0;
  overflow-wrap: anywhere;
}
.agent-simulation .agent-board-item__name { color: var(--navy); }

.agent-board-item__flag {
  display: inline-block;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bd-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  vertical-align: -2px;
}

.agent-board-item__note {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(245, 242, 237, 0.6);
}
.agent-simulation .agent-board-item__note { color: rgba(10, 9, 19, 0.6); }

.agent-board-item__status {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(245, 242, 237, 0.55);
  white-space: nowrap;
}
.agent-simulation .agent-board-item__status { color: rgba(10, 9, 19, 0.55); }

/* ─── COMPANY BRAIN ────────────────────────────────────────────────── */
.brain-section {
  --brain-bg: #070b12;
  --brain-grid: rgba(112, 203, 255, 0.055);
  --brain-blue: #70cbff;
  --brain-muted: #6b7178;
  --brain-pill: rgba(24, 32, 42, 0.96);
  --brain-pill-text: rgba(246, 248, 250, 0.92);
  padding: 0;
  background: var(--brain-bg);
}

.brain-shell {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(72px, 7vw, 104px) clamp(36px, 5vw, 96px) 74px;
  overflow: hidden;
  background-image:
    linear-gradient(var(--brain-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--brain-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

.brain-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.65;
  pointer-events: none;
  border-color: rgba(246, 248, 250, 0.25);
}

.brain-corner--tl {
  left: 40px;
  top: 40px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.brain-corner--tr {
  right: 40px;
  top: 40px;
  border-right: 1px solid;
  border-top: 1px solid;
}

.brain-corner--bl {
  left: 40px;
  bottom: 40px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.brain-corner--br {
  right: 40px;
  bottom: 40px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.brain-main {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.brain-copy {
  position: relative;
  z-index: 4;
}

.brain-eyebrow-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: clamp(54px, 6vw, 82px);
}

.brain-stripline {
  width: 72px;
  height: 2px;
  margin-top: 12px;
  background: var(--brain-blue);
}

.brain-eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brain-blue);
}

.brain-intro {
  max-width: 760px;
  margin: 0 auto 96px;
  text-align: center;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.brain-intro h3,
.about-intro h3 {
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--parchment);
}

.brain-intro p,
.about-intro p {
  max-width: 620px;
  margin: 0 auto;
  font-family: var(--font-body);
  color: rgba(245, 242, 237, 0.62);
}

.brain-title {
  margin: 0 0 34px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(78px, 8vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

.brain-title span {
  display: block;
}

.brain-title span:first-child { color: var(--parchment); }
.brain-title span:last-child { color: var(--brain-blue); }

.brain-body {
  max-width: 620px;
  margin: 0 0 34px;
  font-family: var(--font-body);
  color: rgba(245, 242, 237, 0.62);
}

.brain-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color: var(--brain-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.brain-graph {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  aspect-ratio: 1.15 / 1;
  justify-self: center;
}

.brain-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.edge-glow {
  stroke: rgba(112, 203, 255, 0.16);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  filter: blur(2px);
}

.edge-main {
  stroke: rgba(112, 203, 255, 0.85);
  stroke-width: 0.35;
  stroke-linecap: round;
  fill: none;
}

.edge-dim {
  stroke: rgba(112, 203, 255, 0.35);
  stroke-width: 0.28;
  stroke-linecap: round;
  stroke-dasharray: 1.5 2;
  fill: none;
}

.brain-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  line-height: 1;
  color: var(--brain-pill-text);
  background: var(--brain-pill);
  border: 1px solid rgba(112, 203, 255, 0.55);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.brain-node--primary {
  padding: 14px 24px;
  font-size: clamp(15px, 1.45vw, 19px);
  color: #1e3154;
  background: #ffffff;
}

.brain-node--parent {
  padding: 13px 23px;
  font-size: clamp(13px, 1.45vw, 18px);
}

.brain-node--child {
  padding: 9px 16px;
  font-size: clamp(11px, 1.1vw, 14px);
}

.brain-node--business { --x: 50%; --y: 50%; }
.brain-node--strategy { --x: 23%; --y: 17%; }
.brain-node--customers { --x: 78%; --y: 18%; }
.brain-node--automations { --x: 14%; --y: 54%; }
.brain-node--team { --x: 86%; --y: 48%; }
.brain-node--fulfilment { --x: 23%; --y: 79%; }
.brain-node--marketing { --x: 78%; --y: 79%; }
.brain-node--pricing { --x: 42%; --y: 8%; }
.brain-node--positioning { --x: 9%; --y: 5%; }
.brain-node--competitors { --x: 46%; --y: 26%; }
.brain-node--feedback { --x: 63%; --y: 4%; }
.brain-node--icp { --x: 91%; --y: 6%; }
.brain-node--transactions { --x: 92%; --y: 32%; }
.brain-node--documentation { --x: 3%; --y: 68%; }
.brain-node--deployments { --x: 16%; --y: 35%; }
.brain-node--roles { --x: 75%; --y: 38%; }
.brain-node--functions { --x: 88%; --y: 65%; }
.brain-node--principles { --x: 46%; --y: 75%; }
.brain-node--sops { --x: 26%; --y: 94%; }
.brain-node--sales-calls { --x: 58%; --y: 89%; }
.brain-node--ads { --x: 80%; --y: 94%; }
.brain-node--campaigns { --x: 96%; --y: 85%; }

.brain-footer {
  text-align: center;
  margin: 96px 0 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 25px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brain-muted);
}

/* ─── ABOUT ──────────────────────────────────────────────────────── */
.about-section {
  padding: var(--section-y) 0;
}

.about-copy {
  max-width: 720px;
  margin: 0 auto;
}

.about-copy .author-line {
  justify-content: center;
  margin-bottom: 32px;
}

.about-section .section-heading {
  margin-bottom: 22px;
}

.about-section .type-body {
  max-width: 560px;
}

.about-section .type-body + .type-body {
  margin-top: 16px;
}

.about-section .arc-track {
  margin: 44px 0;
}

.about-section .arc-node--current .arc-node__role,
.about-section .arc-node__year {
  color: var(--parchment);
}

.panel-overline { margin-bottom: 12px; }
.panel-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 22px;
  max-width: 640px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.panel-grid__copy .type-body,
.panel-outro .type-body,
.panel-bio .type-body { margin-bottom: 20px; }
.panel-grid__copy .type-body:last-child,
.panel-outro .type-body:last-child { margin-bottom: 0; }
.panel-bio .type-body:last-of-type { margin-bottom: 28px; }

.panel-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.panel-list {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--body-dark);
}
.panel-list li { margin-bottom: 6px; }
.panel-list li:last-child { margin-bottom: 0; }
.panel-list li::marker { color: rgba(245, 242, 237, 0.55); font-weight: 500; }
.panel-list--bullets { list-style: disc; padding-left: 18px; }
.panel-list--bullets li { margin-bottom: 14px; }
.panel-list--bullets li:last-child { margin-bottom: 0; }
.panel-grid__copy .type-body + .panel-list { margin-top: -8px; }

/* Flow strip – Cloudflare → n8n → Kit → Vercel → Supabase */
.flow-strip {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 16px 0 8px;
  flex-wrap: nowrap;
  max-width: 100%;
}
.flow-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 64px;
}
.flow-tile__icon-wrap {
  height: 26px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-tile__icon {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}
/* Optical sizing – tuned per viewBox + visual mass */
.flow-tile__icon--cloudflare { max-height: 16px; }
.flow-tile__icon--n8n        { max-height: 22px; }
.flow-tile__icon--kit        { max-height: 16px; }
.flow-tile__icon--vercel     { max-height: 24px; }
.flow-tile__icon--supabase   { max-height: 22px; }
.flow-tile__label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.55);
  line-height: 1;
  white-space: nowrap;
}
.flow-arrow {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(107, 113, 120, 0.4);
  user-select: none;
  line-height: 26px;
  flex-shrink: 0;
}
.panel-grid__visual:has(.flow-strip) {
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 480px) {
  .flow-strip { gap: 1px; }
  .flow-tile { width: 56px; }
  .flow-tile__label { font-size: 8.5px; letter-spacing: 0.02em; }
}

/* Services list */
.services-list {
  list-style: none;
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 242, 237, 0.12);
}
.service__num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--parchment);
  flex-shrink: 0;
}
.service__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--parchment);
  line-height: 1.3;
  margin-bottom: 8px;
}
.service__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--body-dark);
}
.service__desc + .service__desc { margin-top: 20px; }
.service__chip {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(90, 158, 139, 0.3);
  color: var(--mint);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Timeline (arc track) – placeholder */
.arc-track {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  margin: 32px 0 56px;
  padding: 0 8px;
}
.arc-track::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--mint) 50%, transparent 100%);
  opacity: 0.5;
}
.arc-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  gap: 12px;
}
.arc-node__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(245, 242, 237, 0.18);
  border: 1px solid rgba(245, 242, 237, 0.4);
  z-index: 1;
}
.arc-node--current .arc-node__dot { background: var(--mint); border-color: var(--mint-dark); }
.arc-node__year {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 242, 237, 0.55);
}
.arc-node__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--body-dark);
}
.arc-node--current .arc-node__role { color: var(--navy); }

/* ─── CONTACT FORM ──────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-y) 0;
}
.contact-section__sub {
  max-width: 540px;
  margin-bottom: 36px;
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}
.form-row { display: block; }
.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(10, 9, 19, 0.12);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--steel);
  opacity: 0.85;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--peach);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(240, 160, 144, 0.22);
}
.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--peach-dark);
  font-style: italic;
}

.btn-send {
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--parchment);
  border: 0;
  border-radius: 2px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-send:hover { background: var(--parchment-deep); }
.btn-send:disabled { opacity: 0.6; cursor: progress; }

.form-success,
.form-error {
  display: none;
  max-width: 560px;
  margin-top: 24px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  border-radius: 4px;
  line-height: 1.5;
}
.form-success.visible,
.form-error.visible { display: block; }
.form-success {
  background: rgba(90, 158, 139, 0.12);
  color: var(--mint);
  border: 1px solid rgba(90, 158, 139, 0.4);
}
.form-error {
  background: rgba(240, 160, 144, 0.12);
  color: var(--peach-dark);
  border: 1px solid rgba(240, 160, 144, 0.4);
}
.form-error a { color: inherit; }

.contact-direct {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 237, 0.12);
  max-width: 560px;
}
.contact-direct__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--parchment);
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(245, 242, 237, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-direct__email svg { width: 14px; height: 14px; }
.contact-direct__email:hover { color: var(--mint); border-color: var(--mint); }
.contact-direct__email.copied { color: var(--mint); border-color: var(--mint); }
.contact-direct__note {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(245, 242, 237, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; }
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid rgba(245, 242, 237, 0.1);
  margin-top: 32px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer__copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(245, 242, 237, 0.55);
}
.socials {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}
.socials a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 237, 0.55);
  transition: color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { color: var(--navy); transform: translateY(-1px); }
.socials svg { width: 18px; height: 18px; display: block; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .agent-usecases-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .agent-mobile-panel {
    display: block;
  }

  .agent-mobile-panel:empty {
    display: none;
  }

  .agent-mobile-panel .agent-simulation {
    margin: 20px 0 28px;
  }

  .terminal-body {
    min-height: 0;
  }

  .brain-shell {
    padding: 64px 24px 56px;
  }

  .brain-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .brain-eyebrow-row {
    margin-bottom: 56px;
  }

  .brain-graph {
    min-height: 420px;
    max-width: 720px;
    margin: 0 auto;
  }

  .brain-footer {
    text-align: center;
    margin: 0;
  }

  .panel-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  :root { --section-y: 64px; --section-y-tight: 48px; }
  .terminal-section { padding: 96px 0 64px; }
  .agent-usecases-heading {
    margin-bottom: 28px;
    text-wrap: balance;
  }
  .agent-usecase-card,
  .agent-usecase-card.is-active {
    grid-template-columns: 28px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 18px 12px 18px 0;
    border-left: 0;
  }
  .agent-usecase-card.is-active {
    padding-left: 12px;
    border-left: 2px solid var(--peach);
    background: rgba(245, 242, 237, 0.09);
  }
  .agent-usecase-copy h4 {
    font-size: 23px;
  }
  .agent-usecase-tags {
    gap: 6px;
  }
  .terminal-body { padding: 18px; font-size: 12.5px; }
  .agent-simulation .terminal-body {
    padding: 18px;
  }
  .agent-thread-line {
    gap: 7px;
  }
  .agent-profile-card,
  .agent-draft-card {
    margin-left: 0;
  }
  .agent-profile-card {
    padding: 15px;
  }
  .agent-profile-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .brain-corner { display: none; }
  .brain-intro {
    margin-bottom: 72px;
  }
  .brain-eyebrow-row {
    gap: 14px;
    margin-bottom: 42px;
  }
  .brain-stripline {
    width: 48px;
  }
  .brain-eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
  }
  .brain-title {
    font-size: clamp(58px, 20vw, 82px);
    margin-bottom: 24px;
  }
  .brain-graph {
    min-height: 320px;
    aspect-ratio: 1 / 0.9;
  }
  .brain-node--child,
  .brain-edges .edge-dim {
    display: none;
  }
  .brain-node {
    border-radius: 10px;
  }
  .brain-node--primary {
    padding: 11px 14px;
    font-size: 12.5px;
  }
  .brain-node--parent {
    padding: 9px 11px;
    font-size: 10.5px;
  }
  .brain-node--child {
    padding: 6px 8px;
    font-size: 8.5px;
  }
  .brain-footer {
    font-size: 13px;
    line-height: 1.5;
  }
  .desktop-titlebar {
    min-height: 28px;
  }
  .about-copy .author-line {
    justify-content: flex-start;
  }
  .arc-track {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 16px;
    row-gap: 18px;
    align-items: center;
    padding-left: 13px;
  }
  .arc-track::before {
    left: 20px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent 0%, var(--mint) 50%, transparent 100%);
  }
  .arc-node {
    display: contents;
  }
  .arc-node__year,
  .arc-node__role {
    text-align: left;
  }
  .contact-bar { padding: 8px 6px 8px 14px; }
  .contact-bar__row { padding: 4px 4px 4px 4px; }
  .contact-bar__row--logos { padding-top: 8px; padding-bottom: 2px; margin-top: 2px; }
  .contact-bar__placeholder { font-size: 14px; }
  .contact-bar__send { width: 32px; height: 32px; }
  .site-footer .container { flex-direction: column; gap: 16px; }
  .author-line { margin-bottom: 48px; }
}

/* Marker-pen highlight (slide-08 pattern, peach variant) */
.highlight {
  background: linear-gradient(to top, rgba(240, 160, 144, 0.6) 12%, transparent 40%);
}

/* Panel-outro spacing rhythm – tonal pivot + setup-payoff + CTA breathing */
.panel-outro {
  margin-top: 24px;                    /* additive to .panel-rows 40px gap → 64px total before outro */
}
.panel-outro .type-body:first-child {
  margin-bottom: 14px;                 /* tighten "It started with..." → "Then turned into..." for setup-payoff beat */
}
.panel-outro .link-arrow {
  margin-top: 12px;                    /* additive to previous p's 20px mb → ~32px before CTA */
  color: var(--mint);                  /* energetic green CTA */
  align-items: baseline;               /* typographic alignment with pulse-dot */
  gap: 6px;                            /* lock – override base hover gap-expand */
}
.panel-outro .link-arrow::after {
  content: none;                       /* drop the arrow */
}
.panel-outro .link-arrow .pulse-dot {
  margin-right: 8px;                   /* tighter pulse-to-CTA gap */
}
.panel-outro .link-arrow .link-arrow__text {
  border-bottom-color: currentColor;   /* permanent underline (replaces arrow as link affordance) */
}
.panel-outro .link-arrow:hover {
  color: var(--mint);             /* subtle darken on hover */
  gap: 6px;                            /* lock */
}
.panel-outro .link-arrow:hover .link-arrow__text {
  border-bottom-color: currentColor;   /* lock – underline stays */
}
