/* rec.ad: every page is a camera viewfinder. Tokens first, then the frame, then the pages. */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #0b0b0c;
  --ink: #f3efe6;
  --muted: #9a968e;
  --hair: rgb(243 239 230 / 0.14);
  --bracket: rgb(243 239 230 / 0.62);
  --veil: rgb(11 11 12 / 0.86);
  --rec: #ff3b30;
  /* Red words: #ff3b30 itself in dark mode (5.5:1); a deeper shade of it on ivory (4.9:1). */
  --rec-text: #ff3b30;
  --rec-glow: 0 0 10px rgb(255 59 48 / 0.75);
  --bezel: #1b1b1e;
  --bezel-edge: rgb(243 239 230 / 0.16);
  --light-blend: screen;
  --glow-amber: rgb(255 150 64 / 0.2);
  --glow-sodium: rgb(255 112 40 / 0.16);
  --light-amber: rgb(255 168 84 / 0.34);
  --light-tungsten: rgb(255 214 164 / 0.3);
  --light-tail: rgb(255 59 48 / 0.34);
  --light-white: rgb(255 236 210 / 0.26);
  --grain: 0.13;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --frame: 12px; /* viewfinder inset from the screen edge */
  --bar: 44px; /* height of the top and bottom readout rows */
  --pad: 24px; /* content gutter */
  --clear: calc(var(--frame) + var(--bar) + 12px); /* content keeps clear of the readouts */
}

/* Day mode: the device's light setting, unless the DAY/NIGHT toggle chose night; or the toggle's
   own choice. The two blocks must stay identical. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --paper: #f3efe6;
    --ink: #0b0b0c;
    --muted: #625e57;
    --hair: rgb(11 11 12 / 0.14);
    --bracket: rgb(11 11 12 / 0.55);
    --veil: rgb(243 239 230 / 0.88);
    --rec-text: #c8261c;
    --rec-glow: none;
    --bezel: #0b0b0c;
    --bezel-edge: rgb(11 11 12 / 0.9);
    --light-blend: multiply;
    --glow-amber: rgb(250 176 116 / 0.2);
    --glow-sodium: rgb(248 150 100 / 0.14);
    --light-amber: rgb(246 172 112 / 0.26);
    --light-tungsten: rgb(240 204 160 / 0.32);
    --light-tail: rgb(236 120 100 / 0.18);
    --light-white: rgb(232 214 190 / 0.34);
    --grain: 0.09;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f3efe6;
  --ink: #0b0b0c;
  --muted: #625e57;
  --hair: rgb(11 11 12 / 0.14);
  --bracket: rgb(11 11 12 / 0.55);
  --veil: rgb(243 239 230 / 0.88);
  --rec-text: #c8261c;
  --rec-glow: none;
  --bezel: #0b0b0c;
  --bezel-edge: rgb(11 11 12 / 0.9);
  --light-blend: multiply;
  --glow-amber: rgb(250 176 116 / 0.2);
  --glow-sodium: rgb(248 150 100 / 0.14);
  --light-amber: rgb(246 172 112 / 0.26);
  --light-tungsten: rgb(240 204 160 / 0.32);
  --light-tail: rgb(236 120 100 / 0.18);
  --light-white: rgb(232 214 190 / 0.34);
  --grain: 0.09;
}

@media (min-width: 900px) {
  :root {
    --frame: 24px;
    --pad: clamp(56px, 7vw, 128px);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.2s, color 0.2s;
}
a:hover {
  text-decoration-color: var(--rec-text);
}

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

::selection {
  background: var(--rec);
  color: #0b0b0c;
}

.readout {
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Corner brackets: one element, eight thin bars. Size with --k (arm) and --t (stroke). */
.vf-frame,
.af::after,
.shot-frame::before {
  --c: var(--bracket);
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--k) var(--t),
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--k),
    linear-gradient(var(--c), var(--c)) right top / var(--k) var(--t),
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--k),
    linear-gradient(var(--c), var(--c)) left bottom / var(--k) var(--t),
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--k),
    linear-gradient(var(--c), var(--c)) right bottom / var(--k) var(--t),
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--k);
  background-repeat: no-repeat;
}

