:root {
  --black: #050505;
  --ink: #111111;
  --panel: #151515;
  --panel-2: #202020;
  --white: #f5f5f0;
  --soft: #d9d9d2;
  --muted: #9c9c94;
  --line: rgba(245, 245, 240, 0.14);
  --max: 1240px;
  --header: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 80px);
  scrollbar-color: #606060 var(--black);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: var(--black);
}

html::-webkit-scrollbar-thumb {
  background: #606060;
  border-radius: 6px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #808080;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 46px);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a,
.eyebrow,
.hero-index,
.project-type,
.service-grid span,
.site-footer,
.button {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--soft);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--white);
}

.hero-stage {
  position: relative;
  z-index: 0;
  min-height: 210svh;
  background: var(--black);
}

.hero-media {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.74) 42%, rgba(5, 5, 5, 0.38)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), var(--black) 100%);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.72);
}

.hero-media img {
  display: none;
}

.hero-scroll {
  position: relative;
  z-index: 1;
  min-height: 210svh;
  display: grid;
  align-content: start;
  margin-top: -100svh;
  padding: calc(var(--header) + 72px) clamp(18px, 5vw, 64px) 54px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: 178px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
}

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

h1,
h2,
h3 {
  color: var(--white);
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.92;
  font-weight: 900;
}

h2 {
  font-size: clamp(34px, 5.8vw, 74px);
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  font-size: 24px;
  line-height: 1.05;
}

.hero-content > p:not(.eyebrow),
.statement p,
.feature-copy > p,
.contact > div > p {
  max-width: 700px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 14px 22px;
}

.button.light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.button.dark {
  background: rgba(5, 5, 5, 0.38);
  color: var(--white);
}

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

.hero-index {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 760px);
  margin-top: -142px;
  background: var(--line);
}

.hero-index span {
  padding: 16px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--soft);
}

section:not(.hero-stage) {
  padding: clamp(76px, 12vw, 148px) clamp(18px, 5vw, 64px);
}

.statement {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--black);
}

.statement p {
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--black);
  font-size: clamp(30px, 5.2vw, 70px);
  line-height: 1.04;
  font-weight: 800;
}

.capability-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: 0;
  background: var(--black);
  border-block: 1px solid var(--line);
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker span {
  padding: 22px 34px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-title,
.project-list,
.split-feature,
.service-grid,
.approach,
.contact,
.showcase-top,
.showcase-nav,
.showcase-panels {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-title {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  margin-bottom: clamp(42px, 8vw, 88px);
}

.section-title h2 {
  max-width: 820px;
}

.work,
.project-showcase,
.approach {
  position: relative;
  z-index: 2;
  background: var(--black);
}

.project-showcase {
  padding-top: clamp(70px, 10vw, 110px);
}

.showcase-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.showcase-top h2 {
  max-width: 840px;
}

.showcase-top a,
.showcase-nav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-top a:hover,
.showcase-nav a.active,
.showcase-nav a:hover {
  color: var(--white);
}

.showcase-nav {
  position: sticky;
  top: var(--header);
  z-index: 4;
  display: flex;
  gap: 1px;
  overflow-x: auto;
  padding-block: 10px;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(14px);
}

.showcase-nav a {
  flex: 0 0 auto;
  min-width: 210px;
  padding: 14px 16px;
  background: var(--panel);
}

.showcase-nav a.active {
  background: var(--white);
  color: var(--black);
}

.showcase-panels {
  display: grid;
  gap: clamp(28px, 7vw, 90px);
  padding-top: 30px;
}

.showcase-panel {
  min-height: 92svh;
  display: grid;
  align-items: center;
}

.showcase-panel a {
  position: relative;
  min-height: min(760px, 82svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--panel);
}

.showcase-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.62);
  transform: scale(1.08);
  transition: transform 900ms ease, filter 260ms ease;
}

.showcase-panel.in-view img,
.showcase-panel a:hover img {
  transform: scale(1);
}

.showcase-panel a:hover img {
  filter: grayscale(0.35) contrast(1.08) brightness(0.74);
}

.showcase-panel a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(5, 5, 5, 0.88));
}

.panel-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(100%, 780px);
  padding: clamp(24px, 5vw, 54px);
}

.panel-copy small,
.panel-copy em {
  color: var(--soft);
  font-style: normal;
}

.panel-copy small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-copy strong {
  color: var(--white);
  font-size: clamp(34px, 6vw, 82px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.panel-copy em {
  max-width: 640px;
  font-size: clamp(17px, 2vw, 22px);
}

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

.project-row {
  border-bottom: 1px solid var(--line);
}

.project-button {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr 180px 34px;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px) 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
}

.project-button:hover {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

.project-number,
.project-button small,
.project-type {
  color: var(--muted);
}

.project-button strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: 0;
}

.project-button small {
  display: block;
  max-width: 560px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

@keyframes highlight-pulse {
  0% {
    background: rgba(245, 245, 240, 0.15);
  }
  50% {
    background: rgba(245, 245, 240, 0.25);
  }
  100% {
    background: rgba(245, 245, 240, 0);
  }
}

.project-row:target {
  animation: highlight-pulse 1.7s ease-out;
}

.split-feature {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.feature-image {
  position: relative;
  min-height: 540px;
  background: var(--panel);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.76);
  transform: scale(1.06);
  transition: transform 900ms ease;
}

.feature-image.in-view img {
  transform: scale(1);
}

.image-readout {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 190px;
  padding: 16px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
}

.image-readout::before {
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--white), transparent);
  animation: scanline 2.2s ease-in-out infinite;
}

.image-readout span,
.image-readout strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-readout span {
  color: var(--muted);
}

