/* =====================================================================
   Carrickfergus Masonic Centre: shared stylesheet
   Used by every page. Edit here once, applies everywhere.
   ===================================================================== */

:root {
  --navy:        #0e2747;
  --navy-deep:   #081a31;
  --navy-soft:   #1a3658;
  --gold:        #c9a35b;
  --gold-bright: #e0bf78;
  --gold-deep:   #9c7a3a;
  --cream:       #f7f1e3;
  --cream-soft:  #fbf6e9;
  --paper:       #efe6d0;
  --ink:         #1c1a14;
  --ink-soft:    #4a4438;

  --serif-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-body:    'Lora', Georgia, serif;

  --maxw: 1180px;
  --pad:  clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(201, 163, 91, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(14, 39, 71, 0.05), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: inline-block;
  font-family: var(--serif-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Decorative gold rule */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.rule .lozenge {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============ HEADER ============ */
header.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(8, 26, 49, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
  flex-shrink: 0;
}
.brand:hover { color: var(--gold-bright); }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .name {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-text .place {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Desktop nav */
nav.primary { display: flex; }
nav.primary > ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 0.4rem;
}
nav.primary a, nav.primary .nav-trigger {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif-body);
  transition: color 0.2s ease;
  white-space: nowrap;
}
nav.primary a:hover, nav.primary .nav-trigger:hover,
nav.primary li:focus-within > .nav-trigger {
  color: var(--gold-bright);
}
nav.primary .has-drop { position: relative; }
nav.primary .nav-trigger::after {
  content: ' ▾';
  font-size: 0.7em;
  color: var(--gold);
  margin-left: 2px;
}

nav.primary .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--navy-deep);
  border: 1px solid var(--gold-deep);
  border-top: 2px solid var(--gold);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
nav.primary .has-drop:hover .dropdown,
nav.primary .has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
nav.primary .dropdown a {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}
nav.primary .dropdown a:hover {
  background: var(--navy-soft);
  color: var(--gold-bright);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  border-radius: 2px;
  font-size: 1.1rem;
  line-height: 1;
}
.menu-toggle:hover { background: var(--navy-soft); }

/* ============ HOMEPAGE HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--pad) clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23c9a35b' stroke-width='1.2'><circle cx='100' cy='100' r='95'/><circle cx='100' cy='100' r='75'/><path d='M 60 145 L 100 35 L 140 145 Z'/><path d='M 55 50 L 100 165 L 145 50' /><text x='100' y='115' text-anchor='middle' font-family='serif' font-size='32' fill='%23c9a35b' stroke='none'>G</text></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.hero .hero-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.hero h1 {
  color: var(--cream);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
  animation: rise 0.8s ease 0.1s both;
}
.hero h1 .em {
  font-style: normal;
  color: var(--gold-bright);
  display: block;
  font-weight: 500;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(247, 241, 227, 0.9);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  animation: rise 0.8s ease 0.25s both;
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: rise 0.8s ease 0.4s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ INNER PAGE HERO (smaller) ============ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -5%;
  width: 380px; height: 380px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23c9a35b' stroke-width='1.2'><circle cx='100' cy='100' r='95'/><path d='M 60 145 L 100 35 L 140 145 Z'/><path d='M 55 50 L 100 165 L 145 50' /></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.breadcrumb a { color: var(--gold); border-bottom: 1px dotted rgba(201, 163, 91, 0.5); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { margin: 0 0.6rem; opacity: 0.6; }

.page-hero h1 {
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.page-hero .subtitle {
  font-family: var(--serif-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--gold-bright);
  margin: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
}
.btn:hover {
  background: var(--gold-bright);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 163, 91, 0.3);
}
.btn.outline {
  background: transparent;
  color: var(--gold-bright);
}
.btn.outline:hover {
  background: rgba(201, 163, 91, 0.12);
  color: var(--gold-bright);
}

/* ============ SECTION BLOCKS ============ */
section.block { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* About: two-column */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-text p:first-child::first-letter {
  font-family: var(--serif-display);
  font-size: 3.6rem;
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.6rem 0 0;
  color: var(--gold-deep);
  font-weight: 600;
}
.about-stats {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--gold);
  position: relative;
}
.about-stats::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 163, 91, 0.3);
  pointer-events: none;
}
.about-stats h3 {
  color: var(--gold-bright);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--serif-body);
  font-weight: 600;
}
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat-list li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px dotted rgba(201, 163, 91, 0.3);
}
.stat-list li:last-child { border-bottom: none; }
.stat-list .num {
  font-family: var(--serif-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 500;
  min-width: 50px;
  text-align: right;
}
.stat-list .label {
  font-size: 0.95rem;
  color: rgba(247, 241, 227, 0.92);
}

/* Explore cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--cream-soft);
  border: 1px solid rgba(201, 163, 91, 0.4);
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14, 39, 71, 0.12);
  border-color: var(--gold);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.6rem; color: var(--navy); }
.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}
.card-links {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid rgba(201, 163, 91, 0.3);
  padding-top: 1rem;
}
.card-links li { margin-bottom: 0.35rem; }
.card-links a {
  font-size: 0.92rem;
  color: var(--navy-soft);
  transition: color 0.2s ease;
}
.card-links a::before {
  content: '→ ';
  color: var(--gold-deep);
  margin-right: 4px;
}
.card-links a:hover { color: var(--gold-deep); }

/* Hall hire promo */
.hire-section {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hire-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid rgba(201, 163, 91, 0.15);
  border-radius: 50%;
}
.hire-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border: 1px solid rgba(201, 163, 91, 0.1);
  border-radius: 50%;
}
.hire-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hire-section h2 { color: var(--cream); }
.hire-section .eyebrow { color: var(--gold-bright); }
.hire-section p { color: rgba(247, 241, 227, 0.88); }
.hire-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.hire-features li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
}
.hire-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.3rem;
}
.hire-card {
  background: var(--navy-deep);
  border: 1px solid var(--gold-deep);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}