/* The viewfinder ------------------------------------------------------------------------- */

.vf-frame {
  --k: 26px;
  --t: 1.5px;
  position: fixed;
  inset: var(--frame);
  z-index: 20;
  pointer-events: none;
}

.vf-top,
.vf-bottom {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 19;
  display: flex;
  align-items: center;
  gap: 18px;
  height: calc(var(--frame) + var(--bar));
  padding-inline: calc(var(--frame) + 14px);
  pointer-events: none;
}
.vf-top {
  top: 0;
  padding-top: var(--frame);
  justify-content: space-between;
}
/* The veil behind the top readout appears once content scrolls under it. */
.vf-top::before {
  content: "";
  position: absolute;
  inset: 0 0 -12px;
  z-index: -1;
  background: linear-gradient(var(--veil) 60%, transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.scrolled .vf-top::before,
html:not(.js) .vf-top::before {
  opacity: 1;
}
.vf-bottom {
  bottom: 0;
  padding-bottom: var(--frame);
  color: var(--muted);
  background: linear-gradient(transparent, var(--veil) 45%);
}
.vf-bottom .grow {
  flex: 1;
}
.addr {
  text-transform: none;
  letter-spacing: 0.06em;
}
.vf-bottom .wide,
.vf-top .wide {
  display: none;
}
@media (min-width: 900px) {
  .vf-top,
  .vf-bottom {
    padding-inline: calc(var(--frame) + 22px);
    gap: 28px;
  }
  .vf-bottom .wide,
  .vf-top .wide {
    display: inline;
  }
}

.vf-mid {
  color: var(--muted);
  position: absolute;
  left: 50%;
  translate: -50% 0;
  margin-top: 0;
}

.rec {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  min-width: 44px;
  margin-left: -10px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--rec-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: var(--rec-glow);
  animation: breathe 2.6s ease-in-out infinite;
}
.rec[aria-pressed="false"] {
  color: var(--muted);
}
.rec[aria-pressed="false"] .rec-dot {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}
.rec-label {
  min-width: 4ch; /* REC and STBY take the same room, so nothing shifts */
  text-align: left;
}

/* DAY/NIGHT: picks light or dark over the device setting. */
.theme {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 0 8px;
  margin-inline: -8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.theme:hover {
  color: var(--ink);
}
.theme-icon {
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.theme:not(.is-dark) .theme-icon {
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.timecode {
  color: var(--ink);
}
.stby .timecode {
  color: var(--muted);
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}

/* The hero: grain and out-of-focus lights behind the words ------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: var(--clear) var(--pad);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.light {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: var(--light-blend);
  will-change: transform;
  animation: drift var(--dur, 80s) ease-in-out var(--delay, 0s) infinite alternate;
}
.light.soft {
  background: radial-gradient(closest-side, var(--tone), transparent);
}
/* An out-of-focus point of light: an even disc with a slightly brighter rim and a soft edge. */
.light.disc {
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--tone) 72%, transparent) 0 60%,
    var(--tone) 69%,
    transparent 76%
  );
  filter: blur(var(--blur, 3px));
}
.g1 { --tone: var(--glow-amber); width: 80vmax; height: 80vmax; left: -34vmax; top: -38vmax; --dx: 8vw; --dy: 6vh; --dur: 96s; }
.g2 { --tone: var(--glow-sodium); width: 64vmax; height: 64vmax; right: -30vmax; top: -24vmax; --dx: -6vw; --dy: 8vh; --dur: 110s; --delay: -40s; }
.d1 { --tone: var(--light-tungsten); width: 24vmax; height: 24vmax; right: 2%; top: 9vh; --dx: -9vw; --dy: 5vh; --dur: 74s; --delay: -20s; --blur: 5px; }
.d2 { --tone: var(--light-tail); width: 11vmax; height: 11vmax; left: 52%; top: 27vh; --dx: -12vw; --dy: -3vh; --dur: 62s; --delay: -11s; --blur: 4px; }
.d3 { --tone: var(--light-white); width: 8vmax; height: 8vmax; left: 13%; top: 37vh; --dx: 11vw; --dy: -5vh; --dur: 58s; --delay: -30s; }
.d4 { --tone: var(--light-amber); width: 16vmax; height: 16vmax; left: 24%; top: 5vh; --dx: 8vw; --dy: 8vh; --dur: 88s; --delay: -52s; --blur: 6px; }
.d5 { --tone: var(--light-amber); width: 5vmax; height: 5vmax; left: 74%; top: 33vh; --dx: -7vw; --dy: 4vh; --dur: 66s; --delay: -8s; --blur: 2px; }

@keyframes drift {
  to {
    transform: translate3d(var(--dx), var(--dy), 0) scale(1.08);
  }
}

.grain {
  position: absolute;
  top: -64px;
  left: -64px;
  width: calc(100% + 128px);
  height: calc(100% + 128px);
  opacity: var(--grain);
  will-change: transform;
  animation: grain 0.9s steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-31px, 17px); }
  33% { transform: translate(22px, -29px); }
  50% { transform: translate(-13px, -41px); }
  67% { transform: translate(37px, 23px); }
  83% { transform: translate(-44px, 6px); }
}

