:root {
  --rotary-blue: #17458f;
  --rotary-blue-dark: #0b2b62;
  --rotary-blue-deep: #08224d;
  --rotary-blue-soft: #edf3fb;
  --rotary-gold: #f7a81b;
  --ink: #102b4e;
  --muted: #566b83;
  --line: #d8e2ef;
  --paper: #ffffff;
  --warm: #f6f3ec;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --content: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--rotary-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--rotary-gold);
  color: var(--rotary-blue-deep);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 69, 143, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 280px;
}

.club-logo {
  display: block;
  width: 270px;
  height: auto;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--rotary-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.mobile-nav button {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 0 22px;
  background: var(--rotary-gold);
  color: var(--rotary-blue-deep);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover,
.mobile-nav button:hover,
.button-primary:hover {
  background: #ffc043;
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, #ffffff 0%, #ffffff 67%, #f6f9fd 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  width: min(var(--content), calc(100% - 48px));
  min-height: calc(100svh - 168px);
  max-height: 820px;
  margin: 0 auto;
  padding: clamp(62px, 8vh, 96px) 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(420px, 44%);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow,
.kicker,
.dialog-eyebrow {
  margin: 0;
  color: var(--rotary-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 22px 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(56px, 5.4vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #425b77;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 54px;
  border-radius: 4px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--rotary-gold);
  color: var(--rotary-blue-deep);
}

.button-secondary {
  background: white;
  border-color: var(--rotary-blue);
  color: var(--rotary-blue);
}

.button-secondary:hover {
  background: var(--rotary-blue);
  color: white;
  transform: translateY(-2px);
}

.button-large {
  min-height: 60px;
  padding-inline: 34px;
}

.location {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rotary-blue);
  font-size: 15px;
  font-weight: 700;
}

.location span {
  color: var(--rotary-gold);
  font-size: 25px;
}

.network-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -150px;
  width: 660px;
  height: 660px;
  transform: translateY(-50%);
}

.network-sun {
  position: absolute;
  top: 125px;
  left: 55px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--rotary-gold);
  box-shadow: 0 18px 45px rgba(247, 168, 27, 0.26);
}

.network-core {
  position: absolute;
  top: 92px;
  right: -70px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1769cc, #0e3c93 65%, #08265e);
  box-shadow: inset 28px -24px 70px rgba(0, 15, 55, 0.26);
}

.orbit,
.network-line,
.network-node,
.dot-matrix {
  position: absolute;
  display: block;
}

.orbit {
  border: 1.5px solid #2871d1;
  border-radius: 50%;
}

.orbit-one {
  top: 70px;
  left: 132px;
  width: 415px;
  height: 515px;
  transform: rotate(-27deg);
}

.orbit-two {
  top: 244px;
  left: 130px;
  width: 290px;
  height: 230px;
  border-style: dashed;
  transform: rotate(34deg);
}

.orbit-three {
  top: 302px;
  left: 392px;
  width: 146px;
  height: 146px;
  border-color: var(--rotary-gold);
}

.network-line {
  height: 1px;
  background: #2670d1;
  transform-origin: left;
}

.line-one {
  top: 178px;
  left: 145px;
  width: 310px;
  transform: rotate(-5deg);
}

.line-two {
  top: 230px;
  left: 316px;
  width: 225px;
  background: var(--rotary-gold);
  transform: rotate(43deg);
}

.line-three {
  top: 405px;
  left: 210px;
  width: 300px;
  transform: rotate(17deg);
}

.network-node {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rotary-blue);
  box-shadow: 0 0 0 7px white;
}

.node-one { top: 169px; left: 447px; background: var(--rotary-gold); }
.node-two { top: 397px; left: 205px; }
.node-three { top: 330px; left: 511px; background: var(--rotary-gold); }
.node-four { top: 501px; left: 415px; }

.dot-matrix {
  top: 255px;
  left: 73px;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(var(--rotary-blue) 2px, transparent 2px);
  background-size: 14px 14px;
}

.hero-pillars {
  position: relative;
  z-index: 4;
  width: min(var(--content), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--rotary-blue-soft);
  border-radius: 20px 20px 0 0;
  border-top: 4px solid var(--rotary-gold);
}

.hero-pillars span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rotary-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-pillars span + span {
  border-left: 1px solid #cfddee;
}

