/* Newe. Layout concept: one motif, the overlap. Blue (new) and gold (we) meet and make green (newe).
   The motif repeats at every scale: the shared W, the bars, the discs, the buttons. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
}

:root {
  /* colour */
  --paper: #F1F4EC;
  --paper-2: #E5EADD;
  --sheet: #FBFCF8;
  --ink: #10261C;
  --ink-2: #44594E;
  --line: rgba(16, 38, 28, .16);
  --new: #2478D0;      /* AI */
  --we: #F5C445;       /* people */
  --newe: #235C38;     /* new x we, the exact multiply of the two above */
  --newe-lit: #74C68C; /* the same idea on dark grounds */
  --on-dark: #EEF3E6;
  --on-dark-2: rgba(238, 243, 230, .66);
  --line-dark: rgba(238, 243, 230, .2);

  /* type */
  --sans: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --voice: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* space */
  --gut: clamp(1.25rem, 5vw, 4rem);
  --sec: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[tabindex="-1"]:focus { outline: none; }
html.motion { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, .98rem + .32vw, 1.25rem);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--we); color: var(--ink); }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

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

h1, h2 {
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 1.15rem + 4.6vw, 4.75rem); }

em {
  font-family: var(--voice);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.015em;
  font-size: 1.05em;
}

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 2.25rem; height: .3rem;
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%);
}
.eyebrow em { text-transform: none; letter-spacing: 0; font-size: 1.35em; margin-inline: -.2em; }

.lead { font-size: 1.12em; line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }

.sec-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 60rem; }

/* ---------- the mark ---------- */

.mark {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  isolation: isolate;
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -.045em;
  line-height: .8;
  color: var(--ink);
  text-decoration: none;
}
.mark-ne { grid-area: 1 / 1; }
.mark-w { grid-area: 1 / 2; display: grid; }
.mark-w > span { grid-area: 1 / 1; }
.mark-e { grid-area: 1 / 3; }
.w-new { color: var(--new); }
.w-we { color: var(--we); mix-blend-mode: multiply; }
.bar { display: block; grid-row: 2; height: .06em; margin-top: .09em; }
.bar-new { grid-column: 1 / 3; background: var(--new); margin-left: .04em; }
.bar-we { grid-column: 2 / 4; background: var(--we); mix-blend-mode: multiply; margin-right: -.03em; }
.mark-plus {
  grid-area: 1 / 2; place-self: center;
  font-weight: 300; font-size: .36em; letter-spacing: 0; color: var(--ink-2);
  opacity: 0; transform: translateX(1.45em);
}

.mark--nav { font-size: 1.7rem; padding: .1em .1em .22em; }

/* ---------- buttons and links ---------- */

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.55em;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
  text-decoration: none;
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  transition: transform .55s var(--ease);
}
.btn::before { background: var(--new); transform: translateX(-101%); }
.btn::after { background: var(--we); mix-blend-mode: multiply; transform: translateX(101%); }
.btn:hover::before, .btn:hover::after,
.btn:focus-visible::before, .btn:focus-visible::after { transform: none; }
.btn > span { position: relative; z-index: 1; }
.btn--small { padding: .72em 1.2em; font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding-block: .35em;
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%) left bottom / 100% 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 100% 5px; }
.link-arrow:hover span { transform: translateY(3px); }
.link-arrow--right:hover span { transform: translateX(4px); }

/* ---------- progress ---------- */

.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 70; isolation: isolate; pointer-events: none; display: none; }
.js .progress { display: block; }
.progress i { position: absolute; inset: 0; transform: scaleX(var(--pg, 0)); }
.progress-new { background: var(--new); transform-origin: left; }
.progress-we { background: var(--we); transform-origin: right; mix-blend-mode: multiply; }

/* ---------- nav ---------- */

