/* =============================================================
   Secretary of State Investigators FOP Lodge #95
   Theme: deep navy + warm gold, elegant editorial feel
   ============================================================= */

:root {
  --navy-950: #060F1E;
  --navy-900: #0B1F3A;
  --navy-800: #112D4E;
  --navy-700: #1A3E68;
  --navy-600: #2A5489;
  --navy-50:  #E9EFF7;

  --gold-600: #9B7A2E;
  --gold-500: #C8A24A;
  --gold-400: #D9BD6A;
  --gold-200: #ECDDA8;
  --gold-50:  #FBF4DE;

  --cream:    #FAF7EE;
  --paper:    #FFFFFF;
  --ink:      #1B2433;
  --ink-muted:#4B5566;
  --ink-faint:#828B98;
  --border:   #E6E0CF;

  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 3px rgba(11,31,58,.08);
  --shadow-md: 0 4px 6px -1px rgba(11,31,58,.07), 0 12px 28px -8px rgba(11,31,58,.10);
  --shadow-lg: 0 30px 60px -15px rgba(11,31,58,.22);

  --radius:    8px;
  --radius-lg: 16px;
  --max-w:     1200px;
  --header-h:  78px;
  --t-fast:    .18s ease;
  --t-med:     .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; height: auto; }

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--gold-600); }
a:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); }
h2 { font-size: clamp(1.9rem, 2vw + 1rem, 2.65rem); }
h3 { font-size: clamp(1.2rem, .7vw + 1rem, 1.5rem); }
h4 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-800); }

p { margin: 0 0 1.1em; }

::selection { background: var(--gold-200); color: var(--navy-950); }

/* ----------- Layout -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--cream { background: var(--cream); }
.section--navy {
  background: var(--navy-900);
  background-image: radial-gradient(ellipse at top, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: rgba(255,255,255,.92);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--gold-400); }
.section--navy a:hover { color: var(--gold-200); }

.text-center { text-align: center; }

/* ----------- Skip link ----------------------------------- */
.skip {
  position: absolute;
  left: 0; top: -40px;
  background: var(--navy-900);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  transition: top var(--t-fast);
}
.skip:focus { top: 0; color: #fff; }

/* ----------- Top utility bar ----------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold-400); }
.topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { color: var(--gold-400); }
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; gap: 14px; font-size: .78rem; }
}

/* ----------- Header / Nav -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}
.nav__brand:hover { color: var(--navy-900); }
.nav__brand img { width: 46px; height: 46px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-text span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .005em;
}
.nav__brand-text small {
  color: var(--ink-muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav__links {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__links a {
  color: var(--navy-800);
  font-weight: 500;
  font-size: .96rem;
  padding: 10px 14px;
  border-radius: 6px;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--gold-600); background: var(--gold-50); }
.nav__links a.is-active { color: var(--navy-900); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.nav__cta {
  background: var(--gold-500);
  color: var(--navy-900) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 2px 0 rgba(0,0,0,.05);
}
.nav__cta:hover { background: var(--gold-400) !important; transform: translateY(-1px); }
.nav__menu-cta { display: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle::before,
.nav__toggle::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__toggle::before { top: 14px; }
.nav__toggle span { top: 21px; }
.nav__toggle::after { top: 28px; }
.nav__toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span { opacity: 0; }
.nav__toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: max-height var(--t-med), padding var(--t-med);
  }
  .nav__links.is-open { max-height: 600px; padding: 12px 16px 20px; }
  .nav__links a { width: 100%; padding: 12px 14px; }
  .nav__menu-cta {
    display: block;
    background: var(--gold-500);
    color: var(--navy-900) !important;
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
  }
  .nav__menu-cta:hover { background: var(--gold-400); }
}

/* ----------- Buttons ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 14px 30px; font-size: 1.05rem; }
.btn--gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}
.btn--gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-900);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--ghost:hover {
  background: var(--navy-900);
  color: #fff;
}

/* ----------- Hero ---------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(200,162,74,.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(42,84,137,.45) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 18px);
  opacity: .8;
}
.hero__star {
  position: absolute;
  z-index: -1;
  opacity: .07;
  color: var(--gold-500);
  pointer-events: none;
}
.hero__star--tr { top: -60px; right: -60px; width: 360px; }
.hero__star--bl { bottom: -100px; left: -80px; width: 320px; }

.hero__inner {
  padding: clamp(100px, 14vw, 180px) 24px clamp(80px, 11vw, 140px);
  position: relative;
}
.hero__eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 6px 14px;
  border: 1px solid rgba(200,162,74,.4);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 5.5vw + 1rem, 5rem);
  margin: 0 0 18px;
  color: #fff;
  max-width: 22ch;
  line-height: 1.08;
}
.hero__title--small { font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); }
.hero__lede {
  font-size: clamp(1.05rem, .6vw + 1rem, 1.3rem);
  color: rgba(255,255,255,.82);
  max-width: 60ch;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----------- Section heads ------------------------------- */
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section__eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section__divider {
  width: 60px;
  height: 2px;
  background: var(--gold-500);
  border: none;
  margin: 18px auto 22px;
}
.section__head p {
  color: var(--ink-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* ----------- Cards --------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-50));
  color: var(--navy-800);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; color: var(--navy-900); }
