:root {
  --bg: #ffffff;
  --ink: #0f0f0f;
  --ink-soft: #6b6b6b;
  --ink-faint: #c9c9c9;
  --rule: #ececec;
  --hover: #f6f6f6;
  --accent: #c9622f;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1320px;
}

* { box-sizing: border-box; }

/* CUSTOM CIRCLE CURSOR (activated by JS once the circle is rendered) */
html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button,
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor label,
html.has-cursor [role="button"],
html.has-cursor summary,
html.has-cursor video[controls] {
  cursor: none;
}
.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              height 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              margin 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              opacity 0.2s ease;
  will-change: transform;
}
.cursor-circle.dark {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}
.cursor-circle.hover {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4),
              0 8px 20px -6px rgba(201, 98, 47, 0.45);
}
.cursor-circle.dark.hover {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
              0 8px 20px -6px rgba(201, 98, 47, 0.6);
}
.cursor-circle.hidden { opacity: 0; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; font-weight: 400; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.primary-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.primary-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.primary-nav a:hover { color: var(--ink); }
.nav-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 22px 11px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(201, 98, 47, 0.5);
}

/* HERO */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px 40px 120px;
}
.hero-inner { max-width: 1100px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.hero-title {
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 18ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* SECTION HEAD */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}
.kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.kicker-meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
/* Homepage section labels — larger so they don't get lost */
main > section.work > .section-head > .kicker,
main > section.services > .section-head > .kicker,
main > section.approach > .approach-inner > .kicker,
main > section.cta > .cta-eyebrow {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
main > section.work > .section-head > .kicker-meta,
main > section.services > .section-head > .kicker-meta {
  font-size: 14px;
}
main > section.approach > .approach-inner > .kicker { padding-top: 0; margin-bottom: 8px; }
main > section.cta > .cta-eyebrow::before { width: 8px; height: 8px; }
@media (max-width: 880px) {
  main > section.work > .section-head > .kicker,
  main > section.services > .section-head > .kicker,
  main > section.approach > .approach-inner > .kicker,
  main > section.cta > .cta-eyebrow {
    font-size: 22px;
  }
}

/* WORK / PROJECT BLOCKS */
.work { padding: 40px 0 120px; }
.project-list {
  list-style: none;
  margin: 0;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project-block {
  width: 100%;
}
.block-link {
  position: relative;
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  max-height: 820px;
  overflow: hidden;
  background: #0f0f0f;
  color: #fff;
}
.block-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
  z-index: 1;
}
video.block-img {
  pointer-events: none;
  background: #1a1a1a;
}
.block-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  pointer-events: none;
}
.block-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}
.block-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}
.block-num { font-weight: 500; }
.block-year { opacity: 0.85; }
.block-bottom { max-width: 900px; }
.block-title {
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 16px;
  color: #fff;
}
.block-meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}
.block-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, padding-right 0.25s ease;
}
.block-link:hover .block-img { transform: scale(1.04); }
.block-link:hover::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 28%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.75) 100%);
}
.block-link:hover .block-cta {
  border-color: #fff;
  padding-right: 8px;
}

/* LOCKED / NDA BLOCK */
.project-block.locked .block-link { cursor: not-allowed; }
.project-block.locked .block-img { filter: grayscale(1) brightness(0.7); }
.project-block.locked .block-link:hover .block-img { transform: none; }
.project-block.locked .block-link:hover::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
}
.locked-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.project-block.locked .block-link:hover .locked-cta {
  padding-right: 14px;
  border-color: rgba(255, 255, 255, 0.55);
}
.locked-cta svg { flex-shrink: 0; }

/* APPROACH */
.approach {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #fafafa;
}
.approach-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.approach .kicker { padding-top: 14px; }
.approach-statement {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0;
  max-width: 24ch;
}
.approach-statement em {
  font-style: italic;
  color: var(--accent);
}

