/* ═══════════════════════════════════════════════════════════
   Pelican Grand Commandery — Knights Templar PHA Louisiana
   Main Stylesheet
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
@font-face {
  font-family: 'OldEnglish';
  src: url(/font/oldenglishtextmt.ttf);
}

:root {
  --gold:        #C9A84C;
  --gold-lt:     #F0C96B;
  --gold-dk:     #8A6020;
  --gold-pale:   #e8d5a0;
  --black:       #04080f;
  --black-soft:  #0d1218;
  --white:       #ffffff;
  --parchment:   #f8f4ec;
  --parchment-dk:#f0ead8;
  --red:         #8B1A1A;
  --red-bright:  #CC2222;
  --purple:      #A855F7;
  --text-dark:   #1a1008;
  --text-mid:    #3d2e10;
  --font-display:"MedievalSharp", cursive;
  --font-heading:"Cinzel", serif;
  --font-deco:   "Cinzel Decorative", serif;
  --font-body:   "Cinzel", serif;
  --nav-h:       72px;
  --transition:  0.35s ease;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-dk); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }

/* ═══════════════════════════════════════
   PAGE SWITCHING
═══════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(4, 8, 15, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: height var(--transition), box-shadow var(--transition);
}

#mainNav.shrunk {
  height: 56px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.nav-title {
  font-family: 'OldEnglish', serif;
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.nav-title span {
  display: block;
  font-size: 0.62rem;
  color: var(--gold-pale);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a,
.nav-links li button {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
}

.nav-links li button:hover,
.nav-links li button.nav-active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* Nav dropdown */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(4, 8, 15, 0.98);
  border: 1px solid rgba(201,168,76,0.25);
  border-top: 2px solid var(--gold-dk);
  min-width: 200px;
  z-index: 1100;
  padding: 0.4rem 0;
}

.nav-has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.1rem;
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown button:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* Kings grid */
.kings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.king-card {
  background: var(--white);
  border-top: 3px solid var(--gold-dk);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.king-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.king-numeral {
  font-family: var(--font-deco);
  font-size: 2rem;
  color: var(--gold-dk);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.king-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.king-commandery {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--red-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.king-reign {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-mid);
  font-style: italic;
}

.king-note {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--gold-dk);
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
  opacity: 0.75;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* Mobile nav */
#mobileMenu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(4, 8, 15, 0.98);
  z-index: 999;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

#mobileMenu.open { display: block; }

#mobileMenu button {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 0.9rem 0;
  cursor: pointer;
  transition: color var(--transition);
}

#mobileMenu button:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   DECORATIVE DIVIDERS & TYPOGRAPHY
═══════════════════════════════════════ */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 320px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dk), transparent);
}

.divider-cross {
  color: var(--red-bright);
  font-size: 1.1rem;
}

h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.section-title {
  font-family: 'OldEnglish', serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--gold-dk);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle-gec {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-mid);
  text-align: center;
  max-width: 680px;
  margin: 0.75rem auto 0;
}

/* Shared section padding */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

/* Background alternation */
.bg-white         { background: var(--white); }
.bg-parchment     { background: var(--parchment); }
.bg-parchment-dk  { background: var(--parchment-dk); }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
#heroSection {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-corner {
  position: absolute;
  width: 68px; height: 68px;
  z-index: 5;
  opacity: 0.30;
}
.hero-corner.tl { top:20px; left:20px; }
.hero-corner.tr { top:20px; right:20px; transform:scaleX(-1); }
.hero-corner.bl { bottom:20px; left:20px; transform:scaleY(-1); }
.hero-corner.br { bottom:20px; right:20px; transform:scale(-1,-1); }

#heroBg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.45);
  transition: transform 0.05s linear;
  display: none;
}

#heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
  pointer-events: none;
}

@media (max-width: 768px) {
  #heroVideo { display: none; }
  #heroBg    { display: block; }
}

#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4,8,15,0.15) 0%,
    rgba(4,8,15,0.05) 40%,
    rgba(4,8,15,0.7)  100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

.hero-emblem {
  width: clamp(180px, 28vw, 280px);
  height: clamp(180px, 28vw, 280px);
  margin: 0 auto 1.75rem;
  position: relative;
  animation: sealEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  animation: sealSpin 60s linear infinite, sealGlow 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.45));
}

.hero-seal-img:hover {
  animation-play-state: paused;
}

