:root {
  --navy: #061a3a;
  --blue: #0b2f65;
  --gold: #d6a72c;
  --gold-light: #f2d476;
  --ink: #152033;
  --muted: #5d6878;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #dfe3e8;
  --shadow: 0 18px 50px rgba(6, 26, 58, 0.14);
  --width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.page-width { width: min(var(--width), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 96px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; line-height: 1.08; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--navy); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
.eyebrow { margin-bottom: 14px; color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: #9a7110; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; min-height: 76px; padding: 10px max(20px, calc((100vw - var(--width)) / 2)); border-bottom: 1px solid rgba(6, 26, 58, .12); background: rgba(251, 250, 246, .96); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { color: #344054; font-size: .84rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.brother-button { display: grid; width: 40px; height: 40px; place-items: center; padding: 0; color: var(--blue); border: 1px solid rgba(214, 167, 44, .8); border-radius: 50%; background: transparent; cursor: pointer; transition: .2s ease; }
.brother-button:hover { color: var(--navy); background: var(--gold); transform: translateY(-1px); }
.brother-button svg { width: 20px; height: 20px; fill: currentColor; }
.menu-button { display: none; width: 42px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--navy); }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 52%; }
.hero-overlay { background: linear-gradient(90deg, rgba(4, 19, 44, .72) 0%, rgba(5, 30, 70, .50) 48%, rgba(5, 30, 70, .18) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 90px; }
.hero-logo { width: 116px; margin-bottom: 28px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.hero h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(3.4rem, 8vw, 6.6rem); letter-spacing: -.035em; }
.hero-copy { max-width: 650px; margin-bottom: 32px; color: rgba(255,255,255,.87); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 3px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.button.gold { color: var(--navy); background: var(--gold); }
.button.outline { color: var(--white); border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.button.navy { width: 100%; color: var(--white); background: var(--navy); }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -42px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.stats article { padding: 28px; border-right: 1px solid var(--line); }
.stats article:last-child { border: 0; }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--blue); font-family:'Montserrat', sans-serif; font-size: 1.55rem; }
.stats span { color: var(--muted); font-size: .78rem; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.section-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.feature-image { width: 100%; max-height: 560px; border-radius: 4px; box-shadow: var(--shadow); object-fit: cover; }
.values { background: #eef2f6; }
.card-grid { display: grid; gap: 20px; margin-top: 36px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 8px 24px rgba(6,26,58,.06); }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card-number { display: block; margin-bottom: 24px; color: #a97c15; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.section-heading > p { color: var(--muted); }

@media (min-width: 921px) {
  #join .section-heading { display: block; }
  #join .section-heading h2 { white-space: nowrap; }
  #join .section-heading > p { margin-bottom: 0; }
}

.join-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 65px; margin-top: 52px; }
.portrait-image { width: 100%; max-height: 700px; border-radius: 4px; box-shadow: var(--shadow); object-fit: cover; object-position: center 45%; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 0 0 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.steps li > span { color: #a97c15; font-family:'Montserrat', sans-serif; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
.photo-banner { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: rgba(6,26,58,.85); }
.photo-banner > div { position: relative; z-index: 1; padding: 60px 20px; }
.photo-banner h2 { color: var(--white); }
.alumni { background: #f1eee5; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.inline-link { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.inline-link:hover { color: #9a7110; }

.contact { color: var(--white); background: var(--navy); }
.contact h2 { max-width: 520px; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 35px; align-items: center; }
.contact-card { padding: 26px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.contact-card small, .contact-card strong, .contact-card a { display: block; }
.contact-card small { color: var(--gold-light); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { margin: 8px 0 4px; font-family: 'Montserrat', sans-serif; font-size: 1.15rem; }
.contact-card a { color: rgba(255,255,255,.8); font-size: .85rem; }
.brother-resources { padding-block: 90px; background: #eef2f6; }
.text-button { color: var(--blue); border: 0; background: transparent; font-weight: 800; cursor: pointer; }
.calendar-panel { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 8px 24px rgba(6,26,58,.06); }
.resource-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.resource-heading h3 { margin: 0; color: var(--navy); }
.resource-heading .eyebrow { margin-bottom: 7px; }
.chapter-calendar { display: block; width: 100%; min-height: 600px; border: 1px solid var(--line); border-radius: 3px; }
.resource-grid { margin-top: 20px; }
.resource-card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.resource-card:hover { border-color: rgba(214,167,44,.85); box-shadow: 0 14px 34px rgba(6,26,58,.12); transform: translateY(-3px); }
.resource-action { display: inline-block; margin-top: 22px; color: var(--blue); font-size: .8rem; font-weight: 800; }
.resource-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.resource-links a { color: var(--blue); font-size: .8rem; font-weight: 800; text-decoration: none; }
.resource-links a:hover, .resource-action:hover { color: #9a7110; }

footer { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 28px 20px; color: rgba(255,255,255,.7); background: #031126; font-size: .75rem; text-align: center; }
footer img { width: 42px; }
footer p { margin: 0; }

dialog { width: min(440px, calc(100% - 30px)); padding: 38px; border: 0; border-radius: 6px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(2,12,30,.76); backdrop-filter: blur(4px); }
dialog img { width: 76px; margin-bottom: 20px; }
dialog h2 { margin-bottom: 10px; font-size: 2rem; }
dialog > p:not(.eyebrow) { color: var(--muted); }
.dialog-close { position: absolute; top: 12px; right: 14px; color: var(--muted); border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
dialog label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 800; }
dialog input { width: 100%; margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 3px; }
.form-error { min-height: 24px; margin-bottom: 8px; color: #a52323; font-size: .82rem; }

@media (max-width: 920px) {
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 7px 0; }
  .menu-button { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .split.reverse, .section-heading, .join-layout, .contact-grid { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { align-items: stretch; }
  .chapter-calendar { min-height: 520px; }
}

@media (max-width: 600px) {
  .page-width { width: min(100% - 28px, var(--width)); }
  .section { padding-block: 70px; }
  .brand small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .header-actions { margin-left: 10px; }
  .hero { min-height: 650px; }
  .hero-content { padding-block: 65px; }
  .hero-logo { width: 90px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .stats { width: calc(100% - 28px); }
  .stats article { padding: 20px; }
  .card-grid.four, .card-grid.three { grid-template-columns: 1fr; }
  .split, .join-layout { gap: 38px; }
  .photo-banner { min-height: 390px; }
  .calendar-panel { padding: 14px; }
  .resource-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .chapter-calendar { min-height: 460px; }
  dialog { padding: 30px 24px; }
}
