:root {
  --rotary-blue: #17458f;
  --rotary-gold: #f7a81b;
  --rotary-sky: #01a9e0;
  --rotary-red: #ef3340;
  --ink: #102033;
  --muted: #667085;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #e7e8ec;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 69, 143, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 80px;
  width: auto;
  max-width: 100%;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--rotary-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: var(--rotary-blue);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 32px);
  scroll-margin-top: 90px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.stripe {
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 8px;
  border-radius: 99px;
}

.stripe-left {
  left: 8px;
  background: var(--rotary-red);
}

.stripe-right {
  right: 8px;
  background: linear-gradient(var(--rotary-gold), var(--rotary-sky));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--rotary-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--rotary-blue);
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h1 span {
  font-size: 0.55em;
  letter-spacing: -0.02em;
}

.hero-slogan {
  margin-bottom: 20px;
  color: var(--rotary-blue);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: 0.02em;
}

.hero-text,
.text-block,
.theme p,
.join p,
.contact p,
.card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: var(--rotary-blue);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--rotary-blue);
  border: 1px solid var(--line);
}

.hero-card,
.theme,
.join,
.contact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 44px;
}

.wheel {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
  border-radius: 999px;
  border: 12px solid var(--rotary-blue);
  color: var(--rotary-gold);
  font-size: 40px;
}

.hero-card h2,
.section h2 {
  color: var(--rotary-blue);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.theme {
  text-align: center;
  padding: 72px clamp(24px, 6vw, 90px);
}

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

.section-heading {
  grid-column: 1 / -1;
  max-width: 720px;
}

.card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.card h3 {
  color: var(--rotary-blue);
  font-size: 24px;
}

.join {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 54px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.link-grid a {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--rotary-blue);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
}

.qr-card {
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(239, 51, 64, 0.08), transparent 55%),
    var(--paper);
  border: 1px solid var(--line);
}

.qr-image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.qr-card figcaption {
  margin-top: 14px;
  color: var(--rotary-blue);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.contact {
  text-align: center;
  padding: 72px 32px;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--rotary-blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 840px) {
  .brand-logo {
    height: 56px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .split,
  .join {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

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

  .join {
    padding: 32px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
