/* =========================================================
   COLOR WITH MARENDA — STYLES
   Palette, type, and layout per approved brand direction.
   Mobile-first. Breakpoints tested at 360/390/430/tablet/1366/1440+.
   ========================================================= */

:root {
  /* Approved palette */
  --dark: #1A120B;
  --dark-2: #221810;
  --cream: #FAF6EF;
  --gold: #C4975A;
  --sage: #7A9478;
  --mauve: #A07878;
  --rose: #D4A0A0;
  --cream-light: #F0EAE0;
  --gold-light: #D4AA72;
  --brown-deep: #2E1E12;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --radius: 2px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --focus-ring: 3px solid var(--gold);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.12;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.lede { font-size: 1.05rem; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.visually-hidden {
  position: absolute !important;
  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: -100px;
  background: var(--dark);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  min-height: 48px;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-secondary:hover { background: var(--dark); color: var(--cream); }
.btn-on-dark.btn-secondary { color: var(--cream); border-color: var(--cream); }
.btn-on-dark.btn-secondary:hover { background: var(--cream); color: var(--dark); }

/* Buttons awaiting a real destination URL (see script.js CONFIG).
   Visually identical to an active button; not clickable until activated. */
.btn[data-pending="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(26,18,11,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.main-nav {
  display: none;
}
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.main-nav a:hover { color: var(--gold); }
.header-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-toggle .bars {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--dark);
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

.mobile-nav {
  display: none;
  background: var(--cream);
  border-bottom: 1px solid rgba(26,18,11,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 0.5rem clamp(1.25rem,4vw,2.5rem) 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-nav a { font-size: 1.05rem; }
.mobile-nav .header-cta { display: inline-flex; margin-top: 0.5rem; }

@media (min-width: 900px) {
  .nav-toggle, .mobile-nav { display: none !important; }
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
}

/* ---------- Section rhythm ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--dark); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark .display { color: var(--cream); }
.section-alt { background: var(--cream-light); }
.section-brown { background: var(--brown-deep); color: var(--cream); }
.section-brown h2, .section-brown h3 { color: var(--cream); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Zone 1: Hero + Trust ---------- */
.hero {
  padding-top: clamp(2.5rem, 8vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}
.hero-copy p { margin-bottom: 1rem; font-size: 1.05rem; }
.hero-brandline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--gold);
  margin: 1.5rem 0;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-media {
  order: -1;
  height: auto;
  overflow: visible;
}
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream-light);
}
.hero-media img.hero-img-full {
  aspect-ratio: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { order: 0; }
}

.trust-block {
  border-top: 1px solid rgba(26,18,11,0.1);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
}
.trust-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  max-width: 42rem;
}
.trust-attribution {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--brown-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}
.trust-attribution strong { font-weight: 600; }

/* ---------- Zone 2: Find Your Book ---------- */
.book-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
}

.book-card {
  background: var(--cream);
  border: 1px solid rgba(26,18,11,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.book-card .book-cover {
  aspect-ratio: 3 / 4;
  background: var(--cream-light);
  object-fit: cover;
  width: 100%;
}
.book-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.book-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mauve);
  font-weight: 600;
}
.book-card h3 { font-size: 1.4rem; }
.book-card p { font-size: 0.95rem; color: var(--dark); }
.book-card-ctas { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.teaser-strip {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 1.25rem;
  border: 1px solid rgba(26,18,11,0.12);
  border-radius: var(--radius);
  background: var(--cream);
}
.teaser-strip img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: var(--radius);
}
.teaser-copy { text-align: center; }
.teaser-copy .eyebrow { margin-bottom: 0.3rem; }
.teaser-copy h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.teaser-copy p { font-size: 0.92rem; margin-bottom: 0.3rem; }
@media (min-width: 700px) {
  .teaser-strip { flex-direction: row; text-align: left; padding: 1.5rem 2rem; gap: 1.5rem; }
  .teaser-strip img { max-width: 110px; flex-shrink: 0; }
  .teaser-copy { text-align: left; }
}
.book-card-ctas .btn { flex: 1 1 auto; }

/* Preview slot: hidden and unreserved until an approved asset exists. */
.book-preview { display: none; }
.book-preview.has-asset { display: block; margin-top: 0.75rem; }

/* ---------- Zone 3: Why I Color + Ella Noire ---------- */
.why-i-color-copy p { margin-bottom: 0.85rem; font-size: 1.05rem; }
.why-i-color-copy .reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}

.song-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .song-grid { grid-template-columns: repeat(3, 1fr); }
}
.song-card {
  background: rgba(250,246,239,0.04);
  border: 1px solid rgba(250,246,239,0.16);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.song-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}
.song-card p { font-size: 0.95rem; }
.song-card .btn { margin-top: 0.5rem; align-self: flex-start; }

.playlist-wrap { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.playlist-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(250,246,239,0.16);
}
.playlist-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-embed-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(26,18,11,0.2), rgba(26,18,11,0.55));
}
.play-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.color-because-prompt {
  margin-top: 2rem;
  text-align: center;
}
.color-because-prompt .display { font-size: clamp(1.4rem, 3.2vw, 2rem); }

/* ---------- Zone 4: Why Color + Pattern Interrupt ---------- */
.why-color-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 950px) {
  .why-color-grid { grid-template-columns: 1fr 1fr; }
}
.why-color-copy .list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 1rem 0;
  font-size: 1.05rem;
}
.why-color-copy p { margin-bottom: 0.9rem; }
.made-that {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 1rem 0;
}

