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

body {
  background: #09090e;
  color: #d4b86a;
  font-family: 'EB Garamond', Georgia, serif;
  min-height: 100vh;
}

/* FLAG BARS */
.flag-bar {
  height: 6px;
  background: linear-gradient(90deg, #1a2744 0%, #1a2744 33%, #8b1a1a 33%, #8b1a1a 66%, #c9a84c 66%, #c9a84c 100%);
}

.flag-bar-bottom {
  height: 4px;
  background: linear-gradient(90deg, #c9a84c 0%, #c9a84c 33%, #8b1a1a 33%, #8b1a1a 66%, #1a2744 66%, #1a2744 100%);
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid #1e1a0e;
  background: #04040a;
}

.nav-seal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.seal-circle {
  width: 40px;
  height: 40px;
  border: 1.5px solid #c9a84c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-inner {
  width: 32px;
  height: 32px;
  border: 0.5px solid #4a3c18;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: #c9a84c;
  font-weight: 600;
}

.seal-text {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #5a4e28;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #a89848;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  transition: color 0.2s;
}

.nav-links a:hover { color: #c9a84c; }

.nav-right {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: #6a5e38;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}

/* HERO */
.hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #12100a 0%, #09090e 70%);
  border-bottom: 1px solid #1e1a0e;
}

.stars-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #5a4e38;
  font-size: 10px;
  letter-spacing: 4px;
}

.stars-row span { color: #c9a84c; }

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #8a7a42;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 64px;
  font-weight: 700;
  color: #c9a84c;
  margin: 0 0 0.25rem;
  letter-spacing: 8px;
  line-height: 1;
}

.hero-rule-ornate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
  width: 400px;
}

.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3a2e10);
}

.rule-line.right {
  background: linear-gradient(90deg, #3a2e10, transparent);
}

.rule-diamond {
  width: 6px;
  height: 6px;
  background: #c9a84c;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.rule-small {
  width: 3px;
  height: 3px;
  background: #4a3c18;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero-sub {
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: #a89848;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.proclamation {
  max-width: 560px;
  margin: 0 auto 1rem;
  font-size: 22px;
  line-height: 1.65;
  color: #d4b86a;
  font-style: italic;
}

.proclamation-attr {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: #8a7a42;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn-enter {
  padding: 0.7rem 2.5rem;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  background: #c9a84c11;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-enter:hover { background: #c9a84c22; }

.btn-secondary {
  padding: 0.7rem 2.5rem;
  border: 1px solid #2a2410;
  color: #8a7a42;
  background: transparent;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: #a89848; border-color: #3a3010; }

/* PREAMBLE BAND */
.preamble-band {
  background: #04040a;
  border-top: 1px solid #1e1a0e;
  border-bottom: 1px solid #1e1a0e;
  padding: 1.5rem 3rem;
  text-align: center;
}

.preamble-text {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  line-height: 1.8;
  color: #8a7a42;
  letter-spacing: 0.5px;
}

.preamble-text em {
  color: #b8a55a;
  font-style: normal;
}

/* PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid #1e1a0e;
  text-align: center;
}

.pillar:last-child { border-right: none; }

.pillar-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 32px;
  color: #6a5e38;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.pillar-glyph {
  font-size: 18px;
  color: #c9a84c;
  margin-bottom: 0.75rem;
}

.pillar-label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a7a42;
  margin-bottom: 0.75rem;
}

.pillar-rule {
  width: 30px;
  height: 1px;
  background: #2a2010;
  margin: 0.5rem auto 0.75rem;
}

.pillar-text {
  font-size: 15px;
  line-height: 1.75;
  color: #a89848;
  font-style: italic;
}

/* GENERAL PAGE STYLES */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h1 {
  font-family: 'Cinzel', serif;
  color: #c9a84c;
  font-size: 32px;
  letter-spacing: 4px;
  margin-bottom: 2rem;
}

.page-content h2 {
  font-family: 'Cinzel', serif;
  color: #8a7a42;
  font-size: 18px;
  letter-spacing: 3px;
  margin: 2rem 0 1rem;
}

.page-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #b8a55a;
  margin-bottom: 1.5rem;
}

.page-content a {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid #3a2e10;
}

.page-content a:hover { border-color: #c9a84c; }

/* REMOVE UNDERLINES FROM ALL NAV/UI LINKS */
a { text-decoration: none; }
.nav a, .nav-seal a, .work-back, .phase-footer a { text-decoration: none; }

/* HAMBURGER — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #c9a84c;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-right {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #04040a;
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 1px solid #1e1a0e;
    gap: 0;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #1e1a0e;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 0;
    font-size: 13px;
  }

  .nav {
    position: relative;
  }
}

/* FOOTER */
.site-footer {
  background: #04040a;
  border-top: 1px solid #1e1a0e;
  padding: 3rem 2rem 0;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e1a0e;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1.25rem;
}

.footer-col-title a {
  color: #c9a84c;
  text-decoration: none;
}

.footer-col-title a:hover {
  color: #e8d5a8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: #8a7a42;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #c9a84c; }

.footer-muted {
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: #3a2e10;
}

.footer-blog-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid #3a2e10;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.footer-blog-link:hover { border-color: #c9a84c; }

.footer-base {
  padding: 1.25rem 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-base-text {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3a2e10;
}

/* FOOTER MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #2a2410;
  border-radius: 50%;
  color: #8a7a42;
  transition: color 0.2s, border-color 0.2s;
}

.social-icon:hover {
  color: #c9a84c;
  border-color: #c9a84c;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* FIX NAV CENTERING */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    left: 0;
    transform: none;
  }
}

/* FOOTER CREDIT LINE */
.footer-credit {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  text-align: center;
  margin-top: 0.5rem;
}

.footer-credit a {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid #c9a84c;
  transition: color 0.2s, border-color 0.2s;
}

.footer-credit a:hover {
  color: #ffffff;
  border-color: #ffffff;
}
