/* ==========================================================================
   MAHESHWAR TRIPATHI — portfolio
   Dark cinematic system (rebuild, Oct 2026)

   Design language benchmarked on a dark Framer portfolio:
   · warm near-black canvas, cream type, strictly monochrome
   · oversized display type (Plus Jakarta Sans 700, tight leading, negative tracking)
   · sticky scroll-scrubbed sections where words light up as the section scrubs
   · floating media drifting across the type on independent depths
   · a fixed dock at the bottom of the viewport
   Every effect is progressive enhancement: with JS off, the page is a complete
   dark document.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  --bg: #11100d;
  --bg-deep: #0b0a08;
  --panel: #161511;
  --panel-2: #1b1915;

  --cream: #d0c5ab;
  --cream-80: rgba(208, 197, 171, 0.8);
  --cream-60: rgba(208, 197, 171, 0.6);
  --cream-40: rgba(208, 197, 171, 0.4);
  --cream-24: rgba(208, 197, 171, 0.24);
  --cream-14: rgba(208, 197, 171, 0.14);
  --cream-08: rgba(208, 197, 171, 0.08);

  --line: rgba(208, 197, 171, 0.1);
  --line-strong: rgba(208, 197, 171, 0.18);

  --pad: clamp(18px, 4.2vw, 68px);
  --max: 1560px;
  --radius: 6px;

  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --dock-h: 84px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

::selection {
  background: var(--cream);
  color: var(--bg);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------ type utils */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: none;
}

.display-xl {
  font-size: clamp(54px, 11.4vw, 164px);
}

.display-l {
  font-size: clamp(44px, 8.4vw, 124px);
}

.display-m {
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.display-s {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.body-lg {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--cream-80);
  max-width: 46ch;
}

.muted {
  color: var(--cream-60);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* --------------------------------------------------------------- loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader[data-done="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.loader-stack {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.86) rotate(-6deg);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.loader-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
}

.loader-frame:nth-child(1) {
  transform: scale(0.9) rotate(-10deg);
}
.loader-frame:nth-child(2) {
  transform: scale(0.95) rotate(-4deg);
}
.loader-frame:nth-child(3) {
  transform: scale(1) rotate(0deg);
}

.loader-frame.is-on {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.loader-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cream-60);
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: var(--cream-14);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.2s linear;
}

/* --------------------------------------------------------------- topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.4vw, 34px) var(--pad);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0.72), rgba(11, 10, 8, 0));
  pointer-events: none;
}

.wordmark {
  position: relative;
  display: grid;
  gap: 2px;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-transform: uppercase;
}

.wordmark-line {
  display: block;
}

.wordmark-block {
  display: inline-block;
  width: 0.58em;
  height: 0.58em;
  background: var(--cream);
  border-radius: 1px;
  vertical-align: -0.02em;
  margin: 0 0.02em;
}

.topbar-contact {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
  font-size: 13px;
  color: var(--cream-80);
}

.topbar-contact a {
  transition: color 0.2s var(--ease);
}

.topbar-contact a:hover {
  color: var(--cream);
}

.topbar-contact .mono {
  font-size: 10px;
}

/* ----------------------------------------------------------------- dock */
.dock {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.2vw, 26px);
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  padding: 12px 12px 12px clamp(18px, 2vw, 30px);
  background: rgba(22, 21, 17, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.dock a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream-80);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.dock a:hover,
.dock a[aria-current="page"] {
  color: var(--cream);
}

.dock-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--cream);
  color: var(--bg) !important;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease);
}

.dock-cta img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.dock-cta:hover {
  transform: translateY(-2px);
  background: #e6dcc4;
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(26px, 5vh, 60px);
  padding: clamp(96px, 14vh, 190px) var(--pad) clamp(118px, 15vh, 168px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  filter: grayscale(1) contrast(1.12) brightness(0.72);
  transform: scale(1.06);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 62% 30%, rgba(17, 16, 13, 0) 0%, rgba(17, 16, 13, 0.55) 58%, rgba(11, 10, 8, 0.96) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.55) 0%, rgba(11, 10, 8, 0.1) 32%, rgba(11, 10, 8, 0.92) 100%);
}

.hero-lines {
  position: relative;
  display: grid;
  gap: clamp(2px, 0.4vw, 10px);
  z-index: 2;
}

.hero-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.hero-row--2 {
  justify-content: space-between;
  align-items: flex-end;
}

.hero-row-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.hero-lead {
  max-width: 30ch;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.5;
  color: var(--cream-80);
  padding-bottom: 0.6em;
}

.hero-word {
  color: var(--cream);
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}

.is-ready .hero-word {
  opacity: 1;
  transform: none;
}

.is-ready .hero-word:nth-child(1) {
  transition-delay: 0.05s;
}
.is-ready .hero-word:nth-child(2) {
  transition-delay: 0.16s;
}
.is-ready .hero-word:nth-child(3) {
  transition-delay: 0.27s;
}

/* floating badge cards tucked into the hero gaps */
.badge {
  flex: none;
  width: clamp(104px, 9.4vw, 148px);
  height: clamp(96px, 9vw, 124px);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 21, 17, 0.94) 0%, rgba(22, 21, 17, 0.55) 62%, rgba(22, 21, 17, 0) 100%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--cream-80);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}

.is-ready .badge {
  opacity: 1;
  transform: none;
}

.is-ready .badge--1 {
  transition-delay: 0.4s;
}
.is-ready .badge--2 {
  transition-delay: 0.52s;
}

.hero-copy {
  margin-top: clamp(18px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(20px, 3vw, 60px);
}

.hero-copy p {
  max-width: 34ch;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--cream-80);
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.hero-foot .mono {
  font-size: 11px;
}

.hero-arrow {
  position: absolute;
  right: var(--pad);
  top: auto;
  bottom: calc(clamp(118px, 15vh, 168px) + 64px);
  z-index: 2;
  width: clamp(52px, 6vw, 86px);
  height: auto;
  flex: none;
  color: var(--cream);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.8s var(--ease-out) 0.6s, transform 0.9s var(--ease-out) 0.6s;
}

.is-ready .hero-arrow {
  opacity: 1;
  transform: none;
}

.hero-arrow path {
  animation: nudge 2.6s var(--ease) infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* --------------------------------------------------- scrub (what I do) */
.scrub {
  position: relative;
  background: var(--bg);
}

.scrub-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(90px, 12vh, 140px) var(--pad) clamp(120px, 16vh, 170px);
}

.scrub-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 60px);
  align-items: start;
}

