@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #070b09;
  --ink-soft: #0e1410;
  --panel: #121913;
  --line: rgba(226, 210, 173, 0.16);
  --line-strong: rgba(226, 210, 173, 0.3);
  --champagne: #e1c18d;
  --champagne-light: #f1dfbe;
  --forest: #354734;
  --sage: #9da98d;
  --white: #f6f4ee;
  --muted: #abaea4;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --geometric: "Orbitron", "Avenir Next", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--ink);
}

html.hero-transitioning {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4.2vw, 64px);
  background: linear-gradient(180deg, rgba(4, 8, 6, 0.3) 0%, transparent 100%);
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-nav.scrolled {
  background: rgba(6, 10, 8, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  will-change: opacity, transform;
}

.brand img {
  width: 39px;
  height: 43px;
  object-fit: contain;
}

.wordmark {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark strong,
.wordmark small {
  display: block;
  font-style: normal;
  letter-spacing: 0;
}

.brand-wordmark strong {
  font-family: var(--geometric);
  font-size: 0.86rem;
  font-weight: 710;
  color: var(--white);
}

.brand-wordmark small {
  font-family: var(--geometric);
  margin-top: 7px;
  font-size: 0.62rem;
  font-weight: 540;
  color: var(--champagne-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  font-size: 0.88rem;
  color: rgba(246, 244, 238, 0.78);
}

.nav-links a:not(.nav-action) {
  transition: color 180ms ease;
}

.nav-links a:not(.nav-action):hover {
  color: var(--champagne-light);
}

.nav-action {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  color: var(--champagne-light);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-action:hover {
  background: rgba(225, 193, 141, 0.08);
  border-color: rgba(225, 193, 141, 0.56);
}

.scroll-hero {
  position: relative;
  background: #020403;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #020403 url("assets/images/hero-poster.jpg") center center / cover no-repeat;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.015);
}

.hero-shade {
  --copy-shade: 0.66;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 45%, transparent 24%, rgba(2, 5, 3, 0.07) 72%, rgba(2, 5, 3, 0.25) 100%),
    linear-gradient(0deg, rgba(3, 6, 4, 0.31) 0%, transparent 28%, rgba(3, 6, 4, 0.16) 100%);
  pointer-events: none;
}

.hero-shade::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--copy-shade);
  background: linear-gradient(90deg, rgba(3, 7, 5, 0.9) 0%, rgba(3, 7, 5, 0.72) 27%, rgba(3, 7, 5, 0.06) 57%, transparent 72%);
  transition: opacity 220ms var(--ease);
}

.scene {
  position: absolute;
  z-index: 2;
  left: clamp(23px, 6.4vw, 98px);
  top: 50%;
  width: min(520px, calc(100vw - 54px));
  opacity: 0;
  transform: translateY(calc(-50% + 20px));
  pointer-events: none;
  will-change: opacity, transform;
}

.scene-opening {
  opacity: 1;
  transform: translateY(-50%);
}

.hero-identity {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 21px);
  margin-bottom: clamp(33px, 4.4vh, 45px);
}

.hero-logo {
  display: block;
  width: clamp(57px, 4.9vw, 70px);
  height: clamp(64px, 5.55vw, 78px);
  object-fit: contain;
}

.hero-wordmark strong {
  font-family: var(--geometric);
  font-size: clamp(1.4rem, 1.75vw, 1.65rem);
  font-weight: 760;
  color: var(--white);
}

.hero-wordmark small {
  font-family: var(--geometric);
  margin-top: clamp(7px, 0.66vw, 9px);
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  font-weight: 560;
  color: var(--champagne-light);
}

.scene h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 4.7vw, 4.45rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 23px;
}

.scene h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.35rem, 3.7vw, 3.65rem);
  line-height: 1.1;
  margin: 15px 0 22px;
  color: var(--white);
}

.scene > p:not(.scene-label) {
  max-width: 440px;
  font-size: clamp(1rem, 1.24vw, 1.12rem);
  line-height: 1.7;
  color: rgba(246, 244, 238, 0.78);
}

