:root {
  --fog: #d5d8e2;
  --fog-2: #eceef4;
  --ink: #16171c;
  --muted: #5f6470;
  --paper: #ffffff;
  --void: #111216;
  --accent: #ffcc00;
  --accent-2: #ffd84a;
  --accent-ink: #16171c;
  --accent-text: #8a6200;
  --accent-soft: #fff6c9;
  --accent-glow: rgba(255, 204, 0, 0.42);
  --ok: #0f9f6e;
  --warn: #c47b00;
  --danger: #d23b56;
  --line: rgba(22, 23, 28, 0.1);
  --shadow: 0 22px 50px rgba(22, 23, 28, 0.12);
  --radius: 28px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #8d919c;
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.site-shell {
  width: min(1280px, calc(100% - 1.5rem));
  margin: 1rem auto 2.5rem;
  padding: 1.25rem 1.5rem 3rem;
  border-radius: 36px;
  background:
    radial-gradient(900px 520px at 50% 18%, #f4f5f8 0%, transparent 70%),
    linear-gradient(180deg, #e7e9f0 0%, var(--fog) 42%, #cfd3de 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.22);
  overflow: clip;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--void);
}

.topnav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.topnav a { color: var(--muted); font-weight: 600; }
.topnav a:hover { color: var(--ink); text-decoration: none; }

.join-orb {
  justify-self: end;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px var(--accent-glow);
  text-decoration: none !important;
}

.hero-stage {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: 1.5rem 0 4.5rem;
}

.hero-giant {
  position: absolute;
  inset: 2% 0 auto;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 17rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-video-frame {
  position: relative;
  width: min(720px, 86vw);
}
.hero-stage-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 30px 60px rgba(22, 23, 28, 0.22);
  display: block;
}
.hero-video-controls {
  position: absolute;
  left: 4.6rem;
  right: 4.6rem;
  bottom: 0.7rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(17, 18, 22, 0.58);
}
.hero-video-mute {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hero-video-mute:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
}
.hero-video-mute svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.hero-video-mute.is-muted .icon-sound { display: none; }
.hero-video-mute:not(.is-muted) .icon-muted { display: none; }
.hero-video-seek {
  flex: 1 1 auto;
  height: 8px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.hero-video-seek:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.contact-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 1.8rem;
  align-items: center;
}
.contact-portrait {
  width: 220px;
  height: 220px;
  justify-self: start;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
  filter: grayscale(0.08) contrast(1.04);
}

.hero-portrait {
  position: relative;
  z-index: 1;
  width: min(400px, 68vw);
  height: min(460px, 58vw);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  filter: grayscale(0.15) contrast(1.05);
  box-shadow: 0 30px 60px rgba(22, 23, 28, 0.18);
}

.float-pill {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pill-a { left: 6%; top: 22%; }
.pill-b { right: 5%; top: 18%; }
.pill-c { right: 7%; top: 42%; }
.pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}
a.float-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
}
.float-card.dark {
  background: var(--void);
  color: #f4f5f8;
}
.float-jd {
  left: 3%;
  bottom: 18%;
  width: min(280px, 86vw);
}
.float-contact {
  right: 5%;
  bottom: 16%;
  width: min(250px, 78vw);
}
.float-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.float-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.float-card.dark p { color: #b9bcc6; }
.float-card .mini-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.7rem;
}
.play-orb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  text-decoration: none !important;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.hero-video-wrap video,
.hero-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.proof-external-link {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-family: "Caveat", cursive;
  font-size: 1.15rem;
  font-weight: 700;
}

body.lightbox-open {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2.5rem 3.5rem 3.5rem;
  background: rgba(12, 13, 18, 0.86);
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: #fff;
  color: #16171c;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  text-align: center;
  z-index: 2;
}
.hero-bottom .date-pill {
  display: inline-block;
  background: var(--void);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.section {
  margin: 2.5rem 0 0;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 800;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  line-height: 0.95;
}
h3 { margin: 0; font-size: 1.05rem; }
.muted { color: var(--muted); }

.panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prompt { color: var(--accent-text); }

.proof-grid,
.contact-panel,
.agents-wrap {
  padding: 1.25rem;
}

.achievements-lede {
  max-width: 42rem;
  margin: 0 0 1.6rem;
}

.receipt-board {
  margin-top: 0.4rem;
}
.receipt-kicker {
  margin: 0 0 0.85rem;
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-text);
  line-height: 1;
}
.receipt-headliners,
.receipt-stubs {
  display: grid;
  gap: 1.05rem;
}
.receipt-headliners {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.05rem;
}
.receipt-stubs {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: stretch;
}

.outcome-ticket {
  --ticket-tilt: -0.8deg;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fffaf1;
  border: 2px solid #1f1a17;
  border-radius: 6px 18px 10px 16px;
  box-shadow: 6px 8px 0 rgba(31, 26, 23, 0.08);
  transform: rotate(var(--ticket-tilt));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.receipt-headliners .outcome-ticket:nth-child(2) { --ticket-tilt: 0.9deg; }
.receipt-headliners .outcome-ticket:nth-child(3) { --ticket-tilt: -0.5deg; }
.receipt-stubs .outcome-ticket:nth-child(even) { --ticket-tilt: 0.7deg; }
.receipt-stubs .outcome-ticket:nth-child(odd) { --ticket-tilt: -0.6deg; }
.outcome-ticket:hover {
  transform: translateY(-4px) rotate(var(--ticket-tilt));
  box-shadow: 8px 12px 0 rgba(31, 26, 23, 0.1);
}

.outcome-tape {
  position: absolute;
  top: -11px;
  left: 22%;
  width: 72px;
  height: 18px;
  background: rgba(255, 204, 0, 0.45);
  transform: rotate(-8deg);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.receipt-headliners .outcome-ticket:nth-child(2) .outcome-tape {
  left: auto;
  right: 18%;
  transform: rotate(7deg);
}

.outcome-polaroid {
  display: block;
  width: calc(100% - 1.4rem);
  margin: 0.85rem 0.7rem 0.15rem;
  padding: 0.5rem 0.5rem 1.35rem;
  border: 1px solid rgba(22, 23, 28, 0.08);
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 23, 28, 0.1);
  transform: rotate(-1.1deg);
  cursor: zoom-in;
}
.receipt-headliners .outcome-ticket:nth-child(2) .outcome-polaroid {
  transform: rotate(1.2deg);
}
.receipt-headliners .outcome-ticket:nth-child(3) .outcome-polaroid {
  transform: rotate(-0.4deg);
}
.outcome-polaroid img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: #f3f1ea;
}
.outcome-polaroid:hover img {
  filter: brightness(1.04);
}
.outcome-polaroid:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.ticket-stub {
  position: relative;
  margin-top: 0.55rem;
  padding: 0.95rem 1rem 0.8rem;
  background: var(--accent);
  color: var(--accent-ink);
}
.ticket-stub::before {
  content: "";
  display: block;
  height: 12px;
  margin: -0.95rem -1rem 0.7rem;
  background-image: radial-gradient(circle at 8px 6px, #e7e9f0 5px, transparent 6px);
  background-size: 16px 12px;
  background-repeat: repeat-x;
}
.outcome-metric {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
}
.outcome-ticket.is-featured .outcome-metric {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
}
.outcome-stamp {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: "Caveat", cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-text);
  transform: rotate(-5deg);
}
.receipt-stubs .ticket-stub {
  flex: 1;
}
.outcome-context {
  margin: 0.7rem 1rem 1rem;
  font-size: 0.86rem;
  color: #5a5148;
  line-height: 1.4;
}

.path-stage {
  margin-top: 2.4rem;
  padding-top: 0.4rem;
}
.path-heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  font-weight: 400;
}

