@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/nunito-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/nunito-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/nunito-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/nunito-latin-800-normal.woff2") format("woff2");
}

:root {
  --mint: #8fcaa5;
  --mint-soft: #dfeadd;
  --paper: #f0efeb;
  --paper-soft: #f8f8f4;
  --ink: #3f2a17;
  --ink-muted: #513e27;
  --teal: #0b5b58;
  --aqua: #00b9a7;
  --night: #102f32;
  --night-soft: #1c4144;
  --night-ink: #eef2ec;
  --night-muted: #d3c3a3;
  --focus: #0b5b58;
  --margin: clamp(1.125rem, 2.2vw, 2.125rem);
  --gap: clamp(1.25rem, 3vw, 3.75rem);
  --section-space: clamp(5.5rem, 10vw, 10rem);
  --font-display: clamp(4.4rem, 7.2vw, 7.2rem);
  --font-h2: clamp(2.9rem, 4.4vw, 4.6rem);
  --font-lead: clamp(1.35rem, 1.8vw, 1.65rem);
  --font-body: clamp(1.0625rem, 1.25vw, 1.25rem);
  --font-small: 0.875rem;
  --radius-frame: 1.25rem;
  --radius-panel: 1.75rem;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
main,
section,
article,
figure,
div {
  min-width: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

code {
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: var(--aqua);
  color: var(--night);
}

.page-gutter {
  padding-inline: var(--margin);
}

.section {
  padding-block: var(--section-space);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper-soft);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 5rem;
  background: var(--mint);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
}

.brand span {
  display: grid;
  gap: 0.05rem;
}

.brand strong {
  font-size: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand small {
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  justify-self: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.site-nav a,
.header-download,
.text-link,
.back-to-top,
.footer-links a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-small);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.site-nav a:hover {
  background: var(--paper-soft);
}

.header-download {
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper-soft);
  font-size: var(--font-small);
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 140ms var(--ease-out);
}

.header-download:hover {
  background: var(--teal);
}

.header-download:active {
  transform: scale(0.97);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.6vw, 5.5rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--mint);
}

.hero-copy {
  align-self: center;
}

.display {
  font-size: var(--font-display);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.line {
  display: block;
  overflow: hidden;
  padding-top: 0.12em;
  padding-bottom: 0.08em;
  margin-bottom: -0.2em;
}

.line > span {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 32rem;
  margin-top: clamp(1.6rem, 2.8vw, 2.6rem);
  font-size: var(--font-lead);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.8rem, 3vw, 2.8rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper-soft);
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 140ms var(--ease-out);
}

.button:hover {
  background: var(--teal);
}

.button:active {
  transform: scale(0.97);
}

.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-decoration-thickness: 0.06em;
  transition: text-decoration-color 180ms ease;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  margin-top: clamp(2.2rem, 4vw, 3.8rem);
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: var(--paper-soft);
}

.mode-button {
  min-width: 4.5rem;
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 140ms var(--ease-out);
}

.mode-button.is-active {
  background: var(--ink);
  color: var(--paper-soft);
}

.mode-button:active {
  transform: scale(0.97);
}

.shot {
  align-self: center;
}

.shot-link {
  display: block;
  overflow: hidden;
  padding: clamp(0.3rem, 0.65vw, 0.55rem);
  border-radius: var(--radius-frame);
  background: var(--mint-soft);
  cursor: zoom-in;
  text-decoration: none;
  transition: outline-color 180ms ease;
}

.shot-link:hover {
  outline: 3px solid var(--focus);
  outline-offset: 0.45rem;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-frame) - 0.35rem);
  object-fit: contain;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  color: var(--ink-muted);
  font-size: var(--font-small);
  font-weight: 700;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.88fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2,
.film-copy h2,
.install-copy h2,
.night-copy h2 {
  font-size: var(--font-h2);
}

.section-heading p,
.night-copy > p,
.film-copy > p,
.install-copy > p {
  max-width: 60ch;
  font-size: var(--font-body);
  line-height: 1.6;
}

