:root {
  --red: #b40f22;
  --red-dark: #7e0716;
  --red-soft: #fff1f3;
  --ink: #171012;
  --muted: #63585b;
  --line: #eadde0;
  --panel: #fffafa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
select,
textarea {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(180, 15, 34, 0.28);
  outline-offset: 3px;
}

.hero {
  isolation: isolate;
  min-height: 92vh;
  overflow: hidden;
  padding: 24px clamp(20px, 5vw, 72px) 72px;
  position: relative;
  background:
    linear-gradient(120deg, rgba(180, 15, 34, 0.09), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(180, 15, 34, 0.14), transparent 30%),
    var(--white);
}

.hero::before,
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero::before {
  animation: signalDrift 18s ease-in-out infinite alternate;
  background:
    linear-gradient(110deg, rgba(180, 15, 34, 0.08), transparent 38%),
    repeating-linear-gradient(
      90deg,
      rgba(126, 7, 22, 0.08) 0,
      rgba(126, 7, 22, 0.08) 1px,
      transparent 1px,
      transparent 74px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(126, 7, 22, 0.06) 0,
      rgba(126, 7, 22, 0.06) 1px,
      transparent 1px,
      transparent 74px
    );
  height: 520px;
  opacity: 0.34;
  right: -160px;
  top: 92px;
  transform: rotate(-8deg);
  width: min(56vw, 680px);
}

.hero::after {
  animation: scanLine 9s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(180, 15, 34, 0.1), transparent);
  height: 1px;
  left: 0;
  opacity: 0.7;
  top: 62%;
  width: 100%;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-motion {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.motion-grid,
.motion-lane,
.motion-scan {
  pointer-events: none;
  position: absolute;
}

.motion-grid {
  animation: gridFloat 22s ease-in-out infinite alternate;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 62px,
      rgba(126, 7, 22, 0.08) 62px,
      rgba(126, 7, 22, 0.08) 63px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 62px,
      rgba(126, 7, 22, 0.055) 62px,
      rgba(126, 7, 22, 0.055) 63px
    );
  height: 120%;
  opacity: 0.22;
  right: -8%;
  top: -10%;
  transform: rotate(-7deg);
  width: 72%;
}

.motion-lane {
  --lane-rotate: -16deg;
  animation: laneTravel 14s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(180, 15, 34, 0.02) 12%,
      rgba(180, 15, 34, 0.18) 45%,
      rgba(255, 255, 255, 0.32) 50%,
      rgba(180, 15, 34, 0.12) 56%,
      transparent
    );
  height: 28%;
  left: -30%;
  opacity: 0.72;
  transform: rotate(var(--lane-rotate));
  width: 92%;
}

.motion-lane-one {
  top: 4%;
}

.motion-lane-two {
  --lane-rotate: -11deg;
  animation-delay: -4.5s;
  opacity: 0.48;
  top: 33%;
}

.motion-lane-three {
  --lane-rotate: -19deg;
  animation-delay: -9s;
  opacity: 0.38;
  top: 68%;
}

.motion-scan {
  animation: verticalScan 8s linear infinite;
  background: linear-gradient(180deg, transparent, rgba(180, 15, 34, 0.16), transparent);
  height: 100%;
  opacity: 0.56;
  top: 0;
  width: 1px;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 86px;
  max-width: 1180px;
}

