@font-face {
  font-family: "Mona Sans";
  src: url("fonts/MonaSans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans Mono";
  src: url("fonts/MonaSansMono.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Departure Mono";
  src: url("fonts/DepartureMono-Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --raised: #18181b;
  --line: #232327;
  --line-strong: #34343a;
  --accent: #e6a866;
  --text: #ededef;
  --muted: #8f8f98;
  --shot-bg: #090807;

  --sans: "Mona Sans", system-ui, sans-serif;
  --mono: "Mona Sans Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { margin: 0; font-weight: 600; font-stretch: 110%; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

/* Chamfer: the element paints the outline, ::before the fill; cut top-left and bottom-right. */
.cham {
  --c: 10px;
  --b: 1px;
  --edge: var(--line-strong);
  --fill: var(--surface);
  position: relative;
  isolation: isolate;
  background-color: var(--edge);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.cham::before {
  --ci: calc(var(--c) - var(--b) * .586);
  content: "";
  position: absolute;
  inset: var(--b);
  z-index: -1;
  background-color: var(--fill);
  clip-path: polygon(var(--ci) 0, 100% 0, 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, 0 100%, 0 var(--ci));
}

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 22px/1 "Departure Mono", var(--mono); }
.logo svg { width: 15px; height: 15px; fill: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font: 500 15px/1 var(--sans);
  white-space: nowrap;
  transition: background-color .15s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-primary { --c: 8px; --edge: var(--accent); --fill: var(--accent); color: var(--bg); }
.btn-primary:hover { --fill: color-mix(in srgb, var(--accent) 85%, white); --edge: var(--fill); }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--raised); }
.gh { width: 15px; height: 15px; fill: currentColor; }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cmd { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 7px 0 18px; font-size: 14.5px; }
.cmd code::before { content: "$ "; color: var(--muted); }
.copy {
  display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0;
  background: none; border: 0; color: var(--muted); cursor: pointer;
  transition: color .15s, background-color .15s;
}
.copy svg { width: 15px; height: 15px; fill: currentColor; }
.copy:hover { color: var(--text); background: var(--raised); }
.copy.done { color: var(--accent); }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; }
.hero h1 { font-size: clamp(48px, 8.5vw, 112px); line-height: .95; letter-spacing: -.04em; }
.lede { margin-top: 20px; font-size: 19px; color: var(--muted); }

/* Shots */
.bare img { width: 100%; }
.shot { --c: 18px; --fill: var(--shot-bg); padding: 1px; }
.shot img { width: 100%; clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px); }
.shot-hero {
  --c: 26px;
  width: min(1400px, calc(100% - var(--gutter) * 2));
  margin: 72px auto 0;
}
.shot-hero img { clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px); }
.shot-hero::after {
  content: "";
  position: absolute;
  inset: auto 15% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* What's included */
.parts {
  list-style: none;
  margin-top: 56px;
  padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
  font-size: 15px; color: var(--muted);
}
.parts li { position: relative; }
.parts li + li::before {
  content: "";
  position: absolute;
  left: -22px; top: 50%;
  width: 5px; height: 5px; margin-top: -2px;
  background: var(--accent);
  clip-path: polygon(2px 0, 100% 0, 100% 3px, 3px 100%, 0 100%, 0 2px);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px 20px; margin-top: 140px; }
.tile-wide { grid-column: 1 / -1; }
figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
figcaption b { font-weight: 500; color: var(--text); margin-right: 6px; }
.stats { --c: 18px; align-self: stretch; margin-bottom: 40px; padding: 36px; display: flex; align-items: center; }
.stats dl { flex: 1; }
.stats dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.stats dt { font: 600 clamp(40px, 5vw, 64px)/1 var(--sans); font-stretch: 110%; letter-spacing: -.04em; }
.stats dt::after { content: ""; display: block; width: 20px; height: 2px; margin-top: 14px; background: var(--accent); }
.stats dd { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }

/* Get */
.get { margin-top: 160px; text-align: center; }
.get h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; }
.get .lede { font-size: 17px; margin-top: 14px; }

/* Footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 140px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }

/* Reveal */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; margin-top: 96px; }
  .stats { padding: 28px; margin-bottom: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .lede { font-size: 16.5px; }
  .shot-hero { --c: 14px; margin-top: 48px; }
  .shot-hero img { clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px); }
  .parts { gap: 8px 28px; font-size: 14px; }
  .parts li + li::before { left: -16px; }
  .cmd, .get .btn { width: 100%; }
  .cmd { justify-content: space-between; }
  .get { margin-top: 112px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
