:root {
  --paper: #eef1f2;
  --surface: #ffffff;
  --ink: #101214;
  --charcoal: #1d2327;
  --muted: #626a70;
  --line: #cfd6da;
  --line-strong: #9ca8ae;
  --gold: #a9813d;
  --brick: #8e4a35;
  --steel: #243f4d;
  --blue: #dbe5ea;
  --green: #3f5b4d;
  --shadow: 0 28px 80px rgba(20, 20, 20, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.topbar,
.hero,
.signal-strip,
.section,
.range,
.contact,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 241, 242, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--gold);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-color: var(--gold);
}

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-weight: 900;
}

.topbar-cta {
  color: var(--surface);
  background: var(--ink);
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 80px);
  padding: clamp(54px, 7vw, 96px) 0;
}

.eyebrow,
.tag {
  margin-bottom: 14px;
  color: var(--brick);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-bottom: 22px;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.45rem, 6.8vw, 7rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.08;
}

.lead,
.section-head p,
.case-body p,
.offer-ledger p,
.range-copy p,
.lane-grid p,
.process-grid p,
.signal-strip p,
.contact-card p,
.footer span {
  color: var(--muted);
}

.lead {
  max-width: 620px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.studio-console {
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px;
  color: var(--surface);
  background: var(--ink);
}

.console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.console-bar strong {
  margin-left: auto;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
}

.console-card {
  min-height: 164px;
  padding: 24px;
  background: var(--surface);
}

.console-card.wide {
  grid-row: span 2;
  min-height: 329px;
  background:
    linear-gradient(135deg, rgba(47, 77, 92, 0.08), transparent 44%),
    var(--surface);
}

.console-card.dark {
  color: var(--surface);
  background: var(--steel);
}

.console-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.console-card p {
  max-width: 340px;
  margin-bottom: 0;
  color: inherit;
}

.console-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.console-footer span {
  padding: 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.signal-strip article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.signal-strip article:last-child {
  border-right: 0;
}

.icon,
.offer-icon,
.process-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.signal-strip strong {
  align-self: end;
  font-size: 1.05rem;
  line-height: 1.15;
}

.signal-strip p {
  grid-column: 2;
  margin: 8px 0 0;
}

.section {
  padding: clamp(70px, 8vw, 118px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  max-width: 520px;
  font-size: 1.05rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.portfolio-key {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portfolio-key span {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.86rem;
}

.portfolio-key strong {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(20, 20, 20, 0.06);
}

.case-card.large {
  grid-column: span 2;
  grid-row: span 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr);
}

.case-card.dark-card {
  color: var(--surface);
  background: #101113;
  border-color: #101113;
}

.case-card.game-card {
  color: #edf3ff;
  background: #08101d;
  border-color: rgba(105, 216, 255, 0.24);
}

.case-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue);
}

.case-card.large .case-media {
  min-height: 100%;
  aspect-ratio: auto;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.case-media img.image-frame-left {
  object-position: top left;
}

.case-media img.image-frame-right {
  object-position: top right;
}

.case-body {
  padding: 18px;
}

.case-category {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 9px;
  border: 1px solid currentColor;
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.dark-card .case-category,
.game-card .case-category {
  color: var(--gold);
}

.case-body .tag {
  margin-bottom: 10px;
  color: var(--gold);
}

.case-body p:last-child {
  margin-bottom: 0;
}

.offer-ledger {
  border-top: 1px solid var(--line-strong);
}

.launch-plan {
  border-top: 1px solid var(--line-strong);
}

.launch-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.launch-steps article {
  min-height: 270px;
  padding: 26px;
  background: var(--surface);
}

.launch-steps span,
.study-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 10px;
  border: 1px solid currentColor;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.launch-steps a {
  display: inline-flex;
  margin-top: 14px;
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
  font-weight: 950;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.study-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(20, 20, 20, 0.06);
}

.study-status.live {
  color: var(--green);
}

.study-status.paid {
  color: var(--steel);
}

.study-status.warm {
  color: var(--brick);
}

.study-grid dl,
.study-grid dd {
  margin: 0;
}

.study-grid div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.study-grid dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.study-grid dd,
.launch-steps p {
  color: var(--muted);
}

.offer-ledger article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.offer-ledger p {
  max-width: 760px;
  margin-bottom: 0;
}

.offer-ledger strong {
  color: var(--steel);
  font-size: 1.35rem;
  white-space: nowrap;
}

.range {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(70px, 8vw, 118px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.lane-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
}

.lane-dot {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
}

.lane-dot.education {
  background: #f58219;
}

.lane-dot.culture {
  background: #0c0d0f;
  border: 6px solid #f0c05a;
}

.lane-dot.product {
  background: #28543f;
  border-radius: 999px;
}

.lane-dot.local {
  background: var(--steel);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

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

.process-grid article {
  padding: 28px;
  background: var(--surface);
}

.process-icon {
  margin-bottom: 36px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(70px, 8vw, 118px) 0;
}

.contact-card {
  padding: 30px;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card .button {
  margin-top: 18px;
  color: var(--ink);
  background: var(--surface);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .section-head,
  .range,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

  .portfolio-key {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .process-grid,
  .launch-steps,
  .study-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .brand small {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.9rem, 15.5vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .studio-console {
    margin-inline: -8px;
  }

  .console-grid,
  .console-footer,
  .proof-grid,
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .case-card.large {
    grid-column: auto;
    grid-row: auto;
    display: block;
  }

  .case-card.large .case-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .offer-ledger article {
    grid-template-columns: 54px 1fr;
  }

  .offer-ledger strong {
    grid-column: 2;
  }

  .footer {
    display: grid;
  }
}
