/* Greenlite Studios
   Black, off-white, one green. Nothing else. */

@font-face {
  font-family: "Fraunces";
  src: url("/static/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* Brand kit near-black. Pure #000 crushes the video's shadow detail. */
  --black: #080808;
  --white: #f5f5f0;
  --green: #00e676;
  --green-alt: #2ecc71;

  /* The off-white at lower strengths. Still the same colour. */
  --dim: rgb(245 245 240 / 0.66);
  --faint: rgb(245 245 240 / 0.34);
  --line: rgb(245 245 240 / 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(5rem, 13vw, 11rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--black);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.6vw, 6.25rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.1rem, 5.2vw, 4.5rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

::selection {
  background: var(--green);
  color: var(--black);
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.label {
  color: var(--dim);
  margin-bottom: 1.25rem;
}

.line {
  display: block;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--black);
}
.skip:focus {
  top: 1rem;
}

/* ---------- The dot ---------- */

.dot {
  position: relative;
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  min-width: 6px;
  min-height: 6px;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--green);
}
.dot::after,
.lights[data-light="green"] [data-lamp="green"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.9s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  75%,
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

/* ---------- CTA: solid green, black type, no gradients ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--black);
  font: 600 1.0625rem/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
}
.cta:hover {
  background: var(--green-alt);
}
.cta:active {
  transform: translateY(1px);
}
.cta__dot {
  position: relative;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--black);
}
.cta:hover .cta__dot::after,
.cta:focus-visible .cta__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--black);
  animation: pulse 1.1s var(--ease-out) infinite;
}

/* ---------- Top ---------- */

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.5rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font: 600 1.1875rem/1 var(--sans);
  letter-spacing: -0.03em;
  text-decoration: none;
}

/* ---------- Signal mark (brand kit) ---------- */

.signal-mark {
  display: block;
  width: auto;
  height: 0.95rem;
  overflow: visible;
}
.signal-mark circle {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
}
.signal-mark .signal-mark__c {
  fill: var(--green);
  stroke: var(--green);
}

/* On load the lights cut through stop, wait, go, then rest on green.
   With reduced motion the resting state above is all there is. */
.signal-mark__a {
  animation: signal-a 1.1s steps(1, end) both;
}
.signal-mark__b {
  animation: signal-b 1.1s steps(1, end) both;
}
.signal-mark .signal-mark__c {
  animation: signal-c 1.1s steps(1, end) both;
}
@keyframes signal-a {
  0% { fill: var(--white); }
  30%, 100% { fill: transparent; }
}
@keyframes signal-b {
  0% { fill: transparent; }
  30% { fill: var(--white); }
  60%, 100% { fill: transparent; }
}
@keyframes signal-c {
  0% { fill: transparent; stroke: var(--white); }
  60%, 100% { fill: var(--green); stroke: var(--green); }
}

.clock {
  position: fixed;
  top: 1.5rem;
  right: var(--gutter);
  z-index: 10;
  padding: 0.15rem 0 0.15rem 0.5rem;
  background: var(--black);
  color: var(--dim);
}

/* ---------- Video frames ---------- */

.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  container-type: inline-size;
}

.frame__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame__video {
  object-fit: cover;
}

/* Film grain over every frame, video or placeholder. */
.frame::after {
  content: "";
  position: absolute;
  inset: -90px;
  z-index: 1;
  background: url("/static/img/grain.svg") 0 0 / 180px 180px;
  opacity: 0.11;
  pointer-events: none;
  animation: grain 0.5s steps(1) infinite;
}

@keyframes grain {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-37px, 22px, 0);
  }
  40% {
    transform: translate3d(41px, -58px, 0);
  }
  60% {
    transform: translate3d(-64px, -19px, 0);
  }
  80% {
    transform: translate3d(18px, 61px, 0);
  }
}


/* Preview loop vs full reel: only one is ever visible. Without a preview
   file, the full reel's poster stands in during the preview state. */
.frame[data-state="preview"] .frame__preview ~ .frame__full,
.frame:not([data-state="preview"]) .frame__preview {
  visibility: hidden;
}
.frame__preview,
.frame[data-state="preview"] .frame__full {
  cursor: pointer;
}

