:root {
  color-scheme: dark;
  --bg: #070911;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(103, 232, 249, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --line-accent: rgba(103, 232, 249, 0.22);
  --accent: #67e8f9;
  --ink: #e8eef7;
  --ink-bright: #ffffff;
  --muted: #a3b4c9;
  --dim: #8195ad;
  --shell: min(1120px, calc(100% - 44px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #062730;
  padding: 10px 16px;
  z-index: 10;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 14px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 26px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* The art already falls away to near-black on its left, so the scrim only has
   to finish the job rather than flatten the picture. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/hero-9a44dc2b69b7.webp");
  background-size: cover;
  background-position: 78% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    var(--bg) 0%,
    rgba(7, 9, 17, 0.94) 30%,
    rgba(7, 9, 17, 0.62) 52%,
    rgba(7, 9, 17, 0.12) 78%,
    rgba(7, 9, 17, 0.3) 100%
  );
}

.hero .shell {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 62vw, 640px);
  padding: clamp(52px, 7vw, 88px) 0;
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(103, 232, 249, 0.32);
  background: rgba(103, 232, 249, 0.07);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 0 0 22px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  color: var(--ink-bright);
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  background: rgba(103, 232, 249, 0.1);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.button:hover {
  background: rgba(103, 232, 249, 0.18);
  text-decoration: none;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */

section {
  padding: clamp(52px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--ink-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 36px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
}

.section-copy {
  margin: 0 0 18px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
}

.section-copy:last-of-type {
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 28px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-bright);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 14px;
  text-transform: uppercase;
}

/* Full-bleed statement band */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/play-cbe7a6b1886d.webp");
  background-size: cover;
  background-position: 74% center;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    var(--bg) 0%,
    rgba(7, 9, 17, 0.93) 32%,
    rgba(7, 9, 17, 0.58) 54%,
    rgba(7, 9, 17, 0.1) 80%
  );
}

.band .shell {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 46vw, 460px);
  padding: clamp(48px, 6vw, 72px) 0;
}

.band-copy {
  max-width: 32rem;
}

.band-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* Company and contact */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.fact {
  background: var(--panel-strong);
  border: 1px solid var(--line-accent);
  border-radius: 14px;
  padding: 26px 24px;
}

.fact h2,
.fact h3 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.fact dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.fact dt {
  font-size: 12px;
  color: var(--dim);
}

.fact dd {
  margin: 2px 0 0;
  font-size: 15.5px;
  color: var(--ink);
}

.fact-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Prose pages */

.prose {
  padding: clamp(44px, 6vw, 72px) 0 clamp(52px, 7vw, 88px);
  max-width: 72ch;
  border-bottom: 1px solid var(--line);
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 42px);
}

.prose h2 {
  margin: 42px 0 10px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 15.5px;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin: 0 0 8px;
}

.effective {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--dim);
}

/* Contact form */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: start;
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 28px;
}

.field {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}

.field label {
  font-size: 13.5px;
  color: var(--ink);
}

.field .hint {
  font-size: 12.5px;
  color: var(--dim);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.16);
}

button[type="submit"] {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: rgba(103, 232, 249, 0.12);
  color: var(--accent);
  border-radius: 8px;
  padding: 12px 26px;
}

.form-consent {
  margin: 0 0 16px;
  color: var(--dim);
  font-size: 12.5px;
}

button[type="submit"]:hover {
  background: rgba(103, 232, 249, 0.2);
}

button[type="submit"][disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* The honeypot must be reachable by a naive bot and invisible to a person,
   so it is moved off-screen rather than display:none. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 16px 0 0;
  font-size: 14.5px;
  border-radius: 8px;
  padding: 12px 14px;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.1);
  color: #ffc2cc;
}

.form-status[data-state="ok"] {
  border: 1px solid var(--line-accent);
  background: rgba(103, 232, 249, 0.09);
  color: var(--accent);
}

/* Footer */

.site-footer {
  padding: 28px 0 44px;
  font-size: 13.5px;
  color: var(--dim);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: baseline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  /* Portrait crops the art to its bright right-hand side, so the scrim has to
     run top-to-bottom instead of left-to-right for the text to survive. */
  .hero::before {
    background-position: 68% center;
  }

  .hero::after,
  .band::after {
    background: linear-gradient(
      180deg,
      rgba(7, 9, 17, 0.9) 0%,
      rgba(7, 9, 17, 0.82) 45%,
      rgba(7, 9, 17, 0.95) 100%
    );
  }

  .band::before {
    background-position: 64% center;
  }

  .site-header .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }
}
