:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --surface: rgba(8, 16, 30, 0.72);
  --surface-strong: rgba(9, 20, 36, 0.92);
  --text: #edf3ff;
  --muted: #9fb0cb;
  --line: rgba(170, 192, 232, 0.18);
  --line-strong: rgba(196, 213, 244, 0.34);
  --accent: #d35300;
  --accent-deep: #9c3d00;
  --shadow: 0 30px 80px rgba(1, 7, 16, 0.4);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(211, 83, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #091522 34%, #050c16 100%);
  line-height: 1.55;
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header,
.section,
.site-footer,
.partner-band {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.92), rgba(8, 16, 30, 0.55));
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(2.5rem, 4vw, 3.2rem);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 5.25rem);
  padding: 1rem 0 3rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  filter: blur(14px);
  opacity: 0.85;
}

.beam-a {
  top: 8%;
  right: -10%;
  width: 48rem;
  height: 48rem;
  background: radial-gradient(circle, rgba(211, 83, 0, 0.28), transparent 58%);
  animation: drift 16s ease-in-out infinite;
}

.beam-b {
  bottom: -18%;
  left: -8%;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(71, 116, 255, 0.24), transparent 62%);
  animation: driftReverse 18s ease-in-out infinite;
}

.grid-haze {
  position: absolute;
  inset: 10% 4% 0;
  border-radius: 2rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 86%);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: end;
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  padding-top: clamp(2.5rem, 6vh, 5rem);
}

.hero-copy {
  max-width: 44rem;
}

.hero-kicker,
.section-eyebrow,
.panel-label,
.service-index {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  margin: 0;
  font-weight: 700;
}

h1 {
  margin-top: 1rem;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.section-heading h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-lead,
.approach-copy p,
.contact-card p,
.service-item p,
.intro-band p {
  color: var(--muted);
}

.hero-lead {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.55vw, 1.15rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #e1732a;
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(14, 27, 47, 0.82), rgba(8, 16, 30, 0.78));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.25rem;
  justify-self: end;
  width: min(100%, 22rem);
  backdrop-filter: blur(18px);
}

.signal-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.signal-list li:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.intro-band {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 2rem;
}

.intro-band p {
  max-width: 44rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
}

.partner-band {
  padding: 0 0 1rem;
}

.partner-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.partner-copy h2 {
  margin-top: 0.75rem;
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.partner-copy p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.partner-mark {
  display: flex;
  justify-content: flex-end;
}

.partner-mark img {
  width: min(100%, 320px);
  height: auto;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(1, 7, 16, 0.28);
}

.section {
  padding: 6rem 0;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

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

.service-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.service-item p:last-child {
  max-width: 40rem;
  margin: 0.8rem 0 0;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.approach-copy p {
  max-width: 28rem;
  margin: 0;
  font-size: 1.1rem;
}

.approach-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.approach-list li {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.approach-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.approach-list strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.section-contact {
  padding-bottom: 7rem;
}

.contact-card {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.contact-card h2 {
  margin-top: 0.8rem;
  max-width: 16ch;
}

.contact-card p {
  max-width: 36rem;
  margin: 1rem 0 0;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.site-footer p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 700ms cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 100ms;
}

.reveal-delay-2 {
  animation-delay: 200ms;
}

.reveal-delay-3 {
  animation-delay: 300ms;
}

.reveal-delay-4 {
  animation-delay: 420ms;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2rem, 1.5rem, 0) scale(1.05);
  }
}

@keyframes driftReverse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5rem, -1rem, 0) scale(0.96);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-inner,
  .approach-layout,
  .partner-band-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  h2 {
    max-width: 13ch;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .site-footer,
  .hero-inner,
  .intro-band,
  .partner-band {
    width: min(100% - 1.4rem, var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
  }

  .brand-logo {
    height: 2.35rem;
  }

  .site-nav {
    gap: 0.9rem 1rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-inner {
    padding-top: 3rem;
    gap: 1.5rem;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-panel,
  .contact-card {
    border-radius: 1.25rem;
  }

  .partner-mark {
    justify-content: flex-start;
  }

  .section {
    padding: 4.5rem 0;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
