:root {
  --ink: #11151a;
  --muted: #6a717d;
  --paper: #f4f0e7;
  --surface: #fffaf0;
  --line: rgba(17, 21, 26, 0.14);
  --dark: #10151d;
  --brand: #d53234;
  --brand-deep: #921f29;
  --brand-bright: #ff6a5c;
  --brand-soft: #f3d4cd;
  --brand-glow: rgba(213, 50, 52, 0.22);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 21, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(16, 21, 29, 0.78);
  border: 1px solid rgba(243, 212, 205, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
}

.brand-logo {
  width: clamp(158px, 18vw, 218px);
  height: 34px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 750;
}

nav a {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
  background: rgba(213, 50, 52, 0.24);
  outline: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: var(--dark);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 21, 29, 0.96) 0%, rgba(50, 19, 24, 0.82) 38%, rgba(16, 21, 29, 0.1) 78%),
    linear-gradient(0deg, rgba(16, 21, 29, 0.3), transparent 34%);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  min-height: 88svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 122px 0 84px;
  color: #fff;
}

.kicker,
.game-copy span {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--brand-bright);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-top: 18px;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.93;
}

.hero-panel p:not(.kicker) {
  width: min(570px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.8vw, 22px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(146, 31, 41, 0.32);
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(135deg, #ec4644, var(--brand-deep));
  outline: none;
}

.intro,
.capabilities,
.games,
.publishing,
.contact {
  padding-inline: max(20px, calc((100vw - 1160px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro .kicker {
  grid-column: 1 / -1;
}

.intro h2,
.section-head h2,
.studio h2,
.publishing h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  text-wrap: balance;
}

.intro p:not(.kicker),
.studio p,
.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--line);
}

.capabilities article {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--paper);
}

.capabilities span,
.game-details dt {
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capabilities h3 {
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.capabilities p {
  margin: auto 0 0;
  color: var(--muted);
}

.games {
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(78px, 9vw, 126px);
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2,
.studio h2,
.publishing h2,
.contact h2 {
  margin-top: 10px;
}

.section-head > p:not(.kicker) {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2d8c6;
}

.game-copy {
  padding: clamp(20px, 3vw, 30px);
}

.game-copy h3 {
  margin-top: 8px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1;
}

.game-copy p {
  margin: 12px 0 0;
  max-width: 520px;
  color: var(--muted);
}

.game-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  padding: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.game-details div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.42);
}

.game-details dt,
.game-details dd {
  margin: 0;
}

.game-details dd {
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 8vw, 96px);
  padding: clamp(76px, 9vw, 120px) max(20px, calc((100vw - 1160px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 8% 16%, rgba(213, 50, 52, 0.24), transparent 28%),
    var(--dark);
}

.studio .kicker {
  color: var(--brand-bright);
}

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

.studio-grid div {
  min-height: 188px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.studio-grid strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
}

.studio-grid p {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.publishing {
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(72px, 9vw, 112px);
  background: var(--surface);
}

.publishing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 6vw, 84px);
  align-items: end;
}

.publishing-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
  margin-top: 34px;
}

.market-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 22%, rgba(213, 50, 52, 0.3), transparent 25%),
    radial-gradient(circle at 28% 74%, rgba(146, 31, 41, 0.34), transparent 31%),
    linear-gradient(135deg, #11151a, #35151c);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.market-map::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.map-ring {
  position: absolute;
  width: 330px;
  height: 180px;
  left: 50%;
  top: 48%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 12px var(--brand-glow);
}

.dot-sea {
  right: 28%;
  bottom: 30%;
  background: #f06a55;
}

.dot-me {
  right: 36%;
  top: 42%;
}

.dot-eu {
  left: 36%;
  top: 34%;
  background: var(--brand-deep);
}

.dot-us {
  left: 22%;
  top: 46%;
  background: var(--brand-soft);
}

.map-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  gap: 8px;
}

.map-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
}

.map-copy span {
  width: min(340px, 100%);
  color: rgba(255, 255, 255, 0.74);
}

.market-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-card {
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f0e3d6;
}

.market-card:nth-child(2),
.market-card:nth-child(3) {
  background: #f5eadc;
}

.market-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.02;
}

.market-card p {
  margin: 0;
  color: var(--muted);
}

.market-card small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.publishing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.publishing-strip div {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
}

.publishing-strip strong {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.publishing-strip span {
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(26px, 7vw, 90px);
  align-items: start;
  padding-top: clamp(76px, 9vw, 118px);
  padding-bottom: clamp(76px, 9vw, 118px);
  background: var(--paper);
}

.contact-note {
  max-width: 430px;
  margin-top: 16px;
}

address {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-style: normal;
}

address a {
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 850;
}

address span {
  color: rgba(255, 255, 255, 0.72);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px max(20px, calc((100vw - 1160px) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--dark);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand img {
  width: 154px;
  height: 38px;
  padding: 4px 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    border-radius: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .intro,
  .studio,
  .publishing-head,
  .market-layout,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 9px;
  }

  .brand {
    align-self: flex-start;
    padding: 4px 8px;
  }

  .brand-logo {
    width: 152px;
    height: 32px;
  }

  nav {
    justify-content: space-between;
    gap: 2px;
    font-size: 12px;
  }

  nav a {
    padding: 7px 9px;
  }

  .hero,
  .hero-panel {
    min-height: 86svh;
  }

  .hero > img {
    object-position: 76% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 21, 29, 0.96), rgba(50, 19, 24, 0.72)),
      linear-gradient(0deg, rgba(16, 21, 29, 0.44), transparent 42%);
  }

  .hero-panel {
    width: calc(100% - 28px);
    padding-top: 150px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .hero-panel p:not(.kicker),
  .intro p:not(.kicker) {
    font-size: 16px;
  }

  .intro,
  .capabilities,
  .games,
  .publishing,
  .contact {
    padding-inline: 14px;
  }

  .game-grid,
  .capabilities,
  .studio-grid,
  .market-row,
  .publishing-strip {
    grid-template-columns: 1fr;
  }

  .capabilities {
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .capabilities article {
    min-height: 142px;
  }

  .market-map {
    min-height: 340px;
  }

  .map-ring {
    width: 240px;
    height: 130px;
  }

  .studio-grid div {
    min-height: 144px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 20px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
