:root {
  --ink: #151515;
  --header-ink: #1a1a18;
  --coal: #24201d;
  --paper: #f7f5f1;
  --panel: #ffffff;
  --line: #d9d1c4;
  --muted: #6e665d;
  --copper: #a24f2b;
  --copper-dark: #743619;
  --teal: #1f6f67;
  --sage: #6d7f52;
  --gold: #c99a35;
  --shadow: 0 24px 80px rgba(35, 28, 22, 0.13);
  --intro-duration: 6.8s;
  --intro-collapse-duration: 1.65s;
  --brand-exit-x: -42vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 116px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

.mobile-copy {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100vw;
  max-width: 100vw;
  min-height: 112px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(207, 198, 186, 0.16);
  background: rgba(26, 26, 24, 0.96);
  box-shadow: 0 14px 34px rgba(17, 17, 15, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 142px;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(86px, 7.6vw, 104px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.18);
  background:
    linear-gradient(135deg, rgba(31, 111, 103, 0.16), transparent 44%),
    var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #f4f0ea;
  font-size: 0.92rem;
}

.site-nav a {
  padding-block: 8px;
}

.site-nav a:hover {
  color: #d29a72;
}

.nav-cta {
  border: 1px solid rgba(184, 120, 78, 0.9);
  padding: 10px 14px;
  color: #f4f0ea;
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 240, 234, 0.32);
  background: rgba(244, 240, 234, 0.06);
  color: #f4f0ea;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #f4f0ea;
}

html.intro-first-run .site-header {
  border-bottom-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

html.intro-first-run.intro-ending .site-header {
  animation: header-create var(--intro-collapse-duration) cubic-bezier(0.2, 0.72, 0.16, 1) forwards;
  pointer-events: auto;
}

.intro-stage {
  display: none;
}

html.intro-first-run .intro-stage {
  position: relative;
  z-index: 15;
  display: block;
  overflow: hidden;
  height: min(45vh, 450px);
  min-height: 370px;
  padding: clamp(18px, 3vw, 34px) clamp(20px, 5vw, 72px) 32px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.038) 1px, transparent 1px),
    linear-gradient(rgba(21, 21, 21, 0.038) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.88), rgba(242, 234, 223, 0.18) 58%),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

html.intro-first-run.intro-ending .intro-stage {
  animation: intro-collapse var(--intro-collapse-duration) cubic-bezier(0.58, 0, 0.22, 1) forwards;
}

.intro-inner {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  height: 100%;
  margin: 0 auto;
  align-items: center;
}

.intro-workflow {
  position: relative;
  height: 312px;
}

.intro-fragment {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(21, 21, 21, 0.15);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(35, 28, 22, 0.1);
  color: #3c352e;
  font-size: 0.82rem;
  font-weight: 800;
  animation: intro-fragment-clear var(--intro-duration) ease forwards;
  transform: translate(0, 0) rotate(var(--tilt));
}

.fragment-one {
  top: 34px;
  left: 8%;
  --tilt: -5deg;
  --tidy-x: 48px;
  --tidy-y: 72px;
  --drift-x1: 14px;
  --drift-y1: -8px;
  --drift-x2: -10px;
  --drift-y2: 12px;
}

.fragment-two {
  top: 104px;
  left: 22%;
  --tilt: 4deg;
  --tidy-x: 22px;
  --tidy-y: 8px;
  --drift-x1: -14px;
  --drift-y1: 10px;
  --drift-x2: 12px;
  --drift-y2: -8px;
}

.fragment-three {
  right: 31%;
  top: 42px;
  --tilt: 6deg;
  --tidy-x: -34px;
  --tidy-y: 66px;
  --drift-x1: 10px;
  --drift-y1: 12px;
  --drift-x2: -12px;
  --drift-y2: -6px;
}

