:root {
  --work-white: #fff;
  --work-black: #030407;
  --work-muted: rgba(255, 255, 255, 0.58);
}

.work-page,
.project-page {
  margin: 0;
  color: var(--work-white);
  background: var(--work-black);
  font-family: "Poppins", sans-serif;
}

.work-page main,
.project-page main {
  overflow: clip;
}

.work-hero {
  min-height: 70svh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 150px 24px 80px;
  text-align: center;
}

.work-kicker,
.project-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.work-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(72px, 13vw, 210px);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.085em;
}

.work-hero__intro {
  max-width: 560px;
  margin: 36px auto 0;
  color: var(--work-muted);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
}

.work-index {
  width: min(100% - 48px, 1500px);
  margin: 0 auto;
  padding: 30px 0 140px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.2vw, 34px);
}

.work-card {
  grid-column: span 4;
  min-width: 0;
  display: block;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card__media {
  position: relative;
  aspect-ratio: 0.96;
  display: block;
  overflow: hidden;
  background: #10121b;
  border-radius: 28px;
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 3, 6, 0.26), transparent 45%);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.work-card:hover .work-card__media img {
  transform: scale(1.045);
  filter: saturate(1.12);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 18px 3px 0;
}

.work-card__meta small,
.work-card__meta strong {
  display: block;
}

