:root {
  --ink: #17191d;
  --ink-soft: #1d1d1f;
  --secondary: #86868b;
  --muted: #6e6e73;
  --line: #e8e8eb;
  --paper: #fbfbfa;
  --cyan: #35bce5;
  --pink: #d92b65;
  --gold: #efb636;
  --green: #30ae82;
  --purple: #743276;
  --focus: #35bce5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: #f0c8d7;
  color: #151515;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: #1b1d22;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s ease;
}

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

.page {
  overflow-x: clip;
}

.container {
  width: min(1320px, calc(100% - 108px));
  margin: auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 250, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-apple),
    border-color 0.35s var(--ease-apple);
}

header.is-scrolled {
  background: rgba(251, 251, 250, 0.82);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 166px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  padding: 13px 19px !important;
  color: var(--ink-soft) !important;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 25, 29, 0.05);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

#expertise,
#approach,
#impact,
#contact,
#top {
  scroll-margin-top: 112px;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 112px));
  display: flex;
  align-items: center;
  padding: 64px 0 92px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 650;
  color: #8a8d95;
}

.eyebrow::before {
  content: "";
  width: 19px;
  height: 2px;
  background: var(--cyan);
}

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

h1 {
  font-size: clamp(70px, 8.25vw, 132px);
  line-height: 1.01;
  letter-spacing: -0.082em;
  font-weight: 630;
  max-width: 1150px;
  margin: 44px 0 36px;
}

h1 .second-line {
  display: block;
  color: var(--secondary);
  font-weight: 500;
  white-space: nowrap;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  max-width: 1000px;
}

.hero-description {
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: -0.025em;
  max-width: 540px;
  color: var(--muted);
}

.primary-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: #1b1d22;
  border: 1px solid #1b1d22;
  color: #fff;
  border-radius: 50px;
  padding: 18px 23px 18px 26px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.primary-link:hover {
  transform: translateY(-3px);
  background: #393b41;
  box-shadow: 0 14px 28px rgba(23, 25, 29, 0.12);
}

.primary-link svg {
  width: 17px;
  height: 17px;
}

.hero-orbit {
  position: absolute;
  width: 560px;
  height: 560px;
  top: 60px;
  right: -215px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.page-ready .hero-orbit {
  animation:
    orbit-in 1.4s var(--ease-out-expo) both,
    orbit-drift 18s var(--ease-apple) 1.4s infinite alternate;
}

@keyframes orbit-in {
  from {
    opacity: 0;
    transform: translate3d(28px, 16px, 0) scale(0.94);
  }
  to {
    opacity: 0.88;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-orbit .sweep {
  transform-origin: center;
  animation: rotate 38s linear infinite;
}

.orbit-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.6s var(--ease-apple) infinite;
}

.orbit-node:nth-of-type(2) {
  animation-delay: 0.6s;
}

.orbit-node:nth-of-type(3) {
  animation-delay: 1.2s;
}

.orbit-node--soft {
  animation-duration: 4.8s;
  animation-delay: 0.9s;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-10px, 14px, 0) scale(1.02);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.18);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9abb1;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
}

.page-ready .scroll-hint {
  animation:
    apple-rise 0.9s var(--ease-out-expo) 1.05s both,
    hint-breathe 2.8s var(--ease-apple) 2.2s infinite;
}

.scroll-hint::after {
  content: "";
  height: 1px;
  width: 48px;
  background: #dadbdf;
  transform-origin: left center;
  animation: hint-line 2.8s var(--ease-apple) 2s infinite;
}

@keyframes hint-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes hint-line {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.72);
    opacity: 0.5;
  }
}

.color-bar {
  height: 3px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  transform: scaleX(0);
  transform-origin: left center;
}

.page-ready .color-bar {
  animation: color-bar-draw 1.15s var(--ease-out-expo) 0.4s both;
}

