:root {
  --paper: #f4efe6;
  --paper-deep: #ebe4d6;
  --white: #fffcf8;
  --ink: #1c2430;
  --ink-soft: #3e4c5e;
  --muted: #4d5d70;
  --navy: #16324f;
  --navy-deep: #0e2238;
  --line: #e3d8c6;
  --saffron: #9a4f12;
  --saffron-deep: #7d3e0d;
  --gold: #e8b56a;
  --focus: #9a4f12;
  --danger: #8d1d1d;
  --shadow: 0 18px 50px rgba(22, 50, 79, 0.1);
  --radius: 1.25rem;
  --max: 72rem;
  --font: "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, rgba(255, 252, 248, 0.7), transparent 42%),
    var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 0.9rem;
}

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

address {
  font-style: normal;
}

::selection {
  background: #ead3b4;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 3.25rem 0;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  margin-right: auto;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1.15;
}

.brand span {
  font-size: 0.95rem;
}

.brand img {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  padding: 0.35rem 0 0.85rem;
}

.nav a {
  padding: 0.75rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--saffron);
}

.js .nav-toggle {
  display: inline-flex;
}

.js .nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  width: auto;
  padding: 0.4rem 1rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.js .nav.is-open {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-saffron {
  background: var(--saffron);
  color: #fff;
}

.btn-saffron:hover {
  background: var(--saffron-deep);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn.header-cta {
  display: none;
}

.hero {
  padding: 0 0 0.5rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(100deg, #f8e4be 0%, #e8b56a 58%, #d68430 100%);
}

.hero-media > .wrap {
  padding-bottom: 1.2rem;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: center 18%;
  background: transparent;
}

.hero-card {
  position: relative;
  margin-top: -2rem;
  padding: 1.35rem 1.2rem 1.4rem;
  border: 1px solid rgba(255, 252, 248, 0.8);
  border-radius: 1.35rem;
  background: rgba(255, 252, 248, 0.98);
  box-shadow: var(--shadow);
}

.hero-card h1 {
  font-size: clamp(1.35rem, 7vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.hero-line,
.hero-accent {
  display: block;
}

.hero-line {
  white-space: nowrap;
}

.hero-accent {
  margin-top: 0.2rem;
  color: var(--saffron);
  font-size: 0.72em;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-actions .btn {
  flex: 1 1 9.5rem;
}

.facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.facts strong {
  display: block;
  color: var(--navy);
}

.facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.text-link {
  font-weight: 600;
}

.principle-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li,
.card,
.note,
.panel,
.centre,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.principle-list li {
  padding: 1rem 1.05rem 0.4rem;
  border-top: 3px solid var(--saffron);
}

.activity-grid,
.note-grid,
.card-grid,
.step-grid,
.centre-grid {
  display: grid;
  gap: 0.9rem;
}

.card,
.note,
.centre,
.step {
  padding: 1.15rem 1.15rem 1.05rem;
}

.card-index {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--saffron);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kicker {
  margin-bottom: 0.45rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invite {
  padding: 1.5rem 0 0.25rem;
}

.invite-panel {
  padding: 1.6rem 1.25rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(160deg, rgba(232, 181, 106, 0.18), transparent 38%),
    var(--navy);
  color: #f7f3ea;
}

.invite-panel h2,
.invite-panel p {
  color: #f7f3ea;
}

.invite-panel .lede {
  color: #e5dfd4;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.page-hero {
  padding: 2.4rem 0 0.4rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 1.4rem 1.4rem;
  border-left: 2px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.42rem;
  top: 0.25rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--saffron);
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tablist [role="tab"] {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tablist [role="tab"][aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.panel {
  margin-top: 0.9rem;
  padding: 1.3rem 1.15rem 1.15rem;
}

.panel ul,
.prose ul {
  margin-top: 0;
  padding-left: 1.15rem;
}

.panel li + li,
.prose li + li {
  margin-top: 0.35rem;
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.centre + .centre {
  margin-top: 0.9rem;
}

.form-row,
.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid #d5cbb8;
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.error {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.4em;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.amount-field {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}

.amount-field legend {
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.amount-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.amount-choices label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid #d5cbb8;
  border-radius: 0.8rem;
  background: #fff;
}

.amount-choices input {
  width: auto;
}

.pay-slip {
  margin-top: 1.2rem;
}

.pay-slip dl {
  margin: 0.4rem 0 1rem;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.pay-row dt {
  color: var(--navy);
  font-weight: 600;
}

.pay-row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.copy-btn {
  margin-left: 0.45rem;
  padding: 0.25rem 0.6rem;
  min-height: 0;
}

.receipt-sheet {
  max-width: 40rem;
}

.receipt-sheet h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.acknowledgement-print {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.receipt-code {
  white-space: nowrap;
}

.rota-list,
.rota-day {
  display: grid;
  gap: 0.9rem;
}

.rota-cal {
  display: grid;
  gap: 0.8rem;
}

.rota-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.rota-cal-title {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.rota-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.rota-cal-label,
.rota-cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border-radius: 0.7rem;
  text-align: center;
}

.rota-cal-label {
  min-height: 1.6rem;
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rota-cal-day {
  border: 1px solid transparent;
  color: var(--navy);
  text-decoration: none;
}

.rota-cal-day.is-out {
  color: transparent;
}

.rota-cal-day.has-shift {
  border-color: var(--gold);
  background: #fff;
  font-weight: 700;
}

.rota-cal-day.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.rota-cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 2px var(--saffron);
}

.rota-cal-day.has-ekadashi,
.rota-cal-day.has-amavasya,
.rota-cal-day.has-purnima {
  background: #fff;
  font-weight: 700;
}

.rota-cal-day.has-ekadashi {
  border-color: var(--gold);
}

.rota-cal-day.has-amavasya {
  border-color: var(--navy);
}

.rota-cal-day.has-purnima {
  border-color: var(--saffron);
}

.rota-cal-day.is-selected.has-ekadashi,
.rota-cal-day.is-selected.has-amavasya,
.rota-cal-day.is-selected.has-purnima {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tithi-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
}

.tithi-legend i {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.35rem;
  border: 2px solid var(--gold);
  border-radius: 0.25rem;
  font-style: normal;
  vertical-align: -0.05rem;
}

.tithi-legend .is-amavasya {
  border-color: var(--navy);
}

.tithi-legend .is-purnima {
  border-color: var(--saffron);
}

.rota-card h3 {
  margin-bottom: 0.35rem;
}

.rota-meta {
  color: var(--navy);
  font-weight: 600;
}

.rota-card ul {
  margin: 0.2rem 0 0.8rem;
}

.rota-join {
  margin-top: 0.85rem;
}

.rota-join summary {
  width: fit-content;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.rota-join form {
  margin-top: 0.85rem;
}

.preceptor-lead {
  display: grid;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.preceptor-portrait {
  width: min(16rem, 72%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.works {
  margin-top: 1.15rem;
}

.works summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--saffron);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.works summary::-webkit-details-marker,
.works summary::marker {
  content: "";
}

.works summary:hover {
  background: var(--saffron-deep);
}

.works[open] summary {
  margin-bottom: 0.9rem;
}

.works .lede {
  max-width: 46rem;
}

.works ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.works li + li {
  margin-top: 0.2rem;
}

@media (min-width: 48rem) {
  .preceptor-lead {
    grid-template-columns: 16rem 1fr;
    gap: 1.75rem;
  }

  .preceptor-portrait {
    width: 100%;
  }
}

@media (min-width: 64rem) {
  .works .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media print {
  .site-header,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

.map-block {
  margin-top: 1.25rem;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #e7eef3;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 2.6rem 0 1.3rem;
  background: var(--navy-deep);
  color: #e7e1d6;
}

.site-footer h2,
.site-footer p,
.footer-heading {
  color: #f4efe6;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-name {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-heading {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.site-footer a {
  color: #fff;
}

.class-frame {
  display: block;
  width: 100%;
  height: 38rem;
  min-height: 38rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fffdf8;
}

.class-hero {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.class-hero img,
.class-figure,
.class-practice img {
  width: 100%;
  border-radius: 1.25rem;
}

.class-hero img {
  height: 16rem;
  object-fit: cover;
  object-position: center 40%;
}

.class-deck {
  display: grid;
  gap: 0.8rem;
}

.class-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.class-topics button,
.class-controls button,
.practice-step {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.class-topics button {
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 1rem;
  font-weight: 650;
}

.class-topics button[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.class-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.class-stage [data-slide] {
  margin: 0;
  cursor: pointer;
}

.class-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.class-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.class-controls button {
  border-radius: 999px;
  min-width: 8.5rem;
  padding: 0.8rem 1.3rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.class-controls p {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.class-controls button:focus-visible,
.class-topics button:focus-visible,
.practice-step:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.class-practice {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.practice-steps {
  display: grid;
  gap: 0.7rem;
}

.practice-step {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  text-align: left;
}

.practice-step span:first-child {
  color: var(--saffron);
  font-weight: 700;
}

.practice-step.is-current {
  background: #fff4e8;
  border-color: #e7c49a;
}

@media (min-width: 48rem) {
  .class-hero,
  .class-practice {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .class-hero img {
    height: 22rem;
  }
}

@media (min-width: 64rem) {
  .practice-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.fasting-notice {
  width: min(32rem, calc(100vw - 2rem));
  margin: auto;
  border: 0;
  border-radius: 1.25rem;
  padding: 1.4rem 1.25rem 1.25rem;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.fasting-notice::backdrop {
  background: rgba(14, 34, 56, 0.46);
}

.fasting-notice h2 {
  margin: 0.15rem 0 0;
}

.fasting-list {
  margin: 0.9rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.fasting-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.fasting-list span {
  color: var(--saffron);
  font-weight: 600;
}

.fasting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.fasting-actions form {
  margin: 0;
}

.social {
  display: flex;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.social-link:hover,
.site-footer .social-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.centre .social-link {
  background: rgba(22, 50, 79, 0.08);
  color: var(--navy);
}

.centre .social-link:hover {
  background: var(--navy);
  color: #fff;
}

.acknowledgement {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.acknowledgement-label {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.acknowledgement p:last-child {
  margin: 0;
  max-width: 52rem;
  color: #e7e1d6;
  font-size: 0.98rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-base p {
  margin: 0;
  color: #d9d1c4;
  font-size: 0.95rem;
}

.site-footer :focus-visible,
.invite-panel :focus-visible {
  outline-color: #f3d2a4;
}

@media (min-width: 48rem) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }

  .brand span {
    font-size: 1.05rem;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .facts,
  .activity-grid,
  .note-grid,
  .card-grid,
  .step-grid,
  .centre-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .amount-choices {
    grid-template-columns: repeat(5, 1fr);
  }

  .invite-panel {
    padding: 2.4rem 2.2rem;
  }
}

@media (min-width: 64rem) {
  .nav,
  .js .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav a,
  .js .nav a {
    padding: 0.25rem 0;
    border-bottom: 0;
    font-weight: 500;
  }

  .nav a[aria-current="page"] {
    color: var(--navy);
    box-shadow: inset 0 -2px 0 var(--saffron);
  }

  .header-bar {
    flex-wrap: nowrap;
  }

  .nav-toggle,
  .js .nav-toggle {
    display: none;
  }

  .hero-media {
    display: grid;
  }

  .hero-media img,
  .hero-media > .wrap {
    grid-area: 1 / 1;
  }

  .hero-media > .wrap {
    display: flex;
    align-items: flex-end;
  }

  .hero-media img {
    width: auto;
    height: 100%;
    min-height: 36rem;
    justify-self: end;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent 92%);
    mask-image: linear-gradient(90deg, #000 68%, transparent 92%);
  }

  .hero-card {
    align-self: end;
    width: min(38rem, 100%);
    margin: 1.4rem 0;
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .activity-grid,
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .note-grid,
  .card-grid,
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
  }

  .contact-layout {
    grid-template-columns: 0.86fr 1.14fr;
    align-items: start;
  }
}

.tradition {
  padding: 2.6rem 0 1.2rem;
  background: #f6f4f1;
}

.tradition-headline {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
  font-size: clamp(1.65rem, 4.15vw, 3.65rem);
}


.t-top,
.t-mid,
.t-lower,
.t-stack {
  display: block;
}

.t-muted {
  color: #9aa0a6;
}

.t-ink {
  color: #2c3136;
}

.t-accent {
  color: #f15a24;
}

.t-lower {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-top: 0.7rem;
}

.tradition-photo {
  width: 100%;
  max-width: 22rem;
  height: 11.5rem;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0.35rem;
}

.t-stack {
  display: flex;
  flex-direction: column;
}

.tradition-note {
  margin: 1.25rem 0 0;
  color: #6d7580;
  font-size: 0.98rem;
}

.tradition-stats {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.tradition-stats strong {
  display: block;
  color: #2c3136;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.tradition-stats span {
  color: #8b9198;
  font-size: 1.05rem;
}

@media (min-width: 64rem) {
  .t-top,
  .t-mid {
    white-space: nowrap;
  }

  .t-lower {
    grid-template-columns: 22rem 1fr;
    gap: 1.6rem;
  }

  .tradition-photo {
    height: 14.5rem;
  }

  .tradition-stats {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    align-items: start;
    margin-top: 2.6rem;
  }

  .tradition-stats li + li {
    border-left: 1px solid #ddd8d2;
  }
}

.start-here,
.events-board {
  padding: 2.4rem 0 0.6rem;
  background: #f6f4f1;
}

.start-here h2,
.events-title {
  margin: 0;
  color: #2c3136;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.start-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.start-card {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.4rem;
  background: #c96a32;
}

.start-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-card-practice img {
  object-position: right center;
}

.start-card-questions {
  background:
    linear-gradient(160deg, rgba(22, 50, 79, 0.15), transparent 42%),
    linear-gradient(180deg, #d7e3c8 0%, #8fb56a 55%, #5e8a4a 100%);
}

.start-card .start-card-copy {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 252, 248, 0.9);
}

.start-card h3 {
  margin: 0 0 0.35rem;
  color: #2c3136;
  font-size: 1.35rem;
}

.start-card p {
  margin: 0 0 0.7rem;
  color: #3e4c5e;
}

.events-title .t-muted {
  display: block;
}

.events-kicker {
  margin: 0.8rem 0 0;
  color: #6d7580;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.events-layout {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.event-feature {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

.event-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.event-feature-copy,
.event-list article {
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  background: rgba(255, 252, 248, 0.94);
}

.event-feature-copy {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  max-width: 28rem;
}

.event-feature h3,
.event-list h3 {
  margin: 0.15rem 0 0.35rem;
  color: #2c3136;
}

.event-list {
  display: grid;
  gap: 0.75rem;
}

.event-list article {
  box-shadow: 0 10px 30px rgba(22, 50, 79, 0.06);
}

.event-list p,
.event-feature p {
  margin: 0 0 0.45rem;
}

@media (min-width: 64rem) {
  .start-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .events-layout {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
  }

  .event-feature {
    min-height: 100%;
  }
}

.retreat {
  margin-top: 1.4rem;
  padding: 1.4rem 1.1rem 0;
  border-radius: 1.4rem;
  background: #f7f4ee;
}

.retreat-main {
  display: grid;
  gap: 1.4rem;
}

.retreat-kicker {
  margin: 0 0 0.7rem;
  color: #6d7580;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.retreat-title {
  margin: 0;
  color: #1f3d34;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 560;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.retreat-title em {
  color: #c45c26;
  font-style: italic;
}

.retreat-name {
  margin: 1rem 0 0.35rem;
  color: #1f3d34;
  font-size: 1.15rem;
  font-weight: 700;
}

.retreat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}

.retreat-quote {
  margin: 0;
  color: #3e4c5e;
  font-style: italic;
}

.retreat-quote p,
.retreat-quote footer {
  margin: 0;
}

.retreat-facts {
  display: grid;
  gap: 1rem;
  margin: 1.4rem -1.1rem 0;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 0 0 1.4rem 1.4rem;
  background: #e7f0e4;
}

.retreat-facts div + div {
  padding-top: 0.8rem;
  border-top: 1px solid #d3e0ce;
}

.retreat-facts dt {
  margin: 0 0 0.35rem;
  color: #6d7580;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.retreat-facts strong,
.retreat-facts span {
  display: block;
}

.retreat-facts strong {
  color: #1f3d34;
}

.retreat-facts span {
  color: #4d5d70;
}

@media (min-width: 64rem) {
  .retreat {
    padding: 2rem 2rem 0;
  }

  .retreat-main {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: end;
  }

  .retreat-quote {
    text-align: right;
  }

  .retreat-facts {
    grid-template-columns: repeat(3, 1fr);
    margin-right: -2rem;
    margin-left: -2rem;
    padding: 1.3rem 2rem 1.4rem;
  }

  .retreat-facts div + div {
    padding-top: 0;
    padding-left: 1.2rem;
    border-top: 0;
    border-left: 1px solid #d3e0ce;
  }
}

@media (max-width: 47.99rem) {
  html {
    overflow-x: clip;
  }

  .hero-line {
    white-space: normal;
  }

  .hero-card h1 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .hero-actions .btn {
    flex-basis: 100%;
  }

  .start-card {
    min-height: 20rem;
  }

  .event-feature {
    min-height: 20rem;
  }

  .start-here h2,
  .events-title,
  .tradition-headline {
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
  }

  .retreat-title {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .retreat-kicker {
    letter-spacing: 0.04em;
    line-height: 1.45;
  }

  .class-controls {
    flex-wrap: wrap;
  }

  .class-controls button {
    flex: 1 1 8rem;
    min-width: 0;
  }

  .class-frame {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 680 / 640;
  }

  .rota-calendar {
    gap: 0.2rem;
  }

  .rota-cal-day {
    min-height: 2.75rem;
  }

  .pay-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt-code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .js .nav {
    max-height: min(70vh, 28rem);
    overflow: auto;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