.specimens {
  background: var(--paper);
}

.specimen {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 5rem);
}

.specimen + .specimen {
  margin-top: clamp(2rem, 5vw, 5rem);
}

.specimen-copy {
  max-width: 25rem;
}

.specimen-copy h3 {
  font-size: var(--font-lead);
}

.specimen-copy p {
  margin-top: 1.5rem;
  line-height: 1.65;
}

.specimen-copy .text-link {
  display: inline-block;
  margin-top: 1.6rem;
}

.specimen-shot figcaption {
  color: var(--ink-muted);
}

.specimen-shot {
  width: min(100%, 48rem);
  justify-self: end;
}

.specimen--reverse {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.specimen--reverse .specimen-shot {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.specimen--reverse .specimen-copy {
  grid-column: 2;
  grid-row: 1;
}

.principles {
  background: var(--mint-soft);
}

.principle-list {
  display: grid;
}

.principle-list > div {
  display: grid;
  grid-template-columns: minmax(11rem, 4fr) minmax(0, 8fr);
  gap: var(--gap);
  align-items: baseline;
  padding-block: clamp(1.7rem, 3vw, 2.8rem);
}

.principle-list > div + div {
  margin-top: 0.5rem;
}

.principle-list dt {
  color: var(--teal);
  font-size: var(--font-h2);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.principle-list dd {
  max-width: 68ch;
  font-size: var(--font-body);
  line-height: 1.65;
}

.night {
  background: var(--night);
  color: var(--night-ink);
}

.night :focus-visible {
  outline-color: #f0d278;
}

.night-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

.night-shot {
  align-self: start;
}

.night-shot .shot-link {
  background: var(--night-soft);
}

.night-shot figcaption {
  color: var(--night-muted);
}

.night-copy {
  align-self: center;
}

.night-copy > p {
  margin-top: 1.6rem;
  color: var(--night-muted);
}

.night-facts {
  margin-top: clamp(2.2rem, 4vw, 3.8rem);
}

.night-facts div + div {
  margin-top: 1.65rem;
}

.night-facts dt {
  color: var(--night-ink);
  font-size: var(--font-lead);
  font-weight: 800;
}

.night-facts dd {
  max-width: 28rem;
  margin-top: 0.35rem;
  color: var(--night-muted);
  line-height: 1.55;
}

.film {
  background: var(--paper);
}

.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.film-copy {
  position: sticky;
  top: 2rem;
}

.film-copy > p {
  margin-top: 1.6rem;
}

.film-break {
  display: initial;
}

.film-copy .text-link {
  display: inline-block;
  margin-top: 1.8rem;
}

.film-link-separator {
  display: inline-block;
  margin: 0 10px;
  color: rgba(75, 46, 31, 0.42);
}

.film-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--night);
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.film-transcript {
  margin-top: 1.2rem;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--paper-soft);
}

.film-transcript summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-frame);
  font-weight: 800;
  cursor: pointer;
}

.film-transcript summary span {
  color: var(--ink-muted);
  font-size: var(--font-small);
  font-weight: 700;
}

.film-transcript ol {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0 1.2rem 1.3rem 2.8rem;
}

.film-transcript__cue {
  color: var(--ink-muted);
}