.image-readout strong {
  margin-top: 4px;
  color: var(--white);
}

.proof-grid {
  display: grid;
  gap: 1px;
  margin: 42px 0 0;
  background: var(--line);
}

.proof-grid div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 20px;
  background: var(--black);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--soft);
}

.services {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--black);
}

.services h2,
.services h3 {
  color: var(--black);
}

.services .eyebrow,
.services p,
.services span {
  color: #595953;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.16);
}

.service-grid article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  transition: transform 220ms ease, background 220ms ease;
}

.service-grid article:hover {
  transform: translateY(-6px);
  background: #ededE7;
}

.service-grid h3 {
  margin-top: auto;
}

.service-grid p {
  margin-bottom: 0;
}

.visual-system {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  background: var(--black);
}

.visual-system > * {
  width: min(100%, var(--max));
}

.visual-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--soft);
  font-size: 19px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-template-rows: 270px 270px;
  gap: 12px;
}

.visual-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.72);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease, filter 220ms ease;
}

.visual-grid img:first-child {
  grid-row: span 2;
}

.visual-grid img:nth-child(2) {
  transition-delay: 110ms;
}

.visual-grid img:nth-child(3) {
  transition-delay: 220ms;
}

.visual-grid.in-view img {
  opacity: 1;
  transform: translateY(0);
}

.visual-grid img:hover {
  filter: grayscale(0.25) contrast(1.08) brightness(0.86);
}

.approach {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--line);
  list-style: none;
}

.timeline-step {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px 18px;
  padding: 22px;
  border: 0;
  background: var(--panel);
  color: var(--white);
  text-align: left;
}

.timeline-step:hover,
.timeline-step.active {
  background: var(--panel-2);
}

.timeline-step span {
  grid-row: span 2;
  color: var(--muted);
  font-weight: 900;
}

.timeline-step strong {
  font-size: 20px;
}

.timeline-step small {
  color: var(--muted);
  font-size: 15px;
}

.step-output {
  grid-column: 2;
  padding: 24px;
  background: var(--panel);
}

.step-output p:last-child {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 18px;
}

.contact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  background: #0a0a0a;
  color: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--white);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--soft);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 64px);
  background: var(--black);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--white);
}

.site-footer button {
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-header {
  position: fixed;
}

.detail-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: end;
  padding-top: calc(var(--header) + 70px);
  background: var(--black);
}

.detail-hero > div,
.detail-hero img,
.detail-hero video,
.detail-summary,
.detail-grid,
.detail-cta,
.project-deep-section,
.media-pair,
.quote-section,
.project-metrics {
  width: min(100%, var(--max));
}

.detail-hero img,
.detail-hero video {
  height: min(760px, 76svh);
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.68);
}

.project-page-hero {
  align-items: center;
}

.detail-hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
}

.detail-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  margin-inline: auto;
  background: var(--white);
  color: var(--black);
}

.detail-summary p {
  color: var(--black);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 800;
}

.detail-summary dl {
  display: grid;
  gap: 1px;
  align-self: start;
  margin: 0;
  background: rgba(0, 0, 0, 0.16);
}

.detail-summary dl div {
  padding: 18px;
  background: var(--white);
}

.detail-summary dt {
  color: #5d5d57;
}

.detail-summary dd {
  color: var(--black);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-inline: auto;
  background: var(--line);
}

.detail-grid article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
}

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

.detail-grid span {
  color: var(--muted);
  font-weight: 900;
}

.detail-grid h2 {
  margin-top: auto;
  font-size: clamp(28px, 3.6vw, 46px);
}

.detail-grid p {
  color: var(--soft);
}

.detail-cta {
  margin-inline: auto;
  text-align: center;
}

.detail-cta h2 {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.project-deep-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  margin-inline: auto;
  background: var(--black);
}

.project-deep-section > p,
.build-list {
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
}

.media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-inline: auto;
  background: var(--black);
}

.media-pair img {
  width: 100%;
  height: clamp(320px, 46vw, 620px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.72);
}

.quote-section {
  margin-inline: auto;
  background: var(--white);
  color: var(--black);
}

.quote-section blockquote {
  max-width: 980px;
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 900;
}

.quote-section p {
  margin: 28px 0 0;
  color: #595953;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.build-list li::marker {
  color: var(--muted);
  font-weight: 900;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-inline: auto;
  background: var(--line);
}

.project-metrics div {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--panel);
}

.project-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-metrics strong {
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
}

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

@keyframes scanline {
  50% {
    transform: translateX(36%);
    opacity: 0.45;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: var(--black);
  }

  .site-nav.open {
    display: grid;
    gap: 18px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.7), var(--black));
  }

  .hero-index,
  .section-title,
  .showcase-top,
  .split-feature,
  .approach,
  .contact,
  .visual-system,
  .detail-hero,
  .detail-summary,
  .project-deep-section,
  .media-pair {
    grid-template-columns: 1fr;
  }

  .project-button {
    grid-template-columns: 42px 1fr 30px;
  }

  .project-type {
    grid-column: 2;
  }

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

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

  .visual-grid {
    grid-template-rows: 220px 220px;
  }

  .showcase-panel,
  .showcase-panel a {
    min-height: 72svh;
  }

  .step-output {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hero-media {
    min-height: 92svh;
  }

  .hero-index,
  .service-grid,
  .visual-grid,
  .detail-grid,
  .project-metrics,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-rows: repeat(3, 230px);
  }

  .visual-grid img:first-child {
    grid-row: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .feature-image,
  .feature-image img {
    min-height: 360px;
  }

  .proof-grid div,
  .timeline-step {
    grid-template-columns: 1fr;
  }
}
