/* Mindset Magic Academy — shared styles.
   Colors come from the book cover: black, deep red, gold. */

:root {
  --black: #0c0807;
  --black-2: #160d0b;
  --red: #5a1010;
  --red-deep: #2b0808;
  --gold: #d9ad4c;
  --gold-light: #f0d48a;
  --cream: #f3ead8;
  --muted: #b8ab95;
  --line: #3a2a22;
  --paper: #f7f1e6;
  --paper-text: #231c16;
  --paper-muted: #6e6253;
  --max: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); }
a:hover { color: #fff; }

h1, h2, h3, .brand, .eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
}
h1 { font-size: clamp(42px, 6.5vw, 72px); margin: 0 0 16px; }
h2 { font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 20px; }
h3 { font-size: 28px; margin: 0 0 10px; }
.eyebrow {
  font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; font-family: Georgia, serif; font-weight: normal;
}
.gold { color: var(--gold-light); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 680px; margin: 0 auto; }
.center { text-align: center; }
section { padding: 84px 0; }
.rule { width: 70px; height: 1px; background: var(--gold); margin: 26px auto; opacity: .8; }
.rule.left { margin-left: 0; }

/* Header and navigation */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(12, 8, 7, 0.94);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-size: 24px; color: var(--gold-light); text-decoration: none; letter-spacing: 0.02em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: #1a0f08; text-decoration: none;
  font-family: Georgia, serif; font-size: 17px; padding: 14px 26px; border-radius: 4px;
  border: 1px solid var(--gold); cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--gold-light); color: #1a0f08; }
.btn.ghost { background: transparent; color: var(--gold-light); }
.btn.ghost:hover { background: rgba(217, 173, 76, .12); color: #fff; }
.btn.disabled { opacity: .55; pointer-events: none; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(90, 16, 16, .55), transparent 60%),
    radial-gradient(ellipse at 85% 80%, rgba(217, 173, 76, .10), transparent 55%),
    var(--black);
  padding: 72px 0 90px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .subtitle { font-size: 22px; color: var(--muted); font-style: italic; margin: 0 0 22px; }
.hero .line { font-size: 24px; color: var(--gold-light); font-style: italic; margin: 0; }
.cover-img { border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px var(--line); }

/* Bands */
.band-red { background: linear-gradient(180deg, var(--red-deep), var(--black-2)); }
.band-paper { background: var(--paper); color: var(--paper-text); }
.band-paper h2, .band-paper h3 { color: var(--paper-text); }
.band-paper .eyebrow { color: #9a6d16; }
.band-paper a { color: #7a2a10; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }

/* Quotes */
.blurb { margin: 0 0 34px; }
.blurb p { font-style: italic; font-size: 19px; margin: 0 0 8px; }
.blurb .who { font-style: normal; font-size: 15px; letter-spacing: .05em; color: var(--gold); text-align: right; }
.band-paper .blurb .who { color: #8a5f10; }
.pull { font-size: 26px; font-style: italic; color: var(--gold-light); text-align: center; margin: 0; line-height: 1.45; }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 3px; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.gallery figcaption { font-size: 16px; color: var(--muted); font-style: italic; margin-top: 10px; }
.gallery .chap { display: block; font-style: normal; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }

/* Price card (the Pause) */
.price-card { max-width: 520px; margin: 0 auto; border: 1px solid var(--line); border-radius: 6px; padding: 40px 30px; background: var(--black-2); text-align: center; }
.price-row { display: flex; justify-content: center; align-items: baseline; gap: 18px; }
.price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 66px; color: #fff; line-height: 1; }
.price.struck { font-size: 32px; color: var(--muted); text-decoration: line-through; }
.price-note { color: var(--muted); font-size: 16px; margin: 6px 0 26px; }
.code-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 0 10px; }
.code-form label { width: 100%; font-size: 16px; color: var(--muted); }
.code-form input { font: inherit; font-size: 18px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: #0d0907; color: #fff; width: 180px; text-transform: uppercase; letter-spacing: .1em; }
.code-form input:focus { outline: none; border-color: var(--gold); }
.code-msg { font-size: 15px; min-height: 22px; color: var(--muted); }
.code-msg.no { color: #e8907a; }
.opens { margin-top: 22px; padding: 14px; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); font-size: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .sites { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .ai-note { width: 100%; font-size: 14px; font-style: italic; }

/* Phones */
@media (max-width: 820px) {
  body { font-size: 18px; }
  section { padding: 58px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-grid, .two { grid-template-columns: 1fr; gap: 34px; }
  .hero-grid .cover { order: -1; max-width: 300px; margin: 0 auto; }
  .three { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 36px; }
  .nav { gap: 14px; font-size: 15px; }
  .pull { font-size: 22px; }
}
