/* Boring Lava — shared site styles (homepage + game pages). */

:root {
  --ink: #111616;
  --ink-2: #181f1e;
  --ink-3: #222a29;
  --on-ink: #f3efe7;
  --on-ink-muted: rgba(243, 239, 231, .68);
  --on-ink-faint: rgba(243, 239, 231, .42);
  --ink-line: rgba(243, 239, 231, .12);

  --paper: #f3efe7;
  --paper-2: #ebe4d6;
  --cream: #faf4e6;
  --text: #1b2220;
  --muted: #5b6461;
  --rule: #dcd3c2;

  --lava: #ec4a1d;
  --lava-ink: #c43d16;
  --lava-glow: rgba(236, 74, 29, .45);

  --green: #0f3a1c;
  --green-2: #1b4d2b;
  --butter: #f8f0d8;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--lava-ink); text-underline-offset: .18em; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
}

p { margin: 0; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  padding: .5rem .9rem; border-radius: 6px;
  background: var(--lava); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

:focus-visible { outline: 3px solid var(--lava); outline-offset: 3px; border-radius: 4px; }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--lava);
  box-shadow: 0 0 12px var(--lava-glow);
}
.on-ink .eyebrow { color: var(--on-ink-muted); }

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.on-ink .section-head p { color: var(--on-ink-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .75rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font: 650 1rem/1.2 var(--font-body);
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-lava { background: var(--lava); color: #fff; box-shadow: 0 3px 0 #a8330f, 0 10px 24px -10px var(--lava-glow); }
.btn-lava:hover { background: #f25a2c; box-shadow: 0 5px 0 #a8330f, 0 14px 28px -10px var(--lava-glow); }

.btn-ghost { border-color: var(--ink-line); color: var(--on-ink); }
.btn-ghost:hover { border-color: rgba(243, 239, 231, .4); }

.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--paper); }

.btn-cream { background: var(--butter); color: var(--green); box-shadow: 0 3px 0 #c9b98f; }
.btn-cream:hover { background: #fff8e6; box-shadow: 0 5px 0 #c9b98f; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .32rem .75rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.3;
}
.chip-status { background: var(--green); border-color: var(--green); color: var(--butter); }
.chip-status::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #f5b73b;
  box-shadow: 0 0 0 3px rgba(245, 183, 59, .25);
  animation: pulse 2.4s ease-in-out infinite;
}
.chip-quiet { color: var(--green-2); }

/* Gingham tablecloth band — a nod to the market stalls in Farmers Market Story. */
.gingham {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(15, 58, 28, .55) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(15, 58, 28, .55) 0 7px, transparent 7px 14px),
    var(--butter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--on-ink);
  text-decoration: none;
}
.brand img { width: 2.3rem; height: 2.3rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  margin-top: .1rem;
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .45rem .75rem;
  border-radius: 6px;
  color: var(--on-ink-muted);
  font-size: .94rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav a:hover { color: var(--on-ink); background: var(--ink-3); }
.site-nav a.nav-cta { margin-left: .5rem; border: 1.5px solid var(--lava); color: var(--on-ink); }
.site-nav a.nav-cta:hover { background: var(--lava); }

@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 72% 112%, rgba(236, 74, 29, .26), transparent 70%),
    radial-gradient(ellipse 60% 45% at 30% -20%, rgba(255, 255, 255, .045), transparent 65%),
    var(--ink);
  color: var(--on-ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .98;
}
.hero h1 span { display: block; color: var(--lava); }
.hero-lede {
  max-width: 34rem;
  margin-top: 1.6rem;
  color: var(--on-ink-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}
.hero-lede strong { color: var(--on-ink); font-weight: 650; }
.hero-mark { justify-self: center; width: min(100%, 380px); }
.hero-mark img {
  width: 100%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .45));
  animation: settle 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }

.now-building {
  border-top: 1px solid var(--ink-line);
  background: rgba(0, 0, 0, .18);
}
.now-building a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  color: var(--on-ink);
  text-decoration: none;
}
.now-building img { width: 3rem; height: 3rem; border-radius: 12px; flex: none; }
.now-building .label {
  display: block;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f5b73b;
}
.now-building .text { flex: 1; font-size: .98rem; line-height: 1.45; }
.now-building .text span:last-child { color: var(--on-ink-muted); }
.now-building .arrow { color: var(--on-ink-faint); transition: transform .15s ease, color .15s ease; }
.now-building a:hover .arrow { transform: translateX(4px); color: var(--lava); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: min(62vw, 260px); }
}

