:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #111111;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --muted-soft: rgba(255, 255, 255, 0.5);
  --accent: #d7d7d7;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #020202 0%, #060606 28%, #090909 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition:
    background-color 180ms ease,
    padding 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header--scrolled {
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  padding: 0.95rem 2rem;
}

.site-header__brand,
.site-header__nav a,
.eyebrow,
.project__label,
.project__index,
.experience-card__label,
.about-band__item span,
.visual-panel__kicker {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.site-header__brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

.site-header__nav a {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 2rem 2rem;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: -2%;
}

.hero__media {
  overflow: hidden;
  background: #050505;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  filter: saturate(1.05) brightness(0.78) contrast(1.04);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.46) 62%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.38) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__title,
.section-heading h2,
.about-band__copy h2,
.contact-section h2,
.project__text h3,
.experience-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero__title {
  max-width: 12.5ch;
  font-size: clamp(3.2rem, 8.6vw, 8.8rem);
}

.hero__copy {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero__actions,
.contact-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  min-width: 10rem;
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: #ffffff;
  color: #000000;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #ffffff;
}

.intro-band,
.section-heading,
.project,
.experience-grid,
.about-band__inner {
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.home-page .intro-band,
.home-page .section-heading,
.home-page .project,
.home-page .experience-grid,
.home-page .about-band__inner {
  width: min(1540px, calc(100% - 2.5rem));
}

.intro-band {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 4rem 0 5rem;
}

.intro-band__rule {
  height: 1px;
  margin-top: 0.9rem;
  background: var(--line-strong);
}

.intro-band p {
  max-width: 42rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--muted);
}

.section-heading {
  scroll-margin-top: 4rem;
  padding: 1.5rem 0;
}

.section-heading h2,
.about-band__copy h2,
.contact-section h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.section-heading h2,
.contact-section h2 {
  max-width: 100%;
}

.about-band__copy h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  line-height: 1;
  text-wrap: balance;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 38rem);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--line);
}

.project--clickable {
  position: relative;
  transition:
    transform 220ms var(--ease),
    border-color 220ms ease,
    background-color 220ms ease;
}

.project--clickable:hover,
.project--clickable:focus-visible {
  transform: translateY(-0.45rem);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.project--clickable:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0.35rem;
}

.project--clickable:hover .text-link::after,
.project--clickable:focus-visible .text-link::after {
  width: 3.5rem;
}

.project--clickable iframe {
  pointer-events: none;
}

.project__content,
.project__visual,
.experience-card,
.about-band__item {
  min-height: 100%;
}

.project__content {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1rem;
}

.project__index {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.4);
}