.scrub-label {
  padding-top: clamp(6px, 1.2vw, 18px);
}

.scrub-text {
  position: relative;
  z-index: 2;
  max-width: 16ch;
  font-size: clamp(30px, 4.6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.scrub-text .c {
  display: inline-block;
  opacity: 0.1;
  transition: opacity 0.45s linear;
}

.scrub-sub {
  grid-column: 2;
  margin-top: clamp(16px, 2.4vw, 34px);
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--cream-60);
  max-width: 42ch;
}

/* floating media drifting over the type */
.floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  will-change: transform;
}

.floater img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floater--a {
  width: clamp(180px, 19vw, 300px);
  aspect-ratio: 4 / 3;
  left: 4%;
  top: 12%;
}
.floater--b {
  width: clamp(160px, 16vw, 250px);
  aspect-ratio: 16 / 10;
  right: 6%;
  top: 18%;
}
.floater--c {
  width: clamp(150px, 14vw, 220px);
  aspect-ratio: 1 / 1;
  right: 22%;
  bottom: 12%;
}
.floater--d {
  width: clamp(190px, 20vw, 320px);
  aspect-ratio: 16 / 9;
  left: 12%;
  bottom: 8%;
}

/* ------------------------------------------------------------- featured */
.featured {
  padding: clamp(80px, 12vh, 160px) 0 clamp(60px, 8vh, 110px);
  position: relative;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--pad);
  max-width: var(--max);
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 90px);
}

.cases {
  display: grid;
  gap: clamp(70px, 12vh, 170px);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: start;
}

.case--flip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.case--flip .case-media {
  order: 2;
}

.case-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.case-media img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.9s var(--ease-out);
}

.case:hover .case-media img {
  transform: scale(1.04);
}

.case-body {
  display: grid;
  gap: clamp(14px, 1.6vw, 26px);
  padding-top: clamp(4px, 1vw, 22px);
}

.case-num {
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream-80);
}

.case-title {
  font-size: clamp(24px, 2.9vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.case-dek {
  color: var(--cream-60);
  font-size: 15px;
  max-width: 44ch;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.case-tags li {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-60);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 12px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  width: fit-content;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.case-link:hover {
  border-color: var(--cream);
  gap: 16px;
}

/* ------------------------------------------------------------- results */
.results {
  position: relative;
  padding: clamp(90px, 14vh, 180px) 0;
  overflow: hidden;
}

.results-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(90px, 12vh, 140px) var(--pad) clamp(120px, 15vh, 170px);
  max-width: var(--max);
  margin-inline: auto;
}

.results-word {
  font-size: clamp(56px, 15.5vw, 240px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--cream-14);
  text-transform: uppercase;
  user-select: none;
}

.results-word .lit {
  color: var(--cream);
  transition: color 0.5s var(--ease);
}

.results-cards {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.record-card {
  position: relative;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 25, 21, 0.92), rgba(17, 16, 13, 0.86));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  gap: 16px;
  transition: transform 0.5s var(--ease-out), border-color 0.3s var(--ease);
}

.record-card:nth-child(2) {
  transform: translateY(clamp(20px, 4vw, 70px));
}

.record-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.record-card:nth-child(2):hover {
  transform: translateY(clamp(20px, 4vw, 70px) - 6px);
}

.record-num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream-80);
  line-height: 1;
}

.record-quote {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.45;
  color: var(--cream);
}

