/* ============================================================
   CLASSICMOTIVATION.COM — MAIN STYLESHEET
   The complete design system for every page on the site.
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #8B6914;
  --cream:      #F7F3EC;
  --paper:      #EDE8DF;
  --ink:        #1C1810;
  --ink-mid:    #2A2018;
  --ink-light:  #3D3525;
  --ink-muted:  #7A6E5A;
  --rule:       rgba(201, 168, 76, 0.27);
  --bar-h:      36px;
  --nav-h:      56px;
}

/* ── 2. RESET AND BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Libre Baskerville', Georgia, serif;
  overflow-x: hidden;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── 3. PAPER TEXTURE ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.055;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(201, 168, 76, 0.04) 40px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── 4. BASE TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.display {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
}

.section-head {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

.sub-head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
}

.body-text {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-light);
}

.label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 600;
}

.caption {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
}

/* ── 5. TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 600;
}

.top-bar-links {
  display: flex;
  align-items: center;
}

.top-bar-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
  padding: 0 14px;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.top-bar-link:first-child { padding-left: 0; }
.top-bar-link:hover { color: var(--gold); }

.top-bar-era {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: rgba(201, 168, 76, 0.3);
}

.top-bar-era span { color: rgba(201, 168, 76, 0.5); margin: 0 6px; }

/* ── 6. MAIN NAVIGATION ─────────────────────────────────────── */
.main-nav {
  background: var(--ink-mid);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: var(--bar-h);
  z-index: 599;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-brand-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
  padding: 0 16px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.btn-nav {
  background: var(--gold);
  color: var(--ink);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 22px;
  height: 34px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-nav:hover { background: var(--gold-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: calc(var(--bar-h) + var(--nav-h)) 0 0 0;
  background: var(--ink);
  z-index: 590;
  padding: 32px 48px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-drawer.open { display: flex; }

.mob-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color 0.2s;
}

.mob-link:hover { color: var(--gold); }

/* ── 7. HERO SECTIONS ───────────────────────────────────────── */
.hero {
  background: var(--ink);
  padding: 96px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(201,168,76,0.13) 0%, transparent 65%),
              repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(201,168,76,0.05) 40px);
  pointer-events: none;
}

.hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.055);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-inner.centered {
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  height: 1px;
  background: var(--gold-dark);
  flex: 1;
}

.hero-inner:not(.centered) .hero-eyebrow::before { display: none; }
.hero-inner:not(.centered) .hero-eyebrow { gap: 0; }
.hero-inner:not(.centered) .hero-eyebrow::after { margin-left: 16px; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold-light);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-inner.centered .hero-sub { margin-left: auto; margin-right: auto; }

.hero-stats {
  display: flex;
  border: 1px solid rgba(201, 168, 76, 0.2);
  width: fit-content;
}

.hero-inner.centered .hero-stats { margin: 0 auto; }

.hstat {
  padding: 12px 28px;
  border-right: 1px solid rgba(201, 168, 76, 0.2);
  text-align: center;
}

.hstat:last-child { border-right: none; }

.hstat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hstat-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
}

/* ── 8. SECTION LABELS ──────────────────────────────────────── */
.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gold);
  padding-top: 14px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ── 9. CARDS AND GRIDS ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px;
  background: var(--rule);
}

.m-card {
  background: var(--cream);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  transition: background 0.2s, border-top-color 0.2s;
  border-top: 2px solid transparent;
  position: relative;
}

.m-card:hover {
  background: var(--paper);
  border-top-color: var(--gold);
}

.m-card-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(139, 105, 20, 0.12);
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.m-card:hover .m-card-num { color: rgba(139, 105, 20, 0.22); }

.m-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.m-card:hover .m-card-title { color: var(--gold-dark); }

.m-card-desc {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.m-card-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-block;
  padding: 3px 8px;
  margin-top: 12px;
  background: var(--gold-dark);
  width: fit-content;
}

