/* Cognition in motion, remade.
   One fixed WebGL field (the orb) sits behind everything. Sections are
   transparent so headlines can blend against it. */

@property --lens {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 0px;
}

:root {
  --ink: #0f120f;
  --ink-2: #161b18;
  --paper: #efeee8;
  --dim: #b4b7ab;
  --mute: #7b8076;
  --line: rgba(239, 238, 232, 0.13);
  --line-2: rgba(239, 238, 232, 0.28);
  --acid: #c8d66d;
  --coral: #d98673;
  --blue: #9dbbc0;

  --sans: "DM Sans", Arial, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;

  --pad: clamp(1.1rem, 3.4vw, 3.75rem);
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 238, 232, 0.28) transparent;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(
      0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%,
      0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001
    );
  }
}

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

html {
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

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

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serif,
h2 em,
h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.skip {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 50%;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  transform: translate(-50%, -200%);
  transition: transform 0.2s;
}

.skip:focus {
  transform: translate(-50%, 0);
}

/* ---------- the field ---------- */

.field {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}

.field-fallback {
  display: none;
  position: fixed;
  z-index: -1;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 24%, #fff6e2 0 6%, transparent 30%),
    radial-gradient(circle at 70% 70%, #8fe3eb 0 10%, transparent 46%),
    radial-gradient(circle at 28% 72%, #f18b78 0 14%, transparent 48%),
    radial-gradient(circle at 66% 26%, #e3f37a 0 8%, transparent 36%), linear-gradient(135deg, #f6e9dc, #e6a9b8 45%, #b9e0e5);
}

.no-gl .field {
  display: none;
}

.no-gl .field-fallback {
  display: block;
}

.grain {
  position: fixed;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.blend {
  color: var(--paper);
  mix-blend-mode: difference;
}

/* ---------- loader ---------- */

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--pad);
  background: var(--ink);
  color: var(--dim);
  transition: clip-path 1.2s var(--expo), visibility 0s 1.2s;
  clip-path: inset(0 0 0 0);
}

.js .loader.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
}

.loader-num {
  align-self: end;
  justify-self: end;
  font-size: clamp(5rem, 22vw, 19rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.loader-note {
  padding-top: 1rem;
}

/* ---------- top bar ---------- */

.bar {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.05rem var(--pad);
}

.bar-blur {
  position: absolute;
  z-index: -1;
  inset: 0 0 -80% 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 18, 15, 0.78), rgba(15, 18, 15, 0.35) 50%, rgba(15, 18, 15, 0));
}

.bar-blur i {
  position: absolute;
  inset: 0;
}

.bar-blur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.bar-blur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(#000 50%, transparent 82%); mask-image: linear-gradient(#000 50%, transparent 82%); }
.bar-blur i:nth-child(3) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(#000 34%, transparent 64%); mask-image: linear-gradient(#000 34%, transparent 64%); }
.bar-blur i:nth-child(4) { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); -webkit-mask-image: linear-gradient(#000 20%, transparent 46%); mask-image: linear-gradient(#000 20%, transparent 46%); }

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  justify-self: start;
  line-height: 1.15;
}

.brand i,
.bar-status i {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--acid);
}

.bar-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--dim);
}

.bar-status i {
  margin: 0;
  background: var(--coral);
  animation: pulse 2.4s ease-in-out infinite;
}

.bar-status time {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.nav {
  position: absolute;
  right: calc(var(--pad) + 15.5rem);
  display: flex;
  gap: 1.3rem;
  color: var(--dim);
}

.nav a {
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.is-current {
  color: var(--paper);
}

.nav-glide {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  background: var(--acid);
  transform-origin: 0 50%;
  opacity: 0;
  transition: transform 0.6s var(--spring), opacity 0.3s;
  pointer-events: none;
}

.bar-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.sound {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
  white-space: nowrap;
  transition: color 0.3s, scale 0.5s var(--spring);
}

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

.sound[aria-pressed="true"] {
  color: var(--acid);
}

.sound-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 0.7rem;
}

.sound-bars i {
  width: 2px;
  height: 3px;
  background: currentColor;
}

.sound[aria-pressed="true"] .sound-bars i {
  animation: bars 1.1s ease-in-out infinite;
}

.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -0.4s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -0.75s; }

@keyframes bars {
  50% {
    height: 0.7rem;
  }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: scale 0.5s var(--spring);
}

.menu-btn i {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}

.menu-btn i::before,
.menu-btn i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--expo);
}