.record-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.record-meta img {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.record-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.record-meta span {
  font-size: 12px;
  color: var(--cream-60);
}

/* ---------------------------------------------------------------- about */
.about {
  position: relative;
  padding: clamp(90px, 14vh, 190px) 0 0;
  overflow: hidden;
}

.about-statement {
  position: relative;
  z-index: 2;
  font-size: clamp(38px, 7.4vw, 118px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.038em;
  max-width: 20ch;
}

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

.about-statement .c {
  display: inline-block;
  opacity: 0.1;
  transition: opacity 0.45s linear;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 90px);
}

.about-prose p {
  color: var(--cream-60);
  font-size: clamp(15px, 1.25vw, 18px);
  max-width: 52ch;
  margin-bottom: 18px;
}

.about-prose strong {
  color: var(--cream);
  font-weight: 700;
}

.about-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-card img {
  width: 100%;
  height: auto;
}

.about-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.focus {
  padding: clamp(90px, 13vh, 170px) 0 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}

.focus-statement {
  font-size: clamp(30px, 4.4vw, 66px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.032em;
  max-width: 15ch;
}

.focus-list {
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--cream-60);
}

.focus-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.focus-list b {
  color: var(--cream);
  font-weight: 700;
}

/* ------------------------------------------------------------------ cta */
.cta {
  position: relative;
  padding: clamp(110px, 18vh, 220px) 0 clamp(70px, 10vh, 130px);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.cta-title {
  font-size: clamp(44px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--solid {
  background: var(--cream);
  color: var(--bg);
}

.btn--solid:hover {
  transform: translateY(-2px);
  background: #e6dcc4;
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

.cta-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cta-floater {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0.5;
}

.cta-floater img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-floater--a {
  width: clamp(150px, 16vw, 260px);
  aspect-ratio: 4 / 3;
  right: 4%;
  top: 12%;
}
.cta-floater--b {
  width: clamp(130px, 13vw, 210px);
  aspect-ratio: 1 / 1;
  right: 22%;
  bottom: 8%;
}

/* --------------------------------------------------------------- footer */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: clamp(50px, 7vw, 90px);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  align-items: end;
}

.footer-wordmark {
  font-size: clamp(44px, 9.4vw, 168px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-hello {
  display: grid;
  gap: 8px;
  justify-items: start;
  text-align: left;
}

.footer-hello h2 {
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.copy-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(15px, 1.4vw, 21px);
  color: var(--cream-80);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-row:hover {
  color: var(--cream);
  border-color: var(--cream-40);
}

.copy-row::after {
  content: "copy";
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.copy-row[data-copied="true"]::after {
  content: "copied";
  color: var(--cream);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 50px);
  max-width: var(--max);
  margin: clamp(50px, 7vw, 100px) auto 0;
  padding-inline: var(--pad);
}

.footer-col h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: var(--cream-80);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--cream);
}

.marquee {
  margin-top: clamp(50px, 7vw, 100px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  display: flex;
  gap: 40px;
  white-space: nowrap;
  user-select: none;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  animation: slide 26s linear infinite;
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream-40);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad) 30px;
  font-size: 12px;
  color: var(--cream-40);
}

/* --------------------------------------------------------- reveal system */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.js [data-reveal][data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
.js [data-reveal][data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
.js [data-reveal][data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* ------------------------------------------------------------ sub pages */
.page-head {
  padding: clamp(120px, 18vh, 210px) var(--pad) clamp(40px, 6vh, 80px);
  max-width: var(--max);
  margin-inline: auto;
}

.page-head h1 {
  font-size: clamp(38px, 7.4vw, 118px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.038em;
  max-width: 16ch;
  margin-top: 18px;
}

.page-head .mono {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(50px, 8vh, 100px) var(--pad);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(26px, 4vw, 54px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.spec-row dd {
  color: var(--cream-80);
  font-size: 15px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-60);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 13px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream-40);
}

.status-dot[data-status="Shipped"]::before {
  background: #6ee7a8;
  box-shadow: 0 0 10px rgba(110, 231, 168, 0.6);
}

.status-dot[data-status="In progress"]::before {
  background: #f0c674;
  box-shadow: 0 0 10px rgba(240, 198, 116, 0.5);
}

.prose p {
  color: var(--cream-60);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  max-width: 68ch;
  margin-bottom: 16px;
}

.prose strong {
  color: var(--cream);
}

.prose h3 {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 34px 0 12px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.approach-card {
  background: var(--bg);
  padding: clamp(20px, 2.4vw, 32px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.approach-card h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.approach-card p {
  font-size: 14px;
  color: var(--cream-60);
  line-height: 1.55;
}

/* project index */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-60);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.filter[aria-pressed="true"] {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg);
}

.work-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.2fr) 120px 130px 40px;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.work-row:hover {
  background: rgba(208, 197, 171, 0.04);
  padding-inline: 12px;
}

.work-row[hidden] {
  display: none;
}

.work-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-40);
}

.work-name {
  font-size: clamp(19px, 1.9vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.work-tag {
  font-size: 14px;
  color: var(--cream-60);
}

.work-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-40);
}

.work-arrow {
  justify-self: end;
  color: var(--cream-40);
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease);
}

.work-row:hover .work-arrow {
  transform: translate(4px, -4px);
  color: var(--cream);
}

.work-cover {
  display: block;
  width: 100%;
  max-width: var(--max);
  margin: clamp(30px, 5vw, 70px) auto 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.work-cover img {
  width: 100%;
  height: auto;
}

.next-project {
  display: grid;
  gap: 18px;
  padding: clamp(40px, 6vw, 80px) 0;
  text-align: center;
  justify-items: center;
}

.next-project a {
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  transition: opacity 0.25s var(--ease);
}

.next-project a:hover {
  opacity: 0.6;
}

/* 404 */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px var(--pad);
}

.notfound h1 {
  font-size: clamp(70px, 18vw, 260px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .results-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .record-card:nth-child(2) {
    transform: none;
  }
  .record-card:nth-child(2):hover {
    transform: translateY(-6px);
  }
  .case,
  .case--flip {
    grid-template-columns: 1fr;
  }
  .case--flip .case-media {
    order: 0;
  }
  .about-grid,
  .focus-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .work-row {
    grid-template-columns: 44px minmax(0, 1fr) 40px;
  }
  .work-tag,
  .work-year {
    display: none;
  }
}

@media (max-width: 720px) {
  .scrub-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .scrub-sub {
    grid-column: 1;
  }
  .scrub-text {
    max-width: none;
  }
  .hero-copy {
    grid-template-columns: 1fr;
  }
  .results-cards {
    grid-template-columns: 1fr;
  }
  .floater--c,
  .floater--d {
    display: none;
  }
  .dock {
    left: 12px;
    right: 12px;
    transform: none;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px 10px 16px;
  }
  .dock a {
    font-size: 11px;
  }
  .dock-cta {
    padding: 8px 12px 8px 8px;
  }
  .topbar-contact .mono {
    display: none;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .scrub-text .c,
  .about-statement .c {
    opacity: 1;
  }
  .hero-word,
  .badge,
  .hero-arrow {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* no-js fallback */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

.no-js .scrub-text .c,
.no-js .about-statement .c {
  opacity: 0.55;
}

/* ==========================================================================
   CINEMATIC PASS — reference motion system (Oct 2026)
   Loader shrink · character masks · sticky cases · scroll scrub · cursor
   ========================================================================== */

/* --------------------------------------------------------------- loader v2 */
.loader {
  background: var(--bg);
  transition: opacity 0.8s var(--ease-out) 0.2s, visibility 0.8s 0.2s;
}

.loader-stage {
  display: grid;
  justify-items: center;
  gap: 30px;
}

.loader-square {
  position: relative;
  width: clamp(210px, 22vw, 280px);
  height: clamp(210px, 22vw, 280px);
  background: #cfc4aa;
  overflow: hidden;
  transition: transform 1.15s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.5s var(--ease) 0.7s, border-radius 0.6s var(--ease);
  will-change: transform, opacity;
}

.loader-square.is-shrinking {
  transform: scale(0.045);
  opacity: 0;
  border-radius: 30%;
}

.loader-frames,
.loader-frame {
  position: absolute;
  inset: 0;
}

.loader-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.28s linear, transform 0.7s var(--ease-out);
}

.loader-frame.is-on {
  opacity: 1;
  transform: scale(1);
}

.loader-frames {
  transition: opacity 0.25s linear;
}

.loader-square.is-sealed .loader-frames {
  opacity: 0;
}

.loader-beige {
  position: absolute;
  inset: 0;
  background: #cfc4aa;
  opacity: 0;
  transition: opacity 0.25s linear;
}

.loader-square.is-sealed .loader-beige {
  opacity: 1;
}

.loader-count {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #17140f;
}

.loader-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-60);
  opacity: 0;
  transform: translateY(8px);
  animation: loader-caption-in 0.6s var(--ease-out) 0.5s forwards;
}

@keyframes loader-caption-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--bg);
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
    border-radius 0.35s var(--ease-out), opacity 0.2s linear;
  will-change: transform, width, height;
}

.cursor-label {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity 0.18s linear;
}

body.has-cursor .cursor {
  opacity: 1;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

.cursor[data-state="view"] {
  width: 118px;
  height: 118px;
  border-radius: 4px;
}

.cursor[data-state="open"] {
  width: 86px;
  height: 86px;
  border-radius: 4px;
}

.cursor[data-state="view"] .cursor-label,
.cursor[data-state="open"] .cursor-label {
  opacity: 1;
}

.cursor.is-press {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.cursor.is-press .cursor-label {
  opacity: 0;
}

/* --------------------------------------------------------------- page veil */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}

.page-veil.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------------- grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ topbar */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  z-index: 80;
  transition: transform 0.55s var(--ease-out), opacity 0.35s var(--ease);
}

.topbar.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
}

.topbar-mid {
  padding-top: 3px;
  text-align: center;
  display: grid;
  gap: 3px;
  justify-items: center;
}

.topbar-mid span:last-child {
  color: var(--cream-40);
}

.topbar-contact {
  justify-items: end;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream-80);
}

.status-pill {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(208, 197, 171, 0.12);
}

.topbar-clock {
  font-size: 10px;
}

/* -------------------------------------------------------------------- dock */
.dock a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dock-index {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--cream-40);
  transform: translateY(-1px);
}

.dock a[aria-current="page"] .dock-index {
  color: var(--cream);
}

/* ------------------------------------------------------------- char masks */
.char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.08em 0.01em 0.14em;
  margin: -0.08em -0.01em -0.14em;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

.js [data-reveal-chars] .char {
  opacity: 0;
  transform: translate3d(30px, 112%, 0);
}

.js [data-reveal-chars].is-chars-in .char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 1.15s var(--ease-out), opacity 0.75s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.035s);
}