.work-card__meta small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.work-card__meta strong {
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.work-card__meta b {
  font-size: 24px;
  font-weight: 400;
}

.work-card__meta em {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-style: normal;
}

.work-card--coming .work-card__media img {
  object-fit: cover;
}

.project-hero {
  padding: 160px 24px 24px;
}

.project-hero__copy {
  width: min(100% - 24px, 1480px);
  margin: 0 auto 60px;
}

.project-hero__copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.project-hero__cover {
  width: min(100%, 1600px);
  height: min(76vw, 900px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 35px;
}

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

[data-work-reveal] {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(45px);
  transition: opacity 0.9s ease, filter 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-work-reveal].is-revealed { opacity: 1; filter: blur(0); transform: none; }

.project-overview {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr;
  gap: clamp(30px, 6vw, 110px);
  padding: clamp(90px, 12vw, 180px) max(24px, calc((100vw - 1420px) / 2));
  color: #030407;
  background: #fff;
}

.project-overview .project-label,
.project-system .project-label,
.project-outcome .project-label { color: rgba(3, 4, 7, 0.42); }

.project-overview h2,
.project-system h2,
.project-outcome h2 {
  margin: 16px 0 0;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.project-overview__body p {
  margin: 0 0 24px;
  color: rgba(3, 4, 7, 0.7);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.75;
}

.project-overview dl { margin: 0; }
.project-overview dl div { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(3, 4, 7, 0.12); }
.project-overview dt { color: rgba(3, 4, 7, 0.38); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.project-overview dd { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }

.project-visual {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 100px 24px;
  text-align: center;
  background: #050610;
}

.project-visual > p { color: rgba(255, 255, 255, 0.45); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; }
.project-visual__orb { width: min(58vw, 650px); aspect-ratio: 1; margin: -20px 0 -35px; border-radius: 50%; overflow: hidden; mix-blend-mode: screen; }
.project-visual__orb img { width: 100%; height: 100%; object-fit: cover; }
.project-visual__orb--citywalk {
  width: min(46vw, 620px);
  aspect-ratio: 1.7;
  padding: clamp(28px, 5vw, 70px);
  background: #fff;
  border-radius: 38px;
  mix-blend-mode: normal;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}
.project-visual__orb--citywalk img { object-fit: contain; }
.project-visual h2 { margin: 0; font-size: clamp(46px, 7vw, 108px); line-height: 0.92; letter-spacing: -0.07em; }

.project-system {
  padding: clamp(90px, 12vw, 180px) max(24px, calc((100vw - 1420px) / 2));
  color: #030407;
  background: #f4f4f1;
}

.project-system header { max-width: 900px; }
.project-system__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 90px; background: rgba(3, 4, 7, 0.12); }
.project-system article { min-height: 310px; padding: 28px; background: #fff; }
.project-system article span { color: rgba(3, 4, 7, 0.35); font-size: 10px; }
.project-system article h3 { margin: 120px 0 12px; font-size: 22px; letter-spacing: -0.04em; }
.project-system article p { margin: 0; color: rgba(3, 4, 7, 0.56); font-size: 12px; line-height: 1.7; }

.project-outcome {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding: clamp(90px, 12vw, 180px) max(24px, calc((100vw - 1420px) / 2));
  color: #030407;
  background: #fff;
}

.project-outcome__folder {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 45px;
  overflow: hidden;
  background: #f1f1ee;
  border-radius: 38px;
  box-shadow: 0 30px 80px rgba(3, 4, 7, 0.12);
}

.project-outcome__sheet { position: absolute; inset: 28px 28px 110px; overflow: hidden; border-radius: 24px; }
.project-outcome__sheet img { width: 100%; height: 100%; object-fit: cover; }
.project-outcome__folder strong { position: relative; font-size: 34px; letter-spacing: -0.05em; }
.project-outcome__folder small { position: relative; color: rgba(3, 4, 7, 0.46); }

.project-next {
  min-height: 55svh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 90px max(24px, calc((100vw - 1420px) / 2));
  color: #fff;
  text-decoration: none;
}

.project-next small { grid-column: 1 / -1; margin-bottom: 18px; color: rgba(255, 255, 255, 0.48); }
.project-next span { font-size: clamp(48px, 8vw, 120px); font-weight: 600; line-height: 0.9; letter-spacing: -0.075em; }
.project-next b { align-self: center; font-size: clamp(36px, 5vw, 70px); font-weight: 400; }

@media (max-width: 900px) {
  .work-card { grid-column: span 6; }
  .project-overview { grid-template-columns: 1fr 1fr; }
  .project-overview dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .project-system__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .work-hero { min-height: 62svh; padding-top: 125px; }
  .work-index { width: calc(100% - 28px); padding-bottom: 90px; }
  .work-card { grid-column: 1 / -1; }
  .work-card__media { aspect-ratio: 1.08; border-radius: 22px; }
  .project-hero { padding: 125px 10px 10px; }
  .project-hero__copy { width: calc(100% - 28px); margin-bottom: 34px; }
  .project-hero__cover { height: 72svh; border-radius: 25px; }
  .project-overview,
  .project-outcome { grid-template-columns: 1fr; padding-inline: 24px; }
  .project-overview dl { grid-column: auto; grid-template-columns: 1fr; }
  .project-visual__orb { width: 100vw; }
  .project-visual__orb--citywalk { width: calc(100vw - 36px); }
  .project-system { padding-inline: 18px; }
  .project-system__grid { grid-template-columns: 1fr; margin-top: 55px; }
  .project-system article { min-height: 230px; }
  .project-system article h3 { margin-top: 70px; }
  .project-outcome__folder { min-height: 360px; }
  .project-next { min-height: 45svh; }
}

/* White Our Work palette and single-project presentation. */
.work-page {
  color: #030407;
  background: #fff;
}

.work-page .work-kicker {
  color: rgba(3, 4, 7, 0.46);
}

.work-page .work-hero__intro {
  color: rgba(3, 4, 7, 0.58);
}

.work-index {
  padding-top: 0;
}

.work-grid {
  place-items: start center;
}

.work-card {
  grid-column: 3 / span 8;
  width: 100%;
  color: #030407;
  cursor: default;
}

.work-card__media {
  aspect-ratio: 16 / 9;
  background: #07101d;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(3, 4, 7, 0.12);
}

.work-card__meta small {
  color: rgba(3, 4, 7, 0.48);
}

.work-card__meta em {
  color: rgba(3, 4, 7, 0.42);
}

.work-card:hover .work-card__media img {
  transform: none;
  filter: none;
}

@media (max-width: 680px) {
  .work-card {
    grid-column: 1 / -1;
  }

  .work-card__media {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .work-card__meta {
    align-items: start;
  }

  .work-card__meta em {
    max-width: 95px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-work-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
  .work-card__media img { transition: none; }
}