/* Rule-of-thirds guides and the centre mark, very faint. */
.thirds {
  position: absolute;
  inset: 0;
  --g: color-mix(in srgb, var(--ink) 7%, transparent);
  background:
    linear-gradient(var(--g), var(--g)) 33.333% 0 / 1px 100%,
    linear-gradient(var(--g), var(--g)) 66.666% 0 / 1px 100%,
    linear-gradient(var(--g), var(--g)) 0 33.333% / 100% 1px,
    linear-gradient(var(--g), var(--g)) 0 66.666% / 100% 1px;
  background-repeat: no-repeat;
}
.reticle {
  position: absolute;
  left: 50%;
  top: 33.333%;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  --g: color-mix(in srgb, var(--ink) 40%, transparent);
  background:
    linear-gradient(var(--g), var(--g)) center / 1px 100%,
    linear-gradient(var(--g), var(--g)) center / 100% 1px;
  background-repeat: no-repeat;
}

.stby .light,
.stby .grain {
  animation-play-state: paused;
}

.hero-copy {
  max-width: 1180px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 15.4vw, 8.6rem);
  line-height: 0.94;
  letter-spacing: -0.012em;
  animation: rack-focus 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
h1 .line {
  display: block;
}
h1 em {
  font-style: italic;
  color: var(--rec-text);
  letter-spacing: -0.02em;
}

/* The autofocus box that locks onto the red word. */
.af {
  position: relative;
  display: inline-block;
  padding-inline: 0.1em 0.1em;
}
.af::after {
  --k: 0.15em;
  --t: 1.5px;
  content: "";
  position: absolute;
  inset: 0.12em 0 0;
  animation: af-lock 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
}

