:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #161d27;
  --panel-strong: #1e2734;
  --text: #f3f5f8;
  --muted: #aab4c2;
  --line: rgba(255, 255, 255, 0.12);
  --yellow: #ffd43b;
  --cyan: #5ce1e6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

.hero {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.86), rgba(5, 8, 12, 0.38) 52%, rgba(5, 8, 12, 0.68)),
    linear-gradient(0deg, rgba(5, 8, 12, 0.84), rgba(5, 8, 12, 0.1) 46%),
    url("assets/cover.png") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(20px, 5vw, 72px);
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--yellow);
}

.hero-content {
  width: min(1180px, 100%);
  margin: auto;
  padding: 80px 0 100px;
}

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

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(19px, 2.3vw, 26px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #141414;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 920px;
  color: var(--muted);
  font-size: 20px;
}

.project-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.project-layout.reverse {
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
}

.project-layout.reverse .media-frame {
  order: 2;
}

.project-layout.reverse .project-notes {
  order: 1;
}

.media-frame,
.project-notes,
.wide-image {
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-frame video {
  height: 100%;
  min-height: 390px;
  object-fit: contain;
  background: #05070a;
}

.media-frame img {
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.media-frame.image-only img {
  object-position: center top;
}

.project-notes {
  padding: 30px;
}

.project-notes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
}

.project-notes li + li {
  margin-top: 16px;
}

.shot-grid {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shot-grid img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel);
}

.alt {
  background: #0f141b;
}

.wide-image {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #05070a;
}

.wide-image img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.render-grid {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.render-grid img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #05070a;
  object-fit: cover;
}

.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  border-radius: 8px;
  background: var(--panel-strong);
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 32px;
  padding: 38px;
}

.contact-grid {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 18px;
}

.contact-grid a {
  color: var(--cyan);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .project-layout,
  .project-layout.reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .project-layout.reverse .media-frame,
  .project-layout.reverse .project-notes {
    order: initial;
  }

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

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

  .media-frame video,
  .media-frame img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-inline: 18px;
  }

  .section {
    padding: 64px 18px;
  }

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

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

  .project-notes,
  .contact {
    padding: 24px;
  }
}