.project__label {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.project__text h3 {
  max-width: 24ch;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.project__text > p:not(.project__label) {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.project__tags li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.project__actions {
  margin-top: 1.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.text-link::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  transition: width 180ms var(--ease);
}

.text-link:hover::after {
  width: 3.5rem;
}

.text-link--disabled {
  color: var(--muted-soft);
  cursor: default;
}

.text-link--disabled::after {
  width: 1.5rem;
  opacity: 0.5;
}

.text-link--disabled:hover::after {
  width: 1.5rem;
}

.project__visual {
  display: flex;
  align-items: stretch;
}

.project__visual--grid,
.project__visual--signal,
.project__visual--outline,
.project__visual--image,
.project__visual--embed {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #0d0d0d;
}

.project__visual--image {
  min-height: 25rem;
  overflow: hidden;
}

.project__visual--device {
  min-height: 25rem;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.project-screenshot {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  overflow: hidden;
}

.project-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
  transition: transform 260ms var(--ease);
}

.project__visual--grail .project-screenshot img {
  object-position: 50% 46%;
}

.project__visual--hgaps .project-screenshot {
  aspect-ratio: 16 / 10;
  min-height: 25rem;
}

.project__visual--hgaps .project-screenshot img {
  object-position: center top;
  transform: scale(1.08);
}

.project__visual--enrolld .project-screenshot {
  background: #f4f4f4;
}

.project__visual--enrolld .project-screenshot img {
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.project--clickable:hover .project-screenshot img,
.project--clickable:focus-visible .project-screenshot img {
  transform: scale(1.1);
}

.project--clickable:hover .project__visual--enrolld .project-screenshot img,
.project--clickable:focus-visible .project__visual--enrolld .project-screenshot img {
  transform: scale(1.035);
}

.project__visual--embed {
  min-height: clamp(22rem, 42vw, 34rem);
  overflow: hidden;
}

.project__visual--embed iframe,
.case-feature--embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d0d0d;
}

.visual-panel,
.wireframe-card {
  width: 100%;
  min-height: 25rem;
}

.visual-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 3.5rem 3.5rem, 3.5rem 3.5rem;
}

.visual-panel__kicker {
  font-size: 0.9rem;
  color: var(--muted-soft);
}

.visual-panel strong {
  max-width: 12ch;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.visual-stack {
  width: 100%;
  min-height: 25rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 14rem),
    linear-gradient(180deg, #121212 0%, #090909 100%);
}

.signal-card {
  position: absolute;
  width: 12rem;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.signal-card--one {
  top: 1.25rem;
  left: 1.25rem;
}

.signal-card--two {
  top: 4.5rem;
  right: 2.5rem;
}

.signal-card--three {
  bottom: 1.25rem;
  left: 6.5rem;
}

.wireframe-card {
  position: relative;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.wireframe-card span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 10rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  min-height: calc(100svh - 13rem);
  padding-bottom: 10rem;
  align-content: start;
}

.experience-card {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 45%),
    var(--panel);
}

.experience-card--clickable {
  transition:
    transform 220ms var(--ease),
    border-color 220ms ease,
    background-color 220ms ease;
}

.experience-card--clickable:hover,
.experience-card--clickable:focus-visible {
  transform: translateY(-0.45rem);
  border-color: var(--line-strong);
  background-color: rgba(255, 255, 255, 0.035);
}

.experience-card--clickable:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0.35rem;
}

.experience-card__media {
  height: 12rem;
  margin: -0.35rem -0.35rem 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080808;
}

.experience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 260ms var(--ease);
}

.experience-card__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #075bec;
}

.experience-card__media--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.experience-card__media--cycling img {
  object-position: center 9%;
  transform: scale(1.02);
}

.experience-card__media--instagram img {
  object-position: center 9%;
  transform: scale(1.02);
}

.experience-card--clickable:hover .experience-card__media img,
.experience-card--clickable:focus-visible .experience-card__media img {
  transform: scale(1.06);
}

.experience-card--clickable:hover .experience-card__media--cycling img,
.experience-card--clickable:focus-visible .experience-card__media--cycling img {
  transform: scale(1.08);
}

.experience-card--clickable:hover .experience-card__media--instagram img,
.experience-card--clickable:focus-visible .experience-card__media--instagram img {
  transform: scale(1.08);
}

.experience-card__label {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--muted-soft);
}

.experience-card h3 {
  max-width: 100%;
  font-size: 2.2rem;
}

.experience-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.experience-card strong {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.about-chapter {
  scroll-margin-top: 0;
}

.about-band,
.contact-section {
  min-height: 100svh;
  scroll-snap-align: start;
}

.about-band {
  scroll-margin-top: 2.2rem;
  display: flex;
  align-items: center;
  padding: 0 0 1.25rem;
}

.about-band__inner {
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  align-content: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.about-band__copy p {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.about-band__body {
  margin-top: clamp(0.9rem, 2vh, 1.4rem);
}

.about-band__body--compact {
  display: none;
}

.about-band__list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.about-band__portrait {
  position: relative;
  height: clamp(28rem, 62svh, 38rem);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111111;
}

.about-band__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.85) contrast(1.08) brightness(0.92);
  transform: scale(1.06);
  transform-origin: 50% 52%;
}

.about-band__item {
  padding: 0.75rem 0.9rem;
  background: #0e0e0e;
}

.about-band__item span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted-soft);
}