/* The bar along the bottom of the frame. In preview it holds Watch; while
   the full reel plays it holds the controls. Same place, same height, so
   nothing on screen moves when you press Watch. */
.frame__bar {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.6rem;
  background: rgb(8 8 8 / 0.82);
}
.frame__bar[hidden],
.frame:not([data-state="preview"]) .frame__bar--preview {
  display: none;
}
.frame__bar--preview {
  justify-content: space-between;
}

.frame__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.5rem;
  padding: 0 0.75rem 0 0.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 600 0.9375rem/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.frame__watch:hover {
  background: rgb(245 245 240 / 0.12);
}
.frame__watch-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
}
.frame__watch:hover .frame__watch-icon {
  background: var(--green-alt);
}
.frame__watch-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0.1rem;
  fill: currentColor;
}
.frame__watch-length {
  color: var(--dim);
}
.frame__tag {
  margin-right: 0.35rem;
  color: var(--dim);
}
.frame__control {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.frame__control:hover {
  background: rgb(245 245 240 / 0.12);
}
.frame__control svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}
.frame[data-state="playing"] .icon-play,
.frame:not([data-state="playing"]) .icon-pause,
[data-sound][aria-pressed="true"] .icon-muted,
[data-sound][aria-pressed="false"] .icon-sound {
  display: none;
}

.frame__progress {
  --p: 0%;
  flex: 1;
  min-width: 3rem;
  height: 2.5rem;
  margin: 0 0.5rem;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.frame__progress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) var(--p), var(--faint) var(--p));
}
.frame__progress::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) var(--p), var(--faint) var(--p));
}
.frame__progress::-webkit-slider-thumb {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: calc(-0.425rem + 1.5px);
  border: 0;
  border-radius: 50%;
  background: var(--green);
  -webkit-appearance: none;
}
.frame__progress::-moz-range-thumb {
  width: 0.85rem;
  height: 0.85rem;
  border: 0;
  border-radius: 50%;
  background: var(--green);
}

.frame__time {
  flex: none;
  margin-right: 0.35rem;
  color: var(--dim);
}

@container (max-width: 30rem) {
  .frame__time,
  .frame__tag {
    display: none;
  }
}

/* ---------- Reel card: video plus its title card ---------- */

.reel-card__info {
  padding-top: 1.1rem;
}
.reel-card__info .label {
  margin-bottom: 0.5rem;
}
.reel-card__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
}
.reel-card__subtitle {
  margin-top: 0.35rem;
  color: var(--white);
}
.reel-card__more {
  max-width: 62ch;
  margin-top: 0.6rem;
  border: 0;
  color: var(--dim);
}
.reel-card__more summary {
  display: block;
  padding: 0;
}
.reel-card__body {
  overflow: hidden;
}
.reel-card__body > p {
  max-width: none;
  padding: 0;
  margin-top: 0.85rem;
}
.reel-card__toggle {
  margin-left: 0.4rem;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.reel-card__more[open] .when-closed,
.reel-card__more:not([open]) .when-open,
.reel-card__more.is-closing .when-open {
  display: none;
}
.reel-card__more.is-closing .when-closed {
  display: inline;
}

/* ---------- 1. Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  /* Leaves room for the logo band above the fold. */
  min-height: calc(100svh - 6.25rem);
  padding: 6rem var(--gutter) clamp(1.25rem, 3vw, 2.5rem);
}

.hero__pitch {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.anchor {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.3;
  color: var(--dim);
}

.hero__copy {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

/* Desktop: headline and CTA on the left, the reel on the right.
   The reel card's video and info sit in the hero's two rows (subgrid), so the
   copy centers on the video alone. Expanding the description only grows row 2
   and never moves the copy. */
@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 4vw, 4.5rem);
    row-gap: 0;
    align-content: start;
    padding-top: clamp(6rem, 14svh, 9rem);
    padding-bottom: 2rem;
  }
  .hero__copy {
    grid-area: 1 / 1;
    align-self: center;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 4.7vw, 5.5rem);
    line-height: 1;
  }
  .hero .reel-card {
    grid-area: 1 / 2 / span 2;
    display: grid;
    grid-template-rows: subgrid;
    justify-self: end;
    /* Keep the video and its title above the fold on short laptop screens. */
    width: min(100%, 52svh * 16 / 9);
  }
  .hero .reel-card .frame {
    align-self: center;
  }
  .hero .reel-card__info {
    align-self: start;
  }
}

