/* Quilla showcase: the same square grid as the app. Hairlines, a square mark
 * at the corners of every framed block, numbered rows, Geist for text, Geist
 * Mono for figures, and glass over the sky for what matters most. */
:root {
  --canvas: #ffffff;
  --surface: #f5f5f3;
  --line: #e3e3e0;
  --text: #111111;
  --text-2: #5e5e5a;
  --text-3: #757570;
  --sky: #0f6bdc;
  --sky-top: #1f7bea;
  --glass: rgba(64, 138, 226, 0.34);
  --glass-line: rgba(255, 255, 255, 0.55);
  --wide: 1240px;
  --pad: max(24px, calc((100% - var(--wide)) / 2));
  --sans:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure,
pre {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
[id] {
  scroll-margin-top: 80px;
}
.mono,
.n {
  font-family: var(--mono);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding-inline: var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg {
  width: 24px;
  height: 24px;
}
.keel {
  stroke: var(--sky);
}
.nav__links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}
.nav__links a {
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
}
.nav__links a:hover {
  color: var(--text);
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font: 500 15px var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.86;
}
.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--primary {
  background: var(--text);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: #111;
}
.btn--glass {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn--line {
  height: 40px;
  border-color: var(--text);
  font-size: 14px;
}
.btn[aria-disabled="true"] {
  border-color: var(--line);
  color: var(--text-3);
  cursor: default;
}
.link {
  font-weight: 500;
  text-underline-offset: 4px;
}

/* Sections */
.section {
  padding: 104px var(--pad) 0;
}
.hero {
  padding-top: 52px;
}
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: 40px;
}
.tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 500;
}
.tag i,
.calc__head i {
  width: 8px;
  height: 8px;
  background: currentColor;
}
h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 {
  max-width: 14em;
  font-size: clamp(38px, 4.6vw, 64px);
}
h2 {
  font-size: clamp(32px, 3.8vw, 52px);
}
h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.head__aside {
  max-width: 30em;
  padding-bottom: 6px;
  color: var(--text-2);
}
.fine {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 14px;
}

/* Frame with a square mark at each corner and at the column joint. */
.frame {
  position: relative;
  border: 1px solid var(--line);
}
.frame + .frame {
  margin-top: 24px;
}
.frame::after {
  --m: linear-gradient(var(--text), var(--text));
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 3;
  background:
    var(--m) 0 0 / 7px 7px no-repeat,
    var(--m) 100% 0 / 7px 7px no-repeat,
    var(--m) 0 100% / 7px 7px no-repeat,
    var(--m) 100% 100% / 7px 7px no-repeat,
    var(--m) var(--joint, -40px) 0 / 7px 7px no-repeat,
    var(--m) var(--joint, -40px) 100% / 7px 7px no-repeat;
  pointer-events: none;
}
.split {
  --joint: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split > * + * {
  border-left: 1px solid var(--line);
}
.n {
  color: var(--text-3);
  font-size: 12px;
}

/* Scenes and glass */
.scene {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--sky-top) url("assets/open-sky.png") 6% 100% / auto 175%;
  color: #fff;
  overflow: hidden;
}
.glass {
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  color: #fff;
}

/* Hero video */
.video {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #0c0c0d;
}
.video video {
  width: 100%;
  height: 100%;
  max-height: 640px;
  background: #000;
}
.video__soon {
  position: relative;
  width: 100%;
  height: 100%;
}
.video__soon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0.55;
}
.video__soon p {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Numbered rows */
.index > li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 26px 36px;
}
.index > li + li {
  border-top: 1px solid var(--line);
}
.index > li > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.index__title {
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.02em;
}
.index p,
.index .link {
  padding-left: 40px;
  color: var(--text-2);
}

/* Timeline */
.timeline li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 36px;
}
.timeline li + li {
  border-top: 1px solid var(--line);
}
.date {
  color: var(--text-3);
  font-size: 13px;
  padding-top: 3px;
}
.timeline p {
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* Calculator */
.calc {
  display: grid;
  gap: 12px;
  width: min(100%, 440px);
  padding: 22px;
}
.calc__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc__head span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}
.calc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calc label {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.calc select,
.calc input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  color-scheme: dark;
  font: 15px var(--sans);
  border-radius: 0;
}
.calc option {
  color: #111;
}
.calc__label {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.calc__price {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
}
.calc__cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.calc__cells div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}
.calc__cells dt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* Screens */
.screens {
  display: flex;
  flex-direction: column;
}
.tabs {
  display: grid;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 24px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--text-2);
  font: 18px var(--sans);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}
