:root {
  --ink: #101214;
  --black: #0b0d0f;
  --graphite: #171a1d;
  --paper: #f2f1ec;
  --white: #ffffff;
  --muted: #a6aaad;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(16, 18, 20, 0.16);
  --signal: #ff493d;
  --signal-dark: #cf2f26;
  --cyan: #8fdde1;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.dialog-open,
body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--signal);
  color: var(--white);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 220ms ease, height 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  height: 62px;
  color: var(--ink);
  background: rgba(242, 241, 236, 0.94);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.brand-name {
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-cta {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.site-header.is-scrolled .header-cta,
.site-header.is-scrolled .language-switch {
  border-color: var(--ink);
}

.header-cta span,
.button span,
.service-brief span {
  display: inline-block;
  margin-left: 10px;
  transition: transform 180ms ease;
}

.header-cta:hover span,
.button:hover span,
.service-brief:hover span {
  transform: translate(3px, -3px);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(900px, 92svh);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

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

.hero-media {
  background-image: url("./assets/security-research-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-settle 1.3s cubic-bezier(.2,.7,.2,1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.84) 37%, rgba(5, 7, 9, 0.12) 72%, rgba(5, 7, 9, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 7, 9, 0.72) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(970px, 82%);
  padding: 128px var(--pad) 64px;
}

.eyebrow,
.section-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  animation: rise-in .7s .15s both;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 73, 61, 0.15);
}

.hero h1,
.section-heading h2,
.process-sticky h2,
.legal-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 600;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin-top: 26px;
  font-size: clamp(48px, 6.4vw, 98px);
  animation: rise-in .8s .25s both;
}

em {
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.4vw, 20px);
  animation: rise-in .8s .35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  animation: rise-in .8s .45s both;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

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

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: rise-in .8s .55s both;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  content: "✓";
  color: var(--cyan);
}

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 62px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-scroll span {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
}

.hero-scroll i {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .55);
  animation: scroll-pulse 1.8s infinite;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 2fr;
  gap: var(--pad);
  padding: 38px var(--pad);
  color: var(--white);
  background: var(--signal);
}

.proof-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-intro p {
  max-width: 360px;
  margin: 36px 0 0;
  font-size: 13px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255, 255, 255, .35);
}

.metrics article {
  min-width: 0;
  padding: 2px 0 2px clamp(20px, 3vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, .35);
}

.metrics strong {
  display: block;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

.section {
  padding: 120px var(--pad);
}

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

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 72px;
}

.section-heading .section-index,
.process-sticky .section-index,
.contact-copy .section-index {
  color: #727679;
}

.section-heading h2,
.process-sticky h2,
.contact-copy h2 {
  max-width: 1000px;
  margin-top: 24px;
  font-size: clamp(42px, 5.8vw, 84px);
}

.section-heading > p {
  max-width: 620px;
  margin: 28px 0 0 auto;
  color: #64686b;
  font-size: 17px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.5fr .75fr;
  align-items: end;
  gap: 60px;
}

.section-heading-split p {
  margin: 0 0 6px;
}

.section-dark .section-heading p {
  color: var(--muted);
}

.comparison {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.comparison-head span {
  padding: 16px 24px;
}

.comparison-head span:first-child {
  color: #8b8e90;
}

.comparison-head span:last-child {
  color: var(--white);
  background: var(--ink);
}

.comparison-row {
  border-top: 1px solid var(--line-dark);
}

.comparison-row > div {
  min-height: 106px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}

.comparison-row > div:last-child {
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.comparison-row i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #8b8e90;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
}

.comparison-row > div:last-child i {
  color: var(--cyan);
}

.comparison-row p {
  margin: 0;
  font-size: 15px;
}

.service-list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.service-item > button {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 70px 1.2fr .8fr 32px;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.service-number,
.service-tags,
.service-toggle,
.process-card > span,
.process-card small,
.deliverable-grid article > span {
  font-family: var(--mono);
  font-size: 11px;
}

.service-number {
  color: var(--signal);
}

.service-title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
}

.service-tags {
  color: #85898c;
}

.service-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #65696c;
  border-radius: 50%;
  font-size: 17px;
}