@keyframes sealEntrance {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-15deg);
    filter: drop-shadow(0 0 0px rgba(201,168,76,0));
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 18px rgba(201,168,76,0.45));
  }
}

@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sealGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(201,168,76,0.35)); }
  50%       { filter: drop-shadow(0 0 32px rgba(201,168,76,0.75)) drop-shadow(0 0 8px rgba(168,85,247,0.2)); }
}

.hero-title {
  font-family: 'OldEnglish', serif;
  font-size: clamp(2rem, 7vw, 4.5rem);
  color: var(--gold);
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8), 0 0 60px rgba(201,168,76,0.3);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.hero-motto-tag {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.62rem, 1.5vw, 0.78rem);
  color: var(--red-bright, #CC2222);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.hero-divline {
  width: 290px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
}

.hero-leader {
  margin-bottom: 0.9rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

.hero-leader .lname {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: #C084FC;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-leader .ltitle {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  color: #C084FC;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 2vw, 0.98rem);
  color: rgba(245,240,232,0.92);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero-state {
  font-family: var(--font-heading);
  font-size: clamp(0.68rem, 1.6vw, 0.85rem);
  color: var(--gold);
  letter-spacing: 0.44em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-shadow: 0 0 18px rgba(201,168,76,0.5);
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero-ornament .oln {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.6));
}

.hero-ornament .oln.r {
  background: linear-gradient(to left, transparent, rgba(201,168,76,0.6));
}

.hero-ornament .ocr {
  color: var(--red-bright);
  font-size: 1.1rem;
  line-height: 1;
}

.hero-tagline {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--gold-lt, #F0C96B);
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  letter-spacing: 0.04em;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.12);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240,201,107,0.65);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBob 2.4s ease-in-out infinite;
}

.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(201,168,76,0.7);
  border-bottom: 2px solid rgba(201,168,76,0.7);
  transform: rotate(45deg);
  margin-bottom: -6px;
}

.hero-bottombar {
  position:absolute; bottom:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--red),var(--gold),var(--red),transparent);
  z-index:10;
  animation:shimmer 3.5s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.65; }
  50%       { transform: translateX(-50%) translateY(9px); opacity: 1; }
}

/* ═══════════════════════════════════════
   WELCOME / COMMANDER SECTION
═══════════════════════════════════════ */
.commander-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.commander-portrait-frame {
  position: relative;
  border: 3px solid var(--gold);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--parchment-dk);
  display: flex;
  align-items: center;
  justify-content: center;
}

.commander-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--gold-dk);
}

.portrait-placeholder .cross-icon {
  font-size: 3rem;
  color: var(--gold);
}

.portrait-placeholder p {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-dk);
}

.portrait-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: linear-gradient(135deg, var(--black), var(--black-soft));
  border-top: 1px solid var(--gold);
  padding: 0.6rem 1rem;
  text-align: center;
}

.portrait-badge-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.portrait-badge-title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--gold-pale);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.commander-text h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-dk);
  margin-bottom: 1.25rem;
}

.commander-text p {
  margin-bottom: 1.1rem;
  color: var(--text-mid);
  font-size: 1.05rem;
}

.commander-sig {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138,96,32,0.25);
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold-dk);
}

.commander-sig strong {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════
   QUICK LINKS
═══════════════════════════════════════ */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ql-card {
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.2);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ql-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-top-color: var(--red);
}

.ql-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
}

.ql-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.ql-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   THREE ORDERS SECTION
═══════════════════════════════════════ */
.orders-intro {
  max-width: 740px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.order-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.15);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.order-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.order-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(201,168,76,0.35);
  border-color: rgba(201,168,76,0.4);
}

.order-card:hover::after {
  opacity: 1;
}

.order-card:hover .order-symbol {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(201,168,76,0.5);
}

.order-card:hover .order-symbol img {
  transform: scale(1.08);
}

.order-card-header {
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  position: relative;
}

