:root {
  --black: #050505;
  --black-2: #0a0a0a;
  --charcoal: #121212;
  --charcoal-2: #1a1a1a;
  --steel: #777368;
  --gold: #d4af37;
  --gold-hot: #f6d46b;
  --gold-deep: #8b6b1a;
  --emerald: #00a67e;
  --emerald-deep: #006b55;
  --ivory: #f3f1e6;
  --muted: #bbb3a1;
  --line: rgba(212, 175, 55, 0.26);
  --line-strong: rgba(212, 175, 55, 0.48);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.52);
  --max: 1180px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--black);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 166, 126, 0.09), transparent 24%),
    linear-gradient(245deg, rgba(212, 175, 55, 0.1), transparent 32%),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.84) 76%);
  z-index: -2;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(calc(-100% - 24px));
  background: var(--gold);
  color: var(--black);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr auto auto;
  align-items: center;
  gap: 26px;
  padding: 11px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.9);
  border-color: rgba(212, 175, 55, 0.38);
}

.brand-lockup {
  display: block;
  width: min(32vw, 340px);
  min-width: 270px;
}

.brand-lockup img {
  width: 100%;
  max-width: 340px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo img {
  width: 100%;
  max-width: 250px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.7vw, 42px);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav a,
.footer-links a {
  position: relative;
  transition: color 160ms ease;
}

.desktop-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ivory);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  padding: 11px 16px;
  color: var(--gold-hot);
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-action {
  width: max-content;
  justify-self: end;
}

.nav-action svg,
.button svg {
  width: 18px;
  height: 18px;
}

.nav-action path,
.button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-action:hover,
.nav-action:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--emerald);
  color: var(--ivory);
  background: rgba(0, 166, 126, 0.12);
}

.button-primary {
  color: var(--black);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-hot), var(--gold), var(--gold-deep));
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--black);
  background: linear-gradient(135deg, #ffe28a, var(--gold), #9d7617);
}

.button-secondary {
  background: rgba(5, 5, 5, 0.58);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
  padding: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - var(--header-height)));
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  padding: 15px 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 54px) clamp(18px, 4vw, 56px) 78px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78) 54%, rgba(0, 0, 0, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 48px, rgba(212, 175, 55, 0.06) 49px, transparent 50px);
  pointer-events: none;
}

.hero-grid {
  width: min(100%, 1300px);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  color: var(--gold-hot);
  font-size: clamp(3.6rem, 10vw, 8.6rem);
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(212, 175, 55, 0.18);
}

h2 {
  max-width: 820px;
  color: var(--ivory);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 500;
}

h3 {
  color: var(--ivory);
  font-size: clamp(1.24rem, 2.1vw, 1.68rem);
  font-weight: 600;
}

.hero-kicker {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: clamp(2.4rem, 5.4vw, 5.8rem);
  font-weight: 600;
  line-height: 0.98;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

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

.hero-mark {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-mark img {
  width: min(100%, 700px);
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 70px rgba(0, 0, 0, 0.64));
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-band {
  padding-top: 46px;
  padding-bottom: 46px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(0, 166, 126, 0.04), rgba(0, 0, 0, 0.1));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(22px, 5vw, 70px);
}

.intro-grid h2 {
  font-size: clamp(1.7rem, 3.4vw, 3.25rem);
}

.intro-grid p:last-child,
.section-heading p,
.system-copy p,
.merch-layout p,
.contact-grid > div p {
  color: var(--muted);
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.split-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 36px;
  color: var(--gold-hot);
  border-bottom: 1px solid var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.08), transparent 36%),
    var(--charcoal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0, 166, 126, 0.42);
  transform: rotate(45deg);
}

.card-index {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-card p,
.work-copy p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.work-section {
  background:
    linear-gradient(180deg, rgba(0, 166, 126, 0.06), transparent 35%),
    rgba(255, 255, 255, 0.01);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.work-card {
  display: grid;
  min-height: 410px;
  border: 1px solid var(--line);
  background: var(--charcoal);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.large-work {
  grid-row: span 2;
}

.work-visual {
  min-height: 220px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0, 166, 126, 0.1)),
    #080808;
  overflow: hidden;
}

.work-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.work-visual::before,
.work-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(212, 175, 55, 0.36);
  clip-path: polygon(50% 0, 100% 20%, 86% 100%, 14% 100%, 0 20%);
}

.work-visual::after {
  inset: 24%;
  border-color: rgba(0, 166, 126, 0.54);
  transform: rotate(180deg);
}

.work-visual:has(img)::before,
.work-visual:has(img)::after {
  content: none;
}

.visual-game {
  min-height: 360px;
  background:
    linear-gradient(120deg, rgba(0, 166, 126, 0.12), transparent 35%),
    repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0 1px, transparent 1px 24px),
    #080808;
}

.visual-web {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(0, 0, 0, 0.1)),
    repeating-linear-gradient(90deg, rgba(243, 241, 230, 0.08) 0 1px, transparent 1px 34px),
    #0c0c0c;
}

.visual-content {
  background:
    linear-gradient(135deg, rgba(0, 166, 126, 0.16), rgba(212, 175, 55, 0.06)),
    repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.08) 0 1px, transparent 1px 20px),
    #0c0c0c;
}

.visual-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--black);
  background: var(--gold);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(0, 166, 126, 0.5);
  color: var(--emerald);
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-system {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(212, 175, 55, 0.06)),
    var(--black-2);
}

.system-grid,
.contact-grid,
.content-layout,
.merch-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.system-copy {
  display: grid;
  gap: 20px;
}

.token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.token-row span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 241, 230, 0.18);
  background: var(--token);
}

.system-preview,
.merch-layout {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.system-preview img,
.merch-layout img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.process-list {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-list li {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px 18px;
  background: rgba(18, 18, 18, 0.92);
}

.process-list span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.content-layout {
  grid-template-columns: 0.88fr 1fr;
  align-items: start;
}

.media-stack {
  display: grid;
  gap: 14px;
}

.media-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(0, 166, 126, 0.06)),
    var(--charcoal);
}

.play-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.52);
  clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--emerald);
  transform: translateX(2px);
}

.media-card h3 {
  margin-top: 10px;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.12;
}

.merch-strip {
  padding-top: clamp(50px, 8vw, 92px);
  padding-bottom: clamp(50px, 8vw, 92px);
}

.merch-layout {
  grid-template-columns: 1fr minmax(260px, 0.54fr);
  padding: 0;
  overflow: hidden;
}

.merch-layout > div {
  padding: clamp(22px, 4vw, 42px);
}

.merch-layout h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.4vw, 3.55rem);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 166, 126, 0.05)),
    var(--black);
}

.contact-grid {
  align-items: start;
}

.contact-grid h2 {
  margin-bottom: 22px;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.88);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.34);
  color: var(--ivory);
  padding: 12px 13px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 166, 126, 0.15);
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  background: #030303;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 250px) 1fr auto;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(270px, 340px) 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: grid;
  }

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

  .service-card {
    min-height: 230px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

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

  .brand-lockup {
    width: 230px;
    min-width: 0;
  }

  .brand-lockup img {
    height: 50px;
    max-width: 230px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero-grid,
  .intro-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: 280px;
  }

  .hero-mark img {
    width: 100%;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

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

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

  .visual-game {
    min-height: 250px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 46px 46px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

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

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

  .brand-lockup {
    width: 190px;
  }

  .brand-lockup img {
    height: 42px;
    max-width: 190px;
  }

  .footer-logo img {
    max-width: 190px;
  }
}

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