.menu-btn i::before { transform: translate(-50%, calc(-50% - 2.5px)); }
.menu-btn i::after { transform: translate(-50%, calc(-50% + 2.5px)); }
.menu-btn[aria-expanded="true"] i::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-btn:hover i { border-color: var(--acid); }

.sound:active,
.menu-btn:active,
.btn:active,
.link:active {
  scale: 0.95;
  transition-duration: 0.07s;
}

/* ---------- menu overlay ---------- */

.menu {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3rem;
  padding: 6rem var(--pad) var(--pad);
  background: rgba(15, 18, 15, 0.86);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.9s var(--expo), visibility 0s 0.9s;
}

.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.9s var(--expo), visibility 0s;
}

.menu-nav {
  display: grid;
}

.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 0.3rem 0;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 0.7s var(--expo), transform 1s var(--expo), color 0.3s, padding-left 0.6s var(--expo);
}

.menu.is-open .menu-nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--n) * 70ms + 180ms), calc(var(--n) * 70ms + 180ms), 0s, 0s;
}

.menu-nav a:hover {
  color: var(--acid);
  padding-left: 1.2rem;
}

.menu-nav a span {
  color: var(--mute);
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  color: var(--dim);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(15, 18, 15, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.5s var(--expo), scale 0.5s var(--spring);
  will-change: transform;
}

.btn:hover {
  border-color: var(--acid);
  box-shadow: 0 0 2.4rem -0.6rem rgba(200, 214, 109, 0.55);
}

.btn-fill {
  border-color: transparent;
  background: var(--paper);
  color: var(--ink);
}

.btn-fill:hover {
  background: var(--acid);
  border-color: transparent;
}

.link {
  display: inline-flex;
  padding-bottom: 0.3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(var(--acid), var(--acid)) 0 100% / 0% 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.7s var(--expo), color 0.3s, scale 0.5s var(--spring);
}

.link:hover {
  background-size: 100% 1px, 100% 1px;
}

.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.3;
}

.roll > span {
  display: block;
  transition: transform 0.6s var(--expo);
}

.roll::after {
  content: attr(data-t);
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
  transition: transform 0.6s var(--expo);
}

a:hover .roll > span,
button:hover .roll > span,
a:hover .roll::after,
button:hover .roll::after {
  transform: translateY(-100%);
}

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

.line {
  display: block;
  overflow: hidden;
  padding: 0.09em 0.07em 0.15em;
  margin: -0.09em -0.07em -0.15em;
}

.w {
  display: inline-block;
  white-space: nowrap;
}

.ch {
  display: inline-block;
  transform: translateY(118%) rotate(7deg);
  transform-origin: 0 100%;
  transition: transform 1.3s var(--expo);
  transition-delay: calc(var(--c) * 26ms + var(--d, 0ms));
  will-change: transform;
}

.in .ch {
  transform: none;
}

.l {
  display: block;
  overflow: hidden;
  padding: 0.07em 0.07em 0.16em;
  margin: -0.07em -0.07em -0.16em;
}

.l-in {
  display: block;
  transform: translateY(112%) rotate(3deg);
  transform-origin: 0 100%;
  transition: transform 1.25s var(--expo) calc(var(--i) * 95ms);
}

