:root {
  --navy: #0a2472;
  --navy-dark: #061744;
  --navy-deep: #04102f;
  --gold: #c9a227;
  --gold-light: #dfc45d;
  --white: #ffffff;
  --red: #8b0900;
  --slate: #6b7280;

  --text-dark: #1f2937;
  --text-mid: #4b5563;
  --text-light: #d9deea;

  --surface: #f5f7fb;
  --surface-warm: #f7f4ea;
  --border: #d9dee8;

  --max-width: 1200px;
  --radius: 4px;

  --shadow-sm: 0 8px 22px rgba(6, 23, 68, 0.08);
  --shadow-md: 0 18px 45px rgba(6, 23, 68, 0.12);
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--navy-dark);
}

h3 {
  font-size: 1.7rem;
  line-height: 1.1;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 7rem 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 1000;
}

.utility-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.utility-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-bar a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.utility-bar a:hover {
  color: var(--gold-light);
}

.main-nav {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.main-nav__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--white);
  text-decoration: none;
}

.brand__seal {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand__subtitle {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.025em;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links .nav-cta {
  padding: 0.7rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {

  position: relative;

  min-height: 650px;

  display: flex;

  align-items: center;

  overflow: hidden;

  background-image:

    linear-gradient(90deg,

      rgba(6, 23, 68, 0.05) 0%,

      rgba(6, 23, 68, 0.10) 30%,

      rgba(6, 23, 68, 0.58) 48%,

      rgba(6, 23, 68, 0.86) 67%,

      rgba(6, 23, 68, 0.72) 100%),

    url("../assets/images/hero.png");

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;

}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;

  background: linear-gradient(90deg,
      var(--gold),
      var(--red),
      var(--gold));
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(180deg,
      rgba(6, 23, 68, 0.04),
      rgba(6, 23, 68, 0.16));
}

.hero__content {
  position: relative;
  z-index: 2;

  width: min(92%, var(--max-width));
  margin-inline: auto;

  padding-block: 7rem;
  padding-left: min(48%, 575px);
}

.hero__eyebrow,
.eyebrow,
.mini-label {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero__eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 6vw, 6.4rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--gold);
}

.hero__lead {
  max-width: 650px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0.85rem 1.5rem;

  text-decoration: none;
  text-transform: uppercase;

  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 800;

  border: 1px solid transparent;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
}

.btn--gold,
.button-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn--gold:hover,
.button-gold:hover {
  background: var(--gold-light);
}

.btn--outline,
.button-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover,
.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
}

