:root {
  --red: #b51e2e;
  --red-dark: #7b1b22;
  --blue: #243f88;
  --blue-dark: #17285b;
  --gold: #f2c94c;
  --cream: #fbf6ea;
  --cream-strong: #f4ead5;
  --ink: #1d1d1f;
  --muted: #5f6368;
  --white: #ffffff;
  --line: rgba(29, 29, 31, 0.16);
  --shadow: 0 18px 45px rgba(24, 30, 48, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--red-dark);
}

a:hover {
  color: var(--blue-dark);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

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

.brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.1;
  color: var(--red-dark);
}

.brand small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 76px;
  background:
    radial-gradient(circle at top right, rgba(242, 201, 76, 0.42), transparent 36%),
    linear-gradient(135deg, #fffaf0 0%, #f2e2bf 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -120px -210px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(181, 30, 46, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.hero-text h1,
.page-hero h1,
.section h2,
.card h2,
.form-card h2,
.join-aside h2 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--red-dark);
}

.hero-text h1 {
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  color: #343434;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(181, 30, 46, 0.22);
}

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

.button-secondary {
  background: var(--white);
  color: var(--red-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
}

.hero-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(100%, 430px);
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.section-light {
  background: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.section h2,
.card h2,
.form-card h2,
.join-aside h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

.info-panel,
.card,
.form-card,
.join-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 28px;
  background: var(--cream);
}

.info-panel h3 {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--blue-dark);
  font-size: 1.45rem;
}

.info-panel dl {
  margin: 0;
}

.info-panel div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info-panel dt {
  font-weight: 800;
  color: var(--red-dark);
}

.info-panel dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
}

.card h2 {
  font-size: 1.8rem;
  color: var(--blue-dark);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background: var(--blue-dark);
  color: var(--white);
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band .eyebrow {
  opacity: 0.8;
}

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

.cta-inner p {
  margin-bottom: 0;
}

.page-hero {
  padding: 58px 0 46px;
  background: linear-gradient(135deg, #fffaf0 0%, #f0dfbd 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
}

.form-note {
  color: var(--muted);
  margin-top: -8px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 800;
  color: var(--blue-dark);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(29, 29, 31, 0.28);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(36, 63, 136, 0.2);
  border-color: var(--blue);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.join-aside {
  padding: 28px;
  background: var(--cream);
}

.join-aside img {
  width: 150px;
  margin: 0 auto 24px;
}

.site-footer {
  padding: 28px 0;
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
}

.message-page {
  min-height: 52vh;
  display: grid;
  align-items: center;
}

.message-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
}

.message-box h1 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--red-dark);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 12px;
  }

  .hero-grid,
  .two-column,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .cards-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: block;
  }

  .cta-inner .button {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  .hero-actions .button {
    width: 100%;
  }
}
