.body-main {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  margin-bottom: 16px;
}


:root.theme-night .eyebrow::before {
  background-color: var(--gold);
}

:root.theme-night .eyebrow {
  color: var(--gold);
}

.section-title {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}


.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 999px;
  background-color: var(--gold);
  color: var(--green-ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s, background-color 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(214, 148, 0, 0.7);
  background-color: var(--gold-deep);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Newsreader", serif;
  font-size: 17px;
  font-weight: 500;
  padding: 13px 6px;
  color: var(--ink);
}

.btn-ghost::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 1.5px;
  background-color: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover::after {
  transform: scaleX(1);
}

.btn-ghost span {
  transition: transform 0.3s ease;
}

.btn-ghost:hover span {
  transform: translateX(4px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding: 40px 4% 96px;
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: clip;
}

.hero-title {
  font-family: "Fraunces", serif;
  font-size: clamp(46px, 7.5vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero-accent {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-family: "Newsreader", serif;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat dt {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.stat dd {
  font-family: "Fraunces", serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
}

.stat dd span {
  color: var(--gold-deep);
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.emblem-frame {
  position: relative;
  width: min(78%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--green);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.emblem-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(245, 180, 0, 0.5);
  pointer-events: none;
}

.emblem-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.emblem-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

@media (prefers-reduced-motion: reduce) {
  .emblem-frame {
    animation: none;
  }
}

.hero-art-tag {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 4%;
  border-top: 2px solid var(--line);
}

.about-body .lede {
  font-family: "Fraunces", serif;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 22px;
}

.about-body .lede::first-letter {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  margin: 6px 12px 0 0;
  color: var(--gold-deep);
}

.about-body p:not(.lede) {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ============================================================
   HEAD OF THE CLUB
   Desktop: photo left, copy right, on one baseline.
   Mobile (<=820px): a single centered column — photo and copy
   share the exact same width, so their edges always line up.
   ============================================================ */
.head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 4% 96px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}

.head-photo {
  width: 100%;
  margin: 0;
}

.head-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green);
  box-shadow: var(--shadow);
}

.head-photo-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 180, 0, 0.55);
  border-radius: 4px;
  pointer-events: none;
}

.head-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.head-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.head-copy .eyebrow {
  margin-bottom: 18px;
}

.head-quote {
  font-family: "Fraunces", serif;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.34;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 22px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.head-name {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.head-role {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold-deep);
  margin: 4px 0 18px;
}

.head-bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

/* ----- Head: single centered column on smaller screens ----- */
@media (max-width: 820px) {
  .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 32px 6% 72px;
    text-align: center;
  }

  .head-photo,
  .head-copy {
    width: 100%;
    max-width: 360px;
  }

  .head-photo {
    order: -1;
  }

  .head-copy {
    align-items: center;
  }

  .head-copy .eyebrow {
    justify-content: center;
  }

  .head-quote {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 2px solid var(--gold);
    font-size: clamp(20px, 5.4vw, 26px);
  }
}


/* ---------- PILLARS ---------- */
.pillars {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 4% 88px;
}

.pillars-head {
  margin-bottom: 44px;
}

.pillar-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar {
  position: relative;
  padding: 26px 4px 8px;
  border-top: 2px solid var(--ink);
  transition: border-color 0.3s;
}

.pillar::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar:hover::before {
  width: 100%;
}

.pillar-num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: "Fraunces", serif;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.partners {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 4% 88px;
}

.partners-head {
  margin-bottom: 44px;
}

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

.partner-card {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.partner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.partner-tag {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.partner-card:hover .partner-tag {
  color: var(--gold-deep);
}

.partner-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-logo {
  transform: scale(1.06);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-card h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.partner-sub {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.partner-card > p:last-child {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.join {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 4% 96px;
}

.join-inner {
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  box-shadow: 12px 12px 0 0 var(--gold);
  text-align: center;
}

.join-eyebrow {
  color: var(--gold);
  justify-content: center;
}

.join-eyebrow::before {
  background-color: var(--gold);
}

.join-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper-on-green);
  margin-bottom: 16px;
}

.join-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--paper-on-green-soft);
  max-width: 34em;
  margin: 0 auto 32px;
}

.join .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.btn-ghost-dark {
  color: var(--paper-on-green);
  border-color: var(--gold);
}

.btn-ghost-dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}

.reveal[data-reveal="up"] {
  transform: translateY(36px);
}

.reveal[data-reveal="left"] {
  transform: translateX(-24px);
}

.reveal[data-reveal="right"] {
  transform: translateX(24px);
}

.reveal[data-reveal="zoom"] {
  transform: scale(0.9) rotate(-2deg);
}

/* Must match the specificity of the directional `.reveal[data-reveal="…"]`
   rules above (class + attribute = 0,2,0); a bare `.reveal-active` (0,1,0)
   loses to them, leaving elements stuck at their translate offset. */
.reveal.reveal-active {
  opacity: 1;
  transform: none;
}

/* animated stat counters */
.count {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 6% 64px;
  }

  .hero-art {
    order: -1;
  }

  .emblem-frame {
    width: min(68%, 280px);
    box-shadow: 8px 8px 0 0 var(--gold);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 6%;
    padding-right: 6%;
  }

  .pillars,
  .partners,
  .join {
    padding-left: 6%;
    padding-right: 6%;
  }

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

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

@media (max-width: 560px) {
  .hero {
    padding: 8px 6% 56px;
    gap: 26px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(44px, 15vw, 64px);
    margin-bottom: 20px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
    gap: 0;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .hero-stats .stat {
    flex: 1 1 0;
    padding: 0 6px;
  }

  .hero-stats .stat + .stat {
    border-left: 1px solid var(--line);
  }

  .stat dd {
    font-size: 26px;
  }

  .hero-art {
    order: -1;
    gap: 12px;
  }

  .emblem-frame {
    width: min(46%, 168px);
    box-shadow: 6px 6px 0 0 var(--gold);
    animation: none;
  }

  .about,
  .head,
  .pillars,
  .partners,
  .join {
    padding-left: 5%;
    padding-right: 5%;
  }

  .about {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar {
    padding: 24px 22px 26px;
    box-shadow: 4px 4px 0 0 var(--green);
  }

  .partner-card {
    padding: 24px;
    box-shadow: 4px 4px 0 0 var(--green);
  }

  .head-quote {
    font-size: clamp(20px, 6vw, 26px);
  }

  .head-photo-frame,
  .join-inner {
    box-shadow: 6px 6px 0 0 var(--gold);
  }

  .join-inner {
    padding: 36px 24px;
    border-radius: 22px;
  }

  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 36px;
  }

  .hero .hero-actions .btn-primary,
  .hero .hero-actions .btn-ghost {
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
