/* ════════════════════════════════════════════════════════════════════════
   PENN ALUMNI REGIONAL CLUBS — MASTER STYLESHEET
   ────────────────────────────────────────────────────────────────────────
   Single source of truth for Templates A (Full) and B (Simple).
   Publish as a static resource in LWR: clubTemplateStyles.css
   Loaded via the theme layout; consumed by all club LWCs and pages.

   Extends pennDesignTokens.css from the Penn Alumni Design System v1.0
   with club-specific warm layer, component styles, and accessibility.

   Last updated: October 2026
   ════════════════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────────────────
   01 · DESIGN TOKENS
   ──────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand core (from Penn Alumni Design System) */
  --penn-blue:    #011F5B;
  --penn-red:     #990000;
  --light-blue:   #82AFD3;
  --yellow:       #F2C100;
  --black:        #000000;
  --gray:         #F2F2F2;
  --white:        #FFFFFF;

  /* Supporting neutrals */
  --cream:        #F7F6F3;
  --navy-mid:     #0A2D6E;
  --red-hover:    #B30000;
  --ink:          #1A1A1A;
  --muted:        #555555;
  --border:       #E5E5E5;

  /* Club-specific warm layer */
  --club-warm:    #FBF8F4;

  /* Typography */
  --font-serif:   'EB Garamond', Georgia, serif;
  --font-sans:    'Roboto', Arial, sans-serif;

  /* Type scale (responsive) */
  --fs-display:   clamp(2.5rem, 4.5vw, 3.75rem);
  --fs-h1:        clamp(2rem, 3.2vw, 2.75rem);
  --fs-h2:        clamp(1.6rem, 2.4vw, 2.1rem);
  --fs-h3:        1.375rem;
  --fs-h4:        1.125rem;
  --fs-h5:        0.9375rem;
  --fs-body:      1rem;
  --fs-small:     0.875rem;
  --fs-micro:     0.75rem;

  /* Spacing scale */
  --space-1:      4px;
  --space-2:      8px;
  --space-3:      12px;
  --space-4:      16px;
  --space-5:      24px;
  --space-6:      32px;
  --space-7:      48px;
  --space-8:      72px;
  --space-9:      96px;

  /* Layout */
  --nav-height:   56px;
  --utility-height: 34px;
  --max-w:        1200px;
  --pad:          60px;
  --pad-mobile:   20px;

  /* Radii */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-pill:  999px;

  /* Shadows */
  --shadow-sm:    0 1px 8px rgba(1, 31, 91, 0.06);
  --shadow-md:    0 4px 20px rgba(1, 31, 91, 0.10);
  --shadow-lg:    0 12px 40px rgba(1, 31, 91, 0.14);

  /* Motion */
  --trans:        0.22s ease;
  --trans-slow:   0.4s ease;
}


/* ────────────────────────────────────────────────────────────────────────
   02 · GLOBAL RESET & BASE TYPOGRAPHY
   ──────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--penn-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--penn-red);
}
a:active{
    color: inherit !important;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--penn-blue);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
}

.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--penn-red);
}


/* ────────────────────────────────────────────────────────────────────────
   03 · UTILITY NAV (Penn-wide — Theme Layout)
   ──────────────────────────────────────────────────────────────────────── */
.utility-nav {
  background: var(--penn-blue);
  color: var(--white);
  height: var(--utility-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--pad);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.utility-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  transition: color var(--trans);
}
.utility-nav a:last-child {
  border-right: none;
  padding-right: 0;
}
.utility-nav a:hover {
  color: var(--light-blue);
}


