:root {
  --bg: #17130f;
  --bg-alt: #181615;
  --gold: #c9a24b;
  --gold-bright: #e8cf8a;
  --oxblood: #8a2e2e;
  --ivory: #f0e9da;
  --taupe: #a99d87;
  --border: rgba(201, 162, 75, 0.22);
  --border-card: #43371F; /*rgba(201, 162, 75, 0.5);*/
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper-grain texture so the black doesn't read flat */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

h1, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  margin: 0;
}

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}
.eyebrow.center { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 24px 60px;
  text-align: center;
  animation: fadeUp 0.9s ease both;
}

.seal { display: block; margin: 0 auto 22px; }

.hero h1 {
  font-size: clamp(42px, 8vw, 72px);
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.tagline {
  margin: 18px 0 0;
  font-style: italic;
  font-size: 20px;
  color: var(--taupe);
}

.byline {
  margin: 8px 0 0;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.quote {
  margin: 40px auto 34px;
  padding-left: 22px;
  max-width: 460px;
  text-align: left;
  border-left: 1px solid var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ivory);
}

.hero-copy {
  max-width: 560px;
  margin: 0 auto 18px;
  color: var(--ivory);
  text-align: left;
}
.hero-copy:last-of-type { margin-bottom: 34px; }

/* ---------- Intro ---------- */
.intro {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px 70px;
  text-align: center;
  color: var(--ivory);
}
.intro p { margin: 0 0 18px; }
.intro p:last-child { margin-bottom: 0; }

/* ---------- Divider ---------- */
.divider {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 24px 70px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.divider span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- Works ---------- */
.works {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work {
  border: 1px solid var(--border-card);
  background: var(--bg-alt);
  padding: 32px 26px;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.work:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.work-tag {
  font-style: italic;
  font-size: 14px;
  color: var(--taupe);
  margin: 0 0 10px;
}
.work-tag.warning { color: var(--oxblood); }

.work h2 {
  font-size: 26px;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--ivory);
}

.work-desc {
  color: var(--ivory);
  font-size: 16px;
  margin: 0 0 26px;
}

.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  text-decoration: none;
  padding: 11px 22px;
  transition: background 0.25s ease;
}
.btn:hover { background: var(--gold-bright); }

.btn-lg {
  font-size: 14px;
  padding: 15px 34px;
}

.works-lede {
  max-width: 560px;
  margin: 0 auto 46px;
  text-align: center;
  color: var(--taupe);
}

.work-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(15%);
}

.progress-note {
  margin: 46px 0 0;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.series-banner {
  margin: 28px 0 0;
  border: 1px solid var(--border-card);
  background: var(--bg-alt);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: border-color 0.25s ease;
}
.series-banner:hover { border-color: var(--gold); }

.series-banner p {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ivory);
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px 90px;
  text-align: center;
}
.newsletter h2 {
  font-size: 34px;
  font-style: italic;
  margin-bottom: 14px;
}
.newsletter p {
  color: var(--taupe);
  margin: 0 0 30px;
}

.signup {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.signup input {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ivory);
  padding: 13px 18px;
  min-width: 260px;
  outline: none;
}
.signup input:focus {
  border-color: var(--gold);
}
.signup input::placeholder { color: var(--taupe); }

.signup button {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 0 26px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.signup button:hover { background: var(--gold-bright); }

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 24px 50px;
  color: var(--taupe);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.footer-genre {
  max-width: 480px;
  margin: 0 auto 14px;
  color: var(--taupe);
  font-size: 13px;
}

/* ---------- Motion ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .works-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 60px 20px 44px; }
  .signup input { min-width: 0; width: 100%; }
  .signup button { width: 100%; padding: 13px; }
  .series-banner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .series-banner .btn { width: 100%; text-align: center; }
}