@keyframes color-bar-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.color-bar i:nth-child(1) {
  background: var(--cyan);
}
.color-bar i:nth-child(2) {
  background: var(--pink);
}
.color-bar i:nth-child(3) {
  background: var(--gold);
}
.color-bar i:nth-child(4) {
  background: var(--green);
}
.color-bar i:nth-child(5) {
  background: var(--purple);
}

/* Sections */
.section {
  padding: 152px 0;
}

.section-overline {
  font-weight: 650;
  letter-spacing: 0.17em;
  color: #92949a;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 28px;
}

.section-heading {
  font-size: clamp(43px, 5.7vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.068em;
  font-weight: 620;
  max-width: 950px;
}

.section-heading span {
  color: var(--secondary);
  font-weight: 500;
}

/* Services */
.services {
  border-top: 1px solid var(--line);
}

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

.service-row {
  display: grid;
  grid-template-columns: 75px 1fr 1fr 40px;
  gap: 20px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease, background 0.3s ease;
}

.service-row:hover {
  padding: 0 17px;
  background: #fff;
}

.service-index {
  font-size: 12px;
  color: #aaaeb5;
}

.service-index .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 11px;
  vertical-align: middle;
}

.service-title {
  font-size: clamp(22px, 2.6vw, 33px);
  font-weight: 580;
  letter-spacing: -0.04em;
}

.service-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 295px;
}

.service-arrow {
  font-size: 24px;
  justify-self: end;
  font-weight: 300;
  color: #abaeb5;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-row:hover .service-arrow {
  color: #222;
  transform: translate(3px, -3px);
}

/* Approach */
.approach {
  background: #f2f3f3;
  padding-top: 144px;
  padding-bottom: 155px;
}

.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}

.approach-heading {
  max-width: 620px;
}

.approach-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 380px;
  margin-top: 38px;
}

.steps {
  padding-top: 4px;
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 29px 0 32px;
  border-bottom: 1px solid #dedfe1;
}

.step:first-child {
  padding-top: 0;
}

.step-num {
  font-size: 12px;
  font-weight: 650;
  color: #92959b;
  padding-top: 7px;
}

.step h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
  font-weight: 570;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 350px;
}

/* Impact */
.impact {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: 146px;
  padding-bottom: 153px;
}

.brand-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark--x {
  right: -12%;
  top: 42%;
  width: min(78vw, 760px);
  transform: translate3d(0, -50%, 0);
  color: var(--cyan);
}

.brand-mark--o {
  left: 50%;
  top: 28%;
  width: min(70vw, 620px);
  transform: translate3d(-50%, -50%, 0);
  color: var(--gold);
  opacity: 0.05;
}

.page-ready .brand-mark--x {
  animation: brand-mark-drift-x 28s var(--ease-apple) infinite alternate;
}

.page-ready .brand-mark--o {
  animation: brand-mark-drift-o 32s var(--ease-apple) infinite alternate;
}

@keyframes brand-mark-drift-x {
  from {
    transform: translate3d(0, -50%, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, -48%, 0) scale(1.03);
  }
}