.journey-map {
  position: relative;
  margin: 1.2rem 0 0.4rem;
  padding: 0.5rem 0 1rem;
  display: grid;
  gap: 1.4rem;
}
.journey-spine {
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 90px;
  height: calc(100% - 24px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.journey-stop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0.7rem;
}
.journey-pin {
  grid-column: 2;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-40deg);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--accent-text);
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-weight: 700;
  border: 2px solid var(--accent);
  box-shadow: 2px 3px 0 var(--accent-glow);
  z-index: 2;
}
.journey-pin span {
  display: block;
  transform: rotate(40deg);
  line-height: 1;
}
.journey-card {
  position: relative;
  background: #fffaf1;
  border: 2px solid #1f1a17;
  border-radius: 6px 18px 10px 16px;
  padding: 1.05rem 1.1rem 0.9rem;
  box-shadow: 6px 8px 0 rgba(31, 26, 23, 0.08);
  max-width: 420px;
}
.journey-stop.is-left .journey-card {
  grid-column: 1;
  justify-self: end;
  transform: rotate(-1.6deg);
}
.journey-stop.is-right .journey-card {
  grid-column: 3;
  justify-self: start;
  transform: rotate(1.8deg);
}
.journey-stop.is-left .journey-pin,
.journey-stop.is-right .journey-pin {
  transform: rotate(-40deg);
}
.journey-tape {
  position: absolute;
  top: -12px;
  left: 22%;
  width: 72px;
  height: 18px;
  background: rgba(255, 204, 0, 0.45);
  transform: rotate(-8deg);
  border-radius: 2px;
}
.journey-now {
  position: absolute;
  top: -18px;
  right: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Caveat", cursive;
  font-size: 1.15rem;
  padding: 0.05rem 0.55rem;
  transform: rotate(8deg);
}
.journey-year {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  color: var(--accent-text);
  margin-bottom: 0.15rem;
}
.journey-company {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.journey-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
}
.journey-card h3 {
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  line-height: 1.05;
}
.journey-role {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #3b3f4a;
}
.journey-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #5a5148;
  font-size: 0.88rem;
}
.journey-stop.is-now .journey-card {
  background: var(--accent-soft);
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .journey-spine { display: none; }
  .journey-stop {
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
  }
  .journey-pin { grid-column: 1; }
  .journey-stop.is-left .journey-card,
  .journey-stop.is-right .journey-card {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
    transform: none;
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.chip {
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  fill: currentColor;
}
.btn-icon [fill="none"] {
  fill: none;
  stroke: currentColor;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

.job-matching-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr;
  gap: 1.25rem;
  padding: 1.35rem 1.35rem 1.5rem;
  align-items: start;
}
.job-matching-intro {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.job-matching-portrait {
  width: 160px;
  height: 160px;
  border-radius: 22px;
  object-fit: cover;
}
.job-matching-intro h3 { font-size: 1.25rem; }

.agents-lede {
  max-width: 42rem;
  margin: 0 0 1.5rem;
}
.agent-kit {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.agent-poster {
  display: grid;
  gap: 0.65rem;
  padding: 0.55rem 0.55rem 0.8rem;
  border: 2px solid #1f1a17;
  border-radius: 6px 16px 10px 14px;
  background: #fffaf1;
  cursor: pointer;
  color: inherit;
  text-align: left;
  width: 100%;
  font: inherit;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 5px 6px 0 rgba(31, 26, 23, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.agent-poster:hover {
  transform: translateY(-3px);
}
.agent-poster.is-active {
  background: var(--accent);
  box-shadow: 5px 6px 0 rgba(31, 26, 23, 0.14);
}
.agent-poster:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.agent-poster.is-active:focus-visible {
  outline-color: var(--ink);
}
.agent-poster-photo {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  display: block;
  background: #d9dce6;
}
.agent-poster-name {
  margin: 0 0.15rem;
  min-height: 2.4em;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.agent-desk {
  margin-top: 1.2rem;
  padding: 1.2rem 1.3rem 1.35rem;
  background: #fffaf1;
  border: 2px solid #1f1a17;
  border-radius: 6px 18px 10px 16px;
  box-shadow: 6px 8px 0 rgba(31, 26, 23, 0.08);
}
.agent-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-pip {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-ink);
}
.agent-desk h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 0.35rem;
}
.agent-desk textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.agent-desk textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.65rem;
  font-weight: 800;
  vertical-align: middle;
}

.console-panel { display: grid; gap: 0.85rem; }
.fit-panel,
.chat-panel {
  border-radius: 20px;
  background: #fff;
  min-height: 140px;
  padding: 0.95rem;
  border: 1px solid var(--line);
}
.fit-panel textarea,
.chat-panel textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f6f7fb;
  color: var(--ink);
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.fit-panel textarea:focus,
.chat-panel textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.output-slot {
  margin-top: 0.75rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
  min-height: 72px;
}
.output-slot:has(.chat-turn) {
  border: 0;
  padding: 0.45rem 0 0;
  background: transparent;
  color: inherit;
  min-height: 0;
}

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator,
.htmx-indicator.htmx-request {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.thinking-indicator {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.thinking-spinner {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(22, 23, 28, 0.16);
  border-top-color: var(--accent-ink);
  animation: thinking-spin 0.7s linear infinite;
}
@keyframes thinking-spin {
  to { transform: rotate(360deg); }
}
.voice-status:empty { display: none; }
.fit-result { display: grid; gap: 0.75rem; font-size: 0.92rem; }
.fit-result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; }
.fit-score {
  display: inline-flex;
  flex-direction: column;
  min-width: 88px;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: #f6f7fb;
}
.fit-score-label { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; font-weight: 800; }
.fit-score-value { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; }
.fit-score.is-strong .fit-score-value { color: var(--ok); }
.fit-score.is-mid .fit-score-value { color: var(--accent); }
.fit-score.is-low .fit-score-value,
.fit-score.is-soft-reject .fit-score-value { color: var(--warn); }
.fit-summary { margin: 0; }
.fit-block-title { margin: 0.35rem 0 0.25rem; font-size: 0.85rem; color: var(--accent-text); }
.fit-list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.fit-list.is-ok { color: var(--ok); }
.fit-list.is-warn { color: var(--warn); }
.fit-result.is-error,
.chat-turn.is-error {
  border: 1px solid rgba(210, 59, 86, 0.35);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(210, 59, 86, 0.06);
}
.chip-ok { color: var(--ok); border-color: rgba(15, 159, 110, 0.3); }
.chip-warn { color: var(--warn); border-color: rgba(196, 123, 0, 0.3); }
.chip-danger { color: var(--danger); border-color: rgba(210, 59, 86, 0.3); }
.chat-turn {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: 0.2rem 0.85rem;
  align-items: start;
  color: var(--ink);
}
.chat-turn.is-error {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.chat-speaker {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  padding-top: 0.15rem;
}
.chat-speaker-photo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid #1f1a17;
  border-radius: 5px 11px 7px 9px;
  background: #fffaf1;
  box-shadow: 3px 4px 0 rgba(31, 26, 23, 0.08);
  display: block;
}
.chat-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.chat-bubble {
  position: relative;
  margin: 0;
  font-size: 0.95rem;
  background: #fffaf1;
  border: 2px solid #1f1a17;
  border-radius: 5px 18px 16px 18px;
  padding: 0.85rem 1rem 0.95rem;
  box-shadow: 4px 5px 0 rgba(31, 26, 23, 0.08);
}
.chat-bubble::before,
.chat-bubble::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  width: 0;
  height: 0;
  border-style: solid;
}
.chat-bubble::before {
  left: -14px;
  border-width: 9px 14px 9px 0;
  border-color: transparent #1f1a17 transparent transparent;
}
.chat-bubble::after {
  left: -10px;
  border-width: 7px 11px 7px 0;
  border-color: transparent #fffaf1 transparent transparent;
}
.chat-markdown { overflow-x: auto; }
.chat-markdown > :first-child { margin-top: 0; }
.chat-markdown > :last-child { margin-bottom: 0; }
.chat-markdown h1,
.chat-markdown h2,
.chat-markdown h3,
.chat-markdown h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0.95rem 0 0.35rem;
  line-height: 1.3;
}
.chat-markdown p { margin: 0.45rem 0; }
.chat-markdown ul,
.chat-markdown ol { margin: 0.4rem 0; padding-left: 1.25rem; }
.chat-markdown li { margin: 0.18rem 0; }
.chat-markdown strong { font-weight: 800; }
.chat-markdown a { color: var(--accent-text); }
.chat-markdown hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 0.85rem 0;
}
.chat-markdown table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.65rem 0;
}
.chat-markdown th,
.chat-markdown td {
  border: 1px solid var(--line);
  padding: 0.4rem 0.55rem;
  text-align: left;
  vertical-align: top;
}
.chat-markdown th { background: var(--accent-soft); }
.chat-markdown pre {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  overflow-x: auto;
}
.chat-markdown code { font-size: 0.86em; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stack-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.05rem 1rem 1.15rem;
  background: #fffaf1;
  border: 2px solid #1f1a17;
  border-radius: 6px 16px 10px 14px;
  box-shadow: 5px 6px 0 rgba(31, 26, 23, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.stack-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
}
.stack-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.stack-card h3 {
  font-size: 1rem;
  line-height: 1.2;
}
.stack-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.stack-card .stack-url {
  margin-top: 0.28rem;
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  word-break: break-word;
}

.thinking-indicator {
  position: relative;
  overflow: hidden;
}
.thinking-indicator.htmx-request {
  gap: 0.55rem;
}
.thinking-spinner-ring {
  width: 1.55rem;
  height: 1.55rem;
  border-width: 2px;
  border-top-color: transparent;
  border-right-color: var(--accent-ink);
  animation-duration: 1.15s;
  animation-direction: reverse;
  margin-left: -1.05rem;
}
.thinking-status {
  display: inline-block;
}
.thinking-status.is-tick {
  animation: thinking-line-in 0.35s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.thinking-dots {
  display: inline-flex;
  gap: 0.22rem;
  margin-left: 0.15rem;
}
.thinking-dots span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent-ink);
  animation: thinking-dot 0.9s ease-in-out infinite;
}
.thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.3s; }
.thinking-steps { display: none; }
.thinking-indicator::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: thinking-shimmer 1.4s ease-in-out infinite;
}
.agent-desk:has(.htmx-request),
.fit-panel:has(.htmx-request) {
  animation: desk-glow 1.3s ease-in-out infinite;
}

