:root {
  --night: #041711;
  --forest: #082a20;
  --emerald: #14593f;
  --emerald-bright: #1c7a55;
  --gold: #cfa64a;
  --gold-light: #f1d889;
  --parchment: #f3ead2;
  --paper: #fffaf0;
  --burgundy: #6e2d2a;
  --ink: #17231f;
  --muted: #65716b;
  --line: rgba(80, 55, 22, .2);
  --shadow: 0 24px 60px rgba(4, 23, 17, .2);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--parchment);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .22;
  background: radial-gradient(circle at 20% 10%, #fff, transparent 30%), repeating-linear-gradient(90deg, rgba(69,47,17,.03) 0 1px, transparent 1px 7px);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .7rem 1rem; color: #fff; background: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
h1, h2, h3, .brand strong { font-family: Georgia, "Times New Roman", serif; }
.eyebrow { margin: 0 0 .55rem; color: var(--emerald); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 6.2rem); letter-spacing: -.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.035em; }
h3 { margin-bottom: .7rem; font-size: 1.2rem; }
p { margin-top: 0; }

.ceremonial-masthead { color: #fff; background: #03120d; text-align: center; }
.home-image-masthead { overflow: hidden; background: #03120d; }
.home-image-masthead > img { display: block; width: 100%; height: auto; margin: 0 auto; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.masthead-stack { padding-block: .58rem .7rem; }
.masthead-level p { margin: 0; }
.parent-organization { padding: .38rem .75rem .5rem; background: rgba(0,0,0,.16); border-radius: 9px 9px 0 0; }
.masthead-organization { color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(.58rem, .8vw, .7rem); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.masthead-leader-line { margin-top: .2rem !important; color: rgba(255,255,255,.86); font-family: Georgia, "Times New Roman", serif; font-size: clamp(.56rem, .72vw, .68rem); font-weight: 700; letter-spacing: .025em; }
.council-identity { padding: .52rem 1rem; color: var(--gold-light); background: rgba(20,89,63,.34); }
.council-identity p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(.95rem, 1.8vw, 1.3rem); font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.current-leader { padding: 0 .75rem .48rem; background: rgba(28,122,85,.2); border-radius: 0 0 9px 9px; }
.current-leader .masthead-leader-line { margin-top: 0 !important; }
.compact-masthead { color: #fff; background: linear-gradient(180deg, #03120d, var(--forest)); text-align: center; }
.compact-masthead .shell { padding-block: .58rem .62rem; }
.compact-council, .compact-leader { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.compact-council { color: var(--gold-light); font-size: clamp(.88rem, 1.5vw, 1.08rem); }
.compact-leader { margin-top: .12rem; color: rgba(255,255,255,.78); font-size: clamp(.56rem, .72vw, .68rem); }

.site-header { position: sticky; top: 0; z-index: 40; color: #fff; background: rgba(8,42,32,.96); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.brand strong { display: block; color: var(--gold-light); font-size: .94rem; letter-spacing: .045em; }
.brand span { display: block; color: rgba(255,255,255,.64); font-size: .61rem; letter-spacing: .13em; text-transform: uppercase; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; font-size: 1.15rem; cursor: pointer; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 1.8vw, 1.65rem); }
.primary-nav a { position: relative; padding: .4rem 0; color: rgba(255,255,255,.78); font-family: Arial, Helvetica, sans-serif; font-size: .84rem; font-weight: 800; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-light); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.home-page .gateway-card h3 { font-size: 1.42rem; }
.home-page .gateway-card p { font-size: .92rem; }
.home-page .gateway-card strong { font-size: .88rem; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-size: .82rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--forest); background: var(--gold-light); box-shadow: 0 12px 28px rgba(207,166,74,.2); }
.button-outline { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }
.button-green { color: #fff; background: var(--emerald); }

.home-hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(105deg, rgba(4,23,17,.98) 0%, rgba(8,42,32,.9) 44%, rgba(8,42,32,.4) 72%, rgba(8,42,32,.16) 100%), url('../images/temple.webp') center right 10% / auto 104% no-repeat, var(--forest); }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 67% 34%, rgba(241,216,137,.3), transparent 25%), repeating-linear-gradient(90deg, transparent 0 84px, rgba(255,255,255,.022) 85px); }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(transparent, rgba(4,23,17,.88)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 3rem; align-items: center; padding: 5.7rem 0 8.5rem; }
.hero-copy .kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy .kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero-copy h1 { max-width: 740px; margin-bottom: 1.15rem; }
.home-page .hero-copy h1 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.025em; }
.hero-copy h1 span { color: var(--gold-light); }
.hero-copy > p { max-width: 650px; margin-bottom: 1.8rem; color: rgba(255,255,255,.74); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.spinning-seal { position: relative; display: grid; place-items: center; padding: 1rem; }
.spinning-seal::before { content: ""; position: absolute; width: 112%; aspect-ratio: 1; border: 1px solid rgba(241,216,137,.42); border-radius: 50%; box-shadow: 0 0 0 10px rgba(207,166,74,.05), 0 0 70px rgba(207,166,74,.18); }
.spinning-seal img { position: relative; width: 215px; filter: drop-shadow(0 18px 28px rgba(0,0,0,.38)); }
.hero-purpose { margin: -.35rem 0 1rem !important; color: var(--gold-light) !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(.92rem, 1.4vw, 1.08rem) !important; font-style: italic; }

.gateway { position: relative; z-index: 5; margin-top: -3.6rem; padding-bottom: 6rem; }
.gateway-panel { position: relative; isolation: isolate; padding: clamp(1.3rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.gateway-panel::before, .gateway-panel::after { content: ""; position: absolute; z-index: 0; top: 13%; bottom: 6%; width: 104px; pointer-events: none; opacity: .72; background: url('../images/green-column.webp') center / contain no-repeat; mix-blend-mode: multiply; }
.gateway-panel::before { left: -83px; }
.gateway-panel::after { right: -83px; }
.gateway-panel > * { position: relative; z-index: 1; }
.section-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-intro > div { max-width: 720px; }
.section-intro > p { max-width: 390px; margin-bottom: .3rem; color: var(--muted); }
.gateway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gateway-card { position: relative; min-height: 260px; display: flex; flex-direction: column; overflow: hidden; padding: 1.35rem; color: var(--ink); background: #f8f1df; border: 1px solid var(--line); border-radius: 17px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.gateway-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(4,23,17,.14); }
.gateway-card::after { content: ""; position: absolute; right: -18px; bottom: -28px; width: 130px; height: 130px; opacity: .09; background: var(--emerald); border-radius: 50%; }
.gateway-number { color: var(--burgundy); font-family: Georgia, serif; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.gateway-card img { width: 78px; height: 78px; margin: 1rem 0; object-fit: contain; object-position: left center; }
.gateway-symbol { width: 78px; height: 78px; display: grid; place-items: center; margin: 1rem 0; color: var(--gold); background: var(--forest); border-radius: 50%; font-family: Georgia, serif; font-size: 2.4rem; }
.gateway-card h3 { margin-bottom: .35rem; }
.gateway-card p { color: var(--muted); font-size: .82rem; }
.gateway-card strong { margin-top: auto; color: var(--emerald); font-size: .78rem; }

.feature-section { padding: 6rem 0; }
.feature-section.dark { color: #fff; background: var(--forest); }
.feature-section.dark .eyebrow { color: var(--gold-light); }
.feature-section.dark .section-intro > p { color: rgba(255,255,255,.64); }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: stretch; }
.feature-media { min-height: 430px; overflow: hidden; background: #000; border: 7px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.feature-media iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }
.feature-copy { padding: clamp(1.6rem, 4vw, 3rem); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); }
.feature-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.feature-copy p { color: rgba(255,255,255,.68); }
.mini-list { display: grid; gap: .75rem; margin: 1.5rem 0; }
.mini-item { padding: .8rem 1rem; background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.mini-item strong { display: block; font-family: Georgia, serif; }
.mini-item span { display: block; color: rgba(255,255,255,.58); font-size: .75rem; }

.quote-section { padding: 5.5rem 0; text-align: center; background: var(--paper); }
.quote-section blockquote { max-width: 900px; margin: 0 auto 1rem; color: var(--forest); font-family: Georgia, serif; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.23; }
.quote-section cite { color: var(--muted); font-style: normal; font-weight: 700; }

.page-hero { position: relative; min-height: 410px; display: grid; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(100deg, rgba(4,23,17,.98), rgba(8,42,32,.84) 60%, rgba(8,42,32,.5)), url('../images/temple.webp') center 45% / cover no-repeat; }
.page-hero::before, .coming-soon::before { content: ""; position: absolute; inset: 0; opacity: .23; background: repeating-linear-gradient(90deg, transparent 0 90px, rgba(255,255,255,.04) 91px); }
.coming-soon::after { content: ""; position: absolute; inset: 3% 2%; pointer-events: none; opacity: .72; background: url('../images/green-column.webp') left center / auto 92% no-repeat, url('../images/green-column.webp') right center / auto 92% no-repeat; mix-blend-mode: multiply; }
.page-hero .shell { position: relative; z-index: 2; padding-block: 4.5rem; }
.breadcrumbs { display: flex; gap: .45rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.page-hero h1 { max-width: 820px; margin-bottom: .9rem; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.page-main { padding: 5.5rem 0 7rem; }

.lecture-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 1.5rem; }
.lecture-list { display: grid; gap: .65rem; align-content: start; }
.lecture-button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; padding: .82rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.lecture-button:hover, .lecture-button[aria-pressed="true"] { color: #fff; background: var(--forest); border-color: var(--forest); }
.play-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--forest); background: var(--gold-light); border-radius: 50%; font-size: .78rem; }
.lecture-button strong { display: block; font-family: Georgia, serif; }
.lecture-button small { display: block; opacity: .64; font-size: .7rem; }
.video-stage { position: sticky; top: 100px; min-height: 520px; overflow: hidden; background: var(--night); border: 7px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-stage [hidden] { display: none !important; }
.video-local-preview { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; color: #fff; background: var(--night); text-decoration: none; }
.video-local-preview > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; opacity: .78; }
.video-local-preview > span { display: grid; gap: .3rem; padding: 1rem 1.15rem; background: linear-gradient(135deg, #03120d, var(--forest)); }
.video-local-preview strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.35rem; }
.video-local-preview small { color: rgba(255,255,255,.75); }
.video-local-preview b { margin-top: .25rem; color: #fff; font-size: .78rem; }

.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-card { min-height: 260px; display: flex; flex-direction: column; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(4,23,17,.08); }
.resource-card .tag { align-self: flex-start; margin-bottom: 1.2rem; padding: .26rem .58rem; color: var(--burgundy); background: #f5e5d6; border-radius: 999px; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.resource-card p { color: var(--muted); font-size: .86rem; }
.resource-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.resource-meta small { margin-right: auto; color: var(--muted); font-weight: 700; }
.resource-meta a { color: var(--emerald); font-size: .76rem; font-weight: 800; text-decoration: none; }
.resource-meta a:hover { text-decoration: underline; }
.solo-card { max-width: 760px; margin-inline: auto; }
.memorial-card { grid-column: span 2; }
.memorial-music { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.memorial-music h4 { margin: 0 0 .85rem; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.music-track { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(250px, 1.3fr); gap: 1rem; align-items: center; padding: .65rem 0; }
.music-track + .music-track { border-top: 1px solid rgba(80,55,22,.12); }
.music-track strong { font-size: .8rem; }
.music-track audio { width: 100%; height: 40px; }

.coming-soon { position: relative; min-height: 690px; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(rgba(4,23,17,.83), rgba(4,23,17,.94)), url('../images/history/lineage.jpg') center top / cover no-repeat; }
.coming-soon .shell { position: relative; z-index: 2; }
.coming-emblem { width: 120px; margin: 0 auto 1.5rem; filter: drop-shadow(0 12px 24px #000); }
.coming-soon h1 { margin-bottom: 1rem; }
.coming-soon p { max-width: 670px; margin: 0 auto 1.8rem; color: rgba(255,255,255,.72); }

.official-link { max-width: 820px; margin-inline: auto; display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: clamp(1.4rem, 5vw, 3.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.official-link img { width: 165px; margin-inline: auto; }
.official-link p { color: var(--muted); }
.link-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-card-art { height: 104px; display: flex; align-items: center; margin: -.15rem 0 1rem; }
.link-card-art img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
.link-card-art-ifamm img { width: 100%; height: auto; }
.link-card-art-facebook img { width: 170px; height: auto; }
.links-contact { margin-top: 2rem; }

.site-footer { color: rgba(255,255,255,.68); background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 3rem; padding: 4rem 0; }
.footer-brand { display: block; }
.footer-brand h3 { margin-bottom: .45rem; color: var(--gold-light); }
.footer-brand p, .footer-links a { font-size: .78rem; }
.footer-links { display: grid; align-content: start; gap: .45rem; }
.footer-links strong { margin-bottom: .4rem; color: #fff; font-family: Georgia, serif; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 1rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; text-align: center; }

@media (max-width: 980px) {
  .gateway-panel::before, .gateway-panel::after, .coming-soon::after { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; padding: 1rem; background: var(--forest); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: .55rem; }
  .hero-grid { grid-template-columns: 1fr 210px; }
  .gateway-grid { grid-template-columns: repeat(2, 1fr); }
  .lecture-layout { grid-template-columns: 1fr; }
  .video-stage { position: relative; top: auto; min-height: 460px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 1.2rem, 1180px); }
  .masthead-stack { padding-block: .45rem .55rem; }
  .council-identity p { font-size: .94rem; white-space: normal; }
  .brand span { display: none; }
  .home-hero { min-height: 710px; background-position: 60% center; }
  .hero-grid { grid-template-columns: 1fr; padding: 4.6rem 0 7.6rem; }
  .spinning-seal { display: none; }
  .section-intro { display: block; }
  .gateway-grid, .resource-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .gateway-card { min-height: 230px; }
  .feature-media, .feature-media iframe { min-height: 280px; }
  .video-stage { min-height: 280px; border-width: 4px; }
  .official-link { grid-template-columns: 1fr; text-align: center; }
  .link-directory { grid-template-columns: 1fr; }
  .link-card-art { height: auto; min-height: 86px; }
  .link-card-art-ifamm img { max-width: 520px; }
  .page-main { padding: 4rem 0 5rem; }
  .memorial-card { grid-column: auto; }
  .music-track { grid-template-columns: 1fr; gap: .4rem; }
}

/* Study plan */
.study-lead { max-width: 860px; margin: 0 auto 2.25rem; text-align: center; }
.study-lead p { color: var(--muted); }
.officer-study { margin: 0 0 2rem; padding: 1.6rem; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,239,213,.92)); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(4,23,17,.08); }
.officer-study-heading { max-width: 760px; margin: 0 auto 1.25rem; text-align: center; }
.officer-study-heading h2 { margin: .35rem 0 .4rem; }
.officer-study-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.officer-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 760px; margin: 0 auto; }
.officer-video-card { overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 9px 22px rgba(4,23,17,.1); text-decoration: none; }
.officer-video-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(4,23,17,.16); }
.officer-video-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.officer-video-image img { width: 100%; height: 100%; object-fit: cover; }
.officer-video-play { position: absolute; left: 50%; top: 50%; display: grid; width: 58px; height: 58px; place-items: center; color: #fff; background: rgba(128, 20, 31, .92); border: 3px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 5px 18px rgba(0,0,0,.35); transform: translate(-50%, -50%); }
.officer-video-card:hover .officer-video-play { background: var(--emerald); transform: translate(-50%, -50%) scale(1.08); }
.officer-video-copy { display: grid; gap: .25rem; padding: 1rem 1.1rem 1.15rem; }
.officer-video-copy strong { font-family: Georgia, serif; font-size: 1.35rem; }
.officer-video-copy > span:last-child { color: var(--emerald); font-size: .78rem; font-weight: 800; }
.officer-video-label { color: var(--burgundy); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.phase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.phase-card { display: flex; flex-direction: column; min-height: 290px; padding: 1.5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(4,23,17,.08); text-decoration: none; }
.phase-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(4,23,17,.13); }
.phase-card .phase-number { color: var(--burgundy); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.phase-card h2 { margin: .7rem 0 .5rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.phase-card p { color: var(--muted); }
.phase-card .phase-months { margin-top: auto; padding-top: 1rem; color: var(--emerald); font-size: .78rem; font-weight: 800; border-top: 1px solid var(--line); }
.teaching-method { margin-top: 2rem; padding: 1.6rem; color: #fff; background: var(--forest); border-radius: 18px; }
.method-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.method-step { padding: .9rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.method-step strong { display: block; margin-bottom: .3rem; color: var(--gold-light); font-family: Georgia, serif; }
.method-step span { color: rgba(255,255,255,.7); font-size: .75rem; }
.phase-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.phase-nav a { padding: .55rem .8rem; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 800; text-decoration: none; }
.phase-nav a:hover, .phase-nav a[aria-current="page"] { color: #fff; background: var(--forest); border-color: var(--forest); }
.lesson-stack { display: grid; gap: 1.25rem; }
.lesson-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 28px rgba(4,23,17,.07); }
.lesson-header { padding: 1.4rem 1.5rem; color: #fff; background: linear-gradient(120deg, var(--forest), var(--emerald)); }
.lesson-header .eyebrow { color: var(--gold-light); }
.lesson-header h2 { margin-bottom: .45rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.guiding-question { margin: 0; color: rgba(255,255,255,.82); font-family: Georgia, serif; font-size: 1.05rem; }
.lesson-body { padding: 1.5rem; }
.lesson-purpose { margin-bottom: 1.25rem; padding: 1rem 1.1rem; color: var(--forest); background: var(--paper); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; }
.lesson-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.lesson-card h3 { margin-bottom: .55rem; color: var(--forest); }
.study-list, .scripture-list { margin: 0; padding-left: 1.2rem; }
.study-list li, .scripture-list li { margin-bottom: .45rem; color: var(--muted); }
.scripture-list li { font-family: Georgia, serif; }
.lesson-application { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.25rem; }
.lesson-application section { padding: 1rem; background: #f8f1df; border-radius: 12px; }
.lesson-application p { margin: 0; color: var(--muted); }
.phase-next { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-columns, .lesson-application { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .officer-video-grid, .phase-grid, .method-grid { grid-template-columns: 1fr; }
  .officer-study { padding: 1rem; }
  .phase-card { min-height: 240px; }
  .lesson-header, .lesson-body { padding: 1.15rem; }
  .phase-next { display: grid; }
}

/* Keep the ceremonial emblem visible in the mobile hero. */
@media (max-width: 720px) {
  .home-page .spinning-seal {
    display: grid;
    width: 152px;
    margin: .35rem auto 0;
    padding: .65rem;
  }
  .home-page .spinning-seal::before { width: 108%; }
  .home-page .spinning-seal img { width: 132px; }
  .home-page .hero-grid { gap: 1.25rem; padding-bottom: 6.4rem; }
}

@media (max-width: 420px) {
  .home-page .spinning-seal { width: 132px; }
  .home-page .spinning-seal img { width: 112px; }
}

/* Refined Council identity, centered navigation, and reduced page length */
.masthead-stack { padding-block: .48rem .58rem; }
.parent-organization { padding: .3rem .75rem .4rem; }
.council-identity {
  padding: .58rem 1rem .5rem;
  color: #f8dda0;
  background: linear-gradient(90deg, rgba(20,89,63,.2), rgba(28,122,85,.46), rgba(20,89,63,.2));
  border-bottom: 1px solid rgba(241,216,137,.72);
}
.council-identity p {
  font-family: "Monotype Corsiva", "Segoe Script", "Apple Chancery", cursive;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
}
.current-leader { padding: .18rem .75rem .38rem; background: rgba(28,122,85,.16); }
.compact-masthead .shell { padding-block: .48rem .52rem; }
.compact-council { color: #f8dda0; font-size: clamp(1rem, 1.7vw, 1.22rem); letter-spacing: .035em; text-shadow: 0 2px 10px rgba(0,0,0,.55); }

.nav-wrap { position: relative; min-height: 62px; justify-content: center; gap: 1rem; }
.brand { display: none; }
.primary-nav { justify-content: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.sound-toggle {
  position: absolute;
  right: 0;
  margin: 0;
  padding: .38rem .62rem;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
}
.sound-toggle:hover, .sound-toggle:focus-visible { color: var(--gold-light); border-color: rgba(241,216,137,.55); }

.home-hero { min-height: 0; }
.hero-grid { gap: 2.5rem; padding: 1rem 0 4.25rem; }
.home-page .hero-grid { padding-top: 1rem; }
.gateway { padding-bottom: 4.5rem; }
.section-intro { gap: 1.6rem; margin-bottom: 1.6rem; }
.gateway-card { min-height: 235px; }
.gateway-card img { width: 68px; height: 68px; margin: .72rem 0; }
.gateway-symbol { width: 68px; height: 68px; margin: .72rem 0; font-size: 2.1rem; }
.feature-section { padding: 4.5rem 0; }
.quote-section { padding: 3.75rem 0; }
.page-hero { min-height: 0; }
.page-hero .shell { padding-block: 1.75rem 2.1rem; }
.page-main { padding: 4rem 0 5rem; }
.footer-grid { gap: 2.5rem; padding: 3rem 0; }

@media (max-width: 980px) {
  .menu-toggle { margin-inline: auto; }
}

@media (max-width: 720px) {
  .masthead-stack { padding-block: .38rem .46rem; }
  .council-identity { padding: .48rem .65rem .42rem; }
  .council-identity p { max-width: 34rem; margin-inline: auto; font-size: 1.4rem; line-height: 1.15; white-space: normal; }
  .home-hero { min-height: 0; }
  .hero-grid { padding: .8rem 0 4.25rem; }
  .home-page .hero-grid { padding-top: .8rem; }
  .gateway-card { min-height: 215px; }
  .page-main { padding: 3.25rem 0 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .spinning-seal img { content: url('../images/new-logo.webp'); }
}

/* History archive */
.history-hero { position: relative; overflow: hidden; padding: 2rem 0 2.35rem; color: #fff; text-align: center; background: linear-gradient(rgba(4,23,17,.78), rgba(4,23,17,.94)), url('../history/Lineage.webp') center 25% / cover no-repeat; }
.history-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(241,216,137,.2), transparent 32%); }
.history-hero-content { position: relative; z-index: 1; }
.history-hero h1 { max-width: 900px; margin: 0 auto 1rem; font-size: clamp(2.6rem, 6vw, 5.4rem); }
.history-hero p:last-child { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.history-hero .eyebrow { color: var(--gold-light); }
.history-library { padding: 2.5rem 0 3.5rem; }
.history-intro { display: block; }
.history-intro > div { max-width: none; }
.history-intro h2 { white-space: nowrap; }
.history-instruction { margin: -.35rem 0 0; color: var(--muted); }
.history-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.15rem; }
.history-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(4,23,17,.09); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.history-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(4,23,17,.16); }
.history-card > img { width: 100%; height: 190px; padding: .7rem; object-fit: contain; object-position: center; background: radial-gradient(circle at center, #174d39, var(--night)); border-bottom: 4px solid var(--gold); }
.history-card > div { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.history-card span { color: var(--burgundy); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.history-card h3 { margin: .55rem 0; font-size: 1.55rem; }
.history-card p { color: var(--muted); font-size: .84rem; }
.history-card strong { margin-top: auto; padding-top: .85rem; color: var(--emerald); font-size: .78rem; }
.history-coming { display: grid; grid-template-columns: 96px 1fr; gap: 1.4rem; align-items: center; margin-top: 2rem; padding: 1.5rem 1.7rem; color: #fff; background: linear-gradient(120deg, var(--forest), var(--emerald)); border: 1px solid rgba(241,216,137,.35); border-radius: 18px; }
.history-coming img { width: 88px; }
.history-coming h2 { margin-bottom: .5rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.history-coming p:last-child { margin: 0; color: rgba(255,255,255,.74); }
.history-coming .eyebrow { color: var(--gold-light); }
.history-reader { padding: 2rem 0 4rem; background: linear-gradient(#f3ead2, #e4d3ad); }
.history-back { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.history-back a { color: var(--emerald); font-size: .8rem; font-weight: 800; text-decoration: none; }
.history-reader header { max-width: 820px; margin: 0 auto 1.7rem; text-align: center; }
.history-reader h1 { margin-bottom: .7rem; color: var(--forest); font-size: clamp(2.3rem, 5vw, 4rem); }
.history-reader header > p:last-child { color: var(--muted); }
.history-poster { display: block; max-width: 980px; margin: 0 auto; background: var(--night); border: 7px solid var(--forest); border-radius: 12px; box-shadow: var(--shadow); }
.history-poster img { width: 100%; }
.poster-tip { margin: 1rem auto 0; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; }
.interactive-lineage { position: relative; max-width: 980px; margin: 0 auto; overflow: hidden; background: var(--night); border: 7px solid var(--forest); border-radius: 12px; box-shadow: var(--shadow); }
.interactive-lineage > img { width: 100%; }
.lineage-hotspot { position: absolute; z-index: 2; top: var(--hotspot-top); left: 24%; width: 64%; height: 7.25%; padding: 0; overflow: visible; color: #fff; background: transparent; border: 2px solid transparent; border-radius: 9px; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lineage-hotspot > span { position: absolute; right: .55rem; bottom: .35rem; padding: .28rem .48rem; color: #fff4c6; background: rgba(4,23,17,.9); border: 1px solid rgba(241,216,137,.78); border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.32); font-size: clamp(.48rem, .8vw, .68rem); font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.lineage-hotspot:hover, .lineage-hotspot:focus-visible { background: rgba(241,216,137,.12); border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(4,23,17,.45); outline: 0; }
.lineage-hotspot:hover > span, .lineage-hotspot:focus-visible > span { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .lineage-hotspot::after { content: ""; position: absolute; z-index: 5; top: 50%; right: 1.5%; width: clamp(125px, 20vw, 215px); aspect-ratio: 3 / 4; opacity: 0; pointer-events: none; background: #000 var(--lineage-preview) center / contain no-repeat; border: 4px solid var(--gold-light); border-radius: 9px; box-shadow: 0 14px 35px rgba(0,0,0,.58); transform: translateY(-50%) scale(.94); transition: opacity .18s ease, transform .18s ease; }
  .lineage-hotspot:hover { z-index: 6; }
  .lineage-hotspot:hover::after { opacity: 1; transform: translateY(-50%) scale(1); }
}
.lineage-mobile-list { display: none; }
.lineage-dialog { width: min(880px, calc(100% - 1.2rem)); max-height: 94vh; padding: 0; overflow: auto; color: #fff; background: var(--night); border: 2px solid var(--gold); border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.62); }
.lineage-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.lineage-dialog-bar { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 1rem; background: rgba(4,23,17,.96); border-bottom: 1px solid rgba(241,216,137,.35); }
.lineage-dialog-bar h2 { margin: 0; color: var(--gold-light); font-size: clamp(1.15rem, 3vw, 1.75rem); letter-spacing: 0; }
.lineage-dialog-bar button { width: 42px; height: 42px; flex: 0 0 42px; padding: 0; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lineage-dialog > img { width: 100%; max-height: 76vh; object-fit: contain; background: #000; }
.lineage-dialog > p { margin: 0; padding: .7rem 1rem 1rem; color: rgba(255,255,255,.7); font-size: .78rem; text-align: center; }

/* Shared emblem placement for every main menu page hero. */
.page-hero { height: 300px; min-height: 300px; background-position: center 45%; }
.page-hero > .shell { height: 100%; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-grid .page-hero-seal { width: 168px; justify-self: end; padding: .65rem; }
.page-hero-grid .page-hero-seal::before { width: 106%; }
.page-hero-grid .page-hero-seal img { width: 145px; height: auto; }

@media (max-width: 720px) {
  .page-hero { height: 330px; min-height: 330px; background-position: center 45%; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 86px; gap: .75rem; }
  .page-hero-grid .page-hero-seal { display: grid; width: 82px; justify-self: end; padding: .3rem; }
  .page-hero-grid .page-hero-seal::before { width: 102%; }
  .page-hero-grid .page-hero-seal img { width: 72px; }
  .page-hero-grid .breadcrumbs { margin-bottom: .8rem; }
  .page-hero-grid h1 { font-size: clamp(2rem, 10vw, 3.2rem); }
}

@media (max-width: 720px) {
  .home-image-masthead > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 860px) {
  .history-grid { grid-template-columns: 1fr; }
  .history-card { display: grid; grid-template-columns: minmax(145px, .65fr) 1fr; }
  .history-card > img { height: 100%; min-height: 220px; padding: .65rem; border-right: 4px solid var(--gold); border-bottom: 0; }
}

@media (max-width: 560px) {
  .history-hero { padding: 1.75rem 0 2rem; }
  .history-library { padding: 2rem 0 2.75rem; }
  .history-intro h2 { white-space: normal; }
  .history-card { display: flex; }
  .history-card > img { height: 190px; min-height: 0; border-right: 0; border-bottom: 4px solid var(--gold); }
  .history-coming { grid-template-columns: 1fr; text-align: center; }
  .history-coming img { margin-inline: auto; }
  .history-back { display: grid; text-align: center; }
  .history-poster { border-width: 3px; }
  .interactive-lineage { border-width: 3px; }
  .lineage-hotspot { display: none; }
  .lineage-mobile-list { display: grid; gap: .45rem; margin: 1.2rem auto 0; }
  .lineage-mobile-list a { min-height: 48px; display: flex; align-items: center; padding: .7rem .85rem; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-family: Georgia, "Times New Roman", serif; font-size: .85rem; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
  .lineage-mobile-list a:focus-visible { background: var(--forest); color: #fff; }
  .lineage-dialog { width: calc(100% - .7rem); }
}
