:root {
  --bg: #050505;
  --fg: #ededea;
  --dim: #8b8b86;
  --faint: #2c2c2a;
  --ghost: #0e0e0d;
  --line: rgba(255, 255, 255, 0.1);
  --signal: #ff3b1f;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.2, 0.7, 0, 1);
  --gutter: clamp(16px, 3.2vw, 40px);
  --x: 50vw;
  --y: 50vh;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
em { font-style: italic; }
.dim { color: var(--dim); }
.nowrap { white-space: nowrap; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--fg); color: var(--bg); transform: translateY(-200%); text-decoration: none; }
.skip:focus { transform: none; }

/* Faint torchlight across the whole page, and film grain on top of everything. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--x) var(--y), rgba(255, 255, 255, 0.035), transparent 60%);
}
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, -2%); }
}

main, .foot { position: relative; z-index: 1; }

/* ---------- HUD ---------- */
.hud {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hud > span, .hud > a { position: absolute; display: flex; gap: 0.6em; }
.hud-tl {
  top: var(--gutter);
  left: var(--gutter);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  padding: 10px;
  margin: -10px;
  transition: letter-spacing 0.5s var(--ease);
}
.hud-tl:hover { letter-spacing: 0.5em; }
.hud-tr { top: var(--gutter); right: var(--gutter); font-variant-numeric: tabular-nums; }
.hud-bl { bottom: var(--gutter); left: var(--gutter); }
.hud-br { bottom: var(--gutter); right: var(--gutter); font-variant-numeric: tabular-nums; }
.hud-bl, .hud-br { transition: opacity 0.4s; }
.at-end .hud-bl, .at-end .hud-br > span { opacity: 0; }
.hud-br > span { transition: opacity 0.4s; }
.hud .hud-dim { color: #777; }

.label {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 var(--gutter);
  margin-bottom: clamp(32px, 6vw, 72px);
}

/* ---------- Cursor label + index peek (fine pointers only) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 55; pointer-events: none; opacity: 0; will-change: transform; }
.cursor {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  scale: 0.3;
  transition: opacity 0.3s, scale 0.45s var(--ease);
}
.cursor.on { opacity: 1; scale: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- 01 Void: the word is made of dust (canvas), with real text underneath ---------- */
.void {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y;
  --tilt: -9deg;
}
.dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.void-copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3vh, 36px);
  text-align: center;
  pointer-events: none;
  --tilt: 0deg; /* the word and line sit level; only the logo bands keep the diagonal */
  will-change: opacity;
}
.void-word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(150px, 35vw, 760px);
  line-height: 0.78;
  letter-spacing: -0.045em;
  color: var(--fg);
}
/* Once the dust has formed, the real text stays for screen readers and search, but invisible. */
.dust-on .void-word { color: transparent; }
.void-line {
  font-size: clamp(17px, 1.7vw, 24px);
  color: var(--dim);
  letter-spacing: 0.005em;
}
.void-line em { color: var(--fg); }
.dust-on .void-line { opacity: 0; animation: lineIn 1.6s var(--ease) 2.3s forwards; }
@keyframes lineIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.void-hint {
  position: absolute;
  bottom: calc(var(--gutter) + 44px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.4em;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.dust-on .void-hint { opacity: 0; animation: lineIn 1.6s var(--ease) 3.2s forwards; }
@media (hover: none) { .void-hint .h-move { display: none; } }

/* ---------- 02 Creed ---------- */
.creed { position: relative; height: 200vh; }
/* Once every word is lit, the section collapses to one screen (site.js keeps the scroll position steady). */
.creed.done { height: 100svh; }
.creed-stick {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
}
.creed-text {
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(44px, 8.4vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.creed-text .w { transition: color 0.25s linear; }
.js .creed-text .w { color: var(--faint); }
.js .creed-text .w.on { color: var(--fg); }

/* ---------- 03 Practice ---------- */
.practice { padding: clamp(96px, 16vh, 200px) 0; }
.rows { list-style: none; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) 5fr 4fr;
  align-items: baseline;
  gap: 16px;
  padding: clamp(20px, 3vw, 36px) var(--gutter);
}
.row::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.row:last-child::after {
  content: '';
  position: absolute;
  bottom: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
}
.row-n { color: var(--dim); font-size: 12.5px; letter-spacing: 0.14em; }
.row-t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  transition: transform 0.6s var(--ease), color 0.4s;
}
.row-d { color: var(--dim); max-width: 34ch; transition: color 0.4s; }
@media (hover: hover) {
  .rows:hover .row-t { color: var(--faint); }
  .rows .row:hover .row-t { color: var(--fg); font-style: italic; transform: translateX(0.12em); }
  .rows .row:hover .row-d { color: var(--fg); }
}

/* ---------- 04 Work ---------- */
.work { padding-top: clamp(64px, 10vh, 120px); }
.work-head { padding-bottom: clamp(24px, 6vh, 64px); }
.work-head .label { margin-bottom: 16px; }
.work-lede {
  padding: 0 var(--gutter);
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.work-lede em { color: var(--dim); }

/* Each project is a tall track; its stage pins while the track scrolls past. */
.proj { position: relative; height: 260vh; }
.proj-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.6fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 80px var(--gutter);
  --e: 0;   /* entrance 0→1 */
  --o: 0;   /* exit 0→1 */
  --p: 0;   /* overall 0→1 */
}
.proj-ghost {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 22vw, 380px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  transform: translate(calc((0.35 - var(--p)) * 100vw), -50%);
  pointer-events: none;
  user-select: none;
}
.proj-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 55% at 62% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  opacity: calc(var(--e) * (1 - var(--o)));
}

.proj-meta {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: grid;
  gap: 10px;
  padding-bottom: 6vh;
  opacity: calc(var(--e) * (1 - var(--o)));
  transform: translateY(calc((1 - var(--e)) * 40px));
}
.proj-n { font-size: 12.5px; letter-spacing: 0.14em; }
.proj-n span { color: var(--dim); }
.proj-t { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: 0.95; letter-spacing: -0.025em; }
.proj-d { color: var(--fg); max-width: 28ch; }
.proj-tags { color: var(--dim); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.proj-link {
  justify-self: start;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.3s;
}
.proj-link:hover { border-color: var(--accent); }
.proj-link span { display: inline-block; transition: transform 0.4s var(--ease); }
.proj-link:hover span { transform: translate(3px, -3px); }

.proj-device {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  max-width: 1080px;
  justify-self: center;
  perspective: 1800px;
  text-decoration: none;
  cursor: none;
}
.browser {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #121211;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 100%;
  transform:
    translateY(calc((1 - var(--e)) * 18vh + var(--o) * -6vh))
    rotateX(calc((1 - var(--e)) * 24deg))
    scale(calc(0.78 + var(--e) * 0.22 - var(--o) * 0.1));
  opacity: calc(0.15 + var(--e) * 0.85 - var(--o) * 0.85);
  will-change: transform;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #171716;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2e2e2c; }
.browser-bar span {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 6px;
  background: #0d0d0c;
  color: var(--dim);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  transform: translateX(-20px);
}
.browser-view { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: #0d0d0c; }
.browser-view img, .phone-view img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

.phone {
  position: absolute;
  right: -3%;
  bottom: -9%;
  width: clamp(120px, 15%, 200px);
  aspect-ratio: 9 / 19.5;
  padding: 6px;
  border-radius: 28px;
  background: #0b0b0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.95);
  transform:
    translateY(calc((1 - var(--e)) * 50vh + var(--o) * -14vh))
    rotate(calc((1 - var(--e)) * -10deg));
  opacity: calc(var(--e) * (1 - var(--o)));
  will-change: transform;
}
.phone-view { height: 100%; overflow: hidden; border-radius: 22px; background: #0d0d0c; }

/* ---------- 05 Found ---------- */
.found {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 120px var(--gutter);
}
.found-a, .found-b {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.found-a { color: var(--dim); }
/* The form is a sentence with blanks to fill in. */
.ask-wrap { margin-top: clamp(56px, 9vw, 120px); max-width: 1180px; }
.ask-lead { color: var(--dim); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.ask-line {
  font-family: var(--serif);
  font-size: clamp(26px, 4.4vw, 68px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--dim);
}
.blank { display: inline; }
/* Blanks size to what's typed (or the placeholder), and wrap onto the next line rather than crop.
   field-sizing does it natively; site.js covers browsers without it. */
.blank textarea, .blank select {
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.15;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--faint);
  border-radius: 0;
  padding: 0 0.06em 0.1em;
  margin: 0;
  max-width: 100%;
  outline: none;
  vertical-align: text-bottom;
  transition: border-color 0.3s, color 0.3s;
}
.blank textarea {
  field-sizing: content;
  min-width: 4ch;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.blank textarea::placeholder { color: #3d3d3a; font-style: italic; opacity: 1; }
.blank textarea:focus, .blank select:focus { border-color: var(--fg); }
.blank textarea:focus-visible, .blank select:focus-visible { outline: none; border-bottom-width: 2px; }
.blank textarea:user-invalid, .blank select:user-invalid { border-color: var(--signal); }
.blank select { field-sizing: content; -webkit-appearance: none; appearance: none; cursor: pointer; }
.blank select:invalid { color: #3d3d3a; font-style: italic; }
.blank select option { background: #0b0b0a; color: var(--fg); font-family: var(--text); font-style: normal; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ask-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.ask-send {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.ask-send:hover { background: transparent; color: var(--fg); transform: rotate(-8deg); }
.ask-send[disabled] { opacity: 0.4; pointer-events: none; }
.ask-status { color: var(--signal); }
.ask-done, .ask-unsent { display: none; }
.ask-done p { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 68px); line-height: 1.1; letter-spacing: -0.02em; }
.ask-done em { color: var(--dim); }
.ask-done:focus { outline: none; }
/* Sent: JS adds .done; without JS the server redirects to /#sent and :target does the same job. */
.ask-wrap.done .ask, .ask-wrap.done .ask-lead, .ask-wrap:has(#sent:target) .ask, .ask-wrap:has(#sent:target) .ask-lead { display: none; }
.ask-wrap.done .ask-done, #sent:target { display: block; }
#unsent:target { display: block; color: var(--signal); margin-top: 16px; }

.found-c { margin-top: clamp(40px, 7vw, 88px); display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; letter-spacing: 0.06em; }
.reveal-mail {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--dim);
  padding: 2px 0;
  color: var(--fg);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
}
.reveal-mail:hover { border-color: var(--fg); }
.reveal-mail.shown { text-transform: none; letter-spacing: 0.02em; font-size: 15px; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot a { color: inherit; text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--fg); }

/* ---------- Reveals: they replay every time an element re-enters the screen ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .row.reveal::before { transform: scaleX(0); }
.js .row.reveal.in::before { transform: scaleX(1); }
.js .found-b.reveal.in { transition-delay: 0.35s; }
.js .found-c.reveal.in { transition-delay: 0.7s; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .proj { height: 240vh; }
  .proj-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 28px;
    padding: 72px var(--gutter);
  }
  .proj-device { grid-column: 1; grid-row: 1; cursor: auto; }
  .proj-meta { grid-column: 1; grid-row: 2; padding-bottom: 0; }
  .proj-ghost { top: 22%; }
  .phone { width: 28%; right: -2%; bottom: -14%; }
  .browser-bar span { transform: none; }
}
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row-d { margin-top: 6px; }
  .creed { height: 180vh; }
  .void-word { font-size: clamp(120px, 42vw, 300px); }
  .hud-bl #secName { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
  .proj { height: auto; }
  .proj-stage { position: relative; height: auto; min-height: 100svh; --e: 1; --o: 0; --p: 0.35; }
}

/* ---------- Private work: shown, never linked ---------- */
.lock { width: 0.95em; height: 0.95em; vertical-align: -0.12em; fill: none; stroke: currentColor; stroke-width: 1.4; margin-right: 0.35em; }
.proj-device.is-private { cursor: none; }
.is-private .browser-bar span { color: var(--fg); letter-spacing: 0.12em; text-transform: uppercase; }
.proj-private { margin-top: 8px; color: var(--dim); font-size: 13.5px; letter-spacing: 0.06em; }
.cursor.is-private { background: transparent; color: var(--fg); border: 1px solid var(--fg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 860px) { .proj-device.is-private { cursor: auto; } }

/* ---------- "Want to get paid?" ---------- */
.paid-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  margin-top: clamp(72px, 12vw, 160px);
  padding: clamp(28px, 4vw, 48px) 0 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
}
.paid-cta::before {
  /* a red line that draws across on hover */
  content: '';
  position: absolute;
  top: -1px; left: 0;
  height: 1px; width: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.pc-k { grid-column: 1 / -1; color: var(--dim); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.pc-t { font-family: var(--serif); font-size: clamp(48px, 8.4vw, 140px); line-height: 0.92; letter-spacing: -0.03em; transition: transform 0.7s var(--ease); }
.pc-t em { color: var(--dim); transition: color 0.5s; }
.pc-arrow { width: clamp(48px, 6vw, 88px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.5s, border-color 0.5s, transform 0.7s var(--ease); }
.pc-arrow svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.paid-cta:hover::before, .paid-cta:focus-visible::before { transform: scaleX(1); }
.paid-cta:hover .pc-t { transform: translateX(0.08em); }
.paid-cta:hover .pc-t em { color: var(--signal); }
.paid-cta:hover .pc-arrow { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: rotate(-45deg); }

/* ---------- Project buttons ---------- */
.proj-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px 0 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, gap 0.45s var(--ease);
}
.cta-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.cta-pill:hover { background: color-mix(in srgb, var(--accent, var(--fg)) 100%, transparent); border-color: var(--accent, var(--fg)); color: #050505; gap: 14px; }
.cta-pill:hover svg { transform: translateX(2px); }
.proj-host { color: var(--dim); font-size: 13.5px; letter-spacing: 0.02em; }

/* ---------- Back to top (bottom-right, beside the percentage) ---------- */
.hud-br { align-items: center; }
.to-top {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -6px -6px -6px 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.to-top svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scrolled .to-top { opacity: 1; transform: none; }
.to-top:hover { background: #fff; color: #000; }

/* ---------- Hero logo bands: the tools, on the diagonal, lit by the pointer ---------- */
.bands {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  --hx: 50%;
  --hy: 50%;
  --br: clamp(180px, 26vmax, 420px);
  /* Dim everywhere, bright inside the pointer's light. */
  -webkit-mask-image: radial-gradient(circle var(--br) at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), linear-gradient(rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07));
          mask-image: radial-gradient(circle var(--br) at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), linear-gradient(rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07));
  will-change: opacity, transform;
}
.bands-rot {
  position: absolute;
  left: -30%;
  right: -30%;
  top: 50%;
  display: grid;
  gap: clamp(44px, 9vh, 110px);
  transform: translateY(-50%) rotate(var(--tilt));
}
.band { display: flex; width: max-content; animation: band 80s linear infinite; }
.band:nth-child(2) { animation-duration: 110s; animation-direction: reverse; }
.band:nth-child(3) { animation-duration: 95s; }
.band-set { display: flex; gap: clamp(48px, 6.5vw, 120px); padding-right: clamp(48px, 6.5vw, 120px); }
.logo { flex: none; width: clamp(52px, 6.4vw, 118px); height: clamp(52px, 6.4vw, 118px); fill: var(--fg); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Dust lines elsewhere on the page ---------- */
.dust-line { position: relative; }
.found { overflow-x: clip; }
.dust-line-canvas { position: absolute; left: -6%; top: -45%; width: 112%; height: 190%; pointer-events: none; }
.dust-line.dust-on em { color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .band { animation: none; }
  .bands { -webkit-mask-image: none; mask-image: none; opacity: 0.07; }
}

/* ---------- Reviews ---------- */
.review-slot { display: grid; gap: clamp(64px, 12vh, 140px); padding: clamp(72px, 14vh, 160px) var(--gutter); }
.review-slot[hidden] { display: none; }
.review { width: min(1060px, 100%); margin: 0; position: relative; }
.review:nth-child(even) { justify-self: end; text-align: right; }
.rv-q {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  quotes: '“' '”';
}
.rv-q::before { content: open-quote; color: var(--signal); margin-right: 0.04em; }
.rv-q::after { content: close-quote; color: var(--signal); }
.rv-q span { color: var(--faint); transition: color 0.6s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.review.in .rv-q span { color: var(--fg); }
.review figcaption { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.review:nth-child(even) figcaption { justify-content: flex-end; }
.rv-name { color: var(--fg); }
.rv-biz { color: var(--dim); }
.rv-biz::before { content: '— '; }
@media (prefers-reduced-motion: reduce) { .rv-q span { color: var(--fg); transition: none; } }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.3s;
}
.cta-ghost:hover { border-color: var(--fg); }
.cta-ghost span { display: inline-block; transition: transform 0.4s var(--ease); }
.cta-ghost:hover span { transform: translate(2px, -2px); }
.proj-cta .proj-host { flex-basis: 100%; }
.ask-again {
  margin-top: 28px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--dim);
  padding: 2px 0;
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.ask-again:hover { border-color: var(--fg); }