/* ────────────────────────────────────────────────────────────────────────
   04 · MAIN NAV (Club-level — Theme Layout)
   ──────────────────────────────────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  border-bottom: 3px solid var(--penn-blue);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--penn-blue);
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--penn-red);
  border-bottom-color: var(--penn-red);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--penn-blue);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: var(--trans);
}
.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle span::before { content: ''; top: -8px; }
.menu-toggle span::after { content: ''; top: 8px; }


/* ────────────────────────────────────────────────────────────────────────
   05 · BUTTONS & CTAs
   ──────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
}
.btn-primary   { background: var(--penn-red); color: var(--white); }
.btn-primary:hover   { background: var(--red-hover); color: var(--white); }
.btn-secondary { background: var(--penn-blue); color: var(--white); }
.btn-secondary:hover { background: var(--navy-mid); color: var(--white); }
.btn-ghost     { background: transparent; color: var(--penn-blue); border-color: var(--penn-blue); }
.btn-ghost:hover     { background: var(--penn-blue); color: var(--white); }
.btn-ghost-light     { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--penn-blue); }

.btn-text {
  color: var(--penn-red);
  padding: 0;
  background: none;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.btn-text::after {
  content: ' →';
  display: inline-block;
  transition: transform var(--trans);
}
.btn-text:hover::after { transform: translateX(4px); }
.btn-text:hover { color: var(--red-hover); }


/* ────────────────────────────────────────────────────────────────────────
   06 · STRIPE DIVIDER (Decorative — Theme Layout)
   ──────────────────────────────────────────────────────────────────────── */
.stripe-divider {
  display: flex;
  height: 6px;
}
.stripe-divider .stripe-red { flex: 1; background: var(--penn-red); }
.stripe-divider .stripe-blue { flex: 1; background: var(--penn-blue); }


/* ────────────────────────────────────────────────────────────────────────
   07 · HOMEPAGE HERO (LWC: clubHero)
   ──────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--penn-blue);
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* background-image set per-club via inline style or LWC */
  filter: saturate(0.9);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--pad);
  max-width: 800px;
}
.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto var(--space-5);
}
.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.hero .lede {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
  margin: 0 auto;
}
.hero-cta-row {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}


/* ────────────────────────────────────────────────────────────────────────
   08 · INTERIOR PAGE HERO (LWC: clubPageHero)
   ──────────────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--penn-blue);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.7);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 31, 91, 0.92) 0%,
    rgba(1, 31, 91, 0.55) 50%,
    rgba(1, 31, 91, 0.3) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-7) var(--pad);
  width: 100%;
}
.page-hero h1 {
  color: var(--white);
  font-size: var(--fs-h1);
  margin-bottom: var(--space-2);
}
.page-hero .lede {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--light-blue);
  max-width: 60ch;
}

.breadcrumbs {
  font-size: var(--fs-micro);
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}
.breadcrumbs span {
  margin: 0 6px;
}


/* ────────────────────────────────────────────────────────────────────────
   09 · WELCOME / ABOUT BLOCK (CMS Content)
   ──────────────────────────────────────────────────────────────────────── */
.welcome {
  background: var(--penn-blue);
  color: var(--white);
  padding: var(--space-8) var(--pad);
  position: relative;
  overflow: hidden;
}
.welcome::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(130, 175, 211, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.welcome-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.welcome .eyebrow { color: var(--yellow); }
.welcome h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  margin: var(--space-3) 0 var(--space-5);
}
.welcome .mission {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  font-style: italic;
}
.welcome .mission strong {
  color: var(--white);
  font-style: normal;
}


/* ────────────────────────────────────────────────────────────────────────
   10 · SECTION LAYOUT (shared)
   ──────────────────────────────────────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-8) var(--pad);
}
.section-full {
  padding: var(--space-8) var(--pad);
}
.section-full .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: var(--space-7);
}
.section-head .eyebrow {
  display: block;
  margin-bottom: var(--space-2);
}
.section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}
.section-head p {
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--penn-red);
  margin: var(--space-3) auto 0;
  border-radius: var(--radius-pill);
}


/* ────────────────────────────────────────────────────────────────────────
   11 · CONTENT SECTIONS (Interior pages)
   ──────────────────────────────────────────────────────────────────────── */
.content-section {
  padding: var(--space-8) var(--pad);
}
.content-section .content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.content-section.alt {
  background: var(--club-warm);
}

/* Jump nav (interior pages) */
.jump-nav {
  background: var(--gray);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--nav-height) + 3px);
  z-index: 90;
}
.jump-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
}
.jump-nav a {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--trans);
}
.jump-nav a:hover,
.jump-nav a.active {
  color: var(--penn-blue);
  border-bottom-color: var(--penn-red);
}