.js .results-word[data-reveal-chars] .char,
.js .about-statement[data-reveal-chars] .char {
  transition-duration: 1.3s, 0.8s;
}

/* ---------------------------------------------------------------- appear */
.js .hero [data-appear] {
  opacity: 0;
  transform: translate3d(0, 70px, 0);
}

.js .hero.is-in [data-appear] {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease-out), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

/* -------------------------------------------------------------------- hero */
.hero {
  min-height: 100svh;
  padding-top: clamp(112px, 15vh, 170px);
  justify-content: flex-end;
  gap: clamp(18px, 3vh, 34px);
}

.hero::after {
  background:
    radial-gradient(110% 100% at 62% 28%, rgba(17, 16, 13, 0.02) 0%, rgba(17, 16, 13, 0.35) 48%, rgba(11, 10, 8, 0.92) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.7) 0%, rgba(11, 10, 8, 0.05) 30%, rgba(11, 10, 8, 0.2) 58%, rgba(11, 10, 8, 0.96) 100%);
}

.hero-kicker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: var(--cream-60);
  margin-bottom: clamp(10px, 2vh, 24px);
}

.hero-kicker-line {
  width: clamp(28px, 8vw, 120px);
  height: 1px;
  background: var(--cream-24);
}

.hero-lines {
  gap: clamp(0px, 0.5vw, 8px);
}

.hero-row {
  min-height: 0;
}

