:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --ink: #22262d;
  --muted: #535860;
  --line: #d8d5ca;
  --accent: #a64108;
  --art: #0d0c0f;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: .75rem auto auto .75rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  gap: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.brand { display: block; width: clamp(124px, 17vw, 184px); }
.site-header nav { display: flex; align-items: center; gap: clamp(.35rem, 2.3vw, 2rem); }
.site-header nav a { display: grid; place-items: center; min-height: 44px; padding-inline: .25rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.site-header .language { min-width: 44px; border: 1px solid var(--line); border-radius: 6px; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(3.1rem, 7vw, 6.15rem);
  gap: clamp(1rem, 5vw, 4.8rem);
}

.intro h1 { margin: 0; font-size: clamp(3rem, 6.65vw, 6.1rem); font-weight: 800; line-height: .98; letter-spacing: -.058em; }
.intro h1 span { color: var(--accent); }
.intro p { max-width: 43ch; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.23rem); }
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  margin-top: 1.4rem;
  padding: .55rem 1rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fffaf1;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.intro-link:hover { background: var(--accent); }

.brand-art {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-self: end;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 1.28;
  overflow: hidden;
  border: 1px solid #dedacf;
  border-radius: 16px;
  background-color: #f1ede3;
  background-image:
    linear-gradient(to right, #dcd7cb 1px, transparent 1px),
    linear-gradient(to bottom, #dcd7cb 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center;
}

.brand-orbit { position: absolute; width: 66%; aspect-ratio: 1; border: 1px solid #cfbbac; border-radius: 50%; background: #f5f0e5; }
.brand-art img { z-index: 1; width: 57%; }

.games { padding-bottom: clamp(2.75rem, 6vw, 5rem); }
.section-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: .85rem; }
.section-heading::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.section-heading h2 { margin: 0; font-size: .96rem; letter-spacing: .08em; text-transform: uppercase; }

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 14px;
  background: var(--art);
  color: #fcf8ed;
}
.featured-art { display: grid; align-content: center; }
.featured-art img { width: 100%; }
.featured-copy { align-self: center; padding: clamp(1.25rem, 3vw, 2.75rem); border-inline-start: 1px solid #343038; }
.featured h3 { margin: 0; font-size: clamp(1.6rem, 2.7vw, 2.55rem); line-height: 1.1; letter-spacing: -.045em; }
.featured-copy > p { margin: 1rem 0 0; color: #d2cec7; }
.featured-copy .game-genre { margin-top: .55rem; color: #eebc86; font-size: .93rem; font-weight: 650; }
.featured-copy .platforms { margin-top: 1.35rem; color: #eebc86; font-size: .85rem; font-weight: 650; letter-spacing: .04em; }
.platforms span { margin-inline: .2rem; }

.game-details { margin-top: clamp(2rem, 5vw, 3.75rem); }
.game-details h3 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.035em; }
.game-details ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; margin: 0; padding: 0; list-style: none; }
.game-details li { padding-top: .9rem; border-top: 1px solid var(--line); }
.game-details h4 { margin: 0 0 .4rem; font-size: 1.1rem; line-height: 1.3; }
.game-details p { margin: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; padding-block: 1.75rem 2rem; }
.footer-content h2 { margin: 0 0 .2rem; font-size: 1rem; }
.footer-content p { margin: 0; color: var(--muted); font-size: .85rem; }
.email { display: inline-block; padding-block: .35rem; color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 72px; }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); padding-block: 3.25rem; gap: 1rem; }
  .intro h1 { font-size: clamp(2.75rem, 8vw, 4.4rem); }
  .featured { grid-template-columns: 1fr; }
  .featured-copy { padding: 1.4rem 1.35rem 1.65rem; border-inline-start: none; border-top: 1px solid #343038; }
  .game-details ul { grid-template-columns: 1fr; }
  .footer-content { align-items: start; flex-direction: column; }
}

@media (max-width: 490px) {
  .shell { width: calc(100% - 32px); }
  .site-header { gap: .5rem; }
  .brand { width: clamp(108px, 32vw, 135px); }
  .site-header nav { gap: .25rem; }
  .site-header nav a { font-size: .82rem; }
  .intro { grid-template-columns: 1fr; padding-block: 3rem 2.65rem; }
  .intro h1 { font-size: clamp(2.65rem, 11vw, 3.7rem); }
  .intro p { margin-top: 1.15rem; }
  .brand-art { display: none; }
}