.nav {
  position: fixed; z-index: 60;
  top: calc(.9rem + env(safe-area-inset-top, 0px)); left: 50%;
  width: min(74rem, calc(100% - 1.5rem));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem .45rem .45rem 1.25rem;
  background: rgba(241, 244, 236, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -160%); }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
  position: relative; font-size: .9375rem; font-weight: 500; text-decoration: none; padding-block: .4rem;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: none; }

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

.hero {
  padding-top: calc(clamp(6rem, 9vw, 7.25rem) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  overflow-x: clip;
}
.hero-eyebrow { margin-bottom: 0; }

.mark--hero {
  font-size: clamp(5.25rem, 25vw, 22.5rem);
  margin-top: -.1em;
  margin-left: -.035em;
}

.hero-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.legend {
  justify-self: end; width: 100%; max-width: 21rem;
  display: grid; font-size: .9375rem; line-height: 1.35; color: var(--ink-2);
}
.legend li { display: grid; grid-template-columns: .8rem 3.1rem minmax(0, 1fr); gap: .6rem; align-items: baseline; padding-block: .7rem; border-top: 1px solid var(--line); }
.legend li:last-child { border-bottom: 1px solid var(--line); }
.legend .chip { align-self: center; }
.legend b { color: var(--ink); font-weight: 650; }
.chip { flex: none; width: .8rem; height: .8rem; }
.chip-new { background: var(--new); }
.chip-we { background: var(--we); }
.chip-newe { background: var(--newe); }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.75rem, 5vw, 5rem); align-items: end;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 4vw, 4.3rem); }
.hero-side { display: grid; gap: 1.75rem; }
.hero-side .lead { font-size: 1.05em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* hero intro: "new" + "we" slide together and share the w */
@keyframes join { 0%, 34% { transform: translateX(1.05em); } 78%, 100% { transform: none; } }
@keyframes plus { 0%, 34% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes settle-new { 0%, 76% { color: var(--new); } 100% { color: var(--ink); } }
@keyframes settle-we { 0%, 76% { color: var(--we); } 100% { color: var(--ink); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

.motion .mark--hero .w-we,
.motion .mark--hero .mark-e,
.motion .mark--hero .bar-we { animation: join 2.7s var(--ease-io) .15s both; }
.motion .mark--hero .mark-plus { animation: plus 2.7s linear .15s both; }
.motion .mark--hero .mark-ne { animation: settle-new 2.7s ease .15s both; }
.motion .mark--hero .mark-e { animation: join 2.7s var(--ease-io) .15s both, settle-we 2.7s ease .15s both; }
.motion .legend li { animation: rise .8s var(--ease) both; }
.motion .legend li:nth-child(1) { animation-delay: 2.15s; }
.motion .legend li:nth-child(2) { animation-delay: 2.3s; }
.motion .legend li:nth-child(3) { animation-delay: 2.45s; }
@keyframes mark-grow { 0%, 34% { transform: scale(var(--s0, 1)); } 78%, 100% { transform: none; } }
.motion .mark--hero { transform-origin: left bottom; animation: mark-grow 2.7s var(--ease-io) .15s both; }
.motion .mark--hero.joined { animation: none; }
.motion .hero-grid { animation: rise 1s var(--ease) 2.5s both; }

/* once joined, hovering the mark pulls the two words apart again */
.motion .mark--hero.joined > *, .motion .mark--hero.joined .w-we { animation: none; }
.motion .mark--hero.joined .w-we,
.motion .mark--hero.joined .mark-e,
.motion .mark--hero.joined .bar-we { transition: transform .9s var(--ease-io), color .5s ease; }
.motion .mark--hero.joined .mark-ne { transition: color .5s ease; }
.motion .mark--hero.joined .mark-plus { transition: opacity .4s ease; }
@media (hover: hover) {
  .motion .mark--hero.joined:hover .w-we,
  .motion .mark--hero.joined:hover .mark-e,
  .motion .mark--hero.joined:hover .bar-we { transform: translateX(1.05em); }
  .motion .mark--hero.joined:hover .mark-ne { color: var(--new); }
  .motion .mark--hero.joined:hover .mark-e { color: var(--we); }
  .motion .mark--hero.joined:hover .mark-plus { opacity: 1; transition-delay: .35s; }
  .motion .legend { transition: opacity .45s ease; }
  .motion .hero-top:has(.mark--hero.joined:hover) .legend { opacity: 0; }
}

/* ---------- the name: pinned scene ----------
   Without animation the stage rests on the finished diagram: new | newe | we.
   With animation (.pin) the stage sticks to the screen and main.js drives every value below from the scroll position.
   Nothing here runs on a timer, so the reader never loses a line by scrolling at their own pace. */

.scene {
  position: relative;
  --shift: .5; --lens: .45; --o-new: 1; --o-we: 1; --ds: 1; --lbl: 1; --lens-o: 1;
  --scale: 1; --fin: 0; --fin-t: 0; --ui: 1;
}
.stage { padding-block: var(--sec); }
.stage-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(2rem, 5vw, 3.5rem);
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

.venn {
  --D: min(41vw, 27rem);
  position: relative; isolation: isolate;
  width: calc(var(--D) * 2.1); height: var(--D);
  transform: scale(var(--scale));
}
.disc {
  position: absolute; top: 0;
  width: var(--D); height: var(--D); border-radius: 50%;
  display: grid; place-items: center;
}
.disc span { display: block; font-size: calc(var(--D) * .2); font-weight: 650; letter-spacing: -.04em; line-height: 1; opacity: var(--lbl); }
.disc-new {
  left: 0; background: var(--new); color: var(--paper); opacity: var(--o-new);
  transform: translateX(calc(var(--shift) * var(--D) * .55)) scale(var(--ds));
}
.disc-we {
  right: 0; background: var(--we); color: var(--ink); mix-blend-mode: multiply; opacity: var(--o-we);
  transform: translateX(calc(var(--shift) * var(--D) * -.55)) scale(var(--ds));
}
/* as the discs overlap, each label slides out into the part of its disc that is still its own */
.disc-new span { transform: translateX(calc(var(--lens) * var(--D) * -.5)); }
.disc-we span {
  font-family: var(--voice); font-style: italic; font-weight: 500; font-size: calc(var(--D) * .24); letter-spacing: -.02em;
  transform: translateX(calc(var(--lens) * var(--D) * .5));
}
.lens {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: calc(var(--D) * .165); font-weight: 700; letter-spacing: -.045em; line-height: 1;
  color: var(--on-dark); opacity: var(--lens-o);
}

.captions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); max-width: 64rem; }
.caption { display: grid; gap: .9rem; align-content: start; }
.caption h2 { font-size: clamp(1.9rem, 1rem + 3.1vw, 3.6rem); }
.caption p { color: var(--ink-2); max-width: 31em; text-wrap: pretty; }
.t-new { color: var(--new); }
.t-we { background: linear-gradient(transparent 60%, var(--we) 60% 90%, transparent 90%); padding-inline: .08em; }
.t-newe { color: var(--newe); }

.stepper { display: none; }
.stepper i { position: relative; width: 2.75rem; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stepper i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--f, 0));
}