.hero-word {
  opacity: 1;
  transform: none;
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.hero-side-note {
  margin-left: auto;
  align-self: flex-end;
  text-align: right;
  font-size: 9px;
  line-height: 1.65;
  color: var(--cream-40);
  padding-bottom: 12px;
}

.hero-lead {
  max-width: 34ch;
  padding-bottom: 0.8em;
  color: var(--cream-80);
}

.hero-row--2 {
  align-items: flex-end;
}

.hero-row--3 {
  justify-content: flex-start;
  align-items: flex-end;
}

.badge {
  opacity: 1;
  transform: none;
  color: var(--cream-60);
  background: linear-gradient(180deg, rgba(22, 21, 17, 0.88), rgba(22, 21, 17, 0.32));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge b {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.badge-muted {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.hero-arrow {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero.is-in .hero-arrow {
  opacity: 1;
  transform: none;
}

.hero-arrow:hover {
  transform: translateY(4px);
}

.hero-arrow path {
  animation: nudge 2.8s var(--ease) 2.4s infinite;
}

.hero-foot {
  padding-top: clamp(10px, 2vh, 20px);
  border-top: 1px solid var(--cream-14);
}

.hero-foot-arrow {
  display: inline-block;
  animation: nudge 2.6s var(--ease) infinite;
}

/* ------------------------------------------------------------------ scrub */
.scrub {
  height: 205vh;
  background: var(--bg);
}

.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  padding-top: clamp(70px, 10vh, 120px);
  padding-bottom: clamp(90px, 12vh, 130px);
}

.scrub-inner {
  align-items: start;
  grid-template-columns: minmax(150px, 0.26fr) minmax(0, 1fr);
}

.scrub-label {
  display: grid;
  gap: 18px;
  align-content: start;
}

.scrub-index {
  max-width: 18ch;
  line-height: 1.8;
  color: var(--cream-40);
}

.scrub-text {
  max-width: 15ch;
  font-size: clamp(34px, 4.9vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  padding-right: clamp(0px, 4vw, 70px);
}

.scrub-text .c,
.about-statement .c,
.focus-statement .c {
  opacity: 0.1;
  transition: opacity 0.3s linear;
}

.scrub-sub {
  max-width: 44ch;
  line-height: 1.6;
}

.scrub-progress {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(74px, 9vh, 104px);
  height: 1px;
  background: var(--cream-14);
  overflow: hidden;
}

.scrub-progress span {
  display: block;
  height: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
}

.floaters .floater {
  opacity: 0.92;
  filter: saturate(0.85) contrast(1.03);
  transition: filter 0.6s var(--ease);
}

.floater--a {
  width: clamp(200px, 22vw, 340px);
  left: 2%;
  top: 8%;
}

.floater--b {
  width: clamp(180px, 18vw, 280px);
  right: 5%;
  top: 12%;
}

.floater--c {
  width: clamp(170px, 16vw, 250px);
  right: 24%;
  bottom: 6%;
}

.floater--d {
  width: clamp(210px, 20vw, 310px);
  left: 16%;
  bottom: 4%;
}

/* ---------------------------------------------------------------- featured */
.featured {
  padding-top: clamp(80px, 12vh, 150px);
}

.featured-head {
  align-items: flex-end;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.featured-head .eyebrow {
  margin-bottom: 18px;
}

.featured-head-side {
  display: grid;
  gap: 16px;
  justify-items: end;
  text-align: right;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link:hover {
  gap: 14px;
  border-color: var(--cream);
}

.cases {
  display: block;
  max-width: none;
  padding: 0;
}

.case {
  display: block;
  position: relative;
  height: 122vh;
  padding: 0;
}

.case-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: clamp(22px, 3vw, 42px) var(--pad) 0;
  display: flex;
  align-items: flex-end;
  transform-origin: 50% 0%;
  will-change: transform;
}

.case-media {
  position: absolute;
  inset: clamp(18px, 2.6vw, 34px) var(--pad) clamp(16px, 2vw, 28px);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
  filter: saturate(0.9) contrast(1.02);
}

.case:hover .case-media img {
  transform: scale(1.075);
  filter: saturate(1) contrast(1.04);
}

.case-shade {
  position: absolute;
  inset: clamp(18px, 2.6vw, 34px) var(--pad) clamp(16px, 2vw, 28px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 10, 8, 0.35) 0%, rgba(11, 10, 8, 0) 32%, rgba(11, 10, 8, 0.25) 55%, rgba(11, 10, 8, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 10, 8, 0.7) 0%, rgba(11, 10, 8, 0) 65%);
  pointer-events: none;
}

.case-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(920px, 76%);
  display: grid;
  gap: clamp(12px, 1.6vw, 22px);
  padding: 0 0 clamp(34px, 5vh, 64px);
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(208, 197, 171, 0.22);
}

.case-num {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
}

.case-num i {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--cream-40);
  vertical-align: middle;
  margin-left: 6px;
}

.case-title {
  max-width: 17ch;
  font-size: clamp(34px, 4.4vw, 70px);
  line-height: 0.99;
  letter-spacing: -0.038em;
  color: var(--cream);
}

.case-dek {
  max-width: 50ch;
  color: var(--cream-80);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
}

.case-tags li {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(11, 10, 8, 0.3);
}

.case-link {
  border-color: rgba(208, 197, 171, 0.3);
}

/* --------------------------------------------------------------- more work */
.more {
  padding: clamp(90px, 13vh, 170px) var(--pad) clamp(60px, 8vh, 110px);
  max-width: var(--max);
  margin-inline: auto;
}

.more-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.more-head .eyebrow {
  margin-bottom: 18px;
}

.more-note {
  max-width: 34ch;
  color: var(--cream-60);
  font-size: 15px;
  line-height: 1.6;
  justify-self: end;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}

.mini-case {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease-out);
}

.mini-case:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.mini-case figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel-2);
}

.mini-case figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.01);
  transition: transform 0.9s var(--ease-out), filter 0.5s var(--ease);
}

.mini-case:hover figure img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.04);
}

.mini-body {
  display: grid;
  gap: 8px;
  padding: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid var(--line);
}

.mini-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--cream-40);
}

.mini-num i {
  font-style: normal;
}

.mini-case h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.mini-case p {
  color: var(--cream-60);
  font-size: 14px;
  line-height: 1.5;
  max-width: 34ch;
}

.mini-tags {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* ----------------------------------------------------------------- results */
.results {
  padding: 0;
  overflow: visible;
}

.results-head {
  padding-top: clamp(100px, 15vh, 190px);
  padding-bottom: clamp(34px, 5vw, 66px);
}

.results-head .eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 34px);
}

.results-word {
  display: grid;
  color: var(--cream-14);
  font-size: clamp(76px, 16vw, 260px);
  line-height: 0.78;
  letter-spacing: -0.055em;
  margin-left: -0.03em;
}

.results-line {
  display: block;
  width: fit-content;
}

.results-line--lit {
  color: var(--cream);
}

.results-sub {
  margin-top: clamp(24px, 3vw, 44px);
  max-width: 48ch;
  color: var(--cream-60);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
}

.record-deck {
  position: relative;
  height: calc((clamp(430px, 58vh, 610px) * 3) + 54vh);
  padding-inline: var(--pad);
  padding-bottom: 12vh;
}

.record-card {
  position: sticky;
  top: 17vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 44px);
  min-height: clamp(430px, 58vh, 610px);
  margin-bottom: 12vh;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #181611;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.32);
  transition: border-color 0.35s var(--ease);
}

.record-card:nth-child(1) {
  top: 17vh;
}

.record-card:nth-child(2) {
  top: calc(17vh + 10px);
  transform: none;
}

.record-card:nth-child(3) {
  top: calc(17vh + 20px);
  transform: none;
}

.record-card:nth-child(2):hover,
.record-card:nth-child(3):hover {
  transform: none;
}

.record-card:hover {
  border-color: rgba(208, 197, 171, 0.3);
  transform: none;
}

.record-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.record-num {
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--cream);
}

.record-year {
  color: var(--cream-40);
}

.record-quote {
  max-width: 30ch;
  font-size: clamp(24px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--cream);
  margin-block: auto;
}

.record-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 60px);
  border-top: 1px solid var(--line);
  padding-top: clamp(16px, 2vw, 26px);
}

.record-meta img {
  width: 46px;
  height: 46px;
  border-radius: 4px;
}

.record-stat {
  display: grid;
  gap: 2px;
}