/* Prose (interior page body text) */
.prose {
  max-width: none;
}
.prose h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-4);
}
.prose h3 {
  font-size: var(--fs-h3);
  margin: var(--space-6) 0 var(--space-3);
}
.prose p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}
.prose ul,
.prose ol {
  margin: 0 0 var(--space-4) var(--space-5);
  line-height: 1.85;
}
.prose li + li {
  margin-top: var(--space-2);
}


/* ────────────────────────────────────────────────────────────────────────
   12 · EVENT CARDS (LWC: clubEventCards)
   ──────────────────────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-5);
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.event-card-image .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
}
.event-date-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 52px;
}
.event-date-badge .month {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--penn-red);
  display: block;
}
.event-date-badge .day {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--penn-blue);
  display: block;
  margin-top: 1px;
}
.event-card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card-body h3 {
  font-size: var(--fs-h4);
  font-family: var(--font-serif);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.event-meta {
  font-size: var(--fs-micro);
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.event-meta span + span::before {
  content: '·';
  margin: 0 5px;
}
.event-card-body p {
  font-size: var(--fs-small);
  color: var(--muted);
  flex: 1;
  margin-bottom: var(--space-4);
  line-height: 1.65;
}
.event-card-footer {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-card-footer .event-time {
  font-size: var(--fs-micro);
  color: var(--muted);
  font-weight: 500;
}


/* ────────────────────────────────────────────────────────────────────────
   13 · MEMBERSHIP STRIP — compact homepage variant
   ──────────────────────────────────────────────────────────────────────── */
.membership-strip {
  background: var(--gray);
  padding: var(--space-6) var(--pad);
}
.membership-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.membership-strip-text {
  flex: 1;
  min-width: 280px;
}
.membership-strip-text h2 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
}
.membership-strip-text p {
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 52ch;
}
.membership-perks-inline {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.membership-perks-inline li {
  font-size: var(--fs-small);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.membership-perks-inline li .check {
  color: var(--penn-red);
  font-weight: 700;
}


/* ────────────────────────────────────────────────────────────────────────
   14 · MEMBERSHIP SECTION — expanded homepage variant (Template A)
   ──────────────────────────────────────────────────────────────────────── */
.membership-section {
  background: var(--gray);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.membership-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 31, 91, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.membership-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-8) 0;
  position: relative;
  z-index: 1;
}
.membership-header {
  text-align: center;
  margin-bottom: var(--space-6);
}
.membership-header h2 {
  color: var(--penn-blue);
  font-size: var(--fs-h2);
  margin: var(--space-2) 0 var(--space-3);
}
.membership-header p {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 auto;
  font-size: var(--fs-small);
  line-height: 1.7;
}
.membership-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  margin-top: var(--space-5);
  align-items: start;
}
.membership-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.membership-copy .note {
  font-size: var(--fs-micro);
  color: var(--muted);
  font-style: italic;
  margin-top: var(--space-4);
}
.membership-perks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.membership-perks li {
  font-size: var(--fs-small);
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.membership-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--penn-red);
  font-weight: 700;
}
.membership-cta-row {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}


/* ────────────────────────────────────────────────────────────────────────
   15 · MEMBERSHIP TIERS (Interior page — LWC or CMS)
   ──────────────────────────────────────────────────────────────────────── */
.tiers-grid {
  display: grid;
  gap: var(--space-4);
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
.tier-card:hover {
  box-shadow: var(--shadow-md);
}
.tier-card.featured {
  border: 2px solid var(--penn-red);
}
.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--gray);
  border-bottom: 1px solid var(--border);
}
.tier-card.featured .tier-header {
  background: var(--penn-blue);
  color: var(--white);
}
.tier-name {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--penn-blue);
}
.tier-card.featured .tier-name { color: var(--white); }
.tier-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--penn-red);
}
.tier-price span {
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--muted);
}
.tier-card.featured .tier-price { color: var(--yellow); }
.tier-card.featured .tier-price span { color: rgba(255, 255, 255, 0.6); }
.tier-body {
  padding: var(--space-4) var(--space-5);
}
.tier-body p {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.tier-body .renewal {
  font-size: var(--fs-micro);
  color: var(--penn-blue);
  font-weight: 600;
  margin-top: var(--space-2);
  display: block;
}
.tier-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--penn-blue);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-2);
}


/* ────────────────────────────────────────────────────────────────────────
   16 · CTA CARD INLINE (Interior pages)
   ──────────────────────────────────────────────────────────────────────── */