/* Open on black with only the dot, then cut the rest in. */
.hero h1 {
  animation: hold 0.25s steps(1);
}
.hero__pitch {
  animation: hold 0.4s steps(1);
}
.hero .reel-card {
  animation: hold 0.55s steps(1);
}

@keyframes hold {
  from,
  to {
    visibility: hidden;
  }
}

/* ---------- Logo conveyor ---------- */

.hero-band {
  padding-bottom: 1.25rem;
  animation: hold 0.7s steps(1);
}
.hero-band .label {
  margin: 0 var(--gutter) 0.25rem;
}

.band {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.band__track {
  display: flex;
  width: max-content;
  animation: conveyor 45s linear infinite;
}

.band__group {
  --gap: clamp(2.5rem, 6vw, 5.5rem);
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
}

.band__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: 3.5rem;
  font: 600 1.125rem/1 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--dim);
}
.band__item img {
  width: 1.75rem;
  height: 1.75rem;
  /* Client colours are flattened to grey: one green on this page, nothing else. */
  filter: grayscale(1) brightness(1.5);
  opacity: 0.8;
}
.band__item--monaco {
  font: 400 1.125rem/1 var(--serif);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes conveyor {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

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

/* ---------- 2. Three lights ---------- */

.lights {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 7vw, 7rem);
  padding: var(--section) var(--gutter) 0;
}

.signal {
  --lamp: clamp(1.5rem, 4.6vw, 3.75rem);
  position: sticky;
  top: calc(50svh - (var(--lamp) * 3 + 2.4rem) / 2);
  align-self: start;
  display: grid;
  gap: 0.6rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lamp {
  position: relative;
  display: block;
  width: var(--lamp);
  height: var(--lamp);
  border: 1px solid var(--faint);
  border-radius: 50%;
}

/* Only green is ever green. Red and yellow light up white. */
.lights[data-light="red"] [data-lamp="red"],
.lights[data-light="yellow"] [data-lamp="yellow"] {
  border-color: var(--white);
  background: var(--white);
}
.lights[data-light="green"] [data-lamp="green"] {
  border-color: var(--green);
  background: var(--green);
}

.light {
  display: grid;
  align-content: center;
  min-height: 78svh;
  padding: 3rem 0;
}
.light h2 {
  max-width: 17ch;
}
.light .cta {
  justify-self: start;
  margin-top: 2.25rem;
}
.light > p:last-of-type {
  max-width: 44ch;
  margin-top: 1.75rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  color: var(--dim);
}

/* Whichever light you are standing at is the only one at full strength. */
.js .light {
  opacity: 0.38;
}
.js .lights[data-light="red"] [data-panel="red"],
.js .lights[data-light="yellow"] [data-panel="yellow"],
.js .lights[data-light="green"] [data-panel="green"] {
  opacity: 1;
}

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

.fit,
.proof,
.offer,
.objections,
.closing {
  padding: var(--section) var(--gutter) 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.section-head h2 {
  max-width: 18ch;
}
/* Intro paragraph under a section heading. */
.section-head > p:not(.label) {
  max-width: 62ch;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--dim);
}

/* ---------- 3. Proof ---------- */

.proof__band {
  margin: 0 calc(var(--gutter) * -1) clamp(3rem, 7vw, 6rem);
}

/* ---------- Case-study carousel ----------
   Greenlite chrome (arrows, counter) stays white and green. Each client's
   accent, from /accents.css, appears only inside their own card. */

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.carousel__count {
  color: var(--dim);
}
.carousel__arrows {
  display: flex;
  gap: 0.5rem;
}
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font: 400 1.25rem/1 var(--sans);
  cursor: pointer;
}
.carousel__arrow:hover:not(:disabled) {
  border-color: var(--white);
}
.carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--gutter);
  align-items: start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track:focus-visible {
  outline-offset: 6px;
}

.case {
  --accent: var(--white);
  min-width: 0;
  scroll-snap-align: start;
}

.case__body {
  display: grid;
  gap: 2rem;
  padding-top: 1.75rem;
}
/* Tablet: video on top, intro and detail side by side underneath. */
@media (min-width: 52rem) and (max-width: 74.99rem) {
  .case__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}