.scene-final { margin-top: clamp(2.5rem, 6vw, 5rem); padding-inline: var(--gut); text-align: center; color: var(--newe); }
.scene-final p {
  font-size: clamp(2.6rem, 1rem + 8vw, 8.5rem);
  font-weight: 600; font-stretch: 88%; letter-spacing: -.04em; line-height: .95;
}

/* scene, pinned mode. --u is one hundredth of the screen height that is always visible. */
.pin .scene { --u: 1vh; height: 570vh; }
.pin .stage { position: sticky; top: 0; padding-block: 0; height: 100vh; overflow: hidden; overflow: clip; }
@supports (height: 1svh) {
  .pin .scene { --u: 1svh; height: 570lvh; }
  /* the stage is as tall as the screen ever gets, so the green ending always fills it on a phone */
  .pin .stage { height: 100lvh; }
}
.pin .stage-inner {
  height: calc(var(--u) * 100);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(.75rem, calc(var(--u) * 3), 2rem);
  padding-top: calc(clamp(3.5rem, calc(var(--u) * 10), 6.5rem) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(1.1rem, calc(var(--u) * 5), 3.5rem);
}
.pin .venn {
  --D: min(41vw, 27rem, calc(var(--u) * 40), max(calc(var(--u) * 34), calc(var(--u) * 100 - 31rem)));
  align-self: center; will-change: transform;
}
.pin .scene-eyebrow, .pin .stepper { opacity: var(--ui); }

/* captions roll through a small window, like text on a page: one leaves at the top as the next arrives from below */
.pin .captions {
  --pad: clamp(1.1rem, calc(var(--u) * 4), 1.75rem);
  display: block; position: relative; width: 100%; max-width: 46rem;
  height: clamp(13rem, calc(var(--u) * 38), 15.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
}
.pin .caption {
  position: absolute; inset: 0; padding-block: var(--pad);
  justify-items: center; text-align: center;
  opacity: var(--o, 0); transform: translate3d(0, calc(var(--y, 1) * 100%), 0);
  will-change: transform, opacity;
}
.pin .caption[data-for="1"] { --o: 1; --y: 0; }
.pin .caption h2 { font-size: min(clamp(1.9rem, 1rem + 3.1vw, 3.6rem), calc(var(--u) * 6.4)); }
.pin .stepper { display: flex; gap: .5rem; }

.pin .scene-final {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: grid; place-items: center; padding: var(--gut);
  background: var(--newe); color: var(--on-dark);
  opacity: var(--fin); pointer-events: none;
}
.pin .scene-final p { opacity: var(--fin-t); transform: translateY(calc((1 - var(--fin-t)) * 2.5rem)); }
.pin .scene-final em { color: var(--we); }

/* ---------- manifesto ---------- */

.manifesto { background: var(--newe); color: var(--on-dark); padding-block: clamp(4rem, 10vw, 9rem) var(--sec); }
.manifesto .eyebrow { color: var(--on-dark-2); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.manifesto .eyebrow::before, .contact .eyebrow::before {
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe-lit) 38% 62%, var(--we) 62% 100%);
}
.manifesto-text {
  max-width: 21em;
  font-size: clamp(1.8rem, .9rem + 3.6vw, 4.1rem);
  font-weight: 500; font-stretch: 90%; letter-spacing: -.032em; line-height: 1.1;
  text-wrap: pretty;
}
.manifesto-text strong { font-weight: inherit; color: var(--we); }
.manifesto-text .w { opacity: .2; transition: opacity .4s ease; }
.manifesto-text .w.lit { opacity: 1; }

/* ---------- the check ---------- */

.check { padding-block: var(--sec); }
.check-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.mini { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.looks li { display: grid; gap: .25rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.looks li:last-child { border-bottom: 1px solid var(--line); }
.looks h4 { font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 600; font-stretch: 90%; letter-spacing: -.025em; line-height: 1.15; }
.looks p { color: var(--ink-2); }

.check-side { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.report {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: 0 1px 0 rgba(16, 38, 28, .04), 0 24px 48px -28px rgba(16, 38, 28, .35);
  rotate: -1.4deg;
  transition: rotate .6s var(--ease), opacity .9s var(--ease), transform .9s var(--ease);
}
.report:hover { rotate: 0deg; }
.report figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.report-title { font-size: 1.35rem; font-weight: 650; font-stretch: 90%; letter-spacing: -.025em; }
.report-note { font-size: .8125rem; color: var(--ink-2); }
.report-rows li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .85rem; align-items: center; padding-block: .8rem; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.3; }
.report-rows i { position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; }
.report-rows .ok i { background: var(--newe); }
.report-rows .ok i::after {
  content: ""; position: absolute; left: .56rem; top: .34rem; width: .42rem; height: .72rem;
  border: solid var(--sheet); border-width: 0 .16rem .16rem 0; transform: rotate(42deg);
}
.report-rows .flag i { background: var(--we); }
.report-rows .flag i::after {
  content: "!"; position: absolute; inset: 0; display: grid; place-items: center;
  font-style: normal; font-weight: 800; font-size: 1rem; line-height: 1; color: var(--ink);
}
.report-foot { margin-top: 1.1rem; font-size: .9375rem; color: var(--ink-2); }

.motion .report-rows li { opacity: 0; transform: translateX(-.75rem); transition: opacity .5s ease, transform .6s var(--ease); }
.motion .report-rows i { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.motion .report.in .report-rows li { opacity: 1; transform: none; }
.motion .report.in .report-rows i { transform: none; }
.motion .report.in .report-rows li:nth-child(1), .motion .report.in .report-rows li:nth-child(1) i { transition-delay: .35s; }
.motion .report.in .report-rows li:nth-child(2), .motion .report.in .report-rows li:nth-child(2) i { transition-delay: .6s; }
.motion .report.in .report-rows li:nth-child(3), .motion .report.in .report-rows li:nth-child(3) i { transition-delay: .85s; }
.motion .report.in .report-rows li:nth-child(4), .motion .report.in .report-rows li:nth-child(4) i { transition-delay: 1.1s; }
.motion .report.in .report-rows li:nth-child(5), .motion .report.in .report-rows li:nth-child(5) i { transition-delay: 1.35s; }
.motion .report.in .report-rows li:nth-child(6), .motion .report.in .report-rows li:nth-child(6) i { transition-delay: 1.6s; }

.homework { display: grid; gap: .9rem; }
.homework h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); font-weight: 600; font-stretch: 90%; letter-spacing: -.03em; line-height: 1.1; }
.homework ol { counter-reset: hw; display: grid; gap: .55rem; margin-block: .25rem; }
.homework li { counter-increment: hw; display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .6rem; align-items: baseline; font-weight: 500; }
.homework li::before { content: counter(hw); font-family: var(--voice); font-style: italic; font-size: 1.5em; line-height: 1; color: var(--newe); }
.homework p { color: var(--ink-2); }

.check-cta {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem;
  font-family: var(--voice); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.3;
}
.check-cta .link-arrow { font-family: var(--sans); font-style: normal; }

/* ---------- a day ---------- */

.day { background: var(--paper-2); padding-block: var(--sec); }
.day-grid { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }

.clock { --day: .03; position: sticky; top: 24vh; display: grid; gap: .5rem; }
.clock-sky {
  position: relative; width: 100%; aspect-ratio: 2 / 1;
  border: 1.5px solid var(--line); border-bottom: 0; border-radius: 999px 999px 0 0;
  box-shadow: 0 1.5px 0 var(--ink);
}
.clock-arm {
  position: absolute; left: 50%; bottom: 0; width: 50%; height: 0;
  transform-origin: 0 0;
  transform: rotate(calc(180deg + var(--day) * 180deg));
  transition: transform 1.1s var(--ease);
}
.clock-sun {
  position: absolute; right: -.8rem; top: -.8rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--we); box-shadow: 0 0 0 .5rem rgba(245, 196, 69, .25);
  transition: background .8s ease, box-shadow .8s ease;
}
.clock.is-night .clock-sun { background: var(--new); box-shadow: 0 0 0 .5rem rgba(36, 120, 208, .2); }
.clock-time {
  margin-top: 1rem;
  font-size: clamp(4.5rem, 8.5vw, 8rem); font-weight: 600; font-stretch: 78%; letter-spacing: -.05em; line-height: .9;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: .12em;
}
.clock-time small { font-size: .28em; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.clock-label { font-weight: 600; color: var(--newe); }
@keyframes tick { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.motion .clock.is-ticking .clock-time span, .motion .clock.is-ticking .clock-label { animation: tick .5s var(--ease) both; }

.moments { position: relative; border-left: 1.5px solid var(--line); }
.moment { position: relative; display: grid; gap: .6rem; padding: 0 0 clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.moment:last-child { padding-bottom: 0; }
.moment::before {
  content: ""; position: absolute; left: -.48rem; top: .35rem; width: .85rem; height: .85rem; border-radius: 50%;
  background: var(--paper-2); border: 1.5px solid var(--ink);
  transition: background .4s ease, transform .4s var(--ease);
}
.moment-time { font-size: .9375rem; font-weight: 650; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.moment h3 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.75rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.moment p { max-width: 33em; }
.moment-tag {
  justify-self: start; margin-top: .4rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .8125rem; font-weight: 600; background: var(--paper);
}
.moment-tag::before { content: ""; width: 1.4rem; height: .28rem; background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%); }

/* ---------- services ---------- */

.services { padding-block: var(--sec); }
.svc li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem clamp(1.5rem, 5vw, 5rem); align-items: baseline;
  padding-block: clamp(1.2rem, 2.4vw, 1.9rem);
  border-top: 1px solid var(--line);
}
.svc li::before, .svc li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px;
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.svc li::before { background: var(--new); transform-origin: left; }
.svc li::after { background: var(--we); mix-blend-mode: multiply; transform-origin: right; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc h3 {
  font-size: clamp(1.55rem, 1rem + 2.3vw, 2.9rem); font-weight: 600; font-stretch: 86%; letter-spacing: -.035em; line-height: 1.05;
  transition: transform .5s var(--ease), color .3s ease;
}
.svc p { color: var(--ink-2); max-width: 30em; transition: color .3s ease; }
@media (hover: hover) {
  .svc li:hover::before, .svc li:hover::after { transform: scaleX(.62); }
  .svc li:hover h3 { transform: translateX(.9rem); color: var(--newe); }
  .svc li:hover p { color: var(--ink); }
}
.svc-note { margin-top: 2.25rem; font-family: var(--voice); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.3; color: var(--ink); max-width: 28em; }

/* ---------- how ---------- */

.how { background: var(--paper-2); padding-block: var(--sec); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem); }
.steps li { counter-increment: step; position: relative; isolation: isolate; display: grid; gap: .8rem; align-content: start; padding-top: 1.5rem; }
.steps li::before, .steps li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; transform: scaleX(.62);
}
.steps li::before { background: var(--new); transform-origin: left; }
.steps li::after { background: var(--we); mix-blend-mode: multiply; transform-origin: right; }
.motion .steps li::before, .motion .steps li::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
.motion .steps li.in::before, .motion .steps li.in::after { transform: scaleX(.62); }
.steps h3 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.9rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.1; }
.steps h3::before {
  content: counter(step); display: block; margin-bottom: .35rem;
  font-family: var(--voice); font-style: italic; font-weight: 400; font-size: 3.4em; line-height: .9; letter-spacing: -.02em; color: var(--newe);
}
.steps p { color: var(--ink-2); }

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

.about { padding-block: var(--sec); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.letter { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.letter blockquote { display: grid; gap: 1.1em; font-family: var(--voice); font-style: italic; font-size: clamp(1.45rem, 1rem + 1.7vw, 2.35rem); line-height: 1.28; letter-spacing: -.012em; text-wrap: pretty; }
.sign { font-weight: 650; font-size: 1.1rem; display: grid; }
.sign span { font-weight: 400; color: var(--ink-2); font-size: .9375rem; }

.about-side { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.facts > div { padding-block: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 600; font-stretch: 90%; letter-spacing: -.03em; line-height: 1.15; }
.facts dd { color: var(--ink-2); }
.honest { display: grid; gap: .9rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1.5px solid var(--ink); border-radius: 1.25rem; }
.honest h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.08; }
.honest p { color: var(--ink-2); }

/* ---------- contact + footer ---------- */

.contact { background: var(--ink); color: var(--on-dark); padding-top: var(--sec); padding-bottom: calc(clamp(2rem, 4vw, 3rem) + env(safe-area-inset-bottom, 0px)); overflow-x: clip; }
.contact .eyebrow { color: var(--on-dark-2); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.way { display: grid; gap: .8rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.way h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.1; }
.way p { color: var(--on-dark-2); }
.btn--on-dark { background: var(--on-dark); color: var(--ink); justify-self: start; }
.btn--on-dark:hover, .btn--on-dark:focus-visible { color: var(--on-dark); }

/* visible markers for details still to be filled in */
.ph {
  justify-self: start; display: inline-block; margin-top: .4rem;
  padding: .7em .95em; border: 1.5px dashed var(--we); border-radius: .6rem;
  background: rgba(245, 196, 69, .1); color: var(--we);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; line-height: 1.2;
}
.contact .way .ph { color: var(--we); }
.ph--inline { margin: 0; padding: .25em .6em; }

.foot { container-type: inline-size; margin-top: clamp(4rem, 10vw, 9rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.mark--foot { font-size: clamp(5.25rem, 24vw, 22rem); font-size: 43.4cqi; color: var(--on-dark); margin-left: -.035em; justify-self: start; }
.mark--foot .w-new { visibility: hidden; }
.mark--foot .w-we { color: var(--newe-lit); mix-blend-mode: normal; }
.mark--foot .bar-we { mix-blend-mode: normal; }
.mark--foot .bar-mid { grid-column: 2 / 3; background: var(--newe-lit); z-index: 1; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .875rem; color: var(--on-dark-2); }

/* ---------- reveal on scroll ---------- */

.motion [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- pointer companion (desktop only) ---------- */

.pointer { position: fixed; inset: 0; z-index: 90; pointer-events: none; isolation: isolate; display: none; }
.motion.has-pointer .pointer { display: block; }
.pointer i {
  position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; margin: -.875rem 0 0 -.875rem; border-radius: 50%;
  opacity: 0; transition: opacity .3s ease, background-color .25s ease, box-shadow .25s ease;
}
.pointer.is-on i { opacity: 1; }
/* over anything pressable the two dots meet and open into one ring, so they never cover the label */
.pointer.is-hot .pointer-new { background-color: transparent; box-shadow: inset 0 0 0 2px var(--new); }
.pointer.is-hot .pointer-we { background-color: transparent; box-shadow: inset 0 0 0 2px var(--we); }
.pointer-new { background: var(--new); transform: translate(var(--nx, 0), var(--ny, 0)) scale(var(--ns, .55)); }
.pointer-we { background: var(--we); mix-blend-mode: multiply; transform: translate(var(--wx, 0), var(--wy, 0)) scale(var(--ws, .3)); }

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

@media (max-width: 62rem) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 56rem) {
  .hero-grid, .check-grid, .day-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .mark--hero { font-size: 37vw; --s0: .72; justify-self: start; }
  .legend { justify-self: start; max-width: 26rem; }
  .pin .venn { --D: min(52vw, 27rem, calc(var(--u) * 34)); }
  .clock { display: none; }
  .svc li { grid-template-columns: minmax(0, 1fr); }
  .captions { grid-template-columns: minmax(0, 1fr); }
  .report { rotate: -.8deg; }
}

@media (min-width: 56.01rem) {
  .motion .moment { opacity: .45; transition: opacity .5s ease; }
  .motion .moment.is-active { opacity: 1; }
  .motion .moment[data-reveal] { transform: none; }
  .moment.is-active::before { background: var(--we); transform: scale(1.35); }
  .moment[data-night].is-active::before { background: var(--new); }
  .moment-time { display: none; }
}

@media (max-width: 36rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pin .caption h2 { font-size: min(1.9rem, calc(var(--u) * 4.6)); }
  .pin .caption p { font-size: min(1em, calc(var(--u) * 2.9)); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .mark--nav { font-size: 1.55rem; }
  .foot-meta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}

@media print {
  .nav, .progress, .pointer { display: none !important; }
}