.fragment-four {
  right: 12%;
  top: 86px;
  --tilt: -4deg;
  --tidy-x: -72px;
  --tidy-y: 20px;
  --drift-x1: -12px;
  --drift-y1: -10px;
  --drift-x2: 14px;
  --drift-y2: 10px;
}

.fragment-five {
  bottom: 42px;
  left: 35%;
  --tilt: -3deg;
  --tidy-x: 74px;
  --tidy-y: -28px;
  --drift-x1: 16px;
  --drift-y1: 8px;
  --drift-x2: -10px;
  --drift-y2: -12px;
}

.fragment-six {
  right: 21%;
  bottom: 34px;
  --tilt: 5deg;
  --tidy-x: 70px;
  --tidy-y: -42px;
  --drift-x1: -14px;
  --drift-y1: 8px;
  --drift-x2: 10px;
  --drift-y2: -10px;
}

.fragment-seven {
  top: 178px;
  left: 9%;
  --tilt: 3deg;
  --tidy-x: 82px;
  --tidy-y: -18px;
  --drift-x1: -12px;
  --drift-y1: 12px;
  --drift-x2: 16px;
  --drift-y2: -6px;
}

.fragment-eight {
  top: 204px;
  right: 10%;
  --tilt: -6deg;
  --tidy-x: -82px;
  --tidy-y: -42px;
  --drift-x1: 12px;
  --drift-y1: -10px;
  --drift-x2: -14px;
  --drift-y2: 8px;
}

.fragment-nine {
  top: 18px;
  right: 42%;
  --tilt: -4deg;
  --tidy-x: 44px;
  --tidy-y: 92px;
  --drift-x1: -10px;
  --drift-y1: -8px;
  --drift-x2: 12px;
  --drift-y2: 12px;
}

.fragment-ten {
  top: 148px;
  left: 47%;
  --tilt: 5deg;
  --tidy-x: -48px;
  --tidy-y: 8px;
  --drift-x1: 14px;
  --drift-y1: -10px;
  --drift-x2: -12px;
  --drift-y2: 10px;
}

.fragment-eleven {
  top: 226px;
  left: 24%;
  --tilt: -5deg;
  --tidy-x: 28px;
  --tidy-y: -68px;
  --drift-x1: -16px;
  --drift-y1: -8px;
  --drift-x2: 12px;
  --drift-y2: 12px;
}

.fragment-twelve {
  top: 130px;
  right: 34%;
  --tilt: 4deg;
  --tidy-x: 54px;
  --tidy-y: 26px;
  --drift-x1: 10px;
  --drift-y1: 12px;
  --drift-x2: -14px;
  --drift-y2: -8px;
}

.intro-clean-steps {
  position: absolute;
  z-index: 3;
  top: 154px;
  right: 11%;
  left: 11%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  opacity: 0;
  animation: intro-steps-in var(--intro-duration) ease forwards;
}

.intro-clean-steps span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(35, 28, 22, 0.11);
}

.intro-brand-lockup {
  position: absolute;
  z-index: 4;
  top: 62px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translate(-50%, 18px) scale(0.98);
  transform-origin: center;
  animation: intro-brand-rise var(--intro-duration) cubic-bezier(0.2, 0.72, 0.16, 1) forwards;
  white-space: nowrap;
}

.intro-logo {
  display: block;
  width: clamp(260px, 35vw, 480px);
  height: auto;
}

.intro-brand-mark {
  width: 54px;
  height: 54px;
  font-size: 1.65rem;
}

.intro-brand-lockup strong,
.intro-brand-lockup small {
  display: block;
}

.intro-brand-lockup strong {
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.intro-brand-lockup small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.intro-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  animation: intro-caption var(--intro-duration) ease forwards;
}

.intro-skip {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
}

.intro-skip:hover {
  color: var(--copper-dark);
}

