/* ============================================================
   时与光 Aionlume · official site
   One theme: dark room. One accent: warm light.
   Radius system: 2px for interactive + media; the phone mockup
   is the single documented exception (device frame, 32px).
   ============================================================ */

:root {
  --ink: #0a0b0d;
  --ink-2: #0e1013;
  --ink-3: #13151a;
  --paper: #f0ebe2;
  --paper-dim: #c9c2b6;
  --muted: #8f8a80;
  --line: rgba(240, 235, 226, 0.14);
  --line-soft: rgba(240, 235, 226, 0.08);
  --gold: #e2b15e;
  --gold-dark: #b98f4a;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --latin: "Segoe UI Variable Display", "Segoe UI", "Noto Sans SC", sans-serif;
  --pad: clamp(20px, 5vw, 76px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--ink);
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: url("assets/grain.webp");
  background-size: 192px 192px;
  opacity: 0.05;
  mix-blend-mode: screen;
}

::selection {
  background: rgba(226, 177, 94, 0.3);
  color: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}

figure {
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

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

/* ---------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 11, 13, 0.82);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand-cn {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.brand-en {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  padding-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  background: transparent;
  transition:
    background 0.24s var(--ease),
    color 0.24s var(--ease),
    transform 0.16s var(--ease);
}

.cta:hover {
  background: var(--gold);
  color: #14110b;
}

.cta:active {
  transform: translateY(1px);
}

.cta--small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 12.5px;
}

.cta--large {
  min-height: 54px;
  padding: 0 38px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.mobile-nav {
  position: fixed;
  top: 76px;
  right: 0;
  left: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px var(--pad) 28px;
  background: rgba(10, 11, 13, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--paper-dim);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 14px 0;
  text-align: center;
  color: var(--paper);
}

/* ---------------------------------------------------------- type */

.display {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-wrap: balance;
}

.display--md {
  font-size: clamp(32px, 4.4vw, 58px);
}

.eyebrow {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-lede {
  max-width: 56ch;
  margin-top: 26px;
  color: var(--paper-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
}

/* ---------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(72px, 13vh, 150px);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: -8% 0 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 45%;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.04);
  animation: hero-settle 2.4s var(--ease) forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 11, 13, 0.98) 0%, rgba(10, 11, 13, 0.72) 30%, rgba(10, 11, 13, 0.12) 72%),
    linear-gradient(105deg, rgba(10, 11, 13, 0.94) 0%, rgba(10, 11, 13, 0.62) 42%, rgba(10, 11, 13, 0) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
}

.hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 1.14;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--paper);
  text-wrap: balance;
}

.hero-lede {
  max-width: 37ch;
  margin-top: 28px;
  color: var(--paper-dim);
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.text-link {
  position: relative;
  color: var(--paper-dim);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--line);
  transition: background 0.2s var(--ease);
}

.text-link:hover {
  color: var(--paper);
}

.text-link:hover::after {
  background: var(--gold);
}

/* ---------------------------------------------------------- story */

.story {
  padding-top: clamp(100px, 15vh, 190px);
}

.story-head {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.story-copy {
  display: grid;
  gap: 18px;
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.95;
}

.story-copy p:last-child {
  color: var(--paper);
}

.memory-ribbon {
  margin-top: clamp(56px, 8vw, 96px);
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pad);
}

.memory-ribbon::-webkit-scrollbar {
  display: none;
}

.ribbon-track {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
  width: max-content;
  margin: 0;
  padding: 0 var(--pad);
  list-style: none;
}

.ribbon-item {
  scroll-snap-align: start;
  width: clamp(190px, 19vw, 258px);
}

.ribbon-item figure {
  display: grid;
  gap: 12px;
}

.ribbon-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92);
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.ribbon-item:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.ribbon-item figcaption {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.ribbon-item .year {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.18em;
}

.product-head {
  margin-top: clamp(80px, 12vw, 140px);
}

.product-head .display {
  max-width: 20ch;
}

.product-shot {
  width: min(1480px, calc(100% - var(--pad) * 2));
  margin: clamp(48px, 7vw, 84px) auto 0;
}

.product-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.product-shot figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---------------------------------------------------------- personas */

.personas {
  padding-top: clamp(110px, 16vh, 200px);
}

.personas-head .display {
  margin-top: 22px;
}

.persona {
  margin-top: clamp(90px, 13vw, 170px);
}

.persona-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.persona-copy h3,
.persona-full-copy h3,
.quiet-copy h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--paper);
}

.persona-copy p,
.persona-full-copy p,
.quiet-copy p {
  margin-top: 22px;
  color: var(--paper-dim);
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  line-height: 1.95;
}

.persona-note {
  color: var(--gold) !important;
  font-size: 13.5px !important;
  letter-spacing: 0.03em;
}

.persona-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92);
}