@keyframes brand-mark-drift-o {
  from {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  to {
    transform: translate3d(-50%, -52%, 0) scale(1.04);
  }
}

.impact > .container,
.contact > .container {
  position: relative;
  z-index: 1;
}

.impact-heading {
  max-width: 980px;
}

.impact-intro {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 76px;
}

.impact-item {
  border-top: 1px solid #dcdee2;
  padding-top: 28px;
  min-width: 0;
}

.impact-value {
  font-size: clamp(62px, 7.3vw, 112px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.09em;
  font-variant-numeric: tabular-nums;
  color: #151719;
}

.impact-item h3 {
  font-size: 17px;
  font-weight: 480;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-top: 24px;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 165px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact .section-overline {
  margin-bottom: 30px;
}

.contact h2 {
  font-size: clamp(58px, 7.6vw, 112px);
  line-height: 1.06;
  letter-spacing: -0.076em;
  font-weight: 630;
  max-width: 1060px;
  margin: 0 auto 37px;
}

.contact > .container > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
}

.contact .primary-link {
  margin: 0 auto;
}

.contact-muted {
  color: var(--secondary);
  font-weight: 500;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 560px;
  margin: 48px auto 36px;
  color: var(--secondary);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.form-field .optional {
  font-weight: 400;
  color: #a1a1a6;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f5f5f7;
  color: var(--ink-soft);
  padding: 0 16px;
  height: 48px;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.035);
  transition:
    background 0.2s var(--ease-apple),
    box-shadow 0.2s var(--ease-apple);
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(110, 110, 115, 0.65);
  opacity: 1;
}

.form-field textarea {
  height: auto;
  min-height: 132px;
  resize: vertical;
  line-height: 1.47;
  padding: 14px 16px;
}

.form-field input:hover,
.form-field textarea:hover {
  background: #f0f0f2;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.12);
}

.form-field input.invalid,
.form-field textarea.invalid {
  box-shadow: 0 0 0 3px rgba(217, 43, 101, 0.18);
  background: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding-top: 4px;
}

.consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink-soft);
}

.consent a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(29, 29, 31, 0.28);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.consent a:hover {
  text-decoration-color: var(--ink-soft);
}

.turnstile-wrap {
  min-height: 65px;
  display: flex;
  justify-content: flex-start;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  padding-top: 4px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 980px;
  background: var(--ink-soft);
  color: #fff;
  padding: 16px 24px;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease-out-expo),
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

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

.form-status {
  min-height: 1.4em;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
}

.form-status[data-state="success"] {
  color: var(--green);
}

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

/* Footer */
footer {
  background: #1a1b20;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 45px 0;
}

.footer-logo {
  width: 120px;
}

.footer-caption {
  color: #8b8e97;
  font-size: 12px;
}

.footer-right {
  font-size: 12px;
  color: #9b9ca4;
}

.footer-right a {
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #fff;
}

/* Privacy page */
.privacy-page {
  padding: 72px 0 120px;
}

.privacy-page .section-overline {
  margin-bottom: 20px;
}

.privacy-page h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 620;
  max-width: 820px;
  margin: 0 0 28px;
}

.privacy-lede {
  font-size: 18px;
  line-height: 1.65;
  color: #6f737c;
  max-width: 620px;
  margin-bottom: 48px;
}

.privacy-content {
  max-width: 720px;
  display: grid;
  gap: 28px;
}

.privacy-content h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 10px;
}

.privacy-content p,
.privacy-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #6f737c;
}

.privacy-content ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reveals — Apple-like rise; transitions replay cleanly on class toggle */
@keyframes apple-nav-in {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.95s var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 0.95s var(--ease-out-expo) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stagger-group .reveal:nth-child(1) {
  --reveal-delay: 0ms;
}
.stagger-group .reveal:nth-child(2) {
  --reveal-delay: 100ms;
}
.stagger-group .reveal:nth-child(3) {
  --reveal-delay: 200ms;
}
.stagger-group .reveal:nth-child(4) {
  --reveal-delay: 300ms;
}
.stagger-group .reveal:nth-child(5) {
  --reveal-delay: 400ms;
}

/* Split text */
.split-line,
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-line {
  display: block;
  width: 100%;
}

.split-line .split-word,
.split-word > .split-word-inner,
.line-inner {
  display: inline-block;
}

.line-inner,
.split-word-inner {
  opacity: 0;
  transform: translate3d(0, 1.05em, 0);
  transition: opacity 0.9s var(--ease-out-expo) var(--word-delay, 0ms),
    transform 0.9s var(--ease-out-expo) var(--word-delay, 0ms);
}

.reveal.visible .line-inner,
.reveal.visible .split-word-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

h1.split-words,
h1.is-split,
h2.split-lines,
h2.is-split,
h1.is-split.visible,
h2.is-split.visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.page-ready .nav {
  animation: apple-nav-in 0.85s var(--ease-out-expo) both;
}

/* Scroll to top */
.to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 48px;
  height: 48px;
  border: 1px solid #d7d8dc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(23, 25, 29, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    visibility 0.28s,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.to-top:hover {
  border-color: #9a9da5;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 25, 29, 0.14);
  transform: translate3d(0, -2px, 0);
}

