:root {
  --text: #3a3a3a;
  --muted: #4b4f58;
  --nav: #333333;
  --nav-current: #8102ce;
  --accent: #5553db;
  --heading-blue: #0125bc;
  --sky: #6ec1e4;
  --lime: #46f900;
  --location: #c62828;
  --line: #e6e6e6;
  --footer-text: #ffffff;
  --container: 1140px;
  --header-h: 104px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

#main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eceaf3;
  box-shadow: 0 10px 28px rgba(81, 45, 140, 0.07);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--nav-current) 52%, var(--accent) 100%);
}

.site-header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
}

.site-logo img {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.menu-toggle {
  display: none;
  align-items: center;
  align-self: center;
  gap: 10px;
  border: 1px solid #ddd8e8;
  background: #fff;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--nav);
  padding: 8px 12px;
  border-radius: 999px;
}

.menu-bars {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-list {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-list a {
  display: block;
  color: var(--nav);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list .current > a,
.nav-list a[aria-current="page"] {
  color: var(--nav-current);
  background: #f4eefe;
  text-decoration: none;
}

.nav-cta {
  margin-left: 10px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--nav-current);
  color: #fff;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-list .nav-cta a,
.nav-list .nav-cta a:hover,
.nav-list .nav-cta a[aria-current="page"] {
  background: var(--nav-current);
  color: #fff;
}

.nav-list .nav-cta a:hover {
  background: var(--accent);
  filter: none;
}

.nav-arrow {
  font-size: 9px;
  margin-left: 4px;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(81, 45, 140, 0.12);
  z-index: 30;
}

.sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu {
  display: block;
}

.sub-menu a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 10px;
}

.sub-menu a:hover {
  background: #f4eefe;
}

/* Hero slider */
.hero {
  position: relative;
  background: #111;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  height: min(72vh, 820px);
  min-height: 320px;
  background: #1a1a1a;
  overflow: hidden;
}

.hero-slides .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.hero-slides .slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slides .slide-fill {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  filter: blur(28px) saturate(1.05);
  transform: scale(1.08);
  z-index: 0;
}

.hero-slides img:not(.slide-fill) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide-copy {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 2;
  transform: translateX(-50%);
  width: min(92%, 980px);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.slide-copy .slide-kicker,
.slide-copy h2 {
  margin: 0 0 8px;
  color: var(--lime);
  font-family: Roboto, sans-serif;
  font-size: clamp(22px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.slide-copy p {
  margin: 0;
  color: #fff;
  font-family: "Cabin Condensed", "Roboto Condensed", sans-serif;
  font-size: clamp(15px, 2vw, 20px);
}

.hero-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero-btn.prev {
  left: 16px;
}

.hero-btn.next {
  right: 16px;
}

.hero-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature band */
.feature {
  padding: 72px 20px 88px;
  text-align: center;
}

.feature h1 {
  margin: 0 0 24px;
  font-family: Rosarivo, Georgia, serif;
  font-size: clamp(28px, 4.5vw, 55px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading-blue);
  text-shadow: 0 0 18px rgba(1, 37, 188, 0.28);
}

.feature h1 a {
  color: inherit;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--nav);
  border-color: #222;
}

.btn-outline:hover {
  color: var(--nav);
  background: #f4f4f4;
}

.btn-lg {
  min-width: 240px;
  min-height: 54px;
  font-size: 16px;
}

/* Page chrome */
.page {
  flex: 1 0 auto;
  padding: 48px 0 72px;
}

.page-title {
  margin: 0 0 12px;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #222;
}

.lede {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
}

.crumbs {
  margin: 0 0 22px;
  font-size: 13px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #b9b6c4;
}

.crumbs a {
  color: var(--nav-current);
  font-weight: 600;
}

.crumbs [aria-current="page"] {
  color: #222;
}

.faq {
  padding: 8px 0 24px;
}

.home-event + .faq,
.schedule + .faq {
  margin-top: 48px;
}

.faq h2 {
  margin: 0 0 20px;
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #222;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 18px 20px;
  background: #f7f6fb;
  border-left: 4px solid var(--nav-current);
  border-radius: 0 10px 10px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.footer-address {
  display: block;
  margin: 0 0 18px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Practice cards */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  text-align: center;
  padding: 8px 8px 28px;
}

.card h2,
.card h3 {
  margin: 0 0 16px;
  color: var(--nav-current);
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.card .time {
  display: block;
  background: #efefef;
  padding: 28px 12px;
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.card .place {
  color: var(--location);
  margin: 0 0 22px;
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d9d9d9;
  transform: translateX(-50%);
}

.era {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}

.era::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #d9d9d9;
}

.era-label {
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--sky);
  margin: 8px 0 0;
}

.era:nth-child(odd) .era-label {
  text-align: right;
  padding-right: 8px;
}

.era:nth-child(even) .era-label {
  order: 2;
  text-align: left;
  padding-left: 8px;
}

.era:nth-child(even) .era-body {
  order: 1;
}

.era-body {
  border: 1px solid #ececec;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  padding: 20px 22px 24px;
  background: #fff;
}

.era-body h3 {
  margin: 0 0 12px;
  color: var(--sky);
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: right;
}

.era:nth-child(even) .era-body h3 {
  text-align: left;
}

.era-body img {
  display: block;
  max-width: 180px;
  margin: 0 0 16px auto;
}

.era:nth-child(even) .era-body img {
  margin-left: 0;
  margin-right: auto;
}

.era-body p {
  margin: 0 0 14px;
}

.era-body p:last-child {
  margin-bottom: 0;
}

.era-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.history-intro {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}

.history-intro h1 {
  margin: 0 0 12px;
  font-family: Roboto, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #222;
}

.page-history .lede {
  margin-bottom: 0;
}

html.js-reveal .history-intro,
html.js-reveal .era .era-label,
html.js-reveal .era .era-body {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .era .era-body {
  transition-delay: 0.12s;
}

html.js-reveal .era:nth-child(odd) .era-label {
  transform: translate(-20px, 28px);
}

html.js-reveal .era:nth-child(even) .era-label {
  transform: translate(20px, 28px);
}

html.js-reveal .history-intro.is-in,
html.js-reveal .era.is-in .era-label,
html.js-reveal .era.is-in .era-body {
  opacity: 1;
  transform: none;
}

html.js-reveal .era::after {
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .era.is-in::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

html.js-reveal .timeline::before {
  transform: translateX(-50%) scaleY(0.12);
  transform-origin: top;
  transition: transform 1.1s ease;
}

html.js-reveal .timeline.is-in::before {
  transform: translateX(-50%) scaleY(1);
}

.era.is-in .era-body:hover {
  box-shadow: 0 12px 32px rgba(81, 45, 140, 0.12);
}

/* Events */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h1,
.prose h2 {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

.prose h2 {
  font-size: 28px;
  margin: 0 0 22px;
}

.prose h3 {
  font-size: 22px;
  margin: 28px 0 10px;
}

.address {
  font-weight: 700;
  margin: 8px 0 20px 36px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 36px 0 8px;
}

/* Contact */
.page-contact {
  background:
    linear-gradient(#fff 0, #f7f6fb 120px, #f7f6fb);
  padding-bottom: 88px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.contact-form,
.contact-card {
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(81, 45, 140, 0.06);
}

.contact-form {
  padding: 28px 28px 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-current);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd8e8;
  border-radius: 10px;
  background: #faf9fd;
  color: #222;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9a96a8;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #c9c2d8;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(85, 83, 219, 0.16);
}

.contact-form .btn {
  min-width: 180px;
  border-radius: 10px;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  padding: 22px 24px;
}

.contact-card .eyebrow {
  margin-bottom: 6px;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.contact-card p,
.contact-card address {
  margin: 0;
  font-style: normal;
  color: var(--muted);
}

.contact-card a {
  font-weight: 500;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* Officers */
.page-officers {
  background: linear-gradient(#fff 0, #f7f6fb 120px, #f7f6fb);
  padding-bottom: 88px;
}

.officers-intro,
.section-heading {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 640px;
}

.officers-intro h1,
.section-heading h2 {
  margin: 0 0 12px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  color: #222;
}

.officers-intro h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.page-officers .lede {
  margin-bottom: 0;
}

.section-heading {
  margin-top: 12px;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.people,
.committee {
  display: grid;
  gap: 22px;
  margin: 0 0 48px;
}

.people {
  grid-template-columns: repeat(4, 1fr);
}

.committee {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.person {
  text-align: center;
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 16px;
  padding: 22px 16px 24px;
  box-shadow: 0 14px 40px rgba(81, 45, 140, 0.06);
}

.person-photo {
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--nav-current));
}

.person-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid #fff;
  display: block;
}

.person .eyebrow {
  margin-bottom: 4px;
}

.person h2,
.person h3 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.person-chip {
  padding: 16px 12px 18px;
  box-shadow: none;
}

.person-chip .initials {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4eefe;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--nav-current);
}

.officers-actions {
  margin-top: 8px;
}

html.js-reveal .officers-intro,
html.js-reveal .section-heading,
html.js-reveal .person {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .officers-intro.is-in,
html.js-reveal .section-heading.is-in,
html.js-reveal .person.is-in {
  opacity: 1;
  transform: none;
}

html.js-reveal .people .person:nth-child(2) { transition-delay: 0.08s; }
html.js-reveal .people .person:nth-child(3) { transition-delay: 0.16s; }
html.js-reveal .people .person:nth-child(4) { transition-delay: 0.24s; }

.photos-intro {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 680px;
}

.photos-intro h1 {
  margin: 0 0 12px;
  font-family: Roboto, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #222;
}

.page-photos {
  background: linear-gradient(#fff 0, #f7f6fb 120px, #f7f6fb);
  padding-bottom: 88px;
}

.page-photos .lede {
  margin-bottom: 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.photo-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
}

.photo-tile {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eceaf3;
  aspect-ratio: 1;
  cursor: pointer;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.photo-tile:hover img {
  transform: scale(1.04);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.album-card {
  display: block;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 14px;
  color: #222;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(81, 45, 140, 0.05);
}

.album-card:hover {
  color: var(--nav-current);
  text-decoration: none;
  border-color: #ddd8e8;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 72px 88px 96px;
  background:
    radial-gradient(ellipse at center, rgba(28, 18, 56, 0.35), rgba(6, 8, 22, 0.94));
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-dialog {
  width: min(1100px, 100%);
  position: relative;
  display: grid;
  place-items: center;
}

.lightbox-stage {
  margin: 0;
  max-width: 100%;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 860px);
  margin: 0 auto;
  border-radius: 16px;
  background: #0b0d18;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox-stage img.is-in {
  opacity: 1;
  transform: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--nav-current);
  border-color: var(--nav-current);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  position: fixed;
}

.lightbox-nav.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}

.lightbox-nav.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-meta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.lightbox-caption {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-weight: 500;
}

.lightbox-count {
  margin: 0;
  color: var(--lime);
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lightbox-link {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--lime);
}

.lightbox-link:hover {
  color: var(--lime);
}

.lightbox-link[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

.note {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 16px 18px;
  background: #f6f4fb;
  border-left: 4px solid var(--nav-current);
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  color: var(--footer-text);
  border-top: 4px solid var(--lime);
  background:
    linear-gradient(180deg, rgba(16, 22, 56, 0.78), rgba(8, 10, 28, 0.94)),
    url("/assets/footer-court.jpg") center / cover no-repeat;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 40px;
  padding: 56px 20px 36px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px 6px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 132px;
  height: auto;
}

.footer-brand p {
  margin: 0 0 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer h2 {
  margin: 8px 0 14px;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime);
  text-decoration: none;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social:hover {
  background: rgba(70, 249, 0, 0.18);
  border-color: var(--lime);
  color: #fff;
}

.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.byline {
  color: rgba(255, 255, 255, 0.5);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* 404 */
.not-found {
  text-align: center;
  padding: 80px 20px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .site-logo img {
    width: 128px;
  }

  .nav-list a {
    padding: 10px 8px;
    font-size: 12px;
  }

  .btn-nav,
  .nav-list .nav-cta a {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-logo img {
    width: 120px;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(81, 45, 140, 0.12);
  }

  body.nav-open .site-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    gap: 4px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .nav-list .nav-cta a {
    width: 100%;
  }

  .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }

  .sub-menu::before {
    content: none;
  }

  .has-children.open > .sub-menu,
  .has-children:focus-within > .sub-menu {
    display: block;
  }

  .schedule,
  .contact-grid,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .people,
  .committee {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 68px 12px 108px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }

  .lightbox-stage img {
    max-height: 64vh;
  }

  .timeline::before {
    left: 12px;
  }

  .era {
    grid-template-columns: 1fr;
    padding-left: 36px;
    gap: 8px;
  }

  .era::after {
    left: 12px;
  }

  .era-label,
  .era:nth-child(odd) .era-label,
  .era:nth-child(even) .era-label {
    text-align: left;
    padding: 0;
    order: 0;
  }

  .era:nth-child(even) .era-body {
    order: 0;
  }

  .era-body h3,
  .era:nth-child(even) .era-body h3 {
    text-align: left;
  }

  .era-body img,
  .era:nth-child(even) .era-body img {
    margin-left: 0;
  }

  .hero-slides {
    height: min(58vh, 560px);
    min-height: 240px;
  }

  .footer-bar {
    flex-direction: column;
  }

  .contact-form,
  .contact-card {
    padding: 22px 18px;
  }
}

.intro,
.home-practice,
.home-event {
  padding: 48px 0;
}

.intro {
  text-align: center;
}

.intro h1,
.home-practice h2,
.home-event h2 {
  margin: 0 0 12px;
  font-family: Roboto, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: #222;
}

.center-link {
  text-align: center;
  margin: 28px 0 0;
}

.addr {
  color: var(--muted);
  font-size: 14px;
  margin: -8px 0 18px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--nav-current);
}

.home-event {
  background: #f7f6fb;
}

.past-event {
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.feature-title {
  margin: 0 0 24px;
  font-family: Rosarivo, Georgia, serif;
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--heading-blue);
}

.feature-title a {
  color: inherit;
  text-decoration: none;
}

.turnstile-slot {
  margin: 8px 0 16px;
  min-height: 24px;
}

.form-status {
  margin: 0 0 12px;
}

.form-status.is-error {
  color: #9b1c1c;
}

.form-status.is-ok {
  color: #17663a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slides .slide {
    transition: none;
  }

  html.js-reveal .history-intro,
  html.js-reveal .era .era-label,
  html.js-reveal .era .era-body,
  html.js-reveal .officers-intro,
  html.js-reveal .section-heading,
  html.js-reveal .person {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js-reveal .era::after {
    opacity: 1;
    transform: translateX(-50%);
    transition: none;
  }

  html.js-reveal .timeline::before {
    transform: translateX(-50%);
    transition: none;
  }

  .lightbox-stage img {
    transition: none;
  }
}
