:root {
  color-scheme: light;
  --ink: #142824;
  --muted: #465d55;
  --paper: #f5f6ef;
  --accent: #d6f28d;
  --line: rgb(20 40 36 / 16%);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
p, dd { text-wrap: pretty; }
h1, h2 { text-wrap: balance; font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }

.frame {
  width: min(100% - 2 * clamp(1.25rem, 6vw, 5.5rem), 82rem);
  margin-inline: auto;
}

.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-row { min-height: 4.5rem; }
.wordmark { font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.wordmark span { font-weight: 400; letter-spacing: .13em; }
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a, .mobile-nav a, .footer-row a { text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover, .footer-row a:hover { text-decoration: underline; }
.mobile-nav { display: none; }

.hero {
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 71svh, 49rem);
  position: relative;
  isolation: isolate;
  background: #11251f;
  color: #f5f6ef;
}

.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image { object-fit: cover; object-position: center 52%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgb(9 26 22 / 96%), rgb(9 26 22 / 73%) 42%, transparent 100%),
    linear-gradient(0deg, rgb(9 26 22 / 50%), transparent 60%);
}

.hero-copy { padding-block: clamp(3.5rem, 9vw, 7rem); }
.label {
  font: 500 .82rem/1.4 ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero .label { color: var(--accent); }
h1 { font-size: clamp(3.25rem, 7.3vw, 7rem); max-width: 11ch; margin-top: 1.25rem; }
.intro { max-width: 39ch; line-height: 1.6; font-size: 1.13rem; margin-top: 1.4rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--accent);
  color: var(--ink);
  min-height: 3rem;
  padding: .75rem 1rem;
  margin-top: 2rem;
  text-decoration: none;
  font-weight: 700;
}
.button:focus-visible { outline-color: var(--accent); }
.button:hover { background: #edffc0; }

.section { padding-block: clamp(3rem, 8vw, 6rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.platform h2 { margin-top: .65rem; }
.section p:not(.label), dd { max-width: 48ch; color: var(--muted); line-height: 1.65; font-size: 1.08rem; }
.industries { background: #e9eee3; }
.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.industry-list div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
dt { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
footer { background: var(--ink); color: var(--paper); }
.footer-row { padding-block: 1.75rem; align-items: baseline; }
.footer-row p { color: #d6dfd5; }
.footer-row a { flex-shrink: 0; }

@media (max-width: 44rem) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; padding-block: .8rem; }
  .mobile-nav nav {
    position: absolute;
    z-index: 1;
    right: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    min-width: 10rem;
  }
  .mobile-nav a { display: block; padding: .8rem 1rem; }
  .hero-image { object-position: 62% center; }
  .hero::after { background: linear-gradient(0deg, #091a16 4%, rgb(9 26 22 / 72%) 62%, rgb(9 26 22 / 26%)); }
  .split, .industry-list { grid-template-columns: 1fr; }
  .split, .industry-list { gap: 1.3rem; }
  .footer-row { flex-wrap: wrap; }
}

.hero { overflow: clip; }
.hero-scan { display: none; }
.button { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    transform-origin: 68% 55%;
    animation: camera-pullback 3.2s cubic-bezier(.16, 1, .3, 1) both;
  }

  .hero-scan {
    display: block;
    position: absolute;
    inset: 0 0 0 32%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgb(214 242 141 / 15%) 0 1px, transparent 1px 5px);
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
    animation: rack-scan 2.8s .35s ease-in-out both;
  }

  .hero-copy > * { animation: hero-arrival .95s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy h1 { animation-delay: .12s; }
  .hero-copy .intro { animation-delay: .26s; }
  .hero-copy .button { animation-delay: .4s; }
  .hero-copy .button:focus-visible { animation: none; }

  .button::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 76%) 50%, transparent 75%);
    transform: translateX(-120%);
  }

  .button:is(:hover, :focus-visible)::after { animation: button-sheen .65s ease-out; }

  @supports (animation-timeline: view()) {
    .section .split > *, .industries h2, .industry-list > div {
      animation: section-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }

    .industry-list > div:nth-child(2) { animation-range: entry 8% entry 94%; }
    .industry-list > div:nth-child(3) { animation-range: entry 16% entry 100%; }
  }
}

@keyframes camera-pullback {
  from { transform: scale(1.19); filter: saturate(.65) brightness(.75); }
  to { transform: scale(1); filter: none; }
}

@keyframes rack-scan {
  0% { opacity: 0; clip-path: polygon(0 0, 12% 0, 0 100%, 0 100%); }
  28%, 65% { opacity: .85; }
  100% { opacity: 0; clip-path: polygon(100% 0, 100% 0, 100% 100%, 80% 100%); }
}

@keyframes hero-arrival {
  from { opacity: 0; transform: translateY(1.8rem); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(-.5rem); }
}

@keyframes button-sheen {
  to { transform: translateX(120%); }
}

@keyframes section-arrival {
  from { opacity: .48; transform: translateY(1.6rem); }
  to { opacity: 1; transform: translateY(0); }
}
