/* ─────────────────────────────────────────────
   ROB EAGLE — "SIDE NOTES" MISTY FOREST THEME
   Shared across every page. Loaded after each
   page's own styles so it can re-skin them.
   ───────────────────────────────────────────── */

:root {
  --fog: #f5f7f4;
  --mist: #e7ede8;
  --mist-deep: #d5dfd8;
  --pine: #1e3a30;
  --forest: #2f5b4b;
  --forest-light: #4d7a67;
  --sage: #8aa597;
  --ink: #1d2b26;
  --ink-soft: #52635c;
  --line: rgba(30, 58, 48, 0.14);
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 45px rgba(30, 58, 48, 0.12);

  /* Older pages refer to these names — point them at the forest palette */
  --button-blue: #2f5b4b;
  --button-blue-dark: #1e3a30;
  --button-text: #ffffff;
  --blue: #2f5b4b;
  --blue-dark: #1e3a30;
  --muted: #52635c;
  --night: #f5f7f4;
  --panel: #ffffff;

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(77, 122, 103, 0.12), transparent 40rem),
    radial-gradient(ellipse at 90% 100%, rgba(77, 122, 103, 0.1), transparent 40rem),
    var(--fog);
  color: var(--ink);
}

body::before {
  display: none;
}

h1, h2, h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--pine);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--forest-light) !important;
  outline-offset: 3px;
}

/* ── SITE NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(245, 247, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--pine);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  background: var(--mist);
  color: var(--pine);
}

.site-nav__links .site-nav__cta {
  background: var(--forest);
  color: #fff;
}

.site-nav__links .site-nav__cta:hover {
  background: var(--pine);
  color: #fff;
}

.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--pine);
  cursor: pointer;
}

.site-nav__toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

@media (max-width: 860px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav__toggle {
    display: grid;
    place-items: center;
  }

  .site-nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.25rem;
  }

  .site-nav.is-open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    display: block;
    padding: 0.85rem 1rem;
    text-align: center;
  }
}

/* ── EP RIBBON ── */
.ep-ribbon {
  display: block;
  padding: 0.65rem 1rem;
  background: var(--pine);
  color: #eef3ef;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.ep-ribbon strong {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.ep-ribbon:hover {
  background: var(--forest);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 58, 48, 0.2);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--pine);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 58, 48, 0.26);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(30, 58, 48, 0.35);
  color: var(--pine);
  box-shadow: none;
}

.btn--ghost:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 58, 48, 0.12);
}

/* ── EYEBROW + DIVIDER (the "— PART I —" look) ── */
.eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow-line::before,
.eyebrow-line::after {
  content: "";
  width: clamp(2rem, 8vw, 5rem);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* ── SOCIAL ICON ROW ── */
.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-row a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-row a:hover {
  transform: translateY(-3px);
  border-color: var(--forest);
}

.social-row img {
  width: 20px;
  height: 20px;
  /* tint the black simple-icons to pine green */
  filter: invert(19%) sepia(14%) saturate(1500%) hue-rotate(108deg) brightness(92%);
}

/* ── FOOTER ── */
.site-footer {
  margin-top: 0;
  padding: 3rem 1.5rem 2.5rem;
  background: var(--pine);
  color: #c9d6cf;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer .site-footer__brand {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  color: #fff;
}

.site-footer .social-row {
  margin-bottom: 1.5rem;
}

.site-footer .social-row a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.site-footer .social-row img {
  filter: invert(1);
  opacity: 0.85;
}

.site-footer a {
  color: #fff;
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─────────────────────────────────────────────
   SUB-PAGE RE-SKIN (downloads / journey / videos / buy)
   ───────────────────────────────────────────── */

.page-banner {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.page-banner-wrap {
  position: relative;
}

.page-banner-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--fog));
  pointer-events: none;
}

/* downloads.html */
header.page-intro {
  background: transparent;
  border-bottom: 0;
  color: var(--ink);
}

header.page-intro h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0.14em;
}

header.page-intro p,
.albums .coming-soon,
.album-info p,
.videos-intro {
  color: var(--ink-soft);
}

.albums {
  background: transparent;
}

.albums h2 {
  letter-spacing: 0.16em;
}

.albums + .albums {
  border-top: 1px solid var(--line);
}

