/* Page Lemon template: Guild. Collegiate navy, brick and gold on white and cool grey. Small-caps serif display. */
:root {
  --navy: #14233F;
  --navy-ink: #0C1830;
  --navy-line: #2A3D62;
  --paper: #F3F4F7;
  --white: #FFFFFF;
  --ink: #16203A;
  --muted: #4A5472;
  --brick: #953A28;
  --brick-deep: #7A2D1E;
  --gold: #C9A24A;
  --gold-soft: #E9DBB4;
  --rule: #C9CED9;
  --font-display: "Spectral SC", Georgia, "Times New Roman", serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  padding-bottom: 76px;
}
@media (min-width: 720px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0.01em; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--brick-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--brick-deep); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .hero :focus-visible, .closing :focus-visible, .site-footer :focus-visible, .action-bar :focus-visible { outline-color: var(--gold); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 10; font-family: var(--font-display); }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }

.label { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; color: var(--brick-deep); margin-bottom: 0.75rem; }
.lede { font-size: 1.25rem; max-width: 40ch; color: var(--muted); }
.more { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.15rem; }
.intro { max-width: 60ch; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
  background: var(--brick); color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.03em;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--brick-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: inherit; }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* Header */
.site-header { background: var(--navy); color: var(--white); border-bottom: 3px solid var(--gold); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.02em; }
.wordmark:hover { color: var(--gold-soft); }
.bell-mark { display: inline-block; width: 18px; height: 20px; background: var(--gold); border-radius: 50% 50% 38% 38% / 60% 60% 40% 40%; transform-origin: 50% 0; }
.wordmark:hover .bell-mark { animation: ring 0.9s ease-in-out 1; }
@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-16deg); }
  40% { transform: rotate(11deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(3deg); }
}

.nav-inline { display: none; align-items: center; gap: 24px; }
.nav-inline ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-inline a { color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-inline a:hover { border-bottom-color: var(--gold); }
.nav-inline a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold-soft); }
.nav-inline .btn, .nav-inline .btn[aria-current="page"] { color: var(--navy-ink); background: var(--gold); border-bottom-color: transparent; padding: 8px 16px; }
.nav-inline .btn:hover { background: var(--gold-soft); color: var(--navy-ink); }
@media (min-width: 900px) { .nav-inline { display: flex; } }

