/* Give the artwork room, with a quieter studio masthead and clear game controls. */
@font-face {
  font-family: 'Studio Display';
  src: url('./assets/studio-display.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root { --paper: #faf6ef; --line: #cbd2ca; }
.site-header { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); }
.origin {
  display: block;
  min-height: 0;
  color: var(--ink);
  background: var(--paper);
}
.origin::before { display: none; }
.origin-inner { padding-block: clamp(50px, 6vw, 88px) 40px; text-align: center; }
.origin-kicker { color: #526467; margin-bottom: 19px; }
.origin h1 {
  max-width: 100%;
  margin-inline: auto;
  font-family: 'Studio Display', 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: clamp(64px, 8.4vw, 120px);
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.origin h1 em { display: block; color: #23616a; font: inherit; white-space: nowrap; }
.origin-description { max-width: 42ch; margin: 22px auto 0; color: #526467; font-size: 15px; }
.origin-actions { justify-content: center; margin-top: 30px; gap: 12px; }
.origin-explore { min-height: 46px; border: 1px solid var(--ink); background: #b8d9d1; color: var(--ink); padding-inline: 23px; }
.origin-explore:hover { background: #cce8df; }
.origin-replay { min-height: 46px; padding-inline: 20px; border: 1px solid #8da4a2; border-radius: 30px; color: #435e63; }
.origin-replay:hover { color: var(--ink); }
.origin-picture { height: clamp(260px, 35vw, 480px); overflow: hidden; border-radius: 18px; background: #031623; }
.origin .origin-art { position: static; width: 100%; height: 100%; object-position: center 52%; }
.origin :is(a, button):focus-visible { outline-color: #23616a; }
.games .section-heading { align-items: center; gap: 20px; }
.games { padding-block: 100px; }
.games .section-heading h2 { font: 600 clamp(45px, 5vw, 64px)/1 'Studio Display', 'Arial Narrow', sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 12px/1.4 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.text-action:hover { color: #23616a; }
.text-action:focus-visible { outline: 2px solid #23616a; outline-offset: 5px; }
.rankings-link { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid #8da4a2; border-radius: 30px; }
.rankings-link .arrow-icon { width: 18px; height: 18px; }
.olympics-feature { margin-bottom: 48px; border: 1px solid #708986; border-radius: 18px; overflow: hidden; background: #f3f4ec; }
.inline-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 22px 24px 19px; }
.inline-heading .eyebrow { margin: 0 0 7px; font-size: 9px; color: #526467; }
.inline-heading h3 { margin: 0; font: 600 clamp(28px, 3vw, 40px)/1 'Studio Display', 'Arial Narrow', sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.inline-heading .text-action { min-height: 36px; }
.olympics-frame { display: block; width: 100%; height: 600px; border: 0; border-block: 1px solid #708986; background: #082c42; }
.inline-note { margin: 0; padding: 13px 24px; font-size: 11px; line-height: 1.5; color: #526467; }
.games-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.games-more .game, .chill .game { border: 1px solid #8da4a2; border-radius: 16px; overflow: hidden; }
.games-more .poster { border-radius: 0; border-bottom: 1px solid #8da4a2; }
.games-more .game-info { padding: 18px; border: 0; }
.games-more .game h3, .chill .game h3 { font: 600 30px/1 'Studio Display', 'Arial Narrow', sans-serif; letter-spacing: -.015em; margin-bottom: 8px; }
.raid-version { margin: 0 18px 14px; gap: 7px; font-size: 11px; min-height: 36px; }
.version-label { border: 1px solid #90a6a8; border-radius: 3px; font-size: 9px; padding: 2px 5px; }
.chill .game-grid { grid-template-columns: 1fr; }
.chill .game-link { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #e8eee5; }
.chill .poster { border-radius: 0; }
.chill .game-info { padding: 30px; border: 0; }
.chill .game h3 { font-size: 44px; }
.chill .game-info p { max-width: 27ch; line-height: 1.6; }
.site-header picture { display: flex; align-items: center; }
.principle-star { color: var(--ink); }
.principle-star svg { width: 1em; height: 1em; }
.inline-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-right: 24px; }
.inline-foot .text-action { flex: none; }
.game-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 18px 14px; }
.game-card-actions .text-action { font-size: 11px; min-height: 44px; }
.daily-link { color: #23616a; }
.daily-link span { font-size: 17px; }
.game-play-link:focus-visible { outline-offset: -4px; }
@media (min-width: 1000px) {
  .site-header { background: #071c28; color: #f7f5eb; border-color: #28444e; box-shadow: 0 0 0 100vmax #071c28; }
  .site-header nav a:hover { color: #b7e5da; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .origin { min-height: clamp(510px, 65vw, 650px); display: grid; align-items: center; background: #071c28; color: #f7f5eb; }
  .origin-picture { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: -2; border-radius: 0; }
  .origin .origin-art { object-position: center 48%; }
  .origin::before { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071c28fa 0%, #071c28ef 28%, #071c28b5 45%, #071c281a 70%), linear-gradient(0deg,#071c2870,transparent 35%); }
  .origin-inner { display: grid; grid-template-columns: 46% 54%; padding-block: 56px; }
  .origin-inner > * { grid-column: 1; }
  .origin-kicker { color: #bddcd7; }
  .origin h1 { font-size: clamp(76px, 8.1vw, 118px); }
  .origin h1 em { color: #b8e7dc; }
  .origin-description { color: #d1e2e3; max-width: 32ch; }
  .origin-replay { color: #e5f1ec; border-color: #71918f; }
  .origin-replay:hover { color: #b8e7dc; }
  .origin :is(a,button):focus-visible { outline-color: #b8e7dc; }
}
@media (max-width: 700px) {
  .origin-inner { padding-block: 43px 30px; }
  .origin h1 { max-width: 100%; font-size: clamp(60px, 14vw, 84px); }
  .origin-description { max-width: 30ch; font-size: 13px; margin-top: 19px; }
  .origin-picture { height: clamp(250px, 72vw, 380px); }
  .origin .origin-art { object-position: 74% 50%; }
  .games { padding-block: 44px; }
  .games .section-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
  .games .section-heading h2 { font-size: clamp(36px, 9.5vw, 48px); }
  .inline-heading { align-items: center; padding: 18px 16px; }
  .inline-heading .text-action { font-size: 10px; }
  .olympics-frame { height: clamp(560px, 84svh, 660px); }
  .olympics-feature { margin-bottom: 36px; }
  .inline-note { padding: 12px 16px; }
  .games-more { grid-template-columns: 1fr; }
  .chill .game-link { grid-template-columns: 1fr; }
  .chill .game-info { padding: 22px; }
  .inline-foot { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 16px 8px; }
  .inline-foot .inline-note { padding: 12px 0 0; }
  .inline-foot .text-action { min-height: 44px; }
  .game-card-actions { padding-inline: 18px; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
}