.record-stat b {
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.record-stat span {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* ------------------------------------------------------------------- about */
.about {
  padding-top: clamp(100px, 15vh, 190px);
  padding-bottom: clamp(60px, 9vh, 120px);
  overflow: visible;
}

.about .eyebrow {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.about-statement {
  max-width: 17ch;
  font-size: clamp(38px, 6.8vw, 105px);
  line-height: 0.98;
}

.about-grid {
  margin-top: clamp(50px, 8vw, 110px);
  align-items: start;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
}

.about-prose p {
  font-size: clamp(15px, 1.28vw, 18px);
  max-width: 50ch;
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-card {
  position: sticky;
  top: 13vh;
  border-radius: 8px;
}

.about-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-facts {
  display: grid;
  margin-top: clamp(30px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.about-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.about-facts dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.about-facts dd {
  font-size: 13px;
  color: var(--cream-80);
}

/* ------------------------------------------------------------------- focus */
.focus {
  padding-top: clamp(80px, 13vh, 160px);
  padding-bottom: clamp(80px, 13vh, 160px);
}

.focus-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 6vw, 100px);
}

.focus .eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.focus-statement {
  max-width: 13ch;
  font-size: clamp(34px, 4.8vw, 72px);
  line-height: 1;
}

.focus-right {
  padding-top: clamp(8px, 2vw, 26px);
}

.focus-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.focus-list li {
  display: grid;
  grid-template-columns: 32px minmax(100px, 0.38fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}

.focus-list li:hover {
  padding-left: 10px;
  background: rgba(208, 197, 171, 0.03);
}

.focus-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--cream-40);
}

.focus-list b {
  font-size: 15px;
  font-weight: 600;
}

.focus-list li > span:last-child {
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream-60);
}

/* --------------------------------------------------------------------- CTA */
.cta {
  position: relative;
  height: 215vh;
  padding: 0;
  overflow: visible;
}

.cta-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 12vh, 130px) 0 clamp(90px, 12vh, 120px);
}

.cta-floaters {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-floater {
  position: absolute;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0;
  will-change: transform;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.cta-floater img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05) brightness(0.82);
}

.cta-floater--a {
  width: clamp(150px, 14vw, 230px);
  aspect-ratio: 16 / 10;
  left: 2%;
  top: 13%;
}

.cta-floater--b {
  width: clamp(140px, 12vw, 210px);
  aspect-ratio: 4 / 3;
  right: 3%;
  top: 9%;
}

.cta-floater--c {
  width: clamp(170px, 16vw, 260px);
  aspect-ratio: 16 / 10;
  left: 7%;
  bottom: 10%;
}

.cta-floater--d {
  width: clamp(130px, 11vw, 190px);
  aspect-ratio: 4 / 3;
  right: 8%;
  bottom: 7%;
}

.cta-floater--e {
  width: clamp(120px, 10vw, 170px);
  aspect-ratio: 16 / 10;
  left: 22%;
  top: 5%;
}

.cta-floater--f {
  width: clamp(120px, 10vw, 170px);
  aspect-ratio: 4 / 3;
  right: 23%;
  top: 4%;
}

.cta-floater--g {
  width: clamp(140px, 12vw, 200px);
  aspect-ratio: 16 / 10;
  left: 28%;
  bottom: 3%;
}

.cta-floater--h {
  width: clamp(120px, 10vw, 170px);
  aspect-ratio: 1 / 1;
  right: 27%;
  bottom: 5%;
}

.cta-floater--i {
  width: clamp(100px, 8vw, 150px);
  aspect-ratio: 16 / 10;
  left: 46%;
  top: -2%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding-inline: var(--pad);
  max-width: 1120px;
}

.cta-title {
  max-width: none;
  font-size: clamp(56px, 9.4vw, 154px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-align: center;
}

.cta-copy {
  max-width: 48ch;
  color: var(--cream-60);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.6;
}

.cta-row {
  justify-content: center;
  margin-top: clamp(6px, 1vw, 14px);
}

.cta-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: clamp(26px, 5vh, 60px);
  margin-top: clamp(10px, 3vh, 30px);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--cream-40);
}

.btn {
  will-change: transform;
}

/* ------------------------------------------------------------------ footer */
.footer {
  position: relative;
  z-index: 2;
}

.footer-wordmark {
  font-size: clamp(50px, 9.4vw, 168px);
}

.marquee-track {
  animation-duration: 30s;
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .topbar-mid {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

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

  .more-head {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.45fr);
  }

  .case-body {
    max-width: 86%;
  }

  .record-bottom {
    flex-wrap: wrap;
  }

  .record-stat {
    min-width: 90px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  }

  .cta-floater--e,
  .cta-floater--f,
  .cta-floater--i {
    display: none;
  }
}