.service-body {
  max-height: 0;
  display: grid;
  grid-template-columns: 70px 1.2fr .8fr 32px;
  gap: 20px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms ease, opacity 220ms ease, padding 300ms ease;
}

.service-body p {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  color: #b3b6b8;
  font-size: 15px;
}

.service-brief {
  grid-column: 3;
  align-self: start;
  justify-self: start;
  padding: 8px 0;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid #85898c;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.service-item.is-open .service-body {
  max-height: 240px;
  padding: 0 0 36px;
  opacity: 1;
}

.research-section {
  padding: 120px var(--pad);
  color: var(--ink);
  background: #e4ecee;
}

.research-heading {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 70px;
  margin: 0 auto 72px;
}

.research-heading .section-index {
  grid-column: 1 / -1;
  color: #626a6d;
}

.research-heading h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 600;
  line-height: .98;
}

.research-heading p {
  max-width: 540px;
  margin: 0 0 8px;
  color: #5c6467;
  font-size: 16px;
}

.research-pipeline {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr) 68px minmax(0, 1fr);
  align-items: stretch;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.research-pipeline article {
  min-width: 0;
  padding: 32px clamp(12px, 2vw, 30px) 36px;
}

.research-pipeline article + .pipeline-arrow,
.pipeline-arrow + article {
  border-left: 1px solid var(--line-dark);
}

.pipeline-label,
.method-summary > span,
.research-principle > span {
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
}

.research-pipeline h3 {
  margin: 44px 0 24px;
  font-size: clamp(20px, 2vw, 27px);
}

.research-pipeline ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-pipeline li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid rgba(16, 18, 20, .11);
  color: #4e5558;
  font-size: 12px;
}

.research-pipeline li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--signal);
}

.pipeline-arrow {
  display: grid;
  place-items: center;
  color: var(--signal-dark);
  font-size: 24px;
}

.method-workbench {
  max-width: var(--max);
  margin: 70px auto 0;
  border: 1px solid rgba(16, 18, 20, .28);
  background: rgba(255, 255, 255, .28);
}

.method-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid rgba(16, 18, 20, .28);
}

.method-nav button {
  min-width: 0;
  min-height: 60px;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid rgba(16, 18, 20, .2);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.method-nav button:last-child {
  border-right: 0;
}

.method-nav button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink);
  box-shadow: inset 0 -3px 0 var(--signal);
}

.method-panel {
  min-height: 330px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 54px;
  padding: clamp(28px, 4vw, 54px);
}

.method-summary h3 {
  margin: 60px 0 18px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
}

.method-summary p {
  max-width: 430px;
  margin: 0;
  color: #60676a;
  font-size: 13px;
}

.method-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  border-top: 1px solid rgba(16, 18, 20, .18);
  border-left: 1px solid rgba(16, 18, 20, .18);
}

.method-tags span {
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid rgba(16, 18, 20, .18);
  border-bottom: 1px solid rgba(16, 18, 20, .18);
  font-family: var(--mono);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.method-tags span::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-right: 10px;
  background: var(--signal);
}

.research-principle {
  max-width: var(--max);
  display: grid;
  grid-template-columns: .5fr 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin: 24px auto 0;
  padding: 30px 34px;
  color: var(--white);
  background: var(--signal);
}

.research-principle > span {
  color: var(--white);
}

.research-principle strong {
  font-size: clamp(18px, 2vw, 27px);
}

.research-principle p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
}

.process-section {
  max-width: var(--max);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 10vw, 160px);
  margin: 0 auto;
}

.process-sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}

.process-sticky p {
  max-width: 450px;
  margin: 28px 0 34px;
  color: #696d70;
}

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

