@property --scroll-progress {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}

:root {
  color-scheme: dark;
  --black: #070707;
  --ink: #f4f0e8;
  --muted: rgba(244, 240, 232, 0.68);
  --faint: rgba(244, 240, 232, 0.16);
  --line: rgba(244, 240, 232, 0.22);
  --panel: rgba(14, 15, 16, 0.72);
  --glass: rgba(255, 255, 255, 0.06);
  --amber: #c2a77f;
  --cyan: #cbd8d5;
  --green: #7fbf9e;
  --green-soft: rgba(127, 191, 158, 0.16);
  --red: #9f615c;
  --max: 1480px;
  --pad: clamp(18px, 3vw, 48px);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 80% 5%, rgba(194, 167, 127, 0.1), transparent 28rem),
    var(--black);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    460px circle at var(--pointer-x, 50vw) var(--pointer-y, 50vh),
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.025) 32%,
    transparent 70%
  );
  transition: opacity 220ms ease;
}

body.has-pointer::before {
  opacity: 1;
}

body.is-loaded .loader {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

body.is-coming-soon {
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}

body.is-coming-soon::before {
  display: none;
}

body.is-coming-soon .loader,
body.is-coming-soon .grain,
body.is-coming-soon .progress,
body.is-coming-soon .cursor-orb,
body.is-coming-soon .scroll-backdrops,
body.is-coming-soon .tracking-markers,
body.is-coming-soon .site-header,
body.is-coming-soon main,
body.is-coming-soon .footer,
body.is-coming-soon .project-dialog {
  display: none;
}

.coming-soon {
  display: none;
}

body.is-coming-soon .coming-soon {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 32px;
}

.coming-soon__logo {
  display: block;
  width: clamp(112px, 16vw, 190px);
  height: auto;
  filter: invert(1);
}

.coming-soon h1 {
  margin: 0;
  color: rgba(244, 240, 232, 0.78);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
}

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

button,
input {
  font: inherit;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.1), transparent 18rem),
    var(--black);
  color: var(--ink);
  transition: opacity 700ms ease, transform 700ms ease;
}

.loader__mark {
  width: clamp(92px, 13vw, 152px);
  aspect-ratio: 1;
  animation: loaderPulse 1200ms ease-in-out infinite alternate;
}

.loader__word {
  color: rgba(244, 240, 232, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.millwood-logo {
  display: block;
  object-fit: contain;
  filter: invert(1);
}

.millwood-logo--loader {
  width: 100%;
  height: 100%;
  filter: invert(1) drop-shadow(0 22px 60px rgba(244, 240, 232, 0.16));
}

.millwood-logo--header {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: invert(1) drop-shadow(0 10px 24px rgba(244, 240, 232, 0.12));
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  width: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--red));
}

.cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: -11px 0 0 -11px;
  border: 1px solid rgba(244, 240, 232, 0.72);
  border-radius: 50%;
  color: var(--black);
  background: rgba(244, 240, 232, 0.08);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 170ms ease, height 170ms ease, margin 170ms ease, opacity 170ms ease, background 170ms ease;
}

.has-pointer .cursor-orb {
  opacity: 1;
}

.cursor-orb.is-active {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(244, 240, 232, 0.82);
  mix-blend-mode: normal;
}

.cursor-orb span {
  max-width: 58px;
  overflow: hidden;
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

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

.scroll-backdrops {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1200px;
  background: var(--black);
}

.scroll-bg {
  position: absolute;
  inset: -7vh 0;
  margin: 0;
  opacity: 0;
  transform: perspective(1200px) rotateX(var(--backdrop-tilt, 0deg)) translate3d(0, var(--backdrop-shift, 0px), var(--backdrop-depth, 0px)) scale(1.09);
  transition: opacity 900ms ease, transform 180ms linear;
  will-change: opacity, transform;
}

.scroll-bg::before,
.scroll-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.scroll-bg::before {
  opacity: 0.66;
  background-image: var(--backdrop-image);
  background-position: var(--backdrop-position, center);
  background-size: cover;
  filter: grayscale(1) contrast(1.1);
}

.scroll-bg::after {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(7, 7, 7, 0.78), rgba(7, 7, 7, 0.36) 46%, rgba(7, 7, 7, 0.64)),
    linear-gradient(0deg, rgba(7, 7, 7, 0.92), transparent 24%, transparent 72%, rgba(7, 7, 7, 0.84));
}

