:root {
  color-scheme: light;
  --ink: #123a35;
  --ink-soft: #42625d;
  --green: #0d5c4e;
  --green-dark: #073e36;
  --green-pale: #e9f3e9;
  --mango: #f6a51d;
  --paper: #fbfcf8;
  --line: #d6e2d9;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(251, 252, 248, .96); }
.navigation { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: min(188px, 45vw); height: auto; }
nav { display: flex; gap: clamp(.8rem, 2vw, 1.5rem); font-size: .94rem; }
nav a { color: var(--ink-soft); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--green-dark); text-decoration: underline; text-underline-offset: .3rem; }

.intro { max-width: 1120px; padding-block: clamp(4.5rem, 10vw, 7.75rem) clamp(3.5rem, 7vw, 5.25rem); }
.eyebrow, .card-kicker { margin: 0 0 .8rem; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--green-dark); letter-spacing: -.045em; line-height: 1.05; }
h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.lede { max-width: 620px; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.3rem); }

.games { padding-bottom: clamp(5rem, 10vw, 8rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.section-heading > p { max-width: 335px; margin: 0; color: var(--ink-soft); font-size: .96rem; }
.game-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: 1.4rem; padding-top: 1.4rem; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.game-card--featured { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(285px, 1.15fr); min-height: 370px; }
.game-art { position: relative; isolation: isolate; overflow: hidden; min-height: 250px; background: linear-gradient(145deg, #d7eddc 0%, #9dcdb2 100%); }
.art-glow { position: absolute; inset: -20% -20% auto auto; z-index: -1; width: 250px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 234, 143, .72); filter: blur(5px); }
.food { position: absolute; z-index: 1; width: 80%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(8, 55, 40, .2)); }
.food--mango { right: -17%; bottom: -20%; transform: rotate(-12deg); }
.food--okra { left: -23%; top: -10%; width: 62%; transform: rotate(26deg); }
.magnifier { position: absolute; z-index: 2; left: 48%; top: 26%; width: 68px; height: 68px; border: 8px solid var(--green-dark); border-radius: 50%; background: rgba(255,255,255,.18); transform: rotate(-15deg); }
.magnifier::after { content: ""; position: absolute; width: 42px; height: 10px; left: 48px; top: 54px; border-radius: 999px; background: var(--green-dark); transform: rotate(42deg); transform-origin: left center; }
.game-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.65rem, 4vw, 2.5rem); }
.game-card__body p:not(.card-kicker) { max-width: 430px; margin: 1rem 0 1.75rem; color: var(--ink-soft); }
.button { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding: .78rem 1.1rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .95rem; font-weight: 750; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--green-dark); transform: translateY(-2px); }
.button span { font-size: 1.2rem; line-height: 1; }
.game-card--soon { display: flex; flex-direction: column; justify-content: space-between; background: #f1f6f0; }
.soon-mark { display: grid; width: 54px; height: 54px; margin: 1.6rem; place-items: center; border: 1px solid #b8cdbd; border-radius: 50%; color: var(--green); font-size: 1.9rem; }
.game-card--soon .game-card__body { padding-top: 0; }

.site-footer { border-top: 1px solid var(--line); background: var(--green-dark); color: #e5f2e7; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 120px; font-size: .88rem; }
.footer-content p { max-width: 535px; margin: 0; }
.footer-content div { display: flex; gap: 1rem; }
.footer-content a { color: #fff; }
.not-found { display: flex; min-height: 100vh; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { max-width: 630px; }
.not-found > p:not(.eyebrow) { color: var(--ink-soft); }

@media (max-width: 760px) {
  .navigation { min-height: 68px; }
  nav { gap: .75rem; font-size: .86rem; }
  .section-heading, .footer-content { align-items: flex-start; flex-direction: column; }
  .game-grid, .game-card--featured { grid-template-columns: 1fr; }
  .game-card--featured { min-height: 0; }
  .game-art { min-height: 270px; }
  .footer-content { justify-content: center; padding-block: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