.cta-card-inline {
  background: linear-gradient(135deg, var(--penn-blue), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--white);
  margin: var(--space-6) 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.cta-card-inline h3 {
  color: var(--white);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
}
.cta-card-inline p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-small);
}


/* ────────────────────────────────────────────────────────────────────────
   17 · LEADERSHIP — Compact cards (Homepage)
   LWC: clubLeadershipGrid (displayMode: compact)
   ──────────────────────────────────────────────────────────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--penn-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  transition: transform var(--trans), box-shadow var(--trans);
}
.leader-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--penn-blue);
}
.leader-card h4 {
  font-size: var(--fs-body);
  color: var(--penn-blue);
  margin-bottom: 2px;
}
.leader-card .role {
  font-size: var(--fs-micro);
  color: var(--penn-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.leader-card .class-year {
  font-size: var(--fs-micro);
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 4px;
}

/* Staff variant */
.leader-card.staff { border-left-color: var(--light-blue); }
.leader-card.staff .role { color: var(--light-blue); }

/* Compact inline list (Template B) */
.leaders-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
}
.leader-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--trans);
}
.leader-row:hover { box-shadow: var(--shadow-sm); }
.leader-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--penn-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.leader-info h4 {
  font-size: var(--fs-small);
  color: var(--penn-blue);
  margin-bottom: 0;
  line-height: 1.3;
}
.leader-info .role-line {
  font-size: var(--fs-micro);
  color: var(--muted);
}
.leader-info .role-line .role-title {
  color: var(--penn-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ────────────────────────────────────────────────────────────────────────
   18 · LEADERSHIP — Detail cards with photos (Interior)
   LWC: clubLeadershipGrid (displayMode: detail)
   Recommended hero image: 1920×800px JPEG, <300KB
   Recommended headshot: square crop, 400×400px min, <150KB
   ──────────────────────────────────────────────────────────────────────── */
.leader-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.leader-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--trans);
}
.leader-detail:hover { box-shadow: var(--shadow-md); }
.leader-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  background: linear-gradient(135deg, var(--light-blue), var(--penn-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.leader-detail-body {
  padding: var(--space-5);
  flex: 1;
}
.leader-detail-body h4 {
  font-size: var(--fs-body);
  color: var(--penn-blue);
  margin-bottom: 2px;
}
.leader-detail-body .role {
  font-size: var(--fs-micro);
  color: var(--penn-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.leader-detail-body .class-year {
  font-size: var(--fs-micro);
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 2px;
  margin-bottom: var(--space-2);
}
.leader-detail-body .bio {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.6;
}

/* Board compact cards (interior page lower section) */
.board-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--penn-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  transition: transform var(--trans), box-shadow var(--trans);
}
.board-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--penn-blue);
}
.board-card h4 { font-size: var(--fs-body); color: var(--penn-blue); margin-bottom: 2px; }
.board-card .role { font-size: var(--fs-micro); color: var(--penn-red); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.board-card .class-year { font-size: var(--fs-micro); color: var(--muted); font-family: var(--font-serif); font-style: italic; margin-top: 4px; }
.board-card.staff { border-left-color: var(--light-blue); }
.board-card.staff .role { color: var(--light-blue); }


/* ────────────────────────────────────────────────────────────────────────
   19 · GET INVOLVED (CMS Collection)
   ──────────────────────────────────────────────────────────────────────── */
.involved-section{background:var(--gray)}
.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
}
.involve-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.involve-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.involve-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--club-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.involve-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.involve-card h3 {
  font-size: var(--fs-h4);
  font-family: var(--font-serif);
  margin-bottom: var(--space-2);
}
.involve-card p {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: var(--space-4);
}


/* ────────────────────────────────────────────────────────────────────────
   20 · SOCIAL BUTTONS
   ──────────────────────────────────────────────────────────────────────── */
.connect-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-5);
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  transition: all var(--trans);
}
.social-btn.facebook  { background: #1877F2; }
.social-btn.facebook:hover  { background: #0d65d9; color: var(--white); }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.instagram:hover { opacity: 0.9; color: var(--white); }
.social-btn.linkedin  { background: #0A66C2; }
.social-btn.linkedin:hover  { background: #084e96; color: var(--white); }


/* ────────────────────────────────────────────────────────────────────────
   21 · LISTSERV OPT-IN FORM (LWC: clubListservForm)
   ──────────────────────────────────────────────────────────────────────── */
.optin-section {
  background: var(--club-warm);
}
.optin-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-4);
}
.optin-form label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.optin-form input,
.optin-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--trans);
}
.optin-form input:focus-visible,
.optin-form select:focus-visible {
  outline: 3px solid var(--light-blue);
  outline-offset: 2px;
  border-color: var(--penn-blue);
}
.optin-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.optin-note {
  font-size: var(--fs-micro);
  color: var(--muted);
  line-height: 1.6;
}


