:root {
  --color-black: #050505;
  --color-void: #0a0a09;
  --color-charcoal: #141413;
  --color-charcoal-2: #1e1f1c;
  --color-metal: #3e403a;
  --color-steel: #8d9185;
  --color-offwhite: #e8e1ce;
  --color-muted: #a9a18f;
  --color-hazard: #f3c318;
  --color-hazard-deep: #b98709;
  --color-rust: #7b3f22;
  --color-line: rgba(232, 225, 206, 0.16);
  --shadow-heavy: 0 28px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
  --nav-height: 76px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-offwhite);
  background:
    linear-gradient(rgba(243, 195, 24, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 195, 24, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(123, 63, 34, 0.22), transparent 32rem),
    linear-gradient(135deg, var(--color-black), var(--color-void) 45%, #0f100e);
  background-size: 84px 84px, 84px 84px, auto, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.024) 0,
      rgba(255, 255, 255, 0.024) 1px,
      transparent 1px,
      transparent 7px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%, rgba(0, 0, 0, 0.56));
  mix-blend-mode: screen;
  opacity: 0.28;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.35;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  transform: translateY(-150%);
  padding: 0.7rem 0.9rem;
  color: var(--color-black);
  background: var(--color-hazard);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(243, 195, 24, 0.2);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.72rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.brand-name {
  color: var(--color-offwhite);
  font-size: 0.92rem;
  font-weight: 760;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-hazard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--color-offwhite);
}

.nav-links a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(243, 195, 24, 0.54);
  color: var(--color-black);
  background: var(--color-hazard);
  box-shadow: 0 0 0 rgba(243, 195, 24, 0);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.nav-cta:hover,
.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(243, 195, 24, 0.18);
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--nav-height));
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.85)),
    repeating-linear-gradient(
      135deg,
      rgba(243, 195, 24, 0.045) 0,
      rgba(243, 195, 24, 0.045) 1px,
      transparent 1px,
      transparent 18px
    );
}

.hero-section::after {
  position: absolute;
  right: -12rem;
  bottom: -4rem;
  z-index: -1;
  width: 72rem;
  height: 20rem;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 195, 24, 0.08), transparent);
  transform: rotate(-12deg);
  filter: blur(1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: calc(100vh - var(--nav-height));
  margin: 0 auto;
  padding: 6rem 0 5.4rem;
  gap: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--color-hazard);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--color-offwhite);
  font-size: 7.2rem;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 0 34px rgba(243, 195, 24, 0.08),
    0 12px 56px rgba(0, 0, 0, 0.72);
}

h2 {
  color: var(--color-offwhite);
  font-size: 2.15rem;
  line-height: 1.05;
}

h3 {
  color: var(--color-offwhite);
  font-size: 1.16rem;
  line-height: 1.15;
}

.hero-subhead {
  margin-bottom: 1.1rem;
  color: var(--color-offwhite);
  font-size: 1.28rem;
  font-weight: 780;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  min-width: 178px;
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    var(--color-hazard);
}

.button-secondary {
  color: var(--color-offwhite);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(232, 225, 206, 0.26);
}

.hero-presence {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-logo {
  width: min(100%, 540px);
  aspect-ratio: 1;
  opacity: 0.72;
}

.calibration-lines {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(243, 195, 24, 0.2);
  background:
    linear-gradient(90deg, transparent 48%, rgba(243, 195, 24, 0.16) 48%, rgba(243, 195, 24, 0.16) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(243, 195, 24, 0.12) 48%, rgba(243, 195, 24, 0.12) 52%, transparent 52%);
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.62);
  opacity: 0.42;
}

.logo-slot {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 195, 24, 0.32);
  background:
    linear-gradient(145deg, rgba(243, 195, 24, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 9, 0.78);
  box-shadow:
    inset 0 0 20px rgba(243, 195, 24, 0.04),
    0 0 34px rgba(243, 195, 24, 0.12);
  overflow: hidden;
}

.hero-logo.logo-slot {
  border-color: rgba(243, 195, 24, 0.18);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(243, 195, 24, 0.06) 0,
      rgba(243, 195, 24, 0.06) 2px,
      transparent 2px,
      transparent 18px
    ),
    rgba(8, 8, 7, 0.45);
  animation: logoPulse 4.8s ease-in-out infinite;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  filter: drop-shadow(0 0 24px rgba(243, 195, 24, 0.18));
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.logo-slot.is-loaded {
  border-color: transparent;
  background: transparent;
}

.logo-slot.is-loaded img {
  opacity: 0.86;
  transform: scale(1);
}