/* APPROACH: content + about (photo + bio) */
.approach-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.approach-about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.approach-photo {
  margin: 0;
  width: 100%;
}
.approach-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
  display: block;
  background: #eee;
}
.approach-photo-cap {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}
.approach-photo-cap span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.approach-bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
}
.approach-bio-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.approach-bio-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink-soft);
  display: inline-block;
}
.approach-bio p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.approach-bio p.approach-bio-lede {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 400;
}
.approach-bio p.approach-bio-lede + p { margin-top: 2px; }
.approach-bio em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
@media (max-width: 880px) {
  .approach-about {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }
  .approach-photo img { max-width: 240px; }
  .approach-content { gap: 32px; }
  .approach-bio-lede { font-size: 19px; }
  .approach-bio p { font-size: 15px; }
}

/* SERVICES */
.services {
  padding: 40px 0 120px;
}
.services-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.service {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.service-num {
  display: block;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.service h4 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.service p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* CTA */
.cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 160px 40px 180px;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.cta-eyebrow {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.cta-title {
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 48px;
}
.cta-title em {
  font-style: italic;
  font-weight: 400;
}
.cta-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.cta-link:hover { opacity: 0.6; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 60px 0 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px;
}
.footer-tag {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
}
.footer-links a {
  font-size: 14px;
  transition: opacity 0.2s ease;
}
.footer-links a:hover { opacity: 0.6; }
.footer-meta {
  text-align: right;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-meta p { margin: 0 0 8px; }
.to-top {
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* PASSCODE GATE (Twilio) ───────────────────────────────── */
html.gate-locked { overflow: hidden; }
html.gate-locked body { overflow: hidden; }
.passcode-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse at 50% 30%, rgba(30, 30, 32, 0.98) 0%, rgba(10, 10, 12, 0.99) 65%, rgba(0, 0, 0, 1) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.55s ease;
}
.passcode-gate.unlocked { opacity: 0; pointer-events: none; }
.passcode-inner {
  max-width: 440px;
  width: 100%;
  text-align: center;
  padding: 44px 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.passcode-lock {
  color: var(--accent);
  margin: 0 auto 20px;
  display: block;
}
.passcode-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
  font-weight: 500;
}
.passcode-inner h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #fff;
}
.passcode-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 26px;
  max-width: 320px;
}
.passcode-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.passcode-form input {
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: 0.5em;
  text-align: center;
  padding: 14px 18px 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.passcode-form input::placeholder { color: rgba(255, 255, 255, 0.25); }
.passcode-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}
.passcode-form button {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 12px 22px;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.passcode-form button:hover {
  background: #d97540;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(201, 98, 47, 0.6);
}
.passcode-error {
  font-size: 12px;
  color: #f6a488;
  margin: 0 0 14px;
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.passcode-error.show { opacity: 1; }
.passcode-back {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.passcode-back:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.passcode-inner.shake { animation: passcode-shake 0.42s ease; }
@keyframes passcode-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Role bullets (project detail lists) */
.role-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-list li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* Locked+passcode variant on the homepage tile */
.project-block.locked.passcode a.block-link {
  cursor: pointer;
}
.project-block.locked.passcode a.block-link:hover .block-img {
  filter: grayscale(0.6) brightness(0.85);
}

/* WALKTHROUGH MODE (PUMA Signal, SCAD Flow) ─────────────── */
body.walkthrough .proj-secondary-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 90vh;
  padding: 100px 56px;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
}
body.walkthrough .proj-secondary-image::before {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  top: 32px;
  height: 1px;
  background: var(--rule);
}
body.walkthrough .proj-secondary-image img {
  order: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.18), 0 6px 14px rgba(0, 0, 0, 0.04);
  background: #f4f4f4;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.walkthrough .proj-secondary-image:hover img { transform: translateY(-4px); }
body.walkthrough .proj-secondary-image .img-cap {
  order: 1;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  position: sticky;
  top: 120px;
}
body.walkthrough .proj-secondary-image .img-cap strong {
  display: block;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 22px;
  font-style: normal;
}
body.walkthrough .proj-secondary-image:nth-of-type(even) img { order: 1; }
body.walkthrough .proj-secondary-image:nth-of-type(even) .img-cap { order: 2; }

@media (max-width: 980px) {
  body.walkthrough .proj-secondary-image {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 60px 24px;
  }
  body.walkthrough .proj-secondary-image::before {
    left: 24px;
    right: 24px;
  }
  body.walkthrough .proj-secondary-image img,
  body.walkthrough .proj-secondary-image:nth-of-type(even) img { order: 1; }
  body.walkthrough .proj-secondary-image .img-cap,
  body.walkthrough .proj-secondary-image:nth-of-type(even) .img-cap {
    order: 2;
    position: static;
  }
  body.walkthrough .proj-secondary-image .img-cap strong {
    font-size: clamp(26px, 5vw, 36px);
  }
}

/* UP NEXT REVEAL ANIMATION ──────────────────────────────── */
.proj-next {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: padding 1s cubic-bezier(0.2, 0.7, 0.2, 1),
              min-height 1s cubic-bezier(0.2, 0.7, 0.2, 1),
              background-color 0.7s ease;
  min-height: 200px;
  isolation: isolate;
}
.proj-next::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--next-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -1;
}
.proj-next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 35%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -1;
}
.proj-next.in-view {
  min-height: 72vh;
  padding-top: 14vh;
  padding-bottom: 12vh;
}
.proj-next.in-view::before { opacity: 0.55; transform: scale(1); }
.proj-next.in-view::after { opacity: 1; }
.proj-next .kicker,
.proj-next .next-link {
  position: relative;
  z-index: 1;
}
.proj-next .next-link h3 {
  transition: font-size 1s cubic-bezier(0.2, 0.7, 0.2, 1),
              letter-spacing 0.8s ease,
              color 0.6s ease;
}
.proj-next.in-view .next-link h3 {
  font-size: clamp(64px, 10vw, 160px);
  letter-spacing: -0.035em;
}
.proj-next.in-view .next-link span {
  transform: translateX(0);
}

/* PROJECT DETAIL */
.project-detail { padding-bottom: 80px; }
.proj-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 40px 32px;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 60px;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--ink); }
.proj-eyebrow {
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}
.proj-display {
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 24px;
  max-width: 16ch;
}
.proj-tagline {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 0 60px;
  font-weight: 400;
}
.proj-tagline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.proj-section-title em,
.proj-section-body p em,
.proj-body p em,
.lede em,
.pull-quote blockquote em,
.img-cap em,
.cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.proj-credits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.proj-credits > div { display: flex; flex-direction: column; gap: 8px; }
.proj-credits dt {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.proj-credits dd {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.proj-hero-image,
.proj-secondary-image {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.proj-hero-image img,
.proj-secondary-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.proj-secondary-image { padding-top: 80px; }
.proj-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 40px 56px;
}
.proj-body-inner {
  max-width: 720px;
  margin-left: 200px;
}
.proj-body .kicker {
  display: block;
  margin-bottom: 24px;
  color: var(--ink-soft);
}
.proj-body .lede {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.proj-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.proj-stats {
  background: #fafafa;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proj-stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 22ch;
}
.proj-quote {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}
.proj-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  font-style: normal;
  letter-spacing: 0.02em;
}
.proj-tools {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 40px 20px;
}
.proj-tools-inner {
  max-width: 720px;
  margin-left: 200px;
}
.proj-tools .kicker {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.proj-tools p {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}

/* GENERIC DETAIL SECTIONS */
.proj-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 40px;
}
.proj-section.alt {
  background: #fafafa;
  max-width: 100%;
  margin: 0;
  padding: 72px 0;
}
.proj-section.alt .proj-section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.proj-section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 32px;
  align-items: start;
}
.proj-section-head .kicker { padding-top: 8px; }
.proj-section-title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.proj-section-body {
  max-width: 720px;
}
.proj-section-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.proj-section-body p:last-child { margin-bottom: 0; }
.proj-section-body p strong { color: var(--ink); font-weight: 500; }

/* IMAGE GALLERIES */
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  gap: 24px;
}
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #f4f4f4;
}
.gallery figure { margin: 0; }
.gallery figure.tall img { aspect-ratio: 3/4; }
.gallery figure.wide img { aspect-ratio: 16/9; }
.gallery figure.square img { aspect-ratio: 1/1; }