.pattern-interrupt {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.75rem);
  max-width: 46rem;
  margin: 0 auto;
}
.pattern-interrupt h2 { color: var(--cream); }
.pattern-interrupt p { margin-bottom: 0.85rem; font-size: 1.05rem; }
.pattern-interrupt .line { color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; }
.pattern-interrupt .btn { margin-top: 1.25rem; }

.research-block { max-width: 46rem; margin-top: clamp(2rem, 5vw, 2.75rem); }
.research-block h3 { margin-bottom: 0.85rem; }
.research-block p { margin-bottom: 0.85rem; font-size: 1.02rem; }
.research-block sup a, .hero-copy sup a {
  font-size: 0.7em;
  color: var(--gold);
  text-decoration: none;
}
.research-block sup a:hover, .hero-copy sup a:hover { text-decoration: underline; }

.side-effects-list {
  max-width: 42rem;
  margin: 1.5rem 0;
  padding-left: 1.4rem;
}
.side-effects-list li {
  list-style: disc;
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
}
.side-effects-note { max-width: 42rem; font-size: 0.95rem; color: var(--brown-deep); }

.sources-section .section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.sources-list {
  max-width: 46rem;
  margin: 1.5rem 0;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  line-height: 1.6;
}
.sources-list li {
  list-style: decimal;
  margin-bottom: 0.75rem;
}
.sources-list a { color: var(--dark); text-decoration: underline; }
.sources-list a:hover { color: var(--gold); }
.sources-note { max-width: 46rem; font-size: 0.8rem; line-height: 1.6; color: var(--mauve); margin-top: 1rem; }

.breast-cancer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .breast-cancer-grid { grid-template-columns: 1fr 1fr; }
}
.breast-cancer-copy .eyebrow { color: var(--gold-light); }
.breast-cancer-copy h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
.breast-cancer-copy p { font-size: 1.1rem; margin-bottom: 0.85rem; }
.breast-cancer-copy .line { font-family: var(--font-display); color: var(--gold-light); font-size: 1.3rem; }
.breast-cancer-grid .media-col img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

/* ---------- Zone 5: Make It Yours / Representation / Finished Art ---------- */
.rep-grid, .yours-grid, .finished-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .rep-grid, .yours-grid { grid-template-columns: 1fr 1fr; }
  .yours-grid .media-col { order: -1; }
}
.rep-copy p, .yours-copy p, .finished-copy p { margin-bottom: 0.85rem; font-size: 1.05rem; }
.callout-line {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: var(--gold);
  margin: 1rem 0;
}
.media-col img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream-light);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--gold);
  text-align: center;
  margin: 2rem 0;
}
.progression {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .progression { grid-template-columns: repeat(3, 1fr); align-items: center; }
}
.progression .step img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--cream-light);
}
.progression .arrow {
  display: none;
  text-align: center;
  font-size: 1.5rem;
  color: var(--gold);
}
@media (min-width: 700px) {
  .progression { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .progression .arrow { display: block; }
}

/* ---------- Zone 6: See It in Motion + Sharing ---------- */
.motion-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .motion-grid { grid-template-columns: repeat(3, 1fr); }
}
.motion-embed {
  aspect-ratio: 9/16;
  background: var(--dark-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.motion-embed[data-empty="true"] { display: none; }

.share-block {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid rgba(26,18,11,0.1);
  padding-top: clamp(2rem, 5vw, 3rem);
}
.share-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ---------- Zone 7: Start Coloring Now ---------- */
.start-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .start-grid { grid-template-columns: 1fr 1fr; }
}
.start-card {
  background: var(--cream);
  border: 1px solid rgba(26,18,11,0.1);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.start-card p { margin-bottom: 0.75rem; }
.start-card .btn { margin-top: 1rem; }

/* ---------- Zone 8: What's Next ---------- */
.next-zone { text-align: center; }
.next-zone .eyebrow { color: var(--gold-light); }
.next-zone h2 { font-size: clamp(2rem, 5vw, 3rem); }
.next-zone p { max-width: 40rem; margin: 0 auto 1rem; font-size: 1.1rem; }
.next-zone .line { font-family: var(--font-display); color: var(--gold-light); font-size: 1.3rem; }
.next-zone .btn { margin-top: 1.5rem; }

/* ---------- Zone 9: About / FAQ / Footer ---------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-copy p { margin-bottom: 0.85rem; font-size: 1.05rem; }
.signature-block { margin-top: 1.5rem; }
.signature-block .name { font-family: var(--font-display); font-size: 1.3rem; }
.signature-block .name a:hover { color: var(--gold); }
.signature-block .brandline { color: var(--gold); font-family: var(--font-display); margin-top: 0.35rem; }

.faq-wrap { margin-top: clamp(2.5rem, 6vw, 3.5rem); max-width: 48rem; }
.faq-item { border-bottom: 1px solid rgba(26,18,11,0.12); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.faq-q .icon { flex-shrink: 0; font-size: 1.3rem; color: var(--gold); transition: transform 0.2s ease; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 0 1.25rem; font-size: 0.98rem; max-width: 42rem; }

.site-footer {
  background: var(--dark);
  color: var(--cream-light);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand .logo { color: var(--cream); }
.footer-brand p { margin-top: 0.85rem; font-size: 0.92rem; color: rgba(250,246,239,0.75); max-width: 32rem; }
.footer-brandline { color: var(--gold); font-family: var(--font-display); margin-top: 1rem; font-size: 1.1rem; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: rgba(250,246,239,0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,246,239,0.14);
  font-size: 0.82rem;
  color: rgba(250,246,239,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