.scene-label,
.kicker {
  font-size: 0.76rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 600;
}

.hero-link {
  pointer-events: auto;
  min-height: 50px;
  margin-top: 35px;
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  background: var(--champagne);
  color: #13160f;
  font-size: 0.91rem;
  font-weight: 600;
  transition: background 180ms ease;
}

.hero-link:hover {
  background: var(--champagne-light);
}

.journey-progress {
  position: absolute;
  z-index: 3;
  bottom: clamp(30px, 5vh, 47px);
  right: clamp(22px, 4.2vw, 64px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.73rem;
  color: rgba(246, 244, 238, 0.65);
}

.progress-track {
  display: block;
  width: clamp(82px, 10vw, 142px);
  height: 1px;
  background: rgba(246, 244, 238, 0.25);
}

.progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--champagne);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: clamp(30px, 5vh, 47px);
  left: clamp(23px, 6.4vw, 98px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(246, 244, 238, 0.56);
  font-size: 0.76rem;
  transition: opacity 280ms ease;
}

.scroll-cue i {
  width: 32px;
  height: 1px;
  background: var(--champagne);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 100%;
  background: #fff;
  animation: glide 1.8s ease infinite;
}

.hero-stops {
  position: relative;
  pointer-events: none;
}

.hero-stop {
  display: block;
  height: 100svh;
  min-height: 560px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@keyframes glide {
  from { transform: translateX(-14px); }
  to { transform: translateX(34px); }
}

.inner {
  width: min(1200px, calc(100% - clamp(44px, 9vw, 128px)));
  margin: 0 auto;
}

.intro-band {
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  padding: clamp(76px, 10vw, 120px) 0 clamp(68px, 9vw, 106px);
  display: grid;
  grid-template-columns: 0.45fr 1.4fr 1fr;
  gap: clamp(24px, 4vw, 62px);
  align-items: start;
}

.section-heading h2,
.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--white);
}

.intro-grid h2 {
  font-size: clamp(2.35rem, 3.25vw, 3.3rem);
  line-height: 1.14;
}

.intro-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.credentials {
  grid-column: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.credentials span {
  border: 1px solid var(--line);
  padding: 14px 21px;
  color: rgba(246, 244, 238, 0.78);
  font-size: 0.88rem;
}

.services {
  padding: clamp(66px, 8vw, 98px) 0;
  scroll-margin-top: 80px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 2.4fr;
  gap: clamp(24px, 4vw, 62px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 54px);
}

.section-heading h2 {
  max-width: 670px;
  font-size: clamp(2.2rem, 3.2vw, 3.25rem);
  line-height: 1.13;
}

.services-summary {
  max-width: 600px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-grid article {
  min-height: 205px;
  padding: clamp(27px, 3vw, 32px) clamp(19px, 2.5vw, 28px) clamp(26px, 3vw, 31px) 0;
  border-bottom: 1px solid var(--line);
}

.service-grid article:not(:nth-child(4n + 1)) {
  padding-left: clamp(19px, 2.5vw, 28px);
  border-left: 1px solid var(--line);
}

.service-number {
  color: var(--champagne);
  font-size: 0.8rem;
}

.service-grid h3 {
  font-size: 1.09rem;
  font-weight: 500;
  margin: 26px 0 12px;
}

.service-grid p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.62;
  max-width: 300px;
}

.service-flow {
  margin-top: clamp(28px, 4vw, 38px);
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(246, 244, 238, 0.72);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-flow strong {
  flex: 0 0 auto;
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
  padding: clamp(78px, 10vw, 120px) 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.1fr;
  gap: clamp(44px, 8vw, 108px);
}

.workflow-title h2 {
  font-size: clamp(2.35rem, 3.55vw, 3.45rem);
  line-height: 1.16;
  margin: 21px 0 24px;
}

.workflow-title > p:last-child {
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.72;
  max-width: 450px;
}

.workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 21px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.workflow-steps li:last-child {
  margin-bottom: 0;
}

.workflow-steps span {
  color: var(--champagne);
  font-size: 0.78rem;
  padding-top: 4px;
}

.workflow-steps h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.workflow-steps p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.systems {
  padding: clamp(78px, 10vw, 122px) 0;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.98fr;
  column-gap: clamp(44px, 8vw, 116px);
  row-gap: 48px;
}

.systems-grid h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.45rem);
  line-height: 1.14;
  margin-top: 20px;
}

