@font-face {
  font-family: Archivo;
  src: url(assets/Archivo-de.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Pixel;
  src: url(assets/PixelOperator-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17364d;
  --sky: #84dafd;
  --paper: #f5ebd1;
  --white: #fffdf6;
  --blue: #0b6c99;
  --green: #dcebb7;
  --light-blue: #ddf3fc;
  --gold: #f4c34f;
  color: var(--ink);
  font: 1rem / 1.45 Archivo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: var(--sky) url(assets/app-landscape-wide.webp) center 58% / cover no-repeat;
}

.panel {
  width: min(100%, 32rem);
  padding: clamp(1rem, 4.5vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.intro { margin-bottom: 1.15rem; text-align: center; }

.logo { display: inline-block; max-width: 100%; }

.logo img {
  display: block;
  width: clamp(12rem, 58vw, 16rem);
  max-width: 100%;
  height: auto;
}

h1 {
  margin: .15rem 0 0;
  font: 700 clamp(2rem, 8vw, 2.75rem) / 1.05 Pixel, Archivo, sans-serif;
}

.links { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }

.link {
  display: grid;
  align-items: center;
  border: 2px solid var(--ink);
  color: inherit;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 130ms ease, box-shadow 130ms ease;
}

.featured {
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 42%);
  min-height: 7rem;
  background: var(--ink);
  color: var(--white);
}

.featured-copy { display: grid; gap: .35rem; padding: .8rem; }

.featured-title {
  font: 700 clamp(1.45rem, 5.25vw, 2rem) / 1.02 Pixel, Archivo, sans-serif;
  overflow-wrap: anywhere;
}

.featured-action { color: #fff0ba; font-size: .95rem; font-weight: 650; }

.featured img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.standard {
  min-height: 3.4rem;
  padding: .55rem .8rem;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: .75rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.standard svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop { background: var(--blue); color: #fff; }
.contact { background: var(--green); }
.community { background: var(--light-blue); }

@media (hover: hover) {
  .link:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
}

.link:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.1rem;
  margin-top: .9rem;
  font-size: .875rem;
}

footer a { padding: .4rem .15rem; color: inherit; text-underline-offset: .18em; }

@media (max-width: 40rem) {
  body { background-image: url(assets/hero-mobile-pixel.webp); background-position: center bottom; }
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