.m-card.dark { background: var(--ink); }
.m-card.dark:hover { background: rgba(45, 36, 20, 0.98); }
.m-card.dark .m-card-title { color: var(--cream); }
.m-card.dark:hover .m-card-title { color: var(--gold-light); }
.m-card.dark .m-card-desc { color: var(--ink-muted); }
.m-card.dark .m-card-num { color: rgba(201, 168, 76, 0.1); }
.m-card.dark:hover .m-card-num { color: rgba(201, 168, 76, 0.22); }

/* Feature card grid (homepage sections) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--paper);
  padding: 32px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--cream);
  border-top-color: var(--gold);
}

.feature-card-icon {
  font-size: 1.4rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.feature-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
  flex: 1;
}

.feature-card-arrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.feature-card:hover .feature-card-arrow { gap: 14px; }

/* Thinker cards */
.thinker-card {
  background: var(--paper);
  padding: 24px;
  border-top: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.thinker-card:hover {
  background: var(--cream);
  border-top-color: var(--gold);
}

.thinker-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.thinker-card:hover .thinker-card-name { color: var(--gold-dark); }

.thinker-card-dates {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.thinker-card-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink-light);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 12px;
}

.thinker-card-tagline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── 10. PULL QUOTES ────────────────────────────────────────── */
.pull-quote {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 32px 36px 32px 48px;
  position: relative;
  margin: 48px 0;
}

.pull-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem;
  color: rgba(201, 168, 76, 0.2);
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
  pointer-events: none;
}

.pull-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.pull-quote cite {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
}

/* Dark pull quote variant */
.pull-quote.dark {
  background: var(--ink);
  border-left-color: var(--gold);
}

.pull-quote.dark blockquote { color: var(--cream); }
.pull-quote.dark::before { color: rgba(201, 168, 76, 0.1); }

/* Hero quote — large centered */
.hero-quote {
  text-align: center;
  padding: 64px 48px;
  background: var(--ink);
  position: relative;
}

.hero-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14rem;
  color: rgba(201, 168, 76, 0.06);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.hero-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--cream);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 20px;
  position: relative;
}

.hero-quote cite {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
}

/* ── 11. BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 32px;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 32px;
  border: 1px solid var(--gold-dark);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── 12. FEATURE BOXES (dark ink boxes) ─────────────────────── */
.fact-box {
  background: var(--ink);
  padding: 28px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)) 1;
}

.fact-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.fact-box p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ── 13. ORNAMENT DIVIDERS ──────────────────────────────────── */
.ornament {
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.4em;
  font-size: 1.1rem;
  opacity: 0.55;
  margin: 40px 0;
  display: block;
}

.divider-line {
  height: 1px;
  background: var(--rule);
  margin: 40px 0;
}

/* ── 14. PAGE SECTIONS ──────────────────────────────────────── */
.section {
  padding: 80px 48px;
  position: relative;
  z-index: 1;
}

.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-ink   { background: var(--ink); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── 15. FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 18px 48px;
  position: sticky;
  top: calc(var(--bar-h) + var(--nav-h));
  z-index: 400;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.filter-search input {
  width: 100%;
  background: var(--cream);
  border: 1px solid rgba(139, 105, 20, 0.3);
  padding: 9px 14px 9px 38px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.filter-search input:focus { border-color: var(--gold); }
.filter-search input::placeholder { color: var(--ink-muted); }

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  opacity: 0.5;
  pointer-events: none;
}

.filter-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid rgba(139, 105, 20, 0.25);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold); }

.filter-btn.active {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}

.filter-count {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* ── 16. FORMS AND INPUT ────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 16px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(122, 110, 90, 0.6); }

.form-textarea { min-height: 120px; resize: vertical; }

/* Light variant */
.form-input.light,
.form-textarea.light {
  background: var(--cream);
  border-color: rgba(139, 105, 20, 0.3);
  color: var(--ink);
}

.form-input.light::placeholder,
.form-textarea.light::placeholder { color: var(--ink-muted); }

/* Email subscribe row */
.subscribe-row {
  display: flex;
  gap: 0;
  max-width: 500px;
}

.subscribe-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-right: none;
  padding: 12px 18px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-row input:focus { border-color: var(--gold); }
.subscribe-row input::placeholder { color: var(--ink-muted); }