.persona--split .persona-inner {
  align-items: start;
}

.persona--split .persona-copy {
  padding-top: clamp(0px, 6vw, 70px);
}

/* full-bleed chapter */

.persona--full {
  position: relative;
  margin-top: clamp(110px, 16vw, 190px);
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.persona-full-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.85) brightness(0.82);
}

.persona-full-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.96) 0%, rgba(10, 11, 13, 0.6) 38%, rgba(10, 11, 13, 0.08) 78%);
}

.persona-full-copy {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(56px, 9vh, 110px);
  max-width: var(--max);
}

.persona-full-copy h3,
.persona-full-copy p {
  max-width: 56ch;
}

/* mosaic chapter */

.persona--mosaic .persona-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.mosaic figure {
  overflow: hidden;
  border-radius: 2px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.9s var(--ease);
}

.mosaic figure:hover img {
  transform: scale(1.03);
}

.mosaic-tall {
  grid-row: span 2;
}

.mosaic-tall img {
  aspect-ratio: 2 / 3;
}

.mosaic figure:not(.mosaic-tall) img {
  aspect-ratio: 1 / 1;
}

/* quiet chapter */

.persona--quiet {
  padding-block: clamp(80px, 12vw, 130px);
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.quiet-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.quiet-pull {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.55;
  color: var(--gold);
  border-left: 1px solid rgba(226, 177, 94, 0.4);
  padding-left: clamp(20px, 3vw, 38px);
}

/* ---------------------------------------------------------- scene */

.scene {
  padding-top: clamp(110px, 16vh, 200px);
}

.scene-head .display {
  max-width: 16ch;
}

.scene-shot {
  width: min(1480px, calc(100% - var(--pad) * 2));
  margin: clamp(44px, 6vw, 76px) auto 0;
}

.scene-shot img {
  width: 100%;
  aspect-ratio: 2400 / 1180;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.scene-shot figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.scene-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  margin-top: clamp(64px, 9vw, 120px);
}

.scene-detail-copy p {
  margin-top: 20px;
  color: var(--paper-dim);
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  line-height: 1.95;
}

.scene-detail-kicker {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.5;
  color: var(--paper) !important;
  margin-top: 0 !important;
}

.scene-detail img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------- about */

.about {
  padding-top: clamp(120px, 17vh, 210px);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.letter {
  margin-top: 34px;
  max-width: 56ch;
}

.letter p {
  margin-top: 20px;
  color: var(--paper-dim);
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  line-height: 1.95;
}

.signature {
  font-family: var(--serif);
  color: var(--gold) !important;
  font-size: 17px !important;
  letter-spacing: 0.12em;
}

.about-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.8) brightness(0.9);
}

/* ---------------------------------------------------------- beta */

.beta {
  position: relative;
  margin-top: clamp(120px, 17vh, 210px);
  padding-block: clamp(90px, 13vh, 150px);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.beta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70vw;
  height: 90vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(226, 177, 94, 0.14) 0%, rgba(226, 177, 94, 0.04) 38%, transparent 66%);
  pointer-events: none;
}