.hire-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 163, 91, 0.25);
  pointer-events: none;
}
.hire-card .label {
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.hire-card .price {
  font-family: var(--serif-display);
  font-size: 2.6rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.hire-card .small {
  color: rgba(247, 241, 227, 0.7);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Visit section */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.visit-info {
  background: var(--cream-soft);
  border: 1px solid rgba(201, 163, 91, 0.4);
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
}
.visit-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.5rem;
}
.visit-info dt {
  font-family: var(--serif-display);
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  align-self: center;
}
.visit-info dd { margin: 0; color: var(--ink); }
.visit-info dd a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.visit-info dd a:hover { color: var(--gold-deep); }

/* ====================================================================
   INNER PAGE TEMPLATE (article + sidebar)
   Used by Lodge pages, Hall Tour pages, Clubs pages, etc.
   ==================================================================== */

.page-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.article {
  font-size: 1.05rem;
  color: var(--ink);
}
.article > p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 3.6rem;
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.6rem 0 0;
  color: var(--gold-deep);
  font-weight: 600;
}
.article h2, .article h3 {
  margin-top: 2.2rem;
}
.article h2:first-child, .article h3:first-child {
  margin-top: 0;
}
.article h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(201, 163, 91, 0.4);
}
.article h3 {
  color: var(--navy);
  font-size: 1.3rem;
}
.article a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}
.article a:hover { color: var(--gold-deep); }

.article ul, .article ol {
  padding-left: 1.4rem;
  margin: 1rem 0 1.5rem;
}
.article li { margin-bottom: 0.4rem; }

/* Editorial pull-quote / callout */
.callout {
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}
.callout cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--serif-body);
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fact-card {
  background: var(--cream-soft);
  border: 1px solid rgba(201, 163, 91, 0.4);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.5rem 1.4rem;
  position: relative;
}
.fact-card.dark {
  background: var(--navy);
  border-color: var(--gold-deep);
  border-top-color: var(--gold);
  color: var(--cream);
}
.fact-card.dark .fact-label,
.fact-card.dark .fact-title { color: var(--gold-bright); }

