:root {
  --bg: #14181f;
  --raise: #1b212b;
  --line: #313a46;
  --text: #f4f1ea;
  --muted: #b7c0ca;
  --accent: #ef5b2a;
  --accent-ink: #1a100c;
  --focus: #ffb296;
  --max: 72rem;
  --header: 4.5rem;
  --sans: "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 0.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--focus);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  min-height: var(--header);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: var(--header);
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.mark {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--accent);
  flex: none;
}

.brand-name {
  display: block;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem 0.75rem;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.hero-photo {
  background: #2a5f9a;
}

.hero-photo img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 50%;
}

@media (max-width: 48rem) {
  .hero-photo img {
    height: min(68vw, 20rem);
    max-height: none;
    object-position: center 34%;
  }
}

.hero-copy {
  padding-block: 3.25rem 1rem;
}

.block-label {
  margin-top: 2.25rem;
}

.kicker,
.section-index {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.4rem, 6vw, 4.35rem);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.rule {
  width: 3.5rem;
  height: 3px;
  margin: 1.35rem 0 1.5rem;
  background: var(--accent);
  border: 0;
}

.lede,
.quote p {
  max-width: 40rem;
}

.quote {
  margin: 0;
  max-width: 38rem;
}

.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.4;
}

.by {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

section {
  padding-block: 3.5rem;
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

section + section,
.site-footer {
  border-top: 1px solid var(--line);
}

.intro {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: var(--text);
}

.muted,
.note,
figcaption,
.placeholder p,
.faq p,
.career li span,
.hours dt {
  color: var(--muted);
}

.spec {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 48rem) {
  .spec {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.spec div {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.spec dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.spec dd {
  margin: 0.35rem 0 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 2.5rem;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.98rem;
}

caption {
  caption-side: top;
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

thead th {
  background: var(--raise);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.faq h3 {
  font-size: 1.05rem;
}

.faq p {
  margin: 0.2rem 0 0;
}

.gallery {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 52rem) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery .wide {
    grid-column: 1 / -1;
  }
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  background: #0d1116;
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.ui-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 20rem);
  gap: 1rem;
  margin: 0;
  padding: 0 0 0.75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.ui-strip li {
  scroll-snap-align: start;
}

.ui-strip a {
  color: inherit;
  text-decoration: none;
}

.ui-strip img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  background: #161616;
}

.ui-strip p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0 0 1.75rem;
  max-width: 22rem;
  font-variant-numeric: tabular-nums;
}

.hours dt {
  margin: 0;
}

.hours dd {
  margin: 0;
  text-align: right;
  font-family: var(--mono);
}

.career {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  max-width: 42rem;
}

.career li {
  display: grid;
  gap: 0.15rem 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .career li {
    grid-template-columns: 8.5rem 1fr;
  }
}

.career strong {
  font-weight: 640;
}

.placeholder {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--accent);
  background: var(--raise);
}

.placeholder + .placeholder {
  margin-top: 1rem;
}

.placeholder p {
  margin: 0.35rem 0 0;
}

.placeholder strong {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-top: 1.25rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #10141a;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.button {
  justify-self: start;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 680;
  cursor: pointer;
}

.button:hover {
  background: var(--focus);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding-block: 1.75rem 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--muted);
}

.result {
  padding-block: 4rem 6rem;
  max-width: 40rem;
}

.result p {
  max-width: 38rem;
}

@media (max-width: 40rem) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero-copy {
    padding-top: 2.25rem;
  }

  section {
    padding-block: 2.75rem;
  }

  .button {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .status,
  .button,
  .mark,
  figure img,
  .ui-strip img {
    border: 1px solid ButtonText;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo {
  margin: 2rem 0;
}

.demo .video-embed {
  margin-top: 0.75rem;
}
