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

/* Base */
:root {
  --bg:       #0a0e14;
  --bg2:      #0f1520;
  --bg3:      #141d2e;
  --gold:     #a89060;
  --gold2:    #c8aa70;
  --text:     #d8dde8;
  --muted:    #7a8599;
  --accent:   #4a7fb5;
  --radius:   6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1.15rem;
}

a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 14, 20, 0.95);
  border-bottom: 1px solid rgba(168, 144, 96, 0.2);
  z-index: 100;
  max-height:56px;
}

.nav-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
}

.nav-cta:hover { background: var(--gold2); color: var(--bg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(74, 127, 181, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 20%, rgba(168, 144, 96, 0.06) 0%, transparent 50%),
    var(--bg);
}

.hero-inner { max-width: 720px; }

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: #e8edf5;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--gold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.cta-button:hover { background: var(--gold2); color: var(--bg); }

/* Container */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Intro */
.intro {
  padding: 5rem 0;
  background: var(--bg2);
  text-align: center;
}

.lead {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #c0c8d8;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* Equation visualization */
.equation-visual {
  padding: 3rem 0;
  background: var(--bg);
  text-align: center;
}

.equation-img {
  max-width: 420px;
  width: 90%;
  opacity: 0.88;
  border-radius: 8px;
}

.equation-caption {
  font-family: 'Courier New', monospace;
  color: var(--accent);
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* Quotes */
.quotes {
  padding: 4rem 0;
  background: var(--bg);
}

.quotes .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
}

blockquote p {
  font-size: 1.25rem;
  font-style: italic;
  color: #b8c4d8;
  line-height: 1.7;
}

/* About */
.about {
  padding: 5rem 0;
  background: var(--bg2);
}

.about h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold2);
  margin-bottom: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: #b8c4d8;
}

.about-topics h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-topics ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-topics li {
  color: #9aa8c0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 1rem;
}

.about-topics li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

/* Physics Note */
.physics-note {
  padding: 5rem 0;
  background: var(--bg3);
  text-align: center;
}

.physics-note h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold2);
  margin-bottom: 1.5rem;
}

.physics-note p {
  color: #9aa8c0;
  max-width: 680px;
  margin: 0 auto 1.2rem;
  line-height: 1.8;
}

.formula {
  font-family: 'Courier New', monospace;
  color: var(--accent);
  background: rgba(74, 127, 181, 0.1);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.95em;
}

.paper-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.paper-link:hover { color: #7ab0e0; }

/* Download */
.download {
  padding: 6rem 0;
  background: var(--bg);
  text-align: center;
}

.download h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #e8edf5;
  margin-bottom: 0.75rem;
}

.download > .container > p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.download-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--gold);
  padding: 1.1rem 3rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  transition: background 0.2s;
}

.download-btn:hover { background: var(--gold2); color: var(--bg); }

.donation {
  border-top: 1px solid rgba(168, 144, 96, 0.15);
  padding-top: 3rem;
}

.donation-text {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Author */
.author {
  padding: 5rem 0;
  background: var(--bg2);
  text-align: center;
}

.author h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold2);
  margin-bottom: 1.5rem;
}

.author p {
  color: #9aa8c0;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: #060a0f;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(168, 144, 96, 0.1);
}

footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-title { display: none; }

  blockquote p { font-size: 1.1rem; }
}