.about-band__item strong {
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-field-notes__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.about-field-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.field-note {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.field-note__media {
  position: relative;
  height: clamp(9rem, 22vh, 14rem);
  overflow: hidden;
}

.field-note img,
.field-note video {
  width: 100%;
  height: clamp(9rem, 22vh, 14rem);
  object-fit: cover;
  filter: none;
}

.field-note video {
  display: block;
}

.field-note img,
.field-note video {
  object-position: center center;
}

.field-note__media--hands video {
  object-position: left bottom;
}

.field-note figcaption {
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  line-height: 1.2;
}

.field-note figcaption span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 4rem;
}

.contact-section__inner {
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.contact-section__copy {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.copy-email {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.copy-email strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 0.92;
  white-space: nowrap;
  text-transform: uppercase;
  color: #ffffff;
  overflow-wrap: normal;
}

.copy-email span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.copy-email:hover strong,
.copy-email:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.copy-email:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0.35rem;
}

.case-page {
  padding: 8rem 0 6rem;
}

.case-study-page .case-page {
  position: relative;
  padding-top: 0;
}

.case-back {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    color 180ms ease,
    transform 180ms var(--ease);
}

.case-study-page .case-back {
  position: absolute;
  top: 5.35rem;
  left: max(1.25rem, calc((100vw - 1440px) / 2));
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0.35rem 0;
}

.case-back:hover,
.case-back:focus-visible {
  color: #ffffff;
  transform: translateX(-0.2rem);
}

.case-back:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0.35rem;
}

.case-hero,
.case-feature,
.case-section {
  width: min(1080px, calc(100% - clamp(2.5rem, 10vw, 12rem)));
  margin: 0 auto;
}

.case-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding: 4rem 0 3rem;
}

.case-hero--cinematic {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin: 0 0 3rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: 8rem max(1.25rem, calc((100vw - 1440px) / 2)) 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: var(--case-hero-image);
  background-position: var(--case-hero-position, center);
  background-size: cover;
}

.case-hero--cinematic::before,
.case-hero--cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.case-hero--cinematic::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.2) 54%, rgba(0, 0, 0, 0.62) 100%);
}

.case-hero--cinematic::after {
  background: rgba(116, 116, 116, 0.16);
  mix-blend-mode: saturation;
}

.case-hero--cinematic .case-hero__content {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
}

.case-hero--cinematic .case-hero__copy {
  color: rgba(255, 255, 255, 0.82);
}

.case-hero--cinematic .case-hero__visual {
  display: none;
}

.case-hero--mockup {
  min-height: min(48rem, 82svh);
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.85fr);
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.case-hero--mockup .case-hero__copy {
  color: var(--muted);
}

.case-hero--single {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr);
}

.case-hero--single .case-hero__copy {
  max-width: 58rem;
}

.case-hero h1,
.case-section h2 {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.case-hero h1 {
  font-size: clamp(4.6rem, 8vw, 8.5rem);
}

.case-hero__copy {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.case-hero__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.32);
}

.case-hero__visual--device {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.case-hero__visual--embed {
  min-height: clamp(24rem, 42vw, 34rem);
  background: #0d0d0d;
}

.case-hero__visual img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: cover;
  object-position: top center;
}

.case-hero__visual--wide img {
  aspect-ratio: 16 / 10;
}

.case-hero__visual--contain img {
  object-fit: contain;
  background: #f4f4f4;
}

.case-hero__visual iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: #0d0d0d;
}

.device-mockup {
  position: relative;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #111111;
  box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, 0.45);
}

.device-mockup__screen {
  overflow: hidden;
  background: #f4f4f4;
}

.device-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.device-mockup--laptop {
  width: min(100%, 42rem);
  padding: 0.75rem 0.75rem 1.15rem;
  border-radius: 1rem 1rem 0.45rem 0.45rem;
}

.device-mockup--laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1rem;
  width: 116%;
  height: 1rem;
  transform: translateX(-50%);
  border-radius: 0 0 1.35rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    #1a1a1a;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.38);
}

.device-mockup--laptop .device-mockup__screen {
  aspect-ratio: 16 / 10;
  border-radius: 0.45rem;
}

.case-hero__visual--laptop .device-mockup__screen img,
.project__visual--hgaps .device-mockup__screen img {
  object-position: top center;
}

