/*
  honeyloom.app styles (ADR 0082), shared by every page. Hand-written; the pages are generated by
  tools/site/build.mjs. Colours are the tokens.json palette (indigo, amber, sand, neutral); type is
  the studio's Fredoka (headings) and Nunito (text), self-hosted under fonts/ (OFL).
*/
@font-face {
  font-family: Fredoka;
  src: url(fonts/Fredoka-Bold.ttf) format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(fonts/Nunito-Variable.ttf) format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --indigo-100: #e9ebff;
  --indigo-200: #d6d9ff;
  --indigo-700: #5144ba;
  --indigo-800: #3d2e99;
  --indigo-900: #2b1c73;
  --ink: #1a0e4f;
  --gold: #ffb842;
  --gold-100: #ffe9cc;
  --gold-700: #7a5200;
  --cream: #fff5e7;
  --sand-200: #eadac2;
  --white: #ffffff;
  --text: #302e3d;
  --neutral-700: #5b586a;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(255 184 66 / 0.18), transparent 50%),
    linear-gradient(var(--indigo-700), var(--indigo-900) 40%, var(--ink));
  background-color: var(--indigo-900);
  color: var(--cream);
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
}
main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}
a {
  color: var(--gold);
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.3px;
}
.honey {
  color: var(--gold);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

/* Top bar and footer */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}
.top nav,
.foot-links,
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.top nav a {
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
  padding: 6px 0;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--gold);
}
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px 36px;
  border-top: 1px solid rgb(255 245 231 / 0.15);
  font-size: 15px;
  text-align: center;
}
.foot a {
  color: var(--cream);
}
.foot p {
  margin: 0;
  opacity: 0.75;
}
.langs a[aria-current] {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

/* Landing page */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 0 24px;
  text-align: center;
}
.hero .mark {
  width: clamp(72px, 16vw, 116px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgb(26 14 79 / 0.55));
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 13vw, 96px);
  line-height: 1;
  letter-spacing: 1px;
  color: var(--white);
  text-shadow:
    0 4px 0 var(--ink),
    0 10px 24px rgb(26 14 79 / 0.5);
}
.tagline {
  margin: 0;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
}
.intro {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  opacity: 0.9;
}
.games h2,
.promises h2 {
  margin: 40px 0 16px;
  font-size: 30px;
  color: var(--white);
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(26 14 79 / 0.45);
  transition: transform 160ms ease-out;
}
.card a:hover {
  transform: translateY(-3px);
}
.card img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 4px 12px rgb(26 14 79 / 0.3);
}
.card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.card-name {
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.card-line {
  font-size: 16px;
  line-height: 1.45;
}
.badge {
  display: inline-block;
  margin: 4px 0 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 14px;
  font-weight: 800;
}
.promises ul {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 22px;
}
.promises li {
  margin: 6px 0;
}
.promises li::marker {
  color: var(--gold);
}
.contact {
  margin-top: 36px;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .card a {
    transition: none;
  }
  .card a:hover {
    transform: none;
  }
}