/* ── 17. PRINCIPLES LIST ────────────────────────────────────── */
.principle-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}

.principle-item:last-child { border-bottom: none; }

.principle-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  text-align: right;
}

.principle-body { flex: 1; }

.principle-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.principle-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.principle-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-dark);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 10px;
}

.principle-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.principle-link:hover { gap: 12px; }

/* ── 18. GUIDE COMPONENT ────────────────────────────────────── */
.guide-box {
  background: var(--ink);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}

.guide-box h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 12px;
}

.guide-box p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.guide-results {
  margin-top: 32px;
  display: none;
}

.guide-results.visible { display: block; }

.guide-results h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 12px;
}

.guide-result-item {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  text-decoration: none;
  transition: padding-left 0.2s;
}

.guide-result-item:hover { padding-left: 8px; }

.guide-result-type {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.guide-result-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.guide-result-desc {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── 19. TIMELINE ───────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dark) 5%, var(--gold-dark) 95%, transparent);
}

.timeline-entry {
  position: relative;
  padding: 28px 0 28px 40px;
  border-bottom: 1px solid var(--rule);
}

.timeline-entry:last-child { border-bottom: none; }

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 36px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-event {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.timeline-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ── 20. HIDDEN FILTER STATE ────────────────────────────────── */
.m-card.hidden { display: none; }
.cat-section.all-hidden { display: none; }

/* ── 21. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 22. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 2px solid var(--gold);
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-brand-tag {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 16px;
}

.footer-closing {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(122, 110, 90, 0.5);
  line-height: 1.5;
}

.footer-col-head {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.84rem;
  color: var(--ink-muted);
  font-style: italic;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 18px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(122, 110, 90, 0.4);
}

/* ── 23. MOTIVATOR DETAIL PAGE ──────────────────────────────── */
.concept-hero-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--gold-light);
  text-align: center;
  padding: 56px 48px;
  background: var(--ink);
  position: relative;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
}

.concept-essay {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--ink-light);
  max-width: 720px;
}

.concept-essay p { margin-bottom: 1.5rem; }

/* ── 24. ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-1 { animation: fadeUp 0.7s ease 0.0s both; }
.animate-2 { animation: fadeUp 0.7s ease 0.15s both; }
.animate-3 { animation: fadeUp 0.7s ease 0.3s both; }
.animate-4 { animation: fadeUp 0.7s ease 0.45s both; }
.animate-5 { animation: fadeUp 0.7s ease 0.6s both; }

/* ── 25. UTILITY ────────────────────────────────────────────── */
.text-gold      { color: var(--gold); }
.text-gold-dark { color: var(--gold-dark); }
.text-cream     { color: var(--cream); }
.text-muted     { color: var(--ink-muted); }
.text-center    { text-align: center; }
.text-italic    { font-style: italic; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.max-640 { max-width: 640px; }
.max-800 { max-width: 800px; }
.max-960 { max-width: 960px; }

/* ── 26. MEDIA QUERIES ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 64px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 32px 28px; }
  .footer-bottom { padding: 14px 32px; }
  .main-nav { padding: 0 32px; }
  .top-bar  { padding: 0 32px; }
  .filter-bar { padding: 16px 32px; }
}

@media (max-width: 840px) {
  .nav-links { display: none; }
  .btn-nav   { display: none; }
  .nav-toggle { display: flex; }
  .top-bar-era { display: none; }
  .hero { padding: 64px 24px 56px; }
  .hero-stats { flex-wrap: wrap; }
  .hstat { padding: 10px 18px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 20px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 32px 20px 20px; }
  .footer-bottom { padding: 12px 20px; flex-direction: column; text-align: center; }
  .main-nav { padding: 0 20px; }
  .top-bar  { padding: 0 20px; }
  .filter-bar { padding: 14px 20px; }
  .filter-cats { display: none; }
  .principle-item { flex-direction: column; gap: 12px; }
  .principle-num { text-align: left; }
  .guide-box { padding: 24px 20px; }
  .subscribe-row { flex-direction: column; }
  .btn-row { flex-direction: column; align-items: flex-start; }
  .pull-quote { padding: 24px 20px 24px 28px; }
}