.process-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: start;
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.process-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.process-card h3 {
  margin: 2px 0 12px;
  font-size: clamp(20px, 2vw, 28px);
}

.process-card p {
  max-width: 540px;
  margin: 0;
  color: #696d70;
  font-size: 14px;
}

.process-card small {
  color: #929598;
}

.deliverables {
  padding: 120px var(--pad);
}

.deliverable-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.deliverable-grid article {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deliverable-grid article > span {
  color: var(--signal);
}

.deliverable-grid h3 {
  margin: 70px 0 16px;
  font-size: 19px;
}

.deliverable-grid p {
  margin: 0;
  color: #969a9d;
  font-size: 13px;
}

.legal-band {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  padding: 90px var(--pad);
  color: var(--ink);
  background: var(--cyan);
}

.legal-copy {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-width: 0;
}

.legal-copy > div,
.legal-list {
  min-width: 0;
}

.legal-check {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
}

.legal-copy h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 62px);
  overflow-wrap: anywhere;
}

.legal-list {
  display: grid;
  align-content: center;
}

.legal-list span {
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 18, 20, .22);
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.legal-list span::before {
  content: "✓";
  margin-right: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(60px, 9vw, 140px);
  padding: 120px var(--pad);
  color: var(--white);
  background: var(--graphite);
}

.contact-copy h2 {
  font-size: clamp(42px, 5.4vw, 80px);
}

.contact-copy p {
  max-width: 600px;
  margin: 30px 0;
  color: #a5a9ab;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55d48a;
  box-shadow: 0 0 0 5px rgba(85, 212, 138, .12);
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 48px;
}

.direct-contact > span {
  color: #74787b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
}

.direct-contact a {
  width: fit-content;
  max-width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid #777b7e;
  font-size: clamp(17px, 2vw, 25px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.direct-contact i {
  display: inline-block;
  margin-left: 8px;
  color: var(--signal);
  font-style: normal;
  transition: transform 180ms ease;
}

.direct-contact a:hover i {
  transform: translate(3px, -3px);
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
}

label > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: inherit;
  border: 0;
  border-bottom: 1px solid #5a5e61;
  border-radius: 0;
  outline: 0;
  background: transparent;
}

input,
select {
  height: 52px;
}

textarea {
  padding: 14px 0;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #727679;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--signal);
}

select option {
  color: var(--ink);
}

.form-submit {
  justify-self: start;
  margin-top: 8px;
}

.form-note {
  margin: -8px 0 0;
  color: #74787b;
  font-size: 11px;
}

.form-error {
  margin: 0;
  color: #ff8a80;
  font-size: 12px;
  line-height: 1.6;
}

.form-error a {
  color: var(--white);
  border-bottom: 1px solid #777b7e;
}

.form-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 36px var(--pad);
  color: var(--white);
  border-top: 1px solid var(--line);
  background: var(--graphite);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p,
.footer-legal {
  margin: 0;
  font-size: 12px;
}

.footer-brand p span,
.footer-legal {
  color: #777b7e;
}

.footer-legal {
  text-align: center;
}

.footer-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.footer-actions a {
  font-size: 12px;
}

.footer-actions a:first-child {
  color: #a7aaac;
}

.success-page {
  min-height: 100svh;
  color: var(--white);
  background: var(--graphite);
}

.success-shell {
  width: min(920px, 100%);
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 72px var(--pad);
}

.success-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #4b5053;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 22px;
}

.success-shell h1 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: 0;
}