.systems-copy {
  padding-top: 38px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.systems-points {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.systems-points span {
  padding: 27px 20px 0 0;
  color: rgba(246, 244, 238, 0.76);
  font-size: 0.94rem;
}

.systems-points span + span {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 36px);
}

.contact {
  background: var(--panel);
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.contact-inner {
  min-height: calc(100svh - 72px);
  padding: clamp(60px, 8vw, 88px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-logo {
  width: 54px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 30px;
}

.contact h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.65rem);
  line-height: 1.1;
  margin: 20px 0 14px;
}

.contact-copy {
  color: var(--muted);
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.72;
}

.contact-methods {
  margin-top: clamp(31px, 4vw, 39px);
  display: flex;
  gap: 12px;
}

.contact-methods a {
  min-width: min(310px, calc(50vw - 34px));
  padding: 17px 22px 19px;
  border: 1px solid var(--line);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-methods a:hover {
  background: rgba(225, 193, 141, 0.06);
  border-color: rgba(225, 193, 141, 0.46);
}

.contact-methods span {
  display: block;
  margin-bottom: 10px;
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--white);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 500;
}

.footer {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(22px, 4.2vw, 64px);
  color: rgba(246, 244, 238, 0.5);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .site-nav {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 18px;
  }

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

  .hero-film {
    object-position: 78% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(3, 7, 5, 0.48) 0%, rgba(3, 7, 5, 0.11) 39%, transparent 63%, rgba(3, 7, 5, 0.09) 100%),
      radial-gradient(circle at 34% 33%, transparent 0%, rgba(2, 5, 3, 0.13) 88%);
  }

  .hero-shade::before {
    background: linear-gradient(0deg, rgba(3, 7, 5, 0.92) 0%, rgba(3, 7, 5, 0.69) 27%, rgba(3, 7, 5, 0.1) 47%, transparent 62%);
  }

  .scene {
    top: auto;
    bottom: clamp(52px, 7vh, 62px);
    left: 22px;
    transform: translateY(18px);
    width: min(550px, calc(100vw - 44px));
  }

  .scene-opening {
    transform: none;
  }

  .hero-identity {
    gap: 12px;
    margin-bottom: 19px;
  }

  .hero-logo {
    width: clamp(42px, 11.6vw, 49px);
    height: clamp(47px, 13vw, 55px);
  }

  .hero-wordmark strong {
    font-size: clamp(1.26rem, 3.75vw, 1.44rem);
  }

  .hero-wordmark small {
    font-size: clamp(0.7rem, 2.1vw, 0.82rem);
  }

  .scene h1 {
    font-size: clamp(2rem, 7.6vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .scene h2 {
    font-size: clamp(1.75rem, 6.6vw, 2.35rem);
    margin: 10px 0 14px;
  }

  .scene > p:not(.scene-label) {
    font-size: clamp(0.94rem, 3.6vw, 1.04rem);
  }

  .hero-link {
    min-height: 46px;
    margin-top: 24px;
    font-size: 0.88rem;
  }

  .journey-progress {
    bottom: clamp(22px, 3.5vh, 32px);
    right: 18px;
    gap: 9px;
    font-size: 0.68rem;
  }

  .progress-track {
    width: clamp(52px, 15vw, 80px);
  }

  .scroll-cue {
    bottom: clamp(22px, 3.5vh, 32px);
    left: 22px;
    gap: 10px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading .kicker {
    margin-bottom: 4px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }

  .service-grid article:nth-child(even) {
    padding-left: clamp(16px, 4vw, 24px);
    border-left: 1px solid var(--line);
  }

  .contact-methods {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
  }

  .contact-methods a {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    padding-left: 0 !important;
    border-left: none !important;
  }
}
