/* Odd Fellows Home of California — shared stylesheet
   Static site. No external CSS dependencies. */

:root {
  --navy:       #1a2a44;
  --navy-dark:  #0f1c30;
  --brass:      #a8854e;
  --brass-soft: #c4a26d;
  --cream:      #f8f5ed;
  --cream-dark: #ede7d6;
  --paper:      #ffffff;
  --ink:        #1f1f1f;
  --ink-soft:   #2a2a2a;
  --muted:      #5e564b;
  --muted-soft: #8a8278;
  --rule:       #d8d1bf;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
}

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

a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(26,42,68,0.3); transition: border-color 0.15s ease; }
a:hover { border-bottom-color: var(--navy); }

/* ============ Header ============ */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  border: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 2px;
}

.site-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.site-nav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 0;
  font-weight: 500;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.current { color: var(--navy); border-bottom: 2px solid var(--brass); padding-bottom: 2px; }

/* ============ Hero ============ */

.hero {
  position: relative;
  background: var(--navy-dark);
  color: white;
  overflow: hidden;
}

.hero--full {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
}

.hero--compact {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,48,0.2) 0%, rgba(15,28,48,0.55) 70%, rgba(15,28,48,0.85) 100%);
}

.hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px;
  width: 100%;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px 0;
  letter-spacing: -0.005em;
  max-width: 820px;
}

.hero__subtitle {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
}

/* ============ Generic section ============ */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px;
}

.section--narrow { max-width: 820px; }

.section--paper { background: var(--paper); }
.section--cream-dark { background: var(--cream-dark); }
.section--navy { background: var(--navy); color: white; }
.section--navy a { color: var(--brass-soft); border-bottom-color: rgba(196,162,109,0.4); }
.section--navy a:hover { border-bottom-color: var(--brass-soft); }

.section--wrap { padding: 88px 0; }
.section--wrap .section { padding-top: 0; padding-bottom: 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin: 0 0 12px 0;
}

.section h1, .section h2, .section h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.section--navy h1, .section--navy h2, .section--navy h3 { color: white; }

.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 20px 0;
}

.section h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.section p {
  margin: 0 0 1.1em 0;
  max-width: 64ch;
}

.lead { font-size: 19px; color: var(--ink-soft); }

/* ============ Communities grid ============ */

.communities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .communities { grid-template-columns: 1fr; }
}

.community {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.community__image {
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}
.community__image img { width: 100%; height: 100%; object-fit: cover; }

.community__body { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }

.community__location {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 6px;
}
.community__name {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.community__desc { font-size: 16px; color: var(--ink-soft); margin: 0 0 20px 0; }
.community__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 0;
}
.community__link::after { content: " →"; color: var(--brass); }

/* ============ Photo strip ============ */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
}
.photo-strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ============ Editorial layout ============ */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
}
.editorial--reverse { grid-template-columns: 1.2fr 1fr; }
.editorial--reverse .editorial__media { order: 2; }
@media (max-width: 860px) {
  .editorial--reverse .editorial__media { order: 0; }
}

.editorial__media img { width: 100%; height: auto; border-radius: 4px; }

/* ============ Director grid ============ */

.dir-group {
  margin-top: 56px;
}
.dir-group h2 { margin-bottom: 6px; }
.dir-group__caption {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}
@media (max-width: 900px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }

.dir {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.dir__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-dark);
  flex-shrink: 0;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
}

.dir__body { flex: 1; min-width: 0; }
.dir__name {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 2px 0;
  line-height: 1.2;
}
.dir__role {
  font-size: 13px;
  color: var(--brass);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}
.dir__meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.dir__meta strong { color: var(--ink-soft); font-weight: 600; }

/* ============ Management cards (larger) ============ */

.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 28px;
}
@media (max-width: 900px) { .mgmt-grid { grid-template-columns: 1fr; } }

.mgmt {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.mgmt__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
  background: var(--cream-dark);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
}
.mgmt__name {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 4px 0;
}
.mgmt__title {
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.mgmt__bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ Stats row (for TA section) ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 36px;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat__value {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--brass-soft);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
}

/* ============ Quote / pull-quote ============ */

.pullquote {
  border-left: 3px solid var(--brass);
  padding-left: 28px;
  margin: 32px 0;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy);
  font-style: italic;
}
.pullquote cite {
  display: block;
  font-family: inherit;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============ Footer ============ */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  padding: 56px 32px 28px;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-family: Georgia, serif;
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 14px 0;
}
.site-footer p { margin: 0 0 6px 0; line-height: 1.55; }
.site-footer a { color: var(--brass-soft); border-bottom-color: rgba(196,162,109,0.3); }
.site-footer a:hover { border-bottom-color: var(--brass-soft); }

.site-footer__base {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============ Document links ============ */

.docs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-top: 8px;
}
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } }
.docs a {
  display: block;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink-soft);
  font-size: 14px;
}
.docs a:hover { border-color: var(--brass); color: var(--navy); }
.docs a::before { content: "▸ "; color: var(--brass); }

/* ============ Historic photo (inline within long-form prose) ============ */

.hist-photo {
  margin: 40px 0;
}
.hist-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(15,28,48,0.18);
}
.hist-photo--right {
  float: right;
  width: 48%;
  margin: 8px 0 24px 32px;
}
.hist-photo--left {
  float: left;
  width: 48%;
  margin: 8px 32px 24px 0;
}
@media (max-width: 700px) {
  .hist-phot