@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #07090d;
  --bg-2: #10141c;
  --ink: #f3f0e8;
  --muted: #a8aeb8;
  --line: #2c3340;
  --field: #8e97a8;
  --accent: #2a45b8;
  --accent-2: #9db0ff;
  --paper: #f3f0e8;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --max: 76rem;
  --header: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 1rem); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.125rem) / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  hyphens: manual;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; letter-spacing: -0.03em; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
::selection { background: #24306e; color: var(--ink); }
.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.mono {
  font: 500 0.75rem / 1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ph {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.08em 0.35em;
  background: #1b2436;
  color: var(--ink);
  box-decoration-break: clone;
}

.banner {
  background: #12182a;
  color: #d5dcf7;
  font: 400 0.8125rem / 1.5 var(--mono);
  text-align: center;
  padding: 0.45rem var(--gutter);
}
.banner b {
  display: inline-block;
  margin-right: 0.7rem;
  padding: 0 0.35rem;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgb(7 9 13 / 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgb(7 9 13 / 0.94); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2 * var(--gutter), 90rem); }
.mark {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  text-decoration: none;
}
.nav { display: none; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 3rem;
  padding: 0 1.3rem;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  font: 500 1rem / 1 var(--sans);
  cursor: pointer;
}
.btn:hover { background: #3a58d6; }
.btn svg { width: 1em; height: 1em; }
@media (min-width: 56rem) { .nav { display: flex; } }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  margin-top: calc(-1 * var(--header));
  padding: calc(var(--header) + 3rem) 0 4.5rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 9 13 / 0.94) 0%, rgb(7 9 13 / 0.72) 28%, rgb(7 9 13 / 0.12) 58%, rgb(7 9 13 / 0.28) 100%),
    linear-gradient(to top, #07090d 0%, transparent 46%),
    linear-gradient(to bottom, rgb(7 9 13 / 0.55), transparent 18%);
}
@media (max-width: 55.99rem) {
  .hero { align-items: end; }
  .hero__media img { object-position: 58% 28%; }
  .hero__media::after {
    background:
      linear-gradient(to top, #07090d 0%, rgb(7 9 13 / 0.88) 34%, rgb(7 9 13 / 0.15) 62%),
      linear-gradient(to bottom, rgb(7 9 13 / 0.45), transparent 20%);
  }
  .header .btn { min-height: 2.75rem; padding: 0 0.85rem; font-size: 0.92rem; }
}
.hero__copy { position: relative; z-index: 1; max-width: 18em; }
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
}
.hero h1 span { display: block; color: #c5cbd4; font-weight: 450; }
.hero .lead { margin-top: 1.5rem; max-width: 36ch; color: #d5d8de; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; }
.hero .btn { margin-top: 2rem; }
.hero__cap {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  z-index: 1;
  font: 400 0.75rem / 1.4 var(--mono);
  color: #c5cbd6;
}

.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.section h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.034em;
}
.lede { margin-top: 1.25rem; max-width: 42ch; color: var(--muted); }

.chapter { position: relative; }
.chapter__img { position: relative; }
.chapter__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chapter figcaption, .cap {
  margin-top: 0.6rem;
  font: 400 0.75rem / 1.4 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.chapter__text { padding: 1.75rem 0 0; }
.chapter__text h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
  line-height: 1.05;
}
.chapter__text p { margin-top: 1rem; max-width: 36ch; color: var(--muted); }
.idx {
  font: 500 0.8rem / 1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--accent-2);
}
@media (min-width: 56rem) {
  .chapter--a { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 78vh; }
  .chapter--a .chapter__img { min-height: 100%; }
  .chapter--a .chapter__img img { height: 100%; aspect-ratio: auto; }
  .chapter--a .chapter__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 8vw 3rem 3.5rem;
  }
  .chapter--b {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: 3rem;
    padding-inline: var(--gutter);
    margin-top: clamp(4rem, 8vw, 8rem);
  }
  .chapter--b .chapter__text { padding: 0 0 0.5rem; }
}

.custom {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  border-block: 1px solid var(--line);
}
.custom h3 {
  margin-top: 1rem;
  max-width: 12ch;
  font-size: clamp(2.4rem, 1.2rem + 4vw, 5.2rem);
  line-height: 0.98;
}
.custom p { margin-top: 1.25rem; max-width: 36ch; color: var(--muted); }

.steps { display: grid; gap: 0; list-style: none; padding: 0; }
.header .btn, .mark { flex: none; }
.step { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  display: block;
  font: 500 clamp(2.6rem, 1.6rem + 3vw, 4.6rem) / 0.85 var(--sans);
  letter-spacing: -0.05em;
  color: var(--accent-2);
}
.step h3 { margin-top: 0.8rem; font-size: 1.35rem; letter-spacing: -0.02em; }
.step p { margin-top: 0.4rem; color: var(--muted); max-width: 28ch; }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step { border-bottom: 0; padding-right: 1rem; }
  .step:last-child { border-bottom: 0; border-top: 1px solid var(--line); }
}

.contact { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) {
  .contact { grid-template-columns: 1.3fr 0.7fr; align-items: start; gap: 4rem; }
}
.form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.95rem; }
.req, .hint { font: 400 0.78rem / 1.45 var(--mono); color: var(--muted); }
.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--field);
  border-radius: 2px;
  font: 400 1rem / 1.4 var(--sans);
  appearance: none;
}
.input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-color: var(--accent-2); }
.input:user-invalid { box-shadow: inset 3px 0 0 var(--ink); }
.select {
  padding-right: 2.4rem;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a8aeb8' stroke-width='1.25'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 12px 8px;
}
.textarea { min-height: 9rem; resize: vertical; }
.note {
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--accent-2);
  background: #141a2c;
  color: #d5d8e4;
  font-size: 0.95rem;
}
.form__status:not(:empty) {
  margin: 0;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--ink);
  background: var(--bg-2);
}
.sheet { border: 1px solid var(--line); background: var(--bg-2); }
.sheet h2, .sheet h3 {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font: 500 0.75rem / 1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sheet div { display: grid; grid-template-columns: 8.5rem 1fr; border-top: 1px solid var(--line); }
.sheet dt, .sheet dd { margin: 0; padding: 0.75rem 1rem; }
.sheet dt {
  border-right: 1px solid var(--line);
  font: 500 0.72rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 23.99rem) {
  .sheet div { grid-template-columns: 1fr; }
  .sheet dt { border-right: 0; padding-bottom: 0; }
}

.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 0.8125rem / 1.6 var(--mono);
}
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font: 600 clamp(1.6rem, 2vw, 2rem) / 1 var(--sans);
  letter-spacing: 0.16em;
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