.album-block img,
.song-player {
  box-shadow: var(--shadow);
}

.album-info h3 {
  color: var(--pine);
}

.download-link {
  color: var(--forest);
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom-color: rgba(47, 91, 75, 0.35);
}

.download-link:hover {
  border-color: var(--forest);
}

.back-home,
.free-btn {
  background: var(--forest);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2em;
  box-shadow: 0 10px 24px rgba(30, 58, 48, 0.2);
}

.back-home:hover,
.free-btn:hover {
  background: var(--pine);
  opacity: 1;
}

/* journey.html */
.journey-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  line-height: 1.8;
  color: var(--ink);
  font-size: 1.06rem;
}

.journey-page h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0.12em;
}

.journey-page .byline {
  text-align: center;
  color: var(--forest);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 2.5rem;
}

.journey-page p strong:first-child {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--pine);
}

/* videos.html */
.videos-page > h1 {
  letter-spacing: 0.16em;
}

.video-tabs a {
  border-color: var(--line);
  background: #fff;
  color: var(--pine);
  font-weight: 500;
}

.video-tabs a:hover,
.video-tabs a:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.video-category h2 {
  border-bottom: 1px solid var(--line);
}

.video-category h2 small {
  font-family: var(--font-body);
  color: var(--sage);
}

.video-thumb {
  background: var(--mist);
  box-shadow: var(--shadow);
}

.play-icon {
  background: rgba(30, 58, 48, 0.88);
  backdrop-filter: blur(4px);
}

.video-card h3 {
  font-family: var(--font-body);
  font-weight: 500;
}

.video-card h3 a {
  color: var(--ink);
}

.video-card h3 a:hover {
  color: var(--forest);
}

/* buy.html */
.section-title {
  color: var(--forest);
  font-weight: 500;
}

.artwork-stage::before {
  border-color: rgba(47, 91, 75, 0.2);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(231, 237, 232, 0.4));
  box-shadow: 0 0 80px rgba(47, 91, 75, 0.12);
}

.product-image {
  filter: drop-shadow(0 30px 35px rgba(30, 58, 48, 0.25));
}

.product-copy {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.product-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--pine);
}

.product-copy .eyebrow {
  color: var(--forest);
  font-weight: 500;
}

.product-copy .description {
  color: var(--ink-soft);
}

.product-copy .price {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--pine);
}

.format-row span {
  border-radius: 999px;
  border-color: var(--line);
  background: var(--mist);
  color: var(--pine);
  font-weight: 500;
}

.buy-button {
  border-radius: 999px;
  font-weight: 500;
  padding: 1rem 1.6rem;
  box-shadow: 0 14px 30px rgba(30, 58, 48, 0.22);
}

.buy-button:hover {
  box-shadow: 0 18px 36px rgba(30, 58, 48, 0.3);
}

.checkout-note {
  color: var(--ink-soft);
}

main + .site-footer,
.products + .site-footer {
  border-top: 0;
}

.site-footer {
  width: auto;
  max-width: none;
  margin: 0;
  border-top: 0;
}

/* downloads.html — Side Notes EP promo */
.ep-promo {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ep-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.ep-promo__body {
  padding: 0.5rem 1.5rem 2rem;
}

.ep-promo__body h3 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.08em;
}

.ep-promo__body p {
  max-width: 34rem;
  margin: 0.6rem auto 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.back-home.btn--ghost-lite {
  background: transparent;
  border: 1px solid rgba(30, 58, 48, 0.35);
  color: var(--pine);
  box-shadow: none;
}

.back-home.btn--ghost-lite:hover {
  background: #fff;
}

/* Clickable Amazon / Apple Music / Spotify logos on the Side Notes banner.
   Positions are percentages of the banner artwork (1664×624). */
.ep-promo__art {
  position: relative;
}

.banner-links {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.banner-link {
  position: absolute;
  top: 75.5%;
  height: 10%;
  border-radius: 999px;
  pointer-events: auto;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.banner-link:hover {
  background: rgba(47, 91, 75, 0.08);
  box-shadow: 0 0 0 1px rgba(47, 91, 75, 0.3);
}

.banner-link--amazon  { left: 36.6%; width: 10%; }
.banner-link--apple   { left: 47.6%; width: 7.4%; }
.banner-link--spotify { left: 56.2%; width: 8.0%; }
