@font-face {
  font-family: "Chakra Petch Local";
  src: url("assets/fonts/ChakraPetch-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  --orange: #f39a35;
  --navy: #313e49;
  --navy-deep: #26323c;
  --white: #ffffff;
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.16);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection { background: var(--orange); color: var(--navy-deep); }

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(28px, 4.4vw, 72px) clamp(26px, 5.6vw, 92px) clamp(24px, 3.4vw, 54px);
  background:
    radial-gradient(circle at 82% 54%, rgba(255,255,255,.045), transparent 27%),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 42%),
    var(--navy);
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  right: -25vw;
  top: -28vw;
  border: 1px solid rgba(243,154,53,.15);
  border-radius: 50%;
}

.site-header,
.hero { position: relative; z-index: 2; }

.brand {
  display: inline-flex;
  width: clamp(170px, 15vw, 250px);
  text-decoration: none;
}

.brand img { display: block; width: 100%; height: auto; }

.hero {
  align-self: center;
  max-width: 760px;
  padding: clamp(60px, 10vh, 124px) 0 clamp(50px, 8vh, 96px);
}

.eyebrow {
  display: block;
  margin: 0 0 26px;
  color: rgba(255,255,255,.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 5.6vw, 92px);
  font-weight: 250;
  letter-spacing: -.02em;
  line-height: .92;
}

h1 em {
  position: relative;
  display: inline-block;
  color: #111111;
  font-family: "Chakra Petch Local", "Chakra Petch", sans-serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: -.035em;
  padding: .01em .18em .075em;
  margin-left: -.02em;
  line-height: .9;
  z-index: 1;
}

h1 em::before {
  content: "";
  position: absolute;
  inset: -.03em -.04em -.08em -.04em;
  background: var(--orange);
  border-radius: 6px;
  transform: skew(-7deg) rotate(-.8deg);
  z-index: -1;
}

.intro {
  max-width: 470px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.65;
}

.status {
  display: inline-block;
  margin: 30px 0 0;
  font-size: clamp(18px, 1.7vw, 27px);
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #c85a20, var(--orange), #ffd1a6, var(--orange), #c85a20);
  background-size: 250% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(243,154,53,.34);
  animation: orangeTextFlow 5s linear infinite, softGlow 2.8s ease-in-out infinite;
}

.hardware-object {
  position: absolute;
  z-index: 1;
  right: clamp(-140px, -6vw, -64px);
  top: 52%;
  width: min(36vw, 570px);
  height: clamp(56px, 5vw, 80px);
  transform: translateY(-50%) rotate(-8deg);
  opacity: .95;
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.26));
}

.hardware-face {
  position: absolute;
  inset: 0 28px 0 0;
  border-radius: 10px 6px 6px 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02) 32%, rgba(0,0,0,.12)),
    linear-gradient(90deg, #42515e, #2b3741 70%, #222c34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.36);
}

.hardware-face::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 8%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(243,154,53,.8), transparent);
  opacity: .75;
}

.hardware-edge {
  position: absolute;
  right: 0;
  top: 9px;
  width: 42px;
  height: calc(100% - 18px);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, #1f2930, #455460 72%, #28343d);
  transform: skewY(-12deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}


@keyframes orangeTextFlow {
  0% { background-position: 0% center; }
  100% { background-position: 250% center; }
}

@keyframes softGlow {
  0%, 100% {
    opacity: .86;
    text-shadow: 0 0 10px rgba(243,154,53,.24);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 24px rgba(243,154,53,.52);
  }
}

@media (max-width: 900px) {
  .hardware-object {
    right: -20vw;
    width: 52vw;
    opacity: .55;
  }
}

@media (max-width: 640px) {
  .site-shell {
    min-height: 100svh;
    padding: 24px 22px 20px;
    background:
      radial-gradient(circle at 70% 69%, rgba(255,255,255,.045), transparent 31%),
      var(--navy);
  }

  .site-shell::before {
    width: 95vw;
    right: -58vw;
    top: -30vw;
  }

  .brand { width: 158px; }

  .hero {
    align-self: center;
    padding: 52px 0 80px;
  }

  .eyebrow { margin-bottom: 20px; font-size: 9px; }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: .92;
  }

  .intro {
    max-width: 92%;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
  }

  .status { margin-top: 26px; font-size: 17px; font-weight: 950; letter-spacing: .18em; }

  .hardware-object {
    width: 82vw;
    height: 52px;
    right: -33vw;
    top: auto;
    bottom: 14%;
    transform: rotate(-10deg);
    opacity: .33;
  }

}

@media (max-height: 680px) and (max-width: 640px) {
  .hero { padding: 36px 0 48px; }
  .brand { width: 142px; }
  .intro { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