@keyframes rack-focus {
  0% { filter: blur(14px); opacity: 0.35; }
  55% { filter: blur(0); opacity: 1; }
  72% { filter: blur(1.8px); }
  100% { filter: blur(0); opacity: 1; }
}
@keyframes af-lock {
  0% { opacity: 0; transform: scale(1.35); }
  45% { opacity: 1; transform: scale(0.96); }
  58% { opacity: 0.3; }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

.lede {
  margin: 1.6rem 0 0;
  max-width: 30ch;
  font-size: 1.125rem;
  line-height: 1.5;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 0.15em;
  padding: 0.45em 0.7em 0.4em;
  border: 1px solid var(--hair);
  border-radius: 3px;
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 0.15em;
}
.soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rec);
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  min-height: 44px;
  margin-top: 1.4rem;
  color: var(--muted);
  text-decoration: none;
}
.cue::after {
  content: "↓" / "";
  font-size: 1.15em;
  animation: cue 2.6s ease-in-out infinite;
}
.cue:hover {
  color: var(--ink);
}
@keyframes cue {
  0%, 100% { transform: translateY(-2px); opacity: 0.6; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* Sections ------------------------------------------------------------------------------- */

.section {
  padding: 4.5rem var(--pad) 1rem;
  max-width: calc(1180px + 2 * var(--pad));
}

h2 {
  font-size: clamp(2.6rem, 11vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Headings pull into focus as they scroll in. Only with JS, so nothing stays blurred without it. */
.js .focus-pull {
  filter: blur(9px);
  opacity: 0.4;
}
.js .focus-pull.in-focus {
  filter: none;
  opacity: 1;
  animation: autofocus 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes autofocus {
  0% { filter: blur(9px); opacity: 0.4; }
  52% { filter: blur(0); opacity: 1; }
  68% { filter: blur(2px); }
  100% { filter: blur(0); opacity: 1; }
}

.label {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
}
.step {
  padding: 1.35rem 0 1.9rem;
  border-top: 1px solid var(--hair);
}
.step-meta {
  display: flex;
  justify-content: space-between;
  margin: 0 0 1rem;
  color: var(--muted);
}
.step-meta .tc {
  opacity: 0.8;
}
.step-text {
  margin: 0;
  max-width: 26ch;
  font-size: 1.125rem;
}
.step-text strong {
  display: block;
  margin-bottom: 0.3rem;
  font: 400 2.25rem/1.05 var(--serif);
}

.first-text {
  margin: 1.6rem 0 0;
  max-width: 24ch;
  font-size: 1.375rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 56px;
  padding: 0 1.6em 0 1.35em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 1.0625rem/1.2 var(--sans);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-off {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 38%, transparent);
  cursor: default;
}
.btn-off:hover,
.btn-off:active {
  transform: none;
}
.btn-dot {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rec);
  animation: breathe 2.6s ease-in-out infinite;
}
.btn-line {
  width: 100%;
  margin-top: 2rem;
  padding: 1.05rem 1.25rem;
  justify-content: flex-start;
  border-radius: 16px;
  background: none;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 38%, transparent);
  text-align: left;
}
.btn-line .arrow {
  margin-left: auto;
  padding-left: 0.5em;
}
.btn-line:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn .arrow {
  margin-left: 0.15em;
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.foot {
  margin-top: 5rem;
  padding: 1.5rem var(--pad) calc(var(--clear) + 1rem);
  border-top: 1px solid var(--hair);
  color: var(--muted);
}
.foot p {
  margin: 0;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* rec.ad/habitgrip ----------------------------------------------------------------------- */

.hero-hg {
  align-content: start;
}
.hero-hg .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* The words and the button fill exactly the first screen, the button in thumb reach. */
  min-height: calc(100svh - 2 * var(--clear));
}
.hero-hg h1 {
  font-size: clamp(3.25rem, 14.2vw, 7.4rem);
}

.points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: point;
  max-width: 30ch;
}
.points li {
  counter-increment: point;
  display: grid;
  grid-template-columns: 2.1em 1fr;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.points li + li {
  border-top: 1px solid var(--hair);
}
.points li::before {
  content: counter(point, decimal-leading-zero);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-hg .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.shot {
  justify-self: center;
  margin: calc(var(--clear) + 2.5rem) 0 0;
}
.shot-frame {
  position: relative;
  padding: 26px;
}
.shot-frame::before {
  --k: 22px;
  --t: 1.5px;
  content: "";
  position: absolute;
  inset: 0;
}
.shot figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding-inline: 26px;
  color: var(--muted);
}

.phone {
  --w: min(70vw, 280px);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: var(--bezel);
  box-shadow:
    inset 0 0 0 1px var(--bezel-edge),
    0 2px 2px rgb(0 0 0 / 0.12),
    0 40px 80px -36px rgb(0 0 0 / 0.55);
}
.phone img {
  width: 100%;
  border-radius: calc(var(--w) * 0.135);
}
.island {
  position: absolute;
  top: calc(var(--w) * 0.058);
  left: 50%;
  width: calc(var(--w) * 0.29);
  height: calc(var(--w) * 0.085);
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 27%;
  width: 3px;
  height: 14%;
  border-radius: 0 3px 3px 0;
  background: var(--bezel);
  box-shadow: inset -1px 0 0 var(--bezel-edge);
}

.about-text {
  margin: 1.6rem 0 0;
  max-width: 30ch;
  font-size: 1.375rem;
  line-height: 1.4;
  text-wrap: pretty;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 1.5rem 0 0;
}
.about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.out::after {
  content: "↗" / "";
  margin-left: 0.3em;
  font-weight: 400;
  color: var(--muted);
}

.back {
  text-decoration: none;
}

/* 404 ------------------------------------------------------------------------------------- */

.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: var(--clear) var(--pad);
}
.lost h1 {
  font-size: clamp(3rem, 13vw, 7rem);
  animation: none;
}
.lost p {
  margin: 1.4rem 0 0;
  max-width: 30ch;
}

/* Desktop -------------------------------------------------------------------------------- */

@media (min-width: 900px) {
  h1 {
    font-size: clamp(5rem, 8.1vw, 9.25rem);
  }
  .hero {
    padding-bottom: calc(var(--clear) + 2.5rem);
  }
  .hero-copy {
    max-width: none;
  }
  .hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 2.25rem;
  }
  .hero-foot .lede {
    margin: 0;
    max-width: 34ch;
    font-size: 1.25rem;
  }
  .hero-foot .cue {
    margin: 0;
    flex: none;
  }

  .section {
    padding-top: 7.5rem;
  }
  .how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(2rem, 4vw, 4.5rem);
  }
  .how h2 {
    grid-column: 1 / -1;
  }
  .how .steps {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    margin-top: 3.5rem;
  }
  .step-text strong {
    font-size: 2.75rem;
  }

  /* Heading on the left, its words and action stacked on the right. */
  .first,
  .about {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* the right column starts on Take 2 */
    column-gap: clamp(2rem, 4vw, 4.5rem);
    align-content: start;
  }
  .first h2,
  .about h2 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .first-text,
  .about-text {
    grid-column: 2 / span 2;
    margin-top: 0.5rem;
    font-size: 1.625rem;
    max-width: 24ch;
  }
  .first .btn-line {
    grid-column: 2 / span 2;
    justify-self: start;
    width: auto;
    padding: 0 1.6em 0 1.35em;
    border-radius: 999px;
  }
  .about-links {
    grid-column: 2 / span 2;
  }

  .hero-hg {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-content: stretch;
    column-gap: 3rem;
    padding-bottom: var(--clear);
  }
  .hero-hg .hero-copy {
    min-height: 0;
    padding-bottom: 2.5rem;
  }
  .hero-hg h1 {
    font-size: clamp(4.5rem, 6.6vw, 8rem);
  }
  .hero-hg .btn {
    width: auto;
    align-self: flex-start;
    padding-inline: 1.4em 1.9em;
  }
  .shot {
    align-self: center;
    margin: 0;
  }
  .phone {
    --w: clamp(240px, calc((100vh - 290px) * 0.47), 330px);
  }

}

/* Calm mode: nothing moves, nothing blurs. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .focus-pull {
    filter: none;
    opacity: 1;
  }
}
