/* =========================
   GLOBAL
========================= */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #121a2b, #05070d);
  color: #e6dcc7;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3px;
}

/* =========================
   SIGIL
========================= */
.sigil-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.sigil-svg {
  width: 150px;
  stroke: #c9b36d;
  fill: none;
  stroke-width: 3;
}

.sigil-svg text {
  fill: #c9b36d;
  font-family: 'Cinzel', serif;
  font-size: 36px;
}

/* =========================
   MAIN LAYOUT
========================= */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 30px;
  animation: fadeIn 1.2s ease-out;
}

/* =========================
   HEADER
========================= */
header {
  text-align: center;
  margin-bottom: 90px;
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: 3.4rem;
  letter-spacing: 4px;
  margin-bottom: 15px;
  color: #f2e7c9;
}

.subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: #c9b36d;
}

/* =========================
   INTRO SECTION
========================= */
.intro {
  position: relative;
  text-align: center;
}

.intro p {
  font-size: 1.25rem;
  margin-bottom: 22px;
}

/* Drop Cap (Desktop Only) */
.intro p:first-of-type::first-letter {
  font-family: 'Cinzel', serif;
  font-size: 3.8rem;
  float: left;
  margin-right: 10px;
  color: #c9b36d;
}

/* =========================
   MARGINALIA
========================= */
.marginalia {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #6f684f;
}

.marginalia.left {
  left: -60px;
  top: 40px;
  transform: rotate(-90deg);
}

.marginalia.right {
  right: -60px;
  top: 140px;
  transform: rotate(90deg);
}

/* =========================
   PILLARS
========================= */
.pillars {
  margin-top: 90px;
}

.pillar {
  border-left: 3px solid #c9b36d;
  padding-left: 25px;
  margin-bottom: 50px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pillar:hover {
  border-color: #e0c878;
  transform: translateX(8px);
}

.pillar h2 {
  font-family: 'Cinzel', serif;
  color: #c9b36d;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.pillar p {
  font-size: 1.2rem;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 120px;
  padding-top: 40px;
  border-top: 1px solid #3a3a3a;
  text-align: center;
  font-size: 1rem;
  color: #b5ab94;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .container {
    padding: 40px 20px;
  }

  .sigil-svg {
    width: 110px;
  }

  h1 {
    font-size: 2.4rem;
    letter-spacing: 3px;
  }

  .subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  header {
    margin-bottom: 60px;
  }

  .intro p {
    font-size: 1.1rem;
  }

  /* Remove marginalia on mobile */
  .marginalia {
    display: none;
  }

  /* Disable drop cap on mobile */
  .intro p:first-of-type::first-letter {
    float: none;
    font-size: 1.1rem;
    margin: 0;
    color: inherit;
  }

  .pillar {
    padding-left: 18px;
    margin-bottom: 40px;
  }

  .pillar h2 {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .pillar p {
    font-size: 1.05rem;
  }

  footer {
    font-size: 0.9rem;
    margin-top: 80px;
  }
}