/* Wide: video left, the whole case study beside it, so it reads in one view. */
@media (min-width: 75rem) {
  .case {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .case__body {
    padding-top: 0;
  }
}

.case__client {
  min-height: 2rem;
  margin-bottom: 1.5rem;
  font: 400 1.125rem/2rem var(--serif);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.case__client img {
  display: block;
  width: auto;
  height: 2rem;
}
.case__intro .label {
  margin-bottom: 0.5rem;
}
.case__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.case__cover {
  max-width: 40ch;
  margin-top: 0.75rem;
}
.case__note {
  margin-top: 1.25rem;
  color: var(--faint);
}

.case__detail {
  display: grid;
  gap: 1.5rem;
}
.case__part,
.reel-card__more.case__more {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
}
.case__label {
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.case__part > p:last-child {
  max-width: 56ch;
  color: var(--dim);
}
.reel-card__more.case__more {
  max-width: none;
  margin-top: 0;
}
.reel-card__more.case__more summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.case__more .case__label {
  margin: 0;
}
.case__more .reel-card__body > p {
  max-width: 56ch;
}
.case__quote {
  margin: 1.5rem 0 0;
}
.case__quote p {
  font: 400 clamp(1.25rem, 2vw, 1.5rem) / 1.3 var(--serif);
  color: var(--white);
}
.case__quote footer {
  margin-top: 0.75rem;
  color: var(--accent);
}

/* ---------- 4. Offer ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
}

.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.step__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  color: var(--dim);
}
.step:last-child .step__time {
  color: var(--green);
}
.step h3 {
  margin-bottom: 0.75rem;
}
.fit .step h3 {
  margin-top: 1rem;
}
.fit .step > p:last-child {
  max-width: 44ch;
}
.step > p:last-child {
  max-width: 38ch;
  color: var(--dim);
}

.tiers {
  margin: clamp(4rem, 9vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.tier {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.tier h3 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}
.tier__pitch {
  max-width: 44ch;
  color: var(--dim);
}
.tier__price {
  margin-top: 0.5rem;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  letter-spacing: 0.02em;
}
.tier__price span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

@media (min-width: 52rem) {
  .tier {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 16rem;
    align-items: baseline;
    gap: 2rem;
  }
  .tier__price {
    margin-top: 0;
    text-align: right;
  }
  .tier__price span {
    display: block;
    margin-top: 0.35rem;
  }
}

/* ---------- 5. Objections ---------- */

@media (min-width: 62rem) {
  .objections {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
  .objections .section-head {
    position: sticky;
    top: 5rem;
  }
}

.objections__list {
  border-bottom: 1px solid var(--line);
}

details {
  border-top: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}

.objection {
  font: 400 clamp(1.375rem, 2.6vw, 2rem) / 1.2 var(--serif);
  letter-spacing: -0.015em;
}
.objection::before {
  content: "“";
}
.objection::after {
  content: "”";
}

.lamp--small {
  --lamp: 0.875rem;
  flex: none;
}
summary:hover .lamp--small {
  border-color: var(--white);
}
details[open] .lamp--small {
  border-color: var(--green);
  background: var(--green);
}

details > p {
  max-width: 56ch;
  padding: 0 2.5rem 1.75rem 0;
  color: var(--dim);
}

/* ---------- Close ---------- */

.closing {
  display: grid;
  justify-items: start;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: var(--section);
}
.closing h2 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 8.2vw, 7.75rem);
  line-height: 0.98;
}
.closing__head > p {
  max-width: 44ch;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--dim);
}

/* ---------- 6. Footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
}
.foot .dot {
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.2em;
}

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

.lost {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  min-height: 100svh;
  padding: var(--gutter);
}
.lost .label {
  margin: 0;
}

/* ---------- Jump cuts ----------
   Sections do not fade in. They are absent, then present, with one
   misregistered frame in between, like a splice running through the gate. */

.js .cut {
  visibility: hidden;
}
.js .cut.is-in {
  visibility: visible;
  animation: splice 0.13s steps(2, jump-none);
}

@keyframes splice {
  from {
    transform: translate3d(0, 0.6rem, 0);
    clip-path: inset(0 0 45% 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
  .js .cut {
    visibility: visible;
  }
}