.section {
  padding: 112px max(24px, calc((100% - var(--content)) / 2));
}

.section-label {
  margin-bottom: 20px;
  color: var(--rotary-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 3px;
  margin: 0 12px 3px 0;
  background: var(--rotary-gold);
}

.section-label-gold {
  color: #ffd782;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.club-experiences-heading h2,
.areas-copy h2,
.founders-heading h2,
.values-intro h2,
.join-content h2,
.network-copy h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.intro-copy {
  padding-top: 44px;
  color: #415a75;
  font-size: 19px;
  line-height: 1.7;
}

.intro-copy p {
  margin: 0 0 20px;
}

.mission-grid {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.mission-card {
  min-height: 290px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
}

.mission-card + .mission-card {
  border-left: 1px solid var(--line);
}

.mission-card > span {
  color: var(--rotary-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-card h3 {
  margin: auto 0 18px;
  font-size: 25px;
  line-height: 1.17;
}

.mission-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mission-card-blue {
  background: var(--rotary-blue);
  color: white;
}

.mission-card-blue > span,
.mission-card-blue p {
  color: #dceaff;
}

.mission-card-gold {
  background: var(--rotary-gold);
}

.mission-card-gold > span,
.mission-card-gold p {
  color: var(--rotary-blue-deep);
}

.section-blue {
  background: var(--rotary-blue-deep);
  color: white;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 90px;
  align-items: end;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading-light .section-label {
  color: #c8dcfb;
}

.section-heading-light > p {
  color: #c8d7ec;
}

.axes-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.axis-card {
  min-height: 430px;
  padding: 34px 28px 40px;
}

.axis-card + .axis-card {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.axis-number {
  color: var(--rotary-gold);
  font-family: var(--serif);
  font-size: 34px;
}

.axis-eyebrow {
  min-height: 40px;
  margin: 65px 0 14px;
  color: #94b5e2 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.axis-card h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.15;
}

.axis-card > p:last-child {
  margin: 0;
  color: #d4dfed;
  line-height: 1.65;
}

.network-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
  background: var(--warm);
}

.network-copy .kicker {
  margin-bottom: 12px;
}

.network-lead {
  margin: 28px 0 0;
  color: #425a73;
  font-size: 19px;
  line-height: 1.68;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 48px;
  padding: 13px 0 13px 42px;
  border-top: 1px solid #d7d2c6;
  line-height: 1.45;
}

.check-list li::before {
  content: "↗";
  position: absolute;
  left: 8px;
  color: var(--rotary-gold);
  font-weight: 800;
}

.network-diagram {
  position: relative;
  min-height: 590px;
}

.diagram-ring {
  position: absolute;
  border: 1px solid rgba(23, 69, 143, 0.32);
  border-radius: 50%;
}

.diagram-ring-one {
  inset: 56px 30px 40px 60px;
}

.diagram-ring-two {
  inset: 140px 110px 120px 140px;
  border-style: dashed;
}

.diagram-node {
  position: absolute;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--rotary-blue);
  color: var(--rotary-blue);
  box-shadow: 0 12px 30px rgba(14, 47, 92, 0.1);
}

.diagram-node span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagram-node strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
}

.diagram-main {
  top: 215px;
  left: calc(50% - 80px);
  width: 168px;
  height: 168px;
  background: var(--rotary-blue);
  border: 12px solid white;
  color: white;
  box-shadow: 0 0 0 1px var(--rotary-blue), 0 18px 40px rgba(23, 69, 143, 0.22);
}

.diagram-main strong {
  font-size: 29px;
}

.diagram-local { top: 56px; left: calc(50% - 60px); }
.diagram-people { top: 300px; left: 4%; }
.diagram-global { right: 2%; bottom: 40px; }

.service-section {
  background: white;
}

.service-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 390px;
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.service-grid article + article {
  border-left: 1px solid var(--line);
}

.service-index {
  color: var(--rotary-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-grid h3 {
  margin: 65px 0 20px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.06;
}

.service-grid p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-tags {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span,
.profile-line span {
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--rotary-blue-soft);
  color: var(--rotary-blue);
  font-size: 12px;
  font-weight: 700;
}

.club-experiences-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: start;
  background: #f2f6fb;
}

.club-experiences-heading {
  position: sticky;
  top: 124px;
}

.club-experiences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ccd9e8;
  border-left: 1px solid #ccd9e8;
}

.club-experience-item {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid #ccd9e8;
  border-bottom: 1px solid #ccd9e8;
  background: rgba(255, 255, 255, 0.45);
  transition: background 180ms ease, transform 180ms ease;
}

.club-experience-item:hover {
  background: white;
  transform: translateY(-4px);
}

.club-experience-item > span {
  color: var(--rotary-gold);
  font-family: var(--serif);
  font-size: 28px;
}

.club-experience-item h3 {
  margin: 42px 0 12px;
  color: var(--rotary-blue);
  font-size: 22px;
}

.club-experience-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.areas-section {
  padding-right: 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.areas-copy {
  max-width: 530px;
}

.areas-copy p {
  margin: 28px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.areas-list {
  margin: 34px 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}

.areas-list li {
  min-height: 56px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.areas-list li span {
  color: var(--rotary-gold);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rotary-blue);
  font-weight: 800;
  border-bottom: 2px solid var(--rotary-gold);
  padding-bottom: 6px;
}

.areas-visual {
  min-height: 610px;
  padding: 60px 6vw 60px 70px;
  display: flex;
  align-items: center;
  background: var(--warm);
}

.areas-visual img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.members-section {
  background: var(--warm);
}

.member-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.member-card {
  min-height: 310px;
  padding: 40px;
  background: white;
  border-top: 5px solid var(--rotary-blue);
}

.member-card + .member-card {
  border-left: 1px solid #ded9ce;
}

.member-card > span {
  color: var(--rotary-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member-card h3 {
  margin: 58px 0 18px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.08;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-line {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founders-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 2%, rgba(247, 168, 27, 0.13), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.founders-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 90px;
  align-items: end;
}

.founders-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.founders-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.founder-card {
  position: relative;
  min-height: 460px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(11, 43, 98, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rotary-blue) 0 76%, var(--rotary-gold) 76% 100%);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 260ms ease;
}

.founder-card:hover {
  z-index: 2;
  border-color: #b8cae0;
  transform: translateY(-7px);
  box-shadow: 0 24px 58px rgba(11, 43, 98, 0.13);
}

.founder-card:hover::before {
  transform: scaleX(1);
}

.founder-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.founder-number {
  color: var(--rotary-gold);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.founder-status {
  color: var(--rotary-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.founder-card h3 {
  margin: 52px 0 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.08;
}

.founder-role {
  margin: 0;
  color: var(--rotary-blue);
  font-size: 15px;
  font-weight: 800;
}

.founder-profession {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.founder-about {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.founder-about > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-about p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.founder-socials {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  gap: 10px;
}

.founder-social {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d5e5;
  border-radius: 50%;
  background: var(--rotary-blue-soft);
  color: var(--rotary-blue);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.founder-social:hover {
  background: var(--rotary-blue);
  color: white;
  transform: translateY(-2px);
}

.founder-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.founder-social .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.founder-social .linkedin-icon {
  fill: currentColor;
  stroke: none;
}

.values-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
  background: var(--rotary-blue-deep);
  color: white;
}

.values-intro > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: #ccdaeb;
  font-size: 18px;
  line-height: 1.7;
}

.rotary-values-list {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.rotary-values-list > div {
  min-height: 138px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.rotary-values-list > div:last-child {
  grid-column: 1 / -1;
}

.rotary-values-list dt {
  color: #ffd782;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.rotary-values-list dd {
  margin: 10px 0 0;
  color: #ccdaeb;
  font-size: 14px;
  line-height: 1.5;
}

.culture-wide {
  grid-column: 1 / -1;
}

.club-culture-label {
  margin: 0;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.values-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.values-list span {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #e9f1fc;
  font-size: 13px;
  text-align: center;
}

.four-way-card {
  padding: 48px;
  background: var(--rotary-gold);
  color: var(--rotary-blue-deep);
}

.four-way-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.four-way-card h3 {
  margin: 38px 0 14px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.12;
}

.four-way-intro {
  margin: 0 0 26px;
  color: rgba(8, 34, 77, 0.78);
  line-height: 1.55;
}

.four-way-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.four-way-card li {
  min-height: 58px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(8, 34, 77, 0.25);
  font-weight: 700;
  line-height: 1.35;
}

.four-way-card li span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.join-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rotary-blue);
  color: white;
  text-align: center;
}

.join-content {
  position: relative;
  z-index: 2;
  max-width: 990px;
}

.join-content .eyebrow {
  color: #ffd782;
}

.join-content h2 {
  margin-top: 20px;
  font-size: clamp(46px, 5vw, 72px);
}

.join-content > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px auto 38px;
  color: #e2ecfa;
  font-size: 19px;
  line-height: 1.65;
}

.join-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.join-orbit-one {
  width: 700px;
  height: 700px;
  top: -360px;
  left: -180px;
}

.join-orbit-two {
  width: 500px;
  height: 500px;
  right: -170px;
  bottom: -260px;
  border-color: rgba(247, 168, 27, 0.45);
}

.site-footer {
  padding: 76px max(24px, calc((100% - var(--content)) / 2)) 28px;
  background: #061934;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) 0.65fr 0.85fr;
  gap: 52px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
}

.footer-brand img {
  display: block;
  width: 250px;
  height: auto;
}

.footer-main > div:first-child p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #9fb2ca;
  line-height: 1.55;
}

.footer-main nav {
  display: grid;
  gap: 14px;
}

.footer-main nav a,
.rotary-link {
  color: #c8d5e6;
  font-size: 14px;
  font-weight: 700;
}

.footer-main nav a:hover,
.rotary-link:hover {
  color: var(--rotary-gold);
}

.hosting-support {
  margin-top: 52px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1.62fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hosting-support > p {
  margin: 0;
  color: rgba(200, 213, 230, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.45;
}

.supporter-logos {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
}

.supporter-logos a {
  min-width: 0;
  min-height: 104px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: white;
  opacity: 0.78;
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
}

.supporter-logos a:hover,
.supporter-logos a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
  transform: translateY(-2px);
}

.supporter-logos img {
  display: block;
  width: min(100%, 132px);
  height: 84px;
  object-fit: contain;
  filter: none;
}

/* Estos dos archivos incluyen más margen interno en su lienzo SVG. */
.supporter-logos a:nth-child(1) img,
.supporter-logos a:nth-child(5) img {
  transform: scale(1.48);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
  justify-content: center;
  text-align: center;
  color: #8399b4;
  font-size: 12px;
}

.interest-dialog {
  width: min(680px, calc(100% - 30px));
  max-height: min(900px, calc(100svh - 30px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  box-shadow: 0 35px 90px rgba(3, 16, 37, 0.4);
}

.interest-dialog::backdrop {
  background: rgba(4, 21, 47, 0.76);
  backdrop-filter: blur(6px);
}

.dialog-panel {
  position: relative;
  padding: 50px;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--rotary-blue);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dialog-panel h2 {
  max-width: 510px;
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.04;
}

.dialog-intro {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.55;
}

.dialog-panel form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dialog-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.dialog-panel label:nth-child(4),
.dialog-submit {
  grid-column: 1 / -1;
}

.dialog-panel input,
.dialog-panel select {
  min-height: 52px;
  width: 100%;
  border: 1px solid #b8c7d8;
  border-radius: 4px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
}

.dialog-submit {
  margin-top: 6px;
}

.generated-message {
  margin-top: 24px;
  padding: 18px;
  background: var(--rotary-blue-soft);
  border-left: 4px solid var(--rotary-gold);
}

.generated-message > span {
  color: var(--rotary-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.generated-message p {
  margin: 10px 0 0;
  color: #3f5874;
  line-height: 1.5;
}

.generated-message button {
  margin-top: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--rotary-blue);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes network-float {
  0%, 100% { transform: translateY(-50%) translate3d(0, 0, 0); }
  50% { transform: translateY(-50%) translate3d(0, -13px, 0); }
}

@keyframes network-pulse {
  0%, 100% { box-shadow: 0 18px 45px rgba(247, 168, 27, 0.26); }
  50% { box-shadow: 0 22px 62px rgba(247, 168, 27, 0.42); }
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-enter {
    animation: hero-enter 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .network-art {
    animation: network-float 8s ease-in-out infinite;
  }

  .network-sun {
    animation: network-pulse 5.5s ease-in-out infinite;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: section-reveal linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 30%;
    }
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 62%) minmax(350px, 38%);
  }

  .network-art {
    right: -240px;
  }

  .axes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .axis-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .axis-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .club-experiences-section {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
  }

  .founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    width: min(100% - 30px, var(--content));
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: white;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--rotary-blue);
  }

  .mobile-nav {
    padding: 10px 24px 24px;
    display: none;
    grid-template-columns: 1fr;
    background: white;
    border-top: 1px solid var(--line);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-nav button {
    margin-top: 14px;
  }

  .hero-inner {
    width: min(100% - 40px, var(--content));
    min-height: 720px;
    max-height: none;
    padding: 70px 0 80px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(52px, 10vw, 78px);
  }

  .network-art {
    right: -400px;
    opacity: 0.35;
  }

  .section {
    padding: 84px 24px;
  }

  .intro-grid,
  .section-heading,
  .network-section,
  .club-experiences-section,
  .areas-section,
  .founders-heading,
  .values-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-copy {
    padding-top: 0;
  }

  .mission-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .member-card {
    min-height: 250px;
  }

  .mission-card + .mission-card,
  .member-card + .member-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .club-experiences-heading {
    position: static;
  }

  .areas-section {
    padding-right: 24px;
  }

  .areas-visual {
    min-height: 0;
    padding: 36px;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .hosting-support {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .supporter-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .supporter-logos a {
    min-height: 116px;
  }

  .supporter-logos img {
    width: min(100%, 150px);
    height: 92px;
  }

  .supporter-logos a:nth-child(1) img,
  .supporter-logos a:nth-child(5) img {
    transform: scale(1.42);
  }
}

@media (max-width: 640px) {
  .brand {
    transform: scale(0.78);
    margin-right: -48px;
  }

  .hero-inner {
    min-height: calc(100svh - 76px);
    padding-top: 56px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(44px, 13vw, 62px);
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .network-art {
    top: 55%;
    right: -505px;
    opacity: 0.18;
  }

  .hero-pillars {
    width: 100%;
    border-radius: 0;
  }

  .hero-pillars span {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 72px 20px;
  }

  .intro-grid h2,
  .section-heading h2,
  .club-experiences-heading h2,
  .areas-copy h2,
  .founders-heading h2,
  .values-intro h2,
  .join-content h2,
  .network-copy h2 {
    font-size: 40px;
  }

  .mission-grid {
    margin-top: 52px;
  }

  .mission-card {
    min-height: 270px;
    padding: 30px;
  }

  .axes-grid,
  .service-grid,
  .club-experiences-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .axis-card,
  .service-grid article,
  .club-experience-item,
  .member-card {
    min-height: 0;
  }

  .axis-card {
    padding: 30px 8px 42px;
  }

  .axis-card + .axis-card,
  .axis-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .axis-eyebrow {
    margin-top: 38px;
  }

  .network-section {
    gap: 20px;
  }

  .network-diagram {
    min-height: 500px;
    transform: scale(0.9);
    margin-inline: -20px;
  }

  .diagram-node {
    width: 115px;
    height: 115px;
  }

  .diagram-main {
    width: 150px;
    height: 150px;
  }

  .service-grid article {
    padding: 34px 28px;
  }

  .service-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-grid h3 {
    margin-top: 48px;
    font-size: 34px;
  }

  .club-experience-item {
    padding: 28px;
  }

  .club-experience-item h3 {
    margin-top: 30px;
  }

  .areas-visual {
    margin-inline: -20px;
    padding: 20px 10px;
  }

  .rotary-values-list {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .rotary-values-list > div:last-child {
    grid-column: auto;
  }

  .member-card {
    padding: 30px;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .founder-card {
    min-height: 430px;
    padding: 30px;
  }

  .member-card h3 {
    margin-top: 45px;
  }

  .four-way-card {
    padding: 32px 24px;
  }

  .join-section {
    min-height: 620px;
    padding: 90px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hosting-support {
    margin-top: 38px;
  }

  .supporter-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supporter-logos a {
    min-height: 128px;
  }

  .supporter-logos img {
    width: min(100%, 164px);
    height: 104px;
  }

  .supporter-logos a:nth-child(1) img,
  .supporter-logos a:nth-child(5) img {
    transform: scale(1.36);
  }

  .dialog-panel {
    padding: 46px 22px 24px;
  }

  .dialog-panel h2 {
    font-size: 34px;
  }

  .dialog-panel form {
    grid-template-columns: 1fr;
  }

  .dialog-panel label:nth-child(4),
  .dialog-submit {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