.button-navy:hover {
  background: var(--navy-dark);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;

  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  color: var(--gold);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* =========================================================
   EYEBROWS
   ========================================================= */

.eyebrow.dark {
  color: var(--navy);
}

.eyebrow.light {
  color: var(--gold);
}

.mini-label {
  color: var(--gold);
  margin-bottom: 0.55rem;
}

/* =========================================================
   VISITOR PATHS
   ========================================================= */

.audience-paths {
  position: relative;
  z-index: 10;
  margin-top: -1px;
  background: var(--white);
  padding-bottom: 1.5rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid rgba(201, 162, 39, 0.35);
  border-right: 1px solid rgba(201, 162, 39, 0.35);
}

.path-card {
  position: relative;
  min-height: 290px;
  padding: 3.2rem;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;

  text-decoration: none;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.path-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 4px;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.3s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.path-card:hover::after {
  transform: scaleX(1);
}

.path-card__number {
  padding-top: 0.35rem;

  color: var(--gold);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.path-card__content {
  max-width: 520px;
}

.path-card .mini-label {
  margin-bottom: 0.65rem;
}

.path-card h2 {
  margin-bottom: 1rem;

  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 0.95;
}

.path-card p {
  max-width: 500px;
  margin-bottom: 1.8rem;

  font-size: 0.98rem;
  line-height: 1.7;
}

.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.path-card__link span {
  font-size: 1.2rem;

  transition: transform 0.2s ease;
}

.path-card:hover .path-card__link span {
  transform: translateX(5px);
}


/* Begin Your Journey
   --------------------------------------------------------- */

.path-card--journey {
  background:
    linear-gradient(
      135deg,
      #fffdf7 0%,
      #f7f1df 100%
    );

  color: var(--navy-dark);

  border-right: 1px solid rgba(201, 162, 39, 0.35);
}

.path-card--journey::after {
  background: var(--gold);
}

.path-card--journey .mini-label {
  color: var(--red);
}

.path-card--journey p {
  color: var(--text-mid);
}

.path-card--journey .path-card__link {
  color: var(--navy);
}


/* Member Resources
   --------------------------------------------------------- */

.path-card--members {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-dark) 100%
    );

  color: var(--white);
}

.path-card--members::after {
  background: var(--gold);
}

.path-card--members .path-card__number,
.path-card--members .mini-label,
.path-card--members .path-card__link {
  color: var(--gold);
}

.path-card--members h2 {
  color: var(--white);
}

.path-card--members p {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   INTRO / WHAT IS FREEMASONRY
   ========================================================= */

.intro {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 8rem;
  background: var(--white);
}

/* Very subtle architectural background detail */

.intro::after {
  content: "";

  position: absolute;
  width: 420px;
  height: 420px;

  right: -210px;
  bottom: -210px;

  border: 1px solid rgba(201, 162, 39, 0.14);
  border-radius: 50%;

  pointer-events: none;
}

.split {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 7rem;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 2rem;
}

.intro-heading .eyebrow {
  margin-bottom: 1.5rem;
}

.intro-title {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.intro-rule {
  display: block;
  width: 4px;

  background:
    linear-gradient(
      to bottom,
      var(--gold) 0%,
      var(--gold) 72%,
      var(--red) 72%,
      var(--red) 100%
    );
}

.intro-title h2 {
  margin: 0;

  color: var(--navy-dark);

  font-size: clamp(3.3rem, 5vw, 5rem);
  line-height: 0.9;
}

.intro-copy {
  max-width: 720px;
}

.large-copy {
  margin-bottom: 2rem;

  color: var(--navy-dark);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 600;
  line-height: 1.22;
}

.intro-copy > p:not(.large-copy) {
  max-width: 650px;

  margin-bottom: 1.35rem;

  color: var(--text-mid);

  font-size: 1.02rem;
  line-height: 1.85;
}

.intro-link {
  margin-top: 1rem;

  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

/* =========================================================
   PILLARS / ENDURING VALUES
   ========================================================= */

.pillars {
  position: relative;
  padding: 8rem 0 9rem;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--navy-dark) 0%,
      #081d56 55%,
      var(--navy) 100%
    );

  color: var(--white);
}

/* Subtle background architectural detail */

.pillars::before {
  content: "";
  position: absolute;

  width: 600px;
  height: 600px;

  top: -300px;
  right: -250px;

  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: 50%;

  pointer-events: none;
}

.pillar-heading {
  position: relative;
  z-index: 2;

  max-width: 760px;
  margin-bottom: 4.5rem;

  .pillar-heading {
  max-width: 760px;
  margin: 0 0 4.5rem;
  text-align: left;
}
}

.pillar-heading h2 {
  color: var(--white);
}

.pillar-intro {
  max-width: 680px;
  margin: 1.5rem auto 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 1rem;
  line-height: 1.8;
}


/* Cards
   --------------------------------------------------------- */

.pillar-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;

  border: 0;
}

.pillar-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.055);

  border: 1px solid rgba(255, 255, 255, 0.12);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-7px);

  border-color: rgba(201, 162, 39, 0.55);

  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.24);
}


/* Images
   --------------------------------------------------------- */

.pillar-image {
  position: relative;

  height: 330px;

  overflow: hidden;

  background: var(--navy-deep);
}