.in .l-in {
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  filter: blur(8px);
  transition: opacity 1s var(--expo), transform 1.2s var(--expo), filter 1s var(--expo);
  transition-delay: calc(var(--s, 0) * 90ms);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

.js [data-rise] {
  transition: opacity 1.1s var(--expo), transform 1.3s var(--expo);
}

.js body:not(.is-ready) [data-rise] {
  opacity: 0;
  transform: translateY(1.6rem);
}

.js [data-words] .wd {
  opacity: 0.14;
  transition: opacity 0.5s linear;
}

.js [data-words] .wd.on {
  opacity: 1;
}

/* ---------- sections ---------- */

section {
  position: relative;
  padding: clamp(5rem, 11vw, 10rem) var(--pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-head .label {
  grid-column: 1 / -1;
  color: var(--dim);
}

.section-head h2,
.caps-head h3 {
  font-size: clamp(3.4rem, 8.4vw, 9rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.section-head h2 em,
.caps-head h3 em {
  color: var(--coral);
}

.section-note {
  max-width: 26rem;
  color: var(--dim);
  padding-bottom: 0.6rem;
}

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

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 7rem;
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  gap: clamp(1.5rem, 4vh, 3rem);
}

.hero-kicker {
  color: var(--dim);
}

.hero-title {
  font-size: clamp(4.2rem, 15.6vw, 17.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.hero-title .serif {
  letter-spacing: -0.03em;
  padding-left: 0.04em;
}

.hero-title i {
  font-style: italic;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-top: clamp(1.2rem, 3vh, 2rem);
  border-top: 1px solid var(--line);
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
}

.hero-by,
.hero-now span {
  color: var(--acid);
}

.hero-sum {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-now {
  display: grid;
  gap: 0.5rem;
  max-width: 17rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--dim);
}

.hero-scroll i {
  position: relative;
  width: 1px;
  height: 3rem;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1rem;
  background: var(--acid);
  animation: drop 2.4s var(--expo) infinite;
}

@keyframes drop {
  from {
    transform: translateY(-1.2rem);
  }
  to {
    transform: translateY(3.2rem);
  }
}

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

.manifesto {
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
  padding-top: clamp(8rem, 18vw, 16rem);
}

.manifesto-text {
  max-width: 17ch;
  font-size: clamp(2.6rem, 7.4vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.proof li {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem 1rem 0 0;
}

.proof li + li {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.proof strong {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.proof span {
  color: var(--dim);
}

/* ---------- work reel ---------- */

.work {
  padding-bottom: 0;
}

.reel {
  margin: 0 calc(var(--pad) * -1);
}

.reel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.reel-track {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  padding: 0 var(--pad);
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(78vw, 72rem);
  height: min(70vh, 40rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(18, 22, 19, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color 0.5s, opacity 0.6s var(--expo), scale 0.9s var(--expo);
}

.js .panel:not(.is-active) {
  opacity: 0.42;
  scale: 0.965;
}

.panel-glow {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--expo);
  padding: 1px;
  background: radial-gradient(24rem circle at var(--gx, 50%) var(--gy, 50%), var(--a), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.panel:hover .panel-glow {
  opacity: 1;
}

.panel-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.3rem;
  background: radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--a) 30%, transparent), transparent 58%), var(--b);
}

.panel-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  -webkit-mask-image: radial-gradient(circle at 30% 70%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 30% 70%, #000, transparent 75%);
}

.panel-art > * {
  position: relative;
  translate: calc(var(--tx, 0) * var(--depth, 0px)) calc(var(--ty, 0) * var(--depth, 0px));
  transition: translate 0.6s var(--expo);
}

.art-label {
  color: var(--dim);
  --depth: 4px;
}

.art-mark {
  --depth: 16px;
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.8;
  color: var(--a);
}

.art-big {
  --depth: 14px;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.art-foot {
  color: var(--dim);
  --depth: 6px;
}

.art-cta {
  align-self: flex-start;
  --depth: 8px;
}

.art-metric {
  --depth: 22px;
  align-self: flex-end;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-align: right;
}

.art-metric strong {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.art-metric span {
  color: var(--dim);
  font-size: 0.58rem;
  line-height: 1.35;
}

.art-wave {
  position: absolute !important;
  left: -10%;
  right: -10%;
  top: 38%;
  height: 34%;
  border-top: 2px solid var(--a);
  border-radius: 50%;
  opacity: 0.55;
  rotate: -8deg;
  --depth: 28px;
}

.art-nodes {
  position: absolute !important;
  left: 12%;
  right: 12%;
  top: 46%;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line-2);
  --depth: 26px;
}

.art-nodes b {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.38rem;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--b);
}

.art-nodes b:nth-child(2) { background: var(--coral); border-color: var(--coral); }
.art-nodes b:nth-child(3) { background: var(--blue); border-color: var(--blue); }
.art-nodes b:nth-child(4) { background: var(--acid); border-color: var(--acid); }

.art-image {
  padding: 0;
}

.art-image::before {
  display: none;
}

.art-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  filter: saturate(0.85) contrast(1.02);
  scale: 1.06;
  --depth: -14px;
  transition: translate 0.6s var(--expo), filter 0.6s;
}

.art-image .art-label {
  position: absolute;
  left: 1.3rem;
  top: 1.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 18, 15, 0.75);
  color: var(--paper);
}

.art-photo {
  background: linear-gradient(135deg, #b9705f 0 42%, #1c3a3c 42%);
}

.art-photo::before {
  display: none;
}

.art-sun {
  position: absolute !important;
  right: 10%;
  top: 12%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  --depth: 30px;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.3rem, 2.4vw, 2.2rem);
  overflow: hidden;
}

.panel-num {
  color: var(--acid);
}

.panel-copy h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.panel-copy h3 em {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.62em;
  color: var(--dim);
  letter-spacing: -0.01em;
}

.panel-sum {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.panel-copy ul {
  display: grid;
  gap: 0.55rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.panel-copy li {
  position: relative;
  padding-left: 1rem;
}

.panel-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--a);
}

.panel-stack {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.62rem;
}

.panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.reel-ui {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(1rem, 3.5vh, 2rem);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  color: var(--dim);
}

.reel-count b {
  color: var(--paper);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.reel-name {
  color: var(--acid);
}

.reel-bar {
  height: 1px;
  background: var(--line);
}

.reel-bar i {
  display: block;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- loop ---------- */

.loop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.loop-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
}

.loop-ring {
  width: min(36vw, 62vh);
  height: auto;
  overflow: visible;
  rotate: -90deg;
}

.ring-base {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 0.4;
  stroke-dasharray: 1.2 2.4;
}

.ring-arc {
  fill: none;
  stroke: var(--acid);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ring-nodes circle {
  fill: var(--ink);
  stroke: var(--line-2);
  stroke-width: 0.6;
  transition: fill 0.5s, stroke 0.5s, r 0.6s var(--spring);
}

.ring-nodes circle.on {
  fill: var(--acid);
  stroke: var(--acid);
  r: 4.6px;
}

.loop-readout {
  position: absolute;
  bottom: 12vh;
  color: var(--dim);
}

.loop-readout b {
  color: var(--paper);
  font-weight: 500;
}

.steps {
  display: grid;
}

.step {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  min-height: 72vh;
  max-width: 30rem;
  transition: opacity 0.7s var(--expo), transform 0.9s var(--expo), filter 0.7s var(--expo);
}

.js .step:not(.on) {
  opacity: 0.22;
  transform: translateX(-0.8rem);
  filter: blur(2px);
}

.step-num {
  color: var(--acid);
}

.step-sym {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--coral);
  transition: transform 1s var(--spring);
}

.step.on .step-sym {
  transform: translateY(-0.3rem) rotate(-6deg);
}

.step h3 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.step p {
  color: var(--dim);
  font-size: 1.05rem;
}

.principle {
  max-width: 20ch;
  margin-top: clamp(4rem, 10vw, 9rem);
  font-size: clamp(2.2rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.portrait {
  --lens: 0px;
  --px: 50%;
  --py: 40%;
  position: relative;
  max-width: 24rem;
  cursor: pointer;
}

.portrait-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-2);
  border-radius: 1.6rem;
  background: var(--ink-2);
}

.portrait-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.6s var(--expo);
}

.portrait-media img:first-child {
  filter: grayscale(1) contrast(1.12) brightness(0.9);
}

.portrait-media .lens-img {
  clip-path: circle(var(--lens) at var(--px) var(--py));
  transition: --lens 0.7s var(--spring), scale 1.6s var(--expo);
}

.portrait.is-lit {
  --lens: 6.5rem;
}

.portrait.is-open {
  --lens: 150%;
}

.portrait:hover img {
  scale: 1.04;
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  color: var(--dim);
}

.about-copy {
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
}

.about-copy .lede {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.about-copy p:not(.lede) {
  color: var(--dim);
  font-size: 1.08rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  padding-top: 0.6rem;
}

.caps {
  margin-top: clamp(5rem, 11vw, 10rem);
}

.caps-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.caps-head h3 {
  font-size: clamp(2.6rem, 5.6vw, 6rem);
}

.caps-head p {
  max-width: 24rem;
  color: var(--dim);
}

.caps-list {
  position: relative;
  border-top: 1px solid var(--line);
}

.cap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.6rem clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.cap > span {
  color: var(--acid);
}

.cap h4 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
  transition: translate 0.7s var(--expo);
}

.cap:hover h4 {
  translate: 0.6rem 0;
}

.cap p {
  color: var(--dim);
  max-width: 34rem;
}

.glide {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(200, 214, 109, 0.14), rgba(157, 187, 192, 0.05));
  box-shadow: inset 2px 0 0 var(--acid);
  transition: transform 0.6s var(--spring), height 0.6s var(--spring), opacity 0.35s;
}

.marquee {
  display: flex;
  margin: clamp(4rem, 9vw, 8rem) calc(var(--pad) * -1) 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(2.6rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
}

.marquee span {
  flex: 0 0 auto;
  will-change: transform;
}

.marquee i {
  font-family: var(--serif);
  color: var(--coral);
  -webkit-text-stroke: 0;
}

/* ---------- context ---------- */

.timeline {
  position: relative;
  border-top: 1px solid var(--line);
}

.timeline-bar {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(var(--tp, 0));
  transform-origin: 0 50%;
}

.timeline li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 0.6rem clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: 1.7rem 0 1.8rem;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.8s var(--expo), transform 1s var(--expo);
}

.js .timeline li:not(.past) {
  opacity: 0.3;
  transform: translateX(-0.7rem);
}

.timeline .when {
  color: var(--dim);
  transition: color 0.5s;
}

.timeline li.now .when {
  color: var(--acid);
}

.timeline h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.timeline li div span {
  display: block;
  margin-top: 0.5rem;
  color: var(--blue);
  font-size: 0.64rem;
}

.timeline p {
  color: var(--dim);
  max-width: 34rem;
}

/* ---------- contact ---------- */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.5rem, 4vh, 3rem);
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 8rem;
}

.contact .label {
  color: var(--dim);
}

.contact-title {
  font-size: clamp(3.2rem, 11.4vw, 13rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.contact-title i {
  font-style: italic;
  letter-spacing: -0.03em;
}

.contact-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-top: clamp(1.2rem, 3vh, 2rem);
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 28rem;
  color: var(--dim);
}

.contact-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.mail {
  font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--acid), var(--acid)) 0 100% / 0% 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.1em;
  transition: background-size 0.8s var(--expo);
}

.mail:hover {
  background-size: 100% 1px, 100% 1px;
}

.contact-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
}

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

.foot {
  padding: clamp(3rem, 8vw, 7rem) var(--pad) 1.2rem;
  overflow: hidden;
}

.foot-mark {
  font-size: clamp(2.6rem, 12.2vw, 14rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.82;
  white-space: nowrap;
  color: var(--paper);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
}

/* ---------- cursor ---------- */

.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: block;
    position: fixed;
    z-index: 110;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .cursor.is-on {
    opacity: 1;
  }

  .cursor i {
    position: absolute;
    left: -1.1rem;
    top: -1.1rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(239, 238, 232, 0.55);
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: scale 0.5s var(--spring), background 0.3s, border-color 0.3s;
  }

  .cursor.is-link i {
    scale: 0.45;
    background: var(--paper);
  }

  .cursor.is-tag i {
    scale: 1.5;
    border-color: var(--acid);
  }

  .cursor.is-down i {
    scale: 0.3;
    transition-duration: 0.08s;
  }

  .cursor span {
    position: absolute;
    left: 1.5rem;
    top: 1.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--acid);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    scale: 0.6;
    transform-origin: 0 0;
    transition: opacity 0.25s, scale 0.5s var(--spring);
  }

  .cursor.is-tag span {
    opacity: 1;
    scale: 1;
  }
}

/* ---------- portal ---------- */

.portal {
  width: min(1120px, 94vw);
  height: min(780px, 88vh);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 1.2rem;
  background: var(--ink-2);
  color: var(--paper);
  overflow: hidden;
}

.portal[open] {
  display: grid;
  grid-template-rows: auto 1fr;
  animation: portal-in 0.8s var(--expo) both;
}

.portal::backdrop {
  background: rgba(15, 18, 15, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@keyframes portal-in {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.97);
  }
}

.portal-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 2rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.portal-head span {
  color: var(--acid);
}

.portal-head h2 {
  margin-top: 0.3rem;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.portal-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.portal-frame {
  min-height: 0;
  background: #fff;
}

.portal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

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

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .bar {
    grid-template-columns: 1fr auto;
  }

  .bar-status {
    display: none;
  }

  .section-head,
  .caps-head,
  .hero-foot,
  .contact-foot,
  .about-grid,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .contact-links {
    grid-column: 1;
  }

  .hero-scroll {
    display: none;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .proof li:nth-child(n + 3) {
    margin-top: 1.4rem;
    border-top: 1px solid var(--line);
  }

  /* the reel becomes a plain stack */
  .reel {
    height: auto !important;
    margin: 0;
  }

  .reel-sticky {
    position: static;
    height: auto;
    overflow: visible;
    display: block;
  }

  .reel-track {
    flex-direction: column;
    padding: 0 0 4rem;
    transform: none !important;
  }

  .panel {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .js .panel:not(.is-active) {
    opacity: 1;
    scale: 1;
  }

  .panel-art {
    min-height: 17rem;
  }

  .reel-ui {
    display: none;
  }

  .loop-visual {
    display: none;
  }

  .step {
    min-height: 0;
    padding: 2.2rem 0;
    border-top: 1px solid var(--line);
  }

  .js .step:not(.on) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cap,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 16rem;
  }
}

@media (max-width: 560px) {
  .sound [data-sound-label],
  .menu-btn span {
    display: none;
  }

  .hero-title {
    font-size: 19.5vw;
  }
}

/* ---------- reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ch,
  .l-in {
    transform: none !important;
  }

  .js [data-reveal],
  .js body:not(.is-ready) [data-rise],
  .js .step:not(.on),
  .js .timeline li:not(.past),
  .js .panel:not(.is-active) {
    opacity: 1;
    transform: none;
    filter: none;
    scale: 1;
  }

  .js [data-words] .wd {
    opacity: 1;
  }
}

/* ---------- legibility over the orb ---------- */

.hero-title {
  letter-spacing: -0.06em;
}

.contact-foot,
.foot-mark {
  mix-blend-mode: difference;
}

.contact-foot .btn {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- live moth window ---------- */

.art-live {
  justify-content: flex-start;
  gap: 1rem;
}

.live-window {
  --depth: 6px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 0.8rem;
  background: #0b0d0b;
  box-shadow: 0 1.4rem 3rem -1.2rem rgba(0, 0, 0, 0.6);
}

.live-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.58rem;
}

.live-dots {
  display: inline-flex;
  gap: 0.3rem;
}

.live-dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--line-2);
}