/* ---------- Farmers Market Story feature (homepage) ---------- */

.game-feature { background: var(--cream); }
.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.key-art { position: relative; margin: 0; }
.key-art img {
  width: 100%;
  border: 6px solid #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 0 var(--rule), 0 30px 50px -28px rgba(15, 58, 28, .55);
  transform: rotate(-1.2deg);
}
.key-art .tag {
  position: absolute;
  right: -.5rem;
  bottom: 1.5rem;
  padding: .55rem .9rem;
  border-radius: 6px;
  background: var(--green);
  color: var(--butter);
  font: 700 .95rem/1.2 var(--font-display);
  transform: rotate(3deg);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}
.key-art .tag small { display: block; font: 600 .7rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

.game-title { margin: 0; }
.game-title img { width: min(100%, 340px); margin-left: -.3rem; }
.game-copy .lede { margin-top: 1.4rem; font-size: 1.12rem; }

.feature-list { display: grid; gap: .9rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; color: var(--muted); line-height: 1.5; }
.feature-list li::before {
  content: "";
  width: .8rem;
  height: .8rem;
  margin-top: .38rem;
  border-radius: 3px;
  background: var(--lava);
  transform: rotate(45deg);
}
.feature-list strong { color: var(--text); font-weight: 650; }

.game-copy .btn-outline { border-color: var(--green); color: var(--green); }
.game-copy .btn-outline:hover { background: var(--green); color: var(--butter); }
.btn-green { background: var(--green); color: var(--butter); box-shadow: 0 3px 0 #06200e; }
.btn-green:hover { background: var(--green-2); box-shadow: 0 5px 0 #06200e; }

/* Screenshot rail */
.shots-band { background: var(--green); color: var(--butter); }
.shots-band .wrap { padding-block: clamp(2.75rem, 6vw, 4rem); }
.shots-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-bottom: 1.6rem;
}
.shots-head h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.shots-head p { color: rgba(248, 240, 216, .72); font-size: .92rem; }
.shots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.shots li { margin: 0; }
.shots img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(248, 240, 216, .18), 0 18px 30px -18px rgba(0, 0, 0, .7);
  transition: transform .2s ease;
}
.shots li:hover img { transform: translateY(-4px); }

@media (max-width: 900px) {
  .game-grid { grid-template-columns: 1fr; }
  .key-art { max-width: 560px; }
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(46%, 220px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 240, 216, .35) transparent;
  }
  .shots li { scroll-snap-align: start; }
}

/* ---------- Studio / what we build ---------- */

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--text);
}
.build-grid li { padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0 0; }
.build-grid li + li { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--rule); }
.build-num {
  display: block;
  margin-bottom: 1.25rem;
  font: 700 .8rem/1 var(--font-body);
  letter-spacing: .14em;
  color: var(--lava-ink);
}
.build-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: var(--text); }
.build-grid h3 { font-size: 1.4rem; }
.build-grid p { margin-top: .6rem; color: var(--muted); }

@media (max-width: 760px) {
  .build-grid { grid-template-columns: 1fr; }
  .build-grid li, .build-grid li + li { padding: 1.5rem 0; border-left: 0; }
  .build-grid li + li { border-top: 1px solid var(--rule); }
}

/* ---------- About ---------- */

.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.about-copy p { margin-top: 1.2rem; font-size: 1.08rem; }
.about-copy p + p { color: var(--muted); }