/* PERSONAS */
.persona-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.persona-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.persona-img {
  aspect-ratio: 3/4;
  background: #f4f4f4;
  overflow: hidden;
}
.persona-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.persona-body {
  padding: 24px 22px 28px;
}
.persona-tag {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.persona-card h4 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.persona-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* PULL QUOTES */
.pull-quote {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}
.pull-quote blockquote {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin: 0 auto;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* BRAND-MARK ANIMATION (fills the gap between hero credits and hero image) */
.brand-mark-feature {
  max-width: 560px;
  margin: 8px auto 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: transparent;
}
@media (max-width: 980px) {
  .brand-mark-feature { margin: 4px auto 0; padding: 0 24px; max-width: 420px; }
}

/* FEATURED VIDEO ON DETAIL PAGES */
.proj-video-feature {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 40px;
}
.proj-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.proj-video-feature .img-cap {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 0 40px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.proj-video-feature .img-cap strong { color: var(--ink); font-weight: 500; }

/* SCOPE LIST (numbered scope items) */
.scope-list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.scope-list li {
  border-top: 1px solid var(--ink);
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scope-num {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.scope-list h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.scope-list p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* CONCEPT vs FINAL COMPARE */
.gallery.compare figure { position: relative; }
.compare-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.compare-tag {
  display: inline-block;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
}

/* IMAGE CAPTIONS for proj-secondary-image */
.proj-secondary-image figcaption.img-cap {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 0 40px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.proj-secondary-image figcaption.img-cap strong {
  color: var(--ink);
  font-weight: 500;
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 980px) {
  .proj-section { padding: 60px 24px; }
  .proj-section.alt { padding: 60px 0; }
  .proj-section.alt .proj-section-inner { padding: 0 24px; }
  .proj-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .gallery { padding: 24px; gap: 16px; }
  .gallery-3, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .persona-grid {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pull-quote { padding: 60px 24px; }
  .scope-list {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 24px;
  }
  .proj-secondary-image figcaption.img-cap {
    padding: 0 24px;
  }
}
.proj-next .kicker {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.next-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0;
  transition: padding 0.3s ease;
}
.next-link h3 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}
.next-link span {
  font-size: 28px;
  color: var(--ink-faint);
  transition: color 0.25s ease, transform 0.25s ease;
}
.next-link:hover span {
  color: var(--ink);
  transform: translateX(8px);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .header-inner { padding: 18px 24px; grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { padding: 80px 24px 80px; }
  .section-head { padding: 0 24px 20px; }
  .project-list { padding: 0; gap: 16px; }
  .block-link {
    height: 64vh;
    min-height: 420px;
  }
  .block-overlay { padding: 28px 24px; }
  .block-top { font-size: 11px; }
  .block-meta { margin-bottom: 20px; font-size: 13px; }
  .locked-cta { font-size: 10px; padding: 6px 10px 6px 8px; }
  .approach-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 80px 24px;
  }
  .services-grid {
    padding: 24px 24px 0;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .cta { padding: 100px 24px 120px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-meta { text-align: left; }
  .proj-hero { padding: 40px 24px; }
  .back-link { margin-bottom: 40px; }
  .proj-tagline { margin-bottom: 40px; }
  .proj-credits {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .proj-hero-image,
  .proj-secondary-image { padding: 0 24px; }
  .proj-body { padding: 60px 24px; }
  .proj-body-inner { margin-left: 0; }
  .proj-stats-inner {
    padding: 40px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .proj-tools { padding: 40px 24px 0; }
  .proj-tools-inner { margin-left: 0; }
  .proj-next { padding: 60px 24px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