@media (max-width: 820px) {
  .hero-kicker {
    font-size: 9px;
  }

  .hero-kicker span:last-child {
    display: none;
  }

  .hero-side-note {
    display: none;
  }

  .hero-row--2 {
    align-items: flex-end;
  }

  .hero-lead {
    max-width: 24ch;
  }

  .case-sticky {
    padding-top: 12px;
  }

  .case-body {
    max-width: 100%;
  }

  .case-title {
    max-width: 15ch;
  }

  .more-head {
    grid-template-columns: 1fr;
  }

  .more-note {
    justify-self: start;
  }

  .record-quote {
    max-width: none;
  }

  .record-deck {
    height: auto;
    padding-bottom: 0;
  }

  .record-card,
  .record-card:nth-child(1),
  .record-card:nth-child(2),
  .record-card:nth-child(3) {
    position: relative;
    top: auto;
    min-height: 0;
    margin-bottom: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-statement {
    max-width: 17ch;
  }

  .cta-floater--a,
  .cta-floater--b,
  .cta-floater--c,
  .cta-floater--d {
    opacity: 0.55;
  }

  .cta-floaters {
    display: none;
  }

  .cta-inner {
    background: radial-gradient(70% 80% at 50% 50%, rgba(17, 16, 13, 0.88), rgba(17, 16, 13, 0));
  }
}

@media (max-width: 640px) {
  .loader-square {
    width: 190px;
    height: 190px;
  }

  .hero {
    padding-top: 98px;
    padding-bottom: 92px;
    gap: 14px;
  }

  .hero-kicker-line {
    display: none;
  }

  .hero-lines {
    gap: 4px;
  }

  .display-xl {
    font-size: clamp(48px, 15vw, 92px);
  }

  .hero-row--2 {
    gap: 12px;
  }

  .hero-lead {
    max-width: 20ch;
    font-size: 12px;
    line-height: 1.45;
    padding-bottom: 0.4em;
  }

  .hero-row-right {
    gap: 10px;
  }

  .badge {
    width: 104px;
    height: 88px;
    padding: 10px;
    font-size: 10px;
  }

  .badge b {
    font-size: 18px;
  }

  .badge-muted {
    display: none;
  }

  .hero-arrow {
    width: 44px;
    right: 16px;
  }

  .hero-foot {
    font-size: 9px;
  }

  .hero-foot .mono:last-child {
    display: none;
  }

  .scrub {
    height: 175vh;
  }

  .scrub-inner {
    gap: 10px;
  }

  .scrub-text {
    font-size: clamp(30px, 8.4vw, 46px);
    max-width: 18ch;
    padding-right: 0;
  }

  .scrub-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .scrub-index {
    max-width: 14ch;
    font-size: 8px;
    text-align: right;
  }

  .scrub-sub {
    font-size: 13px;
  }

  .scrub-progress {
    bottom: 76px;
  }

  .floater--a,
  .floater--b {
    width: 130px;
    opacity: 0.65;
  }

  .floater--c,
  .floater--d {
    display: none;
  }

  .featured-head {
    align-items: flex-start;
  }

  .featured-head-side {
    justify-items: start;
    text-align: left;
  }

  .featured-head-side .mono {
    display: none;
  }

  .case {
    height: 108svh;
  }

  .case-media,
  .case-shade {
    inset: 10px 12px;
  }

  .case-sticky {
    padding: 0 12px;
  }

  .case-body {
    padding-bottom: 24px;
    gap: 10px;
  }

  .case-meta {
    padding-bottom: 10px;
  }

  .case-num {
    font-size: 26px;
  }

  .case-title {
    font-size: clamp(27px, 8vw, 40px);
    max-width: 16ch;
  }

  .case-dek {
    font-size: 12.5px;
    max-width: 38ch;
  }

  .case-tags {
    display: none;
  }

  .case-link {
    font-size: 10px;
  }

  .more {
    padding-top: 80px;
  }

  .more-grid {
    grid-template-columns: 1fr;
  }

  .mini-case {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mini-case figure {
    aspect-ratio: 16 / 9;
  }

  .results-word {
    font-size: clamp(64px, 22vw, 120px);
    line-height: 0.82;
  }

  .results-sub {
    font-size: 13px;
  }

  .record-card {
    padding: 20px;
    gap: 26px;
  }

  .record-quote {
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .record-bottom {
    align-items: flex-start;
    gap: 18px;
  }

  .record-stat b {
    font-size: 24px;
  }

  .record-stat:nth-last-child(2) {
    display: none;
  }

  .about {
    padding-top: 80px;
  }

  .about-statement {
    font-size: clamp(34px, 10.5vw, 54px);
    max-width: 16ch;
  }

  .about-prose p {
    font-size: 14px;
  }

  .about-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .focus-list li {
    grid-template-columns: 24px minmax(90px, 0.5fr) minmax(0, 1fr);
    gap: 10px;
  }

  .focus-list b {
    font-size: 13px;
  }

  .focus-list li > span:last-child {
    font-size: 11.5px;
  }

  .cta {
    height: 185vh;
  }

  .cta-title {
    font-size: clamp(48px, 13.5vw, 74px);
  }

  .cta-copy {
    font-size: 13px;
  }

  .cta-row {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: 11px;
  }

  .cta-bottom {
    display: grid;
    justify-items: center;
    gap: 6px;
    font-size: 8px;
  }

  .footer-cols {
    gap: 24px;
  }

  .footer-wordmark {
    font-size: clamp(48px, 16vw, 86px);
  }

  .footer-col a,
  .footer-col span {
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 10px;
  }

  .dock {
    gap: 8px;
  }

  .dock-index,
  .dock-cta img {
    display: none;
  }

  .dock a {
    font-size: 10px;
  }

  .dock-cta {
    padding: 9px 12px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }

  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button {
    cursor: auto;
  }
}

/* ------------------------------------------------------- reduced motion v2 */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal-chars] .char,
  .js .hero [data-appear] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .loader-frame {
    transition: none;
  }

  .loader-square {
    transition: opacity 0.3s;
  }

  .loader-square.is-shrinking {
    transform: scale(0.045);
  }

  .cta-floater {
    opacity: 0.45;
  }

  .hero-arrow path,
  .hero-foot-arrow,
  .status-pill {
    animation: none;
  }
}

/* no-js: keep every word visible */
.no-js [data-reveal-chars] .char,
.no-js .hero [data-appear] {
  opacity: 1;
  transform: none;
}

.no-js .char-mask {
  overflow: visible;
}

.no-js .loader {
  display: none;
}

/* cursor link state + Lenis integration */
.cursor[data-state="link"] {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ==========================================================================
   EDITORIAL SUBPAGES — case records, index, about, contact, colophon, 404
   These pages share the homepage shell (topbar, dock, footer) and only add
   the reading layouts below, so all type and colour come from the tokens.
   ========================================================================== */

/* dock clearance: keep the last line of a sticky case above the dock */
.case-body {
  padding-bottom: calc(clamp(34px, 5vh, 64px) + 30px);
}

.footer-bottom {
  padding-bottom: calc(30px + var(--dock-h));
}

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

@media (prefers-reduced-motion: reduce) {
  .focus-statement .c {
    opacity: 1;
  }
}

/* ------------------------------------------------------------- page header */
.page-lead,
.page-head .lead {
  max-width: 54ch;
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--cream-60);
}

.head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.head-meta a {
  color: var(--cream-80);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.head-meta a:hover {
  color: var(--cream);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-cover {
  display: block;
  margin: clamp(30px, 5vw, 64px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.page-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------ page section */
.page-section {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(44px, 6.5vh, 82px) var(--pad);
  border-top: 1px solid var(--line);
}

.page-section--flush {
  border-top: 0;
}

.page-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-section-head h2 {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.032em;
  max-width: 24ch;
}

.page-section-head .mono {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 3.6vw, 54px);
}

.page-grid--wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: var(--cream-60);
}

.page-list .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cream-40);
  padding-top: 4px;
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-cards article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--bg);
}

