:root {
  color-scheme: dark;
  --bg: #050709;
  --bg-soft: #0b0e11;
  --surface: #101418;
  --surface-strong: #151a1f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f7f8;
  --soft: #c9d0d4;
  --muted: #8e989f;
  --accent: #72d9ff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-synthesis: none;
}

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

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-shell {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  height: 100%;
  margin: 0 auto;
}

.brand {
  font-size: 20px;
  line-height: 1;
  font-weight: 760;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.desktop-nav a,
.header-cta,
.button,
.text-link,
.case,
.contact-actions a,
footer a {
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 38px;
  border: 1px solid rgba(114, 217, 255, 0.7);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 680;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--accent);
  background: rgba(114, 217, 255, 0.08);
}

.mobile-menu {
  display: none;
}

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

.hero-shell {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  min-height: 660px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 58%;
  max-width: 690px;
  padding: 82px 0 70px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
}

h1 {
  margin-bottom: 14px;
  font-size: 94px;
  line-height: 0.95;
  font-weight: 770;
  letter-spacing: 0;
}

.hero-role {
  font-size: 35px;
  line-height: 1.24;
  font-weight: 680;
}

.mobile-break {
  display: none;
}

.experience {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.4;
}

.experience strong {
  color: var(--accent);
  font-size: 27px;
  line-height: 1;
  font-weight: 680;
}

.hero-statement {
  margin-top: 30px;
  color: var(--soft);
  font-size: 24px;
  line-height: 1.58;
  font-weight: 470;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1;
  font-weight: 680;
}

.button-primary {
  background: var(--accent);
  color: #031014;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a1e9ff;
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--soft);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--text);
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  overflow: hidden;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 52px rgba(0, 0, 0, 0.42));
}

.hero-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 40px), var(--max));
  min-height: 88px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.proof-strip > div {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 24px;
  text-align: center;
}

.proof-strip > div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  color: var(--accent);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 660;
}

.proof-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.section-kicker {
  margin-bottom: 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 38px;
}

.section-heading h2,
.about h2,
.stage-copy h2,
.contact h2 {
  font-size: 48px;
  line-height: 1.16;
  font-weight: 690;
  letter-spacing: 0;
}

.section-heading > div > p:last-child,
.about-copy p,
.stage-copy > p,
.contact > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.text-link {
  flex: 0 0 auto;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(114, 217, 255, 0.5);
  color: var(--soft);
  font-size: 14px;
  font-weight: 640;
}

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

