/* Kind Wheels Press — site styles */
@font-face {
  font-family: Fredoka;
  src: url("assets/fonts/fredoka.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("assets/fonts/nunito.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff6e3;
  --bg-alt: #eaf6fb;
  --bg-soft: #fffdf8;
  --card: #ffffff;
  --ink: #2a2420;
  --muted: #5c534a;
  --line: #eadcc4;
  --orange: #c24e0d;
  --orange-hover: #9a3c08;
  --orange-soft: #fde6d4;
  --blue: #1a5fb4;
  --blue-hover: #134a8c;
  --blue-sky: #5ec4f0;
  --green: #6aa84f;
  --green-deep: #4e7d38;
  --hill: #8fbf5a;
  --sun: #f5c400;
  --navy: #1e3a4c;
  --shadow: 0 14px 32px rgba(42, 36, 32, 0.14);
  --radius: 1.15rem;
  --max: 70rem;
  --font-display: Fredoka, "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: Nunito, "Segoe UI", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-underline-offset: 0.16em; }
a:hover { color: var(--blue-hover); }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
}
.skip:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 246, 227, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.logo:hover { color: inherit; }

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 0.7rem;
  box-shadow: 0 1px 0 rgba(42, 36, 32, 0.08);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.15rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { background: var(--orange-soft); color: var(--orange); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0 0;
  background:
    linear-gradient(180deg, #fff6e3 0%, #ffe9b8 58%, #f5d56a 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.85rem, 6.4vw, 3.15rem);
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d8c7a6;
}
.btn-secondary:hover {
  background: var(--orange-soft);
  color: var(--orange);
  border-color: var(--orange-soft);
}
.btn-amazon {
  width: 100%;
  background: var(--orange);
  color: #fff;
  margin-top: auto;
}
.btn-amazon:hover { background: var(--orange-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: inherit; }

.hero-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: end;
  padding: 0.35rem 0.45rem 1rem;
}
.hero-covers a {
  display: block;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #fff;
  transform: rotate(-2deg);
}
.hero-covers a:last-child { transform: rotate(2.2deg); }
.hero-covers a:hover { transform: rotate(0deg) translateY(-4px); }
.hero-covers img { width: 100%; }

.hero-art {
  display: block;
  width: 100%;
  height: 88px;
  margin: 0.35rem 0 -1px;
}

/* Sections */
section { padding: 3.2rem 0; }
.band-alt { background: var(--bg-alt); }
.band-cream { background: var(--bg); }
.band-soft { background: var(--bg-soft); }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.35rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.section-intro {
  margin: 0 0 1.8rem;
  max-width: 40rem;
  color: var(--muted);
}

/* Book cards */
.book-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}
.card p { margin: 0; color: var(--ink); }

.cover-frame {
  background: #f6f0e4;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 8.5 / 11;
}
.cover-frame.landscape { aspect-ratio: 8 / 6; }
.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sun);
  color: #2a2420;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

/* Coming-soon cards share one frame from the 2-col breakpoint up */
@media (min-width: 640px) {
  .book-grid.soon .cover-frame,
  .book-grid.soon .cover-frame.landscape {
    aspect-ratio: 4 / 3;
    background: #efe7d8;
  }
  .book-grid.soon .cover-frame img {
    object-fit: contain;
    object-position: center;
  }
}

/* About */
.about-panel {
  display: grid;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.3rem);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
}
.about-panel p { margin: 0 0 1rem; }
.about-panel p:last-child { margin-bottom: 0; }
.about-mark {
  width: 112px;
  height: 112px;
  border-radius: 1.4rem;
  justify-self: center;
}

/* Watch */
.watch-grid {
  display: grid;
  gap: 1.35rem;
}
.video-card {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
}
.video-card:hover { color: inherit; }
.video-thumb { position: relative; background: #1e3a4c; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.play span {
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  background: rgba(194, 78, 13, 0.94);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(42, 36, 32, 0.25);
}
.play svg { margin-left: 3px; }
.video-copy { padding: 1.1rem 1.15rem 1.25rem; }
.video-copy h3 {
  font-family: var(--font-display);
  font-weight: 650;
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.video-copy p { margin: 0; color: var(--muted); }

.social-card h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
.social-card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #f4efe6;
  padding: 2.2rem 0 2.5rem;
}
.site-footer a { color: #ffe08a; }
.site-footer a:hover { color: #fff; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.1rem 2rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.footer-brand:hover { color: inherit; }
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 0.65rem;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 650;
  display: block;
  font-size: 1.05rem;
}
.footer-brand span { color: #c9d6df; font-size: 0.92rem; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.footer-contact p {
  margin: 0;
  color: #c9d6df;
  font-size: 0.92rem;
}
.footer-contact a {
  font-weight: 700;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .book-grid.live { grid-template-columns: 1fr 1fr; }
  .book-grid.soon { grid-template-columns: 1fr 1fr; }
  .about-panel {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1.7rem 1.8rem;
  }
  .about-mark { justify-self: start; }
}

@media (min-width: 860px) {
  .hero { padding-top: 3rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    padding-bottom: 1.8rem;
  }
  .hero-art { height: 120px; }
  .book-grid.soon { grid-template-columns: 1fr 1fr 1fr; }
  section { padding: 4rem 0; }
  .watch-grid { grid-template-columns: 1.3fr 0.7fr; align-items: stretch; }
  .social-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
    box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
  }
}

@media (max-width: 859px) {
  .social-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.15rem;
    box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
  }
}

@media (max-width: 639px) {
  .header-inner { padding: 0.45rem 0 0.3rem; gap: 0.15rem 0.75rem; }
  .logo { gap: 0.55rem; }
  .logo img { width: 38px; height: 38px; }
  .wordmark { font-size: 1.08rem; }
  .nav { width: 100%; }
  .nav a { padding: 0.35rem 0.5rem; min-height: 40px; font-size: 0.9rem; }
  .hero { padding-top: 1.5rem; }
  .hero-covers { padding-left: 0.15rem; padding-right: 0.15rem; }
  .social-row { flex-direction: column; }
  .social-row .btn { width: 100%; }
}