.page-cards h3 {
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-cards p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--cream-60);
}

.page-note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cream-40);
}

.page-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.page-facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
  padding-top: 4px;
}

.page-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cream-80);
}

.page-quote {
  max-width: 30ch;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--cream);
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(18px, 2.4vw, 30px);
}

/* --------------------------------------------------------- project index */
.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1.15fr) minmax(0, 1fr) 104px 120px 34px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream-80);
  transition: background 0.25s var(--ease), padding 0.25s var(--ease);
}

.project-row:hover {
  padding-inline: 12px;
  background: rgba(208, 197, 171, 0.04);
  color: var(--cream);
}

.project-row[hidden] {
  display: none;
}

.project-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cream-40);
}

.project-name {
  display: grid;
  gap: 4px;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
}

.project-name small {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream-40);
  line-height: 1.4;
}

.project-discipline {
  font-size: 13px;
  line-height: 1.45;
  color: var(--cream-60);
}

.project-year {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cream-40);
}

.project-arrow {
  justify-self: end;
  color: var(--cream-40);
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease);
}

.project-row:hover .project-arrow {
  transform: translate(4px, -4px);
  color: var(--cream);
}

.index-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: clamp(26px, 4vw, 44px);
}

/* --------------------------------------------------------- contact + 404 */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.contact-block {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-block h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.contact-list dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
  color: var(--cream-80);
}

.contact-list dd a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.contact-note {
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-40);
}

@media (max-width: 1000px) {
  .page-grid--wide,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 34px minmax(0, 1fr) auto 20px;
    gap: 12px;
  }

  .project-row .status-dot {
    font-size: 9px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .project-discipline,
  .project-year {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-section-head {
    display: grid;
    gap: 8px;
  }

  .page-list li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
  }

  .page-quote {
    max-width: none;
  }

  .contact-list dd {
    text-align: left;
  }
}

/* mobile hero: the intro sits above Voice instead of being squeezed beside it */
@media (max-width: 640px) {
  .hero-row--2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .hero-lead {
    max-width: 34ch;
    font-size: 12.5px;
    line-height: 1.5;
    padding-bottom: 0;
  }

  .hero-row-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------------------------------------------------- scroll photo strip */
.photo-strip {
  padding: clamp(64px, 9vh, 120px) 0 clamp(20px, 4vh, 50px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.photo-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--max);
  margin: 0 auto clamp(20px, 3vw, 38px);
  padding: 0 var(--pad);
}

.photo-strip-head .mono {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
}

.photo-strip-viewport {
  overflow: hidden;
}

.photo-strip-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-inline: var(--pad);
  will-change: transform;
}

.photo-strip-track figure {
  display: grid;
  gap: 8px;
  width: clamp(220px, 26vw, 400px);
  margin: 0;
}

.photo-strip-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.photo-strip-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 0.9s var(--ease-out), filter 0.5s var(--ease);
}

.photo-strip-track figure:hover img {
  transform: scale(1.04);
  filter: grayscale(1) contrast(1.1) brightness(1.05);
}

.photo-strip-track figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* sticky display heading behind the record cards, as in the reference */
.results-head {
  position: sticky;
  top: 0;
  z-index: 0;
}

.record-deck {
  position: relative;
  z-index: 1;
}

/* case media drifts slowly while its card is pinned */
.case-media img {
  transform: scale(1.02);
}

/* images inside the archive open with a mask instead of a plain fade */
.js .mini-case[data-reveal] figure {
  clip-path: inset(14% 0 14% 0);
  transition: clip-path 1.1s var(--ease-out) 0.1s;
}

.js .mini-case[data-reveal].is-in figure {
  clip-path: inset(0 0 0 0);
}

@media (max-width: 820px) {
  .results-head {
    position: relative;
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-strip-track {
    transform: none !important;
  }

  .js .mini-case[data-reveal] figure,
  .js .mini-case[data-reveal].is-in figure {
    clip-path: none;
    transition: none;
  }
}

/* hero settles out of a slow push-in, like the reference's portrait plate */
@keyframes hero-settle {
  from {
    transform: scale(1.16);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-media img {
  animation: hero-settle 3.4s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
    transform: scale(1.06);
  }
}

/* ------------------------------------------------------- portrait collage */
.about-photos {
  position: sticky;
  top: 14vh;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 8px;
  align-content: start;
}

.about-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
}

.about-photo--main {
  grid-row: span 2;
}

.about-photo--main img {
  min-height: 100%;
}

.about-photo--small img {
  aspect-ratio: 1;
}

.about-photo:hover img {
  transform: scale(1.04);
  filter: grayscale(1) contrast(1.1) brightness(1.05);
}

.about-photos figcaption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* portrait gallery on the about page */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portrait-grid figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.portrait-grid .portrait-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.portrait-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
}

.portrait-grid figure:hover img {
  transform: scale(1.04);
  filter: grayscale(1) contrast(1.1) brightness(1.05);
}

.portrait-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-40);
}

@media (max-width: 820px) {
  .about-photos {
    position: relative;
    top: auto;
    grid-template-columns: 1fr 1fr;
  }

  .about-photo--main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-photo--main img {
    aspect-ratio: 4 / 3;
  }

  .portrait-grid {
    grid-template-columns: 1fr;
  }

  .portrait-grid img {
    aspect-ratio: 3 / 2;
  }
}

/* project imagery: app logo instead of a UI mockup */
.page-cover--logo {
  aspect-ratio: 16 / 10;
}

.page-cover--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  background: var(--panel-2);
}

.case-media img[src*="/logos/"],
.mini-case figure img[src*="/logos/"],
.floater img[src*="/logos/"],
.cta-floater img[src*="/logos/"] {
  object-fit: contain;
  padding: 8%;
  background: var(--panel-2);
}