.logo-slot.is-loaded .logo-fallback {
  opacity: 0;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0.4rem;
  color: var(--color-hazard);
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.logo-fallback-large {
  padding: 2rem;
  color: rgba(243, 195, 24, 0.42);
  font-size: 4.2rem;
  line-height: 0.92;
  text-shadow: 0 0 50px rgba(243, 195, 24, 0.18);
}

.hazard-divider {
  height: 42px;
  border-top: 1px solid rgba(243, 195, 24, 0.42);
  border-bottom: 1px solid rgba(243, 195, 24, 0.42);
  background: var(--color-black);
  overflow: hidden;
}

.hazard-divider span {
  display: block;
  width: 160%;
  height: 100%;
  background:
    repeating-linear-gradient(
      115deg,
      var(--color-hazard) 0 26px,
      var(--color-black) 26px 52px
    );
  transform: translateX(-52px);
  animation: hazardMove 12s linear infinite;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.availability-section,
.services-section,
.work-section {
  border-bottom: 1px solid var(--color-line);
}

.availability-section {
  background:
    linear-gradient(90deg, rgba(243, 195, 24, 0.07), transparent 44%),
    rgba(10, 10, 9, 0.72);
}

.availability-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 5rem 0;
  gap: 2.4rem;
}

.availability-grid p:last-child,
.section-heading p,
.service-card p,
.site-footer p {
  color: var(--color-muted);
}

.availability-grid p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.services-section {
  padding: 5.6rem 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--color-charcoal);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  gap: 0.6rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 225, 206, 0.2);
  color: var(--color-offwhite);
  background: rgba(5, 5, 5, 0.4);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.icon-button:hover {
  border-color: rgba(243, 195, 24, 0.5);
  color: var(--color-hazard);
}

.icon-button span {
  margin-top: -0.12rem;
  font-size: 1.8rem;
  line-height: 1;
}

.service-carousel {
  display: grid;
  grid-auto-columns: minmax(280px, 360px);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.15rem 0 1.1rem;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--color-hazard) rgba(255, 255, 255, 0.08);
}

.service-card {
  min-height: 430px;
  padding: 1rem;
  border: 1px solid rgba(232, 225, 206, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.12)),
    #11120f;
  box-shadow: var(--shadow-heavy);
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 195, 24, 0.32);
  background:
    linear-gradient(180deg, rgba(243, 195, 24, 0.055), rgba(0, 0, 0, 0.16)),
    #12130f;
}

.service-visual {
  display: grid;
  place-items: end start;
  min-height: 178px;
  margin-bottom: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(243, 195, 24, 0.22);
  background:
    linear-gradient(150deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(
      135deg,
      rgba(243, 195, 24, 0.18) 0,
      rgba(243, 195, 24, 0.18) 2px,
      transparent 2px,
      transparent 18px
    ),
    linear-gradient(135deg, #24261f, #090908);
}

.service-visual span {
  color: rgba(232, 225, 206, 0.28);
  font-size: 3.4rem;
  font-weight: 950;
  line-height: 0.8;
}

.service-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.34rem 0.48rem;
  border: 1px solid rgba(243, 195, 24, 0.28);
  color: var(--color-hazard);
  background: rgba(243, 195, 24, 0.06);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 0.72rem;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.work-section {
  padding: 5.6rem 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.52)),
    var(--color-void);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 390px;
  padding: 1.2rem;
  border: 1px solid rgba(232, 225, 206, 0.14);
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 12px
    ),
    linear-gradient(135deg, #20211d, #080807);
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
}

.work-panel::before {
  position: absolute;
  inset: 1rem;
  content: "";
  border: 1px solid rgba(243, 195, 24, 0.16);
}

.work-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 12px;
  content: "";
  background:
    repeating-linear-gradient(
      115deg,
      var(--color-hazard) 0 14px,
      var(--color-black) 14px 28px
    );
  opacity: 0.86;
}

.work-panel span {
  position: relative;
  z-index: 1;
  color: var(--color-offwhite);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 2.2rem 0;
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand {
  margin-bottom: 0.15rem;
  color: var(--color-offwhite);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.copyright {
  justify-self: end;
  font-size: 0.86rem;
}

@keyframes hazardMove {
  to {
    transform: translateX(0);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 38px rgba(243, 195, 24, 0.035),
      0 0 34px rgba(243, 195, 24, 0.08);
  }

  50% {
    box-shadow:
      inset 0 0 52px rgba(243, 195, 24, 0.075),
      0 0 64px rgba(243, 195, 24, 0.14);
  }
}

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

@media (min-width: 1280px) {
  h1 {
    font-size: 8.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 68px;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 0.72rem 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5rem 0 4rem;
  }

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

  h1 {
    font-size: 4.8rem;
  }

  .hero-presence {
    min-height: 360px;
    order: -1;
    opacity: 0.78;
  }

  .hero-logo {
    width: min(78vw, 390px);
  }

  .availability-grid {
    grid-template-columns: 1fr;
    padding: 4rem 0;
    gap: 0.4rem;
  }

  .section-heading {
    align-items: start;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-panel {
    min-height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand-name {
    max-width: 168px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0.64rem 0.76rem;
  }

  .nav-links {
    font-size: 0.72rem;
  }

  .hero-grid {
    padding-top: 3.8rem;
  }

  h1 {
    max-width: 7ch;
    font-size: 3.45rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-subhead {
    font-size: 1.05rem;
  }

  .hero-text {
    font-size: 0.97rem;
  }

  .button {
    width: 100%;
  }

  .hero-presence {
    min-height: 280px;
  }

  .logo-fallback-large {
    font-size: 2.5rem;
  }

  .section-heading {
    flex-direction: column;
    margin-bottom: 1.4rem;
  }

  .carousel-controls {
    align-self: stretch;
    justify-content: space-between;
  }

  .service-carousel {
    grid-auto-columns: minmax(260px, 88%);
  }

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