.install {
  background: var(--mint);
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.install-copy > p {
  margin-top: 1.6rem;
}

.install-copy .button {
  margin-top: 2rem;
}

.install-command ol {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.8rem;
  padding-left: 1.5rem;
  font-weight: 700;
}

.install-command pre {
  margin: 0;
  overflow-x: auto;
  padding: 1.2rem;
  border-radius: var(--radius-frame);
  background: var(--night);
  color: var(--night-ink);
  font-size: var(--font-small);
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.install-command .text-link {
  display: inline-block;
  margin-top: 1.5rem;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem);
}

.faq-grid article {
  max-width: 34rem;
}

.faq-grid h3 {
  font-size: var(--font-lead);
  line-height: 1.15;
}

.faq-grid p {
  margin-top: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.site-footer {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: 2rem;
  background: var(--night);
  color: var(--night-ink);
}

.site-footer :focus-visible {
  outline-color: #f0d278;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.brand--footer {
  color: var(--night-ink);
}

.back-to-top {
  color: var(--night-muted);
  font-size: var(--font-small);
  font-weight: 700;
}

.footer-wordmark {
  margin-top: clamp(4rem, 9vw, 8rem);
  font-size: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.footer-links a {
  color: var(--night-ink);
  font-weight: 700;
}

.footer-credits {
  margin-top: 1rem;
  color: var(--night-ink);
  font-size: var(--font-small);
  font-weight: 700;
}

.footer-credits a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

.footer-legal {
  margin-top: 1rem;
  color: var(--night-muted);
  font-size: var(--font-small);
}

.shot-dialog {
  display: flex;
  flex-direction: column;
  width: min(112rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 4rem rgb(6 24 26 / 40%); /* taste-skill-ignore: real modal overlay */
  user-select: none;
}

.shot-dialog:not([open]) {
  display: none;
}

.shot-dialog:focus,
.shot-dialog:focus-visible {
  outline: none;
}

.shot-dialog :focus-visible {
  outline-color: var(--aqua);
}

.shot-dialog::backdrop {
  background: rgb(6 24 26 / 92%);
}

.shot-dialog__bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem 0.8rem 1.2rem;
}

.shot-dialog__heading {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  min-width: 0;
}

.shot-dialog__bar h2 {
  overflow: hidden;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-dialog__count {
  flex: none;
  color: var(--ink-muted);
  font-size: var(--font-small);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.shot-dialog__controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.4rem;
}

.shot-dialog__control {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 140ms var(--ease-out);
}

.shot-dialog__control:hover {
  background: var(--ink);
  color: var(--paper-soft);
}

.shot-dialog__control:active {
  transform: scale(0.94);
}

.shot-dialog__close {
  margin-left: 0.6rem;
  background: var(--ink);
  color: var(--paper-soft);
}

.shot-dialog__close:hover {
  background: var(--teal);
}

.shot-dialog__viewport {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: calc(100dvh - 11rem);
  overflow: hidden;
  padding: clamp(0.5rem, 1.2vw, 0.95rem);
  background: var(--night);
}

.shot-dialog img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: calc(var(--radius-frame) - 0.4rem);
  object-fit: contain;
}

.shot-dialog__footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.2rem;
}

.shot-dialog__original {
  font-size: var(--font-small);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-decoration-thickness: 0.06em;
}

.shot-dialog__original:hover {
  text-decoration-color: currentColor;
}

.shot-dialog__hint {
  color: var(--ink-muted);
  font-size: var(--font-small);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] {
    transform: translateY(130%);
    animation: line-up 900ms var(--ease-expo) forwards;
    animation-delay: calc(80ms + var(--i) * 110ms);
  }

  .js .hero-lede,
  .js .hero-actions,
  .js .mode-switch {
    opacity: 0;
    transform: translateY(14px);
    animation: load-rise 560ms var(--ease-out) forwards;
  }

  .js .hero-lede {
    animation-delay: 330ms;
  }

  .js .hero-actions {
    animation-delay: 420ms;
  }

  .js .mode-switch {
    animation-delay: 500ms;
  }

  .js .hero-shot {
    clip-path: inset(0 0 16% 0);
    animation: shot-open 1050ms var(--ease-in-out) 200ms forwards;
  }

  .js [data-reveal].will-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 720ms var(--ease-out),
      transform 900ms var(--ease-expo);
  }

  .js .shot.will-reveal {
    clip-path: inset(0 0 10% 0);
    transition:
      opacity 720ms var(--ease-out),
      transform 900ms var(--ease-expo),
      clip-path 1100ms var(--ease-in-out);
  }

  .js [data-reveal].will-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }

  .js .shot.will-reveal.is-revealed {
    clip-path: inset(0);
  }
}

@keyframes line-up {
  to {
    transform: none;
  }
}