.tabs button:first-child {
  border-top: 0;
}
.tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--text);
}
.shot {
  padding: 20px 24px 24px;
}
.shot img {
  border: 1px solid var(--line);
}
.shot figcaption {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
}

/* Code block */
.code pre {
  padding: 30px 36px;
  background: #111;
  color: #e9ebee;
  font: 14px/2 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code__side {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 36px;
  color: var(--text-2);
}

/* How it was made */
.rule {
  padding: 28px 36px;
  background: var(--surface);
}
.rule__label {
  margin-bottom: 10px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rule__text {
  max-width: 46em;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.moments,
.kit,
.thirds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.moments li,
.kit li,
.thirds li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px 36px 34px;
  border-top: 1px solid var(--line);
}
.moments li:nth-child(-n + 2),
.kit li:nth-child(-n + 3),
.thirds li:nth-child(-n + 3) {
  border-top: 0;
}
.moments li:nth-child(even) {
  border-left: 1px solid var(--line);
}
.moments p,
.kit p,
.thirds p {
  color: var(--text-2);
}

/* Engineering */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stats div {
  display: grid;
  gap: 6px;
  padding: 28px 36px;
}
.stats div + div {
  border-left: 1px solid var(--line);
}
.stats strong {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats span {
  color: var(--text-2);
  font-size: 14px;
}
.thirds,
.kit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.thirds li:not(:nth-child(3n + 1)),
.kit li:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line);
}
.arch__diagram {
  display: grid;
  gap: 8px;
  padding: 30px 36px;
  background: var(--surface);
}
.box {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--text-2);
  font-size: 14px;
}
.box .mono {
  color: var(--text);
  font-size: 13px;
}
.box--web {
  border-color: var(--text);
}
.box--core {
  border-color: var(--sky);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.arrow {
  color: var(--text-3);
  text-align: center;
}

/* Kit */
.kit .btn {
  justify-self: start;
  margin-top: 6px;
}
.kit__soon h3,
.kit__soon p {
  color: var(--text-3);
}

/* Closing */
.close__scene {
  min-height: 440px;
  padding: 48px 24px;
  background-position: center 80%;
  background-size: cover;
}
.close__card {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 660px;
  padding: 44px 40px;
  text-align: center;
}
.close__card p {
  color: rgba(255, 255, 255, 0.92);
}
.close__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 104px;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
}
.foot nav {
  display: flex;
  gap: 24px;
}
.foot a {
  color: var(--text);
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .nav__links {
    display: none;
  }
  .btn--sm {
    margin-left: auto;
  }
  .section {
    padding-top: 72px;
  }
  .head,
  .split {
    --joint: -40px;
    grid-template-columns: minmax(0, 1fr);
  }
  .split > * + * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .moments,
  .kit,
  .thirds {
    grid-template-columns: minmax(0, 1fr);
  }
  .moments li,
  .kit li,
  .thirds li {
    border-left: 0 !important;
    border-top: 1px solid var(--line) !important;
  }
  .moments li:first-child,
  .kit li:first-child,
  .thirds li:first-child {
    border-top: 0 !important;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats div:nth-child(3) {
    border-left: 0;
  }
  .stats div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  :root {
    --pad: 16px;
  }
  .hero {
    padding-top: 28px;
  }
  h1 {
    font-size: 34px;
  }
  .video {
    min-height: 240px;
  }
  .index > li,
  .timeline li,
  .moments li,
  .kit li,
  .thirds li,
  .rule,
  .code pre,
  .code__side,
  .arch__diagram,
  .stats div,
  .shot {
    padding-left: 20px;
    padding-right: 20px;
  }
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .scene {
    padding: 12px;
  }
  .calc {
    padding: 16px;
  }
  .calc__price {
    font-size: 40px;
  }
  .close__card {
    padding: 32px 20px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Each part of the page has its own ground, so they do not read as one list:
 * the story and the engineering on ink, the making-of on paper, the try-it
 * on sky and the downloads as a plain file table. */
main {
  counter-reset: part;
}
.section:not(.hero) > .head {
  counter-increment: part;
}
.section:not(.hero) > .head .tag::before {
  content: "0" counter(part);
  order: -1;
  color: var(--text-3);
  font: 12px var(--mono);
}
.section--ink,
.section--soft {
  margin-top: 104px;
  padding-top: 88px;
  padding-bottom: 104px;
}
.section--ink {
  --canvas: #0c0c0d;
  --surface: #171718;
  --line: #2a2a2c;
  --text: #f5f5f7;
  --text-2: #a5a5ad;
  --text-3: #85858f;
  background: var(--canvas);
  color: var(--text);
}
.section--ink + .section,
.section--soft + .section {
  padding-top: 104px;
}
.section--ink + .section--soft,
.section--soft + .section--ink {
  margin-top: 0;
}
.section--soft {
  background: var(--surface);
}
.section--soft .frame {
  background: #fff;
}

/* The story: long-form chapters, a date on the left and the text on the right. */
.story {
  border-top: 1px solid var(--line);
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 64px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.chapter--last {
  border-bottom: 0;
  padding-bottom: 0;
}
.chapter header {
  display: grid;
  align-content: start;
  gap: 10px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.chapter header .mono {
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chapter h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.chapter > div {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 40em;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
}
.chapter .pull {
  padding-left: 20px;
  border-left: 2px solid var(--text);
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.chapter .link {
  color: var(--text);
}
.story__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
}
.story__stats div {
  display: grid;
  gap: 6px;
  padding: 20px;
}
.story__stats div + div {
  border-left: 1px solid var(--line);
}
.story__stats dd {
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
}
.story__stats dt {
  font-size: 13px;
  line-height: 1.4;
}
.story__proof {
  width: 100%;
  border: 1px solid var(--line);
}

/* Making-of cards carry what happened to each attempt. */
.chip {
  justify-self: start;
  padding: 3px 8px;
  background: var(--text);
  color: var(--canvas);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.moments li {
  grid-template-columns: 1fr auto;
}
.moments li > :not(.n):not(.chip) {
  grid-column: 1 / -1;
}
.moments .chip {
  justify-self: end;
}

/* Downloads as a file table. */
.kit {
  grid-template-columns: minmax(0, 1fr);
}
.kit li {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 24px;
  padding: 22px 36px;
  border-left: 0 !important;
  border-top: 1px solid var(--line) !important;
}
.kit li:first-child {
  border-top: 0 !important;
}
.kit li .n {
  grid-row: span 2;
}
.kit li p {
  grid-column: 2;
}
.kit li .btn {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}
.kit li:hover {
  background: var(--surface);
}

@media (max-width: 1000px) {
  .chapter {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 0;
  }
  .chapter header {
    position: static;
  }
  .section--ink,
  .section--soft {
    margin-top: 72px;
    padding-top: 64px;
    padding-bottom: 72px;
  }
}
@media (max-width: 640px) {
  .chapter > div {
    font-size: 17px;
  }
  .story__stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .story__stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .kit li {
    grid-template-columns: minmax(0, 1fr);
  }
  .kit li .n,
  .kit li p,
  .kit li .btn {
    grid-column: 1;
    grid-row: auto;
  }
  .kit li .btn {
    justify-self: start;
    margin-top: 8px;
  }
}

/* One accent, sky blue, tells the eye where to go: section numbers, dates,
 * the phrases that carry each chapter and the figures. */
:root {
  --accent: #0f6bdc;
}
.section--ink {
  --accent: #6cb4ff;
  background:
    radial-gradient(
      900px 420px at 12% 0%,
      rgba(64, 138, 226, 0.22),
      transparent 70%
    ),
    var(--canvas);
}
.hl {
  font-style: normal;
  color: var(--text);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px
    no-repeat;
  padding-bottom: 2px;
}
h1 .hl {
  background-size: 100% 4px;
  padding-bottom: 4px;
}
.section:not(.hero) > .head .tag::before,
.chapter header .mono,
.moments .n,
.thirds .n {
  color: var(--accent);
}
.tag i {
  background: var(--accent);
}
.chapter .pull {
  border-left-color: var(--accent);
}
.story__stats dd,
.stats strong {
  color: var(--accent);
}
.kit li .n {
  color: var(--accent);
}
.link:hover {
  color: var(--accent);
}
.tabs button[aria-selected="true"] {
  box-shadow: inset 2px 0 0 var(--accent);
}
.video {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.video:hover img {
  opacity: 0.8;
}
.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  background: #fff;
  clip-path: polygon(34% 26%, 34% 74%, 74% 50%);
}
.video__label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero: the claim, two doors, the proof in numbers, then the film. */
.hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  max-width: 13em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__cta .btn--line {
  height: 46px;
  font-size: 15px;
}
.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}
.hero__proof div {
  display: grid;
  gap: 8px;
  padding: 22px 28px;
}
.hero__proof div + div {
  border-left: 1px solid var(--line);
}
.hero__proof dd {
  color: var(--accent);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__proof dt {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.4;
}
.video.scene {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 40px 40px 84px;
  background: var(--sky-top) url("assets/open-sky.png") center / cover;
}
.video.scene img {
  width: 100%;
  height: auto;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 60px -30px rgba(4, 30, 80, 0.6);
  transition: transform 0.25s ease-out;
}
.video.scene:hover img {
  opacity: 1;
  transform: translateY(-4px);
}
.video.scene .video__play {
  inset: 0 0 44px 0;
  width: 96px;
  height: 96px;
  clip-path: none;
  border: 1px solid var(--glass-line);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
}
.video.scene .video__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(38% 30%, 38% 70%, 70% 50%);
}
.video.scene .video__label {
  left: 40px;
  right: 40px;
  bottom: 24px;
  text-align: center;
  background: rgba(17, 17, 17, 0.55);
}
@media (max-width: 1000px) {
  .hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__proof div:nth-child(3) {
    border-left: 0;
  }
  .hero__proof div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .hero__proof div {
    padding: 16px 18px;
  }
  .video.scene {
    min-height: 0;
    padding: 16px 16px 72px;
  }
  .video.scene .video__label {
    left: 16px;
    right: 16px;
  }
  .hero__cta .btn {
    width: 100%;
  }
}

.hero .head {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.hero h1 {
  max-width: 17em;
}
.hero .head__aside {
  max-width: 44em;
  font-size: 19px;
  padding: 0;
}
.hero__cta {
  margin-top: 6px;
}

/* Colour comes from the sky photograph. Figures and headlines stay in ink;
 * the accent is kept for the small markers only. */
.story__stats dd,
.stats strong,
.hero__proof dd {
  color: var(--text);
}
.hero__proof {
  margin: 24px 0 0;
}

/* Dark sections are plain ink, no tint. The story is six cells on the grid:
 * a date, a title and one short paragraph each. */
.section--ink {
  --accent: var(--text-3);
  background: var(--canvas);
}
.story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.chapter,
.chapter--last {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: start;
  gap: 16px;
  padding: 36px 32px 40px;
  border: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}
.chapter:nth-child(3n + 1) {
  border-left: 0;
}
.chapter:nth-child(-n + 3) {
  border-top: 0;
}
.chapter header {
  position: static;
  gap: 14px;
  margin-bottom: 4px;
}
.chapter h3 {
  font-size: 24px;
}
@media (max-width: 1000px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter,
  .chapter--last {
    padding: 28px 22px 30px;
    border-left: 0;
  }
  .chapter:nth-child(-n + 3) {
    border-top: 1px solid var(--line);
  }
  .chapter:first-child {
    border-top: 0;
  }
}
.chapter h3 {
  color: var(--text);
}

/* The trailer section: sub-headings and the two lists of credits. */
.subhead {
  margin-top: 64px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.sublead {
  max-width: 44em;
  margin: 10px 0 24px;
  color: var(--text-2);
}
#trailer .thirds h3 {
  font-weight: 400;
}
.credits {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 30px 36px 34px;
}
.credits ul {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.credits li {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.credits li p {
  color: var(--text-2);
}
.credits__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
