/* Bobbin's Harbor games: site styles (the games landing page; game pages use body.play and their own game.css).
   Harbor paper palette from the approved style bible (styling-pass/FINAL). Fredoka is bundled locally (SIL OFL 1.1). */
@font-face { font-family: Fredoka; src: url(../fonts/fredoka.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
:root { --navy: #1E3A5F; --night: #163049; --orange: #EE5A2A; --yellow: #F2C23A; --teal: #2A9C8C; --foam: #FFF6EA; --sky: #9FD3E6; --sky-lo: #E6F3F6; --sand: #EAD7B4; --drift: #B98B5B; }
body.site { margin: 0; background: var(--sky-lo); color: var(--navy); font-family: Fredoka, "Trebuchet MS", system-ui, sans-serif; font-size: 20px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
body.site img { max-width: 100%; height: auto; display: block; }
body.site .top { display: flex; align-items: center; padding: 10px 16px; background: var(--foam); border-bottom: 4px solid var(--teal); }
body.site .home { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 26px; min-height: 64px; }
body.site .home img { width: 56px; height: 56px; }
body.site .hero { position: relative; }
body.site .hero .banner { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
body.site .hero h1 { display: table; margin: -38px auto 0; position: relative; padding: 4px 38px 8px; background: var(--foam); border: 4px solid var(--teal); border-radius: 999px; font-size: clamp(34px, 6vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: 0.5px; box-shadow: 0 6px 0 rgba(22, 48, 73, 0.18); }
body.site .lead { text-align: center; font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; margin: 14px 16px 6px; }
body.site .tiles { list-style: none; margin: 0 auto; padding: 16px; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
body.site .tile { display: flex; flex-direction: column; background: var(--foam); border: 5px solid var(--navy); border-radius: 32px; overflow: hidden; color: var(--navy); text-decoration: none; box-shadow: 0 8px 0 var(--navy); transition: transform .12s ease, box-shadow .12s ease; }
body.site .tile:hover { transform: translateY(-3px); box-shadow: 0 11px 0 var(--navy); }
body.site .tile:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--navy); }
body.site .tile:focus-visible { outline: 7px solid var(--yellow); outline-offset: 5px; }
body.site .tile img { aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 5px solid var(--navy); }
body.site .tile .name { display: block; padding: 16px 20px 2px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; }
body.site .tile .what { display: block; padding: 2px 20px 20px; font-size: 20px; }
body.site .grownups { max-width: 900px; margin: 40px auto 24px; padding: 24px 28px; background: var(--foam); border-radius: 24px; border: 3px solid var(--sand); font-size: 18px; }
body.site .grownups h2 { margin: 0 0 8px; font-size: 26px; }
body.site .grownups h3 { margin: 18px 0 4px; font-size: 21px; }
body.site .grownups ul { margin: 0; padding-left: 22px; }
body.site .grownups li { margin: 6px 0; }
body.site .foot { text-align: center; font-size: 15px; padding: 16px 16px 30px; color: var(--night); }
@media (prefers-reduced-motion: reduce) { body.site .tile { transition: none; } }
@media (max-width: 520px) { body.site .hero .banner { aspect-ratio: 16 / 9; } body.site .tiles { padding: 12px 16px; gap: 22px; } }