.case {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.case:hover,
.case:focus-visible {
  border-color: rgba(114, 217, 255, 0.52);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.case > img {
  width: 100%;
  height: auto;
  background: #000;
}

.case-copy {
  display: grid;
  align-content: start;
  padding: 22px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.case-metrics {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 640;
}

.case-copy h3 {
  min-height: 66px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 620;
}

.case-copy em {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 620;
}

.about {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 94px;
  border-top: 1px solid var(--line);
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.about-copy .about-lead {
  color: var(--text);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 620;
}

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

.method-heading {
  margin-bottom: 34px;
}

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

.method-list article {
  display: grid;
  grid-template-columns: 54px 220px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.method-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
}

.method-list h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 650;
}

.method-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.stage-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 86px;
  padding: 104px max(20px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.stage-media {
  height: 600px;
  overflow: hidden;
}

.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.stage-copy {
  max-width: 590px;
}

.stage-copy > p {
  max-width: 560px;
  margin-top: 22px;
}

.stage-copy .text-link {
  display: inline-block;
  margin-top: 28px;
}

.contact {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 118px 0;
  text-align: center;
}

.contact > p {
  max-width: 650px;
  margin: 20px auto 0;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.contact-actions a {
  display: grid;
  gap: 9px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  text-align: left;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  border-color: rgba(114, 217, 255, 0.52);
}

.contact-actions span {
  color: var(--muted);
  font-size: 12px;
}

.contact-actions strong {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 640;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer a {
  color: var(--soft);
  font-size: 13px;
  font-weight: 620;
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: 120px 1fr 120px;
  }

  .desktop-nav {
    gap: 20px;
  }

  h1 {
    font-size: 78px;
  }

  .hero-role {
    font-size: 29px;
  }

  .section-heading h2,
  .about h2,
  .stage-copy h2,
  .contact h2 {
    font-size: 42px;
  }

  .about,
  .stage-section {
    gap: 52px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 58px;
  }

  .site-header {
    height: 58px;
  }

  .header-shell {
    grid-template-columns: 1fr auto auto;
    gap: 9px;
    width: calc(100% - 32px);
  }

  .brand {
    font-size: 18px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    min-width: 94px;
    height: 34px;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary:hover,
  .mobile-menu summary:focus-visible,
  .mobile-menu[open] summary {
    border-color: var(--line-strong);
    background: var(--surface-strong);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 42px;
    right: 0;
    display: grid;
    width: 176px;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    background: rgba(10, 13, 16, 0.99);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  }

  .mobile-menu-panel a {
    padding: 11px 12px;
    border-radius: 3px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 620;
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible {
    color: var(--text);
    background: rgba(114, 217, 255, 0.08);
  }

  .hero-shell {
    width: calc(100% - 32px);
    min-height: 560px;
    background: #131315;
  }

  .hero-copy {
    width: 100%;
    max-width: 218px;
    padding: 36px 0 28px;
  }

  .eyebrow {
    width: 260px;
    margin-bottom: 16px;
    font-size: 10px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: 58px;
  }

  .hero-role {
    font-size: 21px;
    line-height: 1.34;
  }

  .mobile-break {
    display: initial;
  }

  .experience {
    margin-top: 16px;
    font-size: 14px;
  }

  .experience strong {
    font-size: 22px;
  }

  .hero-statement {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    width: 190px;
    gap: 8px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  .hero-portrait {
    top: 0;
    right: 0;
    bottom: 0;
    left: 45%;
    width: auto;
    height: auto;
  }

  .hero-portrait img {
    position: absolute;
    top: 0;
    right: -12%;
    left: auto;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
  }

  .proof-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 148px;
    grid-template-columns: none;
    width: 100%;
    min-height: 80px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .proof-strip::-webkit-scrollbar {
    display: none;
  }

  .proof-strip > div {
    min-width: 0;
    padding: 14px 16px;
    scroll-snap-align: start;
  }

  .proof-strip > div + div {
    border-left: 1px solid var(--line);
  }

  .proof-strip strong {
    font-size: 17px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 74px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 20px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .about h2,
  .stage-copy h2,
  .contact h2 {
    font-size: 36px;
    line-height: 1.2;
  }

  .section-heading > div > p:last-child,
  .about-copy p,
  .stage-copy > p,
  .contact > p {
    font-size: 16px;
    line-height: 1.74;
  }

  .text-link {
    justify-self: start;
  }

  .case-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(268px, 82vw);
    grid-template-columns: none;
    gap: 12px;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .case-track::-webkit-scrollbar {
    display: none;
  }

  .case {
    scroll-snap-align: start;
  }

  .case-copy {
    padding: 17px;
  }

  .case-copy h3 {
    min-height: auto;
    font-size: 17px;
  }

  .case-metrics {
    font-size: 13px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-copy .about-lead {
    font-size: 21px;
  }

  .method-heading {
    margin-bottom: 24px;
  }

  .method-list article {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 23px 0;
  }

  .method-list h3 {
    font-size: 21px;
  }

  .method-list p {
    grid-column: 2;
  }

  .stage-section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 74px 16px;
  }

  .stage-media {
    height: 430px;
  }

  .stage-copy {
    max-width: none;
  }

  .contact {
    width: calc(100% - 32px);
    padding: 86px 0;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-actions strong {
    font-size: 18px;
  }

  footer {
    display: grid;
    width: calc(100% - 32px);
    gap: 12px;
    padding: 22px 0;
  }
}

@media (max-width: 420px) {
  .hero-shell {
    min-height: 560px;
  }

  .hero-portrait img {
    top: -2vw;
    right: auto;
    left: calc(-45vw + 68px);
    width: 100vw;
    height: auto;
  }
}

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

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