.card p { color: var(--ink-muted); margin-bottom: 0; font-size: .98rem; }

.card--stat .card__num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 6px;
}
.card--stat .card__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

/* ----------- Split (image + copy) ------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__img { order: 2; }
.split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-50);
  aspect-ratio: 4 / 3;
  position: relative;
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { margin-top: .1em; }
.split__copy p { color: var(--ink-muted); }
.split__copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}
.split__copy ul li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}
.split__copy ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--gold-500);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
}

/* Decorative SVG-only image stand-in for sections lacking photos */
.split__art {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.split__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 14px);
  z-index: 0;
}
.split__art svg { width: 58%; max-width: 280px; opacity: .92; position: relative; z-index: 1; }

/* ----------- Mission list -------------------------------- */
.mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.mission__item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.mission__item:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.mission__num {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.mission__item p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  font-size: .98rem;
}

/* ----------- Officers grid ------------------------------- */
.officers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.officer {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.officer:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}
.officer__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--gold-400);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 2px solid var(--gold-500);
}
.officer__role {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 4px;
}
.officer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.officer__meta {
  color: var(--ink-muted);
  font-size: .92rem;
  margin: 0;
}

/* ----------- CTA banner ---------------------------------- */
.cta-banner {
  background: var(--navy-900);
  background-image:
    radial-gradient(ellipse at top right, rgba(200,162,74,.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; max-width: 22ch; margin: 0 auto .5em; }
.cta-banner p { color: rgba(255,255,255,.82); max-width: 56ch; margin: 0 auto 32px; }
.cta-banner__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------- Donate -------------------------------------- */
.donate-panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
}
.donate-panel h2 { margin-bottom: 14px; }
.donate-panel > p { color: var(--ink-muted); margin-bottom: 28px; }
.donate-panel form { margin: 0; }
.donate-note {
  font-size: .85rem;
  color: var(--ink-faint);
  margin: 22px 0 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.donate-note::before {
  content: '🔒';
  font-size: .9rem;
}

/* ----------- Contact ------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto 48px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--gold-400); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy-900); }
.contact-card a, .contact-card address {
  font-style: normal;
  color: var(--ink-muted);
  font-size: .96rem;
  line-height: 1.5;
}
.contact-card a:hover { color: var(--gold-600); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-card h2 { margin-bottom: 6px; }
.form-card .lede { color: var(--ink-muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; position: relative; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(200,162,74,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--error input, .field--error textarea {
  border-color: #c33;
  box-shadow: 0 0 0 4px rgba(204,51,51,.12);
}
.field__error {
  color: #c33;
  font-size: .85rem;
  margin-top: 6px;
}
.form-msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .94rem;
}
.form-msg--err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }
.form-msg--ok { background: #ecf6ef; color: #1b5b32; border: 1px solid #c6e2cf; }
.form-success {
  text-align: center;
  padding: 18px 8px;
}
.form-success svg {
  width: 56px; height: 56px;
  color: var(--gold-500);
  margin: 0 auto 16px;
}
.form-success h3 { color: var(--navy-900); margin-bottom: 8px; }
.form-success p { color: var(--ink-muted); margin: 0; }

/* ----------- Footer -------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  line-height: 1.2;
}
.footer-brand small {
  display: block;
  color: var(--gold-400);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 4px;
}
.site-footer p { color: rgba(255,255,255,.62); }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: .82rem; letter-spacing: .18em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Exioite credit ribbon — sits OUTSIDE the .container so the divider
   and centering span the full footer width. */
.exioite-credit {
  margin: 18px 0 0;
  padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}
.exioite-credit__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  opacity: .82;
  transition: opacity var(--t-fast);
}
.exioite-credit__link:hover { opacity: 1; }
.exioite-credit__caption {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.exioite-credit__logo {
  display: block;
  height: 36px;
  width: auto;
}
.exioite-credit__sep { color: rgba(255,255,255,.3); }
.exioite-credit__url {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}
@media (max-width: 480px) {
  .exioite-credit__logo { height: 28px; }
}

/* ----------- Reveal animation ---------------------------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
