:root {
  color-scheme: dark;
  --bg: #030303;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.66);
  --soft: rgba(245, 245, 247, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --blue: #8ab4ff;
  --amber: #f7b65f;
  --green: #83f3c0;
  --section: min(1180px, calc(100vw - 48px));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(138, 180, 255, 0.12), transparent 28rem),
    linear-gradient(225deg, rgba(247, 182, 95, 0.08), transparent 30rem),
    linear-gradient(180deg, #070707 0%, #000 32%, #090909 68%, #000 100%);
  color: var(--ink);
  font-family:
    "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 76%, transparent);
}

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

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

.section-shell {
  width: var(--section);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100vw - 32px));
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #050505;
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 36px;
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: 66px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 96px 0 86px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0;
  font-size: 92px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(255, 255, 255, 0.14);
}

.hero-title {
  margin: 26px 0 0;
  color: rgba(245, 245, 247, 0.92);
  font-size: 34px;
  font-weight: 850;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.case-copy span,
.sheet-copy span,
.closing-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-lede {
  max-width: 580px;
  margin: 26px 0 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.badge-row span {
  min-width: 118px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  color: rgba(245, 245, 247, 0.84);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.badge-row span:first-child {
  border-color: rgba(138, 180, 255, 0.68);
  color: #fff;
  box-shadow: 0 0 24px rgba(138, 180, 255, 0.18);
}

.hero-collage {
  position: relative;
  min-height: 680px;
}

.image-button {
  cursor: zoom-in;
  padding: 0;
  background: transparent;
  text-align: left;
}

.hero-card,
.case-media,
.gallery-item,
.sheet-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  isolation: isolate;
}

.hero-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
  transition: transform 520ms ease, filter 520ms ease;
}

.hero-card:hover img,
.case-media:hover img,
.gallery-item:hover img,
.sheet-window:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.08);
}

.hero-card span,
.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 36px);
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.68);
}

.hero-card::after,
.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.hero-card-main {
  right: 0;
  top: 12px;
  width: 58%;
  height: 560px;
}

.hero-card-secondary {
  left: 0;
  top: 88px;
  width: 42%;
  height: 440px;
}

.hero-card-tertiary {
  left: 19%;
  bottom: 0;
  width: 44%;
  height: 330px;
}

.overview-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.overview-item {
  min-height: 164px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.overview-item:last-child {
  border-right: 0;
}

.overview-item span {
  display: block;
  margin-bottom: 12px;
  font-size: 50px;
  font-weight: 950;
  line-height: 1;
}

.overview-item:nth-child(2) span {
  color: var(--amber);
}

.overview-item:nth-child(3) span {
  color: var(--green);
}

.overview-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.series,
.detail {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.closing-copy h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 920;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.case-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-rows: none;
  min-height: 610px;
}

.case-card.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.case-card.reverse .case-media {
  order: 2;
}

.case-media {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-media img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.case-copy p,
.sheet-copy p {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-copy h3,
.sheet-copy h3 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 900;
}

.gallery {
  padding: 108px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.gallery-head h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 920;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.72);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: rgba(138, 180, 255, 0.68);
  background: rgba(138, 180, 255, 0.18);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-item {
  position: relative;
  grid-row: span 2;
  height: 100%;
  min-height: 0;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item.tall {
  grid-row: span 3;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-item.is-hidden {
  display: none;
}

.long-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.long-sheet {
  display: grid;
  grid-template-rows: auto minmax(600px, 72vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.sheet-copy {
  padding: 34px 34px 28px;
}

.sheet-copy h3 {
  font-size: 34px;
}

.sheet-window {
  display: block;
  height: 100%;
  border-inline: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.sheet-window img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 900ms ease, filter 520ms ease;
}

.sheet-window:hover img {
  transform: translateY(-4%) scale(1.02);
}

.closing-band {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(138, 180, 255, 0.12), transparent 34%),
    linear-gradient(270deg, rgba(247, 182, 95, 0.12), transparent 34%),
    #050505;
}

.closing-copy {
  max-width: 900px;
}

.closing-copy h2 {
  margin-bottom: 22px;
}

.closing-copy p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
  font-size: 18px;
}

.site-footer span,
.site-footer a {
  margin-top: 8px;
  font-size: 14px;
}

.site-footer a {
  color: rgba(245, 245, 247, 0.8);
}

.lightbox {
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #050505;
  color: #fff;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.74);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 118px);
  object-fit: contain;
  background: #000;
}

.lightbox figcaption {
  padding: 16px 20px 18px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 14px;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

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

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

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 88px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .hero-collage {
    min-height: 580px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-card.wide,
  .case-card.reverse {
    grid-template-columns: 1fr;
  }

  .case-card.reverse .case-media {
    order: 0;
  }

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

@media (max-width: 780px) {
  :root {
    --section: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    max-width: 260px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero {
    gap: 38px;
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lede,
  .section-heading p,
  .case-copy span,
  .sheet-copy span,
  .closing-copy p {
    font-size: 16px;
  }

  .hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 0;
  }

  .hero-card {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 280px;
  }

  .hero-card-main {
    grid-column: 1 / -1;
    min-height: 420px;
  }

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

  .overview-item {
    border-bottom: 1px solid var(--line);
  }

  .overview-item:nth-child(2n) {
    border-right: 0;
  }

  .series,
  .detail,
  .gallery {
    padding: 72px 0;
  }

  .section-heading h2,
  .gallery-head h2,
  .closing-copy h2 {
    font-size: 38px;
  }

  .gallery-head {
    display: block;
  }

  .filter-bar {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .case-grid,
  .long-sheet-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: auto;
  }

  .case-media img {
    min-height: 360px;
  }

  .case-copy {
    padding: 30px;
  }

  .case-copy h3,
  .sheet-copy h3 {
    font-size: 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 12px;
  }

  .gallery-item {
    grid-row: span 2;
  }

  .long-sheet {
    grid-template-rows: auto 620px;
  }

  .site-footer {
    display: block;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
    width: calc(100vw - 22px);
  }

  .brand {
    font-size: 13px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 46px;
  }

  .badge-row span {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

  .overview-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .overview-item {
    min-height: 128px;
    border-right: 0;
  }

  .hero-collage {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card-main {
    min-height: 360px;
  }

  .gallery-item,
  .gallery-item.tall {
    grid-row: span 2;
  }

  .long-sheet {
    grid-template-rows: auto 540px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
