:root {
  color-scheme: dark;
  --bg: #030303;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --quiet: rgba(255, 255, 255, 0.48);
  --glass: rgba(255, 255, 255, 0.09);
  --glass-soft: rgba(255, 255, 255, 0.055);
  --glass-lift: rgba(255, 255, 255, 0.16);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

img {
  display: block;
  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;
}

.grain {
  display: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  width: min(calc(100% - 32px), 1160px);
  min-height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 16px 14px 22px;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 16, 0.62);
  backdrop-filter: blur(28px) saturate(150%);
  overflow: visible;
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  width: 220px;
  min-width: 0;
  line-height: 0;
  overflow: visible;
}

.brand img {
  width: 200px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  overflow: visible;
}

.site-nav {
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  padding: 0 14px;
}

.site-nav a:hover,
.nav-cta:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 980px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px max(24px, calc((100vw - 1160px) / 2)) 76px;
  text-align: center;
}

.hero-art {
  display: none;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
  display: grid;
  justify-items: center;
  opacity: 0;
  transform: scale(0.965) translateY(14px);
  animation: heroReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  margin-bottom: 28px;
}

.hero-logo {
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.94);
  animation: heroLogoReveal 1100ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.34rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  animation: heroItemReveal 780ms cubic-bezier(0.16, 1, 0.3, 1) 420ms forwards;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: heroItemReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) 560ms forwards;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-style: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: #ffffff;
  color: #050505;
}

.button.ghost {
  background: var(--glass);
  color: var(--ink);
  backdrop-filter: blur(20px) saturate(150%);
}

.social-button {
  color: rgba(255, 255, 255, 0.78);
}

.glass {
  border-radius: var(--radius-xl);
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(160%);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  margin-top: 42px;
  opacity: 0;
  transform: scale(0.975) translateY(14px);
  animation: heroPanelReveal 820ms cubic-bezier(0.16, 1, 0.3, 1) 700ms forwards;
}

.hero-panel div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-soft);
}

.metric {
  display: block;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 750;
  line-height: 1;
}

.metric-label {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

@keyframes heroLogoReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

  .hero-content,
  .hero-logo,
  .hero-copy,
  .hero-actions,
  .hero-panel {
    opacity: 1;
    transform: none;
  }
}

.section {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  padding: 112px 0;
}

.intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
}

.intro p {
  margin: 0;
  max-width: 870px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 330px;
  padding: 30px;
}

.service-number {
  display: inline-flex;
  margin-bottom: 80px;
  color: var(--quiet);
  font-weight: 750;
}

.service-card p,
.method-copy p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 130px;
}

.method-copy p {
  max-width: 520px;
  margin-top: 26px;
}

.timeline {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-soft);
}

.timeline-item span {
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--quiet);
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-item {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--glass-soft);
  backdrop-filter: blur(18px) saturate(150%);
}

.proof-item strong {
  font-size: 1.2rem;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  padding: 46px;
}

.contact h2 {
  max-width: 620px;
  margin-bottom: 24px;
}

.contact p {
  max-width: 570px;
}

.social-link,
.footer-social {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.social-link {
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
}

.social-link:hover,
.footer-social:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--quiet);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-style: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  outline: none;
  padding: 15px 17px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.14);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  width: min(calc(100% - 48px), 1160px);
  min-height: 104px;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  color: var(--quiet);
  font-size: 0.92rem;
}

.site-footer img {
  width: 150px;
  height: auto;
}

.footer-social {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
}

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

  .site-nav {
    display: none;
  }

  .brand {
    width: 196px;
  }

  .brand img {
    width: 180px;
    max-height: 36px;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    display: block;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    padding-top: 150px;
    padding-bottom: 72px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-panel div {
    min-height: 92px;
  }

  .intro,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .method-copy {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    top: 12px;
    width: calc(100% - 20px);
    min-height: 68px;
    gap: 10px;
    padding: 12px 12px 12px 16px;
  }

  .brand {
    width: clamp(132px, 46vw, 174px);
  }

  .brand img {
    width: 100%;
    max-height: 34px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-logo {
    width: min(100%, 460px);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.3rem);
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(calc(100% - 32px), 1160px);
    padding: 78px 0;
  }

  .intro {
    gap: 22px;
  }

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

  .service-card {
    min-height: 270px;
  }

  .service-number {
    margin-bottom: 52px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .proof-item {
    min-height: 170px;
  }

  .contact {
    padding: 26px;
  }

  .site-footer {
    width: min(calc(100% - 32px), 1160px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0;
  }
}
