:root {
  --black: #080808;
  --ink: #151515;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #6e6d68;
  --line: rgba(21, 21, 21, 0.15);
  --sand: #c09b6d;
  --radius: 26px;
  --pad: clamp(24px, 6vw, 92px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  height: 2px;
  width: 0;
  background: var(--sand);
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand img {
  width: 94px;
  height: auto;
}

nav {
  display: flex;
  gap: clamp(20px, 3.5vw, 48px);
  font-size: 13px;
  font-weight: 600;
}

nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-share,
.nav-contact {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.nav-contact {
  color: var(--black);
  border-color: white;
  background: white;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 80px;
  color: white;
  background: var(--black);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 45%, transparent 0, rgba(0, 0, 0, 0.1) 34%, rgba(0, 0, 0, 0.72) 88%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 32%;
  background: url("assets/image/hero-line-art.webp") center right / cover no-repeat;
  opacity: 0.9;
  filter: saturate(0.8);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 76vw);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #d7b88f;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero h1 span {
  display: inline-block;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.58em;
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-deck {
  max-width: 650px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

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

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-foot {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(88px, 12vw, 180px) var(--pad);
}

.statement {
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.display {
  max-width: 1250px;
  margin: 0;
  font-size: clamp(42px, 7.5vw, 106px);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.work {
  background: white;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  grid-column: span 6;
}

.project-card.feature {
  grid-column: 1 / -1;
}

.project-open {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  cursor: pointer;
}

.project-card.landscape .project-open {
  aspect-ratio: 16 / 9;
}

.project-card.portrait .project-open {
  aspect-ratio: 4 / 5;
}

.project-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.project-open:hover img {
  transform: scale(1.025);
  opacity: 0.83;
}

.play {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  text-indent: 3px;
  transition: transform 0.2s ease;
}

.project-open:hover .play {
  transform: scale(1.08);
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 30px;
  align-items: end;
  padding: 24px 3px 52px;
}

.project-meta.compact {
  display: block;
}

.project-meta h3 {
  margin: 5px 0 0;
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.project-meta.compact > p {
  margin-top: 14px;
}

.project-type {
  color: var(--sand) !important;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-work {
  background: var(--paper);
}

.project-grid.split .portrait {
  grid-column: span 5;
}

.project-grid.split .landscape {
  grid-column: span 7;
}

.ai-section {
  color: white;
  background: var(--black);
}

.ai-intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  column-gap: 72px;
  align-items: end;
  margin-bottom: 74px;
}

.ai-intro .eyebrow {
  grid-column: 1 / -1;
}

.ai-intro h2 {
  margin: 0;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.ai-intro h2 span {
  color: rgba(255, 255, 255, 0.42);
}

.ai-intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  line-height: 1.5;
}

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

.ai-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #111;
}

.ai-card .project-open {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.ai-card-copy {
  padding: 26px;
}

.ai-card-copy span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(215, 184, 143, 0.42);
  border-radius: 999px;
  color: #d7b88f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.ai-card-copy h3 {
  margin: 24px 0 10px;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.045em;
}

.ai-card-copy p,
.hybrid-band p {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.hybrid-band {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.8fr;
  gap: 44px;
  align-items: center;
  margin-top: 30px;
  padding: 44px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #211c17, #111);
}

.hybrid-band > p:first-child {
  color: #d7b88f;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hybrid-band h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.045em;
}

.about {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  background: white;
}

.about-line {
  position: absolute;
  inset: 0 48% 0 0;
  overflow: hidden;
  background: #0a0a0a;
}

.about-line img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  opacity: 0.85;
}

.about-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding-left: clamp(20px, 5vw, 90px);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.about-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capabilities li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.contact {
  min-height: 74svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background: var(--black);
}

.contact h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(58px, 9vw, 130px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.contact > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 19px;
}

footer {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px var(--pad);
  color: rgba(255, 255, 255, 0.5);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer img {
  width: 88px;
}

footer p:last-child {
  justify-self: end;
}

.player-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: white;
  background: #0b0b0b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.player-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.dialog-close {
  position: sticky;
  z-index: 3;
  top: 16px;
  float: right;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.58);
  font-size: 26px;
  cursor: pointer;
}

.dialog-video-wrap {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: black;
}

.dialog-video-wrap video {
  width: 100%;
  max-height: 72svh;
}

.dialog-copy {
  padding: 28px 32px 34px;
}

.dialog-copy > p:first-child {
  margin: 0 0 8px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.dialog-copy > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 64px;
  }

  nav {
    display: none;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 110px;
  }

  .hero-art {
    inset: 0;
    opacity: 0.38;
    background-size: auto 78%;
    background-position: 70% 8%;
    background-repeat: no-repeat;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 100px);
  }

  .hero-deck {
    font-size: 18px;
  }

  .hero-foot span:last-child {
    display: none;
  }

  .section-heading,
  .ai-intro,
  .hybrid-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card,
  .project-card.feature,
  .project-grid.split .portrait,
  .project-grid.split .landscape {
    grid-column: 1 / -1;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .ai-card .project-open {
    aspect-ratio: 4 / 5;
  }

  .about {
    display: block;
    padding-top: 56svh;
  }

  .about-line {
    inset: 0 0 auto 0;
    height: 50svh;
  }

  .about-copy {
    padding-left: 0;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .project-open img {
    transition: none;
  }
}