@keyframes load-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shot-open {
  from {
    clip-path: inset(0 0 16% 0);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes reduced-fade {
  from {
    opacity: 0;
  }
}

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

  .js .hero [data-line],
  .js .hero-lede,
  .js .hero-actions,
  .js .mode-switch,
  .js .hero-shot {
    transform: none;
    clip-path: none;
    animation: reduced-fade 420ms ease both;
  }

  .js .hero .line:nth-child(2) [data-line] {
    animation-delay: 70ms;
  }

  .js .hero-lede {
    animation-delay: 90ms;
  }

  .js .hero-actions {
    animation-delay: 140ms;
  }

  .js .mode-switch {
    animation-delay: 180ms;
  }

  .js .hero-shot {
    animation-delay: 110ms;
  }

  .js [data-reveal].will-reveal {
    transform: none;
    opacity: 0;
    transition: opacity 420ms ease;
  }

  .js [data-reveal].will-reveal.is-revealed {
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  :root {
    --font-display: clamp(4rem, 10vw, 6.5rem);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 1.5rem;
    padding-block: 0.65rem;
  }

  .site-header > .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-download {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(2.6rem, 6vw, 4.5rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
  }

  .display {
    max-width: none;
  }

  .hero-copy {
    max-width: 45rem;
  }

  .hero-lede {
    max-width: 39rem;
  }

  .hero-shot {
    width: 100%;
  }

  .section-heading,
  .night-layout,
  .film-layout,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading p {
    max-width: 42rem;
  }

  .night-shot {
    width: min(100%, 48rem);
  }

  .film-copy {
    position: static;
  }

  .film-media {
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1060px) {
  .film-break {
    display: none;
  }
}

@media (max-width: 900px) {
  .principle-list > div {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .principle-list dd {
    max-width: none;
  }
}

@media (max-width: 760px) {
  :root {
    --font-display: clamp(3.15rem, 14vw, 4.6rem);
    --font-h2: clamp(2.55rem, 12vw, 3.7rem);
    --font-lead: clamp(1.35rem, 7vw, 1.75rem);
    --font-body: 1.125rem;
    --section-space: clamp(4.5rem, 18vw, 6.5rem);
  }

  .site-header {
    min-height: 4.4rem;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: var(--font-body);
  }

  .header-download {
    padding: 0.65rem 0.85rem;
    font-size: var(--font-small);
  }

  .hero {
    gap: 2.3rem;
    padding-top: 2.2rem;
  }

  .display {
    max-width: none;
    line-height: 0.91;
  }

  .hero-lede {
    margin-top: 1.55rem;
    font-size: var(--font-body);
  }

  .hero-actions {
    align-items: flex-start;
    gap: 0.85rem 1.2rem;
  }

  .button {
    min-height: 3rem;
  }

  .mode-switch {
    margin-top: 2rem;
  }

  .mode-button {
    min-height: 2.75rem;
  }

  .shot figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .section-heading {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .specimen,
  .specimen--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }

  .specimen + .specimen {
    margin-top: 2rem;
  }

  .specimen-copy {
    max-width: 34rem;
  }

  .specimen--reverse .specimen-copy,
  .specimen--reverse .specimen-shot {
    grid-column: auto;
    grid-row: auto;
  }

  .night-layout {
    gap: 2.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .film-transcript summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-wordmark {
    margin-top: 4rem;
    font-size: var(--font-display);
  }

  .shot-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: var(--radius-frame);
  }

  .shot-dialog__bar {
    padding: 0.65rem 0.7rem 0.65rem 0.85rem;
  }

  .shot-dialog__bar h2 {
    font-size: 0.98rem;
  }

  .shot-dialog__control {
    width: 2.25rem;
    height: 2.25rem;
  }

  .shot-dialog__footer {
    padding: 0.55rem 0.85rem;
  }

  .shot-dialog__hint {
    display: none;
  }
}

@media print {
  .js [data-reveal].will-reveal,
  .js .shot.will-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