.beta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 72%) var(--my, 34%),
    rgba(226, 177, 94, 0.08),
    transparent 70%
  );
}

.beta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.beta-copy .section-lede {
  max-width: 46ch;
}

.beta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.beta-note {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

.beta-phone {
  justify-self: center;
  width: min(280px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--ink-3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.beta-phone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

/* ---------------------------------------------------------- invite modal */

body.has-modal {
  overflow: hidden;
}

.invite-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 22px;
}

.invite-modal[hidden] {
  display: none;
}

.invite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 9, 0.84);
  backdrop-filter: blur(12px);
}

.invite-dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92dvh, 760px);
  overflow: auto;
  padding: clamp(24px, 4.5vw, 36px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: invite-in 0.28s var(--ease);
}

@keyframes invite-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.invite-dialog:focus {
  outline: none;
}

.invite-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.invite-close:hover {
  color: var(--paper);
  border-color: var(--gold);
}

.invite-title {
  padding-right: 54px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 31px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--paper);
}

.invite-desc {
  margin-top: 14px;
  color: var(--paper-dim);
  font-size: 13.5px;
  line-height: 1.9;
}

.invite-qr {
  width: min(300px, 72vw);
  margin: 22px auto 0;
  padding: 12px;
  background: #fff;
  border-radius: 2px;
}

.invite-qr img {
  width: 100%;
  height: auto;
}

.invite-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  text-align: center;
}

.invite-note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(226, 177, 94, 0.4);
}

.invite-note a:hover {
  border-bottom-color: var(--gold);
}

/* ---------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 56px 46px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-line {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--paper-dim);
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-credit {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
  text-align: right;
}

/* ---------------------------------------------------------- reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  overflow: hidden;
}

.reveal-mask img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
}

.reveal-mask.is-visible img {
  clip-path: inset(0 0 0 0);
}

.ribbon-item:nth-child(2) {
  transition-delay: 0.06s;
}

.ribbon-item:nth-child(3) {
  transition-delay: 0.12s;
}

.ribbon-item:nth-child(4) {
  transition-delay: 0.18s;
}

.ribbon-item:nth-child(5) {
  transition-delay: 0.24s;
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

  .persona-inner,
  .persona--mosaic .persona-inner,
  .quiet-inner,
  .about-inner,
  .beta-inner,
  .scene-detail {
    grid-template-columns: 1fr;
  }

  .persona--split .persona-copy {
    padding-top: 0;
  }

  .about-media {
    max-width: 560px;
  }

  .beta-phone {
    justify-self: start;
    width: min(240px, 100%);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-credit {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 80px;
  }

  [id] {
    scroll-margin-top: 80px;
  }

  .site-header {
    height: 66px;
  }

  .site-nav,
  .site-header > .cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    top: 66px;
  }

  .hero {
    min-height: 92dvh;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 64px);
  }

  .hero-media img {
    object-position: 64% 44%;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 20px;
  }

  .product-shot,
  .scene-shot {
    width: calc(100% - var(--pad));
  }

  .product-shot figcaption,
  .scene-shot figcaption {
    text-align: left;
  }

  .persona--full {
    min-height: 78vh;
  }

  .persona-full-copy {
    padding-bottom: 56px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .display {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .display--md {
    font-size: clamp(28px, 8.2vw, 38px);
  }

  .hero {
    min-height: 100dvh;
  }

  .hero h1 {
    font-size: clamp(40px, 12.4vw, 56px);
  }

  .hero-lede {
    max-width: 34ch;
  }

  .ribbon-item {
    width: 68vw;
  }

  .mosaic {
    gap: 8px;
  }

  .quiet-pull {
    font-size: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .beta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .reveal-mask {
    opacity: 1;
    transform: none;
  }

  .reveal-mask img {
    clip-path: none;
  }
}
