@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --paper: #fcfcf9;
  --ink: #192934;
  --muted: #55636c;
  --navy: #172733;
  --accent: #f79779;
  --rule: #d8dedc;
  --section: #edf1ef;
  --focus: #326fa3;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 "DM Sans", system-ui, sans-serif;
}
h1, h2, h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.12;
}
h2 { font-size: clamp(1.85rem, 3.7vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
p, figure, ul { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }

.site-header, .hero, .site-footer { background: var(--navy); color: #fffdfa; }
.site-header { border-bottom: 1px solid #ffffff28; }
.mast { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 50px; border-radius: 7px; }
.brand span { font: 700 1.02rem/1.15 Inter, system-ui, sans-serif; letter-spacing: -.025em; }
.brand small { display: block; color: #c0cbd2; margin-top: .16rem; font-size: .75rem; font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.75rem, 3.4vw, 2.5rem); }
nav a { font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: clamp(2.25rem, 7vw, 6rem);
  padding-block: clamp(2.75rem, 7vw, 5.75rem);
  align-items: center;
}
.hero h1 { font-size: clamp(3.4rem, 6.5vw, 6rem); letter-spacing: -.07em; line-height: .99; }
.hero .label { color: #b9cdd0; margin-bottom: 1.2rem; }
.label {
  font-size: .83rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.4;
}
.hero-intro { max-width: 34ch; margin-top: 1.35rem; color: #e3e8e9; font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.hero-art { background: #efede2; border: 1px solid #ffffff33; }
.hero-art img { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .55rem 1.15rem;
  background: var(--accent);
  color: #18242d;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #ffac91; }
.hero-link { font-weight: 600; }
.site-header a:focus-visible, .hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent); }

.section { padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
.section-head p { margin-top: .5rem; color: var(--muted); }
.search label { display: block; font-size: .85rem; font-weight: 700; }
.search input {
  width: min(100%, 16rem);
  padding: .55rem .75rem;
  margin-top: .3rem;
  border: 1px solid #93a09f;
  border-radius: 3px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}
.game-grid, .pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.game { border-bottom: 1px solid var(--rule); }
.game > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #dfe5e2; }
.game-details { padding-block: .9rem 1.2rem; }
.game h3, .pick h3 { margin-top: .35rem; }
.game h3 + p, .pick h3 + p { margin-top: .45rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: .7rem; font-weight: 700; font-size: .94rem; }

.editorial { background: var(--section); }
.pick-image { display: block; }
.pick img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: #dce3df; }
.pick .label { margin-top: .9rem; }
.news { border-top: 1px solid #c8d2ce; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.news-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 2.25rem clamp(2.25rem, 7vw, 6rem); }
.news h3 { margin: .5rem 0; }
.news article > p:not(.label) { color: var(--muted); max-width: 56ch; }
.news-list, .social-grid ul { list-style: none; padding: 0; }
.news-list { margin-top: .4rem; }
.news-list li { border-bottom: 1px solid #c8d2ce; }
.news-list a { display: block; padding-block: .55rem; }

.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.social-grid > div { padding-top: .95rem; border-top: 1px solid var(--rule); }
.social-grid h3 { font-size: 1.06rem; letter-spacing: -.025em; }
.social-grid ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; color: var(--muted); }
.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-block: 2.5rem;
}
.site-footer h2 { font-size: 1.2rem; }
.site-footer p { max-width: 42ch; color: #d7e0e4; margin: .6rem 0; }
.site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip { position: absolute; top: -5rem; left: 1rem; padding: .65rem 1rem; background: #fff; z-index: 2; }
.skip:focus { top: 1rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-layout { gap: 2rem; }
  .hero h1 { font-size: clamp(2.95rem, 7vw, 4.5rem); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .mast { min-height: 72px; gap: 1rem; }
  .game-grid, .pick-grid, .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 560px; }
  .news-grid, .footer-layout { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .wrap { width: calc(100% - 32px); }
  .mast { flex-wrap: wrap; gap: .65rem; padding-block: .85rem; }
  nav { gap: .5rem 1.15rem; }
  nav a { font-size: .88rem; }
  .hero-layout { padding-block: 2.5rem; gap: 1.5rem; }
  .game-grid, .pick-grid { grid-template-columns: 1fr; }
}