.device-cluster {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
}

.device-mockup--phone {
  width: min(17rem, 62vw);
  padding: 0.7rem;
  border-radius: 2rem;
}

.device-mockup--phone .device-mockup__screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 1.35rem;
}

.device-mockup--phone-back {
  position: absolute;
  z-index: 0;
  transform: translateX(-34%) rotate(-7deg) scale(0.88);
  opacity: 0.78;
}

.device-cluster > .device-mockup:not(.device-mockup--phone-back) {
  z-index: 1;
  transform: translateX(18%) rotate(5deg);
}

.device-cluster--tile {
  width: 100%;
  min-height: 25rem;
}

.device-cluster--tile .device-mockup--phone {
  width: min(15rem, 52%);
}

.case-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.25rem;
  background: var(--line);
}

.case-hero__meta div,
.case-feature__panel,
.case-step {
  background: #0d0d0d;
  border: 1px solid transparent;
}

.case-hero__meta div {
  padding: 1rem;
}

.case-hero__meta span,
.case-feature__panel span,
.case-step span {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.case-hero__meta strong,
.case-feature__panel strong {
  line-height: 1.5;
}

.case-nav {
  width: 100%;
  position: sticky;
  top: 3.55rem;
  z-index: 45;
  margin: 0 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.8rem max(1.25rem, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
}

.case-nav a {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.case-nav a:hover,
.case-nav a:focus-visible,
.case-nav a.is-active {
  color: #ffffff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.case-nav a:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 0.25rem;
}

.case-nav__back {
  color: #ffffff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.case-feature {
  min-height: 28rem;
  margin-bottom: 5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #080808;
  background-size: 4rem 4rem;
}

.case-feature--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: end;
  gap: 1px;
  padding: 1px;
}

.case-feature--signal,
.case-feature--outline,
.case-feature--embed {
  position: relative;
  overflow: hidden;
}

.case-feature--signal {
  min-height: 34rem;
}

.case-feature--embed {
  min-height: clamp(28rem, 58vw, 44rem);
}

.case-feature--prototype {
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin-bottom: 2rem;
}

.case-feature--pdf {
  height: min(78svh, 54rem);
  min-height: 34rem;
  margin-bottom: 1rem;
}

.case-section__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-feature--image-doc {
  min-height: 0;
  overflow: hidden;
  background: #f4f4f4;
}

.case-feature--image-doc img {
  display: block;
  width: 100%;
  height: auto;
}

.case-logo-card {
  width: min(1200px, calc(100% - 2.5rem));
  margin: -2rem auto 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  background: #f4f4f4;
}

.case-logo-card img {
  display: block;
  width: min(26rem, 100%);
  height: auto;
}

.case-feature--outline .wireframe-card {
  min-height: 34rem;
}

.case-feature__panel {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.case-feature__panel strong {
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.35vw, 3.45rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.case-section {
  scroll-margin-top: 6rem;
  padding: 0 0 5rem;
}

.case-section__heading {
  margin-bottom: 1.5rem;
}

.case-section__heading > p:not(.eyebrow) {
  max-width: 48rem;
  line-height: 1.85;
}

.case-section h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: none;
}

.case-columns--two {
  grid-template-columns: repeat(2, 1fr);
}

.case-step {
  min-height: 17rem;
  padding: 1.25rem;
  border-color: var(--line);
}

.case-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.case-step p,
.case-section--closing p {
  color: var(--muted);
  line-height: 1.85;
}

.case-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.case-image-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.case-image-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.case-image-grid--single {
  grid-template-columns: minmax(0, 42rem);
}

.case-image-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.case-image-card img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}

.case-image-card--wide img {
  aspect-ratio: 16 / 10;
}

.case-image-card--document {
  grid-column: 1 / -1;
  background: #f4f4f4;
}

.case-image-card--document img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

.case-image-card--document figcaption {
  background: #0d0d0d;
}

.case-image-card--compact {
  align-self: start;
  max-width: 36rem;
}

.case-image-grid--compact .case-image-card--document {
  grid-column: auto;
}

.case-image-grid--compact .case-image-card--compact {
  max-width: none;
}

.case-image-card--compact img {
  height: clamp(16rem, 32vw, 28rem);
  object-fit: contain;
}

.case-image-card--compact figcaption {
  min-height: 0;
}

.case-video-card {
  width: min(760px, 100%);
}

.case-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050505;
}

.case-phone-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13rem, 16rem);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 0 0 1rem;
  scrollbar-color: var(--line-strong) transparent;
}

