/* ============================================
   UNSETTLED HISTORY — Global Styles
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600;700&family=Source+Code+Pro:wght@400;500&display=swap');

/* --- Variables --- */
:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --charcoal-light: #222222;
  --charcoal-mid: #2a2a2a;
  --gold: #C8A84E;
  --gold-dim: rgba(200, 168, 78, 0.15);
  --gold-glow: rgba(200, 168, 78, 0.08);
  --red: #8B0000;
  --cream: #f0ece4;
  --cream-dim: rgba(240, 236, 228, 0.7);
  --cream-muted: rgba(240, 236, 228, 0.45);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'Source Code Pro', monospace;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grain overlay on body */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s, opacity 0.3s; }
a:hover { opacity: 0.8; }

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

::selection {
  background: var(--gold);
  color: var(--black);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: var(--gold); }

p { margin-bottom: 1.2em; color: var(--cream-dim); font-size: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* --- Layout Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section--dark {
  background: var(--charcoal);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 168, 78, 0.08);
  transition: background 0.3s;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo-mark {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold);
  opacity: 1;
}

.nav__links .nav__yt {
  color: var(--gold);
  border: 1px solid rgba(200, 168, 78, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.nav__links .nav__yt:hover {
  background: var(--gold);
  color: var(--black);
  opacity: 1;
}

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(200, 168, 78, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(139, 0, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary:hover {
  background: #d4b45a;
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(240, 236, 228, 0.2);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}

/* --- Decorative gold bar (used on pull quotes, sections) --- */
.gold-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.gold-bar--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Pull Quote / Blockquote --- */
.pullquote {
  position: relative;
  padding: 3rem 0 3rem 2rem;
  border-left: 3px solid var(--gold);
  max-width: 640px;
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin: 0;
}

.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Two Pillars section --- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.pillar {
  padding: 2.5rem;
  background: var(--charcoal);
  border: 1px solid rgba(200, 168, 78, 0.1);
  position: relative;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}

.pillar__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pillar h3 {
  margin-bottom: 1rem;
}

/* --- Section Header (centered) --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h4 {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* --- Episode CTA / Coming Soon --- */
.episode-cta {
  background: var(--charcoal);
  border: 1px solid rgba(200, 168, 78, 0.12);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.episode-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.episode-cta h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

.episode-cta p {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.episode-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 168, 78, 0.3);
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(200, 168, 78, 0.08);
  padding: 4rem 0 2.5rem;
  background: var(--black);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  max-width: 320px;
  margin-top: 1rem;
}

.footer h4 {
  margin-bottom: 1.2rem;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.6rem;
}

.footer__list a {
  font-size: 0.88rem;
  color: var(--cream-muted);
  transition: color 0.3s;
}

.footer__list a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(240, 236, 228, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--cream-muted);
  margin: 0;
}

/* --- About Page --- */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  position: relative;
}

.page-hero__content {
  max-width: 680px;
}

.page-hero h1 {
  margin-bottom: 1.2rem;
}

.page-hero__lead {
  font-size: 1.15rem;
  color: var(--cream-dim);
  line-height: 1.8;
}

.about-body {
  max-width: 680px;
}

.about-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.5em;
}

/* --- Beliefs / Values grid --- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-card {
  padding: 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(200, 168, 78, 0.03);
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.value-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* --- Contact & Partner Forms --- */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-intro h2 {
  margin-bottom: 1rem;
}

.form-intro p {
  margin-bottom: 1.5rem;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cream-muted);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin-top: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 0.3rem;
  display: block;
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--charcoal);
  border: 1px solid rgba(240, 236, 228, 0.1);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A84E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option {
  background: var(--charcoal);
  color: var(--cream);
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.btn--submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* --- Partner page specifics --- */
.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-card {
  padding: 1.8rem;
  background: var(--charcoal);
  border: 1px solid rgba(200, 168, 78, 0.1);
  text-align: center;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.stat-card__label {
  font-size: 0.78rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.format-card {
  padding: 2rem;
  background: var(--charcoal);
  border: 1px solid rgba(200, 168, 78, 0.08);
  transition: border-color 0.3s;
}

.format-card:hover {
  border-color: rgba(200, 168, 78, 0.25);
}

.format-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.format-card p {
  font-size: 0.9rem;
  margin: 0;
}

.fit-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fit-tag {
  font-size: 0.8rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(200, 168, 78, 0.2);
  color: var(--cream-dim);
  font-weight: 500;
}

/* --- CTA Banner (reusable) --- */
.cta-banner {
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}

.fade-up--d1 { animation-delay: 0.1s; }
.fade-up--d2 { animation-delay: 0.25s; }
.fade-up--d3 { animation-delay: 0.4s; }
.fade-up--d4 { animation-delay: 0.55s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr; }
  .partner-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { 
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  
  .hero { min-height: 90vh; }
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
