@font-face {
  font-family: "Press Start 2P";
  src: url("assets/press-start-2p.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --ink: #dcebdc;
  --muted: #8eaa91;
  --deep: #0c1711;
  --panel: #122219;
  --panel-lift: #172d20;
  --line: #2f553a;
  --frog: #9fdc58;
  --lime: #d4f46f;
  --warm: #f6e8bd;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Press Start 2P", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  image-rendering: pixelated;
}

#rain-field { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .38; image-rendering: pixelated; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
body { transition: background-color 700ms ease, color 700ms ease; }
body[data-weather="clear"] { --deep: #172319; --panel: #1c3021; --panel-lift: #24402a; --line: #4a6944; --frog: #b1df65; --lime: #e1f47b; --warm: #fff0be; }
body[data-weather="night"] { --deep: #0a121c; --panel: #101d2b; --panel-lift: #172a3b; --line: #2c4658; --frog: #88c5a8; --lime: #b5e2be; --warm: #dce9e4; }
body[data-weather="day"] { --deep: #304c2a; --panel: #355733; --panel-lift: #416b3c; --line: #759353; --frog: #c9ed72; --lime: #f5f29a; --warm: #fff5c9; }
body[data-weather="snow"] { --deep: #17242a; --panel: #1d3035; --panel-lift: #284148; --line: #46616a; --frog: #b9e7d0; --lime: #e5f6df; --warm: #eff7e8; }
#rain-field { opacity: 0; transition: opacity 700ms ease; }
body[data-weather="rain"] #rain-field { opacity: .72; }
body[data-weather="snow"] #rain-field { opacity: .9; }
.weather-sky, .weather-clouds { position: fixed; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.weather-sky::before, .weather-sky::after { display: none; position: absolute; content: ""; pointer-events: none; }
.sky-sun, .sky-moon { position: absolute; top: 104px; right: 11vw; display: none; width: 52px; height: 52px; image-rendering: pixelated; }
body[data-weather="clear"] .weather-sky, body[data-weather="day"] .weather-sky { background: rgba(255, 215, 104, .045); }
body[data-weather="clear"] .weather-sky::before, body[data-weather="day"] .weather-sky::before { display: block; top: 67px; right: calc(11vw + 21px); width: 10px; height: 23px; background: #f8c743; box-shadow: 0 114px 0 #f8c743, -57px 57px 0 #f8c743, 57px 57px 0 #f8c743; animation: sun-rays 6s steps(4, end) infinite; }
body[data-weather="clear"] .weather-sky::after, body[data-weather="day"] .weather-sky::after { display: block; top: 76px; right: calc(11vw - 5px); width: 96px; height: 96px; border: 8px solid rgba(255, 224, 123, .075); box-shadow: 0 0 0 14px rgba(255, 224, 123, .04); }
body[data-weather="clear"] .sky-sun, body[data-weather="day"] .sky-sun { display: block; background: #ffd65c; clip-path: polygon(25% 0, 75% 0, 75% 8%, 92% 8%, 92% 25%, 100% 25%, 100% 75%, 92% 75%, 92% 92%, 75% 92%, 75% 100%, 25% 100%, 25% 92%, 8% 92%, 8% 75%, 0 75%, 0 25%, 8% 25%, 8% 8%, 25% 8%); box-shadow: 0 -42px 0 -18px #f8c743, 0 94px 0 -18px #f8c743, -42px 0 0 -18px #f8c743, 94px 0 0 -18px #f8c743, -30px -30px 0 -18px #f8c743, 30px -30px 0 -18px #f8c743, -30px 30px 0 -18px #f8c743, 30px 30px 0 -18px #f8c743; filter: drop-shadow(0 0 13px rgba(255, 211, 77, .9)) drop-shadow(0 0 34px rgba(255, 202, 62, .48)); animation: sun-pulse 6s steps(4, end) infinite; }
body[data-weather="clear"] .sky-sun::before, body[data-weather="day"] .sky-sun::before { position: absolute; inset: -30px; border: 8px solid rgba(255, 222, 116, .12); box-shadow: 0 0 0 12px rgba(255, 222, 116, .06), inset 0 0 0 8px rgba(255, 222, 116, .04); content: ""; }
body[data-weather="clear"] .sky-sun::after, body[data-weather="day"] .sky-sun::after { position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; background: #fff0a0; content: ""; opacity: .68; }
@keyframes sun-pulse { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.035); } }
@keyframes sun-rays { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
body[data-weather="night"] .sky-moon { display: block; background: #e8f1cf; box-shadow: 7px 0 #e8f1cf, -7px 0 #d0dfc1, 0 7px #e8f1cf, 0 -7px #e8f1cf, 0 0 0 11px rgba(219, 239, 215, .08), 0 0 0 22px rgba(219, 239, 215, .04); filter: drop-shadow(0 0 9px rgba(218, 239, 217, .5)); }
body[data-weather="night"] .sky-moon::after { position: absolute; top: -3px; left: 9px; width: 25px; height: 25px; background: var(--deep); content: ""; }
.sky-haze { position: absolute; top: 52px; right: calc(9vw - 27px); display: none; width: 78px; height: 78px; border: 2px solid rgba(217, 239, 216, .08); box-shadow: 0 0 0 8px rgba(217, 239, 216, .035), 0 0 20px 7px rgba(217, 239, 216, .08); }
body[data-weather="night"] .sky-haze { display: block; }
.weather-cloud { position: absolute; top: 26px; display: block; width: 126px; height: 16px; background: #1a2b22; opacity: 0; transition: opacity 700ms ease; animation: cloud-drift 28s linear infinite; }
.weather-cloud::before { position: absolute; left: 22px; top: -12px; width: 38px; height: 14px; background: #1a2b22; content: ""; box-shadow: 34px 6px 0 #1a2b22; }
.weather-cloud::after { position: absolute; left: 46px; top: -20px; width: 28px; height: 12px; background: #1a2b22; content: ""; }
body[data-weather="rain"] .weather-cloud { opacity: .94; }
body[data-weather="snow"] .weather-cloud { background: #31464b; opacity: .72; }
body[data-weather="snow"] .weather-cloud::before { background: #31464b; box-shadow: 34px 6px 0 #31464b; }
body[data-weather="snow"] .weather-cloud::after { background: #31464b; }
.cloud-one { left: 7%; animation-duration: 34s; }
.cloud-two { top: 48px; left: 43%; transform: scale(.8); animation-duration: 42s; animation-delay: -13s; }
.cloud-three { top: 18px; left: 76%; transform: scale(.64); animation-duration: 38s; animation-delay: -22s; }
@keyframes cloud-drift { from { margin-left: -80px; } to { margin-left: 80px; } }

.boot-screen {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: var(--deep);
  transition: opacity 380ms ease, visibility 380ms ease;
}
.site-ready .boot-screen { visibility: hidden; opacity: 0; pointer-events: none; }
#boot-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; image-rendering: pixelated; }
.boot-stage { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 20px; padding: 24px; text-align: center; }
.boot-kicker { margin: 0; color: var(--frog); font-size: 8px; letter-spacing: 1px; opacity: 0; animation: boot-rise 500ms steps(3, end) 120ms forwards; }
.boot-frogs { position: relative; width: min(270px, 64vw); aspect-ratio: 1; }
.boot-frog { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line); background: var(--panel); opacity: 0; transform: translateY(20px) scale(.94); transition: opacity 360ms steps(3, end), transform 460ms cubic-bezier(.22,.8,.24,1); }
.boot-frog.is-active { opacity: 1; transform: translateY(0) scale(1); }
.boot-label { min-width: 13ch; min-height: 1.7em; margin: 0; color: var(--warm); font-size: clamp(15px, 3.8vw, 24px); line-height: 1.6; letter-spacing: 1px; }
.boot-skip { position: absolute; right: 20px; bottom: 20px; padding: 6px 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: inherit; font-size: 8px; cursor: pointer; }
.boot-skip:hover { color: var(--warm); border-color: var(--frog); }
@keyframes boot-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.site-header, main > section, .site-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--warm); font-size: 12px; white-space: nowrap; }
.wordmark-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--frog); color: var(--deep); font-size: 9px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; color: var(--muted); }
.main-nav a, .nav-link, .footer-links a { transition: color 160ms ease; }
.main-nav a:hover, .nav-link:hover, .footer-links a:hover { color: var(--lime); }
.nav-link { color: var(--warm); white-space: nowrap; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; padding: 82px 0 68px; align-items: end; }
.eyebrow { margin: 0 0 22px; color: var(--frog); font-size: 9px; letter-spacing: 1px; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 24px; color: var(--warm); font-size: clamp(30px, 7vw, 66px); line-height: 1.35; font-weight: 400; }
h2 { margin-bottom: 22px; color: var(--warm); font-size: clamp(17px, 2.3vw, 25px); line-height: 1.55; font-weight: 400; }
.intro-lede { max-width: 680px; margin-bottom: 34px; color: var(--ink); font-size: 13px; line-height: 2.1; }
.primary-action { display: inline-flex; align-items: center; gap: 17px; padding: 15px 18px; background: var(--frog); color: var(--deep); line-height: 1; }
.primary-action:hover { background: var(--lime); }
.intro-note { padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); }
.note-label { margin-bottom: 11px; color: var(--frog); font-size: 8px; }
.note-value { margin-bottom: 12px; color: var(--warm); font-size: 11px; }
.current-weather { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--warm); font-size: 9px; }
.weather-mark { display: inline-grid; place-items: center; min-width: 28px; height: 22px; background: var(--frog); color: var(--deep); font-size: 8px; }
.weather-mark > span { display: block; width: 8px; height: 8px; background: currentColor; box-shadow: 6px 0 currentColor, -6px 0 currentColor, 0 6px currentColor, 0 -6px currentColor; }
.weather-mark-rain > span { width: 2px; height: 10px; transform: skew(-14deg); box-shadow: 5px 0 currentColor, 10px 0 currentColor; }
.weather-mark-night > span { width: 11px; height: 11px; box-shadow: 4px 0 var(--frog), 0 6px currentColor, -4px 0 currentColor; }
.weather-mark-snow > span { width: 2px; height: 12px; box-shadow: 5px 0 currentColor, -5px 0 currentColor; }
.note-copy { margin-bottom: 0; font-size: 11px; line-height: 1.8; }

.pond-banner { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); align-items: center; gap: 34px; padding: 24px; background: var(--panel); border-block: 1px solid var(--line); }
.pond-banner-copy .eyebrow { margin-bottom: 15px; }
.pond-banner-copy h2 { margin-bottom: 14px; }
.pond-banner-copy p:not(.eyebrow) { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.pond-banner-frogs { display: grid; grid-template-columns: repeat(3, minmax(0, 118px)); justify-content: end; gap: 8px; }
.pond-banner-frogs img { display: block; width: 118px; aspect-ratio: 1; object-fit: cover; background: var(--panel-lift); border: 1px solid var(--line); }

.weather-forecast { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.forecast-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.forecast-heading .eyebrow { margin: 0; }
.forecast-clock { margin: 0; color: var(--muted); font-size: 8px; }
.forecast-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.forecast-item { min-width: 0; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
.forecast-item.is-current { border-color: var(--frog); }
.forecast-time { display: block; margin-bottom: 11px; color: var(--muted); font-size: 8px; }
.forecast-symbol { display: block; margin-bottom: 8px; color: var(--frog); font-size: 13px; letter-spacing: 1px; }
.forecast-symbol { min-height: 18px; }
.forecast-symbol .weather-symbol-glyph { font-size: 9px; letter-spacing: 0; }
.forecast-symbol-snow .weather-symbol-glyph { color: #d7f1df; }
.forecast-name { display: block; overflow: hidden; color: var(--warm); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.forecast-detail { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }

.collection-section { padding: 86px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 0; }
.section-count { margin: 0 0 3px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.frog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.frog-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.frog-card:hover { background: var(--panel-lift); border-color: var(--frog); }
.frog-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #17251b; }
.frog-card-info { padding: 10px 9px 12px; }
.frog-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.frog-id { color: var(--warm); font-size: 9px; }
.rarity { font-size: 8px; }
.rarity.common { color: var(--muted); }
.rarity.uncommon { color: #91d9af; }
.rarity.rare { color: #77c9f2; }
.rarity.epic { color: #d195f1; }
.rarity.legendary { color: #f5c968; }
.frog-trait { overflow: hidden; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.frog-background { margin-top: 3px; color: var(--frog); font-size: 8px; }
.grid-message { grid-column: 1 / -1; padding: 30px; color: var(--muted); border: 1px solid var(--line); }

.about-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 80px; padding: 80px 0; border-top: 1px solid var(--line); }
.about-copy > p:not(.eyebrow) { max-width: 650px; font-size: 11px; line-height: 2; }
.about-copy .muted { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 28px 36px; }
.stat { padding-top: 16px; border-top: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: 9px; color: var(--lime); font-size: 21px; font-weight: 400; }
.stat span { color: var(--muted); font-size: 9px; }

.next-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 80px 0 96px; border-top: 1px solid var(--line); }
.next-section h2 { margin-bottom: 15px; }
.next-section p:not(.eyebrow) { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 2; }
.status-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 9px; text-transform: uppercase; }
.status-button:disabled { cursor: not-allowed; opacity: 1; }
.status-dot { width: 7px; height: 7px; background: var(--frog); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.footer-links { display: flex; gap: 24px; color: var(--warm); }

@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 16px 24px; padding: 18px 0; }
  .main-nav { order: 3; width: 100%; margin-left: 0; }
  .intro { grid-template-columns: 1fr; gap: 34px; padding: 60px 0 52px; }
  .intro-note { max-width: 360px; }
  .pond-banner { grid-template-columns: 1fr; gap: 24px; }
  .pond-banner-copy p:not(.eyebrow) { max-width: 460px; }
  .frog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 560px) {
  body { font-size: 10px; }
  .site-header, main > section, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .pond-banner { padding: 18px; }
  .pond-banner-frogs { grid-template-columns: repeat(3, minmax(0, 82px)); gap: 6px; justify-content: start; }
  .pond-banner-frogs img { width: 82px; }
  .forecast-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .frog-card-info { padding: 8px 7px 10px; }
  .frog-card-top { align-items: start; flex-direction: column; gap: 4px; }
  .frog-trait { font-size: 7px; }
  .next-section { align-items: start; flex-direction: column; }
  .site-footer { align-items: start; flex-direction: column; }
}