.success-shell > p {
  max-width: 670px;
  margin: 0;
  color: #b3b6b8;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.65;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

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

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-settle {
  from { opacity: .4; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.025); }
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.45); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

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

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    justify-self: end;
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: 62px 0 auto;
    display: grid;
    gap: 0;
    padding: 22px var(--pad) 30px;
    color: var(--white);
    background: var(--black);
    border-top: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 240ms ease;
  }

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

  .mobile-nav a,
  .mobile-nav button {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: inherit;
    text-align: left;
    font-size: 18px;
  }

  .site-header.is-scrolled .mobile-nav {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line-dark);
  }

  .site-header.is-scrolled .mobile-nav a,
  .site-header.is-scrolled .mobile-nav button {
    border-color: var(--line-dark);
  }

  .hero-content {
    width: 92%;
  }

  .section-heading-split,
  .research-heading,
  .legal-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .research-heading .section-index {
    grid-column: auto;
  }

  .research-pipeline {
    grid-template-columns: 1fr;
  }

  .research-pipeline article + .pipeline-arrow,
  .pipeline-arrow + article {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .pipeline-arrow {
    min-height: 58px;
    transform: rotate(90deg);
  }

  .method-panel {
    grid-template-columns: 1fr;
  }

  .method-summary h3 {
    margin-top: 34px;
  }

  .research-principle {
    grid-template-columns: .55fr 1.2fr 1fr;
  }

  .section-heading-split p {
    max-width: 620px;
  }

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

  .process-sticky {
    position: static;
  }

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

  .legal-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .contact-section {
    gap: 70px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 62px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 9, .96) 0%, rgba(5, 7, 9, .66) 72%, rgba(5, 7, 9, .35) 100%),
      linear-gradient(0deg, rgba(5, 7, 9, .84) 0%, transparent 60%);
  }

  .hero-content {
    width: 100%;
    padding-top: 112px;
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero h1 br {
    display: none;
  }

  .hero-copy {
    max-width: 92%;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-trust {
    max-width: 90%;
  }

  .hero-scroll {
    display: none;
  }

  .proof-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .proof-intro p {
    margin-top: 14px;
  }

  .metrics {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .35);
  }

  .metrics article {
    padding: 18px 10px 0 0;
    border-right: 0;
  }

  .metrics strong {
    font-size: clamp(32px, 10vw, 48px);
  }

  .metrics span {
    max-width: 100px;
    font-size: 9px;
  }

  .section,
  .deliverables,
  .research-section,
  .contact-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

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

  .section-heading h2,
  .research-heading h2,
  .process-sticky h2,
  .contact-copy h2 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .section-heading > p {
    font-size: 15px;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row > div {
    min-height: 86px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .comparison-row > div:first-child {
    color: #777b7e;
  }

  .service-item > button {
    min-height: 96px;
    grid-template-columns: 38px 1fr 32px;
    gap: 10px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-tags {
    display: none;
  }

  .service-body {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .service-body p,
  .service-brief {
    grid-column: 2;
  }

  .service-brief {
    margin-top: 18px;
  }

  .research-heading {
    gap: 26px;
    margin-bottom: 48px;
  }

  .research-heading p {
    font-size: 14px;
  }

  .research-pipeline article {
    padding-left: 0;
    padding-right: 0;
  }

  .research-pipeline h3 {
    margin-top: 28px;
  }

  .method-workbench {
    margin-top: 48px;
  }

  .method-nav {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(145px, 1fr);
    overflow-x: auto;
  }

  .method-panel {
    min-height: 0;
    gap: 34px;
    padding: 26px 20px;
  }

  .method-tags {
    grid-template-columns: 1fr;
  }

  .method-tags span {
    min-height: 54px;
  }

  .research-principle {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 22px;
  }

  .process-card {
    grid-template-columns: 36px 1fr;
  }

  .process-card small {
    display: none;
  }

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

  .deliverable-grid article {
    min-height: 210px;
  }

  .deliverable-grid h3 {
    margin-top: 48px;
  }

  .legal-band {
    gap: 50px;
    padding: 74px var(--pad);
  }

  .legal-copy {
    flex-direction: column;
    gap: 18px;
  }

  .legal-check {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 17px;
  }

  .legal-copy h2 {
    font-size: 34px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-legal {
    display: none;
  }

  .footer-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .footer-actions a:first-child {
    max-width: 165px;
    overflow-wrap: anywhere;
    text-align: right;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
