:root {
  --bg: #ffffff;
  --bg-muted: #f2f0e9;
  --text: #111827;
  --text-soft: #374151;
  --border: #d1d5db;
  --primary: #6272b5;
  --primary-dark: #2d3561;
  --accent: #f5a000;
  --success: #52a050;
  --surface: #ffffff;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand img,
.footer-brand img {
  height: 38px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:not(.button):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-secondary {
  background: #c4633a;
}

.button-secondary:hover {
  background: #aa522f;
}

.hero {
  padding: 48px 0 20px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, #faf8f3 100%);
}

.hero-grid,
.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-copy h1 span {
  color: #4b6bd6;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.lead,
.split-copy p,
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-soft);
}

.hero-copy .button {
  margin-top: 14px;
}

.hero-media img,
.split-media img {
  width: 100%;
  height: auto;
}

.split-copy,
.split-media {
  min-width: 0;
}

.split-media {
  display: flex;
  justify-content: center;
}

.split-layout .split-media img {
  max-width: min(100%, 520px);
}

.split-layout.reverse .split-media img {
  max-width: min(100%, 420px);
}

.section {
  padding: 96px 0;
}

.split-layout.reverse {
  grid-template-areas: "copy media";
}

.split-layout.reverse .split-copy {
  grid-area: copy;
}

.split-layout.reverse .split-media {
  grid-area: media;
}

.split-copy h2,
.section-heading h2,
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.check-list {
  padding: 0;
  margin: 24px 0 32px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--success);
  border-bottom: 3px solid var(--success);
  transform: rotate(-45deg);
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-card .role {
  margin-bottom: 14px;
  color: #4b5563;
  font-size: 0.95rem;
}

.team-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 700;
}

.communities-layout {
  align-items: start;
}

.list-label {
  margin-top: 28px;
  margin-bottom: 0;
  font-weight: 600;
}

.framed-media img {
  border-radius: 16px;
}

.patrons-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.patrons-grid img {
  width: 240px;
  border-radius: 16px;
}

.patrons-grid img:last-child {
  border: 1px solid #c6c6c6;
}

.contact-section {
  background: var(--bg-muted);
}

.contact-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-card {
  width: min(100%, 640px);
  margin: 48px auto 0;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-copy {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.contact-email {
  display: inline-block;
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding: 8px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(98, 114, 181, 0.08), rgba(98, 114, 181, 0.16));
}

.contact-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(45, 53, 97, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-copy-button:hover {
  background: rgba(98, 114, 181, 0.08);
  border-color: rgba(45, 53, 97, 0.32);
  transform: translateY(-1px);
}

.contact-copy-button.is-copied {
  background: rgba(82, 160, 80, 0.12);
  border-color: rgba(82, 160, 80, 0.4);
  color: #2f6b30;
}

.contact-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cta-section {
  padding: 96px 0;
  background: var(--primary);
  color: #ffffff;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-content p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.store-buttons img {
  height: 56px;
  width: auto;
}

.site-footer {
  padding: 28px 0;
  background: var(--primary-dark);
}

.footer-inner {
  display: flex;
  justify-content: center;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 42px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
  }

  .brand img,
  .footer-brand img {
    height: 34px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .section,
  .cta-section {
    padding: 64px 0;
  }

  .contact-card {
    padding: 28px 24px;
    margin-top: 36px;
  }

  .contact-copy-button {
    width: 100%;
  }

  .split-layout,
  .split-layout.reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .split-layout.reverse .split-copy {
    order: 1;
  }

  .split-layout.reverse .split-media {
    order: 2;
  }

  .split-copy h2,
  .split-copy p,
  .split-copy .button {
    max-width: 100%;
  }

  .split-layout .split-media img,
  .split-layout.reverse .split-media img {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .find-community-section .split-layout.reverse .split-media {
    order: 1;
  }

  .find-community-section .split-layout.reverse .split-copy {
    order: 2;
  }

  .split-copy h2 {
    margin-bottom: 12px;
  }

  .lead,
  .split-copy p,
  .contact-heading p,
  .cta-content p,
  .check-list li {
    font-size: 1rem;
  }

  .check-list {
    margin: 20px 0 28px;
  }

  .button,
  .button-small {
    min-height: 48px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .split-copy h2,
  .section-heading h2,
  .cta-content h2 {
    font-size: 1.85rem;
  }

  .site-nav {
    left: 14px;
    right: 14px;
  }

  .hero,
  .section,
  .cta-section {
    padding: 56px 0;
  }

  .contact-email {
    font-size: 1.35rem;
    word-break: break-word;
  }

  .store-buttons img {
    height: 52px;
  }

  .patrons-grid img {
    width: min(100%, 260px);
  }
}