@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #131d21;
  --panel: #202d30;
  --ivory: #f5ead8;
  --muted: #d3c5b3;
  --ember: #efbc82;
  --heading: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 1rem/1.6 "Source Sans 3", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
[hidden] { display: none !important; }
.mast { position: absolute; z-index: 2; inset: 0 0 auto; padding: 1rem clamp(1.1rem, 5vw, 5rem); display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; background: linear-gradient(#081219bd, transparent); }
.brand { text-decoration: none; font: 600 1rem/1.15 "DM Sans", system-ui, sans-serif; letter-spacing: .18em; white-space: nowrap; flex-shrink: 0; }
nav { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font: 600 .84rem/1.45 "DM Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { --k-poster: url("assets/poster-wide.png"); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(115deg, #071218b8, #07121818 70%), linear-gradient(0deg, #071218ae, transparent 33%); }
.hero-copy { position: absolute; z-index: 1; top: 23%; left: clamp(1.2rem, 8vw, 8rem); right: 1.2rem; transform: translate(var(--copy-x, 0), var(--copy-y, 0)) scale(var(--copy-scale, 1)); transform-origin: left center; opacity: var(--copy-alpha, 1); pointer-events: none; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.03; margin: 0 0 .75rem; }
h1 { font: 600 clamp(1rem, 6.65vw, 6.4rem)/1.05 "DM Sans", system-ui, sans-serif; letter-spacing: -.055em; white-space: nowrap; }
h2 { font-size: clamp(2.65rem, 5vw, 5rem); }
h3 { font-size: 2.4rem; }
.hero-copy p { font-family: "DM Sans", system-ui, sans-serif; font-weight: 400; max-width: 33ch; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.button { display: inline-block; width: fit-content; color: #211a15; background: var(--ember); border: 0; border-radius: .25rem; padding: .75rem 1.15rem; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: #f9cca0; }
.hero-action { position: absolute; z-index: 1; left: clamp(1.2rem, 8vw, 8rem); bottom: max(7%, 2rem); }
.wrap { width: min(88%, 74rem); margin-inline: auto; }
.story, .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: clamp(4rem, 10vw, 9rem); }
.story p, .plan p { max-width: 55ch; color: var(--muted); }
.story img { border-radius: .25rem; }
.plan { align-items: start; }
form { border: 1px solid #ffffff23; padding: clamp(1.15rem, 3vw, 2rem); background: #1a2529; }
label { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
input, select, textarea { width: 100%; padding: .65rem; border-radius: .22rem; border: 1px solid #ffffff4d; background: var(--night); color: var(--ivory); font: inherit; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
dd { margin: 0; }
footer { padding-block: 2rem; border-top: 1px solid #ffffff2b; }
@media (max-width: 700px) {
  .hero { --k-poster: url("assets/poster-phone.jpg"); }
  .hero-copy { top: 21%; }
  .story, .plan { grid-template-columns: 1fr; }
  nav { font-size: .8rem; }
  .brand { font-size: .78rem; }
}
.hero.k-media-failed { height: auto !important; }
.hero.k-media-failed .k-stage { position: relative; }
.hero.k-static .hero-copy, .hero.k-media-failed .hero-copy { transform: none; opacity: 1; }

.how { border-top: 1px solid #ffffff2b; }
@media (max-width: 700px) {
  .how img { order: 1; }
}

.hero .k-stage { position: relative; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-film.is-visible { opacity: 1; }
.film-control { position: absolute; z-index: 1; right: clamp(1.2rem, 5vw, 5rem); bottom: max(7%, 2rem); padding: .75rem; border: 1px solid #f5ead880; border-radius: .25rem; background: #0b151bd9; color: var(--ivory); font: inherit; cursor: pointer; }
@media (max-width: 420px) {
  .film-control { bottom: max(calc(7% + 3.6rem), 5.6rem); }
}