.case-phone-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #f4f4f4;
  scroll-snap-align: start;
}

.case-phone-card img {
  display: block;
  width: 100%;
  height: auto;
}

.case-phone-card figcaption {
  min-height: 7rem;
  padding: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  background: #0d0d0d;
}

.case-image-card figcaption {
  min-height: 6rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.case-section--closing {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.case-section--closing p {
  max-width: 42rem;
}

.site-footer {
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.site-footer .footer-blue {
  color: #1d8fff;
}

.site-footer .footer-yellow {
  color: #ffd400;
}

.site-footer .footer-red {
  color: #ff1f1f;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.reveal-delay-4 {
  transition-delay: 360ms;
}

@media (max-width: 1100px) {
  .project,
  .experience-grid,
  .case-hero,
  .case-hero__meta,
  .case-feature--grid,
  .case-columns,
  .case-columns--two,
  .case-image-grid,
  .case-image-grid--two,
  .case-image-grid--single {
    grid-template-columns: 1fr;
  }

  .about-band__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: calc(100svh - 3.5rem);
    align-content: center;
  }

  .about-band__copy {
    display: contents;
  }

  .about-band__heading {
    order: 1;
    width: min(100%, 44rem);
    margin-inline: auto;
  }

  .about-band__portrait {
    order: 2;
    width: min(100%, 26rem);
    height: clamp(18rem, 34svh, 24rem);
  }

  .about-band__portrait img {
    object-position: 50% 48%;
    transform-origin: 50% 48%;
  }

  .about-band__body {
    order: 3;
    width: min(100%, 44rem);
    margin-inline: auto;
  }

  .about-band__body--full {
    display: none;
  }

  .about-band__body--compact {
    display: block;
  }

  .about-band__copy h2,
  .about-band__copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-band__list {
    order: 4;
    width: 100%;
  }

  .project__visual {
    min-height: clamp(14rem, 40vw, 20rem);
  }

  .project__visual--image,
  .project__visual--device,
  .project__visual--embed,
  .project-screenshot {
    min-height: clamp(14rem, 40vw, 20rem);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-header--scrolled {
    padding: 0.85rem 1.25rem;
  }

  .site-header__nav {
    gap: 0.8rem;
  }

  .site-header__brand {
    font-size: 1rem;
  }

  .site-header__brand span {
    font-size: 1rem;
  }

  .site-header__nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 6.25rem 1.25rem 1.25rem;
  }

  .intro-band,
  .section-heading,
  .project,
  .experience-grid,
  .about-band__inner,
  .about-field-notes,
  .case-hero,
  .case-feature,
  .case-section {
    width: min(1200px, calc(100% - 1.5rem));
  }

  .home-page .intro-band,
  .home-page .section-heading,
  .home-page .project,
  .home-page .experience-grid,
  .home-page .about-band__inner {
    width: min(100%, calc(100% - 1.5rem));
  }

  .about-field-notes {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .copy-email strong {
    font-size: clamp(1rem, 6vw, 2.15rem);
  }

  .contact-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .about-band__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-band__item strong {
    font-size: 0.82rem;
  }

  .intro-band {
    grid-template-columns: 1fr;
    padding: 3rem 0 4rem;
  }

  .intro-band__rule {
    width: 6rem;
  }

  .project {
    gap: 1.2rem;
    padding-bottom: 3rem;
  }

  .case-hero--cinematic {
    min-height: 88svh;
    padding: 7rem 1.25rem 3rem;
  }

  .case-hero--mockup {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .case-hero__visual--device {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .device-cluster {
    min-height: 27rem;
  }

  .case-study-page .case-back {
    top: 4.65rem;
    left: 1.25rem;
  }

  .case-nav {
    top: 3.25rem;
    padding-inline: 0.75rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-color: var(--line-strong) transparent;
  }

  .project__visual,
  .project__visual--image,
  .project__visual--device,
  .project__visual--embed,
  .project-screenshot {
    min-height: clamp(12rem, 38vw, 16rem);
  }
}

@media (max-width: 700px) {
  .about-band__portrait {
    width: min(100%, 18rem);
    height: 16rem;
    min-height: 0;
  }

  .hero__title {
    max-width: 12ch;
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 3.2rem;
  }

  .about-band__copy h2 {
    max-width: 23ch;
    font-size: clamp(1.55rem, 6vw, 2.2rem);
  }

  .project__text h3 {
    font-size: 2.8rem;
  }

  .project__visual,
  .project__visual--image,
  .project__visual--device,
  .project__visual--embed,
  .project-screenshot {
    min-height: 13rem;
  }

  .experience-card h3 {
    font-size: 2rem;
  }

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

  .case-hero h1 {
    font-size: clamp(3.6rem, 12vw, 4.5rem);
  }

  .device-mockup--laptop {
    width: min(100%, 34rem);
  }

  .project__index {
    margin-top: 0;
  }

  .wireframe-card {
    grid-template-columns: 1fr;
  }

  .signal-card {
    width: 9rem;
  }

  .signal-card--two {
    right: 1rem;
  }

  .signal-card--three {
    left: 2.5rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.85rem 0.75rem;
  }

  .site-header--scrolled {
    padding: 0.75rem;
  }

  .site-header__nav {
    gap: 0.45rem 0.65rem;
  }

  .site-header__brand,
  .site-header__nav a {
    font-size: 0.78rem;
  }

  .site-header__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    line-height: 1;
  }

  .site-header__brand span {
    font-size: 0.78rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-band {
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  .about-band__inner {
    min-height: calc(100svh - 3.5rem);
    gap: 0.85rem;
    padding-top: 0.8rem;
  }

  .about-band__heading,
  .about-band__body {
    width: min(100%, 28rem);
  }

  .about-band__body {
    margin-top: 0.35rem;
  }

  .about-band__copy p {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .about-band__portrait {
    width: min(100%, 14rem);
    height: 14rem;
  }

  .hero__title {
    font-size: clamp(2.75rem, 14vw, 3.6rem);
  }

  .section-heading h2,
  .contact-section h2,
  .case-section h2 {
    font-size: 2.7rem;
  }

  .about-band__copy h2 {
    max-width: 22ch;
    font-size: clamp(1.2rem, 5.8vw, 1.65rem);
  }

  .about-band__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-band__item {
    padding: 0.45rem 0.5rem;
  }

  .about-band__item span {
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
  }

  .about-band__item strong {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .contact-section__inner {
    width: min(1200px, calc(100% - 1.5rem));
    gap: 0.95rem;
  }

  .contact-section__copy {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .contact-section__actions {
    margin-top: 1rem;
  }

  .contact-section__notes .about-field-notes {
    gap: 0.45rem;
  }

  .contact-section__notes .field-note__media,
  .contact-section__notes .field-note img,
  .contact-section__notes .field-note video {
    height: 7.25rem;
  }

  .contact-section__notes .field-note figcaption {
    padding: 0.4rem;
  }

  .contact-section__notes .field-note figcaption span {
    font-size: 0.62rem;
  }

  .button {
    width: 100%;
  }

  .case-phone-carousel {
    grid-auto-columns: minmax(12rem, 78vw);
  }

  .case-phone-card {
    margin-inline: auto;
  }

  .device-cluster {
    min-height: 21rem;
  }

  .device-mockup--phone {
    width: min(12rem, 64vw);
    border-radius: 1.55rem;
  }

  .device-mockup--phone .device-mockup__screen {
    border-radius: 1rem;
  }

  .project__visual,
  .project__visual--image,
  .project__visual--device,
  .project__visual--embed,
  .project-screenshot {
    min-height: 10.5rem;
  }
}