@keyframes header-create {
  from {
    border-bottom-color: transparent;
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    border-bottom-color: rgba(21, 21, 21, 0.08);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-collapse {
  to {
    min-height: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    opacity: 0;
  }
}

@keyframes intro-fragment-clear {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--tilt));
  }

  18% {
    opacity: 1;
    transform: translate(var(--drift-x1), var(--drift-y1)) rotate(1deg);
  }

  40% {
    opacity: 1;
    transform: translate(var(--drift-x2), var(--drift-y2)) rotate(var(--tilt));
  }

  62% {
    opacity: 0.42;
    transform: translate(var(--tidy-x), var(--tidy-y)) rotate(0);
  }

  78%,
  100% {
    opacity: 0;
    transform: translate(var(--tidy-x), var(--tidy-y)) rotate(0) scale(0.94);
  }
}

@keyframes intro-steps-in {
  0%,
  48% {
    opacity: 0;
    transform: translateY(12px);
  }

  62%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translate(var(--brand-exit-x), -74px) scale(0.9);
  }
}

@keyframes intro-brand-rise {
  0%,
  46% {
    opacity: 0;
    transform: translate(-50%, 18px) scale(0.98);
  }

  58%,
  78% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--brand-exit-x)), -122px) scale(0.42);
  }
}

@keyframes intro-caption {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }

  18%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.section-band {
  width: 100%;
  max-width: 100vw;
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  min-height: calc(100vh - 78px);
  padding-top: clamp(14px, 2.8vw, 34px);
  padding-bottom: clamp(48px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  padding-top: clamp(26px, 4vw, 66px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.7vw, 6.85rem);
  font-weight: 500;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: #403b35;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions,
.case-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button,
.copy-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.filter-button:hover,
.copy-post:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary,
.filter-button,
.copy-post {
  background: transparent;
  color: var(--ink);
}

.filter-button.active,
.filter-button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 38px 0 0;
  background: var(--line);
}

.proof-strip div {
  min-height: 116px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.proof-strip dt {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  font-weight: 800;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-system {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 21, 21, 0.045) 1px, transparent 1px),
    #f2eadf;
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

.hero-system-wrap {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.hero-system-heading {
  max-width: 620px;
}

.hero-system-heading .eyebrow {
  margin-bottom: 8px;
}

.hero-system-heading h2 {
  max-width: 620px;
  font-size: clamp(1.6rem, 2.5vw, 2.55rem);
  line-height: 1.02;
}

.system-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.86rem;
}

.system-topline > div:first-child {
  display: grid;
  gap: 3px;
}

.system-topline strong {
  display: block;
  color: var(--teal);
}

.use-case-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  padding: 4px;
  background: rgba(255, 255, 255, 0.55);
}

.use-case-tab {
  min-height: 32px;
  border: 0;
  padding: 6px 7px;
  background: transparent;
  color: #403b35;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.use-case-tab.active,
.use-case-tab[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.system-map {
  position: relative;
  height: 430px;
}

.system-lines {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  pointer-events: none;
}

.system-lines path {
  fill: none;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}

.route-shadow {
  stroke: rgba(31, 111, 103, 0.1);
  stroke-width: 14;
}

.route-main {
  stroke: rgba(31, 111, 103, 0.58);
  stroke-dasharray: 9 11;
  stroke-width: 3;
  animation: route-flow 8s linear infinite;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -76;
  }
}

.system-node {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  width: min(38%, 220px);
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(21, 21, 21, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(41, 34, 26, 0.11);
  transition:
    opacity 1.25s ease,
    transform 1.25s ease,
    box-shadow 1.25s ease;
}

.system-node.is-updating {
  opacity: 0.22;
  transform: translateY(8px);
}

.system-node span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.system-node strong {
  font-size: 1.12rem;
}

.system-node small {
  color: var(--muted);
}

.system-node.intake {
  top: 36px;
  right: 46px;
  left: auto;
}

.system-node.classify {
  top: 112px;
  left: 42px;
  right: auto;
}

.system-node.validate {
  top: 218px;
  right: 58px;
  bottom: auto;
  left: auto;
}

.system-node.publish {
  bottom: 24px;
  left: 76px;
  right: auto;
}

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

.system-metrics article {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  transition:
    background 1.25s ease,
    opacity 1.25s ease,
    transform 1.25s ease;
}

.system-metrics article.is-updating {
  background: rgba(255, 255, 255, 0.42);
  opacity: 0.42;
  transform: translateY(4px);
}

.system-metrics span,
.engine-list span,
.post-header span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.system-metrics strong {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.credibility,
.services,
.case-studies,
.process,
.social-engine,
.contact {
  padding-top: clamp(66px, 9vw, 118px);
  padding-bottom: clamp(66px, 9vw, 118px);
  border-bottom: 1px solid var(--line);
}

.cred-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(26px, 5vw, 76px);
}

.cred-grid p:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 3.05rem);
  line-height: 1.12;
}

.cred-grid p:last-child {
  align-self: end;
  max-width: 520px;
  color: #4c4640;
  font-size: 1.08rem;
}

.opportunity-check {
  padding-top: clamp(46px, 7vw, 88px);
  padding-bottom: clamp(46px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.opportunity-shell {
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.48);
  background-size: 42px 42px;
}

.opportunity-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 0;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.opportunity-trigger span {
  display: grid;
  gap: 8px;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 3.15rem);
  line-height: 1.05;
}

.opportunity-trigger small,
.result-kicker {
  color: var(--copper-dark);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.opportunity-trigger strong {
  min-width: 112px;
  border: 1px solid var(--ink);
  padding: 10px 12px;
  text-align: center;
  font-size: 0.9rem;
}

.opportunity-panel {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  opacity: 0;
  padding: 0 clamp(18px, 3vw, 30px);
  transition:
    max-height 1.15s ease,
    opacity 700ms ease,
    padding 1.15s ease,
    border-color 1.15s ease;
}

.opportunity-panel.is-open {
  max-height: 1600px;
  border-top-color: var(--line);
  opacity: 1;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.opportunity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
  gap: 1px;
  background: var(--line);
}

.opportunity-list,
.opportunity-result {
  background: rgba(255, 255, 255, 0.7);
}

.opportunity-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.opportunity-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 74px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.opportunity-item input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.opportunity-item span {
  color: #37322d;
}

.opportunity-result {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
}

.opportunity-result h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 500;
}

.opportunity-result p {
  margin-bottom: 0;
  color: var(--muted);
}

#opportunity-solutions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#opportunity-solutions li {
  border-left: 3px solid var(--teal);
  padding: 9px 0 9px 12px;
  color: #37322d;
  font-size: 0.94rem;
}