html.motion-on .outcome-ticket,
html.motion-on .journey-stop,
html.motion-on .journey-spine,
html.motion-on .job-matching-portrait,
html.motion-on .fit-panel,
html.motion-on .agent-poster,
html.motion-on .agent-desk,
html.motion-on .stack-card,
html.motion-on .contact-portrait,
html.motion-on .contact-copy,
html.motion-on .site-footer {
  opacity: 0;
}
html.motion-on .outcome-ticket.is-in-view {
  animation: ticket-stamp 0.75s cubic-bezier(0.22, 1.35, 0.36, 1) both;
}
html.motion-on .journey-stop.is-in-view {
  animation: stop-slide 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
html.motion-on .journey-spine.is-in-view .journey-ink {
  animation: ink-draw 1.6s ease-out both;
}
html.motion-on .journey-spine.is-in-view {
  opacity: 1;
}
html.motion-on .job-matching-portrait.is-in-view {
  animation: polaroid-drop 0.8s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}
html.motion-on .fit-panel.is-in-view {
  animation: panel-slide 0.7s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}
html.motion-on .agent-poster.is-in-view {
  animation: poster-deal 0.65s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}
html.motion-on .agent-desk.is-in-view {
  animation: desk-rise 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
html.motion-on .stack-card.is-in-view {
  animation: card-deal 0.6s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}
html.motion-on .contact-portrait.is-in-view {
  animation: polaroid-drop 0.75s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}
html.motion-on .contact-copy.is-in-view {
  animation: panel-slide 0.7s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}
html.motion-on .site-footer.is-in-view {
  animation: fade-up 0.5s ease both;
}

html.motion-on .chat-turn {
  animation: bubble-pop 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) both;
  transform-origin: 2.2rem 1.5rem;
}
html.motion-on .fit-result {
  animation: ticket-stamp 0.6s cubic-bezier(0.22, 1.35, 0.36, 1) both;
}

@keyframes ticket-stamp {
  0% { opacity: 0; transform: rotate(calc(var(--ticket-tilt, 0deg) - 10deg)) scale(0.82) translateY(34px); }
  72% { opacity: 1; transform: rotate(calc(var(--ticket-tilt, 0deg) + 1.6deg)) scale(1.04) translateY(-5px); }
  100% { opacity: 1; transform: rotate(var(--ticket-tilt, 0deg)) scale(1) translateY(0); }
}
@keyframes stop-slide {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: none; }
}
@keyframes ink-draw {
  0% { opacity: 0; stroke-dashoffset: 80; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes polaroid-drop {
  0% { opacity: 0; transform: translateY(-28px) rotate(-6deg) scale(0.92); }
  70% { opacity: 1; transform: translateY(6px) rotate(2deg) scale(1.03); }
  100% { opacity: 1; transform: none; }
}
@keyframes panel-slide {
  0% { opacity: 0; transform: translateX(28px); }
  100% { opacity: 1; transform: none; }
}
@keyframes poster-deal {
  0% { opacity: 0; transform: translateY(24px) rotate(-8deg) scale(0.9); }
  100% { opacity: 1; transform: none; }
}
@keyframes desk-rise {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: none; }
}
@keyframes card-deal {
  0% { opacity: 0; transform: translateY(18px) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}
@keyframes bubble-pop {
  0% { opacity: 0; transform: scale(0.72) translateX(-16px); }
  72% { opacity: 1; transform: scale(1.04) translateX(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes thinking-line-in {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes thinking-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}
@keyframes thinking-shimmer {
  0% { transform: translateX(0); }
  100% { transform: translateX(340%); }
}
@keyframes desk-glow {
  0%, 100% { box-shadow: 6px 8px 0 rgba(31, 26, 23, 0.08); }
  50% { box-shadow: 6px 8px 0 rgba(255, 204, 0, 0.45); }
}

.contact-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 1200px) {
  .receipt-stubs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-kit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .hero-stage { min-height: auto; padding-bottom: 1.5rem; }
  .float-pill, .float-card { position: static; width: 100%; margin-top: 0.75rem; }
  .float-pill { width: auto; justify-content: center; }
  .hero-bottom { position: static; margin-top: 1.25rem; }
  .hero-video-controls { left: 0.7rem; right: 0.7rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-portrait {
    width: min(280px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  .job-matching-layout { grid-template-columns: 1fr; }
  .receipt-headliners { grid-template-columns: 1fr; }
  .receipt-stubs { grid-template-columns: 1fr 1fr; }
  .outcome-ticket { --ticket-tilt: 0deg; }
  .outcome-polaroid { transform: none; }
  .agent-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-poster { transform: none; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .stack-card { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.motion-on .outcome-ticket,
  html.motion-on .journey-stop,
  html.motion-on .journey-spine,
  html.motion-on .job-matching-portrait,
  html.motion-on .fit-panel,
  html.motion-on .agent-poster,
  html.motion-on .agent-desk,
  html.motion-on .stack-card,
  html.motion-on .contact-portrait,
  html.motion-on .contact-copy,
  html.motion-on .site-footer,
  html.motion-on .chat-turn,
  html.motion-on .fit-result {
    opacity: 1;
    animation: none;
    transform: none;
  }
  .thinking-spinner,
  .thinking-spinner-ring,
  .thinking-dots span,
  .thinking-indicator::after,
  .thinking-status.is-tick,
  .agent-desk:has(.htmx-request),
  .fit-panel:has(.htmx-request) {
    animation: none;
  }
  .outcome-ticket,
  .outcome-polaroid,
  .agent-poster {
    transform: none;
    transition: none;
  }
  .outcome-ticket:hover,
  .agent-poster:hover,
  .stack-card:hover {
    transform: none;
  }
}
