/* Pinetop AI Studios — brand site
   Palette: navy #0A1628 · gold #C9A227 · forest #1B4332 · cream #FDF6E3 */

:root {
  --navy: #0a1628;
  --navy-2: #0e1e36;
  --gold: #c9a227;
  --gold-soft: #e3c565;
  --forest: #1b4332;
  --forest-deep: #122b21;
  --cream: #fdf6e3;
  --cream-dim: #f5ecd4;
  --ink: #22303f;
  --muted: #5d6b7d;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(10, 22, 40, .14);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 22, 40, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, .22);
  transition: background .3s ease;
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
  letter-spacing: .02em;
}
.brand em { font-style: normal; color: var(--gold-soft); font-weight: 500; }
.brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,.82); text-decoration: none;
  font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 30px; border-radius: 999px; font-size: 1rem;
  letter-spacing: .02em; transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy); box-shadow: 0 10px 26px rgba(201,162,39,.35);
}
.btn-gold:hover { box-shadow: 0 14px 32px rgba(201,162,39,.5); }
.btn-ghost {
  border-color: rgba(255,255,255,.55); color: var(--white);
  background: rgba(255,255,255,.06);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-green {
  background: var(--forest); color: var(--white);
  box-shadow: 0 10px 26px rgba(27,67,50,.3);
}
.btn-green:hover { background: var(--forest-deep); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(201,162,39,.16), transparent 60%),
    radial-gradient(800px 420px at 85% 110%, rgba(27,67,50,.55), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--white);
  padding: 150px 0 130px;
  text-align: center;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(700px 420px at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(700px 420px at 50% 30%, black, transparent);
}
.hero-inner { position: relative; z-index: 1; }
.hero-emblem {
  margin: 0 auto 22px; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(201,162,39,.18), 0 24px 60px rgba(0,0,0,.4);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .32em; font-size: .78rem;
  font-weight: 700; color: var(--gold-soft); margin-bottom: 18px;
}
.eyebrow-dark { color: #a07f1c; }
.hero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.12; letter-spacing: -.01em; margin-bottom: 22px;
}
.lede {
  max-width: 620px; margin: 0 auto 36px;
  font-size: 1.12rem; color: rgba(255,255,255,.78);
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; fill: var(--cream); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(201,162,39,.12), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--white);
}
.section-green {
  background:
    radial-gradient(800px 380px at 88% 10%, rgba(201,162,39,.14), transparent 60%),
    linear-gradient(160deg, var(--forest), var(--forest-deep));
  color: var(--white); text-align: center;
}
.section h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.18; letter-spacing: -.01em; margin-bottom: 14px;
}
.section-sub {
  max-width: 640px; font-size: 1.08rem; color: var(--muted);
  margin-bottom: 48px;
}
.section-navy .section-sub, .section-green .section-sub { color: rgba(255,255,255,.72); }
.section-green .section-sub { margin-left: auto; margin-right: auto; }
.center { text-align: center; margin-top: 44px; }

/* ---------- Shop cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(27,67,50,.08);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(10,22,40,.2); }
.card-img { aspect-ratio: 1; overflow: hidden; background: var(--cream-dim); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.18rem; margin-bottom: 4px; color: var(--navy); }
.card-body p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.price { font-weight: 700; font-size: 1.25rem; color: var(--forest); }
.price em { font-style: normal; font-weight: 500; font-size: .8rem; color: var(--muted); }

/* ---------- Books ---------- */
.book-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px; align-items: center;
}
.book-art img {
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(201,162,39,.25);
  transform: rotate(-1.5deg);
  transition: transform .35s ease;
}
.book-art img:hover { transform: rotate(0deg) scale(1.015); }
.book-copy .eyebrow { margin-bottom: 12px; }
.book-copy h2 { color: var(--white); }
.byline { color: var(--gold-soft); font-weight: 600; margin-bottom: 18px; }
.book-copy p { color: rgba(255,255,255,.8); margin-bottom: 16px; max-width: 520px; }
.catchphrase {
  font-family: var(--font-head); font-style: italic; font-size: 1.15rem;
  color: var(--gold-soft) !important; border-left: 3px solid var(--gold);
  padding-left: 16px; margin: 22px 0 28px !important;
}
.book-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.badge-soon {
  display: inline-block; background: rgba(201,162,39,.16);
  border: 1px solid rgba(201,162,39,.55); color: var(--gold-soft);
  font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
}

/* ---------- Music ---------- */
.music-inner { text-align: center; max-width: 720px; }
.music-inner .section-sub { margin-left: auto; margin-right: auto; }
.music-ctas { margin-bottom: 18px; }
.fineprint { font-size: .88rem; color: var(--muted); }

/* ---------- Follow ---------- */
.follow-inner h2 { color: var(--white); }
.social-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; font-size: 1rem;
  transition: background .22s ease, transform .22s ease, border-color .22s ease;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { background: rgba(201,162,39,.22); border-color: var(--gold-soft); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 44px 0; }
.footer-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--gold-soft); }
.copyright { width: 100%; font-size: .85rem; color: rgba(255,255,255,.42); margin-top: 6px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; gap: 44px; }
  .book-art img { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .section { padding: 68px 0; }
  .hero { padding: 120px 0 110px; }
  .cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
}