.live-dot {
  width: 0.4rem;
  height: 0.4rem;
  margin-left: auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0.6rem var(--acid);
  animation: pulse 2.4s ease-in-out infinite;
}

.live-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: size;
}

.live-poster {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  translate: none !important;
}

.live-view iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: calc(1280px * 100cqh / 100cqw);
  border: 0;
  transform: scale(calc(100cqw / 1280px));
  transform-origin: 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--expo);
  background: #0b0d0b;
}

.live-view.is-loaded iframe {
  opacity: 1;
}

/* ---------- toolkit ---------- */

.toolkit {
  margin-top: clamp(4rem, 9vw, 7rem);
}

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

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.toolkit-grid > div {
  padding: 1.2rem 1.2rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.toolkit-grid dt {
  color: var(--acid);
  margin-bottom: 0.6rem;
}

.toolkit-grid dd {
  margin: 0;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .art-live {
    min-height: 22rem;
  }
}


/* ---------- short version: the whole site in four screens ---------- */

.work {
  padding-top: 0;
  padding-bottom: 0;
}

.reel-sticky {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.9rem, 2.5vh, 1.6rem);
  padding: 5rem 0 4rem;
}

.reel-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.7rem;
  padding: 0 var(--pad);
  color: var(--dim);
}

.reel-tabs-label {
  margin-right: 1.2rem;
  color: var(--paper);
}