.pillar-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      transparent 45%,
      rgba(6, 23, 68, 0.22) 70%,
      rgba(6, 23, 68, 0.72) 100%
    );

  pointer-events: none;
}

.pillar-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.65s ease;
}

.pillar-card:hover .pillar-image img {
  transform: scale(1.035);
}


/* Number
   --------------------------------------------------------- */

.pillar-number {
  position: absolute;

  left: 1.5rem;
  bottom: 1.2rem;

  z-index: 2;

  color: var(--gold);

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 1.4rem;
  font-weight: 700;
}


/* Content
   --------------------------------------------------------- */

.pillar-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  padding: 2rem;
}

.pillar-content .mini-label {
  margin-bottom: 0.55rem;

  color: var(--gold);
}

.pillar-content h3 {
  margin: 0 0 1rem;

  color: var(--white);

  font-size: clamp(2.3rem, 3vw, 3rem);
}

.pillar-content > p:not(.mini-label) {
  margin-bottom: 2rem;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.95rem;
  line-height: 1.75;
}

.pillar-content a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;

  margin-top: auto;

  color: var(--gold);

  text-decoration: none;

  text-transform: uppercase;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.pillar-content a span {
  font-size: 1rem;

  transition: transform 0.2s ease;
}

.pillar-content a:hover span {
  transform: translateX(5px);
}

/* =========================================================
   GRAND MASTER
   ========================================================= */

.gm-section {
  background: var(--surface);
}

.gm-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.portrait-card {
  min-height: 520px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(150deg,
      var(--navy-dark),
      var(--navy));

  box-shadow: var(--shadow-md);
}

.portrait-monogram {
  flex: 1;
  display: grid;
  place-items: center;

  color: rgba(255, 255, 255, 0.16);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 9rem;
  font-weight: 700;
}

.portrait-caption {
  padding: 1.7rem 2rem;
  background: var(--navy-dark);
  color: var(--white);
}

.portrait-caption strong,
.portrait-caption span {
  display: block;
}

.portrait-caption strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
}

.portrait-caption span {
  margin-top: 0.25rem;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.gm-copy h2 {
  max-width: 700px;
}

.gm-copy blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;

  border-left: 3px solid var(--gold);

  color: var(--navy-dark);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.4;
  font-style: italic;
}

.gm-copy>p {
  color: var(--text-mid);
}
.grand-master-photo {
  width: 100%;
  height: 405px;
  overflow: hidden;
  background: var(--navy);
}

.grand-master-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* =========================================================
   IMPACT BAND
   ========================================================= */

