:root {
  --bg: #050505;
  --panel: #111;
  --ink: #f5f5f3;
  --muted: #8a8a86;
  --gold: #d8a14a;
  --gold-soft: #f0c777;
  --line: rgb(255 255 255 / 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
  margin: 0;
}

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

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

.site-header {
  align-items: center;
  background: linear-gradient(180deg, rgb(5 5 5 / 0.94), rgb(5 5 5 / 0.62));
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 220px 1fr auto;
  left: 0;
  padding: 24px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  display: block;
  height: 42px;
  object-fit: contain;
  width: 54px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand span {
  color: var(--ink);
  display: grid;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: rgb(245 245 243 / 0.62);
  font-size: 9px;
  letter-spacing: 0.18em;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  justify-content: center;
}

.desktop-nav a,
.nav-cta,
.hero-actions a,
.filters button,
.footer a,
.mobile-menu a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-cta,
.final-cta a,
.footer a {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-soft);
  display: inline-flex;
  justify-content: center;
  padding: 14px 22px;
}

.mobile-toggle,
.mobile-menu {
  display: none;
}

.hero {
  min-height: 100vh;
  position: relative;
}

.hero-media,
.hero::after {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero::after {
  background:
    linear-gradient(90deg, rgb(5 5 5 / 0.98), rgb(5 5 5 / 0.76) 38%, rgb(5 5 5 / 0.24) 75%),
    linear-gradient(0deg, rgb(5 5 5 / 0.94), transparent 34%);
  content: "";
}

.side-label {
  color: rgb(245 245 243 / 0.42);
  font-size: 11px;
  left: 34px;
  letter-spacing: 0.32em;
  position: absolute;
  text-orientation: mixed;
  top: 38%;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 2;
}

.hero-copy {
  max-width: 790px;
  padding: clamp(140px, 18vh, 190px) clamp(24px, 10vw, 132px) 170px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(56px, 8.5vw, 130px);
  font-weight: 900;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero p {
  color: rgb(245 245 243 / 0.86);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.55;
}

.hero-tags {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 12px;
  letter-spacing: 0.12em;
}

.hero-tags span {
  color: var(--gold);
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.play-btn {
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  cursor: pointer;
  height: 50px;
  width: 50px;
}

.stats {
  background: rgb(5 5 5 / 0.88);
  border-top: 1px solid var(--line);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  left: 0;
  padding-left: clamp(24px, 10vw, 132px);
  position: absolute;
  right: 0;
  z-index: 2;
}

.stats div {
  border-right: 1px solid var(--line);
  padding: 24px clamp(16px, 3vw, 56px) 26px 0;
}

.stats strong {
  color: var(--gold);
  display: block;
  font-size: clamp(24px, 3vw, 38px);
}

.stats span,
.muted {
  color: var(--muted);
}

.section,
.statement,
.split-feature,
.visual-showcase,
.proof,
.approach,
.final-cta,
.case-body,
.page-list,
.contact-panel {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 4vw, 56px);
}

.statement,
.work-section,
.services-strip,
.split-feature,
.approach,
.final-cta,
.contact-panel {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(190px, 0.25fr) minmax(0, 1fr);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.section-title {
  align-content: start;
}

.section-title a,
.split-feature a {
  color: var(--gold-soft);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filters button,
.stepper button,
.form-actions button,
.curriculum button {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  padding: 10px 14px;
}

.filters .active,
.stepper .active,
.form-actions button:last-child {
  background: var(--gold);
  color: #050505;
}

.work-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-tile {
  aspect-ratio: 1.1;
  border: 1px solid var(--line);
  display: grid;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.work-tile.large {
  aspect-ratio: 1.55;
  grid-column: span 2;
  grid-row: span 2;
}

.work-tile img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.74;
  position: absolute;
  transition: transform 0.5s ease, opacity 0.5s ease;
  width: 100%;
}

.work-tile:hover img {
  opacity: 0.96;
  transform: scale(1.04);
}

.work-tile::after {
  background: linear-gradient(0deg, rgb(5 5 5 / 0.9), transparent 58%);
  content: "";
  inset: 0;
  position: absolute;
}

.work-tile strong,
.work-tile small {
  align-self: end;
  position: relative;
  z-index: 1;
}

.work-tile strong {
  color: var(--gold);
  margin-top: auto;
}

.service-line,
.proof,
.page-list,
.visual-showcase {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item,
.proof div,
.page-list div {
  background: rgb(255 255 255 / 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 150px;
  padding: 24px;
}

.service-item b {
  color: var(--gold);
  display: block;
  font-size: 30px;
  font-weight: 300;
}

.service-item ul {
  color: rgb(245 245 243 / 0.72);
  line-height: 1.8;
  list-style: none;
  padding: 0;
}

.visual-showcase {
  grid-template-columns: 1.4fr 1fr 0.75fr;
  padding-left: 0;
  padding-right: 0;
}

.visual-showcase img {
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.visual-showcase img:last-child {
  background: #050505;
  object-fit: contain;
  padding: 8vw 5vw;
}

.approach {
  grid-template-columns: 0.55fr 1fr repeat(4, 0.22fr);
}

.approach img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.final-cta {
  align-items: center;
  background:
    linear-gradient(90deg, rgb(5 5 5 / 0.94), rgb(5 5 5 / 0.72)),
    url("./assets/studio-hero.png") center / cover;
  grid-template-columns: 1fr auto;
}

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

.case-body div {
  background: rgb(255 255 255 / 0.035);
  padding: 22px;
}

.case-body article {
  grid-column: 1 / -1;
  line-height: 1.9;
  max-width: 960px;
  padding-top: 54px;
}

.contact-panel {
  grid-template-columns: 260px 1fr;
}

.stepper,
form,
.contact-grid {
  display: grid;
  gap: 12px;
}

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

input,
select,
textarea {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 58px;
  padding: 0 18px;
  width: 100%;
}

textarea {
  min-height: 180px;
  padding-top: 18px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 180px 1fr auto;
  padding: 28px clamp(20px, 4vw, 56px);
}

.footer img {
  height: 74px;
  object-fit: contain;
  width: 160px;
}

@media (max-width: 980px) {
  .site-header,
  .statement,
  .work-section,
  .services-strip,
  .split-feature,
  .approach,
  .final-cta,
  .contact-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold);
    display: block;
    height: 48px;
    width: 48px;
  }

  .mobile-menu.open {
    background: rgb(5 5 5 / 0.98);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    left: 0;
    padding: 96px 24px 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9;
  }

  .service-line,
  .proof,
  .page-list,
  .case-body,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    height: 40px;
    width: 48px;
  }

  .brand span {
    font-size: 15px;
  }

  .side-label {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    padding: 118px 20px 230px;
  }

  .hero h1 {
    font-size: clamp(38px, 13.5vw, 52px);
    line-height: 1;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .hero p {
    font-size: 18px;
    max-width: 24ch;
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.05;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-actions a {
    font-size: 11px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 20px;
  }

  .stats div {
    padding: 16px 10px 18px 0;
  }

  .work-grid,
  .visual-showcase {
    grid-template-columns: 1fr;
  }

  .work-tile.large {
    grid-column: auto;
    grid-row: auto;
  }
}
