:root {
  --ink: #0a0d0f;
  --ink-2: #11171a;
  --paper: #f4f3ef;
  --paper-2: #e9e8e2;
  --white: #fff;
  --muted: #a9b1b4;
  --accent: #49c2ad;
  --accent-dark: #143832;
  --line: rgba(10, 13, 15, 0.12);
  --wrap: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(to bottom, rgba(6,9,10,.82), rgba(6,9,10,.12));
  transition: background .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled { background: rgba(7,10,11,.88); backdrop-filter: blur(14px); }
.brand { font-weight: 900; letter-spacing: .05em; font-size: 1.25rem; }
nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; color: #e8eded; }
nav a { opacity: .82; transition: opacity .2s ease; }
nav a:hover { opacity: 1; }
nav .nav-cta { border: 1px solid rgba(255,255,255,.4); padding: 9px 14px; border-radius: 999px; opacity: 1; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-media { object-position: center 45%; transform: scale(1.01); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(5,7,8,.86) 0%, rgba(5,7,8,.58) 46%, rgba(5,7,8,.18) 78%),
    linear-gradient(0deg, rgba(5,7,8,.88) 0%, transparent 36%, rgba(5,7,8,.28) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 170px 0 150px; }
.eyebrow { margin: 0 0 18px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: #89e1d2; }
.eyebrow.dark { color: #27766a; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3.2rem, 7.5vw, 7rem); line-height: .94; letter-spacing: -.055em; }
.hero-copy { max-width: 660px; margin-bottom: 34px; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; color: #e4e8e9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: .88rem; letter-spacing: .04em; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #07231e; }
.button-primary:hover { background: #69d5c2; }
.button-ghost { border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.05); }
.hero-meta { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; color: #c7cecf; font-size: .8rem; }
.hero-meta span { display: flex; gap: 8px; align-items: center; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section { padding: 110px 0; }
.services, .about { background: var(--paper); color: var(--ink); }
.section-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -28px; }
h2 { margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.section-intro > p:last-child { margin: 0; max-width: 600px; font-size: 1.08rem; line-height: 1.7; color: #4d5658; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { padding: 32px 30px 34px 0; min-height: 260px; }
.service-card + .service-card { padding-left: 30px; border-left: 1px solid var(--line); }
.service-index { display: block; margin-bottom: 70px; font-size: .72rem; font-weight: 800; color: #6e7779; }
.service-card h3 { margin-bottom: 14px; font-size: 1.45rem; }
.service-card p { margin: 0; line-height: 1.65; color: #596164; }

.case-study { background: var(--ink); }
.case-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; margin-bottom: 34px; }
.case-meta { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.case-meta span { border: 1px solid rgba(255,255,255,.18); padding: 9px 13px; border-radius: 999px; color: #cbd2d3; font-size: .8rem; }
.case-lead { max-width: 770px; margin-bottom: 58px; font-size: 1.15rem; line-height: 1.7; color: #b8c1c3; }
.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.progress-card { margin: 0; background: var(--ink-2); overflow: hidden; }
.progress-card img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.progress-card:hover img { transform: scale(1.025); }
.progress-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 17px 18px 20px; }
.progress-card figcaption span { text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; color: #8be0d2; }
.progress-card figcaption small { color: #7f8a8d; }
.video-block { margin-top: 72px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: center; }
.video-copy h3 { margin-bottom: 14px; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.03em; }
.video-copy p:not(.eyebrow) { color: #9fa9ab; line-height: 1.7; }
.video-block video { border-radius: 3px; background: #000; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.detail-grid { margin-top: 14px; display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 12px; }
.detail-grid img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy > p { font-size: 1.08rem; line-height: 1.75; color: #4f595b; }
.credential-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.credential-grid div { padding-top: 20px; }
.credential-grid strong, .credential-grid span { display: block; }
.credential-grid strong { font-size: .98rem; }
.credential-grid span { margin-top: 7px; color: #737c7e; font-size: .78rem; line-height: 1.4; }

.contact { padding: 120px 0; background: #10191a; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.contact-copy p { max-width: 560px; color: #abb5b7; line-height: 1.7; font-size: 1.05rem; }
.contact-copy .button { margin-top: 16px; }
.coverage { margin-top: 20px !important; font-size: .82rem !important; color: #6f7d7f !important; }

footer { background: #070a0b; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #788385; font-size: .75rem; }
.footer-inner a { color: #b7c0c2; }

@media (max-width: 900px) {
  :root { --wrap: min(100% - 32px, 720px); }
  .site-header { height: 66px; padding-inline: 18px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 92svh; }
  .hero-content { padding: 140px 0 140px; }
  h1 { font-size: clamp(3rem, 14vw, 5.6rem); }
  .hero-shade { background: linear-gradient(0deg, rgba(5,7,8,.92) 0%, rgba(5,7,8,.56) 62%, rgba(5,7,8,.28) 100%); }
  .hero-meta { width: var(--wrap); gap: 12px; flex-wrap: wrap; }
  .section { padding: 82px 0; }
  .section-intro, .case-heading, .about-grid, .contact-grid, .video-block { grid-template-columns: 1fr; gap: 28px; }
  .section-intro .eyebrow { margin-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 25px 0; min-height: auto; }
  .service-card + .service-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-index { margin-bottom: 28px; }
  .case-meta { justify-content: flex-start; }
  .progress-grid { grid-template-columns: 1fr; gap: 16px; }
  .progress-card figcaption { padding: 14px 15px 18px; }
  .video-block { margin-top: 54px; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid img:first-child { grid-column: 1 / -1; }
  .credential-grid { grid-template-columns: 1fr; gap: 20px; }
  .credential-grid div + div { padding-top: 20px; border-top: 1px solid var(--line); }
  .footer-inner { padding: 24px 0; min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-meta { font-size: .72rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid img:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