.order-rc    .order-card-header { background: linear-gradient(160deg, #1a0a0a 0%, #2d0f0f 100%); }
.order-malta .order-card-header { background: linear-gradient(160deg, #0a0a0a 0%, #1a1a2e 100%); }
.order-temple .order-card-header { background: linear-gradient(160deg, #06100a 0%, #0d1f14 100%); }

.order-symbol {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  background: transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.order-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.order-card-header h3 {
  /* font-family: var(--font-display); */
  font-family: 'OldEnglish', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.order-num {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
  opacity: 0.7;
}

.order-card-body {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--white);
  border-top: 2px solid var(--gold-dk);
}

.order-card-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.order-virtue {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dk);
  border-top: 1px solid rgba(138,96,32,0.2);
  padding-top: 1rem;
}

.order-virtue::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CONTACT FORM (HOME & CONTACT PAGE)
═══════════════════════════════════════ */
.contact-form-home-wrap {
  max-width: 760px;
  margin: 3rem auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.35);
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit-row {
  margin-top: 1.75rem;
  text-align: center;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-style: italic;
  text-align: center;
}

/* ═══════════════════════════════════════
   ABOUT — TIMELINE
═══════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dk) 10%, var(--gold-dk) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-date {
  flex: 1;
  text-align: right;
  padding-top: 0.25rem;
}

.timeline-item:nth-child(even) .timeline-date {
  text-align: left;
}

.timeline-date-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.timeline-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--parchment);
  margin-top: 0.55rem;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: 0.25rem;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   ABOUT — LEADERSHIP ROSTER
═══════════════════════════════════════ */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.officer-card {
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.15);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform var(--transition);
}

.officer-card:hover { transform: translateY(-4px); }

.officer-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 1rem;
  background: var(--parchment-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dk);
  overflow: hidden;
}

.officer-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.officer-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

/* ═══════════════════════════════════════
   COMMANDERIES PAGE
═══════════════════════════════════════ */
.commanderies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.commandery-card {
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.15);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.commandery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.commandery-banner {
  height: 225px;
  background: linear-gradient(135deg, var(--black) 0%, #1a0505 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold);
  border-bottom: 2px solid var(--gold-dk);
}

.commandery-banner-img {
  padding: 0;
  overflow: hidden;
  background: var(--black);
}

.commandery-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .commandery-banner-img {
    height: 190px;
  }
}

@media (max-width: 480px) {
  .commandery-banner-img {
    height: 160px;
  }
}

.commandery-info {
  padding: 1.5rem;
}

.commandery-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-dk);
  margin-bottom: 0.25rem;
}

.commandery-location {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.commandery-info p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.commandery-info p small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--gold-dk);
  font-style: italic;
}

/* ═══════════════════════════════════════
   EVENTS PAGE
═══════════════════════════════════════ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.event-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid rgba(138,96,32,0.15);
  border-left: 4px solid var(--gold);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}

.event-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.event-date-block {
  text-align: center;
  background: linear-gradient(135deg, var(--black), var(--black-soft));
  border: 1px solid var(--gold-dk);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.event-month {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.event-year {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--gold-pale);
  opacity: 0.6;
  letter-spacing: 0.1em;
}

.event-details h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-meta span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-dk);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.event-details p {
  font-size: 0.92rem;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--black);
  border: 1px solid var(--gold-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════
   JOIN BANNER
═══════════════════════════════════════ */
.join-banner {
  background: linear-gradient(135deg, var(--black) 0%, #1a0505 50%, var(--black) 100%);
  border-top: 2px solid var(--gold-dk);
  border-bottom: 2px solid var(--gold-dk);
  padding: 4rem 2rem;
  text-align: center;
}

.join-banner h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.join-banner p {
  color: var(--gold-pale);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--black);
  color: var(--gold-pale);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.footer-brand .footer-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.footer-brand .footer-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.footer-brand h3 {
  font-family: var(--font-deco);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(240,201,107,0.55);
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li {
  font-size: 0.85rem;
  color: rgba(240,201,107,0.6);
  line-height: 1.45;
}

.footer-col ul li button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: rgba(240,201,107,0.6);
  letter-spacing: 0.06em;
  padding: 0;
  transition: color var(--transition);
}

.footer-col ul li button:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(240,201,107,0.35);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
}

.footer-motto {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(240,201,107,0.45);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .commander-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .quick-links-grid      { grid-template-columns: 1fr; }
  .orders-grid           { grid-template-columns: 1fr; }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .contact-grid          { grid-template-columns: 1fr; }
  .timeline::before      { left: 20px; }
  .timeline-item         { flex-direction: row !important; }
  .timeline-date         { display: none; }
}

@media (max-width: 640px) {
  .nav-links             { display: none; }
  .nav-hamburger         { display: flex; }
  .section               { padding: 3rem 1.25rem; }
  .form-grid             { grid-template-columns: 1fr; }
  .footer-grid           { grid-template-columns: 1fr; }
  .event-card            { grid-template-columns: 80px 1fr; gap: 1rem; }
}