.scroll-bg.is-active {
  opacity: 1;
}

.tracking-markers {
  position: fixed;
  inset: -10vh -4vw;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1000px;
}

.tracking-marker-layer {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  transform: translate3d(0, var(--marker-shift, 0px), 0);
  transition: transform 140ms linear;
  will-change: transform;
}

.tracking-marker-layer--far {
  filter: blur(0.2px);
}

.tracking-marker-layer--near {
  transform: translate3d(0, var(--marker-shift, 0px), 72px) scale(1.04);
}

.tracking-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  color: rgba(0, 0, 0, 0.38);
  font-size: 17px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  user-select: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto minmax(145px, 1fr);
  align-items: start;
  gap: 20px;
  padding: 22px var(--pad);
  color: var(--ink);
  transition: background 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  background: rgba(7, 7, 7, 0.62);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  grid-column: 2;
  gap: 12px;
  min-width: min(44vw, 360px);
  font-family: var(--serif);
  font-size: clamp(16px, 1.55vw, 24px);
}

.nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  color: rgba(244, 240, 232, 0.82);
  font-family: var(--serif);
  font-size: 15px;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 86svh;
  display: grid;
  align-items: center;
  padding: 142px var(--pad) 60px;
  overflow: clip;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.04) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  animation: heroDrift 22s ease-in-out infinite alternate;
  transition: transform 160ms ease-out;
}