/* ────────────────────────────────────────────────────────────────────────
   22 · FOOTER (Theme Layout)
   ──────────────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--penn-blue);
  color: var(--white);
  padding: var(--space-8) var(--pad) var(--space-6);
  font-size: var(--fs-small);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-7);
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-4);
}
.footer-col h5 {
  color: var(--light-blue);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  line-height: 1.9;
  display: block;
}
.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: var(--space-7) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
}


/* ────────────────────────────────────────────────────────────────────────
   23 · ACCESSIBILITY
   ──────────────────────────────────────────────────────────────────────── */

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--penn-blue);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Focus indicators */
a:focus-visible,
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--light-blue);
  outline-offset: 2px;
}
.nav-links a:focus-visible,
.jump-nav a:focus-visible {
  outline-offset: 4px;
}
.social-btn:focus-visible     { outline-offset: 3px; }
.leader-card:focus-within,
.event-card:focus-within,
.leader-detail:focus-within,
.board-card:focus-within,
.tier-card:focus-within       { outline: 3px solid var(--light-blue); outline-offset: 2px; }

/* ════════════════════════════════════════════════════════════════════
   AWARD OF MERIT
═══════════════════════════════════════════════════════════════════════ */
.award-section{background:var(--white)}
.award-inner{max-width:940px;margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:var(--space-7);align-items:center}
.award-seal{flex-shrink:0}
.award-seal img{width:240px;height:auto;filter:drop-shadow(0 8px 28px rgba(1,31,91,0.16))}
.award-copy .eyebrow{display:block;margin-bottom:var(--space-2)}
.award-copy h2{font-size:var(--fs-h2);color:var(--penn-blue);line-height:1.25}
.award-copy .section-divider{margin-left:0;margin-right:0}
.award-copy p{color:var(--muted);line-height:1.8;margin-top:var(--space-4);max-width:58ch}



/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .event-card:hover,
  .involve-card:hover,
  .leader-card:hover,
  .leader-detail:hover,
  .board-card:hover,
  .leader-row:hover,
  .tier-card:hover {
    transform: none;
  }
}


/* ────────────────────────────────────────────────────────────────────────
   24 · RESPONSIVE (≤ 900px)
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --pad: var(--pad-mobile);
  }

  /* Chrome */
  .utility-nav { display: none; }
  .nav-links   { display: none; }
  .menu-toggle { display: block; }

  /* Heroes */
  .hero         { min-height: 360px; }
  .hero-logo    { height: 60px; }
  .hero h1      { font-size: 2rem; }
  .page-hero    { min-height: 240px; }

  /* Sections */
  .section,
  .section-full,
  .content-section {
    padding: var(--space-7) var(--pad-mobile);
  }

  /* Membership */
  .membership-body { grid-template-columns: 1fr; }
  .membership-strip { padding: var(--space-6) var(--pad-mobile); }
  .membership-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .membership-perks-inline { justify-content: center; }
  .membership-strip-inner .btn {
    width: 100%;
    text-align: center;
  }

  /* Grids */
  .events-grid    { grid-template-columns: 1fr; }
  .leaders-list   { grid-template-columns: 1fr; }
  .leader-detail-grid { grid-template-columns: 1fr; }
  .leader-photo   { max-height: 360px; }

  /* Interior */
  .cta-card-inline {
    flex-direction: column;
    text-align: center;
  }
  .jump-nav-inner { padding: 0 var(--pad-mobile); }

  /* Footer & form */
  .footer-inner        { grid-template-columns: 1fr; }
  .optin-form .field-row { grid-template-columns: 1fr; }
}