.fact-title {
  font-family: var(--serif-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dotted rgba(201, 163, 91, 0.5);
}

.fact-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1rem;
}
.fact-card dt {
  font-family: var(--serif-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  align-self: start;
  padding-top: 0.15rem;
}
.fact-card.dark dt { color: var(--gold-bright); }
.fact-card dd {
  margin: 0;
  font-size: 0.95rem;
}
.fact-card dd a {
  color: inherit;
  border-bottom: 1px solid var(--gold);
}
.fact-card.dark dd a { color: var(--cream); }

.fact-card p { font-size: 0.95rem; margin: 0 0 0.8rem; }
.fact-card p:last-child { margin-bottom: 0; }

/* Crest holder in sidebar */
.crest-holder {
  text-align: center;
  padding: 1.5rem;
  background: var(--cream-soft);
  border: 1px solid rgba(201, 163, 91, 0.4);
}
.crest-holder img {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.crest-holder .caption {
  margin-top: 1rem;
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Related links sidebar list */
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li {
  border-bottom: 1px dotted rgba(201, 163, 91, 0.4);
}
.related-list li:last-child { border-bottom: none; }
.related-list a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--navy);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.related-list a::before {
  content: '→ ';
  color: var(--gold-deep);
  margin-right: 4px;
  transition: margin-right 0.2s ease;
}
.related-list a:hover {
  color: var(--gold-deep);
  padding-left: 0.3rem;
}

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 241, 227, 0.8);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
footer h4 {
  color: var(--gold-bright);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--serif-body);
  font-weight: 600;
  margin-bottom: 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.4rem; }
footer a {
  color: rgba(247, 241, 227, 0.75);
  font-size: 0.92rem;
}
footer a:hover { color: var(--gold-bright); }
.footer-brand p {
  color: rgba(247, 241, 227, 0.75);
  font-size: 0.95rem;
  max-width: 380px;
}
.footer-bottom {
  border-top: 1px solid rgba(201, 163, 91, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(247, 241, 227, 0.5);
  font-style: italic;
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  nav.primary { display: none; }
  .menu-toggle { display: block; }

  nav.primary.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-deep);
    border-top: 1px solid var(--gold-deep);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  nav.primary.open > ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  nav.primary.open > ul > li {
    border-bottom: 1px solid rgba(201, 163, 91, 0.15);
  }
  nav.primary.open .has-drop { position: static; }
  nav.primary.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(201, 163, 91, 0.15);
    background: rgba(0,0,0,0.2);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.primary.open .has-drop.expanded .dropdown {
    max-height: 600px;
  }
  nav.primary.open .nav-trigger {
    width: 100%;
    text-align: left;
  }
  nav.primary.open a, nav.primary.open .nav-trigger {
    padding: 0.85rem 1.5rem;
  }
  nav.primary.open .dropdown a {
    padding-left: 2.5rem;
  }

  .page-content {
    grid-template-columns: 1fr;
  }
  .sidebar { order: 2; }
}

@media (max-width: 720px) {
  .about-grid, .hire-grid, .visit-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hire-features { grid-template-columns: 1fr; }
  .brand-text .name { font-size: 1.05rem; }
  .brand-text .place { font-size: 0.62rem; }
}

@media (max-width: 480px) {
  .brand svg { width: 32px; height: 32px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}

/* Print */
@media print {
  header, footer, .menu-toggle, .sidebar { display: none; }
  body { background: white; color: black; }
  .hero, .page-hero { background: white; color: black; padding: 1rem 0; }
  .hero h1, .page-hero h1 { color: black; }
  .page-content { grid-template-columns: 1fr; }
}

/* ====================================================================
   Article images + click-to-enlarge lightbox
   ==================================================================== */

.image-figure {
  margin: 1.8rem 0;
  text-align: center;
}
.image-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(201, 163, 91, 0.5);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--cream-soft);
}
.image-figure img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 39, 71, 0.15);
}
.image-figure .cap {
  display: block;
  margin: 0.7rem auto 0;
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 90%;
  line-height: 1.4;
}

/* Image grid for galleries */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2rem;
}
.image-grid .image-figure {
  margin: 0;
}
.image-grid .image-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Banner image (Lodge 43 banner) */
.banner-img {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 1.5rem auto;
  border: 1px solid var(--gold);
  background: var(--cream-soft);
  cursor: zoom-in;
}

/* Lightbox overlay (built by site.js) */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 49, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 88vh;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--gold);
}
.lightbox-overlay .lb-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-family: var(--serif-body);
  line-height: 1;
}
.lightbox-overlay .lb-close:hover {
  background: var(--gold-deep);
  color: var(--cream);
}
.lightbox-overlay .lb-cap {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-bright);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  max-width: 80%;
  background: rgba(8, 26, 49, 0.7);
  padding: 0.5rem 1rem;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Officers table styling */
.officers-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 1rem;
}
.officers-table th, .officers-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dotted rgba(201, 163, 91, 0.4);
}
.officers-table th {
  font-family: var(--serif-display);
  font-weight: 600;
  color: var(--gold-deep);
  width: 38%;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.officers-table tr:last-child th, .officers-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
  }
  .lightbox-overlay { padding: 1rem; }
}
