/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0A;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --text: #E8E4DE;
  --text-muted: #8A8580;
  --accent: #FFFFFF;
  --divider: #222222;
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1100px;
  --max-width-narrow: 720px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover {
  opacity: 0.7;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--accent);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  max-width: 60ch;
}

.trademark {
  font-size: 0.6em;
  vertical-align: super;
}

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

.container--narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

section + section {
  border-top: 1px solid var(--divider);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-logo img {
  height: 52px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  opacity: 1;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--divider);
  }
  .nav-links.open {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-manifesto p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 2;
  max-width: 40ch;
}

/* ===== SECTION CARDS (Philosophy / Essays / Podcast) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.card {
  background: var(--bg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s;
}

.card:hover {
  background: var(--bg-elevated);
}

.card-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link::after {
  content: '\2192';
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== QUOTE / PULL SECTION ===== */
.quote-section {
  text-align: center;
  padding: 8rem 2rem;
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--accent);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.5;
  font-style: italic;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding-top: calc(64px + 6rem);
  padding-bottom: 4rem;
}

.page-header h1 {
  margin-bottom: 1.5rem;
}

.page-header .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.8;
}

/* ===== PHILOSOPHY PAGE ===== */
.philosophy-block {
  margin-bottom: 3rem;
}

.philosophy-block h2 {
  margin-bottom: 1.5rem;
}

.philosophy-block p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.philosophy-list li {
  color: var(--text-muted);
  font-size: 1.05rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.philosophy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--text-muted);
}

/* ===== ESSAYS PAGE ===== */
.essay-list {
  display: flex;
  flex-direction: column;
}

.essay-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--divider);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: baseline;
}

.essay-item:first-child {
  border-top: 1px solid var(--divider);
}

.essay-volume {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.essay-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  transition: opacity 0.2s;
}

.essay-item:hover .essay-title {
  opacity: 0.7;
}

.essay-description {
  grid-column: 2;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

@media (max-width: 600px) {
  .essay-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .essay-description {
    grid-column: 1;
  }
}

/* ===== PODCAST PAGE ===== */
.podcast-intro {
  margin-bottom: 4rem;
}

.podcast-intro p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
  line-height: 2;
  max-width: 40ch;
}

.podcast-themes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.podcast-theme {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.podcast-theme:hover {
  background: var(--bg-elevated);
}

.podcast-theme h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.podcast-theme p {
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--divider);
  padding: 4rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 40ch;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

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

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-social a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }
  .footer-right {
    align-items: flex-start;
  }
}

/* ===== UTILITIES ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page transition */
.page-content {
  animation: fadeIn 0.5s ease;
}
