/* Real fonts recovered from the live Webflow site's own stylesheet:
   hows-that-human.webflow.shared.bfd16eaa8.css (still hosted on the
   Webflow CDN as of 2026-09-11). Playtime is a free custom font the
   original site self-hosted; downloaded here rather than hotlinked so
   the page doesn't depend on that CDN staying up. */
@font-face {
  font-family: 'Playtime';
  src: url('fonts/playtime.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Real subject colors, read from the live CSS: .site-column.chemistry/
     .physics/.earth/.space background-color rules. (.earth wraps the
     Space Science link and .space wraps the Earth Science link in the
     original markup -- a Webflow naming leftover -- these names below
     match what actually RENDERS for each subject, not the CSS class.) */
  --chem: #fce205;
  --phys: #b76199;
  --space: #00aeef;
  --earth: #7fbb58;

  /* Real activity-card accents, from .div-block-37 and its modifiers */
  --acc-green: #7fff58;
  --acc-blue: #00aeef;
  --acc-purple: #b76199;
  --acc-gold: #fce838;

  --ink: #333;
  --paper: #fffefb;
  --card: #ffffff;
  --muted: #6b6b6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Merriweather', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

/* Homepage keeps the original site's dark backdrop (.body-7) */
body.home { background: var(--ink); color: #fff; }

a { color: inherit; }

h1, h2, .name, .linkblock-text, nav a, a.button, .brand {
  font-family: 'Playtime', Tahoma, sans-serif;
}

header.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 3px solid var(--ink);
}

header.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

header.site-nav .brand img {
  height: 44px;
  width: auto;
}

header.site-nav nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

header.site-nav nav a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink);
}

header.site-nav nav a:hover,
header.site-nav nav a.current {
  background: #f0ece0;
}

main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }

h1.page-title {
  text-align: center;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 20px 0 4px;
  font-weight: normal;
}

h2.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 6px 0 24px;
  font-weight: normal;
}

.tagline {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-family: 'Merriweather', Georgia, serif;
}

body.home .tagline { color: #ddd; }

.hero-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .hero-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

.hero-tile { text-align: center; text-decoration: none; color: inherit; }

.buy-tile {
  grid-column: 1;
  justify-self: start;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 5px solid var(--acc-green);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-14deg);
  transition: transform 0.2s ease;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}

.buy-tile:hover { transform: rotate(-14deg) scale(1.05); }

.buy-tile .tile-text {
  font-family: 'Playtime', Tahoma, sans-serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--acc-green);
  text-shadow: 2px 2px 0 #000;
}

.bones-tile { grid-column: 2; justify-self: center; position: relative; max-width: 560px; }

.bones-title {
  font-family: 'Playtime', Tahoma, sans-serif;
  font-size: 4.4rem;
  color: #fff;
}

.bones-wrap { position: relative; display: inline-block; }

.bones-img { width: 100%; max-width: 480px; height: auto; }

.click-caption {
  font-family: 'Playtime', Tahoma, sans-serif;
  font-size: 1.4rem;
  color: var(--acc-gold);
  margin-top: 10px;
}

@media (max-width: 700px) {
  .bones-title { font-size: 3rem; }
  .bones-img { max-width: 320px; }
  .click-caption { font-size: 1.1rem; }
  .buy-tile { width: 150px; height: 150px; }
  .buy-tile .tile-text { font-size: 1.2rem; }
}

.hero { text-align: center; padding: 30px 10px 10px; }

.hero h1 {
  font-family: 'Playtime', Tahoma, sans-serif;
  font-weight: normal;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 6px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0;
}

@media (max-width: 800px) {
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .subject-grid { grid-template-columns: 1fr; }
}

.subject-card {
  display: block;
  border-radius: 20px;
  padding: 24px 14px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}

.subject-card:hover { transform: translateY(-4px); }

.subject-card img { height: 110px; width: auto; margin-bottom: 10px; }

.subject-card .name { font-size: 1.5rem; }

.subject-card.chemistry { background: var(--chem); color: #333; }
.subject-card.physics { background: var(--phys); }
.subject-card.space { background: var(--space); }
.subject-card.earth { background: var(--earth); }

.buy-banner {
  text-align: center;
  margin: 40px auto 0;
  padding: 22px;
  background: #fff3d9;
  border: 2px dashed #c9a227;
  border-radius: 14px;
  max-width: 700px;
}

body.home .buy-banner { background: #4a4a4a; border-color: var(--acc-gold); color: #fff; }

.buy-banner a.button,
a.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: var(--acc-green);
  color: #222;
  border-radius: 14px;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.6);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 34px;
}

@media (max-width: 700px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .activity-grid { grid-template-columns: 1fr; }
}

.activity-card {
  background: var(--acc-green);
  border-radius: 20px;
  padding: 20px 10px;
  text-align: center;
  position: relative;
  color: #222;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.activity-card:nth-child(4n+2) { background: var(--acc-blue); }
.activity-card:nth-child(4n+3) { background: var(--acc-purple); color: #fff; }
.activity-card:nth-child(4n) { background: var(--acc-gold); }

.activity-card img { height: 60px; width: auto; margin-bottom: 8px; }

.activity-card .name { font-size: 1.1rem; }

.activity-card .soon {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #333;
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 999px;
}

.section-block {
  margin: 34px 0;
  padding-top: 18px;
  border-top: 2px solid #e8e2d2;
}

.section-block .subtitle {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 16px;
}

.submit-cta { text-align: center; margin: 10px 0 30px; }

.submit-cta a.button { font-style: italic; background: var(--acc-blue); color: #222; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 20px 0 40px;
}

.book-card {
  background: var(--card);
  border: 2px solid #d8d2c2;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.book-card img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
  border-radius: 4px;
}

.book-card .title { font-family: 'Playtime', Tahoma, sans-serif; font-size: 1.1rem; margin-bottom: 4px; }
.book-card .price { color: var(--muted); font-size: 0.85rem; }
.book-card a.button { font-size: 0.9rem; padding: 8px 16px; }

.about-bio { max-width: 760px; margin: 0 auto; }

.about-bio img.portrait {
  display: block;
  margin: 0 auto 20px;
  max-width: 260px;
  border-radius: 12px;
}

.about-bio p { margin-bottom: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 20px auto 30px;
}

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

.contact-card {
  background: var(--card);
  border: 2px solid #d8d2c2;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.contact-card .name { font-family: 'Playtime', Tahoma, sans-serif; font-size: 1.3rem; }
.contact-card a.button { font-size: 1rem; }

footer {
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 2px solid #e8e2d2;
}

body.home footer { color: #bbb; border-top-color: #555; }
