:root {
  --white: #ffffff;
  --purple: #861c3e;
  --purple-deep: #6f1733;
  --text-dark: #111111;
  --text-light: #ffffff;
  --muted-dark: #3f3f3f;
  --muted-light: #efe5ec;
  --line-dark: rgba(0, 0, 0, 0.2);
  --line-light: rgba(255, 255, 255, 0.45);
  --container: min(1120px, 92vw);
  --space: clamp(2.6rem, 5vw, 5rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--purple);
  border-bottom: 1px solid var(--line-light);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 500;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-list a,
.nav-dropdown summary {
  color: var(--muted-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.nav-list a:hover,
.nav-list a.active,
.nav-dropdown summary:hover,
.nav-dropdown details[open] summary {
  color: var(--text-light);
  border-bottom-color: var(--text-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown details {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  display: inline-block;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 220px;
  background: var(--purple-deep);
  border: 1px solid var(--line-light);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
  border-bottom: 0;
}

.nav-dropdown-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

main {
  overflow: clip;
}

.temple-gate {
  background: var(--white);
  padding: 2.2rem 0 0.6rem;
}

.temple-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 0 1rem;
}

.temple-wrap::before,
.temple-wrap::after {
  content: "";
  width: min(25vw, 220px);
  height: 3px;
  background: var(--purple);
  opacity: 0.7;
}

.temple-logo {
  width: clamp(320px, 52vw, 600px);
  margin: 0 1.2rem;
  display: block;
}

.hero {
  padding: var(--space) 0;
  background: var(--purple);
  color: var(--text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  line-height: 1.08;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  margin: 0;
  max-width: 65ch;
  color: var(--muted-light);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0.65rem 1.2rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
}

.btn-primary {
  background: var(--purple);
  color: var(--text-light);
  border-color: var(--purple);
}

.hero .btn-primary,
.section-alt .btn-primary {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: inherit;
}

.hero-panel {
  padding: 0.2rem 0 0 1rem;
  border-left: 2px solid var(--text-light);
}

.mini-list,
.topic-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.mini-list li,
.topic-list li {
  margin-bottom: 0.5rem;
}

.section {
  padding: var(--space) 0;
  background: var(--white);
  color: var(--text-dark);
}

.section p,
.section li,
.section td {
  color: var(--muted-dark);
}

.section-alt {
  background: var(--purple);
  color: var(--text-light);
}

.section-alt p,
.section-alt li,
.section-alt td {
  color: var(--muted-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.card {
  border-left: 2px solid currentColor;
  padding-left: 0.9rem;
}

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

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

.person-card {
  border-left: 0;
  padding-left: 0;
}

.person-card h3 {
  margin-top: 0.8rem;
}

.profile-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid currentColor;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-alt .table-wrap {
  border-top-color: var(--line-light);
  border-bottom-color: var(--line-light);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.section-alt th,
.section-alt td {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

th {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.schedule-tbd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-line {
  margin: 1.2rem 0 0;
}

a {
  color: var(--purple);
}

a:hover {
  opacity: 0.75;
}

.hero a,
.section-alt a,
.site-footer a {
  color: var(--text-light);
}

.site-footer {
  padding: 1.2rem 0 1.6rem;
  background: var(--purple-deep);
  color: var(--text-light);
  border-top: 1px solid var(--line-light);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
}

.reveal {
  animation: rise 650ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards-grid,
  .dates-grid,
  .people-grid,
  .organizers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-list {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 0.45rem;
    min-width: 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .temple-wrap::before,
  .temple-wrap::after {
    width: 20vw;
  }
}
