:root {
  --ink:        #0e0b07;
  --parchment:  #f5efe3;
  --aged:       #e8ddc8;
  --sepia:      #8b6e4e;
  --rust:       #7a3b1e;
  --gold:       #b8963e;
  --gold-light: #d4af6a;
  --ash:        #3a3228;
  --fog:        #c9bfad;
  --white:      #fdfaf4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Libre Baskerville', Georgia, serif;
  overflow-x: hidden;
  cursor: default;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--sepia); border-radius: 3px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem;
}

.hero-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(184,150,62,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184,150,62,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-lines::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, var(--ink) 100%);
}

.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(184,150,62,0.15), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-eyebrow span {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  border: 1px solid rgba(184,150,62,0.4);
  position: relative;
}

.hero-eyebrow span::before,
.hero-eyebrow span::after {
  content: '◆';
  font-size: 0.5rem;
  color: var(--gold);
  position: absolute; top: 50%; transform: translateY(-50%);
}

.hero-eyebrow span::before { left: -1rem; }
.hero-eyebrow span::after  { right: -1rem; }

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  animation: fadeUp 0.9s 0.4s ease both;
  text-shadow: 0 0 80px rgba(184,150,62,0.15);
}

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

.hero-rule {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2.5rem auto;
  animation: fadeIn 1s 0.8s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fog);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  animation: fadeUp 0.9s 0.9s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-1px); }

section { padding: 7rem 4rem; }

.section-tag {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-tag::before {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--fog);
  max-width: 600px;
}

.articles-section {
  padding: 7rem 4rem;
}

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

.article-card {
  background: rgba(245,239,227,0.04);
  border: 1px solid rgba(184,150,62,0.2);
  padding: 2.5rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.article-card:hover {
  border-color: rgba(184,150,62,0.5);
  background: rgba(184,150,62,0.08);
  transform: translateY(-4px);
}

.article-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--fog);
}

.article-meta strong {
  color: var(--gold-light);
}

.article-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fog);
  margin-bottom: 0;
}

.article-card:hover .article-text {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.article-text p {
  margin: 0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--ink);
  border: 1px solid rgba(184,150,62,0.3);
  padding: 3rem;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--gold-light);
}

.modal-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--fog);
}

footer {
  border-top: 1px solid rgba(184,150,62,0.2);
  padding: 3rem 4rem;
  text-align: center;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(201,191,173,0.4);
  text-transform: uppercase;
}

/* DONE */
