/* House Corvus — "Midnight & Parchment" heraldic theme
   Honors the original (black ground, royal-blue links, raven/medieval) and modernises it.
   Brand colors, typography and small tweaks only; Bulma handles layout/grid/components. */

:root {
  --royal: #4169E1;        /* original link blue */
  --royal-dark: #27408b;
  --royal-deep: #16203f;
  --midnight: #0d1326;     /* near-black, the original ground */
  --midnight-2: #131c38;
  --gold: #c9a227;         /* heraldic or */
  --gold-soft: #e3c75f;
  --parchment: #f6f1e3;    /* content surface */
  --parchment-2: #efe7d2;
  --ink: #1f2330;          /* body text on parchment */
  --ink-soft: #4a4f63;
  --cream-border: #d8cba6;
}

html { scroll-behavior: smooth; }

body {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background-color: var(--midnight);
  font-size: 18px;
  line-height: 1.7;
}

/* Responsive images everywhere */
img { max-width: 100%; height: auto; display: block; }

/* Headings: inscriptional/medieval display face */
h1, h2, h3, h4, .title, .subtitle, .navbar-item.brand-text, .footer-title {
  font-family: "Cinzel", "Trajan Pro", Georgia, serif;
  letter-spacing: 0.02em;
}

h1.title { color: var(--royal-deep); }
h2.section-title {
  color: var(--royal-dark);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

a { color: var(--royal); }
a:hover { color: var(--gold); }

/* ---------- Top navigation (midnight bar, gold/blue accents) ---------- */
.navbar.hc-nav {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  border-bottom: 3px solid var(--gold);
}
.navbar.hc-nav .navbar-item,
.navbar.hc-nav .navbar-link { color: var(--parchment); }
.navbar.hc-nav a.navbar-item:hover,
.navbar.hc-nav .navbar-item.is-active { background-color: rgba(65,105,225,0.25); color: var(--gold-soft); }
.navbar.hc-nav .brand-text {
  color: var(--gold-soft);
  font-size: 1.35rem;
  font-weight: 700;
}
.navbar.hc-nav .navbar-burger { color: var(--parchment); }
.navbar.hc-nav .navbar-menu.is-active {
  background: var(--midnight-2);
}
.raven-mark {
  width: 30px; height: 30px; margin-right: 0.6rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.6));
}

/* ---------- Hero ---------- */
.hc-hero {
  position: relative;
  background: var(--midnight);
  color: var(--parchment);
  overflow: hidden;
}
.hc-hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hc-hero .hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,19,38,0.55) 0%, rgba(13,19,38,0.82) 100%);
}
.hc-hero .hero-body { position: relative; z-index: 2; }
.hc-hero h1.title { color: var(--parchment); text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hc-hero .subtitle { color: var(--gold-soft); }
.hc-hero .lede { color: #e8e3d4; max-width: 50rem; }

/* ---------- Parchment content card ---------- */
.parchment {
  background: var(--parchment);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(201,162,39,0.05), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(65,105,225,0.05), transparent 45%);
  border: 1px solid var(--cream-border);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  padding: 2.5rem 2.75rem;
}
@media (max-width: 768px){ .parchment { padding: 1.5rem 1.25rem; } }

.content p { margin-bottom: 1.1rem; }
.content .lede { font-size: 1.2rem; color: var(--ink); border-left: 4px solid var(--gold); padding-left: 1rem; }
.content h2 { color: var(--royal-dark); font-size: 1.7rem; margin-top: 2rem; }
.content h2:first-of-type { margin-top: 0.5rem; }
.content ul li::marker { color: var(--gold); }
.content strong { color: var(--royal-deep); }

figure.hc-figure {
  margin: 1.5rem 0 1.75rem;
  border: 1px solid var(--cream-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}
figure.hc-figure img { width: 100%; }
figure.hc-figure figcaption {
  background: var(--parchment-2);
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  text-align: center;
}

/* Roster list */
.roster-list { list-style: none; margin-left: 0; }
.roster-list li {
  background: var(--parchment-2);
  border-left: 4px solid var(--royal);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  border-radius: 3px;
}
.roster-list li a { font-weight: 700; }

/* Buttons */
.button.is-royal {
  background: var(--royal);
  color: #fff;
  border: none;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.03em;
  transition: transform 0.12s ease, background 0.12s ease;
}
.button.is-royal:hover { background: var(--gold); color: var(--midnight); transform: translateY(-2px); }

/* Contact form (SEO-only) */
.hc-form .input, .hc-form .textarea {
  border-color: var(--cream-border);
  background: #fffdf7;
}
.hc-form label { color: var(--royal-deep); font-weight: 600; }

/* Decorative rule */
.hc-rule {
  border: none; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem 0;
}

/* ---------- Footer ---------- */
.hc-footer {
  background: var(--royal-deep);
  color: #d6ddf2;
  border-top: 4px solid var(--gold);
  padding: 3rem 1.5rem 2.5rem;
}
.hc-footer a { color: var(--gold-soft); }
.hc-footer a:hover { color: #fff; }
.hc-footer .footer-title { color: var(--gold-soft); font-size: 1.1rem; margin-bottom: 0.75rem; }
.hc-footer .footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.hc-footer ul { list-style: none; }
.hc-footer ul li { margin-bottom: 0.4rem; }
.hc-footer .footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(214,221,242,0.2); font-size: 0.9rem; color: #aeb7d4; }

/* 404 */
.hc-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--parchment); }
.hc-404 .big { font-family: "Cinzel", serif; font-size: 6rem; color: var(--gold-soft); line-height: 1; }

/* utility */
.mt-section { margin-top: 2.5rem; }
.text-center { text-align: center; }