.nav-disclosure { position: relative; }
.nav-disclosure summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--gold); color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure[open] summary { background: var(--gold); color: var(--navy-ink); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, 86vw); background: var(--navy); border: 1px solid var(--gold); display: grid; gap: 4px; padding: 12px; z-index: 5; }
.menu-panel a { color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; padding: 12px 10px; min-height: 44px; }
.menu-panel a[aria-current="page"] { color: var(--gold-soft); }
.menu-panel .btn, .menu-panel .btn[aria-current="page"] { margin-top: 8px; color: var(--navy-ink); background: var(--gold); }
@media (min-width: 900px) { .nav-disclosure { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; background-color: var(--navy); color: var(--white);
  background-image: repeating-radial-gradient(circle at 88% 42%, transparent 0 56px, rgba(201, 162, 74, 0.1) 56px 57px);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: #DCE2EE; }
.hero .label { color: var(--gold-soft); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.frame { margin: 0; border: 1px solid var(--gold); padding: 10px; background: var(--navy-ink); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Next up ledger */
.next { background: var(--white); border-top: 4px solid var(--gold); padding: 56px 0 40px; }
.next-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
.next-head p { margin: 0; font-size: 1.1rem; color: var(--muted); }
.countdown { font-family: var(--font-display); color: var(--brick-deep); font-size: 1.15rem; }
.ledger { list-style: none; margin: 16px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.ledger li { display: grid; grid-template-columns: 1fr; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ledger .when { font-family: var(--font-display); font-size: 1.3rem; color: var(--brick-deep); }
.ledger .item-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin: 0 0 4px; font-weight: 600; }
.ledger .item-title + p { margin: 0; color: var(--muted); }
.ledger .where { margin: 0; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
@media (min-width: 720px) {
  .ledger li { grid-template-columns: 170px 1fr 200px; align-items: start; }
  .ledger .where { text-align: right; }
}
.band-light .ledger { border-top-color: var(--navy); }

/* Sections */
.section { padding: 72px 0; }
.band-light { background: var(--white); }
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.two { display: grid; gap: 48px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; border-top: 3px solid var(--gold); padding-top: 20px; }
.stats div { border-left: 1px solid var(--rule); padding-left: 14px; }
.stats dt { font-size: 0.95rem; color: var(--muted); margin-bottom: 6px; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1; }

/* Tiers ledger */
.tier-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.tier-list li { display: grid; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.tier-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin: 0; }
.tier-list p:not(.tier-name) { margin: 0; color: var(--muted); }
.tier-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--brick-deep) !important; }
@media (min-width: 720px) { .tier-list li { grid-template-columns: 220px 1fr 200px; align-items: baseline; } .tier-price { text-align: right; } }
.tier-detail .tier-name { color: var(--brick-deep); }

/* News and committee */
.news-item { border-top: 1px solid var(--rule); padding: 22px 0 6px; }
.news-item time { display: block; font-family: var(--font-display); color: var(--brick-deep); font-size: 1.05rem; margin-bottom: 4px; }
.news-item h3 { margin-bottom: 8px; }
.news-item p { color: var(--muted); }
.news-item.big { padding: 28px 0 24px; }
.news-item.big h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.news-item.big time { margin-bottom: 6px; }
.news-item.big p { font-size: 1.15rem; }
.narrow .more { margin-top: 2rem; }

.officers, .docs { margin: 24px 0 0; display: grid; gap: 0; }
.officers > div, .docs > div { display: grid; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.officers > div:last-child, .docs > div:last-child { border-bottom: 1px solid var(--rule); }
.officers dt, .docs dt { font-family: var(--font-display); font-size: 1.1rem; color: var(--brick-deep); }
.officers dd, .docs dd { margin: 0; color: var(--muted); }
.officers .person { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin: 0 0 4px; }
.officers dd p:last-child { margin: 0; }
.docs dd { font-size: 1.1rem; }
@media (min-width: 720px) {
  .officers > div { grid-template-columns: 200px 1fr; }
  .docs > div { grid-template-columns: 280px 1fr; }
}

/* Two-column preview copy */
.two-col { background: var(--paper); }
.two h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* Section nav on events */
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.section-nav a { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); text-decoration: none; padding: 8px 0; min-height: 44px; border-bottom: 2px solid var(--gold); }
.section-nav a:hover { color: var(--brick-deep); }

.page-head { padding: 64px 0 40px; background: var(--white); border-bottom: 1px solid var(--rule); }
.page-head + .section { padding-top: 56px; }
.wide-frame { margin-top: 32px; }

/* Steps on membership */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 18px 0 18px 64px; position: relative; border-top: 1px solid var(--rule); }
.steps li:first-child { border-top: 2px solid var(--navy); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font-family: var(--font-display); font-size: 1.4rem; }
.steps .item-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin: 0 0 4px; }
.steps p:not(.item-title) { margin: 0; color: var(--muted); }

/* Join form (slot fallback and inert form) */
.join { background: var(--white); border-top: 1px solid var(--rule); }
.join .slot { margin-top: 12px; padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--paper); }
.join .slot p { margin: 0; }
.join-form { display: grid; gap: 16px; max-width: 560px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--white); border: 1px solid #8C95AB; border-radius: 2px;
}
.field textarea { min-height: 112px; resize: vertical; }
.join-form .btn { justify-self: start; }

/* Closing band */
.closing { background: var(--brick); color: var(--white); padding: 72px 0; }
.closing h2 { color: var(--white); }
.closing p { color: #F6E9E4; max-width: 56ch; }
.closing .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.closing .btn-gold { color: var(--navy-ink); }

/* Footer */
.site-footer { background: var(--navy-ink); color: #C8D0E0; border-top: 3px solid var(--gold); padding: 48px 0 56px; font-size: 1rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white) !important; }
.site-footer .btn { color: var(--navy-ink); }
.site-footer .btn:hover { color: var(--navy-ink); background: var(--gold-soft); }
.social { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 18px; }

/* Mobile action bar: never covers content (body keeps bottom padding) */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-top: 2px solid var(--gold); }
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.15rem; }
.action-bar a + a { border-left: 1px solid var(--navy-line); }
.action-bar a:hover { color: var(--gold-soft); }
@media (min-width: 720px) { .action-bar { display: none; } }

/* Countdown script fills .countdown; the date stays readable without JS */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark:hover .bell-mark { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
