:root {
  color-scheme: dark;
  --black: #111216;
  --black-2: #1e2228;
  --white: #ffffff;
  --paper: #f5f4f1;
  --ink: #111216;
  --muted: #69707c;
  --blue: #206dff;
  --cyan: #22c8ff;
  --red: #ff2738;
  --lime: #86ff4e;
  --violet: #5b35ff;
  --gold: #d9a943;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1180px;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-shell {
  overflow: hidden;
  background: var(--paper);
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 56px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.96);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.brand-icon {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.nav-links {
  gap: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-links .discord-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.nav-links .discord-link:hover {
  color: var(--white);
  background: var(--violet);
  box-shadow: 0 12px 30px rgba(91, 53, 255, 0.34);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 770px;
  height: 88vh;
  padding: 138px 56px 128px;
  color: var(--white);
  background: var(--black);
  text-align: center;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.12) contrast(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.38), rgba(17, 18, 22, 0.68)),
    linear-gradient(90deg, rgba(17, 18, 22, 0.88), rgba(17, 18, 22, 0.32) 48%, rgba(17, 18, 22, 0.78));
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5%;
  right: -5%;
  bottom: -96px;
  height: 190px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--paper);
}

.hero-content {
  width: min(1060px, 100%);
  margin-top: 10px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
}

h1 {
  max-width: 1040px;
  margin: 0 auto 24px;
  font-size: 96px;
  line-height: 0.94;
  font-weight: 700;
  text-shadow: 0 22px 68px rgba(0, 0, 0, 0.52);
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--violet);
  box-shadow: 0 18px 44px rgba(91, 53, 255, 0.34);
}

.button.primary:hover {
  background: #6c47ff;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
}

.button.discord-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(90deg, #5865f2, var(--violet));
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.28);
}

.button.discord-button:hover {
  border-color: rgba(255, 255, 255, 0);
  background: linear-gradient(90deg, #6b76ff, #724eff);
}

.proof-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(620px, 1.18fr);
  gap: 58px;
  align-items: center;
  max-width: 1320px;
  margin: -24px auto 0;
  padding: 72px 56px 88px;
}

.proof-copy h2 {
  margin: 0;
  color: var(--violet);
  font-size: 48px;
  line-height: 0.98;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  min-height: 150px;
  border-top: 1px solid rgba(17, 18, 22, 0.12);
  border-bottom: 1px solid rgba(17, 18, 22, 0.12);
}

.brand-row a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-right: 1px solid rgba(17, 18, 22, 0.12);
  transition:
    color 160ms ease,
    background 160ms ease;
}

.brand-row a:last-child {
  border-right: 0;
}

.brand-row a:hover {
  color: var(--violet);
  background: rgba(91, 53, 255, 0.05);
}

.brand-row strong {
  display: block;
  margin-bottom: 7px;
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
}

.brand-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.thesis {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(420px, 0.52fr);
  gap: 86px;
  align-items: end;
  padding: 100px 56px 92px;
  color: var(--white);
  background: var(--black);
}

.thesis > div,
.thesis > p,
.portfolio,
.model {
  max-width: 1280px;
}

.thesis > div {
  justify-self: end;
}

.thesis h2 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 0.98;
}

.thesis > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.72;
}

.portfolio {
  margin: 0 auto;
  padding: 98px 56px 106px;
}

.portfolio > .eyebrow {
  color: var(--violet);
}

.portfolio h2 {
  max-width: 850px;
  margin: 0 0 52px;
  color: var(--ink);
  font-size: 64px;
  line-height: 0.98;
}

.portfolio-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(17, 18, 22, 0.14);
}

.portfolio-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(280px, 0.9fr) minmax(420px, 1.1fr) 180px;
  gap: 28px;
  align-items: center;
  min-height: 168px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(17, 18, 22, 0.14);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 180ms ease;
}

.portfolio-item:hover::before {
  width: 100%;
}

.portfolio-item.vfx {
  --accent: var(--blue);
}

.portfolio-item.animations {
  --accent: var(--red);
}

.portfolio-item.npc {
  --accent: var(--gold);
}

.item-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.portfolio-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.portfolio-item p {
  margin: 0;
  color: rgba(17, 18, 22, 0.66);
  font-size: 16px;
  line-height: 1.58;
}

.item-link {
  justify-self: end;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.model {
  margin: 0 auto;
  padding: 104px 56px 112px;
  color: var(--white);
  background: var(--black);
}

.model .eyebrow {
  color: var(--cyan);
}

.model h2 {
  max-width: 960px;
  margin: 0 0 54px;
  font-size: 66px;
  line-height: 0.98;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.model-grid div {
  min-height: 220px;
  padding: 34px;
  background: var(--black-2);
}

.model-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--cyan);
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  font-size: 33px;
  font-weight: 700;
}

.model-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.62;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  background: var(--black);
}

