:root {
  --ink: #171411;
  --ink-soft: #25211d;
  --paper: #eee6d8;
  --paper-light: #f7f1e7;
  --clay: #c75332;
  --clay-dark: #9f3b24;
  --ochre: #dda654;
  --muted: #80766a;
  --line: rgba(23, 20, 17, 0.18);
  --white-line: rgba(255, 255, 255, 0.18);
  --header-h: 82px;
  --pad: clamp(24px, 5.2vw, 84px);
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --condensed: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  background: var(--clay);
  color: white;
}

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

button,
textarea,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding: clamp(100px, 12vw, 190px) var(--pad);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--clay);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--condensed);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  text-transform: none;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3.25rem, 7.2vw, 8.25rem);
}

.no-break {
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 240ms ease, color 240ms ease, height 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(23, 20, 17, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  width: clamp(158px, 14vw, 188px);
  color: inherit;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 48px);
  font-size: 0.82rem;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover {
  opacity: 1;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 17px;
  color: var(--ink);
  background: var(--paper-light);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: white;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: #171411;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  top: -4%;
  bottom: -4%;
  background: url("assets/hardside-hero.png") center center / cover no-repeat;
  transform: translate3d(0, var(--hero-y, 0), 0) scale(1.035);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(12, 9, 7, 0.78) 32%, rgba(12, 9, 7, 0.2) 62%, rgba(8, 6, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 6, 5, 0.58) 0%, transparent 38%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  width: min(820px, 62vw);
  padding: calc(var(--header-h) + 10vh) 0 12vh var(--pad);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-kicker {
  color: #f0bd70;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 30px;
  font-size: clamp(4.2rem, 8.3vw, 9.6rem);
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: #efb264;
  white-space: nowrap;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  min-width: 170px;
  background: var(--clay);
  color: white;
}

.button-primary:hover {
  background: #d85f3e;
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-status,
.hero-index {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-status {
  left: var(--pad);
  gap: 10px;
}

.status-dot,
.live i {
  width: 7px;
  height: 7px;
  background: #f0b764;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(240, 183, 100, 0.11);
}

.hero-index {
  right: var(--pad);
  gap: 16px;
}

.hero-index span:first-child {
  color: white;
}

.proof-bar {
  display: grid;
  min-height: 124px;
  grid-template-columns: minmax(320px, 0.9fr) 2.1fr;
  align-items: stretch;
  color: var(--ink);
  background: var(--ochre);
}

.proof-bar > p {
  display: flex;
  margin: 0;
  padding: 24px var(--pad);
  align-items: center;
  border-right: 1px solid rgba(23, 20, 17, 0.3);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.capability-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  padding: 0 28px;
  font: 400 clamp(1.4rem, 2.7vw, 2.8rem)/1 Georgia, serif;
  white-space: nowrap;
}

.ticker-track i {
  width: 7px;
  height: 7px;
  background: var(--clay-dark);
  border-radius: 50%;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.integrations {
  display: grid;
  scroll-margin-top: var(--header-h);
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(70px, 10vw, 180px);
  align-items: end;
  background: #efe7dc;
  border-bottom: 1px solid var(--line);
}

.integration-copy h2 {
  max-width: 1020px;
  margin: 20px 0 38px;
  font-size: clamp(3.5rem, 7vw, 8rem);
}

.integration-copy h2 em {
  color: var(--clay);
}

.integration-copy > p:last-child {
  max-width: 610px;
  margin: 0;
  color: #5f574e;
  font-size: 1.08rem;
}

.integration-list > p:first-child {
  margin: 0 0 18px;
  color: #71675d;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.integration-list ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.integration-list li {
  display: grid;
  padding: 21px 0;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 720;
}

.integration-list li span {
  color: var(--clay);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.integration-list li strong {
  font: inherit;
}

.integration-list li sup {
  margin-left: 2px;
  font-size: 0.42em;
  line-height: 0;
  vertical-align: super;
}

.integration-legal {
  max-width: 620px;
  margin: 22px 0 0;
  color: #7a7066;
  font-size: 0.62rem;
  line-height: 1.55;
}

.work {
  background: var(--paper-light);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(90px, 11vw, 170px);
  grid-template-columns: 0.8fr 2.2fr 0.9fr;
  align-items: end;
  column-gap: 40px;
}

.section-heading .eyebrow {
  align-self: start;
  padding-top: 14px;
}

.section-heading h2 {
  font-size: clamp(3.6rem, 7.4vw, 8.5rem);
}

.section-heading > p:last-child {
  max-width: 350px;
  margin: 0;
  color: #61594f;
  font-size: 1rem;
}

.work-story {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(460px, 0.92fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: start;
}

.work-visual {
  position: sticky;
  top: 104px;
  min-height: min(62vw, 660px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 12%, rgba(199, 83, 50, 0.24), transparent 24%),
    var(--ink);
}

.visual-topline {
  display: flex;
  padding: 20px 24px;
  justify-content: space-between;
  border-bottom: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.live {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live i {
  width: 6px;
  height: 6px;
  box-shadow: none;
  animation: pulse 1.7s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.72); }
}

.visual-body {
  position: relative;
  z-index: 2;
  padding: clamp(46px, 6vw, 86px) clamp(28px, 4.3vw, 68px);
}

.visual-label {
  margin-bottom: 24px;
  color: var(--ochre);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.visual-body blockquote {
  min-height: 160px;
  margin-bottom: 42px;
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3.9rem);
  line-height: 1.04;
  transition: opacity 180ms ease, transform 180ms ease;
}

.visual-body.is-changing blockquote,
.visual-body.is-changing .result-row p {
  opacity: 0;
  transform: translateY(8px);
}

.progress-line {
  height: 1px;
  margin-bottom: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.progress-line span {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--clay);
  transform-origin: left;
  animation: scan 2.8s ease-in-out infinite alternate;
}

@keyframes scan {
  to { transform: translateX(72%); }
}

.result-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-row span {
  color: var(--clay);
}

.result-row p {
  max-width: 410px;
  margin: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.plan-lines {
  position: absolute;
  right: -7%;
  bottom: -3%;
  width: 82%;
  opacity: 0.12;
}

.plan-lines path,
.plan-lines circle {
  fill: none;
  stroke: white;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.plan-lines .measure {
  stroke: var(--ochre);
}

.work-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-item {
  display: grid;
  min-height: 300px;
  padding: 48px 0 52px;
  grid-template-columns: 52px 1fr;
  gap: 26px;
  border-top: 1px solid var(--line);
  opacity: 0.47;
  transition: opacity 240ms ease;
}

.work-item:last-child {
  border-bottom: 1px solid var(--line);
}

.work-item.is-active {
  opacity: 1;
}

.work-num {
  padding-top: 7px;
  color: var(--clay);
  font-size: 0.7rem;
  font-weight: 800;
}

.work-item h3 {
  margin-bottom: 16px;
  font-family: var(--condensed);
  font-size: clamp(2rem, 3vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
}

.work-item p {
  max-width: 560px;
  margin-bottom: 24px;
  color: #625a50;
}

.output-tag {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skills {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(60px, 10vw, 170px);
  background: #e7d7c1;
}

.skills-blueprint {
  position: relative;
  display: flex;
  min-height: 700px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clay-dark);
}

.skills-blueprint::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}

.skills-blueprint svg {
  position: relative;
  width: 84%;
}

.skills-blueprint path,
.skills-blueprint circle {
  fill: none;
  stroke: rgba(255, 244, 227, 0.72);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.skills-blueprint .blueprint-path {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 2s cubic-bezier(0.18, 0.75, 0.24, 1);
}

.skills-blueprint.is-visible .blueprint-path {
  stroke-dashoffset: 0;
}

.skills-blueprint .delay {
  transition-delay: 300ms;
}

.bp-note {
  position: absolute;
  padding: 7px 9px;
  color: #fff0da;
  background: rgba(23, 20, 17, 0.82);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease 1s, transform 400ms ease 1s;
}

.skills-blueprint.is-visible .bp-note {
  opacity: 1;
  transform: translateY(0);
}

.note-one { top: 21%; left: 11%; }
.note-two { top: 55%; right: 8%; transition-delay: 1.25s; }
.note-three { bottom: 14%; left: 23%; transition-delay: 1.5s; }

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

.skills-copy h2 {
  margin-bottom: 36px;
  font-size: clamp(3.8rem, 6.5vw, 7.3rem);
}

.skills-lede {
  max-width: 660px;
  margin-bottom: 64px;
  color: #665b50;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.skill-list {
  border-top: 1px solid var(--line);
}

.skill-row {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.skill-row > span {
  padding-top: 4px;
  color: var(--clay-dark);
  font-size: 0.65rem;
  font-weight: 800;
}

.skill-row h3 {
  margin: 0 0 4px;
  font-family: var(--condensed);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.skill-row p {
  margin: 0;
  color: #6d6257;
  font-size: 0.9rem;
}

.managed {
  color: var(--paper-light);
  background: var(--ink);
}

.managed-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 30px;
}

.managed-heading .eyebrow {
  padding-top: 16px;
  color: var(--ochre);
}

.managed-heading h2 {
  max-width: 1100px;
}

.managed-heading h2 em {
  color: var(--ochre);
}

.managed-intro {
  max-width: 650px;
  margin: 60px 0 100px auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.managed-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.managed-step {
  position: relative;
  min-height: 460px;
  padding: 32px clamp(28px, 3vw, 52px) 46px;
  border-right: 1px solid var(--white-line);
}

.managed-step:last-child {
  border-right: 0;
}

.step-index {
  color: var(--clay);
  font-size: 0.65rem;
  font-weight: 800;
}

.step-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 72px 0 62px;
}

.step-icon i {
  position: absolute;
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  transform: rotate(45deg);
}

.step-icon i:nth-child(2) { left: 21px; top: 21px; border-color: var(--clay); }
.step-icon i:nth-child(3) { left: 42px; top: 42px; }
.step-icon.connect i { border-radius: 50%; }
.step-icon.connect i:nth-child(2) { transform: none; width: 72px; height: 1px; top: 50px; left: 14px; border: 0; background: var(--clay); }
.step-icon.maintain i { width: 80px; height: 16px; transform: none; }
.step-icon.maintain i:nth-child(1) { top: 10px; }
.step-icon.maintain i:nth-child(2) { top: 39px; left: 10px; }
.step-icon.maintain i:nth-child(3) { top: 68px; left: 20px; }

.managed-step h3 {
  margin-bottom: 13px;
  font-family: var(--condensed);
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.managed-step p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

.managed-note {
  display: flex;
  margin-top: 38px;
  align-items: center;
  justify-content: space-between;
}

.managed-note span {
  color: var(--clay);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.managed-note p {
  margin: 0;
  font: italic 400 clamp(1.05rem, 1.8vw, 1.6rem)/1.2 Georgia, serif;
}

.fit {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(70px, 12vw, 210px);
  background: var(--paper-light);
}

.fit-copy h2 {
  max-width: 1000px;
  font-size: clamp(3.7rem, 6.7vw, 7.7rem);
}

.fit-detail {
  align-self: end;
}

.fit-detail > p {
  margin-bottom: 56px;
  color: #5f574e;
  font-size: 1.08rem;
}

.fit-detail ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fit-detail li {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
}

.fit-detail li span {
  color: var(--clay);
  font-size: 0.63rem;
}

.start {
  position: relative;
  display: grid;
  min-height: 90vh;
  padding: clamp(110px, 14vw, 220px) var(--pad) clamp(80px, 8vw, 130px);
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--clay-dark);
}

.start-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.start-copy {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.start .eyebrow {
  color: #f2c27d;
}

.start h2 {
  margin-bottom: 38px;
  font-size: clamp(4.3rem, 9.2vw, 10.8rem);
}

.start h2 em {
  color: #f4c47d;
}

.start-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.button-light {
  min-width: 238px;
  color: var(--ink);
  background: var(--paper-light);
}

.button-light:hover {
  background: white;
}

.start-email {
  display: inline-block;
  margin-left: 26px;
  padding: 10px 0 7px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
  font-weight: 750;
}

.start-email:hover,
.footer-email:hover {
  color: #f4c47d;
}

.start-mark {
  position: absolute;
  z-index: 1;
  left: 5vw;
  bottom: 5%;
  width: min(90vw, 1500px);
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(-7deg);
}

.start-mark img {
  width: 100%;
}

.site-footer {
  display: grid;
  min-height: 150px;
  padding: 38px var(--pad);
  grid-template-columns: 0.6fr 1.2fr 1.2fr auto;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.55);
  background: var(--ink);
  font-size: 0.7rem;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  color: white;
  font-weight: 700;
}

.footer-brand {
  width: 178px;
  color: white;
}

.footer-email {
  width: max-content;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  transition: color 180ms ease;
}

.brief-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  padding: clamp(34px, 5vw, 70px);
  color: var(--ink);
  background: var(--paper-light);
  border: 0;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.brief-dialog::backdrop {
  background: rgba(15, 12, 10, 0.78);
  backdrop-filter: blur(7px);
}

.brief-dialog[open] {
  animation: dialog-in 220ms ease both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 1.4rem;
}

.brief-dialog h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.dialog-intro {
  max-width: 540px;
  margin-bottom: 34px;
  color: #655c52;
}

.brief-dialog fieldset {
  display: grid;
  margin: 0 0 28px;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.brief-dialog fieldset label {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.brief-dialog fieldset label:nth-child(2n) { border-right: 0; }
.brief-dialog fieldset label:nth-last-child(-n + 2) { border-bottom: 0; }
.brief-dialog input { position: absolute; opacity: 0; }
.brief-dialog input + span {
  display: block;
  min-height: 64px;
  padding: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}
.brief-dialog input:checked + span { color: white; background: var(--clay); }
.brief-dialog input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: -3px; }

.text-field {
  display: block;
  margin-bottom: 28px;
}

.text-field > span {
  display: block;
  margin-bottom: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-field textarea {
  width: 100%;
  padding: 15px;
  resize: vertical;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
}

.text-field textarea:focus {
  border-color: var(--clay);
  outline: 2px solid rgba(199, 83, 50, 0.2);
}

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

.brief-result pre {
  padding: 22px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--paper-light);
  background: var(--ink);
  font: 0.8rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--clay-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body:not(.is-loaded) .hero-copy > *,
body:not(.is-loaded) .hero-status,
body:not(.is-loaded) .hero-index {
  opacity: 0;
  transform: translateY(22px);
}

.hero-copy > *,
.hero-status,
.hero-index {
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-copy > :nth-child(2) { transition-delay: 100ms; }
.hero-copy > :nth-child(3) { transition-delay: 200ms; }
.hero-copy > :nth-child(4) { transition-delay: 300ms; }
.hero-status, .hero-index { transition-delay: 450ms; }

@media (max-width: 1050px) {
  .integrations {
    grid-template-columns: 1fr;
  }

  .integration-list {
    max-width: 760px;
  }

  .integration-list ul {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr 3fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
    margin-top: 32px;
  }

  .work-story {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }

  .skills {
    padding-left: 0;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .skills-copy {
    padding-right: var(--pad);
  }

  .fit {
    grid-template-columns: 1fr;
  }

  .fit-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; }

  .site-header {
    height: var(--header-h);
  }

  .site-header.is-menu-open {
    color: var(--ink);
    background: var(--paper-light);
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    padding: 34px var(--pad) 44px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: var(--paper-light);
    border-top: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 260ms cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .site-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 18px;
    padding: 16px;
    color: white;
    background: var(--clay);
    border: 0;
  }

  .is-menu-open .site-nav {
    transform: translateY(0);
  }

  .hero-copy {
    width: 100%;
    padding-top: calc(var(--header-h) + 11vh);
    padding-right: var(--pad);
    justify-content: flex-end;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.78) 54%, rgba(10, 8, 6, 0.2) 100%),
      linear-gradient(90deg, rgba(10, 8, 6, 0.68), transparent 78%);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 13vw, 6.4rem);
  }

  .hero-index { display: none; }

  .proof-bar {
    grid-template-columns: 1fr;
  }

  .proof-bar > p {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 20, 17, 0.3);
  }

  .capability-ticker { min-height: 90px; }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow { padding-top: 0; }

  .section-heading > p:last-child {
    margin-top: 34px;
  }

  .work-story {
    display: block;
  }

  .work-visual {
    position: relative;
    top: 0;
    min-height: 560px;
    margin-bottom: 30px;
  }

  .work-item {
    min-height: auto;
    opacity: 1;
  }

  .skills {
    display: block;
    padding-top: 0;
    padding-right: 0;
  }

  .skills-blueprint {
    min-height: 72vh;
  }

  .skills-copy {
    padding: 100px var(--pad) 0;
  }

  .managed-heading {
    display: block;
  }

  .managed-heading .eyebrow { padding-top: 0; }

  .managed-intro {
    margin: 46px 0 72px;
  }

  .managed-steps {
    grid-template-columns: 1fr;
  }

  .managed-step {
    display: grid;
    min-height: auto;
    padding: 30px 0;
    grid-template-columns: 36px 100px 1fr;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .managed-step:last-child { border-bottom: 0; }

  .step-icon { margin: 8px 0 0; transform: scale(0.7); transform-origin: top left; }
  .managed-step h3 { margin-top: 10px; }
  .managed-step p { grid-column: 3; }

  .managed-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .fit-detail {
    display: block;
  }

  .start {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-copy {
    width: 100%;
    min-width: 0;
  }

  .start-mark {
    right: auto;
    left: -5%;
    bottom: 7%;
    width: 112vw;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  :root { --pad: 21px; }

  .brand { width: 145px; }

  .footer-brand { width: 160px; }

  .hero-copy {
    padding-bottom: 86px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 13.2vw;
    letter-spacing: -0.065em;
  }

  .hero h1 em { white-space: normal; }

  .hero-intro {
    margin-bottom: 26px;
    font-size: 0.94rem;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button { width: 100%; }

  .text-link { width: max-content; }

  .start-email {
    display: block;
    width: max-content;
    margin: 18px 0 0;
  }

  .hero-status {
    bottom: 20px;
    font-size: 0.54rem;
  }

  h2,
  .section-heading h2,
  .skills-copy h2,
  .fit-copy h2 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .section-heading h2 {
    font-size: 12vw;
  }

  .section-pad {
    padding-top: 96px;
    padding-bottom: 96px;
  }

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

  .work-visual { min-height: 500px; }

  .visual-body blockquote {
    min-height: 150px;
    font-size: 1.9rem;
  }

  .work-item {
    padding: 34px 0;
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .skills-blueprint { min-height: 62vh; }

  .skills-copy { padding-top: 82px; }

  .managed-step {
    grid-template-columns: 28px 72px 1fr;
    gap: 10px;
  }

  .step-icon { transform: scale(0.54); }

  .start {
    min-height: 86vh;
  }

  .start h2 {
    font-size: 16vw;
    overflow-wrap: anywhere;
  }

  .start-mark {
    left: -11%;
    width: 126vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brief-dialog {
    padding: 58px 22px 28px;
  }

  .brief-dialog fieldset { grid-template-columns: 1fr; }
  .brief-dialog fieldset label,
  .brief-dialog fieldset label:nth-child(2n),
  .brief-dialog fieldset label:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brief-dialog fieldset label:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .skills-blueprint .blueprint-path { stroke-dashoffset: 0; }
}