.impact-band {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.impact-copy h2 {
  margin: 0;
  color: var(--white);
}

.impact-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.impact-points div {
  padding: 1rem 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-points strong,
.impact-points span {
  display: block;
}

.impact-points strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
}

.impact-points span {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

/* =========================================================
   PROGRAMS
   ========================================================= */

.section-topline {
  margin-bottom: 3rem;

  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.program-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.5rem;
}

.program-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.program-card.featured {
  background: var(--navy-dark);
  color: var(--white);
}

.program-art {
  min-height: 210px;
}

.school-art {
  min-height: 230px;

  background:
    linear-gradient(
      180deg,
      rgba(7, 24, 65, 0.04) 0%,
      rgba(7, 24, 65, 0.14) 100%
    ),
    url("../assets/images/program-public-schools.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.program-body {
  padding: 2rem;
}

.program-body h3 {
  margin-bottom: 1rem;
  color: var(--navy-dark);
}

.program-card.featured h3 {
  color: var(--white);
}

.program-body p {
  color: var(--text-mid);
}

.program-card.featured .program-body p {
  color: rgba(255, 255, 255, 0.72);
}

.program-body a {
  display: inline-block;
  margin-top: 0.35rem;

  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.program-body a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.program-card.featured .program-body a {
  color: var(--gold);
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   FIND A LODGE
   ========================================================= */

.find-section {
  padding: 6rem 0;
  background: var(--navy-dark);
  color: var(--white);
}

.find-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.find-copy h2 {
  color: var(--white);
}

.find-copy>p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.lodge-locator-card {
  padding: 2.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lodge-locator-card .mini-label {
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.lodge-locator-card h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.8rem;
}

.lodge-locator-card > p {
  max-width: 520px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.lodge-locator-card .button {
  display: inline-block;
}

.locator-note {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

/* =========================================================
   MEMBER HUB
   ========================================================= */

.member-hub {
  background: var(--surface);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.resource {
  min-height: 190px;
  padding: 2rem;

  display: flex;
  flex-direction: column;

  color: var(--text-dark);
  background: var(--white);
  text-decoration: none;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.resource:hover {
  background: var(--surface-warm);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.resource span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.resource strong {
  margin-top: auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  color: var(--navy-dark);
}

.resource small {
  margin-top: 0.35rem;
  color: var(--text-mid);
}

.resource strong::after {
  content: " →";
  color: var(--gold);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.resource:hover strong::after {
  opacity: 1;
}

/* =========================================================
   ORGANIZATIONS
   ========================================================= */

.organizations {
  padding: 7rem 0;
  background: var(--white);
}

.organizations .center-heading>p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
}

.org-grid {
  max-width: 1080px;
  margin: 2.5rem auto 0;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.organization-card {
  min-height: 175px;
  padding: 1.5rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: var(--white);
  border: 1px solid var(--border);

  color: var(--navy-dark);
  text-align: center;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.organization-card:hover {
  background: var(--surface-warm);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.organization-logo {
  height: 80px;
  margin-bottom: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.organization-logo img {
  display: block;

  max-width: 105px;
  max-height: 72px;

  width: auto;
  height: auto;

  object-fit: contain;
}

.organization-card strong {
  color: var(--navy-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.organization-card > span {
  margin-top: 0.45rem;

  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.cta-inner h2 {
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-inner p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding-top: 5rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-logo {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border: 1px solid var(--gold);
  border-radius: 50%;

  color: var(--gold);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  color: var(--white);
}

.brand-copy small {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  font-size: 0.72rem;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================================================
   REVEAL EFFECT
   ========================================================= */

.reveal {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .nav-links {
    gap: 0.9rem;
  }

  .split,
  .gm-grid,
  .impact-grid,
  .find-grid {
    gap: 3rem;
  }

  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-card.featured {
    grid-column: 1 / -1;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .utility-bar {
    display: none;
  }

  .main-nav__inner {
    min-height: 76px;
  }

  .brand__seal {
    width: 54px;
    height: 54px;
  }

  .brand__title {
    font-size: 1.2rem;
  }

  .brand__subtitle {
    font-size: 0.58rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 1rem 4%;

    background: var(--navy-dark);
    border-bottom: 2px solid var(--gold);
  }

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

  .nav-links a {
    padding: 0.9rem 0;
  }

  .nav-links .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    min-height: 560px;
  }

  .hero {
    background-position: 35% center;
  }

  .hero__content {
    padding-left: 0;
  }

  .path-grid,
  .split,
  .gm-grid,
  .impact-grid,
  .find-grid {
    grid-template-columns: 1fr;
  }

  .path-card:first-child {
    border-right: 0;
  }

  .section-heading {
    position: static;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar+.pillar {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .impact-points {
    margin-top: 1rem;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .path-grid {
  grid-template-columns: 1fr;
}

.path-card--journey {
  border-right: 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}
.split {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.section-heading {
  position: static;
}
.pillar-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pillar-card:last-child {
  grid-column: 1 / -1;
}

.pillar-card:last-child .pillar-image {
  height: 400px;
}

.organization-card:nth-child(5) {
    grid-column: 2;
}

}

@media (max-width: 700px) {

  .section,
  .pillars,
  .organizations {
    padding: 5rem 0;
  }

  .path-card {
  min-height: auto;
  padding: 2.2rem 1.8rem;

  grid-template-columns: 1fr;
  gap: 1rem;
}

.path-card__number {
  font-size: 1.25rem;
}

.path-card h2 {
  font-size: 2.4rem;
}

  .path-card .arrow {
    display: none;
  }

  .program-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .program-card.featured {
    grid-column: auto;
  }

  .impact-points {
    grid-template-columns: 1fr;
  }

  .impact-points div {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .input-row {
    flex-direction: column;
    gap: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1.5rem 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
  }
  .intro {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.intro-title h2 {
  font-size: 3.4rem;
}

.intro-title {
  gap: 1rem;
}

.large-copy {
  font-size: 2rem;
}
.pillars {
  padding: 5rem 0;
}

.pillar-heading {
  margin-bottom: 3rem;
}

.pillar-grid {
  grid-template-columns: 1fr;
}

.pillar-card:last-child {
  grid-column: auto;
}

.pillar-image,
.pillar-card:last-child .pillar-image {
  height: 300px;
}
}

@media (max-width: 560px) {
  .brand__text {
    display: none;
  }

  .hero {
    min-height: 540px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .cta-actions .button {
    width: 100%;
  }

  .portrait-card {
    min-height: 420px;
  }

  .portrait-monogram {
    font-size: 7rem;
  }
}
/* =========================================================
   ORGANIZATIONS - RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

  .organizations {
    padding: 4.5rem 0;
  }

  .org-grid {
    width: 100%;
    max-width: none;
    margin-top: 2rem;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .organization-card {
    min-width: 0;
    min-height: 165px;
    padding: 1.25rem 0.75rem;
  }

  .organization-logo {
    height: 70px;
    margin-bottom: 0.8rem;
  }

  .organization-logo img {
    max-width: 85px;
    max-height: 62px;
  }

  .organization-card strong {
    font-size: 1.15rem;
  }

  .organization-card > span {
    font-size: 0.68rem;
  }
}

/* =========================================================
   FREEMASONRY PAGE
   Styles for pages/freemasonry.html
   Reuses the main Grand Lodge design system while creating
   a lighter, content-focused interior page experience.
   ========================================================= */


/* =========================================================
   INTERIOR HERO
   Smaller than the homepage hero and designed for subpages.
   ========================================================= */

.interior-hero {
  position: relative;
  padding: 7rem 0 6rem;
  background:
    linear-gradient(
      135deg,
      rgba(11, 19, 37, 0.97),
      rgba(20, 35, 63, 0.95)
    );
  color: #fff;
  overflow: hidden;
}

.interior-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(194, 157, 82, 0.14),
      transparent 34%
    );
  pointer-events: none;
}

.interior-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.interior-hero h1 {
  margin: 0.8rem 0 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.interior-hero h1 span {
  color: var(--gold);
}

.interior-hero__lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}


/* =========================================================
   FREEMASONRY INTRO
   Introductory explanation of Freemasonry.
   ========================================================= */

.freemasonry-intro {
  background: var(--white);
}

.freemasonry-intro .section-heading h2 {
  margin-top: 0.8rem;
}


/* =========================================================
   CORE PRINCIPLES
   Brotherly Love, Relief, and Truth.
   ========================================================= */

.principles-section {
  padding: 7rem 0;
  background: var(--navy-deep);
  color: #fff;
}

.principles-section .center-heading .eyebrow {
  color: var(--gold);
}

.principles-section .center-heading {
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.principles-section .center-heading h2 {
  color: #fff;
}

.principles-section .center-heading > p:last-child {
  max-width: 700px;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

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

.principle-card {
  position: relative;
  min-height: 280px;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.principle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--gold);
}

.principle-number {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.principle-card h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #fff;
}

.principle-card p {
  margin: 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   WHAT MASONS DO
   Four-card overview of Masonic life.
   ========================================================= */

.what-masons-do {
  background: var(--cream);
}

.masonic-life-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.masonic-life-card {
  padding: 2.2rem;
  background: #fff;
  border: 1px solid rgba(11, 19, 37, 0.08);
  box-shadow: 0 14px 40px rgba(11, 19, 37, 0.06);
}

.masonic-life-card h3 {
  margin: 0.35rem 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--navy-deep);
}

.masonic-life-card p:last-child {
  margin-bottom: 0;
  line-height: 1.75;
  color: var(--text-muted);
}


/* =========================================================
   CLARITY / COMMON MISCONCEPTIONS
   Answers common questions about what Freemasonry is not.
   ========================================================= */

.clarity-section {
  padding: 7rem 0;
  background:
    linear-gradient(
      135deg,
      #18263d,
      #0b1325
    );
  color: #fff;
}

.clarity-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.clarity-heading {
  position: sticky;
  top: 140px;
}

.clarity-heading h2 {
  margin: 0.8rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
  color: #fff;
}

.clarity-list {
  display: grid;
  gap: 0;
}

.clarity-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.clarity-item:first-child {
  padding-top: 0;
}

.clarity-item h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.clarity-item p {
  margin: 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   MEMBERSHIP EXPERIENCE
   Explains what Masonic membership looks like in practice.
   ========================================================= */

.membership-experience {
  background: #fff;
}

.membership-copy .large-copy {
  margin-top: 0;
}


/* =========================================================
   MEMBERSHIP REQUIREMENTS
   High-level membership expectations.
   ========================================================= */

.membership-requirements {
  padding: 7rem 0;
  background: var(--gold);
}

.membership-requirements .center-heading {
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.membership-requirements .eyebrow {
  color: var(--navy-deep);
}

.membership-requirements .center-heading h2 {
  color: var(--navy-deep);
}

.membership-requirements .center-heading > p:last-child {
  max-width: 680px;
  margin: 1rem auto 0;
  color: rgba(11, 19, 37, 0.78);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(11, 19, 37, 0.18);
}

.requirement-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
}

.requirement-item span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy-deep);
}

.requirement-item p {
  margin: 0;
  line-height: 1.75;
  color: var(--navy-deep);
}


/* =========================================================
   JOURNEY STEPS
   Three-step path for prospective members.
   ========================================================= */

.journey-steps {
  background: var(--cream);
}

.journey-steps .center-heading {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.journey-steps .center-heading > p:last-child {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--text-muted);
}

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

.journey-card {
  position: relative;
  padding: 2.2rem;
  background: #fff;
  border: 1px solid rgba(11, 19, 37, 0.08);
  box-shadow: 0 12px 35px rgba(11, 19, 37, 0.05);
}

.journey-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.journey-card:hover::after {
  transform: scaleX(1);
}

.journey-number {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}

.journey-card h3 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--navy-deep);
}

.journey-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--text-muted);
}


/* =========================================================
   FREEMASONRY PAGE RESPONSIVE
   Tablet and mobile layout adjustments.
   ========================================================= */

@media (max-width: 900px) {

  .interior-hero {
    padding: 6rem 0 5rem;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .clarity-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .clarity-heading {
    position: static;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 700px) {

  .interior-hero {
    padding: 4.5rem 0 4rem;
  }

  .interior-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .interior-hero__lead {
    font-size: 1rem;
  }

  .principles-section,
  .clarity-section,
  .membership-requirements {
    padding: 5rem 0;
  }

  .masonic-life-grid {
    grid-template-columns: 1fr;
  }

  .requirement-grid {
    grid-template-columns: 1fr;
  }

  .requirement-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .principle-card,
  .masonic-life-card,
  .journey-card {
    padding: 1.8rem;
  }

}


@media (max-width: 480px) {

  .interior-hero {
    padding: 4rem 0 3.5rem;
  }

  .principle-card,
  .masonic-life-card,
  .journey-card {
    padding: 1.5rem;
  }

  .clarity-item {
    padding: 1.6rem 0;
  }

  .requirement-item {
    padding: 1.5rem;
  }

}