.hero__veil {
  z-index: -1;
  background:
    radial-gradient(circle at 68% 45%, rgba(255, 255, 255, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(7, 7, 7, 0.86), rgba(7, 7, 7, 0.18) 54%, rgba(7, 7, 7, 0.56)),
    linear-gradient(0deg, var(--black) 0%, transparent 34%, rgba(7, 7, 7, 0.32) 100%);
}

.hero__content {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow,
.kicker,
.section__label {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(54px, 9.6vw, 138px);
  line-height: 0.88;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 900;
}

h2 {
  font-size: clamp(38px, 7vw, 106px);
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.hero__dek {
  max-width: 650px;
  color: rgba(244, 240, 232, 0.8);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 29px);
  font-style: italic;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.button::before,
.filter::before,
.service::before,
.person::before,
.stat::before,
.impact-total::before,
.impact-tile::before,
.project-row::after,
.representation__panel::before,
.spotlight::after,
.studio-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    180px circle at var(--local-x, 50%) var(--local-y, 50%),
    rgba(127, 191, 158, 0.18),
    rgba(255, 255, 255, 0.09) 34%,
    transparent 60%
  );
  transition: opacity 180ms ease;
}

.button:hover::before,
.filter:hover::before,
.service:hover::before,
.person:hover::before,
.stat:hover::before,
.impact-total:hover::before,
.impact-tile:hover::before,
.impact-tile:focus-visible::before,
.project-row:hover::after,
.representation__panel:hover::before,
.spotlight:hover::after,
.studio-logo:hover::before {
  opacity: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(127, 191, 158, 0.58);
  background: linear-gradient(160deg, rgba(127, 191, 158, 0.16), rgba(255, 255, 255, 0.08));
}

.button--primary {
  color: var(--black);
  border-color: var(--ink);
  background: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.button--ghost {
  backdrop-filter: blur(12px);
}

.hero__caption {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(244, 240, 232, 0.66);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timecode {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 40px;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.ticker span {
  color: rgba(244, 240, 232, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 170px) var(--pad);
  scroll-margin-top: 128px;
}

.section--intro {
  padding-top: clamp(96px, 11vw, 150px);
}

.intro-grid,
.section-head,
.representation__panel,
.work-top {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.74fr);
  gap: clamp(28px, 6vw, 92px);
}

.intro-copy,
.section-head p,
.work-top p,
.representation p {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

blockquote {
  margin: 42px 0 0;
  padding-left: 24px;
  border-left: 1px solid var(--amber);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 46px);
  font-style: italic;
  line-height: 1.05;
}

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

.stat {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.stat:hover {
  background: linear-gradient(160deg, rgba(127, 191, 158, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 48px rgba(127, 191, 158, 0.08);
  transform: translateY(-3px);
}

.stat strong {
  display: block;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1;
}

.stat span {
  display: block;
  max-width: 200px;
  margin-top: 12px;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.service,
.person {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
  backdrop-filter: blur(20px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service:hover,
.person:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 191, 158, 0.48);
  background: linear-gradient(160deg, rgba(127, 191, 158, 0.15), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 48px rgba(127, 191, 158, 0.08);
}

.service {
  min-height: 220px;
  padding: 24px;
}

.service p,
.person p {
  color: var(--muted);
}

.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 42px;
}

.person {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(132px, 190px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 3vw, 30px);
}

.person__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.person__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.88) contrast(1.05);
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
}

.person__copy {
  display: grid;
  align-content: center;
}

.person:hover .person__image img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.06);
}

.person__role {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.person a {
  width: fit-content;
  margin-top: 10px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.impact-section {
  width: 100%;
  max-width: none;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.015);
}

.impact-grid,
.impact-visual {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(560px, 1.42fr);
  gap: clamp(28px, 4vw, 64px);
}

.impact-grid p,
.impact-note {
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
}

.impact-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
}

.impact-totals[data-reveal].is-visible {
  transform: none;
}

.impact-total {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.impact-total[data-reveal] {
  transition-delay: var(--settle-delay, 0ms);
}

.impact-total--detail {
  overflow: visible;
  z-index: 1;
}

.impact-total--detail:hover,
.impact-total--detail:focus-within {
  z-index: 90;
}

.impact-total:hover,
.impact-total:focus-within {
  transform: translateY(-4px);
  border-color: rgba(127, 191, 158, 0.5);
  background: linear-gradient(160deg, rgba(127, 191, 158, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 48px rgba(127, 191, 158, 0.08);
}

.impact-total--detail[data-reveal].is-visible,
.impact-total--detail:hover,
.impact-total--detail:focus-within {
  transform: none;
}

.impact-total__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.impact-total__value {
  display: block;
  font-size: clamp(22px, 2.18vw, 38px);
  line-height: 0.9;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.impact-total__label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-transform: uppercase;
}

.metric-visual {
  position: relative;
  z-index: 2;
  display: block;
  width: 52px;
  height: 52px;
  opacity: 0;
  transform: translate3d(10px, 0, 0) scale(0.92);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
  transition-delay: calc(var(--settle-delay, 0ms) + 170ms);
  pointer-events: none;
}

.impact-total.is-visible .metric-visual {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.impact-total.is-visible:hover .metric-visual,
.impact-total.is-visible:focus-within .metric-visual {
  filter: drop-shadow(0 0 16px rgba(127, 191, 158, 0.36));
  transform: translate3d(0, -1px, 0) scale(1.05);
}

.metric-visual--budget-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}

.metric-visual--budget-bars span {
  width: 6px;
  height: var(--h, 24px);
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, rgba(244, 240, 232, 0.95), rgba(127, 191, 158, 0.72));
  box-shadow: 0 0 16px rgba(127, 191, 158, 0.16);
  transform: scaleY(0.18);
  transform-origin: bottom;
}

.impact-total.is-visible .metric-visual--budget-bars span {
  animation: budgetBars 900ms cubic-bezier(0.18, 0.78, 0.24, 1) both;
  animation-delay: calc(var(--settle-delay, 0ms) + var(--d, 0ms));
}

.metric-visual--filmstrip {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  border-block: 1px solid rgba(244, 240, 232, 0.34);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.metric-visual--filmstrip::before,
.metric-visual--filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(244, 240, 232, 0.7) 0 3px, transparent 3px 7px);
}

.metric-visual--filmstrip::before {
  top: 10px;
}

.metric-visual--filmstrip::after {
  bottom: 10px;
}

.metric-visual--filmstrip span {
  flex: 0 0 13px;
  height: 24px;
  border: 1px solid rgba(244, 240, 232, 0.24);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(127, 191, 158, 0.58), rgba(244, 240, 232, 0.08));
  opacity: 0.12;
  transform: translateX(-30px);
}

.impact-total.is-visible .metric-visual--filmstrip span {
  animation: filmFill 1050ms ease both;
  animation-delay: calc(var(--settle-delay, 0ms) + var(--d, 0ms));
}

.metric-visual--globe {
  border: 1px solid rgba(244, 240, 232, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(244, 240, 232, 0.72), transparent 15%),
    radial-gradient(circle at 60% 58%, rgba(127, 191, 158, 0.36), transparent 31%),
    linear-gradient(120deg, rgba(244, 240, 232, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: inset -12px -8px 22px rgba(0, 0, 0, 0.4), 0 0 22px rgba(127, 191, 158, 0.12);
  overflow: hidden;
}

.metric-visual--globe::before {
  content: "";
  position: absolute;
  inset: 10px 3px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 50%;
}

.metric-visual--globe span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(127, 191, 158, 0.85);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.impact-total.is-visible .metric-visual--globe span {
  animation: globePin 1100ms ease both;
  animation-delay: calc(var(--settle-delay, 0ms) + var(--d, 0ms));
}

.impact-total:hover .metric-visual--globe span,
.impact-total:focus-within .metric-visual--globe span {
  animation: globePulse 1200ms ease infinite;
  animation-delay: var(--d, 0ms);
}

.metric-visual--frames {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 7px;
}

.metric-visual--frames::after {
  content: "";
  position: absolute;
  inset: 13px 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(244, 240, 232, 0.72), rgba(127, 191, 158, 0.2) 44%, rgba(7, 7, 7, 0.2));
  opacity: 0;
  transform: scale(0.7);
}

.impact-total.is-visible .metric-visual--frames::after {
  animation: frameResolve 900ms ease both;
  animation-delay: calc(var(--settle-delay, 0ms) + 620ms);
}

.metric-visual--frames span {
  border: 1px solid rgba(244, 240, 232, 0.2);
  border-radius: 2px;
  background: rgba(244, 240, 232, 0.12);
  opacity: 0;
  transform: translate3d(var(--dx, 0), -24px, 0) scale(0.56);
}

.impact-total.is-visible .metric-visual--frames span {
  animation: frameCascade 740ms ease both;
  animation-delay: calc(var(--settle-delay, 0ms) + var(--d, 0ms));
}

.metric-visual--pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.metric-visual--pulse span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(127, 191, 158, 0.84);
  opacity: 0;
  transform: scale(0.4);
}

.impact-total.is-visible .metric-visual--pulse span {
  animation: pulseSettle 900ms ease both;
  animation-delay: calc(var(--settle-delay, 0ms) + var(--d, 0ms));
}

.impact-detail-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 120;
  width: min(520px, 74vw);
  overflow: visible;
  border: 1px solid rgba(127, 191, 158, 0.34);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: rgba(12, 13, 12, 0.94);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translate3d(0, -8px, 0) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  backdrop-filter: blur(18px);
}

.impact-detail-panel--directors,
.impact-detail-panel--map {
  position: fixed;
  inset: auto;
  left: 50%;
  top: 50%;
  right: auto;
  width: min(1120px, calc(100vw - 46px));
  transform: translate3d(-50%, calc(-50% - 10px), 0) scale(0.98);
}

.impact-detail-panel--directors {
  padding: 16px;
}

.impact-detail-panel--stat {
  width: min(310px, 72vw);
}

.impact-detail-panel--stat p {
  margin: 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.impact-detail-panel--map {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: min(1180px, calc(100vw - 38px));
  height: min(680px, calc(100vh - 56px));
  padding: 16px;
}

.impact-total:hover .impact-detail-panel,
.impact-total:focus-within .impact-detail-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.impact-total:hover .impact-detail-panel--directors,
.impact-total:focus-within .impact-detail-panel--directors,
.impact-total:hover .impact-detail-panel--map,
.impact-total:focus-within .impact-detail-panel--map {
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.impact-detail-panel__title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.director-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.director-mini {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 31px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 6px;
  padding: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.director-mini:hover,
.director-mini:focus-visible {
  border-color: rgba(127, 191, 158, 0.5);
  background: rgba(127, 191, 158, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.director-mini__photo {
  display: block;
  width: 27px;
  height: 27px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

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

.director-mini__photo--fallback {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.director-mini span:last-child {
  overflow: hidden;
  color: rgba(244, 240, 232, 0.86);
  font-size: 9.2px;
  font-weight: 800;
  line-height: 1.05;
  text-align: left;
  text-overflow: ellipsis;
}

.map-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.map-panel__head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.world-map {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 240, 232, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 52% 52%, rgba(127, 191, 158, 0.17), transparent 38%),
    linear-gradient(145deg, rgba(244, 240, 232, 0.075), rgba(7, 7, 7, 0.52));
  background-size: 8.33% 100%, 100% 16.66%, auto, auto;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.34);
}

.world-map::before,
.world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.world-map::before {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(244, 240, 232, 0.16) 50%, transparent 50.2%),
    linear-gradient(180deg, transparent 49.8%, rgba(244, 240, 232, 0.16) 50%, transparent 50.2%);
}

.world-map::after {
  background: radial-gradient(circle at 50% 50%, rgba(127, 191, 158, 0.12), transparent 24%);
  mix-blend-mode: screen;
}

.world-map__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(244, 240, 232, 0.08));
  opacity: 1;
  pointer-events: none;
}

.map-location {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(244, 240, 232, 0.72);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(127, 191, 158, 0.12), 0 0 24px rgba(127, 191, 158, 0.72);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.impact-total.is-visible .map-location {
  animation: globePin 900ms ease both;
  animation-delay: var(--d, 0ms);
}

.map-location span {
  position: absolute;
  left: 12px;
  top: 50%;
  max-width: 120px;
  border: 1px solid rgba(127, 191, 158, 0.22);
  border-radius: 999px;
  padding: 3px 7px;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.72);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.map-location:hover span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.map-legend span {
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: 999px;
  padding: 5px 7px;
  color: rgba(244, 240, 232, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.impact-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  grid-template-areas: "mosaic logos";
  gap: 16px;
  margin-top: 34px;
}

.impact-mosaic {
  grid-area: mosaic;
  display: flex;
  min-height: 390px;
  align-items: flex-end;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
    rgba(255, 255, 255, 0.035);
}

.impact-tile {
  position: relative;
  flex: 1 1 0;
  min-width: 28px;
  height: var(--tile-height, 44%);
  border: 0;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: flex 260ms ease, transform 260ms ease, filter 260ms ease;
}

.impact-tile:hover,
.impact-tile:focus-visible {
  flex: 3 1 0;
  transform: translateY(-10px);
  outline: 1px solid rgba(127, 191, 158, 0.54);
  box-shadow: 0 20px 52px rgba(127, 191, 158, 0.13);
}

.impact-tile img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
}

.impact-tile.is-title-only {
  background:
    linear-gradient(160deg, rgba(127, 191, 158, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.impact-tile span {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 8px;
  opacity: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  transition: opacity 180ms ease;
}

.impact-tile:hover span,
.impact-tile:focus-visible span {
  opacity: 1;
}

.impact-logo-panel {
  position: relative;
  z-index: 4;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.impact-logo-panel {
  grid-area: logos;
}

.impact-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.impact-panel-head h3 {
  margin: 0;
  font-size: 20px;
}

.impact-panel-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.studio-logo-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
}

.studio-logo {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 108px;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, 0.14);
  border-radius: 6px;
  padding: 16px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.studio-logo:hover,
.studio-logo:focus-within {
  z-index: 80;
  transform: translateY(-4px);
  border-color: rgba(127, 191, 158, 0.56);
  background:
    linear-gradient(160deg, rgba(127, 191, 158, 0.22), rgba(244, 240, 232, 0.9)),
    rgba(244, 240, 232, 0.92);
  box-shadow: 0 18px 48px rgba(127, 191, 158, 0.1);
}

.studio-logo > img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 86%;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(1) invert(1) brightness(1.3) contrast(0.95);
  opacity: 0.92;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.studio-logo:hover > img,
.studio-logo:focus-within > img {
  filter: none;
  opacity: 0.18;
  transform: scale(1.04);
}

.studio-logo__count {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.studio-logo:hover .studio-logo__count,
.studio-logo:focus-within .studio-logo__count {
  color: rgba(7, 7, 7, 0.66);
  opacity: 0;
}

.studio-logo__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 120;
  display: grid;
  align-content: center;
  width: min(560px, 74vw);
  border: 1px solid rgba(127, 191, 158, 0.34);
  border-radius: 8px;
  padding: 10px;
  background: rgba(244, 240, 232, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 5px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  backdrop-filter: blur(16px);
}

.studio-logo:hover .studio-logo__panel,
.studio-logo:focus-within .studio-logo__panel {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.studio-title-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.studio-title {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 29px;
  border: 1px solid rgba(7, 7, 7, 0.14);
  border-radius: 5px;
  padding: 3px;
  color: rgba(7, 7, 7, 0.8);
  background: rgba(255, 255, 255, 0.48);
  font: inherit;
  cursor: default;
}

button.studio-title {
  cursor: pointer;
}

.studio-title:hover,
.studio-title:focus-visible {
  color: var(--black);
  border-color: rgba(25, 112, 77, 0.42);
  background: rgba(127, 191, 158, 0.44);
  outline: none;
}

.studio-title__art {
  display: block;
  width: 24px;
  height: 23px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(7, 7, 7, 0.12);
}

.studio-title__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.studio-title__art--fallback {
  display: grid;
  place-items: center;
  color: rgba(7, 7, 7, 0.72);
  font-size: 9px;
  font-weight: 900;
}

.studio-title span:last-child {
  overflow: hidden;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.05;
  text-align: left;
  text-overflow: ellipsis;
}

.impact-note {
  width: min(100%, var(--max));
  margin: 28px auto 0;
  font-size: 13px;
}

.representation {
  width: 100%;
  max-width: none;
  padding-inline: var(--pad);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(118, 209, 216, 0.08), transparent 45%),
    linear-gradient(270deg, rgba(214, 161, 93, 0.11), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.representation__panel {
  position: relative;
  overflow: hidden;
  width: min(100%, var(--max));
  margin: 0 auto;
  border-radius: 8px;
}

.representation__title {
  font-family: var(--serif);
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px 18px;
  margin: 28px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-grid span {
  color: var(--muted);
}

.contact-grid strong {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.work-section {
  max-width: none;
  width: 100%;
}

.work-top,
.work-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.work-tools {
  align-self: end;
}

.search {
  display: grid;
  gap: 8px;
}

.search span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.search input:focus {
  border-color: var(--cyan);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.filter {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.filter:hover,
.filter:focus-visible {
  color: var(--black);
  border-color: var(--green);
  background: var(--green);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 46px;
}

.spotlight {
  position: sticky;
  top: 124px;
  align-self: start;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 7, 7, 0.88)),
    var(--spotlight-bg, linear-gradient(145deg, rgba(118, 209, 216, 0.28), rgba(214, 161, 93, 0.22)));
}

.spotlight::before {
  display: none;
}

.spotlight__art {
  width: min(72%, 240px);
  max-height: 250px;
  margin: 42px 0 24px;
}

.spotlight__art img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 250px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.spotlight__art.has-title-card {
  width: min(72%, 240px);
  max-height: none;
}

.spotlight__number {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(244, 240, 232, 0.5);
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1;
  pointer-events: none;
}

.spotlight__title {
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 0.96;
}

.spotlight__meta {
  margin-top: 12px;
  color: var(--muted);
}

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

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(62px, 92px) minmax(0, 1fr) minmax(120px, 0.22fr) 40px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 88px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease;
}

.project-row::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(127, 191, 158, 0.16), rgba(255, 255, 255, 0.025));
  transition: transform 230ms ease;
}

.project-row:hover::before,
.project-row:focus-visible::before {
  transform: scaleX(1);
}

.project-row:hover {
  transform: translateX(8px);
}

.project-row:hover .project-row__open,
.project-row:focus-visible .project-row__open {
  border-color: rgba(127, 191, 158, 0.58);
  color: var(--green);
  background: rgba(127, 191, 158, 0.1);
}

.project-row__index {
  color: rgba(244, 240, 232, 0.46);
  font-family: var(--serif);
  font-size: 18px;
}

.project-row__thumb {
  display: flex;
  width: 92px;
  min-height: 54px;
  align-items: center;
  justify-content: flex-start;
}

.project-row__thumb--title {
  min-height: 72px;
}

.project-row__thumb img {
  display: block;
  width: auto;
  max-width: 92px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: grayscale(0.25) saturate(0.9) contrast(1.04);
  border: 1px solid rgba(244, 240, 232, 0.16);
  border-radius: 5px;
  transition: filter 250ms ease, transform 450ms ease;
}

.project-row:hover .project-row__thumb img {
  filter: grayscale(0) saturate(1.08) contrast(1.08);
  transform: scale(1.12);
}

.project-title-card {
  display: grid;
  place-items: center;
  width: 100%;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 6px;
  padding: 9px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(127, 191, 158, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.project-title-card--thumb {
  width: 92px;
  min-height: 72px;
}

.project-row:hover .project-title-card--thumb,
.project-row:focus-visible .project-title-card--thumb {
  transform: scale(1.08);
  border-color: rgba(127, 191, 158, 0.58);
  background:
    linear-gradient(160deg, rgba(127, 191, 158, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.project-title-card--spotlight {
  width: min(100%, 240px);
  min-height: 250px;
  padding: 18px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
}

.project-title-card--dialog {
  width: min(240px, 45vw);
  min-height: min(320px, 56vw);
  padding: 20px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
}

.project-title-card--impact {
  position: absolute;
  inset: 8px;
  z-index: 1;
  padding: 7px;
  border-color: rgba(244, 240, 232, 0.14);
  box-shadow: none;
  font-size: 9px;
  line-height: 1.02;
}

.project-row__title {
  display: block;
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 900;
  line-height: 0.98;
}

.project-row__role {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.project-row__meta {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-row__open {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
}

.empty {
  padding: 46px 0;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 34px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.project-dialog {
  width: min(720px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(118, 209, 216, 0.12), transparent 45%),
    #101010;
}

.dialog-art {
  width: fit-content;
  max-width: min(240px, 45vw);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.dialog-art.has-title-card {
  width: fit-content;
}

.dialog-art img {
  display: block;
  width: auto;
  max-width: min(240px, 45vw);
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

.dialog-source {
  display: inline-block;
  margin: 18px 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.dialog-close {
  float: right;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.project-dialog h2 {
  margin: 18px 0 30px;
  font-size: clamp(36px, 7vw, 74px);
}

.project-dialog dl {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
}

.project-dialog dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.project-dialog dt {
  color: var(--muted);
}

.project-dialog dd {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@supports (animation-timeline: view()) {
  .hero__content {
    animation: heroFade linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 72%;
  }
}

@keyframes heroFade {
  to {
    opacity: 0;
    transform: translateY(80px);
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1.1) translate3d(calc(var(--hero-x, 0px) - 1.4%), calc(var(--hero-y, 0px) - 1%), 0);
  }
}

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

@keyframes loaderPulse {
  from {
    opacity: 0.35;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(-6px);
  }
}

@keyframes budgetBars {
  0% {
    opacity: 0.2;
    transform: scaleY(0.18);
  }
  72% {
    opacity: 1;
    transform: scaleY(1.08);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes filmFill {
  0% {
    opacity: 0.08;
    transform: translateX(-30px);
  }
  100% {
    opacity: 0.82;
    transform: translateX(0);
  }
}

@keyframes globePin {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.45);
  }
  100% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes globePulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.86);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

@keyframes frameCascade {
  0% {
    opacity: 0;
    transform: translate3d(var(--dx, 0), -24px, 0) scale(0.56);
  }
  100% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes frameResolve {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes pulseSettle {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  60% {
    opacity: 0.95;
    transform: scale(1.35);
  }
  100% {
    opacity: 0.62;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .brand,
  .nav {
    grid-column: 1;
    min-width: 0;
    width: 100%;
  }

  .brand {
    max-width: none;
  }

  .nav {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .hero {
    min-height: 86svh;
    padding-top: 138px;
  }

  .intro-grid,
  .section-head,
  .representation__panel,
  .impact-grid,
  .impact-visual,
  .work-top,
  .work-layout {
    grid-template-columns: 1fr;
  }

  .stats,
  .services,
  .people {
    grid-template-columns: 1fr;
  }

  .spotlight {
    position: relative;
    top: auto;
    min-height: 270px;
  }

  .project-row {
    grid-template-columns: 38px 70px minmax(0, 1fr) 34px;
  }

  .project-row__meta {
    grid-column: 3 / 4;
  }

  .project-row__open {
    grid-column: 4;
    grid-row: 1;
  }

  .project-row__thumb {
    width: 70px;
    grid-row: 1 / span 2;
  }

  .project-row__thumb img {
    max-width: 70px;
    max-height: 88px;
  }

  .project-title-card--thumb {
    width: 70px;
    min-height: 78px;
    padding: 7px;
    font-size: 8px;
  }

  .impact-mosaic {
    min-height: 330px;
  }

  .impact-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-detail-panel:not(.impact-detail-panel--directors):not(.impact-detail-panel--map) {
    width: min(600px, calc(100vw - 48px));
  }

  .impact-detail-panel--directors,
  .impact-detail-panel--map {
    width: calc(100vw - 28px);
  }

  .impact-detail-panel--directors {
    padding: 10px;
  }

  .impact-detail-panel--map {
    height: calc(100vh - 36px);
    padding: 10px;
  }

  .director-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
  }

  .director-mini {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 25px;
    gap: 4px;
    padding: 2px;
  }

  .director-mini__photo {
    width: 22px;
    height: 22px;
  }

  .director-mini span:last-child {
    font-size: 7.6px;
  }

  .map-legend {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .studio-logo__panel {
    width: min(520px, 88vw);
  }

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

  .impact-visual {
    grid-template-areas:
      "mosaic"
      "logos";
  }

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

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

@media (max-width: 560px) {
  .hero {
    min-height: 84svh;
    padding-bottom: 72px;
  }

  .hero__caption {
    display: grid;
  }

  .hero__actions,
  .filters {
    display: grid;
  }

  .button,
  .filter {
    width: 100%;
  }

  .stat {
    min-height: 120px;
  }

  .person {
    grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .person__image {
    min-height: 168px;
  }

  .person p {
    font-size: 14px;
    line-height: 1.42;
  }

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

  .impact-total {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 88px;
    padding: 10px;
  }

  .impact-total__value {
    font-size: clamp(22px, 8vw, 34px);
  }

  .metric-visual {
    width: 44px;
    height: 44px;
  }

  .impact-detail-panel:not(.impact-detail-panel--directors):not(.impact-detail-panel--map) {
    left: 0;
    right: auto;
    width: min(360px, calc(100vw - 28px));
  }

  .impact-detail-panel--directors,
  .impact-detail-panel--map {
    left: 50%;
    top: 50%;
    width: calc(100vw - 18px);
  }

  .director-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }

  .director-mini {
    grid-template-columns: 16px minmax(0, 1fr);
    min-height: 20px;
    gap: 3px;
    padding: 2px;
  }

  .director-mini__photo {
    width: 16px;
    height: 16px;
  }

  .director-mini span:last-child {
    font-size: 6.5px;
  }

  .map-panel__head {
    display: grid;
    gap: 4px;
  }

  .map-panel__head span {
    text-align: left;
  }

  .map-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .map-legend span {
    font-size: 7px;
    padding: 3px 5px;
  }

  .studio-logo__panel {
    width: min(330px, calc(100vw - 28px));
  }

  .impact-visual {
    margin-top: 24px;
  }

  .impact-panel-head {
    display: grid;
  }

  .studio-logo-grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    min-height: 104px;
    gap: 10px;
  }

  .project-row__title {
    font-size: clamp(22px, 8vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