.to-top:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-orbit {
    width: 470px;
    height: 470px;
    right: -280px;
    opacity: 0.5;
  }

  .service-row {
    grid-template-columns: 54px 1.2fr 1fr 28px;
  }

  .approach-layout {
    gap: 50px;
  }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 42px);
  }

  .nav {
    height: 84px;
  }

  #expertise,
  #approach,
  #impact,
  #contact,
  #top {
    scroll-margin-top: 84px;
  }

  .logo {
    width: 130px;
  }

  .brand-mark--x {
    right: -28%;
    width: min(95vw, 420px);
    opacity: 0.04;
  }

  .brand-mark--o {
    top: 22%;
    width: min(88vw, 360px);
    opacity: 0.035;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    font-size: 12px;
    padding: 11px 15px !important;
  }

  .hero {
    min-height: min(690px, calc(100svh - 84px));
    align-items: center;
    padding: 70px 0 90px;
  }

  .hero-orbit {
    width: 360px;
    height: 360px;
    top: 28px;
    right: -240px;
    opacity: 0.28;
  }

  .to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(59px, 12vw, 84px);
    letter-spacing: -0.075em;
    margin: 37px 0 25px;
  }

  h1 .second-line {
    white-space: normal;
  }

  .hero-bottom {
    display: block;
  }

  .hero-description {
    font-size: 17px;
    max-width: 420px;
  }

  .hero-bottom .primary-link {
    margin-top: 32px;
  }

  .section {
    padding: 100px 0;
  }

  .section-heading {
    font-size: clamp(43px, 10vw, 64px);
  }

  .service-list {
    margin-top: 50px;
  }

  .service-row {
    position: relative;
    grid-template-columns: 34px 1fr 22px;
    gap: 12px;
    min-height: 143px;
    padding: 24px 0;
  }

  .service-row:hover {
    padding: 24px 12px;
  }

  .service-index {
    align-self: start;
    padding-top: 7px;
  }

  .service-index .dot {
    width: 6px;
    height: 6px;
    margin-right: 0;
  }

  .service-index .number {
    display: none;
  }

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

  .service-copy {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    margin-top: -12px;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .approach-layout {
    display: block;
  }

  .approach-intro {
    margin-top: 27px;
  }

  .steps {
    margin-top: 66px;
  }

  .impact {
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .impact-intro {
    font-size: 17px;
    margin-top: 23px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 42px;
    margin-top: 55px;
  }

  .impact-value {
    font-size: clamp(56px, 13vw, 88px);
  }

  .impact-item h3 {
    margin-top: 13px;
  }

  .contact {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .contact h2 {
    font-size: clamp(55px, 11.5vw, 76px);
  }

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

  .contact > .container > p {
    font-size: 16px;
  }

  .contact-divider {
    margin: 40px auto 28px;
  }

  .footer-inner {
    padding: 35px 0;
    flex-wrap: wrap;
  }

  .footer-caption {
    width: 100%;
    order: 3;
  }

  .footer-logo {
    width: 110px;
  }

  .privacy-page {
    padding: 48px 0 90px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .line-inner,
  .split-word-inner,
  .scroll-hint,
  .color-bar {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .page-ready .hero-orbit {
    opacity: 0.88 !important;
    animation: none !important;
    transform: none !important;
  }

  .page-ready .nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .to-top,
  .to-top.is-visible,
  .to-top:hover {
    transition: none !important;
    transform: none !important;
  }
}