.reel-tabs button {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.45rem 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.reel-tabs button i {
  font-style: normal;
  opacity: 0.5;
}

.reel-tabs button:hover {
  color: var(--paper);
}

.reel-tabs button.on {
  color: var(--acid);
  border-color: var(--acid);
}

.panel {
  height: min(64vh, 40rem);
}

.js .panel:not(.is-active) {
  cursor: pointer;
}

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.about > .label {
  margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
  color: var(--dim);
}

.about-grid {
  align-items: center;
}

.portrait {
  max-width: min(24rem, 40vh);
}

.about-copy {
  max-width: 46rem;
}

.contact {
  min-height: 92vh;
  min-height: 92svh;
}

@media (max-width: 900px) {
  .work {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .reel-tabs {
    display: none;
  }

  .reel-sticky {
    display: block;
    padding: 0;
  }

  .reel-track {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .panel {
    flex: 0 0 86vw;
    width: 86vw;
    height: auto;
    scroll-snap-align: center;
  }

  .about {
    min-height: 0;
  }
}

/* the footer name sits higher in the gap between the contact links and the footer row */
.contact {
  padding-bottom: clamp(2rem, 4.5vw, 4rem);
}

.foot {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.foot-row {
  margin-top: clamp(2.4rem, 5.5vw, 5rem);
}

/* contact: blurb on the left, a smaller email and the links on the right edge */
.contact-foot {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.1rem clamp(2rem, 6vw, 6rem);
}

.contact-copy {
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 30rem;
}

.contact-mail {
  grid-column: 2;
  justify-self: end;
  justify-content: flex-end;
  gap: 0.8rem 1.2rem;
}

.mail {
  font-size: clamp(1.3rem, 2.3vw, 2.1rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.contact-links {
  grid-column: 2;
  justify-self: end;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .contact-foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-copy {
    grid-row: auto;
  }

  .contact-mail,
  .contact-links {
    grid-column: 1;
    justify-self: start;
    justify-content: flex-start;
  }
}

/* buttons: no text roll (it read as doubled text), a soft glow on hover instead */
.btn .roll::after {
  display: none;
}

.btn:hover .roll > span {
  transform: none;
}

.btn:hover {
  border-color: var(--acid);
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(200, 214, 109, 0.35), 0 0 1.4rem rgba(200, 214, 109, 0.45), 0 0 3.6rem rgba(200, 214, 109, 0.28);
  text-shadow: 0 0 0.9rem rgba(200, 214, 109, 0.7);
}

.btn-fill:hover {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 0 1.6rem rgba(200, 214, 109, 0.6), 0 0 4.2rem rgba(200, 214, 109, 0.35);
  text-shadow: none;
}

/* phones: label the swipeable work cards and close up the dead space between sections */
@media (max-width: 900px) {
  .reel-tabs {
    display: flex;
    justify-content: space-between;
    padding: 0 0 1.1rem;
  }

  .reel-tabs button {
    display: none;
  }

  .reel-tabs::after {
    content: "7 builds / swipe";
  }

  .about {
    padding-top: 4rem;
  }

  .contact {
    min-height: 0;
    padding-top: 5rem;
  }
}