.principles { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.principles li { padding-left: 1rem; border-left: 3px solid var(--lava); }
.principles strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.principles span { color: var(--muted); font-size: .98rem; }

.fact-sheet {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 #fff inset, 0 24px 40px -32px rgba(17, 22, 22, .45);
}
.fact-sheet h3 {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-sheet dl { margin: 0; padding: .4rem 1.4rem 1rem; }
.fact-sheet dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--paper-2);
}
.fact-sheet dl > div:last-child { border-bottom: 0; }
.fact-sheet dt { color: var(--muted); font-size: .9rem; }
.fact-sheet dd { margin: 0; font-weight: 600; line-height: 1.45; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fact-sheet dl > div { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(236, 74, 29, .2), transparent 70%),
    var(--ink);
  color: var(--on-ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.contact h2 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; }
.contact-lede { max-width: 32rem; margin-top: 1.1rem; color: var(--on-ink-muted); font-size: 1.1rem; }
.email-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 3px solid var(--lava);
  color: var(--on-ink);
  font: 700 clamp(1.3rem, 3.6vw, 2.1rem)/1.2 var(--font-display);
  text-decoration: none;
  word-break: break-word;
  transition: color .15s ease;
}
.email-link:hover { color: var(--lava); }
.email-link svg { width: .9em; height: .9em; flex: none; }

.contact-cards { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.contact-cards a,
.contact-cards .card {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--ink-line);
  border-radius: 8px;
  background: var(--ink-2);
  color: var(--on-ink);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.contact-cards a:hover { border-color: var(--lava); transform: translateX(3px); }
.contact-cards strong { display: block; font-size: 1rem; }
.contact-cards span { color: var(--on-ink-muted); font-size: .9rem; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--ink-line);
  color: var(--on-ink-muted);
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
.site-footer h2 {
  margin-bottom: .9rem;
  font: 700 .74rem/1.2 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
}
.site-footer ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1.4rem 2rem;
  border-top: 1px solid var(--ink-line);
  color: var(--on-ink-faint);
  font-size: .84rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Game page ---------- */

.game-hero {
  background:
    radial-gradient(ellipse 55% 60% at 85% 0%, rgba(248, 240, 216, .12), transparent 70%),
    var(--green);
  color: var(--butter);
}
.game-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: clamp(3rem, 7vw, 5.5rem); }
.crumbs { margin: 0 0 1.4rem; font-size: .88rem; color: rgba(248, 240, 216, .7); }
.crumbs a { color: inherit; }
.game-hero h1 img { width: min(100%, 440px); margin-left: -.3rem; }
.game-hero .lede { max-width: 32rem; margin-top: 1.4rem; font-size: 1.15rem; color: rgba(248, 240, 216, .86); }
.game-hero .chip-status { background: var(--butter); border-color: var(--butter); color: var(--green); }
.game-hero .chip-quiet { color: var(--butter); border-color: rgba(248, 240, 216, .5); }
.game-hero .key-art img { border-color: var(--butter); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .7); transform: rotate(1.2deg); }
.game-hero .btn-ghost { border-color: rgba(248, 240, 216, .35); color: var(--butter); }
.game-hero .btn-ghost:hover { border-color: var(--butter); }

.feature-rows { display: grid; gap: clamp(3rem, 7vw, 5rem); margin: 0; padding: 0; list-style: none; }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.feature-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
.feature-row:nth-child(even) .feature-shot { order: 2; }
.feature-shot img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--rule), 0 28px 44px -28px rgba(15, 58, 28, .6);
}
.feature-text .step {
  display: block;
  margin-bottom: .8rem;
  font: 700 .8rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lava-ink);
}
.feature-text h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--green); }
.feature-text p { max-width: 32rem; margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }


.fine-print { margin-top: 3rem; color: var(--muted); font-size: .88rem; }

@media (max-width: 760px) {
  .game-hero .hero-grid { grid-template-columns: 1fr; }
  .game-hero .key-art { order: -1; }
  .feature-row,
  .feature-row:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row:nth-child(even) .feature-shot { order: 0; }
  .feature-shot { max-width: 240px; }
}

.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.status-grid .section-head { margin-bottom: 0; }
@media (max-width: 860px) {
  .status-grid { grid-template-columns: 1fr; }
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.resource-grid a {
  display: block;
  height: 100%;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.resource-grid a:hover { transform: translateY(-3px); border-top-color: var(--lava); }
.resource-grid strong { display: block; font: 700 1.2rem/1.2 var(--font-display); }
.resource-grid span { display: block; margin-top: .45rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(245, 183, 59, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