.brand {
  color: var(--red-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 999px;
  padding: 6px 2px;
}

.nav-links a:hover,
.brand:hover,
.text-link:hover {
  color: var(--red-dark);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1180px;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .availability,
.hero-copy .actions {
  animation: heroRise 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy h1 {
  animation-delay: 90ms;
  font-size: clamp(2.85rem, 6.4vw, 5.7rem);
}

.hero-copy .lead {
  animation-delay: 170ms;
}

.hero-copy .availability {
  animation-delay: 250ms;
}

.hero-copy .actions {
  animation-delay: 320ms;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 26px;
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.lead {
  color: #3b3033;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  max-width: 730px;
}

.availability {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border: 1px solid var(--red);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
}

.button:hover {
  box-shadow: 0 14px 28px rgba(126, 7, 22, 0.14);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--red-dark);
}

.button.secondary:hover {
  background: var(--red-soft);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hero-portrait {
  animation: visualEnter 950ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
  justify-self: end;
  margin: 0;
  max-width: 420px;
  position: relative;
  width: 100%;
}

.hero-portrait::before {
  background: rgba(180, 15, 34, 0.08);
  border: 1px solid rgba(180, 15, 34, 0.12);
  border-radius: 8px;
  content: "";
  inset: 18px -18px -18px 18px;
  position: absolute;
  z-index: -1;
}

.hero-photo {
  aspect-ratio: 1 / 1;
  background: var(--red-soft);
  border: 1px solid rgba(126, 7, 22, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(126, 7, 22, 0.18);
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.portrait-caption {
  background: var(--white);
  border: 1px solid rgba(126, 7, 22, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(126, 7, 22, 0.1);
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px 16px;
  width: 100%;
}

.portrait-caption span {
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-caption strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.portrait-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.portrait-proof span {
  background: var(--white);
  border: 1px solid rgba(180, 15, 34, 0.16);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 10px;
}

.system-visual {
  background: #1a0f12;
  border: 1px solid #3a2026;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(126, 7, 22, 0.22);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  padding: 22px;
  transform-origin: center;
  animation: visualEnter 950ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.system-visual,
.featured-system {
  position: relative;
}

.system-visual::before {
  animation: panelSweep 7s ease-in-out infinite;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.035) 18px,
      rgba(255, 255, 255, 0.035) 19px
    );
  content: "";
  inset: 0;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  transform: translateX(-45%);
  z-index: -1;
}

.visual-header {
  align-items: center;
  border-bottom: 1px solid #40262c;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.visual-header span,
.metrics span {
  color: #d5b7bd;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.flow {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.flow div {
  background: linear-gradient(90deg, rgba(180, 15, 34, 0.95), rgba(255, 255, 255, 0.08));
  border: 1px solid #592a34;
  border-radius: 8px;
  font-weight: 800;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.flow div::after {
  animation: flowPulse 3.5s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  height: 100%;
  left: -30%;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 24%;
}

.flow div:nth-child(2)::after {
  animation-delay: 180ms;
}

.flow div:nth-child(3)::after {
  animation-delay: 360ms;
}

.flow div:nth-child(4)::after {
  animation-delay: 540ms;
}

.flow div:nth-child(5)::after {
  animation-delay: 720ms;
}

.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.metrics div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #3a2026;
  border-radius: 8px;
  padding: 14px;
}

.metrics strong {
  display: block;
  font-size: 0.95rem;
}

.capability-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  overflow: hidden;
  padding: 18px 20px;
}

.capability-strip span {
  background: var(--red-soft);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 14px;
  transform: translateZ(0);
}

.capability-strip span:hover {
  box-shadow: 0 10px 26px rgba(126, 7, 22, 0.1);
  transform: translateY(-2px);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 92px clamp(20px, 5vw, 72px);
}

.about,
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.about p:last-child,
.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.audiences {
  display: grid;
  gap: 12px;
}

.audience {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  padding: 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.audience:hover,
.competency-card:hover,
.experience-grid article:hover,
.article-grid article:hover,
.dashboard-summary article:hover,
.lead-card:hover {
  border-color: rgba(180, 15, 34, 0.24);
  box-shadow: 0 18px 44px rgba(126, 7, 22, 0.08);
  transform: translateY(-2px);
}

.section-head {
  max-width: 780px;
}

.cards,
.system-cards,
.tool-groups,
.offer-grid,
.competency-grid,
.experience-grid,
.article-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.card,
.system-card,
.tool-group,
.offer-card,
.competency-card,
.experience-grid article,
.article-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.offer-card,
.competency-card,
.experience-grid article,
.article-grid article,
.system-card {
  overflow: hidden;
  position: relative;
}

.offer-card::before,
.competency-card::before,
.experience-grid article::before,
.article-grid article::before,
.system-card::before {
  background: linear-gradient(180deg, rgba(180, 15, 34, 0.12), transparent);
  content: "";
  height: 4px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
  width: 100%;
}

.offer-card:hover::before,
.competency-card:hover::before,
.experience-grid article:hover::before,
.article-grid article:hover::before,
.system-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.offer-card,
.competency-card,
.experience-grid article,
.article-grid article,
.system-card,
.dashboard-summary article,
.lead-card {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.card p,
.system-card p,
.offer-card p,
.competency-card p,
.experience-grid p,
.article-grid p {
  color: var(--muted);
}

.card span,
.system-card span,
.offer-card span,
.competency-card span,
.experience-grid span,
.article-grid span {
  color: var(--red-dark);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
}

.competency-grid {
  grid-template-columns: repeat(2, 1fr);
}

.section-intro {
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 720px;
}

.offer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.offer-card {
  min-height: 245px;
}

.offer-card h3 {
  max-width: 280px;
}

.offer-card span {
  margin-bottom: 34px;
}

.offer-results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.offer-results span {
  background: #fff7f8;
  border: 1px solid rgba(180, 15, 34, 0.16);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 9px 12px;
}

.competency-card {
  min-height: 210px;
}

.competency-card span {
  margin-bottom: 34px;
}

.experience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-cv {
  margin-top: 10px;
}

.experience-grid ul {
  color: var(--muted);
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.experience-grid li {
  color: var(--muted);
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.text-link {
  color: var(--red-dark);
  display: inline-flex;
  font-weight: 900;
  margin-top: 10px;
}

.tools {
  background: linear-gradient(180deg, var(--white), #fff7f8);
  max-width: none;
}

.tools .section-head,
.tools .tool-groups {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.tool-groups {
  grid-template-columns: repeat(2, 1fr);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badges span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #44383b;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 10px;
}

.system-cards {
  grid-template-columns: repeat(3, 1fr);
}

.featured-system {
  background: #1a0f12;
  border-color: #3a2026;
  box-shadow: 0 28px 72px rgba(126, 7, 22, 0.2);
  color: var(--white);
  grid-column: 1 / -1;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
}

.featured-system::before {
  animation: panelSweep 8s ease-in-out infinite;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 20px,
      rgba(255, 255, 255, 0.03) 20px,
      rgba(255, 255, 255, 0.03) 21px
    );
  content: "";
  inset: 0;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  transform: translateX(-45%);
}

.featured-system::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.featured-system p,
.featured-system span {
  color: #f4dadd;
}

.featured-system .text-link {
  color: var(--white);
}

.system-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}

.system-pipeline strong {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #4d2a32;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  padding: 7px 10px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.system-pipeline strong:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.process ol {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.process li {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: 190px 1fr;
  padding: 20px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.process li:hover {
  border-color: rgba(180, 15, 34, 0.24);
  box-shadow: 0 18px 44px rgba(126, 7, 22, 0.08);
  transform: translateY(-2px);
}

.process span {
  color: var(--muted);
}

.hire {
  align-items: center;
  background: var(--red-dark);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 380px;
  padding: 84px clamp(20px, 5vw, 72px);
}

.hire h2 {
  max-width: 850px;
}

.hire p {
  color: #f4dadd;
  max-width: 720px;
}

.hire .eyebrow {
  color: #ffc5cd;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.connect-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  padding: 22px;
}

.connect-form label {
  color: #f7dce1;
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 8px;
}

.connect-form input,
.connect-form select,
.connect-form textarea {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px;
  width: 100%;
}

.connect-form input:focus,
.connect-form select:focus,
.connect-form textarea:focus {
  border-color: rgba(180, 15, 34, 0.36);
  box-shadow: 0 0 0 4px rgba(255, 241, 243, 0.42);
}

.connect-form textarea {
  resize: vertical;
}

.honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.full-field,
.form-button {
  grid-column: 1 / -1;
}

.form-button {
  cursor: pointer;
  width: 100%;
}

.contact-card a {
  background: var(--white);
  border-radius: 8px;
  color: var(--red-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  padding: 14px 16px;
}

.contact-card a:hover {
  box-shadow: 0 12px 26px rgba(23, 16, 18, 0.12);
  transform: translateY(-1px);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualEnter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes signalDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }

  to {
    transform: translate3d(-22px, 18px, 0) rotate(-8deg);
  }
}

@keyframes scanLine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes panelSweep {
  0%,
  100% {
    transform: translateX(-55%);
  }

  50% {
    transform: translateX(55%);
  }
}

@keyframes flowPulse {
  0% {
    left: -35%;
    opacity: 0;
  }

  35% {
    opacity: 0.7;
  }

  70%,
  100% {
    left: 115%;
    opacity: 0;
  }
}

@keyframes gridFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  to {
    transform: translate3d(-24px, 18px, 0) rotate(-7deg);
  }
}

@keyframes laneTravel {
  0% {
    transform: translateX(-18%) rotate(var(--lane-rotate));
  }

  48% {
    transform: translateX(54%) rotate(var(--lane-rotate));
  }

  100% {
    transform: translateX(118%) rotate(var(--lane-rotate));
  }
}

@keyframes verticalScan {
  from {
    left: -4%;
  }

  to {
    left: 104%;
  }
}

.form-note {
  color: #f4dadd;
  font-size: 0.88rem;
  margin: 0;
}

.article-hero {
  background:
    linear-gradient(120deg, rgba(180, 15, 34, 0.09), transparent 36%),
    var(--white);
  padding: 24px clamp(20px, 5vw, 72px) 72px;
}

.article-hero .nav {
  margin-bottom: 72px;
}

.article-hero-inner {
  margin: 0 auto;
  max-width: 980px;
}

.article-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 10px 18px;
  margin-top: 28px;
}

.article-meta span:not(:last-child)::after {
  color: var(--line);
  content: "/";
  margin-left: 18px;
}

.article-body {
  margin: 0 auto;
  max-width: 860px;
  padding: 72px clamp(20px, 5vw, 72px) 96px;
}

.article-body > p,
.article-body li {
  max-width: 760px;
}

.article-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin-top: 58px;
}

.article-body h3 {
  color: var(--red-dark);
  font-size: 1.22rem;
  margin-top: 28px;
}

.article-body p,
.article-body li {
  color: #3b3033;
  font-size: 1.08rem;
}

.article-body a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-summary {
  background: var(--red-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red-dark);
  font-weight: 800;
  line-height: 1.55;
  padding: 22px;
}

.case-workflow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  margin: 24px 0 34px;
}

.case-workflow span {
  align-items: center;
  background: var(--red-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red-dark);
  display: flex;
  font-size: 0.84rem;
  font-weight: 900;
  justify-content: center;
  min-height: 70px;
  padding: 12px;
  text-align: center;
}

.case-workflow span:hover {
  border-color: rgba(180, 15, 34, 0.26);
  box-shadow: 0 14px 30px rgba(126, 7, 22, 0.08);
  transform: translateY(-1px);
}

.article-cta {
  background: var(--red-dark);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(126, 7, 22, 0.18);
  color: var(--white);
  margin: 62px 0;
  padding: 32px;
}

.article-cta h2 {
  color: var(--white);
  margin-top: 0;
}

.article-cta p {
  color: #f4dadd;
}

.article-cta .button {
  text-decoration: none;
}

.dashboard-page {
  background: #fffafa;
}

.dashboard-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px clamp(20px, 5vw, 72px) 72px;
}

.dashboard-header {
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 28px;
}

.dashboard-header h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  margin-bottom: 12px;
}

.dashboard-header p {
  color: var(--muted);
  max-width: 680px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
}

.dashboard-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
}

.dashboard-summary article,
.lead-card,
.empty-state {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.dashboard-summary span,
.lead-card span,
.lead-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-summary strong {
  color: var(--red-dark);
  display: block;
  font-size: 1.55rem;
  line-height: 1.2;
  margin-top: 8px;
}

.dashboard-status {
  color: var(--muted);
  font-weight: 800;
  min-height: 26px;
}

.dashboard-status[data-state="success"] {
  color: #17663a;
}

.dashboard-status[data-state="error"] {
  color: var(--red-dark);
}

.lead-list {
  display: grid;
  gap: 16px;
}

.lead-card-header {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.lead-card h2 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 6px 0 0;
}

.lead-card-header strong {
  background: var(--red-soft);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 0.78rem;
  padding: 6px 10px;
  text-transform: uppercase;
}

.lead-card dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
}

.lead-card dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.lead-card p {
  color: #3b3033;
  margin-bottom: 0;
}

.empty-state {
  color: var(--muted);
  font-weight: 800;
}

.form-status {
  color: var(--muted);
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
  min-height: 24px;
}

.form-status[data-state="success"] {
  color: #17663a;
}

.form-status[data-state="error"] {
  color: var(--red-dark);
}

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

  .motion-ready [data-reveal],
  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .about,
  .split,
  .hire,
  .dashboard-header {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    width: 100%;
  }

  .hero-portrait {
    justify-self: start;
    max-width: 380px;
  }

  .cards,
  .system-cards,
  .offer-grid,
  .competency-grid,
  .experience-grid,
  .article-grid,
  .dashboard-summary,
  .lead-card dl,
  .case-workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-system {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 18px;
  }

  .motion-grid {
    opacity: 0.16;
    right: -36%;
    width: 130%;
  }

  .motion-lane {
    height: 22%;
    opacity: 0.34;
    width: 130%;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 52px;
  }

  .nav,
  .nav-links,
  .actions {
    width: 100%;
  }

  .nav-links {
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }

  .hero-portrait {
    max-width: 100%;
  }

  .hero-portrait::before {
    inset: 12px -10px -10px 12px;
  }

  .featured-system {
    padding: 24px 20px;
  }

  .featured-system::after {
    inset: 8px;
  }

  .system-pipeline strong {
    flex: 1 1 100%;
    text-align: center;
  }

  .metrics,
  .cards,
  .system-cards,
  .offer-grid,
  .competency-grid,
  .experience-grid,
  .article-grid,
  .connect-form,
  .tool-groups,
  .dashboard-summary,
  .lead-card dl,
  .case-workflow {
    grid-template-columns: 1fr;
  }

  .featured-system {
    grid-column: 1 / -1;
  }

  .dashboard-actions {
    flex-direction: column;
  }

  .process li {
    grid-template-columns: 1fr;
  }

  .article-meta {
    display: grid;
  }

  .article-meta span::after {
    content: none !important;
  }
}