.footer p {
  margin: 0;
  color: var(--white);
  font-weight: 900;
}

.footer a {
  font-weight: 800;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-height: 820px) {
  .hero {
    min-height: 690px;
    padding-bottom: 110px;
  }

  h1 {
    font-size: 78px;
  }
}

@media (max-width: 1179px) {
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .topbar {
    height: 78px;
    padding: 0 32px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    gap: 22px;
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
    height: min(84svh, 820px);
    padding: 118px 32px 110px;
  }

  .hero-backdrop {
    object-position: 54% center;
  }

  .hero::after {
    bottom: -76px;
    height: 150px;
  }

  h1 {
    max-width: 850px;
    font-size: 76px;
  }

  .hero-copy {
    max-width: 620px;
    font-size: 18px;
  }

  .proof-band {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: -10px;
    padding: 62px 32px 82px;
  }

  .proof-copy h2 {
    max-width: 760px;
    font-size: 50px;
  }

  .brand-row strong {
    font-size: 27px;
  }

  .thesis {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 86px 32px;
  }

  .thesis > div {
    justify-self: start;
  }

  .thesis h2 {
    max-width: 820px;
    font-size: 52px;
  }

  .thesis > p {
    max-width: 680px;
  }

  .portfolio {
    padding: 84px 32px 92px;
  }

  .portfolio h2 {
    max-width: 820px;
    font-size: 54px;
  }

  .portfolio-item {
    grid-template-columns: 72px 1fr;
    gap: 18px 24px;
    min-height: 0;
    padding: 32px 0;
  }

  .portfolio-item h3 {
    font-size: 34px;
  }

  .portfolio-item p,
  .item-link {
    grid-column: 2;
  }

  .item-link {
    justify-self: start;
  }

  .model {
    padding: 88px 32px 96px;
  }

  .model h2 {
    max-width: 840px;
    font-size: 54px;
  }

  .model-grid div {
    min-height: 210px;
    padding: 28px;
  }

  .model-grid span {
    margin-bottom: 46px;
    font-size: 30px;
  }

  .footer {
    padding: 0 32px;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: fixed;
    height: 68px;
    padding: 0 18px;
  }

  .brand {
    gap: 10px;
    font-size: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
    height: min(88svh, 720px);
    padding: 96px 20px 96px;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-backdrop {
    object-position: 58% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(17, 18, 22, 0.5), rgba(17, 18, 22, 0.78)),
      linear-gradient(90deg, rgba(17, 18, 22, 0.82), rgba(17, 18, 22, 0.46) 48%, rgba(17, 18, 22, 0.82));
  }

  .hero::after {
    left: -28%;
    right: -28%;
    bottom: -58px;
    height: 116px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  h1 {
    max-width: 350px;
    margin-bottom: 18px;
    font-size: 45px;
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 345px;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .button {
    width: min(100%, 310px);
    height: 52px;
    font-size: 14px;
  }

  .proof-band {
    gap: 28px;
    padding: 48px 20px 64px;
  }

  .proof-copy h2 {
    font-size: 37px;
    line-height: 1;
  }

  .brand-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brand-row a {
    min-height: 104px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 18, 22, 0.12);
  }

  .brand-row a:last-child {
    border-bottom: 0;
  }

  .brand-row strong {
    font-size: 32px;
  }

  .thesis {
    gap: 24px;
    padding: 70px 20px;
  }

  .thesis h2 {
    font-size: 36px;
    line-height: 1.02;
  }

  .thesis > p {
    font-size: 16px;
    line-height: 1.64;
  }

  .portfolio {
    padding: 68px 20px 76px;
  }

  .portfolio h2 {
    margin-bottom: 34px;
    font-size: 39px;
    line-height: 1;
  }

  .portfolio-item {
    display: block;
    padding: 30px 0;
  }

  .item-number {
    display: block;
    margin-bottom: 18px;
  }

  .portfolio-item h3 {
    margin-bottom: 15px;
    font-size: 31px;
    line-height: 1.02;
  }

  .portfolio-item p {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .model {
    padding: 72px 20px 82px;
  }

  .model h2 {
    margin-bottom: 34px;
    font-size: 38px;
    line-height: 1.02;
  }

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

  .model-grid div {
    min-height: 170px;
    padding: 26px;
  }

  .model-grid span {
    margin-bottom: 34px;
    font-size: 29px;
  }

  .footer {
    min-height: 96px;
    padding: 0 20px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 10px;
  }

  .hero {
    min-height: 650px;
  }

  h1 {
    max-width: 310px;
    font-size: 38px;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 15px;
  }

  .button {
    width: min(100%, 300px);
  }

  .proof-copy h2,
  .portfolio h2,
  .model h2 {
    font-size: 34px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  h1 {
    max-width: 310px;
    font-size: 38px;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 15px;
  }

  .button {
    width: min(100%, 300px);
  }
}