.result-next-step {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.result-next-step span {
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.section-heading.split p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid,
.case-grid,
.content-engine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-card,
.case-card,
.post-preview,
.engine-list article {
  background: rgba(255, 255, 255, 0.68);
}

.service-card {
  min-height: 300px;
  padding: clamp(22px, 3vw, 34px);
}

.service-index {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--copper);
  font-weight: 900;
}

.service-card p,
.case-card p,
.timeline p,
.engine-list p,
.contact-copy p {
  color: var(--muted);
}

.case-controls {
  margin-bottom: 22px;
}

.case-card {
  display: grid;
  align-content: space-between;
  min-height: 440px;
  padding: clamp(22px, 3vw, 34px);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.case-meta span {
  border: 1px solid var(--line);
  padding: 5px 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.case-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.case-result {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.case-result strong {
  color: var(--teal);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
}

.case-result span {
  color: var(--muted);
  font-size: 0.92rem;
}

.case-link {
  justify-self: start;
  margin-top: 28px;
  color: var(--copper-dark);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px 28px 10px 0;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline article > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 52px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 800;
}

.content-engine-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
}

.post-preview {
  min-height: 430px;
  padding: clamp(24px, 4vw, 44px);
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 60px;
}

.copy-post {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

#post-draft {
  max-width: 780px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.4vw, 3.65rem);
  line-height: 1.08;
}

.engine-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.engine-list article {
  padding: 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 6vw, 90px);
  background: var(--ink);
  color: var(--paper);
}

.contact-copy {
  align-self: center;
}

.contact-copy .eyebrow {
  color: #e7a874;
}

.contact-copy p {
  max-width: 690px;
  color: #d5cdc2;
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(247, 244, 238, 0.24);
  background: rgba(247, 244, 238, 0.06);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #f2eadf;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 244, 238, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 13px 14px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 244, 238, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e7a874;
}

.contact-form .button.primary {
  border-color: #e7a874;
  background: #e7a874;
  color: #1a1715;
}

.form-note {
  margin: 0;
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.84rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #0e0e0e;
  color: rgba(247, 244, 238, 0.76);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .cred-grid,
  .section-heading.split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-system-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-system {
    min-height: 560px;
  }

  .service-grid,
  .case-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-engine-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --brand-exit-x: -34vw;
  }

  .site-header {
    align-items: center;
    min-height: 82px;
    padding: 4px 18px;
  }

  .brand-logo {
    height: 72px;
  }

  html.intro-first-run .intro-stage {
    height: 318px;
    min-height: 318px;
    padding: 12px 18px 28px;
  }

  .intro-workflow {
    height: 250px;
  }

  .intro-fragment {
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .fragment-one {
    left: 2%;
  }

  .fragment-two {
    left: 15%;
  }

  .fragment-three {
    right: 23%;
  }

  .fragment-four {
    right: 2%;
  }

  .fragment-five {
    left: 29%;
    bottom: 40px;
  }

  .fragment-six {
    right: 19%;
    bottom: 28px;
  }

  .fragment-seven {
    top: 168px;
    left: 4%;
  }

  .fragment-eight {
    top: 178px;
    right: 4%;
  }

  .fragment-nine {
    right: 35%;
  }

  .fragment-ten {
    top: 146px;
    left: 44%;
  }

  .fragment-eleven {
    top: 208px;
    left: 24%;
  }

  .fragment-twelve {
    top: 122px;
    right: 31%;
  }

  .intro-clean-steps {
    top: 132px;
    right: 4%;
    left: 4%;
    gap: 8px;
  }

  .intro-clean-steps span {
    min-height: 58px;
    font-size: 0.78rem;
  }

  .intro-brand-lockup {
    gap: 10px;
    top: 48px;
  }

  .intro-brand-mark {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }

  .intro-brand-lockup strong {
    font-size: 1.2rem;
  }

  .intro-brand-lockup small {
    font-size: 0.72rem;
  }

  .intro-caption {
    bottom: 2px;
    font-size: 0.76rem;
  }

  .intro-skip {
    bottom: 1px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    position: fixed;
    top: 19px;
    right: 18px;
    z-index: 40;
    display: block;
    border-color: rgba(184, 120, 78, 0.86);
    background:
      linear-gradient(#f4f0ea, #f4f0ea) center 14px / 18px 2px no-repeat,
      linear-gradient(#f4f0ea, #f4f0ea) center 21px / 18px 2px no-repeat,
      linear-gradient(#f4f0ea, #f4f0ea) center 28px / 18px 2px no-repeat,
      rgba(244, 240, 234, 0.08);
    transform: none;
  }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(207, 198, 186, 0.16);
    background: rgba(26, 26, 24, 0.98);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(207, 198, 186, 0.14);
    padding: 16px 0;
  }

  .nav-cta {
    margin-top: 12px;
    border-bottom: 1px solid rgba(184, 120, 78, 0.9) !important;
    padding-inline: 12px !important;
    text-align: center;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 11.5vw, 3.15rem);
    line-height: 1;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .service-grid,
  .case-grid,
  .timeline,
  .system-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-system-wrap {
    gap: 12px;
    margin-top: 0;
  }

  .hero-system-heading h2 {
    font-size: 1.55rem;
  }

  .hero-lede {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.48;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .proof-strip {
    display: flex;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .proof-strip div {
    flex: 1 1 0;
    min-width: 0;
    min-height: 86px;
    padding: 12px 10px;
  }

  .proof-strip dt {
    margin-bottom: 3px;
    font-size: 1.18rem;
  }

  .proof-strip dd {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .hero-system {
    display: block;
    min-height: 0;
    box-shadow: 0 16px 54px rgba(35, 28, 22, 0.1);
  }

  .system-topline {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .use-case-tabs {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .use-case-tabs::-webkit-scrollbar {
    display: none;
  }

  .use-case-tab {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .system-map {
    height: clamp(300px, 80vw, 380px);
  }

  .system-lines {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .route-shadow {
    stroke-width: 11;
  }

  .route-main {
    stroke-width: 2.5;
  }

  .system-node {
    width: min(42%, 168px);
    min-height: 82px;
    gap: 1px;
    padding: 10px;
  }

  .system-node span {
    font-size: 0.66rem;
  }

  .system-node strong {
    font-size: 0.96rem;
    line-height: 1.05;
  }

  .system-node small {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .system-node.intake {
    top: 16px;
    right: 14px;
    left: auto;
  }

  .system-node.classify {
    top: 86px;
    left: 14px;
    right: auto;
  }

  .system-node.validate {
    top: 158px;
    right: 22px;
    bottom: auto;
    left: auto;
  }

  .system-node.publish {
    bottom: 16px;
    left: 22px;
    right: auto;
  }

  .hero-system .system-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-metrics article {
    min-height: 76px;
    padding: 10px 8px;
  }

  .system-metrics span {
    margin-bottom: 4px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .system-metrics strong {
    font-size: 1.18rem;
  }

  .services {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .services .section-heading {
    margin-bottom: 16px;
  }

  .services h2 {
    max-width: 13ch;
    font-size: clamp(1.58rem, 5.8vw, 2rem);
  }

  .process .section-heading {
    margin-bottom: 16px;
  }

  .process h2 {
    max-width: 13ch;
    font-size: clamp(1.58rem, 5.8vw, 2rem);
  }

  .opportunity-layout {
    grid-template-columns: 1fr;
  }

  .opportunity-trigger {
    align-items: stretch;
    flex-direction: column;
  }

  .opportunity-trigger strong {
    min-width: 0;
    justify-self: start;
    width: fit-content;
  }

  .service-grid {
    gap: 0;
  }

  .service-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 14px 16px;
  }

  .service-card .service-index {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
    font-size: 0.8rem;
  }

  .service-card h3 {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .service-card p {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .timeline {
    border-top: 0;
    background: var(--line);
  }

  .timeline article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.68);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .timeline article > span {
    grid-row: 1 / span 2;
    width: auto;
    height: auto;
    place-items: start;
    margin: 2px 0 0;
    background: transparent;
    color: var(--copper);
    font-size: 0.8rem;
  }

  .timeline h3 {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .timeline p {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .post-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --brand-exit-x: -30vw;
  }

  .site-header {
    min-height: 76px;
    padding: 4px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 66px;
  }

  .site-nav {
    inset: 76px 0 auto 0;
  }

  .nav-toggle {
    top: 16px;
    right: 14px;
  }

  html.intro-first-run .intro-stage {
    height: 296px;
    min-height: 296px;
  }

  .intro-workflow {
    height: 232px;
  }

  .fragment-seven,
  .fragment-eight,
  .fragment-nine,
  .fragment-ten,
  .fragment-eleven,
  .fragment-twelve {
    display: none;
  }

  .intro-clean-steps {
    top: 124px;
    gap: 6px;
  }

  .intro-clean-steps span {
    min-height: 52px;
    padding-inline: 4px;
    font-size: 0.68rem;
  }

  .intro-brand-lockup {
    top: 44px;
  }

  .intro-brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.18rem;
  }

  .intro-brand-lockup strong {
    font-size: 1.05rem;
  }

  .intro-brand-lockup small {
    font-size: 0.66rem;
  }

  .case-controls {
    flex-direction: column;
  }

  .filter-button {
    width: 100%;
  }

  .section-band {
    padding-inline: 18px;
  }

  .hero-system {
    margin-top: 2px;
  }

  .system-topline {
    padding: 10px;
  }

  .system-topline > div:first-child {
    gap: 1px;
  }

  .system-topline span {
    font-size: 0.76rem;
  }

  .system-topline strong {
    font-size: 0.88rem;
  }

  .system-map {
    height: 300px;
  }

  .system-node {
    width: min(43%, 150px);
    min-height: 78px;
    padding: 9px;
  }

  .system-node.intake {
    top: 14px;
    right: 12px;
    left: auto;
  }

  .system-node.classify {
    top: 78px;
    left: 12px;
    right: auto;
  }

  .system-node.validate {
    top: 152px;
    right: 14px;
    bottom: auto;
    left: auto;
  }

  .system-node.publish {
    bottom: 14px;
    left: 16px;
    right: auto;
  }

  .credibility,
  .services,
  .case-studies,
  .process,
  .social-engine,
  .contact {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .services {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .opportunity-check {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .opportunity-trigger {
    padding: 18px;
  }

  .opportunity-trigger span {
    font-size: 1.54rem;
  }

  .opportunity-panel.is-open {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .opportunity-item {
    min-height: 0;
    padding: 14px;
  }

  .opportunity-result {
    padding: 18px;
  }

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

  .services .section-heading {
    margin-bottom: 16px;
  }

  h2 {
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .services h2 {
    max-width: 13ch;
    font-size: 1.58rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .cred-grid {
    gap: 16px;
  }

  .cred-grid p:first-child {
    font-size: 1.34rem;
    line-height: 1.18;
  }

  .cred-grid p:last-child {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .service-card,
  .case-card {
    min-height: auto;
    padding: 18px;
  }

  .service-grid {
    gap: 0;
  }

  .service-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
  }

  .service-index {
    margin-bottom: 14px;
  }

  .service-card .service-index {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
    font-size: 0.8rem;
  }

  .service-card h3 {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .service-card p {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .case-card h3 {
    font-size: 1.24rem;
    line-height: 1.12;
  }

  .case-result {
    margin-top: 12px;
    padding-top: 12px;
  }

  .case-result strong {
    font-size: 1.58rem;
  }

  .case-link {
    margin-top: 14px;
  }

  .post-preview {
    min-height: auto;
    padding: 18px;
  }

  .post-header {
    margin-bottom: 18px;
  }

  #post-draft {
    font-size: 1.28rem;
    line-height: 1.16;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .section-band {
    padding-inline: 16px;
  }

  .intro-clean-steps span {
    font-size: 0.62rem;
  }

  .intro-brand-lockup strong {
    font-size: 0.96rem;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button {
    padding-inline: 6px;
    font-size: 0.84rem;
  }

  .proof-strip div {
    min-height: 74px;
    padding: 9px 6px;
  }

  .proof-strip dt {
    font-size: 1rem;
  }

  .proof-strip dd {
    font-size: 0.66rem;
  }

  .system-map {
    height: 284px;
  }

  .use-case-tab {
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .system-node {
    width: 144px;
    min-height: 74px;
    padding: 8px;
  }

  .system-node strong {
    font-size: 0.9rem;
  }

  .system-node small {
    font-size: 0.68rem;
  }

  .system-metrics article {
    min-height: 70px;
    padding: 8px 6px;
  }

  .system-metrics strong {
    font-size: 1.02rem;
  }
}

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

  html.intro-first-run .intro-stage {
    display: none;
  }

  html.intro-first-run .site-header {
    border-bottom-color: rgba(207, 198, 186, 0.16);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
