:root {
  --sidebar-width: 264px;
  --ink: #19312b;
  --ink-soft: #53625d;
  --forest: #173d35;
  --sage: #86a68f;
  --clay: #c86f50;
  --sun: #e2a84e;
  --link: #315b82;
  --cream: #f4efe3;
  --paper: #fbf8f0;
  --surface: #fff;
  --surface-soft: #f4efe3;
  --line: rgba(25, 49, 43, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

/* Private contact preferences and public social links. */
.contact-email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.contact-email-row .button{padding:9px 15px}.contact-opt-out{display:flex!important;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--cream)}.contact-opt-out input{width:auto!important;margin-top:3px}.contact-opt-out strong,.contact-opt-out small{display:block}.contact-opt-out small{margin-top:3px;color:var(--ink-soft);font-weight:500}.contact-preference-options,.contact-frequency{margin:20px 0;padding:0;border:0}.contact-preference-options legend,.contact-frequency legend{margin-bottom:10px;font-weight:800}.contact-preference-options>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;margin:0;padding:12px 3px;border-bottom:0}.contact-preference-options input,.contact-frequency input{width:auto!important;margin-top:3px}.contact-preference-options strong,.contact-preference-options small{display:block}.contact-preference-options small{margin-top:2px;color:var(--ink-soft);font-weight:500}.contact-preference-options em{color:#315b82;font-size:.62rem;font-style:normal;font-weight:800;text-transform:uppercase}.contact-frequency{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px}.contact-frequency legend{width:100%}.contact-frequency label{display:flex;align-items:center;gap:8px;margin:0}.contact-preference-options:has(input:disabled),.contact-frequency:has(input:disabled){opacity:.45}.profile-preview-socials{padding:28px clamp(20px,5vw,48px);border-top:1px solid var(--line)}.profile-preview-socials h3{margin:0 0 13px;font:400 1.8rem var(--serif)}.profile-preview-socials div{display:flex;flex-wrap:wrap;gap:9px}.profile-preview-socials a{padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--forest);font-weight:750}.profile-preview-socials a:hover{background:var(--cream)}@media(max-width:620px){.contact-email-row{grid-template-columns:1fr}.contact-email-row .button{width:100%}.contact-preference-options>label{grid-template-columns:auto minmax(0,1fr)}.contact-preference-options em{grid-column:2}}

.profile-section:not([open]) summary i,
.profile-section-placeholder summary i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
}
.profile-section:not([open]) summary i::before,
.profile-section-placeholder summary i::before {
  display: block;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  transform: none;
}

/* Shared edge-to-edge page heroes */
.immersive-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--forest);
  color: #fff;
  isolation: isolate;
}
.immersive-hero:not(.immersive-hero--carousel)::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 39, 32, 0.94) 0%,
    rgba(10, 39, 32, 0.7) 43%,
    rgba(10, 39, 32, 0.1) 78%
  );
}
.immersive-hero:not(.immersive-hero--carousel) > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.immersive-hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 78%);
  padding: clamp(2rem, 6vw, 4.5rem);
}
.immersive-hero-copy h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}
.immersive-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}
.immersive-hero--feature {
  min-height: clamp(320px, 46vw, 510px);
  display: flex;
  align-items: flex-end;
}
.immersive-hero--compact {
  min-height: clamp(210px, 25vw, 300px);
}

/* Moderated event contribution */
.submit-page {
  width: 100%;
  max-width: none;
  margin: 0 0 6rem;
}
.submit-page > :not(.submit-hero) {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}
.submit-hero {
  margin-bottom: 2.5rem;
}
.submit-hero > img {
  object-position: center center;
}
.submit-gate {
  margin: 3rem auto;
  max-width: 760px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  border: 1px solid var(--line, #d7d2c5);
  border-radius: 1.5rem;
  background: #fff;
}
.submit-method {
  margin: 3rem auto;
  max-width: 980px;
  scroll-margin-top: 2rem;
}
.submit-method > header {
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.submit-method h2,
.submit-form-heading h2 {
  margin: 0.1rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}
.submit-method > header p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}
.submit-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.submit-method-grid > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 390px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  color: var(--ink);
  background: #fbf8f0;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.submit-method-grid > button:nth-child(2) {
  background: #edf4ef;
}
.submit-method-grid > button:hover {
  transform: translateY(-3px);
  border-color: #86a68f;
  box-shadow: 0 18px 40px rgba(23, 61, 53, 0.1);
}
.submit-method-grid strong {
  margin: 0.6rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.submit-method-grid p {
  margin: 0 0 1.2rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
}
.submit-method-grid small {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}
.submit-method-grid em {
  margin-top: auto;
  padding-top: 1.5rem;
  color: #b85f43;
  font-style: normal;
  font-weight: 750;
}
.submit-method-kicker,
.submit-form-heading span {
  color: #b85f43;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.submit-form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.submit-form-heading > button {
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.event-submit-form {
  margin-top: 2.5rem;
}
.submit-intro {
  margin: 0 0 1.5rem;
  color: var(--muted, #59655f);
}
.event-submit-form fieldset {
  margin: 0 0 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line, #d7d2c5);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
}
.event-submit-form legend {
  padding: 0 0.7rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  color: var(--ink, #153b33);
}
.event-submit-form legend span {
  margin-right: 0.7rem;
  font: 700 0.72rem/1 var(--font-sans, sans-serif);
  letter-spacing: 0.13em;
  color: #c96548;
}
.submit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.submit-grid label,
.facilitator-entry label {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
  font-weight: 700;
}
.submit-grid input,
.submit-grid select,
.submit-grid textarea,
.facilitator-entry input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, #d7d2c5);
  border-radius: 0.7rem;
  background: #faf7ef;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
}
.submit-grid textarea {
  resize: vertical;
}
.submit-span-2 {
  grid-column: 1 / -1;
}
.submit-field-help {
  max-width: 760px;
  margin-top: 0;
  color: var(--muted, #59655f);
}
.facilitator-entry-list {
  display: grid;
  gap: 0.85rem;
}
.facilitator-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr) 2.75rem;
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
  border-radius: 1rem;
  background: #f6f2e8;
}
.facilitator-entry > button[aria-label] {
  width: 2.75rem;
  height: 3.25rem;
  border: 0;
  border-radius: 0.7rem;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.person-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% - 0.35rem);
  left: 1rem;
  width: min(430px, calc(100% - 2rem));
  padding: 0.5rem;
  border: 1px solid var(--line, #d7d2c5);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 48, 41, 0.16);
}
.person-suggestions button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.person-suggestions button:hover {
  background: #eef5f0;
}
.person-suggestions p {
  margin: 0.4rem 0.7rem;
  font-size: 0.875rem;
  color: var(--muted, #59655f);
}
.submit-add-person {
  margin-top: 1rem;
}
.submit-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 1rem;
  background: #edf4ef;
  font-weight: 650;
}
.submit-confirm input {
  margin-top: 0.2rem;
  transform: scale(1.2);
}
.submit-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
}
.submit-success {
  max-width: 700px;
  margin: 4rem auto;
  text-align: center;
}
.submit-success > span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #287d57;
  color: #fff;
  font-size: 2rem;
}

@media (max-width: 700px) {
  .submit-page > :not(.submit-hero) {
    width: calc(100% - 24px);
  }
  .submit-hero {
    min-height: 390px;
  }
  .submit-hero .immersive-hero-copy {
    width: 92%;
    padding: 1.5rem;
  }
  .submit-method-grid {
    grid-template-columns: 1fr;
  }
  .submit-method-grid > button {
    min-height: 350px;
  }
  .submit-form-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .submit-grid,
  .facilitator-entry {
    grid-template-columns: 1fr;
  }
  .submit-span-2 {
    grid-column: auto;
  }
  .facilitator-entry > button[aria-label] {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    height: 2.4rem;
  }
  .submit-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-table-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 12px;
}
.admin-table-tools label {
  min-width: 0;
  flex: 1;
}
.admin-table-tools input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
}
.admin-table-tools .button {
  padding: 12px 15px;
  white-space: nowrap;
}
.admin-table-scroll th {
  padding-right: 38px !important;
}
.admin-table-scroll th {
  position: sticky;
}
.admin-sort {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.admin-sort:hover {
  background: rgba(134, 166, 143, 0.2);
  color: var(--ink);
}
@media (max-width: 560px) {
  .admin-table-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-table-tools .button {
    width: 100%;
  }
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar-width);
  background: #173d35;
  color: var(--cream);
  transform: translateX(-105%);
  transition: transform 0.24s ease;
  box-shadow: 14px 0 45px rgba(23, 61, 53, 0.12);
}
.side-nav-header {
  height: 62px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.side-nav .brand-mark {
  width: 42px;
  height: 42px;
}
.nav-close {
  display: none;
  border: 0;
  color: var(--cream);
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}
.side-nav-content {
  height: calc(100vh - 62px);
  padding: 20px 15px 45px;
  overflow-y: auto;
}
.nav-label {
  margin: 22px 11px 8px;
  color: rgba(255, 255, 255, 0.43);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.56rem;
  font-weight: 600;
}
.nav-item,
.nav-child {
  display: flex;
  border-radius: 7px;
  transition: background 0.15s ease;
}
.nav-item {
  padding: 12px 11px;
}
.nav-item span {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.nav-child {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}
.nav-item:hover,
.nav-child:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}
.nav-tree {
  display: block;
  margin-top: 20px;
}
.nav-branch {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-branch-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
}
.nav-branch-heading > a {
  padding: 14px 11px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 1.02rem;
}
.nav-branch-heading > a > small {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  place-items: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--sans);
  font-size: 0.52rem;
}
.nav-branch-heading > button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.nav-branch-heading > button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.nav-branch.open > .nav-branch-heading > button {
  transform: rotate(180deg);
}
.nav-branch-children {
  display: none;
  padding: 0 0 8px 10px;
}
.nav-branch.open > .nav-branch-children {
  display: block;
}
.nav-branch-nested {
  border-top: 0;
}
.nav-branch-nested > .nav-branch-heading > a {
  padding-top: 9px;
  padding-bottom: 9px;
  font-family: var(--sans);
  font-size: 0.78rem;
}
.nav-branch-nested > .nav-branch-children {
  margin-left: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-child.active {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}
.nav-event-links > a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 1px 4px;
  padding: 7px 10px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
}
.nav-event-links > a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}
.nav-event-links > a small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.54rem;
  line-height: 1.3;
}
.nav-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4px;
  width: 8px;
  cursor: ew-resize;
  touch-action: none;
}
.nav-tree-simple {
  margin-top: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-directory-item {
  display: block;
  padding: 14px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 1.02rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-directory-item:hover,
.nav-directory-item.active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.nav-category-links {
  max-height: min(53vh, 520px);
  padding: 4px 5px 10px 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.nav-category-link {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 1px 3px;
  padding: 7px 8px;
}
.nav-category-link i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--category-colour);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.nav-category-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-category-link.active {
  box-shadow: inset 3px 0 0 var(--category-colour);
}
.nav-resizer::after {
  content: "";
  position: absolute;
  top: 42%;
  bottom: 42%;
  left: 3px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.nav-resizer:hover::after,
.is-resizing-nav .nav-resizer::after {
  opacity: 1;
}
.nav-scrim {
  display: none;
}
.site-header,
.global-primary-nav,
.admin-global-tabs,
main,
footer {
  margin-left: 0;
  transition: margin-left 0.24s ease;
}
body.nav-open .side-nav {
  transform: translateX(0);
}
body.nav-open .site-header,
body.nav-open .global-primary-nav,
body.nav-open .admin-global-tabs,
body.nav-open main,
body.nav-open footer {
  margin-left: var(--sidebar-width);
}
main {
  transition-property: margin-left, opacity;
  transition-duration: 0.24s, 0.16s;
  transition-timing-function: ease, ease;
}
body.primary-navigation-pending main {
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}
.nav-toggle {
  width: 40px;
  height: 40px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 1px;
  background: var(--ink);
}
.site-header {
  gap: 16px;
}
.header-brand-group {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-right: auto;
}
.header-brand-group > .brand {
  flex: 0 0 auto;
}
.header-region-switcher {
  position: relative;
  min-width: 0;
}
.header-region-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 250px;
  padding: 8px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.header-region-toggle:hover,
.header-region-toggle[aria-expanded="true"] {
  background: rgba(134, 166, 143, 0.14);
}
.header-region-toggle strong {
  overflow: hidden;
  color: var(--clay);
  font-size: 0.88rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-region-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.header-region-separator {
  color: var(--ink-soft);
  font-size: 1.15rem;
}
.header-region-count {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
}
.header-region-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 13px);
  left: 0;
  width: min(360px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20, 40, 34, 0.2);
}
.header-region-menu[hidden] {
  display: none !important;
}
.header-region-menu-heading {
  padding: 10px 10px 13px;
  border-bottom: 1px solid var(--line);
}
.header-region-menu-heading strong,
.header-region-menu-heading small {
  display: block;
}
.header-region-menu-heading strong {
  font-size: 0.9rem;
}
.header-region-menu-heading small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.4;
}
.header-region-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 4px 5px;
  border-bottom: 1px solid rgba(23, 57, 48, 0.08);
}
.header-region-row:last-child {
  border-bottom: 0;
}
.header-region-primary,
.header-region-include {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  cursor: pointer;
}
.header-region-primary {
  font-size: 0.82rem;
  font-weight: 600;
}
.header-region-include {
  color: var(--ink-soft);
  font-size: 0.68rem;
}
.header-region-primary input,
.header-region-include input {
  width: 17px;
  height: 17px;
  accent-color: var(--forest);
}
.header-region-include:has(input:disabled) {
  opacity: 0.58;
  cursor: default;
}
.header-region-include-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.header-region-include-tools > strong {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-region-include-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  cursor: pointer;
}
.header-region-include-tools input {
  width: 17px;
  height: 17px;
  accent-color: var(--forest);
}
.header-region-menu-heading > a {
  display: inline-block;
  margin-top: 9px;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 700;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--sans);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
.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;
}
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.65;
}
.ambient-one {
  width: 32rem;
  height: 32rem;
  right: -14rem;
  top: 8rem;
  background: radial-gradient(
    circle,
    rgba(226, 168, 78, 0.22),
    transparent 68%
  );
}
.ambient-two {
  width: 25rem;
  height: 25rem;
  left: -14rem;
  top: 34rem;
  background: radial-gradient(
    circle,
    rgba(134, 166, 143, 0.2),
    transparent 70%
  );
}

/* Category directory and event index */
.category-directory-toolbar {
  position: relative;
  z-index: 12;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 4px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.category-directory-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-sections-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.category-sections-toggle:hover {
  background: #fff;
}
.category-sections-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-sections-toggle .expand-icon,
.category-sections-toggle[aria-pressed="true"] .collapse-icon {
  display: none;
}
.category-sections-toggle[aria-pressed="true"] .expand-icon {
  display: block;
}
.category-directory-search {
  width: min(420px, calc(100% - 104px));
}
.category-directory-search[hidden] {
  display: none;
}
.category-directory-search input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
}
.category-directory-page,
.category-detail-page,
.events-index-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 96px;
}
.category-directory-intro,
.events-index-page > header {
  max-width: 760px;
  margin-bottom: 38px;
}
.category-directory-intro h1,
.category-detail-hero h1,
.events-index-page h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 0.92;
}
.category-directory-intro p,
.events-index-page > header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.category-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--category-colour) 10%, #fff),
    #fff 62%
  );
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--category-colour);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(25, 49, 43, 0.1);
}
.category-card > span,
.category-detail-hero > span {
  color: var(--category-colour);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.category-card h2 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.category-card p {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}
.category-card strong {
  position: absolute;
  bottom: 24px;
  color: var(--category-colour);
  font-size: 0.78rem;
}
.category-detail-page {
  max-width: 980px;
}
.category-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.category-back:hover {
  color: var(--category-colour);
}
.category-detail-hero {
  position: relative;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--category-colour) 13%, #fff),
    #fff 70%
  );
  overflow: hidden;
}
.category-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--category-colour);
}
.category-detail-hero h1 {
  max-width: 760px;
  margin-top: 20px;
}
.category-detail-hero p {
  max-width: 720px;
  margin: 20px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}
.category-view-events {
  border-color: var(--category-colour) !important;
  background: var(--category-colour) !important;
  color: #fff !important;
}
.category-related {
  padding: 42px 4px;
}
.category-related h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.category-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.category-related a {
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--category-colour) 40%, transparent);
  border-radius: 99px;
  background: color-mix(in srgb, var(--category-colour) 7%, #fff);
  font-size: 0.82rem;
}
.events-index-page {
  max-width: 980px;
}
.events-index-page ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.events-index-page li {
  border-bottom: 1px solid var(--line);
}
.events-index-page li > a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 8px;
  transition: background 0.15s ease;
}
.events-index-page li > a:hover {
  background: var(--paper);
}
.events-index-page time {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
}
.events-index-page li span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.events-index-page li strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}
.events-index-page li small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.events-index-page li b {
  font-weight: 400;
}
.category-hierarchy {
  display: grid;
  gap: 14px;
  max-width: 940px;
}
.category-family {
  border: 1px solid color-mix(in srgb, var(--category-colour) 30%, var(--line));
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.category-family > summary {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 21px 24px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--category-colour) 10%, #fff),
    #fff 70%
  );
}
.category-family > summary::-webkit-details-marker {
  display: none;
}
.category-family > summary i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--category-colour);
}
.category-family > summary span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.category-family > summary strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}
.category-family > summary small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.category-family > summary b {
  color: var(--category-colour);
  font-size: 1.1rem;
  transition: transform 0.18s ease;
}
.category-family[open] > summary b {
  transform: rotate(180deg);
}
.category-family-children {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.category-family-children a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 105px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.category-family-children a:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.category-family-children a:hover {
  background: color-mix(in srgb, var(--category-colour) 7%, #fff);
}
.category-family-children a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.category-family-children a strong {
  color: var(--category-colour);
  font-size: 0.98rem;
}
.category-family-children a small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.category-family-children a > b {
  color: var(--category-colour);
  font-weight: 400;
}
@media (max-width: 850px) {
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .category-directory-toolbar {
    min-height: 48px;
    padding: 4px 15px;
  }
  .category-sections-toggle,
  .category-directory-toolbar .calendar-search-toggle {
    width: 36px;
    height: 36px;
  }
  .category-directory-search {
    width: calc(100% - 88px);
  }
  .category-directory-page,
  .category-detail-page,
  .events-index-page {
    width: calc(100% - 28px);
    padding-top: 34px;
  }
  .category-card-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    min-height: 220px;
  }
  .category-family-children {
    grid-template-columns: 1fr;
  }
  .category-family-children a:nth-child(odd) {
    border-right: 0;
  }
  .category-family > summary,
  .category-family-children a {
    padding-left: 18px;
    padding-right: 18px;
  }
  .category-detail-hero {
    padding: 34px 24px;
  }
  .events-index-page li > a {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 17px 4px;
  }
}

/* Couples dance category photography */
.category-detail-image {
  width: calc(100% + 2 * clamp(34px, 6vw, 72px));
  aspect-ratio: 2/1;
  display: block;
  margin: calc(-1 * clamp(34px, 6vw, 72px)) calc(-1 * clamp(34px, 6vw, 72px))
    clamp(30px, 5vw, 52px);
  object-fit: cover;
}
.category-detail-content {
  position: relative;
}
.category-detail-hero:has(.category-detail-image)::before {
  z-index: 2;
}
.category-family-children a:has(> img) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.category-family-children a > img {
  display: none;
  width: 118px;
  aspect-ratio: 2/1;
  border-radius: 9px;
  object-fit: cover;
}
@media (min-width: 1100px) {
  .category-family-children a:has(> img) {
    grid-template-columns: 118px minmax(0, 1fr) auto;
  }
  .category-family-children a > img {
    display: block;
  }
}
@media (max-width: 560px) {
  .category-detail-image {
    width: calc(100% + 48px);
    margin: -34px -24px 28px;
  }
}

.site-header {
  height: 62px;
  min-height: 62px;
  padding: 0 clamp(14px, 2.2vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
  background: var(--cream);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
}
.brand-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand-context > span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.brand-context em {
  color: var(--clay);
  font-weight: 400;
}
nav {
  display: flex;
  gap: clamp(20px, 3vw, 46px);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
nav a:hover {
  color: var(--ink);
}
.header-cta {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 0.82rem;
  transition: 0.2s ease;
}
.header-cta:hover {
  background: var(--ink);
  color: var(--cream);
}
@media (max-width: 1040px) {
  .brand-context {
    display: none;
  }
}
@media (max-width: 620px) {
  .site-header {
    gap: 8px;
  }
  .header-brand-group {
    gap: 1px;
  }
  .header-region-toggle {
    max-width: 155px;
    padding-inline: 6px;
  }
  .header-region-toggle strong {
    font-size: 0.78rem;
  }
  .header-region-menu {
    position: fixed;
    top: 70px;
    right: 12px;
    left: auto;
    width: min(320px, calc(100vw - 48px));
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }
  .header-region-separator {
    display: none;
  }
}
@media (max-width: 430px) {
  .brand-title {
    display: none;
  }
  .header-region-toggle {
    max-width: 180px;
  }
}

.hero {
  min-height: 720px;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 124px) clamp(24px, 7vw, 104px) 92px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  position: relative;
}
.eyebrow {
  display: none !important;
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.1rem, 7vw, 7.2rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
}
.hero h1 em {
  color: var(--clay);
  font-weight: 400;
}
.hero-intro {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.7;
  margin: 32px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 12px 30px rgba(23, 61, 53, 0.18);
}
.text-link {
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.trust-row {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  flex-wrap: wrap;
}
.trust-row i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(134, 166, 143, 0.25);
  color: var(--forest);
  font-style: normal;
  margin-right: 6px;
}

.feature-card {
  max-width: 455px;
  justify-self: end;
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(25, 49, 43, 0.1);
  box-shadow: 0 25px 70px rgba(56, 55, 39, 0.13);
  transform: rotate(1.5deg);
}
.feature-art {
  height: 390px;
  position: relative;
  overflow: hidden;
  background: #e6a455;
  display: grid;
  place-items: center;
  color: var(--forest);
}
.feature-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(
    circle at 50% 80%,
    transparent 0 18px,
    rgba(25, 49, 43, 0.12) 19px 20px
  );
  opacity: 0.65;
}
.feature-art::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.88);
  box-shadow:
    0 0 0 24px rgba(244, 239, 227, 0.17),
    0 0 0 50px rgba(244, 239, 227, 0.1);
}
.feature-art p {
  position: absolute;
  z-index: 2;
  bottom: 23px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.61rem;
}
.figure {
  z-index: 2;
  font-family: var(--serif);
  font-size: 8rem;
  transform: rotate(-48deg);
  color: var(--clay);
}
.sun {
  position: absolute;
  border-radius: 50%;
  background: #f6c45e;
  z-index: 3;
}
.sun-one {
  width: 34px;
  height: 34px;
  top: 47px;
  right: 52px;
}
.sun-two {
  width: 16px;
  height: 16px;
  bottom: 71px;
  left: 48px;
  background: var(--clay);
}
.orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--forest);
  border-radius: 50%;
}
.orbit-one {
  width: 76px;
  height: 76px;
  left: 32px;
  top: 39px;
}
.orbit-two {
  width: 52px;
  height: 52px;
  right: 36px;
  bottom: 46px;
}
.feature-info {
  padding: 25px 27px 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 99px;
  background: #e9b657;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.55rem;
  font-weight: 600;
}
.feature-date {
  margin: 12px 0 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.feature-info h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.04;
  margin: 0;
}
.feature-info > a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.marquee {
  overflow: hidden;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.76);
  padding: 19px 0;
  white-space: nowrap;
  transform: rotate(-1deg) scale(1.02);
}
.marquee div {
  font-family: var(--serif);
  font-size: 1.02rem;
  word-spacing: 11px;
  letter-spacing: 0.06em;
  animation: drift 30s linear infinite;
}
.marquee b {
  color: #eab657;
  font-size: 0.65rem;
}
@keyframes drift {
  to {
    transform: translateX(-35%);
  }
}

.events-section {
  padding: 120px clamp(24px, 7vw, 104px) 130px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
}
.section-heading h2,
.subscribe-section h2 {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.5vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}
.section-heading > p {
  max-width: 380px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.filter-panel {
  background: rgba(251, 248, 240, 0.82);
  border: 1px solid var(--line);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) auto minmax(170px, 0.5fr);
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 35px rgba(55, 55, 38, 0.06);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}
.search-box span {
  font-size: 1.5rem;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 13px 0;
  background: transparent;
  color: var(--ink);
}
.filter-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-chip {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.72rem;
}
.filter-chip.active {
  color: white;
  background: var(--forest);
}
select {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 32px 12px 12px;
  outline: 0;
}
.result-bar {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 16px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}
.result-bar button {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.event-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(42, 55, 47, 0.09);
}
.date-tile {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(134, 166, 143, 0.08);
}
.date-tile .month {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.61rem;
  font-weight: 600;
  color: var(--clay);
}
.date-tile strong {
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 400;
  margin: 7px 0 3px;
}
.date-tile .weekday {
  font-size: 0.67rem;
  color: var(--ink-soft);
}
.event-content {
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.57rem;
  font-weight: 600;
  color: var(--clay);
}
.confidence {
  color: var(--sage);
}
.event-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.06;
  margin: 20px 0 13px;
  font-weight: 500;
}
.event-place,
.event-time {
  color: var(--ink-soft);
  font-size: 0.75rem;
  margin: 3px 0;
}
.event-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
}
.event-footer .area {
  padding: 6px 9px;
  border-radius: 99px;
  background: rgba(200, 111, 80, 0.1);
  color: var(--clay);
}
.event-footer a {
  font-weight: 600;
}
.empty-state {
  padding: 60px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}
.known-series {
  margin-top: 28px;
}
.known-series .result-bar {
  margin-bottom: 10px;
}
.known-series-grid {
  display: grid;
  gap: 8px;
}
.known-series-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
  border: 1px dashed #c9b68f;
  border-radius: 13px;
  background: #fffaf0;
  cursor: pointer;
}
.known-series-card:hover {
  border-style: solid;
  box-shadow: 0 10px 28px rgba(42, 55, 47, 0.07);
}
.known-series-state {
  padding: 6px 9px;
  border-radius: 99px;
  background: #f1dfb8;
  color: #6d5128;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.known-series-card strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}
.known-series-card p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
}
.known-series-arrow {
  font-size: 1.1rem;
  color: var(--clay);
}

.subscribe-section {
  margin: 0 clamp(18px, 3vw, 45px);
  padding: clamp(65px, 8vw, 110px);
  color: var(--cream);
  background: var(--forest);
  display: grid;
  grid-template-columns: 90px 1fr 0.75fr;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.subscribe-section::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -170px;
  top: -210px;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.02);
}
.subscribe-symbol {
  font-size: 4rem;
  color: var(--sun);
}
.eyebrow.light {
  color: #d8cda9;
}
.subscribe-section h2 {
  color: white;
}
.subscribe-section > div > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}
.subscribe-actions {
  position: relative;
  z-index: 2;
}
.button-light {
  background: var(--cream);
  color: var(--forest);
  width: 100%;
}
.subscribe-actions p {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.69rem;
  text-align: center;
}

.about-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 130px clamp(24px, 5vw, 70px);
}
.about-section blockquote {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 40px 0 55px;
  max-width: 900px;
}
.about-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-left: 24%;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.9rem;
}
footer {
  padding: 22px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}
footer .brand {
  color: var(--ink);
}
footer p {
  margin: 0;
}

@media (max-width: 960px) {
  nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .feature-card {
    justify-self: center;
  }
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .filter-group {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
  }
  .subscribe-section {
    grid-template-columns: 1fr;
  }
  .subscribe-symbol {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 62px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .side-nav-header {
    height: 62px;
  }
  .side-nav-content {
    height: calc(100vh - 62px);
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding-top: 72px;
  }
  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 5rem);
  }
  .feature-art {
    height: 325px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 78px 1fr;
  }
  .event-content {
    padding: 22px 18px 18px;
  }
  .date-tile strong {
    font-size: 2.8rem;
  }
  .subscribe-section {
    margin: 0;
  }
  .about-copy {
    grid-template-columns: 1fr;
    margin-left: 0;
    gap: 14px;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 9px;
    padding-block: 16px;
  }
}

/* Google Calendar-inspired weekly rhythm */
.week-grid {
  display: block;
  min-height: 0;
  overflow-x: auto;
}
.calendar-canvas {
  display: grid;
  grid-template-columns: 76px repeat(7, minmax(130px, 1fr));
  min-width: 986px;
}
.calendar-corner {
  display: flex;
  align-items: end;
  justify-content: end;
  padding: 0 10px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.55rem;
}
.calendar-canvas .week-date {
  border-bottom: 1px solid var(--line);
}
.week-header-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  margin-left: 76px;
  min-width: 910px;
}
.week-date {
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-left: 1px solid var(--line);
  background: rgba(134, 166, 143, 0.045);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.week-date:hover,
.week-date:focus-visible {
  background: color-mix(in srgb, var(--sage) 16%, #fff);
  box-shadow: inset 0 -3px 0 var(--sage);
  outline: none;
}
.week-date:last-child {
  border-right: 1px solid var(--line);
}
.week-date span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.56rem;
  color: var(--ink-soft);
}
.week-date strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}
.week-date.is-today span {
  color: var(--clay);
  font-weight: 600;
}
.week-date.is-today strong {
  color: white;
  background: var(--clay);
}
.week-date.is-today {
  background: color-mix(in srgb, var(--clay) 18%, #fff);
}
.all-day-label {
  padding: 17px 10px 0 4px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.54rem;
}
.all-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-flow: row dense;
  grid-auto-rows: 42px;
  gap: 4px 0;
  padding: 7px 0;
  min-width: 0;
  min-height: 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(14.2857% - 1px),
    var(--line) calc(14.2857% - 1px),
    var(--line) 14.2857%
  );
}
.weekly-canvas[style*="--selected-day-start"] .all-day-grid {
  background-image: linear-gradient(
      to right,
      transparent 0,
      transparent var(--selected-day-start),
      color-mix(in srgb, var(--clay) 13%, transparent) var(--selected-day-start),
      color-mix(in srgb, var(--clay) 13%, transparent) var(--selected-day-end),
      transparent var(--selected-day-end)
    ),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(14.2857% - 1px),
      var(--line) calc(14.2857% - 1px),
      var(--line) 14.2857%
    );
}
.all-day-event {
  align-self: stretch;
  min-width: 0;
  margin: 0 4px;
  padding: 8px 12px 9px;
  color: #fff;
  background: var(--forest);
  border-left: 3px solid var(--sage);
  border-radius: 5px;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(23, 61, 53, 0.12);
}
.all-day-event[data-track="Festivals"] {
  border-left-color: var(--sun);
  background: #263f38;
}
.all-day-event[data-track="Ecstatic Dance"] {
  background: var(--clay);
}
.all-day-event {
  --event-colour: #4f8065;
  border-left-color: color-mix(in srgb, var(--event-colour) 72%, #fff);
  background: color-mix(in srgb, var(--event-colour) 72%, #173d35);
}
.all-day-event[data-category-family="dance"] {
  --event-colour: #3978b8;
}
.all-day-event[data-category-family="couples"] {
  --event-colour: #244a78;
}
.all-day-event[data-category-family="connection"] {
  --event-colour: #4f8065;
}
.all-day-event[data-category-family="wellness"] {
  --event-colour: #278b82;
}
.all-day-event[data-category-family="intimacy"] {
  --event-colour: #b7474d;
}
.all-day-event[data-category-family="creative"] {
  --event-colour: #cf6c36;
}
.all-day-event[data-category-family="festival"] {
  --event-colour: #bd7c28;
}
.all-day-event strong {
  display: inline;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
}
.all-day-event span {
  display: block;
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.52rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.all-day-event small {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.52rem;
}
.all-day-event.continues-next {
  margin-right: 0;
  border-radius: 5px 0 0 5px;
}
.all-day-event.continues-from-previous {
  margin-left: 0;
  border-left-color: transparent;
  border-radius: 0 5px 5px 0;
}
.all-day-event.continues-from-previous::before {
  content: "Continued · ";
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.52rem;
}
.all-day-empty {
  grid-column: 1 / -1;
  place-self: center;
  color: rgba(83, 98, 93, 0.4);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
}
.time-label {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: end;
  padding: 14px 11px 0 5px;
  color: var(--ink-soft);
  border-bottom: 1px dotted rgba(25, 49, 43, 0.28);
}
.time-label strong {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.54rem;
}
.time-label span {
  margin-top: 3px;
  opacity: 0.6;
  font-size: 0.52rem;
}
.time-cell {
  min-width: 0;
  min-height: 116px;
  padding: 7px;
  border-left: 1px solid var(--line);
  border-bottom: 1px dotted rgba(25, 49, 43, 0.28);
}
.time-cell.is-today {
  background: color-mix(in srgb, var(--clay) 13%, #fff);
}
.time-cell:last-child {
  border-right: 1px solid var(--line);
}
.time-cell .week-event {
  margin-bottom: 5px;
}
.week-event {
  border-radius: 4px;
}
.calendar-legend {
  padding-left: 94px;
}

@media (max-width: 1080px) {
  .week-grid {
    display: block;
  }
  .week-header-row {
    grid-template-columns: repeat(7, 130px);
  }
  .week-day {
    min-height: 0;
  }
}

@media (max-width: 899px) {
  .side-nav {
    width: min(84vw, 288px);
    transform: translateX(-105%);
  }
  body.nav-open .side-nav {
    transform: translateX(0);
  }
  .site-header,
  .global-primary-nav,
  .admin-global-tabs,
  main,
  footer,
  body.nav-open .site-header,
  body.nav-open .global-primary-nav,
  body.nav-open .admin-global-tabs,
  body.nav-open main,
  body.nav-open footer {
    margin-left: 0;
  }
  .nav-close {
    display: block;
  }
  .nav-resizer {
    display: none;
  }
  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(17, 31, 27, 0.42);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 680px) {
  .week-header-row {
    margin-left: 64px;
    grid-template-columns: repeat(7, 124px);
    min-width: 868px;
  }
  .calendar-canvas {
    grid-template-columns: 64px repeat(7, 124px);
    min-width: 932px;
  }
  .all-day-grid {
    grid-template-columns: repeat(7, 124px);
  }
  .calendar-legend {
    padding-left: 18px;
  }
}

/* Keep the generated daily/weekly/monthly canvases stacked below notices. */
#week-grid.week-grid {
  display: block;
  min-height: 0;
  overflow-x: auto;
}
#week-grid[data-view="daily"] {
  overflow-x: visible;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee div {
    animation: none;
  }
  * {
    transition: none !important;
  }
}

/* Astro content routes */
.nav-child.active {
  color: var(--clay);
  font-weight: 600;
}
.listing-notice {
  margin: 20px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--sun);
  background: rgba(226, 168, 78, 0.1);
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.listing-notice strong {
  color: var(--ink);
}
.about-strip {
  max-width: 1050px;
  margin: 0 auto;
  padding: 110px clamp(24px, 7vw, 100px);
}
.about-strip h2 {
  max-width: 820px;
  margin: 22px 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.about-strip > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.directory-page,
.text-page {
  min-height: calc(100vh - 150px);
}
.directory-hero {
  min-height: 440px;
  padding: clamp(80px, 10vw, 150px) clamp(28px, 8vw, 120px) 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 70px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.directory-hero h1,
.text-page-hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.directory-intro {
  max-width: 480px;
}
.directory-intro p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
.directory-intro .button {
  margin-top: 24px;
  width: fit-content;
}
.directory-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 95px clamp(28px, 6vw, 80px) 130px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}
.directory-body article h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}
.directory-body article p {
  color: var(--ink-soft);
  line-height: 1.8;
}
.directory-art {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50% 50% 46% 54%;
  background: var(--clay);
  color: var(--paper);
}
.directory-art::before,
.directory-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
.directory-art::before {
  width: 70%;
  height: 70%;
}
.directory-art::after {
  width: 42%;
  height: 42%;
}
.directory-art span {
  z-index: 2;
  font-size: 5rem;
}
.directory-art i,
.directory-art b {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sun);
}
.directory-art i {
  top: 18%;
  right: 22%;
}
.directory-art b {
  bottom: 22%;
  left: 19%;
  width: 13px;
  height: 13px;
}
.accent-sage .directory-art {
  background: color-mix(in srgb, var(--sage) 34%, #fff);
}
.accent-sun .directory-art {
  background: var(--sun);
  color: var(--forest);
}
.accent-violet .directory-art {
  background: #5965b8;
}
.source-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}
.text-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) clamp(28px, 7vw, 90px) 130px;
}
.text-page-hero {
  max-width: 920px;
}
.text-page-hero.compact {
  max-width: 800px;
}
.text-page-hero h1 {
  font-size: clamp(3.8rem, 8vw, 7.8rem);
}
.text-page-hero > p:last-child {
  max-width: 680px;
  margin-top: 38px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}
.principles-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.principles-grid article {
  padding: 38px;
  border-right: 1px solid var(--line);
}
.principles-grid article:last-child {
  border-right: 0;
}
.principles-grid span {
  color: var(--clay);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}
.principles-grid h2,
.submission-card h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}
.principles-grid p,
.submission-card {
  color: var(--ink-soft);
  line-height: 1.7;
}
.submission-card {
  max-width: 760px;
  margin-top: 70px;
  padding: 45px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.submission-card li {
  margin: 10px 0;
}
@media (max-width: 780px) {
  .directory-hero,
  .directory-body {
    grid-template-columns: 1fr;
  }
  .directory-hero {
    min-height: 0;
    gap: 35px;
  }
  .directory-art {
    max-width: 380px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .principles-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Calendar controls and alternate views */
.week-grid {
  display: block;
  min-height: 0;
  overflow-x: auto;
}
.filter-panel-labelled {
  position: relative;
  grid-template-columns: 1fr;
  padding: 14px 18px;
  gap: 8px;
}
.filter-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-row > strong {
  flex: 0 0 48px;
  color: var(--ink);
  font-size: 0.72rem;
}
.filter-row .filter-group {
  flex-wrap: nowrap;
  overflow-x: auto;
}
.info-tip {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--serif);
  cursor: help;
}
.info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 10px);
  width: 220px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--forest);
  color: white;
  font-family: var(--sans);
  font-size: 0.65rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: 0.18s ease;
}
.info-tip:hover::after,
.info-tip:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.type-filter {
  position: relative;
  flex: 1;
}
.type-filter summary {
  list-style: none;
  padding: 10px 38px 10px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.75rem;
  cursor: pointer;
}
.type-filter summary::-webkit-details-marker {
  display: none;
}
.type-filter summary::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 1rem;
}
.type-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  right: 0;
  width: min(430px, 86vw);
  max-height: 440px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 20px 55px rgba(25, 49, 43, 0.16);
}
.type-group {
  margin: 0;
  padding: 0 0 15px;
  border: 0;
}
.type-group + .type-group {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.type-group legend {
  width: 100%;
  padding: 0 0 8px;
}
.type-group label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.type-group legend span {
  display: flex;
  flex-direction: column;
}
.type-group legend strong {
  font-size: 0.78rem;
}
.type-group legend small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 400;
}
.type-subgroup {
  margin: 5px 0 2px 25px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
}
.type-option {
  margin-left: 25px;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.type-option-nested {
  margin-left: 50px;
}
.type-option input,
.type-group input {
  accent-color: var(--forest);
}
.calendar-shell {
  background: #fff;
}
.calendar-heading-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.calendar-heading-row .eyebrow {
  margin: 0;
}
.view-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
  background: var(--cream);
}
.view-tabs button {
  min-width: auto;
  height: auto;
  padding: 6px 11px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font-size: 0.65rem;
}
.view-tabs button.active {
  background: var(--forest);
  color: white;
}
.week-date.is-weekend,
.time-cell.is-weekend,
.daily-canvas.is-weekend .time-cell,
.month-weekday.is-weekend,
.month-day.is-weekend {
  background: rgba(89, 101, 184, 0.065);
}
.all-day-grid {
  grid-template-columns: repeat(var(--calendar-columns, 7), minmax(0, 1fr));
}
.week-grid[data-view="daily"] {
  overflow-x: visible;
}
.daily-canvas {
  grid-template-columns: 76px minmax(0, 1fr);
  min-width: 0;
}
.daily-canvas .all-day-grid {
  grid-template-columns: 1fr;
}
.daily-canvas .week-event {
  max-width: 620px;
}
.week-grid[data-view="monthly"] {
  overflow-x: auto;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(125px, 1fr));
  min-width: 875px;
  background: white;
}
.month-weekday {
  padding: 13px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.month-day {
  min-height: 138px;
  padding: 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.month-day:nth-child(7n) {
  border-right: 0;
}
.month-day > button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  cursor: pointer;
}
.month-day.is-today > button {
  background: var(--clay);
  color: white;
}
.month-day.is-outside {
  color: rgba(83, 98, 93, 0.4);
  background: rgba(25, 49, 43, 0.025);
}
.month-day.is-outside > button {
  color: inherit;
}
.month-event {
  display: block;
  margin-top: 5px;
  padding: 5px 7px;
  border-left: 3px solid var(--clay);
  border-radius: 3px;
  background: rgba(200, 111, 80, 0.1);
  font-size: 0.61rem;
  overflow: hidden;
}
.month-event strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.month-event[data-track="Festivals"] {
  border-left-color: #5965b8;
  background: rgba(89, 101, 184, 0.1);
}
.month-more {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.58rem;
}
.calendar-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff8e8;
}
.calendar-empty div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calendar-empty strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
}
.calendar-empty span {
  color: var(--ink-soft);
  font-size: 0.67rem;
  line-height: 1.5;
}
.calendar-empty > a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 0.66rem;
  cursor: pointer;
}
.calendar-empty > a:hover {
  background: var(--forest);
  color: white;
}
@media (max-width: 900px) {
  .filter-panel-labelled {
    grid-template-columns: 1fr;
  }
  .filter-row {
    align-items: flex-start;
  }
  .where-row {
    overflow: hidden;
  }
  .filter-row .filter-group {
    padding: 0;
    border: 0;
  }
  .calendar-toolbar {
    align-items: flex-start;
    gap: 18px;
  }
  .calendar-heading-row {
    gap: 10px;
  }
}
@media (max-width: 620px) {
  .calendar-empty {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Contact */
.contact-page {
  min-height: 100vh;
}
.contact-hero {
  padding: clamp(85px, 10vw, 150px) clamp(28px, 8vw, 120px) 100px;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.contact-portrait {
  margin: 0;
  transform: rotate(-2deg);
}
.contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  image-rendering: auto;
  border: 12px solid white;
  box-shadow: 0 28px 70px rgba(25, 49, 43, 0.18);
}
.contact-portrait figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  line-height: 1.5;
}
.contact-portrait figcaption a {
  text-decoration: underline;
}
.contact-copy h1 {
  margin: 20px 0 30px;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}
.contact-copy h1 em {
  color: var(--clay);
  font-weight: 400;
}
.contact-lede {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.75;
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}
.contact-actions .button {
  width: fit-content;
}
.contact-story {
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px clamp(28px, 7vw, 90px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 110px);
}
.contact-story h2 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.contact-columns {
  columns: 2;
  column-gap: 45px;
}
.contact-columns p {
  break-inside: avoid;
  margin: 0 0 25px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.contact-columns a {
  text-decoration: underline;
  color: var(--ink);
}
.contact-note {
  margin: 0 clamp(20px, 4vw, 60px) 70px;
  padding: 55px clamp(30px, 6vw, 80px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 35px;
  align-items: center;
  background: var(--forest);
  color: white;
}
.contact-note > span {
  color: var(--sun);
  font-size: 3rem;
}
.contact-note h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}
.contact-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.contact-note .button {
  background: var(--cream);
  color: var(--forest);
}
@media (max-width: 780px) {
  .contact-hero,
  .contact-story {
    grid-template-columns: 1fr;
  }
  .contact-portrait {
    max-width: 300px;
  }
  .contact-columns {
    columns: 1;
  }
  .contact-note {
    grid-template-columns: 1fr;
  }
  .contact-note > span {
    display: none;
  }
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Festival guide */
.festival-page {
  min-height: 100vh;
}
.festival-hero {
  padding: clamp(85px, 10vw, 150px) clamp(28px, 8vw, 120px) 90px;
  border-bottom: 1px solid var(--line);
}
.festival-hero > div {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  gap: 60px;
  align-items: end;
}
.festival-hero h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.78;
}
.festival-hero > div p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}
.festival-hero > div strong {
  color: var(--ink);
}
.festival-hero > .button {
  width: fit-content;
  margin-top: 42px;
}
.festival-explainer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px clamp(28px, 7vw, 90px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.festival-explainer h2,
.festival-gallery h2,
.festival-list h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.festival-explainer > div {
  columns: 2;
  column-gap: 38px;
}
.festival-explainer p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.festival-gallery {
  padding: 95px clamp(28px, 6vw, 80px) 110px;
  background: var(--forest);
  color: white;
}
.festival-gallery-heading {
  max-width: 1100px;
  margin: 0 auto 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 60px;
}
.festival-gallery-heading .eyebrow {
  grid-column: 1/-1;
}
.festival-gallery-heading > p:last-child {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}
.festival-cards {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.festival-card {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  transition: transform 0.2s ease;
}
.festival-card:hover {
  transform: translateY(-6px);
}
.festival-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.festival-card > div {
  padding: 24px;
}
.festival-card span {
  color: var(--clay);
  font-size: 0.57rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.festival-card h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.festival-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.6;
}
.festival-list {
  max-width: 1180px;
  margin: auto;
  padding: 105px clamp(28px, 6vw, 80px) 130px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.festival-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.festival-list li {
  border-bottom: 1px solid var(--line);
}
.festival-list a {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 19px 5px;
}
.festival-list span,
.festival-list small {
  color: var(--ink-soft);
  font-size: 0.65rem;
}
.festival-list strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}
.festival-list a:hover strong {
  color: var(--clay);
}
@media (max-width: 900px) {
  .festival-hero > div,
  .festival-explainer,
  .festival-gallery-heading,
  .festival-list {
    grid-template-columns: 1fr;
  }
  .festival-explainer {
    gap: 35px;
  }
  .festival-cards {
    grid-template-columns: 1fr;
  }
  .festival-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) 1fr;
  }
  .festival-card img {
    height: 100%;
    min-height: 210px;
  }
  .festival-list {
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .festival-explainer > div {
    columns: 1;
  }
  .festival-card {
    display: block;
  }
  .festival-card img {
    height: 190px;
    min-height: 0;
  }
  .festival-list a {
    grid-template-columns: 1fr;
  }
  .festival-list small {
    display: none;
  }
}

/* Wide, non-sticky calendar and compact time rail */
.events-section {
  width: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(22px, 4vw, 64px);
  padding-right: clamp(22px, 4vw, 64px);
}
.filter-panel {
  position: relative;
  top: auto;
  z-index: 4;
  backdrop-filter: none;
}
.calendar-canvas {
  grid-template-columns: 48px repeat(7, minmax(110px, 1fr));
  min-width: 818px;
}
.week-header-row {
  margin-left: 48px;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  min-width: 770px;
}
.time-label {
  align-items: center;
  padding: 10px 3px 5px;
}
.time-label strong {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.time-label span {
  writing-mode: horizontal-tb;
  margin-top: 5px;
  font-size: 0.46rem;
}
.calendar-corner {
  justify-content: center;
  padding: 0 2px 12px;
}
.calendar-legend {
  padding-left: 58px;
}
.daily-canvas {
  grid-template-columns: 48px minmax(0, 1fr);
  min-width: 0;
}
@media (max-width: 680px) {
  .events-section {
    padding-left: 0;
    padding-right: 0;
  }
  .events-section > .filter-panel,
  .events-section > .result-bar,
  .events-section > .event-grid,
  .events-section > .listing-notice,
  .events-section > .empty-state,
  .events-section > .known-series {
    margin-left: 16px;
    margin-right: 16px;
  }
  .calendar-shell {
    border-left: 0;
    border-right: 0;
  }
  .calendar-shell.is-daily {
    margin-left: 16px;
    margin-right: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .calendar-toolbar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .calendar-canvas {
    grid-template-columns: 32px repeat(7, 94px);
    min-width: 690px;
  }
  .daily-canvas {
    grid-template-columns: 32px minmax(0, 1fr);
    min-width: 0;
  }
  .week-header-row {
    margin-left: 32px;
    grid-template-columns: repeat(7, 94px);
    min-width: 658px;
  }
  .all-day-grid {
    grid-template-columns: repeat(7, 94px);
  }
  .time-label {
    padding-left: 1px;
    padding-right: 1px;
  }
  .time-label strong {
    font-size: 0.48rem;
  }
  .time-label span {
    font-size: 0.4rem;
  }
  .calendar-corner {
    font-size: 0.43rem;
  }
  .calendar-legend {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Location-first onboarding and image-led event cards */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-menu-wrap {
  position: relative;
}
.signin-icon {
  width: 43px;
  height: 43px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: 0.18s ease;
}
.signin-icon:hover,
.signin-icon.active,
.signin-icon[aria-expanded="true"] {
  background: var(--forest);
  color: white;
}
.signin-icon.active {
  box-shadow: 0 0 0 4px rgba(134, 166, 143, 0.22);
}
.signin-icon svg,
.signin-avatar {
  grid-area: 1/1;
}
.signin-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.signin-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.signin-icon [hidden] {
  display: none !important;
}
.account-menu {
  position: absolute;
  z-index: 75;
  top: calc(100% + 12px);
  right: 0;
  width: 285px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 40, 34, 0.18);
}
.account-menu[hidden],
.account-menu [hidden] {
  display: none !important;
}
.account-menu a,
.account-menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  padding: 13px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.account-menu a:hover,
.account-menu button:hover {
  background: rgba(134, 166, 143, 0.12);
}
.account-menu a > span:first-child,
.account-menu button > span:first-child {
  font-size: 1.15rem;
  text-align: center;
}
.account-menu strong,
.account-menu small {
  display: block;
}
.account-menu strong {
  font-size: 0.8rem;
  font-weight: 600;
}
.account-menu small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.61rem;
}
.account-menu-signout {
  margin-top: 6px !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 0 9px 9px !important;
  color: #b34343 !important;
}
.account-menu-register strong {
  color: var(--clay);
}
@media (max-width: 520px) {
  .account-menu {
    position: fixed;
    top: 78px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
.event-card {
  grid-template-columns: 82px minmax(125px, 155px) 1fr;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
}
.event-thumb {
  margin: 14px 0;
  overflow: hidden;
  border-radius: 13px;
  background: var(--forest);
}
.event-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}
.event-content {
  justify-content: center;
}
.date-tile {
  background: rgba(134, 166, 143, 0.06);
}
.location-onboarding {
  width: min(1000px, calc(100vw - 30px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(17, 39, 33, 0.28);
}
.location-onboarding::backdrop {
  background: rgba(20, 41, 35, 0.66);
  backdrop-filter: blur(8px);
}
.location-onboarding-inner {
  padding: clamp(28px, 6vw, 70px);
}
.location-onboarding h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}
.location-onboarding-inner > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.location-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.location-choices button {
  min-height: 145px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  border: 0;
  border-radius: 16px;
  color: white;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(145deg, #173d35, #517d6d);
  transition: transform 0.18s ease;
}
.location-choices button:nth-child(2) {
  background: linear-gradient(145deg, #5965b8, #c86f50);
}
.location-choices button:nth-child(3) {
  background: linear-gradient(145deg, #d59a42, #87643a);
}
.location-choices button:nth-child(4) {
  background: linear-gradient(145deg, #386659, #86a68f);
}
.location-choices button:nth-child(5) {
  background: linear-gradient(145deg, #5f5850, #9c8f81);
}
.location-choices button:hover {
  transform: translateY(-4px);
}
.location-choices strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.location-choices small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
}
.location-anywhere {
  margin-top: 20px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
@media (max-width: 760px) {
  .header-actions .header-cta {
    display: none;
  }
  .event-card {
    grid-template-columns: 70px 105px 1fr;
  }
  .event-thumb {
    margin: 10px 0;
  }
  .event-thumb img {
    min-height: 160px;
  }
  .location-choices {
    grid-template-columns: 1fr 1fr;
  }
  .location-choices button {
    min-height: 115px;
  }
}
@media (max-width: 520px) {
  .event-card {
    grid-template-columns: 92px 1fr;
  }
  .date-tile {
    display: none;
  }
  .event-thumb {
    margin: 10px 0 10px 10px;
  }
  .event-content {
    padding: 17px 15px;
  }
  .event-thumb img {
    min-height: 135px;
  }
  .event-content h3 {
    margin-top: 10px;
  }
  .location-choices {
    grid-template-columns: 1fr;
  }
  .location-choices button {
    min-height: 92px;
  }
}

/* Account preferences */
.account-section-title {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.account-page {
  min-height: 100vh;
  padding: clamp(80px, 9vw, 135px) clamp(24px, 6vw, 90px) 120px;
}
.account-intro {
  max-width: 900px;
}
.account-intro h1 {
  margin: 12px 0 24px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.account-intro > p:last-child {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}
.country-locations {
  margin-top: 80px;
}
.country-heading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 24px;
}
.country-heading > span {
  font-size: 1.8rem;
}
.country-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}
.country-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.account-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.account-location-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 24px;
  border-radius: 22px;
  color: white;
  background-image: linear-gradient(
      to top,
      rgba(10, 24, 20, 0.9),
      rgba(10, 24, 20, 0) 65%
    ),
    url("/images/australia-region-sprite.png");
  background-size: 500% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 14px 35px rgba(30, 48, 41, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.account-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(30, 48, 41, 0.2);
}
.region-brisbane {
  background-position: 0 50%;
}
.region-gold-coast {
  background-position: 25% 50%;
}
.region-sunshine-coast {
  background-position: 50% 50%;
}
.region-northern-rivers {
  background-position: 75% 50%;
}
.region-other {
  background-position: 100% 50%;
}
.account-location-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}
.account-location-card small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
}
.account-location-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--forest);
  font-weight: 700;
}
.account-location-card.selected {
  outline: 4px solid var(--clay);
  outline-offset: 3px;
}
.account-location-card.selected .account-location-check {
  display: grid;
}
.account-coming-soon {
  margin-top: 100px;
  padding: 55px clamp(28px, 5vw, 70px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 35px;
  align-items: center;
  background: var(--forest);
  color: white;
}
.account-coming-soon > span {
  color: var(--sun);
  font-size: 2.5rem;
}
.account-coming-soon .eyebrow {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.account-coming-soon h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
}
.account-coming-soon p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
.account-coming-soon .button {
  background: var(--cream);
  color: var(--forest);
  white-space: nowrap;
}
.account-auth {
  max-width: 1120px;
  margin-top: 55px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 45px rgba(30, 48, 41, 0.08);
}
.account-auth-copy {
  max-width: 650px;
}
.account-auth-copy .eyebrow {
  margin-bottom: 9px;
}
.account-auth-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
}
.account-auth-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}
.account-auth-actions {
  width: min(100%, 330px);
  min-width: 300px;
  text-align: center;
}
.account-social-button {
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.account-social-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.account-google-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(30, 48, 41, 0.07);
}
.account-facebook-button {
  margin-top: 8px;
  border-color: #1877f2;
  background: #1877f2;
  color: white;
  box-shadow: 0 5px 18px rgba(24, 119, 242, 0.18);
}
.account-github-button {
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.68rem;
}
.account-github-button svg {
  fill: currentColor;
}
.account-admin-label {
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--line);
  font-size: 0.48rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.account-auth-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 0.58rem;
}
.account-auth-divider::before,
.account-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.account-email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.account-email-form input {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
}
.account-email-form input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.account-email-button {
  padding: 10px 14px;
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  font-size: 0.67rem;
  white-space: nowrap;
}
.account-email-button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.account-email-status {
  margin: 9px 0 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(104, 139, 113, 0.13);
  color: var(--ink);
  font-size: 0.66rem;
  line-height: 1.4;
}
.account-auth-actions small {
  display: block;
  max-width: 300px;
  margin: 7px auto 0;
  color: var(--ink-soft);
  font-size: 0.61rem;
  line-height: 1.4;
}
.account-user {
  min-width: 300px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}
.account-user > img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
}
.account-user strong,
.account-user small {
  display: block;
}
.account-user small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-signout-button {
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--line);
}
.account-auth-error {
  max-width: 1120px;
  margin: 12px 0 0;
  padding: 12px 16px;
  border-left: 3px solid #b34b4b;
  background: rgba(179, 75, 75, 0.08);
  color: #7a3030;
}
.auth-callback-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 80px 24px;
}
.auth-callback-card {
  width: min(620px, 100%);
  padding: 55px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 60px rgba(30, 48, 41, 0.12);
}
.auth-callback-card > img {
  margin-bottom: 24px;
}
.auth-callback-card .eyebrow {
  justify-content: center;
}
.auth-callback-card h1 {
  margin: 14px 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
}
.auth-callback-card p:last-of-type {
  color: var(--ink-soft);
  line-height: 1.7;
}
.auth-callback-card .button {
  margin-top: 20px;
}
@media (max-width: 560px) {
  .account-email-form {
    grid-template-columns: 1fr;
  }
  .account-email-button {
    width: 100%;
    justify-content: center;
  }
}
.account-page .account-location-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
}
.account-page .account-location-card {
  min-height: 132px;
  padding: 14px;
  border-radius: 15px;
}
.account-page .account-location-card strong {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
}
.account-page .account-location-card small {
  margin-top: 3px;
  font-size: 0.62rem;
}
.account-page .account-location-check {
  top: 9px;
  right: 9px;
  width: 25px;
  height: 25px;
  font-size: 0.7rem;
}
.account-page .account-location-card.selected {
  outline-width: 3px;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .account-location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-page .account-location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .account-coming-soon {
    grid-template-columns: 1fr;
  }
  .account-coming-soon > span {
    display: none;
  }
  .account-coming-soon .button {
    width: fit-content;
  }
  .account-auth {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-auth-actions {
    width: 100%;
    max-width: 360px;
  }
  .account-user {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .country-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .country-heading p {
    flex-basis: 100%;
    margin-left: 43px;
  }
  .account-location-grid {
    grid-template-columns: 1fr;
  }
  .account-location-card {
    min-height: 190px;
  }
  .account-page .account-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .account-page .account-location-card {
    min-height: 105px;
    padding: 11px;
  }
  .account-page .account-location-card strong {
    font-size: 0.8rem;
  }
  .account-page .account-location-card small {
    font-size: 0.54rem;
  }
}

.account-menu-identity {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  margin: 2px 5px 8px;
  padding: 11px 9px 14px;
  border-bottom: 1px solid var(--line);
}
.account-menu-identity img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
}
.account-menu-identity strong,
.account-menu-identity small {
  display: block;
}
.account-menu-identity strong {
  font-size: 0.84rem;
}
.account-menu-identity small {
  max-width: 195px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu-admin {
  background: rgba(230, 171, 71, 0.12) !important;
}
.account-menu-admin strong {
  color: #8a5c11;
}
.account-editor-page,
.admin-page {
  min-height: 100vh;
  padding: clamp(105px, 11vw, 160px) clamp(22px, 6vw, 90px) 100px;
}
.account-editor-page {
  max-width: 1040px;
}
.account-editor-page > h1,
.admin-heading h1 {
  margin: 12px 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.055em;
}
.account-editor-lede {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.account-editor-card {
  max-width: 780px;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.account-editor-card[hidden] {
  display: none;
}
.account-editor-card h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}
.account-editor-card label {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  font-weight: 700;
}
.account-editor-card input,
.account-editor-card textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font: inherit;
}
.account-editor-card .account-check {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.account-editor-card .account-check input {
  width: auto;
}
.account-editor-card [role="status"] {
  color: var(--ink-soft);
}
.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}
.admin-heading > div > p:last-child {
  color: var(--ink-soft);
}
.admin-badge {
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--forest);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.admin-guard {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.admin-guard[hidden],
.admin-workspace[hidden] {
  display: none;
}
.admin-workspace {
  display: block;
}
.profile-mode-tabs.admin-mode-tabs {
  width: 100%;
  margin: 0 0 24px;
  padding-right: clamp(14px, 2vw, 24px);
  padding-left: clamp(14px, 2vw, 24px);
}
.admin-primary-nav {
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.admin-primary-nav strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.profile-mode-tabs.admin-global-tabs {
  width: 100%;
  margin: 0;
  padding-right: clamp(18px, 4vw, 60px);
  padding-left: clamp(18px, 4vw, 60px);
}
.admin-table-browser {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.admin-table-browser[hidden],
[data-admin-view-panel][hidden] {
  display: none;
}
.admin-schema {
  display: grid;
  gap: 16px;
}
.admin-schema-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.admin-schema-heading h2 {
  margin: 3px 0 5px;
  font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif);
}
.admin-schema-heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
}
.admin-schema-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.admin-schema-actions input {
  min-width: 220px;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.admin-schema-canvas {
  position: relative;
  isolation: isolate;
  min-height: 68vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-color: #f8f5ed;
  background-image: radial-gradient(circle, rgba(25, 49, 43, .13) 1px, transparent 1px);
  background-size: 20px 20px;
}
.admin-schema-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--ink-soft);
  font-size: .875rem;
}
@media (max-width: 720px) {
  .admin-schema-heading { align-items: stretch; flex-direction: column; }
  .admin-schema-actions { flex-wrap: wrap; }
  .admin-schema-actions label { flex: 1 1 180px; }
  .admin-schema-actions input { width: 100%; min-width: 0; }
  .admin-schema-canvas { min-height: 62vh; }
}
.admin-tables {
  display: grid;
  gap: 5px;
  max-height: 72vh;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.admin-tables button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.admin-tables button:hover,
.admin-tables button.active {
  background: rgba(134, 166, 143, 0.16);
}
.admin-tables strong,
.admin-tables small {
  display: block;
}
.admin-tables strong {
  font-size: 0.78rem;
}
.admin-tables small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.57rem;
}
.admin-tables b {
  min-width: 28px;
  color: var(--terracotta);
  font-size: 0.68rem;
  text-align: right;
}
.admin-data {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.admin-data-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-data-heading h2 {
  margin: 3px 0;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}
.admin-notice {
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.admin-table-scroll {
  overflow: auto;
  max-height: 58vh;
  border: 1px solid var(--line);
}
.admin-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.65rem;
}
.admin-table-scroll th,
.admin-table-scroll td {
  max-width: 220px;
  overflow: hidden;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table-scroll th {
  position: sticky;
  top: 0;
  background: var(--cream);
  font-size: 0.6rem;
  text-transform: uppercase;
}
.admin-table-scroll tbody tr {
  cursor: pointer;
}
.admin-table-scroll tbody tr:hover {
  background: rgba(134, 166, 143, 0.1);
}
.admin-empty {
  text-align: center !important;
  color: var(--ink-soft);
}
.admin-row-dialog {
  width: min(760px, calc(100vw - 30px));
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(10, 30, 24, 0.3);
}
.admin-row-dialog::backdrop {
  background: rgba(10, 28, 23, 0.55);
}
.admin-row-dialog h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}
.admin-row-dialog textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f4ef;
  font: 12px/1.5 monospace;
}
.admin-dialog-close {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}
.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}
.admin-dialog-actions form {
  margin: 0;
}
@media (max-width: 800px) {
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-table-browser {
    grid-template-columns: 1fr;
  }
  .admin-tables {
    grid-template-columns: 1fr 1fr;
    max-height: none;
  }
  .admin-tables small {
    display: none;
  }
}

/* Welcome landing */
.welcome-page {
  min-height: calc(100vh - 82px);
  padding: 0 0 110px;
}
.welcome-carousel {
  position: relative;
  width: 100%;
  height: clamp(400px, 48vw, 650px);
  overflow: hidden;
  background: #24392e;
  touch-action: pan-y;
}
.welcome-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.welcome-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.welcome-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 25, 20, 0.84) 0%,
    rgba(8, 25, 20, 0.58) 48%,
    rgba(8, 25, 20, 0.22) 76%,
    rgba(8, 25, 20, 0.34) 100%
  );
  content: "";
}
.welcome-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.welcome-banner-copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  color: #fff;
}
.welcome-lede {
  position: absolute;
  right: clamp(210px, 20vw, 300px);
  bottom: clamp(48px, 7vw, 92px);
  left: clamp(60px, 8vw, 130px);
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.welcome-points {
  position: absolute;
  top: clamp(48px, 7vw, 92px);
  right: clamp(60px, 8vw, 130px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.welcome-points > span {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 0.82;
  white-space: nowrap;
}
.welcome-points small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}
.welcome-slide-values::after {
  background: linear-gradient(
    90deg,
    rgba(8, 25, 20, 0.9) 0%,
    rgba(8, 25, 20, 0.75) 38%,
    rgba(8, 25, 20, 0.2) 72%,
    rgba(8, 25, 20, 0.18) 100%
  );
}
.welcome-slide-values > img {
  object-position: center center;
}
.welcome-values-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(60px, 8vw, 130px);
  width: min(660px, 50vw);
  color: #fff;
  transform: translateY(-50%);
}
.welcome-values-copy .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.welcome-values-copy .eyebrow > span {
  background: rgba(255, 255, 255, 0.72);
}
.welcome-values-copy h2 {
  margin: 15px 0 26px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.welcome-values {
  display: grid;
  gap: 12px;
}
.welcome-values p {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.welcome-values strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}
.welcome-values span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}
.welcome-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.38);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.welcome-carousel-arrow:hover {
  background: rgba(10, 28, 22, 0.72);
  transform: translateY(-50%) scale(1.05);
}
.welcome-carousel-arrow.previous {
  left: 20px;
}
.welcome-carousel-arrow.next {
  right: 20px;
}
.welcome-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.welcome-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    width 0.18s ease,
    background 0.18s ease;
}
.welcome-carousel-dots button.active {
  width: 24px;
  border-radius: 99px;
  background: #fff;
}
.welcome-locations {
  max-width: 1100px;
  margin: clamp(42px, 6vw, 72px) auto 0;
  padding: 0 clamp(24px, 6vw, 60px);
}
.welcome-locations > h2 {
  margin: 10px 0 5px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}
.welcome-locations > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.welcome-locations .country-heading {
  margin-top: 32px;
}
.welcome-locations .country-heading h3 {
  margin: 0;
  font-size: 1.45rem;
}
.welcome-location-grid {
  grid-template-columns: repeat(3, 1fr);
}
.welcome-location-grid .account-location-card {
  min-height: 190px;
}
.region-preview-open {
  overflow: hidden;
}
.region-preview-scrim {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(11, 30, 24, 0.48);
  backdrop-filter: blur(3px);
}
.region-preview-drawer {
  position: fixed;
  z-index: 81;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100vw);
  background: var(--cream);
  box-shadow: -25px 0 70px rgba(16, 35, 29, 0.24);
  transform: translateX(105%);
  visibility: hidden;
  transition:
    transform 0.28s ease,
    visibility 0s linear 0.28s;
}
.region-preview-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.28s ease;
}
.region-preview-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 46px);
}
.region-preview-close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--forest);
  font-size: 1.35rem;
  cursor: pointer;
}
.region-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.region-preview-header .eyebrow {
  margin-bottom: 10px;
}
.region-preview-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}
.region-preview-header > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  white-space: nowrap;
}
.region-preview-header > p strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
}
.region-preview-map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e7e5dd;
}
.region-preview-map-wrap iframe {
  display: block;
  width: 100%;
  height: 275px;
  border: 0;
}
.region-preview-map-wrap > a {
  display: block;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-size: 0.7rem;
  text-align: right;
}
.region-preview-confirm {
  width: 100%;
  margin: 20px 0 28px;
  padding: 16px 20px;
  border: 0;
  border-radius: 99px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(23, 61, 53, 0.18);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.region-preview-confirm:hover {
  background: #215247;
  transform: translateY(-2px);
}
.region-preview-drawer blockquote {
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}
.region-preview-summary {
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}
.region-preview-expert {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}
.region-preview-expert img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
}
.region-preview-expert strong,
.region-preview-expert span {
  display: block;
}
.region-preview-expert strong {
  font-size: 1rem;
}
.region-preview-expert span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

/* Todo-style daily agenda */
.daily-agenda {
  padding: 0 0 45px;
  background: #fff;
}
.daily-date-strip {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  overflow-x: auto;
}
.daily-date-strip > button,
.daily-date-pick {
  flex: 1 1 0;
  min-width: 54px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.64rem;
  white-space: nowrap;
  cursor: pointer;
}
.daily-date-strip > button.active {
  background: var(--forest);
  color: white;
}
.daily-date-pick {
  position: relative;
  border: 1px solid var(--line);
}
.daily-date-pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.daily-agenda-group {
  padding: 34px clamp(14px, 3vw, 36px) 0;
}
.daily-agenda-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
}
.daily-agenda-group h3 span {
  font-family: var(--sans);
  font-size: 1.25rem;
}
.daily-agenda-list {
  display: grid;
  gap: 12px;
}
.daily-agenda-card {
  position: relative;
  min-height: 165px;
  display: grid;
  grid-template-columns: 180px 1fr 30px;
  gap: 22px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f7f5;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  --event-colour: #4f8065;
  border-left: 5px solid var(--event-colour);
  background: color-mix(in srgb, var(--event-colour) 5%, #f7f7f5);
}
.daily-agenda-card[data-category-family="dance"] { --event-colour: #3978b8; }
.daily-agenda-card[data-category-family="couples"] { --event-colour: #244a78; }
.daily-agenda-card[data-category-family="connection"] { --event-colour: #4f8065; }
.daily-agenda-card[data-category-family="wellness"] { --event-colour: #278b82; }
.daily-agenda-card[data-category-family="intimacy"] { --event-colour: #b7474d; }
.daily-agenda-card[data-category-family="creative"] { --event-colour: #cf6c36; }
.daily-agenda-card[data-category-family="festival"] { --event-colour: #bd7c28; }
.daily-agenda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(35, 54, 47, 0.1);
}
.daily-agenda-card > img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
}
.daily-agenda-copy > span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.daily-agenda-copy > strong {
  display: block;
  margin: 7px 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
}
.daily-agenda-copy > small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
}
.daily-agenda-copy > div {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.daily-agenda-copy b {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: white;
  font-size: 0.56rem;
  font-weight: 500;
}
.daily-agenda-copy .event-category-badge {
  border-color: color-mix(in srgb, var(--event-colour) 48%, transparent);
  background: color-mix(in srgb, var(--event-colour) 14%, white);
  color: color-mix(in srgb, var(--event-colour) 88%, var(--ink));
  font-weight: 700;
}
.daily-agenda-copy .event-detail-badge {
  background: var(--cream);
}
.daily-agenda-copy .event-format-badge {
  border-color: color-mix(in srgb, var(--link) 38%, transparent);
  background: color-mix(in srgb, var(--link) 10%, white);
  color: var(--link);
  font-weight: 700;
}
.daily-agenda-card > i {
  color: rgba(25, 49, 43, 0.38);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-style: normal;
}
.region-preview-map {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #e8eee9;
}
.region-map-legend {
  max-width: 220px;
  flex-wrap: wrap;
  border-radius: 13px;
}
.region-preview-map .event-map-popup li {
  padding: 6px 0;
}
.region-preview-map .event-map-popup li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 1050px) {
  .welcome-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .welcome-location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .daily-agenda-card {
    grid-template-columns: 115px 1fr 18px;
    gap: 13px;
    min-height: 135px;
  }
  .daily-agenda-card > img {
    height: 110px;
  }
  .daily-date-strip {
    padding-left: 8px;
    padding-right: 8px;
  }
  .daily-date-strip > button,
  .daily-date-pick {
    padding: 0 5px;
    font-size: 0.58rem;
  }
}
@media (max-width: 520px) {
  .welcome-carousel {
    height: 520px;
  }
  .welcome-slide::after {
    background: linear-gradient(
      0deg,
      rgba(8, 25, 20, 0.94) 0%,
      rgba(8, 25, 20, 0.7) 57%,
      rgba(8, 25, 20, 0.15) 100%
    );
  }
  .welcome-slide > img {
    object-position: center center;
  }
  .welcome-lede {
    right: 22px;
    bottom: 112px;
    left: 22px;
    font-size: 1.75rem;
    line-height: 1.13;
  }
  .welcome-points {
    top: auto;
    right: auto;
    bottom: 38px;
    left: 22px;
    flex-direction: row;
    gap: 26px;
  }
  .welcome-points > span {
    font-size: 2.15rem;
  }
  .welcome-slide-values::after {
    background: linear-gradient(
      0deg,
      rgba(8, 25, 20, 0.96) 0%,
      rgba(8, 25, 20, 0.8) 66%,
      rgba(8, 25, 20, 0.2) 100%
    );
  }
  .welcome-slide-values > img {
    object-position: 66% center;
  }
  .welcome-values-copy {
    top: auto;
    right: 24px;
    bottom: 50px;
    left: 24px;
    width: auto;
    transform: none;
  }
  .welcome-values-copy h2 {
    margin: 12px 0 20px;
    font-size: 2.4rem;
  }
  .welcome-values {
    gap: 8px;
  }
  .welcome-values p {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding-top: 8px;
  }
  .welcome-values strong {
    font-size: 1.05rem;
  }
  .welcome-values span {
    font-size: 0.7rem;
  }
  .welcome-carousel-arrow {
    top: 42%;
    width: 38px;
    height: 38px;
  }
  .welcome-carousel-arrow.previous {
    left: 10px;
  }
  .welcome-carousel-arrow.next {
    right: 10px;
  }
  .welcome-locations {
    margin-top: 38px;
    padding-right: 20px;
    padding-left: 20px;
  }
  .welcome-locations > h2 {
    font-size: 3.5rem;
  }
  .welcome-location-grid {
    grid-template-columns: 1fr;
  }
  .daily-agenda-group {
    padding-top: 27px;
  }
  .daily-agenda-card {
    grid-template-columns: 92px 1fr 12px;
    padding: 9px;
    border-radius: 15px;
  }
  .daily-agenda-card > img {
    height: 105px;
    border-radius: 11px;
  }
  .daily-agenda-copy > strong {
    font-size: 1.17rem;
  }
  .daily-agenda-copy > small {
    font-size: 0.62rem;
  }
  .daily-agenda-copy > div {
    margin-top: 9px;
  }
  .daily-agenda-copy b {
    font-size: 0.49rem;
  }
  .daily-date-strip {
    gap: 1px;
  }
  .daily-date-strip > button,
  .daily-date-pick {
    min-width: 43px;
    font-size: 0.52rem;
  }
  .daily-agenda-card > i {
    font-size: 1.7rem;
  }
}
@media (max-width: 520px) {
  .region-preview-scroll {
    padding: 20px;
  }
  .region-preview-close {
    margin-bottom: 20px;
  }
  .region-preview-header {
    align-items: flex-start;
  }
  .region-preview-header h2 {
    font-size: 3.35rem;
  }
  .region-preview-map-wrap iframe {
    height: 230px;
  }
  .region-preview-drawer blockquote {
    font-size: 1.55rem;
  }
}
@media (max-width: 520px) {
  .region-preview-map {
    height: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .region-preview-drawer {
    transition: none;
  }
}
.region-preview-steward-note {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.06);
}
.region-preview-steward-note > .eyebrow {
  margin: 0 0 14px;
}
.region-preview-steward-note .region-preview-summary {
  margin: 0 0 20px;
}
.region-preview-steward-note .region-preview-expert {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.region-preview-steward-note .region-preview-expert:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.region-preview-expert > div {
  min-width: 0;
  flex: 1;
}
.region-preview-expert > div span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.region-preview-expert-arrow {
  margin-left: auto;
  font-size: 1.15rem;
}
.region-preview-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.region-steward-profile[hidden] {
  display: none;
}
.region-steward-portrait {
  display: block;
  width: 150px;
  height: 150px;
  margin: 28px 0 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
}
.region-steward-profile h2 {
  max-width: 430px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.region-steward-role {
  margin: 14px 0 0;
  color: var(--terracotta);
  font-weight: 800;
}
.region-steward-bio {
  margin: 30px 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}
.region-steward-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 99px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
}

.welcome-slide-together::after {
  background: linear-gradient(
    90deg,
    rgba(8, 25, 20, 0.9) 0%,
    rgba(8, 25, 20, 0.68) 43%,
    rgba(8, 25, 20, 0.15) 72%,
    rgba(8, 25, 20, 0.2) 100%
  );
}
.welcome-slide-together > img {
  object-position: center center;
}
.welcome-together-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(60px, 8vw, 130px);
  width: min(690px, 48vw);
  color: #fff;
  transform: translateY(-50%);
}
.welcome-together-copy .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.welcome-together-copy .eyebrow > span {
  background: rgba(255, 255, 255, 0.72);
}
.welcome-together-copy h2 {
  margin: 16px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.welcome-together-copy > p:last-of-type {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}
.welcome-together-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.welcome-together-copy > a:hover {
  background: #fff;
  color: var(--forest);
}
.welcome-slide-clear::after {
  background: linear-gradient(
    90deg,
    rgba(8, 25, 20, 0.93) 0%,
    rgba(8, 25, 20, 0.71) 40%,
    rgba(8, 25, 20, 0.18) 72%,
    rgba(8, 25, 20, 0.22) 100%
  );
}
.welcome-slide-clear > img {
  object-position: center center;
}
.welcome-clear-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(60px, 8vw, 130px);
  width: min(700px, 48vw);
  color: #fff;
  transform: translateY(-50%);
}
.welcome-clear-copy .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.welcome-clear-copy .eyebrow > span {
  background: rgba(255, 255, 255, 0.72);
}
.welcome-clear-copy h2 {
  margin: 16px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.welcome-clear-copy > p:last-of-type {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}
.welcome-clear-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.welcome-clear-copy > a:hover {
  background: #fff;
  color: var(--forest);
}

.about-page {
  max-width: none;
  margin: 0;
  padding: 0 0 130px;
}
.about-page-hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(400px, 42vw, 540px);
  overflow: hidden;
  border-radius: 0;
  background: var(--forest);
}
.about-page .principles-grid {
  width: min(1068px, calc(100% - 48px));
  margin: 70px auto 0;
}
.about-page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 25, 20, 0.9),
    rgba(8, 25, 20, 0.61) 48%,
    rgba(8, 25, 20, 0.16)
  );
  content: "";
}
.about-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-page-hero > div {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(32px, 7vw, 86px);
  width: min(760px, 66%);
  color: #fff;
  transform: translateY(-50%);
}
.about-page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.about-page-hero .eyebrow > span {
  background: rgba(255, 255, 255, 0.72);
}
.about-page-hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}
.about-page-hero > div > p:last-child {
  max-width: 630px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.75;
}
.about-story {
  width: min(860px, calc(100% - 48px));
  margin: 72px auto 0;
}
.about-story h2 {
  margin: 56px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.about-story h2:first-child {
  margin-top: 0;
}
.about-story p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}
.about-story strong {
  color: var(--ink);
}
.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.vision-founder {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
  width: min(860px, calc(100% - 48px));
  margin: 70px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}
.vision-founder > img {
  width: 112px;
  height: 112px;
  border: 4px solid rgba(44, 120, 86, 0.18);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.vision-founder-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vision-founder h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.vision-founder div > p:not(.vision-founder-kicker) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.vision-founder .text-link-arrow {
  margin-top: 6px;
}
.simple-page-heading {
  max-width: 820px;
}
.simple-page-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.simple-page-heading p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
.principle-detail-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}
.principle-detail-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 760px);
  gap: 24px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
.principle-detail-list article > span {
  padding-top: 8px;
  color: var(--clay);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}
.principle-detail-list h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.principle-detail-list p {
  color: var(--ink-soft);
  line-height: 1.8;
}
.principle-detail-list .principle-lede {
  margin: 10px 0 22px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}
.welcome-simple-page {
  min-height: calc(100vh - 72px);
  padding: 0 0 100px;
}
.welcome-simple-intro {
  padding: clamp(55px, 8vw, 100px) clamp(24px, 7vw, 90px);
  background: linear-gradient(135deg, var(--cream), #fff);
}
.welcome-simple-intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.85;
}
.welcome-simple-intro p {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}
.acknowledgement-country {
  width: min(980px, calc(100% - 48px));
  margin: 90px auto 0;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--line);
  background: #fff;
}
.acknowledgement-country h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
}
.acknowledgement-country p {
  max-width: 800px;
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.acknowledgement-country p:last-child {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .welcome-slide-together::after {
    background: linear-gradient(
      0deg,
      rgba(8, 25, 20, 0.96),
      rgba(8, 25, 20, 0.76) 64%,
      rgba(8, 25, 20, 0.12)
    );
  }
  .welcome-slide-together > img {
    object-position: 63% center;
  }
  .welcome-together-copy {
    top: auto;
    right: 24px;
    bottom: 56px;
    left: 24px;
    width: auto;
    transform: none;
  }
  .welcome-together-copy h2 {
    margin: 12px 0 16px;
    font-size: 2.35rem;
  }
  .welcome-together-copy > p:last-of-type {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .welcome-together-copy > a {
    margin-top: 18px;
    padding: 11px 16px;
  }
  .welcome-slide-clear::after {
    background: linear-gradient(
      0deg,
      rgba(8, 25, 20, 0.97),
      rgba(8, 25, 20, 0.76) 66%,
      rgba(8, 25, 20, 0.12)
    );
  }
  .welcome-slide-clear > img {
    object-position: 62% center;
  }
  .welcome-clear-copy {
    top: auto;
    right: 24px;
    bottom: 56px;
    left: 24px;
    width: auto;
    transform: none;
  }
  .welcome-clear-copy h2 {
    margin: 12px 0 16px;
    font-size: 2.35rem;
  }
  .welcome-clear-copy > p:last-of-type {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .welcome-clear-copy > a {
    margin-top: 18px;
    padding: 11px 16px;
  }
  .about-page-hero {
    min-height: 480px;
  }
  .about-page-hero::after {
    background: linear-gradient(
      0deg,
      rgba(8, 25, 20, 0.94),
      rgba(8, 25, 20, 0.68) 64%,
      rgba(8, 25, 20, 0.18)
    );
  }
  .about-page-hero > img {
    object-position: 66% center;
  }
  .about-page-hero > div {
    top: auto;
    right: 25px;
    bottom: 40px;
    left: 25px;
    width: auto;
    transform: none;
  }
  .about-page-hero h1 {
    font-size: 3.4rem;
  }
  .about-page-hero > div > p:last-child {
    margin-top: 22px;
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .about-story {
    width: calc(100% - 40px);
    margin-top: 48px;
  }
  .about-story h2 {
    margin-top: 42px;
  }
  .vision-founder {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 40px);
    margin-top: 48px;
    padding: 26px 22px;
    border-radius: 22px;
  }
  .vision-founder > img {
    width: 84px;
    height: 84px;
  }
  .principle-detail-list article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 38px 0;
  }
  .welcome-simple-intro {
    padding: 48px 20px;
  }
  .welcome-simple-page .welcome-locations {
    padding-inline: 20px;
  }
  .acknowledgement-country {
    width: calc(100% - 40px);
    margin-top: 60px;
    padding: 28px 24px;
  }
}

/* Compact, unpinned event results */
.events-section .filter-panel {
  position: static;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}
.event-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}
.event-card {
  grid-template-columns: 68px 96px minmax(0, 1fr);
  min-height: 96px;
  height: 96px;
  border-radius: 13px;
}
.event-card:hover {
  transform: translateY(-2px);
}
.date-tile {
  min-width: 0;
}
.date-tile .month {
  font-size: 0.5rem;
}
.date-tile strong {
  margin: 3px 0 1px;
  font-size: 2rem;
}
.date-tile .weekday {
  font-size: 0.56rem;
}
.event-thumb {
  width: 82px;
  height: 82px;
  margin: 7px;
  align-self: center;
  border-radius: 10px;
}
.event-thumb img {
  width: 82px;
  height: 82px;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
}
.event-content {
  min-width: 0;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: minmax(150px, 1.5fr) minmax(120px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
}
.event-meta {
  display: none;
}
.event-meta .confidence {
  display: none;
}
.event-content h3,
.event-place,
.event-time {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-content h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 600;
}
.event-place,
.event-time {
  font-size: 0.67rem;
}
.event-footer {
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 8px;
  border: 0;
  white-space: nowrap;
}
.event-footer .area {
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-footer a {
  font-size: 0;
}
.event-footer a span {
  font-size: 0.8rem;
}
@media (max-width: 880px) {
  .event-content {
    grid-template-columns: minmax(120px, 1.4fr) minmax(90px, 1fr) auto;
  }
  .event-footer {
    display: none;
  }
}
@media (max-width: 600px) {
  .event-card {
    grid-template-columns: 54px 72px minmax(0, 1fr);
    height: 76px;
    min-height: 76px;
  }
  .date-tile {
    display: flex;
  }
  .date-tile strong {
    font-size: 1.55rem;
  }
  .event-thumb {
    width: 64px;
    height: 64px;
    margin: 6px 4px;
    border-radius: 8px;
  }
  .event-thumb img {
    width: 64px;
    height: 64px;
    min-height: 0;
  }
  .event-content {
    padding: 8px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }
  .event-place,
  .event-footer {
    display: none;
  }
  .event-content h3 {
    font-size: 0.76rem;
  }
  .event-time {
    font-size: 0.56rem;
  }
}

/* City view navigation and filter drawer */
.calendar-primary-nav {
  position: relative;
  z-index: 13;
  min-height: 48px;
  padding: 6px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: stretch;
  gap: clamp(4px, 1.5vw, 18px);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: none;
}
.calendar-primary-nav::-webkit-scrollbar {
  display: none;
}
.calendar-primary-link {
  position: relative;
  min-width: max-content;
  min-height: 36px;
  padding: 0 clamp(13px, 2vw, 22px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.calendar-primary-link::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -7px;
  left: 8px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.calendar-primary-link:hover,
.calendar-primary-link:focus-visible {
  background: color-mix(in srgb, var(--sage) 22%, transparent);
}
.calendar-primary-link.active {
  background: color-mix(in srgb, var(--sage) 24%, var(--paper));
}
.calendar-primary-link.active::after {
  transform: scaleX(1);
}
.calendar-primary-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calendar-primary-coming-soon {
  cursor: default;
}
.calendar-primary-coming-soon:hover,
.calendar-primary-coming-soon:focus-visible {
  background: transparent;
}
.calendar-primary-coming-soon small {
  padding: 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage) 15%, var(--paper));
  color: var(--ink-soft);
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.calendar-view-nav {
  position: relative;
  z-index: 12;
  min-height: 50px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.calendar-view-links {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 40px);
}
.calendar-view-links[hidden] {
  display: none;
}
.calendar-view-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-view-actions[hidden],
.calendar-category-strip[hidden] {
  display: none;
}
.calendar-section-coming-soon {
  min-height: clamp(360px, 58vh, 680px);
  padding: clamp(54px, 9vw, 120px) clamp(22px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sage) 10%, #fff), var(--paper));
}
.calendar-section-coming-soon[hidden] {
  display: none;
}
.calendar-section-coming-soon h1 {
  margin: 14px 0 12px;
  font: 400 clamp(2.6rem, 7vw, 5.5rem) / 0.95 var(--serif);
  letter-spacing: -0.045em;
}
.calendar-section-coming-soon > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.calendar-favorites-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.calendar-favorites-toggle:hover {
  background: #fff;
  transform: translateY(-1px);
}
.calendar-favorites-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--clay) 35%, #fff);
  background: color-mix(in srgb, var(--clay) 14%, #fff);
  color: var(--clay);
}
.calendar-favorites-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.calendar-favorites-toggle[aria-pressed="true"] svg {
  fill: currentColor;
}
.calendar-view-links button {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.16rem;
  font-weight: 650;
  cursor: pointer;
}
.calendar-view-links button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.calendar-view-links button:hover,
.calendar-view-links button.active {
  color: var(--ink);
}
.calendar-view-links button.active::after {
  transform: scaleX(1);
}
.calendar-search-toggle {
  position: relative;
  align-self: center;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.calendar-search-toggle:hover {
  background: #fff;
  transform: translateY(-1px);
}
.calendar-search-toggle[aria-expanded="true"] {
  background: var(--forest);
  color: #fff;
}
.calendar-search-toggle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -9px;
  left: 3px;
  height: 3px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.calendar-search-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}
.calendar-search-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.calendar-context-row {
  position: relative;
  z-index: 11;
  height: 58px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.calendar-context-row[hidden] {
  display: none;
}
.calendar-period-nav {
  width: 100%;
  min-width: 0;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.calendar-period-nav[hidden] {
  display: none;
}
.calendar-period-nav h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font: 400 clamp(1.12rem, 2.2vw, 1.55rem) / 1 var(--serif);
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-period-nav h2 .daily-relative-label {
  margin-left: 0.42em;
  color: var(--clay);
  font: 600 0.66em / 1 var(--sans);
  letter-spacing: 0;
}
.calendar-search-scope {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  border: 0;
  color: var(--ink-soft);
}
.calendar-search-scope[hidden] {
  display: none;
}
.calendar-search-scope legend {
  float: left;
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
}
.calendar-search-scope label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  white-space: nowrap;
}
.calendar-search-scope input {
  margin: 0;
}
.calendar-map-nav {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 38px);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(25, 49, 43, 0.24) transparent;
}
.calendar-map-nav[hidden] {
  display: none;
}
.calendar-map-nav::-webkit-scrollbar {
  height: 4px;
}
.calendar-map-nav::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(25, 49, 43, 0.24);
}
.calendar-map-nav a,
.calendar-map-nav button {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 650 0.82rem var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.calendar-map-nav a:hover,
.calendar-map-nav button:hover,
.calendar-map-nav .active {
  color: var(--ink);
}
.calendar-map-nav .active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--clay);
}
.global-map-secondary-nav .calendar-map-nav {
  align-self: stretch;
}
.festival-region-option {
  min-height: 38px;
  padding: 0 clamp(12px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.7rem;
}
.festival-region-option[hidden] {
  display: none;
}
.festival-region-option input {
  margin: 0;
}
.calendar-category-strip {
  position: relative;
  z-index: 11;
  padding: 2px clamp(12px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.calendar-category-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
}
.calendar-category-bar::-webkit-scrollbar {
  display: none;
}
.calendar-category-bar button {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #f3f3f1;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  font-stretch: condensed;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}
.calendar-category-bar button:hover {
  border-color: var(--category-colour);
  transform: translateY(-1px);
}
.calendar-category-bar button.active {
  border-color: var(--category-colour);
  background: var(--category-colour);
  color: #fff;
}
.calendar-category-bar button:disabled {
  border-color: transparent;
  background: #f3f3f1;
  color: rgba(25, 49, 43, 0.35);
  cursor: not-allowed;
  transform: none;
}
.calendar-category-bar button span {
  font-size: 0.72rem;
  line-height: 1;
}
.calendar-favorites-banner {
  min-height: 38px;
  padding: 7px clamp(18px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--clay) 30%, var(--line));
  background: color-mix(in srgb, var(--clay) 12%, #fff);
  color: var(--ink);
  font-size: 0.8rem;
}
.calendar-favorites-banner[hidden] {
  display: none;
}
.calendar-favorites-banner button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}
.calendar-search-panel {
  position: relative;
  z-index: 10;
  padding: 22px clamp(18px, 5vw, 76px) 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.calendar-search-controls {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) auto auto;
  gap: 28px;
  align-items: center;
}
.calendar-search-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #87908c;
  border-radius: 8px;
  background: #fafafa;
  color: var(--ink);
  font: 1rem var(--sans);
  outline: none;
}
.calendar-search-field input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(20, 70, 57, 0.12);
}
.calendar-search-controls fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin: 0;
  padding: 0;
  border: 0;
}
.calendar-search-controls legend {
  float: left;
  margin-right: 12px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}
.calendar-search-controls label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  white-space: nowrap;
}
.calendar-search-count {
  margin: 20px 0 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.calendar-search-results {
  display: grid;
  gap: 8px;
}
.calendar-search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 74px;
  gap: 20px;
  align-items: center;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  --event-colour: #4f8065;
  border-left: 5px solid var(--event-colour);
  text-decoration: none;
}
.calendar-search-result:not(:has(> img)) { grid-template-columns: minmax(0, 1fr) 74px; }
.calendar-search-result[data-category-family="dance"] { --event-colour: #3978b8; }
.calendar-search-result[data-category-family="couples"] { --event-colour: #244a78; }
.calendar-search-result[data-category-family="connection"] { --event-colour: #4f8065; }
.calendar-search-result[data-category-family="wellness"] { --event-colour: #278b82; }
.calendar-search-result[data-category-family="intimacy"] { --event-colour: #b7474d; }
.calendar-search-result[data-category-family="creative"] { --event-colour: #cf6c36; }
.calendar-search-result[data-category-family="festival"] { --event-colour: #bd7c28; }
.calendar-search-result > img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.calendar-search-result.is-series {
  grid-template-columns: minmax(0, 1fr) 106px 104px;
}
.calendar-search-result.is-series > img {
  grid-column: 3;
  grid-row: 1;
  width: 104px;
  height: 72px;
}
.calendar-search-result.is-series > span {
  grid-column: 1;
  grid-row: 1;
}
.calendar-search-result.is-series > b {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}
.calendar-search-result.is-series > b span {
  color: var(--clay);
  font-size: 0.66rem;
  font-weight: 700;
}
.calendar-search-result.is-series > b strong {
  color: var(--clay);
  font: 700 0.72rem var(--sans);
  white-space: nowrap;
}
.calendar-search-expand {
  justify-self: center;
  min-width: 190px;
  margin: 18px 0 4px;
  padding: 11px 18px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font: 600 0.82rem var(--sans);
  cursor: pointer;
}
.calendar-search-expand:hover {
  background: var(--forest);
  color: #fff;
}
.calendar-search-result:hover {
  border-color: var(--clay);
  background: #fff;
}
.calendar-search-result span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.calendar-search-result strong {
  overflow: hidden;
  font: 500 1.05rem var(--serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-search-result small {
  color: var(--ink-soft);
  font-size: 0.64rem;
}
.calendar-search-result b {
  color: var(--clay);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.week-date.is-past,
.time-cell.is-past,
.month-day.is-past {
  background-color: color-mix(in srgb, var(--ink) 6%, #fff);
}
.week-date.is-past > *,
.month-day.is-past > button {
  opacity: 0.48;
}
.week-event.is-past,
.all-day-event.is-past,
.month-event.is-past,
.daily-agenda-card.is-past,
.calendar-search-result.is-past {
  opacity: 0.48;
  filter: saturate(0.45);
}
.week-event.is-past:hover,
.all-day-event.is-past:hover,
.month-event.is-past:hover,
.daily-agenda-card.is-past:hover,
.calendar-search-result.is-past:hover {
  opacity: 0.72;
}
@media (max-width: 620px) {
  .calendar-search-result {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
  .calendar-search-result > img {
    width: 68px;
    height: 62px;
  }
  .calendar-search-result > b { display: none; }
  .calendar-search-result.is-series {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
  .calendar-search-result.is-series > img {
    grid-column: 2;
    width: 82px;
    height: 62px;
  }
}
.calendar-search-empty {
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.calendar-filter-drawer {
  position: relative;
}
.calendar-filter-drawer > summary {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.76rem;
  cursor: pointer;
}
.calendar-filter-drawer > summary::-webkit-details-marker {
  display: none;
}
.calendar-filter-drawer > summary svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.calendar-filter-drawer[open] > summary {
  color: var(--ink);
}
.calendar-filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(430px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(25, 49, 43, 0.2);
}
.filter-select-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 5px 12px;
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 600;
}
.filter-select-row select {
  width: 100%;
  min-width: 0;
}
.filter-select-row small {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.55rem;
  font-weight: 400;
}
.include-city-filter {
  margin: 6px 0 18px;
  padding: 17px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.include-city-filter legend {
  padding: 0;
  font-size: 0.74rem;
  font-weight: 600;
}
#include-area-filters {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
#include-area-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}
#include-area-filters input:disabled + * {
  opacity: 0.45;
}
#include-area-filters label:has(input:disabled) {
  opacity: 0.45;
}
.include-city-filter > a {
  display: inline-block;
  margin-top: 15px;
  color: var(--clay);
  font-size: 0.63rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calendar-filter-menu .what-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  padding: 0;
}
.calendar-filter-menu .what-row > strong {
  padding-top: 12px;
  font-size: 0.74rem;
}
.calendar-filter-menu .type-filter {
  width: 100%;
}
.calendar-filter-menu .type-menu {
  right: 0;
  left: auto;
  width: 100%;
  max-height: 45vh;
}
.daily-date-nav {
  width: 100%;
  min-height: 58px;
  padding: 0 clamp(18px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--paper);
  overflow-x: auto;
}
.daily-date-nav[hidden] {
  display: none;
}
.daily-date-nav > button,
.daily-date-nav .daily-date-pick {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  height: 58px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-transform: lowercase;
  white-space: nowrap;
  cursor: pointer;
}
.daily-date-nav > button + button::before,
.daily-date-nav .daily-date-pick::before {
  content: "·";
  position: absolute;
  left: -2px;
  color: rgba(25, 49, 43, 0.32);
}
.daily-date-nav > button.active {
  color: var(--clay);
  font-weight: 600;
}
.daily-date-nav .daily-date-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.daily-date-nav .daily-date-pick button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.daily-date-nav .daily-date-pick button:hover,
.daily-date-nav .daily-date-pick button:focus-visible {
  background: var(--mist);
  color: var(--forest);
}
.daily-date-nav .daily-date-pick svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.daily-date-nav .daily-date-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.calendar-shell.is-daily {
  margin-top: 22px;
  border: 0;
  background: #fff;
  box-shadow: none;
}
.calendar-shell.is-daily .calendar-toolbar,
.calendar-shell.is-daily .calendar-legend {
  display: none;
}
.calendar-shell.is-daily .week-grid {
  display: block;
  min-height: 0;
}
.calendar-shell.is-daily .daily-agenda {
  padding-top: 0;
}

/* Map view */
.event-map-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  background: #fff;
}
#event-map {
  min-height: 560px;
  z-index: 1;
  background: #e8eee9;
}
.map-location-list {
  display: block;
  max-height: 560px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.map-location-list button {
  position: relative;
  width: 100%;
  padding: 16px 18px 16px 42px;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.map-location-list button:hover {
  background: rgba(134, 166, 143, 0.12);
}
.map-location-list strong,
.map-location-list span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-location-list strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
}
.map-location-list span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.58rem;
}
.map-category-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f9b68;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}
.map-location-list .map-category-dot {
  position: absolute;
  top: 21px;
  left: 19px;
}
.map-category-dance {
  background: #3979d3;
}
.map-category-conscious {
  background: #2f9b68;
}
.map-category-kink {
  background: #cf4949;
}
.event-map-marker-shell {
  background: transparent;
  border: 0;
}
.event-map-marker {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
  border: 3px solid white;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  box-shadow: 0 5px 14px rgba(20, 39, 33, 0.3);
}
.event-map-marker > i {
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}
.map-style-legend {
  padding: 8px 10px;
  display: flex;
  gap: 11px;
  border: 1px solid rgba(25, 49, 43, 0.12);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(25, 49, 43, 0.12);
  font-family: var(--sans);
  font-size: 0.55rem;
}
.map-style-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-style-legend .map-category-dot {
  width: 8px;
  height: 8px;
  box-shadow: none;
}
.event-map-popup h3 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.event-map-popup ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.event-map-popup li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.event-map-popup a {
  display: block;
  padding: 7px 0;
}
.event-map-popup strong,
.event-map-popup span {
  display: block;
}
.event-map-popup strong {
  font-size: 0.72rem;
}
.event-map-popup span {
  margin-top: 3px;
  color: #58645f;
  font-size: 0.62rem;
}
.map-unavailable {
  max-width: 400px;
  margin: 70px auto;
  padding: 25px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .calendar-primary-nav {
    min-height: 46px;
    padding: 5px 9px;
    gap: 4px;
  }
  .calendar-primary-link {
    min-height: 34px;
    padding: 0 11px;
    gap: 7px;
    font-size: 0.78rem;
  }
  .calendar-primary-link svg {
    width: 20px;
    height: 20px;
  }
  .calendar-primary-coming-soon small {
    display: none;
  }
  .calendar-view-nav {
    min-height: 48px;
    padding: 0 15px;
    gap: 12px;
  }
  .calendar-view-links {
    gap: 16px;
  }
  .calendar-view-links button {
    font-size: 1.08rem;
  }
  .calendar-search-toggle {
    width: 36px;
    height: 36px;
  }
  .calendar-favorites-toggle {
    width: 36px;
    height: 36px;
  }
  .calendar-view-actions {
    gap: 5px;
  }
  .calendar-favorites-banner {
    justify-content: space-between;
    gap: 12px;
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  .calendar-period-nav {
    padding: 0 12px;
    gap: 8px;
  }
  .calendar-period-nav h2 {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }
  .calendar-context-row {
    height: 54px;
  }
  .calendar-search-scope {
    padding: 0 12px;
    gap: 12px;
    overflow-x: auto;
  }
  .calendar-search-scope legend,
  .calendar-search-scope label {
    font-size: 0.66rem;
  }
  .calendar-map-nav {
    gap: 22px;
  }
  .calendar-map-nav a,
  .calendar-map-nav button {
    font-size: 0.74rem;
  }
  .calendar-category-strip {
    padding: 5px 7px;
  }
  .calendar-category-bar {
    gap: 4px;
  }
  .calendar-category-bar button {
    min-height: 32px;
    padding: 0 9px;
    gap: 4px;
    font-size: 0.66rem;
  }
  .calendar-search-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .daily-date-nav {
    min-height: 54px;
    padding: 0 7px;
  }
  .daily-date-nav > button,
  .daily-date-nav .daily-date-pick {
    height: 54px;
    padding: 0 9px;
    font-size: 0.78rem;
  }
  .event-map-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  #event-map {
    min-height: 430px;
  }
  .map-location-list {
    max-height: 260px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 420px) {
  .calendar-view-links {
    gap: 10px;
  }
  .calendar-view-links button {
    font-size: 0.98rem;
  }
  .calendar-filter-menu {
    right: -5px;
    padding: 17px;
  }
  .filter-select-row,
  .calendar-filter-menu .what-row {
    grid-template-columns: 75px 1fr;
  }
}

/* Event detail drawer */
body.event-detail-open {
  overflow: hidden;
}
.event-detail-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 35, 30, 0.5);
  backdrop-filter: blur(3px);
}
.event-detail-drawer {
  position: fixed;
  z-index: 81;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, calc(100vw - 24px));
  padding: 0;
  border: 0;
  background: #fff;
  color: #18211e;
  box-shadow: -25px 0 70px rgba(16, 35, 29, 0.24);
  transform: translateX(105%);
  visibility: hidden;
  transition:
    transform 0.28s ease,
    visibility 0s linear 0.28s;
}
.event-detail-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.28s ease;
}
.event-detail-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 14px 14px 45px;
}
.event-detail-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #1b2924;
  aspect-ratio: 2.13/1;
}
.event-detail-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.15s ease;
}
.event-detail-close,
.event-detail-actions button,
.gallery-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 39, 35, 0.68);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.event-detail-close {
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
}
.event-detail-actions {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 9px;
}
.event-detail-actions button {
  position: static;
  width: 48px;
  height: 48px;
}
.event-detail-actions svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.event-detail-actions button.active {
  background: var(--clay);
}
.event-detail-actions button.active svg {
  fill: currentColor;
}
#event-going.active {
  background: var(--sage);
  color: var(--forest);
}
#event-going[data-status="interested"] {
  background: var(--link);
  color: #fff;
}
#event-going[data-status="not_interested"] {
  background: #c99a25;
  color: var(--forest);
}
#event-going[data-status="undecided"] .event-status-icon {
  filter: brightness(0) invert(1);
}
#event-going.active svg {
  fill: none;
  stroke-width: 2.4;
}
.event-status-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.event-attendance-menu {
  position: absolute;
  z-index: 5;
  top: 58px;
  right: 55px;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(20, 45, 37, 0.22);
}
.event-attendance-menu[hidden] {
  display: none;
}
.event-detail-actions .event-attendance-menu button {
  display: grid;
  grid-template-columns: 30px 1fr;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-align: left;
}
.event-attendance-menu button:hover,
.event-attendance-menu button[aria-checked="true"] {
  background: var(--cream);
}
.event-attendance-menu img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.event-action-toast {
  position: absolute;
  z-index: 6;
  top: 78px;
  right: 18px;
  margin: 0;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--forest);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.event-action-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.floating-action-tooltip {
  position: fixed;
  z-index: 9000;
  width: max-content;
  max-width: min(290px, calc(100vw - 20px));
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 48, 40, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  transform: translateX(-50%);
  animation: tooltip-arrive 150ms ease-out both;
}
@keyframes tooltip-arrive {
  from { opacity: 0; transform: translate(-50%, -3px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.event-hide-dialog {
  max-width: 520px;
}
.event-hide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.gallery-arrow {
  top: 50%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  font-family: var(--serif);
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.event-detail-gallery:hover .gallery-arrow {
  opacity: 1;
}
.gallery-previous {
  left: 13px;
}
.gallery-next {
  right: 13px;
}
.gallery-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 13px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.gallery-dots button.active {
  width: 19px;
  border-radius: 99px;
  background: white;
}
.event-detail-copy {
  padding: 27px 14px 10px;
}
.event-detail-media-labels {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 16px;
  display: flex;
  max-width: calc(100% - 92px);
  flex-wrap: wrap;
  gap: 7px;
}
.event-detail-track,
.event-detail-format {
  margin: 0;
  overflow: hidden;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(20, 45, 37, 0.2);
}
.event-detail-track {
  --event-colour: #4f8065;
  border: 1px solid color-mix(in srgb, var(--event-colour) 82%, #fff);
  background: var(--event-colour);
  color: #fff;
}
.event-detail-format {
  border: 1px solid color-mix(in srgb, var(--link) 62%, #fff);
  background: color-mix(in srgb, var(--link) 16%, white);
  color: var(--link);
}
.event-detail-track[data-category-family="dance"] { --event-colour: #3978b8; }
.event-detail-track[data-category-family="couples"] { --event-colour: #244a78; }
.event-detail-track[data-category-family="connection"] { --event-colour: #4f8065; }
.event-detail-track[data-category-family="wellness"] { --event-colour: #278b82; }
.event-detail-track[data-category-family="intimacy"] { --event-colour: #b7474d; }
.event-detail-track[data-category-family="creative"] { --event-colour: #cf6c36; }
.event-detail-track[data-category-family="festival"] { --event-colour: #bd7c28; }
.event-detail-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.event-detail-source {
  margin: 11px 0 17px;
  color: #707773;
  font-size: 0.72rem;
}
.event-detail-source a {
  color: #18211e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-detail-copy h2 a {
  color: inherit;
  text-decoration: none;
}
.event-detail-copy h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.event-detail-hierarchy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 0.66rem;
}
.event-detail-hierarchy a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-detail-review {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.event-detail-alert {
  margin: -7px 0 23px;
  padding: 14px 16px;
  border: 1px solid #e1c780;
  border-radius: 12px;
  background: #fff6dc;
  color: #604b20;
  font-size: 0.7rem;
  line-height: 1.55;
}
.event-detail-alert[hidden] {
  display: none;
}
.event-detail-facts {
  margin: 0;
}
.event-detail-facts > div {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
}
.event-detail-facts dt {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f3f4f2;
  color: #59625e;
  font-size: 1rem;
}
.event-detail-facts dd {
  margin: 0;
}
.event-detail-website {
  color: inherit;
  text-decoration: none;
}
.event-detail-website:hover strong {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-detail-facts strong,
.event-detail-facts span {
  display: block;
}
.event-detail-facts strong {
  font-size: 0.78rem;
}
.event-detail-facts span {
  margin-top: 4px;
  color: #747b77;
  font-size: 0.67rem;
}
.event-location-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}
.event-location-actions button,
.event-location-actions a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
}
.event-location-actions button {
  display: flex;
  align-items: center;
  gap: 4px;
}
.event-location-actions button > span {
  margin: 0;
  color: inherit;
  transition: transform 0.18s ease;
}
.event-location-actions button[aria-expanded="true"] > span {
  transform: rotate(180deg);
}
.event-location-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-location-actions a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.event-detail-mini-map {
  height: 235px;
  margin: 0 0 4px;
  border-bottom: 1px solid #e4e6e4;
  background: #e8eee9;
}
.event-detail-mini-map[hidden] {
  display: none;
}
.event-detail-description {
  padding: 25px 0 5px;
  color: #626a66;
  font-size: 0.8rem;
  line-height: 1.72;
}
.event-detail-description p {
  margin: 0 0 15px;
}
.event-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 0 27px;
}
.event-detail-tags span {
  padding: 7px 11px;
  border: 1px solid #dde0de;
  border-radius: 99px;
  background: #fafafa;
  font-size: 0.59rem;
}
@media (max-width: 620px) {
  .event-detail-scroll {
    padding: 0 0 35px;
  }
  .event-detail-gallery {
    border-radius: 0;
    aspect-ratio: 1.72/1;
  }
  .event-detail-copy {
    padding: 24px 20px;
  }
  .event-detail-close,
  .event-detail-actions button {
    width: 43px;
    height: 43px;
  }
  .gallery-arrow {
    opacity: 1;
  }
  .event-detail-copy h2 {
    font-size: 2.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .event-detail-drawer {
    transition: none;
  }
}

/* Calendar-first layout */
.hero-compact {
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 60px;
  grid-template-columns: 1.2fr 0.8fr;
}
.hero-compact h1 {
  font-size: clamp(3.7rem, 6.5vw, 6.5rem);
}
.hero-side {
  max-width: 510px;
  align-self: end;
  padding-bottom: 5px;
}
.hero-side > p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}
.hero-side .trust-row {
  margin-top: 24px;
}
.events-section {
  padding-top: 34px;
}
.filter-panel {
  position: sticky;
  top: 10px;
  z-index: 10;
  backdrop-filter: blur(18px);
}
.calendar-shell {
  margin-top: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(55, 55, 38, 0.08);
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 25px 28px 22px;
  border-bottom: 1px solid var(--line);
}
.calendar-toolbar .eyebrow {
  margin-bottom: 8px;
}
.calendar-toolbar h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.week-range-compact {
  display: none;
}
@media (max-width: 1349px) {
  .week-range-long {
    display: none;
  }
  .week-range-compact {
    display: inline;
  }
  .calendar-toolbar h2 {
    font-size: clamp(1.25rem, 2.25vw, 1.85rem);
  }
}
.week-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.week-controls button {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.week-controls #today-week {
  padding: 0 16px;
}
.week-controls button:hover {
  background: var(--forest);
  color: white;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 385px;
}
.week-day {
  min-width: 0;
  border-right: 1px solid var(--line);
}
.week-day:last-child {
  border-right: 0;
}
.week-day > header {
  min-height: 75px;
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  background: rgba(134, 166, 143, 0.06);
}
.week-day > header span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-size: 0.57rem;
}
.week-day > header strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}
.week-day-events {
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.week-event {
  position: relative;
  display: block;
  border-left: 3px solid var(--clay);
  padding: 10px 9px;
  background: rgba(200, 111, 80, 0.08);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.week-event:hover {
  transform: translateY(-2px);
  background: rgba(200, 111, 80, 0.14);
}
.week-event[data-track="Festivals"] {
  border-left-color: var(--sun);
  background: rgba(226, 168, 78, 0.1);
}
.week-event[data-track="5Rhythms"] {
  border-left-color: var(--sage);
  background: rgba(134, 166, 143, 0.12);
}
.week-event,
.month-event {
  --event-colour: #4f8065;
  border-left-color: var(--event-colour);
  background: color-mix(in srgb, var(--event-colour) 11%, #fff);
}
.week-event[data-category-family="dance"],
.month-event[data-category-family="dance"] {
  --event-colour: #3978b8;
}
.week-event[data-category-family="couples"],
.month-event[data-category-family="couples"] {
  --event-colour: #244a78;
}
.week-event[data-category-family="connection"],
.month-event[data-category-family="connection"] {
  --event-colour: #4f8065;
}
.week-event[data-category-family="wellness"],
.month-event[data-category-family="wellness"] {
  --event-colour: #278b82;
}
.week-event[data-category-family="intimacy"],
.month-event[data-category-family="intimacy"] {
  --event-colour: #b7474d;
}
.week-event[data-category-family="creative"],
.month-event[data-category-family="creative"] {
  --event-colour: #cf6c36;
}
.week-event[data-category-family="festival"],
.month-event[data-category-family="festival"] {
  --event-colour: #bd7c28;
}
.week-event:hover {
  background: color-mix(in srgb, var(--event-colour) 17%, #fff);
}
.week-event.is-going,
.month-event.is-going,
.week-event.is-going:hover,
.daily-agenda-card.is-going,
.daily-agenda-card.is-going:hover {
  border-left-color: var(--event-colour);
  background: color-mix(in srgb, var(--sage) 58%, #fff);
  color: var(--ink);
}
.week-event.is-interested,
.month-event.is-interested,
.week-event.is-interested:hover,
.daily-agenda-card.is-interested,
.daily-agenda-card.is-interested:hover {
  border-left-color: var(--event-colour);
  background: #cfe3f2;
  color: var(--ink);
}
.week-event.is-not-interested,
.month-event.is-not-interested,
.week-event.is-not-interested:hover,
.daily-agenda-card.is-not-interested,
.daily-agenda-card.is-not-interested:hover {
  border-left-color: var(--event-colour);
  background: #c99a25;
  color: var(--ink);
}
.week-event.is-going .week-event-time,
.week-event.is-going small,
.month-event.is-going strong,
.week-event.is-interested .week-event-time,
.week-event.is-interested small,
.month-event.is-interested strong,
.week-event.is-not-interested .week-event-time,
.week-event.is-not-interested small,
.month-event.is-not-interested strong {
  color: var(--ink);
}
.week-event-time {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.55rem;
  line-height: 1.25;
}
.week-event strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.05;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.week-event small {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.56rem;
}
.calendar-favourite-mark,
.calendar-attendance-mark,
.all-day-event .calendar-favourite-mark {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 8px;
  display: grid;
  width: 18px;
  height: 18px;
  margin: 0;
  place-items: center;
  overflow: visible;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1;
  text-overflow: clip;
}
.calendar-attendance-mark {
  right: 27px;
  border: 0;
}
.calendar-attendance-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.all-day-event,
.month-event {
  position: relative;
}
.all-day-event .calendar-favourite-mark {
  color: #fff;
}
.month-event .calendar-favourite-mark {
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  font-size: 0.58rem;
}
.month-event .calendar-attendance-mark {
  top: 3px;
  right: 18px;
  width: 12px;
  height: 12px;
}
.daily-agenda-card .calendar-favourite-mark {
  top: 16px;
  right: 18px;
  width: 24px;
  height: 24px;
  font-size: 1rem;
}
.daily-agenda-card .calendar-attendance-mark {
  top: 17px;
  right: 48px;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
}
.no-events {
  display: block;
  padding-top: 15px;
  text-align: center;
  color: rgba(83, 98, 93, 0.36);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
}
.calendar-legend {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.64rem;
}
.calendar-legend p {
  margin: 0;
}
.result-bar {
  margin-top: 48px;
}
.result-bar strong {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 500;
}
.about-strip {
  max-width: 1150px;
  margin: 0 auto;
  padding: 85px clamp(24px, 5vw, 70px);
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 0.8fr;
  align-items: start;
  gap: clamp(25px, 5vw, 70px);
}
.about-strip h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
}
.about-strip > p:last-child {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 1080px) {
  .week-grid {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(145px, 1fr));
  }
  .week-day {
    min-height: 330px;
  }
}

@media (max-width: 680px) {
  .hero-compact {
    grid-template-columns: 1fr;
    padding-top: 54px;
    padding-bottom: 42px;
    gap: 26px;
  }
  .hero-side {
    align-self: auto;
  }
  .filter-panel {
    position: relative;
    top: auto;
  }
  .calendar-toolbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
  .calendar-toolbar > div:first-child {
    min-width: 0;
  }
  .calendar-toolbar .eyebrow {
    display: none;
  }
  .calendar-toolbar h2 {
    font-size: clamp(1.05rem, 4.5vw, 1.45rem);
  }
  .week-controls {
    flex: 0 0 auto;
    gap: 4px;
  }
  .week-controls button {
    min-width: 36px;
    width: 36px;
    height: 36px;
  }
  .week-controls #today-week {
    width: auto;
    padding: 0 10px;
  }
  .week-grid {
    grid-template-columns: repeat(7, minmax(138px, 1fr));
  }
  .calendar-legend {
    align-items: start;
    flex-direction: column;
  }
  .about-strip {
    grid-template-columns: 1fr;
  }
}

/* Restrained account and admin page headings */
.account-editor-page {
  padding-top: clamp(72px, 8vw, 110px);
}
.account-editor-page > h1 {
  font-size: clamp(3.2rem, 6.5vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.admin-page {
  padding-top: clamp(34px, 4.5vw, 62px);
}
.admin-heading {
  margin-bottom: 32px;
}
.admin-heading h1 {
  margin: 0 0 8px;
  font-size: clamp(2.9rem, 5vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.admin-heading > div > p:last-child {
  margin: 0;
}

/* Profile hero and data-use acknowledgement */
.account-editor-page.profile-page {
  max-width: none;
  padding: 0 0 100px;
}
.profile-page-content {
  width: min(100%, 1040px);
  padding: 0 clamp(16px, 2.5vw, 34px);
}
.profile-hero > img {
  transition: opacity 0.22s ease;
}
.profile-hero .immersive-hero-copy {
  max-width: 620px;
  padding: clamp(34px, 5vw, 62px) clamp(22px, 6vw, 90px);
}
.profile-hero .immersive-hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
}
.profile-hero .immersive-hero-copy p {
  max-width: 490px;
  margin-top: 14px;
  font-size: clamp(0.88rem, 1.6vw, 1.08rem);
}
.account-editor-page.settings-page {
  max-width: none;
  padding: 0 0 100px;
}
.settings-page-content {
  width: min(100%, 1040px);
  padding: clamp(32px, 5vw, 64px) clamp(22px, 6vw, 90px) 0;
}
.settings-hero .immersive-hero-copy {
  max-width: 620px;
  padding: clamp(34px, 5vw, 62px) clamp(22px, 6vw, 90px);
}
.settings-hero .immersive-hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
}
.settings-hero .immersive-hero-copy p {
  max-width: 490px;
  margin-top: 14px;
  font-size: clamp(0.88rem, 1.6vw, 1.08rem);
}
.settings-theme-card > p {
  margin: -0.6rem 0 1.35rem;
  color: var(--ink-soft);
}
.theme-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.theme-choice > label {
  min-width: 0;
  margin: 0;
  cursor: pointer;
}
.theme-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.theme-choice-content {
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink-soft);
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.theme-choice-content svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.theme-choice-content strong,
.theme-choice-content small {
  display: block;
}
.theme-choice-content strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.theme-choice-content small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
}
.theme-choice label:hover .theme-choice-content {
  border-color: var(--sage);
  transform: translateY(-1px);
}
.theme-choice input:checked + .theme-choice-content {
  border-color: var(--forest);
  background: color-mix(in srgb, var(--sage) 22%, var(--surface));
  box-shadow: inset 0 0 0 1px var(--forest);
  color: var(--forest);
}
.theme-choice input:focus-visible + .theme-choice-content {
  outline: 3px solid color-mix(in srgb, var(--link) 45%, transparent);
  outline-offset: 3px;
}
.theme-choice-status {
  min-height: 1.2em;
  margin: 12px 0 0 !important;
  font-size: 0.72rem;
}
@media (max-width: 560px) {
  .theme-choice {
    gap: 8px;
  }
  .theme-choice-content {
    min-height: 104px;
    padding: 13px 6px;
  }
  .theme-choice-content small {
    font-size: 0.62rem;
  }
}

html[data-theme="dark"] {
  --ink: #eef6f2;
  --ink-soft: #b7c8c1;
  --forest: #a9d4bf;
  --sage: #749987;
  --clay: #e58a69;
  --sun: #efbc68;
  --link: #91bce5;
  --cream: #19352e;
  --paper: #142f29;
  --surface: #0e241f;
  --surface-soft: #19352e;
  --line: rgba(224, 241, 233, 0.18);
}
html[data-theme="dark"] body {
  background: var(--surface);
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .calendar-primary-nav,
html[data-theme="dark"] .calendar-view-nav,
html[data-theme="dark"] footer,
html[data-theme="dark"] .account-editor-card,
html[data-theme="dark"] .account-menu,
html[data-theme="dark"] .header-region-menu,
html[data-theme="dark"] .dialog-card,
html[data-theme="dark"] .profile-section-list,
html[data-theme="dark"] .profile-section,
html[data-theme="dark"] .catalogue-detail-body,
html[data-theme="dark"] .catalogue-detail-page {
  background-color: var(--surface);
  color: var(--ink);
}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  color: var(--ink);
}
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .category-sections-toggle,
html[data-theme="dark"] .calendar-icon-button,
html[data-theme="dark"] .theme-choice-content {
  color: var(--ink);
}
html[data-theme="dark"] img:not(.brand-mark):not(.signin-avatar) {
  color-scheme: normal;
}
.profile-page.is-loading .profile-page-content > :not(.profile-mode-tabs):not(.profile-loading) {
  display: none !important;
}

.profile-loading {
  min-height: clamp(30rem, 58svh, 42rem);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--forest, #143c35);
  text-align: center;
}

.profile-loading[hidden] {
  display: none;
}

.profile-loading-calendar {
  width: clamp(7.5rem, 18vw, 10rem);
  aspect-ratio: 1;
}

.profile-loading-calendar svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.profile-loading-ring,
.profile-loading-frame,
.profile-loading-binding,
.profile-loading-lotus,
.profile-loading-heart {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-loading-ring {
  stroke: var(--clay, #c96f4f);
  stroke-width: 3;
  stroke-dasharray: 18 12;
  transform-origin: 60px 60px;
  animation: profile-loading-spin 2.2s linear infinite;
}

.profile-loading-frame,
.profile-loading-binding {
  stroke: var(--forest, #143c35);
  stroke-width: 5;
}

.profile-loading-lotus,
.profile-loading-heart {
  stroke: var(--sage-dark, #56856f);
  stroke-width: 4;
  transform-origin: 60px 68px;
}

.profile-loading-lotus {
  animation: profile-loading-lotus 2.8s ease-in-out infinite;
}

.profile-loading-heart {
  fill: color-mix(in srgb, var(--clay, #c96f4f) 18%, transparent);
  stroke: var(--clay, #c96f4f);
  animation: profile-loading-heart 2.8s ease-in-out infinite;
}

.profile-loading p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

@keyframes profile-loading-spin {
  to { transform: rotate(360deg); }
}

@keyframes profile-loading-lotus {
  0%, 38% { opacity: 1; transform: scale(1); }
  48%, 90% { opacity: 0; transform: scale(.76); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes profile-loading-heart {
  0%, 38% { opacity: 0; transform: scale(.72); }
  52%, 84% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(.72); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-loading-ring { animation-duration: 6s; }
  .profile-loading-lotus { animation: none; }
  .profile-loading-heart { display: none; }
}

.profile-mode-tabs {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  gap: clamp(22px, 3vw, 40px);
  margin: 0 0 16px;
  padding: 0 clamp(4px, 1.5vw, 16px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  width: calc(100% + (2 * clamp(16px, 2.5vw, 34px)));
  margin-right: calc(-1 * clamp(16px, 2.5vw, 34px));
  margin-left: calc(-1 * clamp(16px, 2.5vw, 34px));
  padding-right: clamp(20px, 4vw, 50px);
  padding-left: clamp(20px, 4vw, 50px);
}
.profile-mode-tabs button {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 650 1.16rem var(--sans);
  cursor: pointer;
}
.profile-mode-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.profile-mode-tabs button:hover,
.profile-mode-tabs button.is-active {
  color: var(--ink);
}
.profile-mode-tabs button.is-active::after {
  transform: scaleX(1);
}
.profile-mode-tabs span {
  align-self: center;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.profile-preview {
  max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.profile-preview[hidden] {
  display: none;
}
.profile-preview-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.profile-preview-header img {
  width: 96px;
  height: 96px;
  border: 4px solid var(--sage);
  border-radius: 50%;
  object-fit: cover;
}
.profile-preview-header img.role-facilitator {
  border-color: #8b5cf6;
}
.profile-preview-header img.role-admin {
  border-color: #3b82f6;
}
.profile-preview-header h2 {
  margin: 0;
  font: 400 clamp(2rem, 5vw, 3.4rem) / 1 var(--serif);
}
.profile-preview-names > p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}
.profile-preview-names > p:empty {
  display: none;
}
.profile-preview-names [data-preview-preferred] {
  font-size: 1rem;
  font-weight: 700;
}
.profile-preview-header p,
.profile-preview-header > strong {
  margin: 8px 0 0;
  color: var(--ink-soft);
}
.profile-preview-identity {
  display: grid;
  justify-items: end;
  gap: 5px;
  color: var(--ink-soft);
}
.profile-preview-star-sign{display:flex;align-items:center;justify-content:flex-end;gap:8px}.profile-preview-star-sign img{width:48px;height:48px;border:0;border-radius:0;object-fit:contain}
.profile-preview-identity .profile-preview-age:not(:empty)::before {
  content: "Age ";
  font-size: 0.72em;
}
.profile-contribution {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}
.profile-contribution > span {
  color: #2f7d5a;
  font-weight: 800;
}
.profile-contribution > div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e9e5;
}
.profile-contribution i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}
.profile-contribution p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.community-orbit-section {
  padding: 28px;
  background: #f4f4f1;
}
.community-orbit-section h3,
.profile-preview-about h3 {
  margin: 0;
  font: 400 1.75rem var(--serif);
}
.community-orbit-section > p {
  margin: 6px 0 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.community-orbit-shell {
  position: relative;
  min-height: 380px;
  border: 1px solid rgba(25, 49, 43, 0.1);
  border-radius: 20px;
  background: radial-gradient(
      circle at 50% 48%,
      rgba(134, 166, 143, 0.16),
      transparent 34%
    ),
    #fafaf8;
  overflow: hidden;
}
.community-orbit {
  position: absolute;
  inset: 0;
  min-height: 380px;
}
.community-orbit-reset {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(25, 49, 43, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest);
  font: 700 0.72rem var(--sans);
  box-shadow: 0 5px 18px rgba(20, 42, 35, 0.08);
  cursor: pointer;
}
.community-orbit-hint {
  margin: 11px 2px 0 !important;
  text-align: center;
  font-size: 0.72rem !important;
}
.profile-preview-about {
  padding: 28px;
}
.profile-preview-about p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.collapsible-section {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.collapsible-section:last-child { margin-bottom: 0; }
.collapsible-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font: 400 1.55rem var(--serif);
  background: var(--cream);
}
.collapsible-section > summary::-webkit-details-marker { display: none; }
.collapsible-section > summary i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 50%;
  color: var(--forest);
  font: 700 1rem var(--sans);
  transition: transform .2s ease;
}
.collapsible-section > summary:hover,
.collapsible-section > summary:focus-visible { background: color-mix(in srgb, var(--cream) 76%, var(--sage) 24%); }
.collapsible-section > summary:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.collapsible-section[open] > summary i { transform: rotate(180deg); }
.collapsible-section[open] > summary { border-bottom: 1px solid var(--line); }
.collapsible-section-body { padding: 18px; }
.collapsible-section-body > .tertiary-action { margin-top: 12px; }
.collapsible-section--summary-card {
  border-color: color-mix(in srgb, var(--line) 82%, var(--sage) 18%);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgb(20 62 53 / 7%);
}
.collapsible-section--summary-card > summary {
  min-height: 74px;
  padding: 12px 16px;
  background: #fff;
  font: inherit;
}
.collapsible-section--summary-card > summary:hover,
.collapsible-section--summary-card > summary:focus-visible {
  background: color-mix(in srgb, #fff 90%, var(--sage) 10%);
}
.collapsible-summary-label,
.collapsible-summary-controls {
  display: flex;
  align-items: center;
}
.collapsible-summary-label {
  flex: 1 1 0;
  min-width: 0;
  gap: 14px;
}
.collapsible-summary-label strong {
  overflow: hidden;
  color: var(--forest);
  font: 400 clamp(1.35rem, 3vw, 1.7rem) var(--serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collapsible-summary-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sage) 15%, #fff);
  color: var(--forest);
}
.collapsible-summary-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.collapsible-summary-controls {
  flex: 0 0 auto;
  margin-left: auto;
  gap: 10px;
}
.collapsible-summary-controls b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #73b957;
  color: #fff;
  font: 700 1.05rem var(--sans);
}
.collapsible-section--summary-card > summary .collapsible-summary-chevron {
  display: block;
  order: initial;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 0;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform .2s ease;
}
.profile-section .collapsible-section--summary-card > summary .collapsible-summary-chevron::before {
  content: none;
}
.profile-section .collapsible-section--summary-card[open] > summary .collapsible-summary-chevron {
  display: block;
  transform: rotate(45deg);
}
.qualification-group--academic .collapsible-summary-controls b { background: #6f4a9e; }
.qualification-group--credentials .collapsible-summary-controls b { background: #895fb0; }
.qualification-group--silly .collapsible-summary-controls b { background: #a77bc3; }
.collapsible-section--summary-card[open] > summary {
  border-bottom-color: color-mix(in srgb, var(--line) 82%, var(--sage) 18%);
}
@media (max-width: 620px) {
  .collapsible-section--summary-card > summary { min-height: 66px; padding: 10px 12px; }
  .collapsible-summary-label { gap: 10px; }
  .collapsible-summary-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .collapsible-summary-icon svg { width: 24px; height: 24px; }
  .collapsible-summary-controls { gap: 6px; }
  .collapsible-summary-controls b { width: 36px; height: 36px; font-size: .95rem; }
}
.qualification-card {
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
}
.qualification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.qualification-grid label:first-child {
  grid-column: 1/-1;
}
.qualification-duration {
  display: grid;
  grid-template-columns: minmax(80px, 0.7fr) 1fr;
  gap: 8px;
}
.profile-preview-qualifications {
  border-top: 1px solid var(--line);
}
.profile-preview-qualifications > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  list-style: none;
  cursor: pointer;
  font: 400 1.75rem var(--serif);
}
.profile-preview-qualifications > summary::-webkit-details-marker {
  display: none;
}
.profile-preview-qualifications > summary i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.profile-preview-qualifications[open] > summary i {
  transform: rotate(180deg);
}
.profile-preview-qualifications > div {
  padding: 0 28px 28px;
}
.profile-preview-qualifications section + section {
  margin-top: 24px;
}
.profile-preview-qualifications h4 {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-preview-qualifications article {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.profile-preview-qualifications article p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.profile-preview-qualifications a {
  color: var(--forest);
}
.closest-community-editor blockquote {
  margin: 0 0 12px;
  font: 400 1.45rem var(--serif);
}
.community-entry-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.community-entry {
  display: grid;
  grid-template-columns: 42px minmax(130px, 0.8fr) minmax(180px, 1.3fr) auto;
  align-items: end;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}
.community-entry label {
  margin: 0;
}
.community-entry-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  align-self: center;
  border: 2px solid #a5aaa7;
  border-radius: 50%;
  font-size: 1.5rem;
}
.community-entry-avatar.is-confirmed {
  border-color: #2f7d5a;
}
.community-entry-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.community-entry small {
  align-self: center;
  color: var(--ink-soft);
}
.profile-data-disclosure {
  margin: 0 0 14px;
  border: 1px solid rgba(25, 49, 43, 0.2);
  border-radius: 17px;
  background: rgba(134, 166, 143, 0.11);
  overflow: hidden;
}
.profile-data-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  list-style: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  cursor: pointer;
}
.profile-data-disclosure > summary::-webkit-details-marker {
  display: none;
}
.profile-data-disclosure > summary i {
  font-style: normal;
  transition: transform 0.18s ease;
}
.profile-data-disclosure[open] > summary i {
  transform: rotate(180deg);
}
.profile-data-disclosure-body {
  padding: 0 25px 24px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.7;
}
.profile-data-disclosure-body > p {
  max-width: 760px;
  margin: 0;
}
.profile-data-disclosure-body ul {
  margin: 16px 0 20px;
  padding: 15px 0 0 20px;
  border-top: 1px solid rgba(25, 49, 43, 0.13);
}
.profile-data-disclosure-body strong {
  color: var(--ink);
}
.profile-acknowledgement {
  display: inline-block;
  margin: 0 !important;
}
.profile-acknowledgement input {
  position: absolute;
  opacity: 0;
}
.profile-acknowledgement span {
  display: inline-flex;
  align-items: center;
  padding: 11px 17px;
  border: 1px solid var(--forest);
  border-radius: 99px;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 650;
  cursor: pointer;
}
.profile-acknowledgement input:checked + span {
  background: var(--forest);
  color: #fff;
}
@media (max-width: 620px) {
  .profile-page-content {
    padding: 0 10px;
  }
  .profile-hero {
    min-height: 230px;
  }
  .profile-hero::after {
    background: linear-gradient(
      0deg,
      rgba(12, 38, 31, 0.9),
      rgba(12, 38, 31, 0.15) 75%
    );
  }
  .profile-hero .immersive-hero-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
  }
  .profile-hero .immersive-hero-copy h1 {
    font-size: 3.3rem;
  }
  .profile-data-disclosure > summary {
    padding: 16px 14px;
  }
  .profile-data-disclosure-body {
    padding: 0 14px 18px;
  }
  .profile-mode-tabs {
    min-height: 54px;
    width: calc(100% + 20px);
    margin-right: -10px;
    margin-left: -10px;
    padding: 0 15px;
    gap: 20px;
  }
  .profile-mode-tabs button {
    font-size: 1.08rem;
  }
  .profile-mode-tabs span {
    font-size: 0.68rem;
  }
  .profile-preview-header {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 20px;
  }
  .profile-preview-header img {
    width: 72px;
    height: 72px;
  }
  .profile-preview-identity {
    grid-column: 2;
    justify-self: end;
    justify-items: end;
    text-align: right;
  }
  .profile-preview-star-sign img{width:42px;height:42px}
  .profile-contribution {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 20px;
  }
  .community-orbit-section {
    padding: 20px 10px;
  }
  .community-orbit-shell,
  .community-orbit {
    min-height: 350px;
  }
  .community-entry {
    grid-template-columns: 36px 1fr;
  }
  .community-entry label:nth-of-type(2),
  .community-entry small {
    grid-column: 2;
  }
  .community-entry-avatar {
    width: 36px;
    height: 36px;
  }
}

.profile-labelled-field > label {
  margin: 0;
}
.profile-visibility-choice {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 20px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
.profile-visibility-choice legend {
  min-width: 0;
  flex: 1 1 auto;
  float: left;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.profile-visibility-choice label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.profile-visibility-choice input {
  margin: 0;
  accent-color: var(--forest);
}
.profile-visibility-row {
  display: grid;
  grid-template-columns: auto auto;
  width: 100%;
  justify-content: start;
  margin: 2px 0 18px;
}
.profile-visibility-row legend {
  grid-column: 1/-1;
  float: none;
  width: 100%;
  margin: 0 0 4px;
}
.facilitator-status-choice {
  margin: 0 0 18px;
}
.profile-section-save {
  margin-top: 24px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.profile-section-save.is-saved {
  border-color: #2f7d5a;
  background: #2f7d5a;
  color: #fff;
}

.profile-save-status {
  min-height: 0;
  margin: 0;
  padding: 0 30px;
  color: #a43f31;
  font-size: 0.72rem;
}
.profile-save-status:empty {
  display: none;
}
/* Admin source-to-proposal pipeline */
.admin-pipeline {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.admin-pipeline button {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}
.admin-pipeline button:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
}
.admin-pipeline strong {
  font: 400 2rem/1 var(--serif);
  color: var(--terracotta);
}
.admin-pipeline span {
  font-size: 0.78rem;
  font-weight: 800;
}
.admin-pipeline small {
  color: var(--ink-soft);
  font-size: 0.58rem;
  line-height: 1.35;
}
@media (max-width: 800px) {
  .admin-pipeline {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .admin-pipeline {
    grid-template-columns: 1fr;
  }
}

/* Structured profile editor */
.profile-level-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(134, 166, 143, 0.15), #fff);
}
.profile-level-card > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-level-card > div span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.profile-level-card > div strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font: 500 1.45rem var(--serif);
}
.profile-level-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.profile-level-card p strong {
  color: var(--ink);
}
.profile-editor {
  padding: 0;
  overflow: hidden;
}
.profile-section {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.profile-section:not([open]) summary::after {
  content: none;
}
.profile-section:not([open]) summary i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid #d66d65;
  border-radius: 50%;
  background: #fff;
  color: #b84e47;
  font: 800 1rem var(--sans);
}
.profile-section:not([open]) summary i::before {
  content: "×";
}
.profile-section.is-complete:not([open]) summary i {
  border-color: #66a17a;
  color: #287b4c;
}
.profile-section.is-complete:not([open]) summary i::before {
  content: "✓";
}
.profile-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px clamp(16px, 2.5vw, 24px);
  list-style: none;
  cursor: pointer;
}
.profile-section summary::-webkit-details-marker {
  display: none;
}
.profile-section summary > span {
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-section summary small {
  color: var(--terracotta);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.profile-section summary strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}
.profile-section summary i {
  font-style: normal;
}
.profile-section-body {
  padding: 2px clamp(16px, 2.5vw, 24px) 24px;
}
.profile-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.account-editor-card select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font: inherit;
}
.profile-role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.profile-role-options > label {
  position: relative;
  margin: 0;
}
.profile-role-options input {
  position: absolute;
  opacity: 0;
}
.profile-role-options span {
  height: 100%;
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
  cursor: pointer;
}
.profile-role-options input:checked + span {
  border-color: var(--forest);
  box-shadow: inset 0 0 0 2px var(--forest);
  background: rgba(134, 166, 143, 0.13);
}
.profile-role-options strong,
.profile-role-options small {
  display: block;
}
.profile-role-options small {
  margin-top: 6px;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.45;
}
.facilitator-next-steps {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(230, 171, 71, 0.13);
}
.facilitator-next-steps > p {
  margin-top: 0;
  line-height: 1.6;
}
.facilitator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.facilitator-linker {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.profile-save-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
}
.profile-save-bar p {
  margin: 0;
}
@media (max-width: 620px) {
  .profile-level-card {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 6px;
  }
  .profile-field-grid,
  .profile-role-options {
    grid-template-columns: 1fr;
  }
  .profile-section summary {
    padding: 17px 14px;
  }
  .profile-section:not([open]) summary::after {
    display: none;
  }
  .profile-section-body {
    padding: 2px 14px 20px;
  }
  .profile-save-bar {
    padding: 18px 14px;
  }
}
.profile-editor-scrim {
  display: none;
}
.profile-section[open] {
  position: fixed;
  z-index: 81;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, calc(100vw - 24px));
  overflow-y: auto;
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: -25px 0 70px rgba(16, 35, 29, 0.24);
}
.profile-section[open] > summary {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 72px;
  padding: 15px 24px 15px 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 240, 0.96);
  backdrop-filter: blur(12px);
}
.profile-section[open] > summary::before {
  content: "←";
  position: absolute;
  left: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font: 400 1.45rem var(--sans);
}
.profile-section[open] > summary i {
  display: none;
}
.profile-section[open] .profile-section-body {
  padding: 24px clamp(18px, 5vw, 42px) 60px;
}
@media (min-width: 900px) {
  .profile-section[data-profile-section="facilitator-details"][open] {
    width: calc(100vw - clamp(56px, 7vw, 104px));
    max-width: none;
  }
}
.profile-editor-open {
  overflow: hidden;
}
.profile-editor-open .profile-editor-scrim {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: block;
  border: 0;
  background: rgba(17, 35, 30, 0.5);
  cursor: w-resize;
  backdrop-filter: blur(3px);
}
.profile-editor-open .profile-save-status {
  position: fixed;
  z-index: 82;
  right: 22px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 18px rgba(16, 35, 29, 0.12);
}

.profile-section-placeholder {
  position: relative;
  min-height: 75px;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 61, 53, 0.13);
  box-shadow: inset 4px 0 var(--forest);
}
.profile-section-placeholder[hidden] {
  display: none;
}
.profile-section-placeholder summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px clamp(16px, 2.5vw, 24px);
  list-style: none;
  pointer-events: none;
}
.profile-section-placeholder summary > span {
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-section-placeholder summary small {
  color: var(--terracotta);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.profile-section-placeholder summary strong {
  font: 400 1.65rem var(--serif);
}
.profile-section-placeholder summary i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-style: normal;
}
.profile-section-placeholder summary i::before {
  content: "•";
}

/* Keep carousel navigation compact and aligned with pagination. */
.welcome-carousel-arrow {
  top: auto;
  bottom: 5px;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  transform: none;
}
.welcome-carousel-arrow:hover {
  transform: scale(1.05);
}
.gallery-arrow {
  top: auto;
  bottom: 4px;
  width: 28px;
  height: 28px;
  margin-top: 0;
  font-size: 1.25rem;
}
@media (max-width: 520px) {
  .welcome-carousel-arrow {
    top: auto;
    bottom: 5px;
    width: 32px;
    height: 32px;
  }
}

/* Illustrated navigation and map directory */
.nav-item {
  align-items: center;
  gap: 11px;
}
.nav-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(255, 255, 255, 0.68);
}
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon,
.nav-directory-item:hover .nav-icon,
.nav-directory-item.active .nav-icon {
  color: #fff;
}
.nav-directory-item {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav-directory-item .nav-icon {
  width: 18px;
  height: 18px;
}
.nav-map-branch {
  margin-top: 4px;
  border: 0;
}
.nav-map-branch > .nav-branch-heading > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 11px;
  font-size: 1.15rem;
}
.nav-map-branch > .nav-branch-heading > a .nav-icon {
  width: 21px;
  height: 21px;
}
.nav-map-branch > .nav-branch-children {
  margin: 0 8px 8px 21px;
  padding: 2px 0 4px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.nav-map-branch .nav-child {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
}
.nav-map-branch .nav-child span {
  font-family: var(--serif);
  font-size: 0.88rem;
}
.nav-map-branch .nav-child small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.53rem;
}
.nav-map-branch .nav-child.active small {
  color: rgba(255, 255, 255, 0.68);
}
.map-directory-page {
  min-height: calc(100vh - 62px);
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px) 90px;
}
.map-directory-heading {
  max-width: 820px;
  margin-bottom: 30px;
}
.map-directory-heading h1 {
  margin: 9px 0 14px;
  font: 400 clamp(3.5rem, 8vw, 7rem) / 0.88 var(--serif);
  letter-spacing: -0.05em;
}
.map-directory-heading > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.map-directory-shell {
  height: min(680px, 72vh);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(25, 49, 43, 0.1);
}
.map-directory-canvas {
  min-height: 520px;
  background: #e8eee9;
}
.map-directory-list {
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.map-directory-list button {
  width: 100%;
  display: block;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.map-directory-list button:hover {
  background: rgba(134, 166, 143, 0.13);
}
.map-directory-list strong,
.map-directory-list span {
  display: block;
}
.map-directory-list strong {
  font-family: var(--serif);
  font-size: 1rem;
}
.map-directory-list span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.58rem;
}
.map-category-festival {
  background: #bd7c28;
}
.event-map-popup > p {
  margin: -3px 0 8px;
  color: #65706b;
  font-size: 0.62rem;
}
@media (max-width: 760px) {
  .map-directory-page {
    padding-right: 14px;
    padding-left: 14px;
  }
  .map-directory-shell {
    height: auto;
    grid-template-columns: 1fr;
  }
  .map-directory-canvas {
    height: 58vh;
    min-height: 430px;
  }
  .map-directory-list {
    max-height: 280px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
.nav-map-branch .nav-child {
  grid-template-columns: 18px 1fr;
  gap: 2px 8px;
}
.nav-map-branch .nav-child .nav-icon {
  grid-row: 1/3;
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.nav-map-branch .nav-child small {
  grid-column: 2;
}
.nav-map-branch > .nav-branch-heading {
  display: block;
}
.nav-map-branch .nav-branch-toggle {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) 24px;
  gap: 11px;
  align-items: center;
  padding: 12px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  cursor: pointer;
}
.nav-map-branch .nav-branch-toggle:hover,
.nav-map-branch .nav-branch-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.nav-map-branch .nav-branch-toggle .nav-icon {
  width: 21px;
  height: 21px;
}
.nav-map-branch .nav-branch-toggle span {
  display: inline;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.15rem;
  opacity: 1;
  visibility: visible;
}
.nav-map-branch .nav-branch-toggle i {
  font-style: normal;
  text-align: center;
  transition: transform 0.18s ease;
}
.nav-map-branch.open .nav-branch-toggle i {
  transform: rotate(180deg);
}
.nav-map-branch.open > .nav-branch-heading > button {
  transform: none;
}
.nav-map-branch > .nav-branch-children {
  margin-right: 0;
  margin-left: 5px;
  padding-left: 10px;
}
.nav-map-branch .nav-child {
  margin-right: 0;
  padding-right: 11px;
}

/* First-visit welcome over the weekly Event Home */
.welcome-overlay {
  width: calc(100vw - 10px);
  max-width: none;
  height: calc(100vh - 10px);
  max-height: none;
  margin: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 34px 110px rgba(8, 27, 21, 0.34);
}
.welcome-overlay::backdrop {
  background: rgba(18, 42, 34, 0.48);
  backdrop-filter: blur(7px);
}
.welcome-overlay-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.7fr);
}
.welcome-overlay-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 21px 0 0 21px;
  background: var(--forest);
}
.welcome-overlay-track {
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}
.welcome-overlay-track article {
  position: relative;
  min-width: 100%;
  height: 100%;
  min-height: 620px;
}
.welcome-overlay-track article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(9, 34, 27, 0.9),
    rgba(9, 34, 27, 0.08) 70%
  );
}
.welcome-overlay-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-overlay-track article > div {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 7vw, 90px);
  bottom: 82px;
  left: clamp(28px, 7vw, 90px);
  color: #fff;
}
.welcome-overlay-track h2 {
  max-width: 900px;
  margin: 15px 0 0;
  font: 400 clamp(2.7rem, 5vw, 5.7rem) / 0.95 var(--serif);
  letter-spacing: -0.045em;
}
.welcome-overlay-arrow {
  position: absolute;
  z-index: 3;
  bottom: 19px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.45);
  color: #fff;
  cursor: pointer;
}
.welcome-overlay-arrow.previous {
  left: 20px;
}
.welcome-overlay-arrow.next {
  right: 20px;
}
.welcome-overlay-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 31px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.welcome-overlay-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 99px;
  background: transparent;
}
.welcome-overlay-dots button.active {
  width: 22px;
  background: #fff;
}
.welcome-overlay-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 68px);
}
.welcome-location-guess {
  font-size: 1.05rem;
  line-height: 1.55;
}
.welcome-overlay-actions > .button {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 17px 22px;
}
.welcome-overlay-actions > .button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.58rem;
}
.welcome-overlay-actions section {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.welcome-overlay-actions h3 {
  margin: 0 0 9px;
  font: 400 1.65rem var(--serif);
}
.welcome-overlay-actions section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.65;
}
.welcome-overlay-explore {
  align-self: center;
  margin-top: 25px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.7rem;
  cursor: pointer;
}

/* Dedicated home-region picker */
.region-picker-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) clamp(16px, 4vw, 48px) 100px;
}
.region-picker-page > header h1 {
  margin: 10px 0 30px;
  font: 400 clamp(2.8rem, 6vw, 5.8rem) / 0.95 var(--serif);
  letter-spacing: -0.05em;
}
.region-picker-map {
  height: min(570px, 62vh);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #e8eee9;
}
.region-picker-hint {
  margin: 0;
  padding: 12px 8px;
  color: var(--ink-soft);
  font-weight: 700;
}
.region-picker-suggestions h2 {
  margin: 32px 0 22px;
  font: 400 clamp(2.2rem, 5vw, 4rem) var(--serif);
  letter-spacing: -0.04em;
}
.region-picker-suggestions button {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.region-picker-selection {
  margin-top: 28px;
  padding: clamp(18px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}
.region-picker-selection[hidden],
.region-picker-suggestions[hidden] {
  display: none;
}
.region-picker-selection > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
}
.region-picker-selection > header h2 {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(2.2rem, 5vw, 4rem) var(--serif);
}
.region-picker-selection > header p {
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
}
.region-picker-selection > header strong {
  font: 400 2.4rem var(--serif);
}
.region-picker-different,
.region-picker-confirm {
  width: 100%;
  padding: 14px 22px;
  border-radius: 99px;
  font: 700 1rem var(--sans);
  cursor: pointer;
}
.region-picker-different {
  margin-bottom: 12px;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
}
.region-picker-different:hover {
  background: rgba(134, 166, 143, 0.12);
}
.region-picker-confirm {
  border: 0;
  background: var(--forest);
  color: #fff;
}
.region-picker-selection blockquote {
  margin: 30px 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(1.7rem, 4vw, 3rem) / 1.12 var(--serif);
}
.region-picker-selection article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.region-picker-selection article > p {
  margin: 0 0 25px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.region-picker-selection article > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.region-picker-selection article img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}
.region-picker-selection article strong,
.region-picker-selection article small {
  display: block;
}
.region-picker-selection article small {
  margin-top: 4px;
  color: var(--ink-soft);
}
.region-picker-page {
  padding-top: 16px;
}
.region-picker-page > header .eyebrow {
  margin-bottom: 4px;
}
.region-picker-page > header h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.region-picker-map {
  height: min(460px, 48vh);
  min-height: 320px;
}
.region-picker-hint {
  padding: 11px 8px;
  font-size: 0.82rem;
  font-weight: 400;
}
.region-picker-suggestions h2 {
  margin-top: 20px;
  margin-bottom: 18px;
}
@media (max-width: 780px) {
  .welcome-overlay-card {
    grid-template-columns: 1fr;
  }
  .welcome-overlay-carousel {
    min-height: 54vh;
    border-radius: 21px 21px 0 0;
  }
  .welcome-overlay-track article {
    min-height: 54vh;
  }
  .welcome-overlay-actions {
    padding: 28px;
  }
  .region-picker-page .welcome-location-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .region-picker-page .welcome-location-grid {
    grid-template-columns: 1fr;
  }
  .region-picker-map {
    height: 43vh;
    min-height: 300px;
  }
  .region-picker-selection > header {
    align-items: flex-start;
    flex-direction: column;
  }
}
.welcome-overlay-principles {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.welcome-overlay-principles p {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}
.welcome-overlay-principles strong,
.welcome-overlay-principles span {
  display: block;
}
.welcome-overlay-principles strong {
  font: 500 1.35rem var(--serif);
}
.welcome-overlay-principles span,
.welcome-overlay-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  line-height: 1.5;
}
.welcome-overlay-subtitle {
  max-width: 670px;
  font-size: 0.9rem;
}
@media (max-width: 620px) {
  .welcome-overlay-principles {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 15px;
  }
  .welcome-overlay-principles p {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 9px;
  }
  .welcome-overlay-principles span {
    margin-top: 0;
  }
  .welcome-overlay-track h2 {
    font-size: 2.35rem;
  }
}

/* Reveal the Event Home behind the first-visit welcome. */
.welcome-overlay {
  width: calc(100vw - 16px);
  height: calc(100vh - 64px);
  margin: 32px 8px;
}
.welcome-overlay::backdrop {
  background: rgba(18, 42, 34, 0.32);
  backdrop-filter: blur(3px);
  cursor: pointer;
}
@media (max-width: 520px) {
  .welcome-overlay {
    width: calc(100vw - 10px);
    height: calc(100vh - 36px);
    margin: 18px 5px;
  }
}

/* Navigation is the top regular UI layer; contain Leaflet's high internal panes. */
.side-nav {
  z-index: 10000;
}
body.nav-open .nav-scrim {
  z-index: 9999;
}
.leaflet-container,
.region-picker-map,
.map-directory-canvas,
.region-preview-map,
#event-map,
.event-detail-mini-map {
  position: relative;
  z-index: 0 !important;
  isolation: isolate;
}

/* Exclusive catalogue search mode */
.calendar-search-panel {
  min-height: calc(100vh - 180px);
  padding-bottom: 45px;
}
.calendar-search-controls {
  grid-template-columns: 1fr;
  gap: 18px;
}
.calendar-search-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 330px));
  gap: 18px;
}
.calendar-search-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.calendar-search-options select {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.78rem var(--sans);
}
.calendar-view-links button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.calendar-view-links button:disabled:hover {
  color: var(--ink-soft);
}
@media (max-width: 620px) {
  .calendar-search-options {
    grid-template-columns: 1fr;
  }
  .calendar-search-options label {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}

/* Side navigation information hierarchy */
.nav-home-item {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px 7px 0 0;
  padding-bottom: 15px;
}
.nav-section-break {
  height: 1px;
  margin: 13px 7px;
  background: rgba(255, 255, 255, 0.16);
}
.side-nav-content > .nav-map-branch {
  margin-top: 1px;
}
.side-nav-content
  > .nav-map-branch
  > .nav-branch-heading
  .nav-branch-toggle
  span {
  font-family: var(--serif);
  font-size: 1.08rem;
}
.side-nav-content > .nav-map-branch > .nav-branch-children {
  padding-bottom: 5px;
}
.side-nav-content > .nav-map-branch .nav-child span {
  font-size: 0.84rem;
}
.side-nav-content > .nav-map-branch .nav-child {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.side-nav-content > .nav-map-branch .nav-child .nav-icon {
  grid-row: auto;
  width: 18px;
  height: 18px;
  margin-top: 0;
}
.side-nav-content > .nav-map-branch .nav-child span {
  font-size: 1rem;
  line-height: 1.2;
}
.side-nav .nav-branch-children .nav-child small {
  display: none !important;
}
.side-nav .nav-branch-children .nav-child span {
  grid-column: 2;
  font-size: 1.02rem !important;
  line-height: 1.25;
}
.side-nav .nav-branch-children .nav-child {
  min-height: 42px;
}
.placeholder-page {
  width: min(850px, calc(100% - 40px));
  min-height: calc(100vh - 62px);
  margin: 0 auto;
  padding: clamp(65px, 10vw, 130px) 0;
}
.placeholder-page h1 {
  margin: 12px 0 22px;
  font: 400 clamp(3.5rem, 9vw, 7rem) / 0.9 var(--serif);
  letter-spacing: -0.05em;
}
.placeholder-page > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* More breathing room above welcome, with a direct close control. */
.welcome-overlay {
  height: calc(100vh - 96px);
  margin-top: 48px;
  margin-bottom: 48px;
}
.welcome-overlay-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.5);
  color: #fff;
  font: 400 1.35rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.welcome-overlay-close:hover {
  background: rgba(10, 28, 22, 0.82);
  transform: scale(1.05);
}
@media (max-width: 520px) {
  .welcome-overlay {
    height: calc(100vh - 64px);
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .welcome-overlay-close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }
}

/* Account access stays over the page the visitor was exploring. */
.login-dialog {
  width: min(1180px, calc(100vw - 24px));
  max-width: none;
  height: calc(100vh - 96px);
  max-height: 860px;
  margin: 48px auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 34px 110px rgba(8, 27, 21, 0.38);
}
.login-dialog::backdrop {
  background: rgba(18, 42, 34, 0.43);
  backdrop-filter: blur(5px);
}
.login-dialog-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.56);
  color: #fff;
  font: 400 1.35rem/1 var(--sans);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.login-dialog-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.65fr);
}
.login-benefit-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--forest);
}
.login-benefit-track {
  height: 100%;
  display: flex;
  transition: transform 0.48s ease;
}
.login-benefit-track article {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.login-benefit-track article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 31, 24, 0.92),
    rgba(8, 31, 24, 0.05) 72%
  );
}
.login-benefit-track img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.login-benefit-track article > div {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 6vw, 76px);
  bottom: 88px;
  left: clamp(28px, 6vw, 76px);
  color: #fff;
}
.login-benefit-track h2 {
  margin: 12px 0 8px;
  font: 400 clamp(2.8rem, 5vw, 5.4rem) / 0.92 var(--serif);
  letter-spacing: -0.045em;
}
.login-benefit-track article > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}
.login-carousel-arrow {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.login-carousel-arrow.previous {
  left: 22px;
}
.login-carousel-arrow.next {
  right: 22px;
}
.login-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 70px;
  bottom: 35px;
  left: 70px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.login-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
}
.login-carousel-dots button.active {
  width: 23px;
  background: #fff;
}
.login-dialog-account {
  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  overflow: auto;
  background: var(--cream);
}
.login-dialog-account > div {
  width: 100%;
}
.login-dialog-account h3 {
  margin: 10px 0;
  font: 400 clamp(2rem, 4vw, 3rem) / 1 var(--serif);
}
.login-dialog-account > div > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}
.login-profile-preview {
  text-align: center;
}
.login-profile-preview > .eyebrow {
  justify-content: center;
}
.login-profile-preview > img {
  width: 92px;
  height: 92px;
  margin: 12px auto 8px;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(25, 49, 43, 0.16);
}
.login-profile-preview dl {
  margin: 25px 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.login-profile-preview dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.login-profile-preview dt {
  color: var(--ink-soft);
}
.login-profile-preview dd {
  margin: 0;
  font-weight: 700;
}
.login-profile-preview .button {
  justify-content: center;
  width: 100%;
}
.account-email-status.is-error {
  background: rgba(179, 75, 75, 0.1);
  color: #7a3030;
}
.login-success-dialog .login-dialog-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(390px, 1fr) auto;
  overflow: auto;
}
.login-success-dialog .login-benefit-carousel {
  min-height: 390px;
}
.login-success-dialog .login-dialog-account {
  display: block;
  padding: 22px clamp(24px, 5vw, 60px);
}
.login-success-dialog .login-profile-preview {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 18px;
  text-align: left;
}
.login-success-dialog .login-profile-preview > .eyebrow {
  display: none;
}
.login-success-dialog .login-profile-preview > img {
  grid-row: 1/3;
  width: 70px;
  height: 70px;
  margin: 0;
}
.login-success-dialog .login-profile-preview h3 {
  margin: 0;
  font-size: 1.75rem;
}
.login-success-dialog .login-profile-preview > p {
  grid-column: 2;
  margin: 0 !important;
}
.login-success-dialog .login-profile-preview dl {
  grid-column: 3;
  grid-row: 1/3;
  min-width: 220px;
  margin: 0;
  border-top: 0;
}
.login-success-dialog .login-profile-preview dl > div {
  padding: 7px 0;
}
.login-success-dialog .login-profile-preview .button {
  grid-column: 4;
  grid-row: 1;
  width: auto;
  min-width: 150px;
}
.login-return-site {
  grid-column: 4;
  grid-row: 2;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
@media (max-width: 760px) {
  .login-dialog {
    height: calc(100vh - 64px);
    width: calc(100vw - 16px);
    margin: 32px auto;
  }
  .login-dialog-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(340px, 54vh) auto;
    overflow: auto;
  }
  .login-benefit-carousel {
    min-height: 340px;
  }
  .login-dialog-account {
    overflow: visible;
  }
  .login-benefit-track h2 {
    font-size: 2.7rem;
  }
  .login-dialog-close {
    top: 14px;
    right: 14px;
  }
  .login-success-dialog .login-dialog-layout {
    grid-template-rows: minmax(340px, 54vh) auto;
  }
  .login-success-dialog .login-profile-preview {
    grid-template-columns: 64px 1fr;
  }
  .login-success-dialog .login-profile-preview > img {
    grid-column: 1;
    grid-row: 1/3;
    width: 58px;
    height: 58px;
  }
  .login-success-dialog .login-profile-preview h3,
  .login-success-dialog .login-profile-preview > p {
    grid-column: 2;
  }
  .login-success-dialog .login-profile-preview dl {
    grid-column: 1/-1;
    grid-row: auto;
    width: 100%;
    margin: 12px 0;
  }
  .login-success-dialog .login-profile-preview .button,
  .login-return-site {
    grid-column: 1/-1;
    grid-row: auto;
    width: 100%;
  }
}

/* Shareable event and series pages */
.catalogue-detail-page {
  min-height: 100vh;
  background: #fff;
}
.catalogue-breadcrumb {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 235, 0.94);
  backdrop-filter: blur(14px);
  font-size: 1.05rem;
}
.catalogue-breadcrumb a {
  color: var(--ink);
  font-weight: 700;
}
.catalogue-breadcrumb > a {
  min-width: 0;
  overflow: hidden;
  padding: 5px 0;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalogue-breadcrumb > a.active {
  border-bottom: 3px solid var(--clay);
}
.catalogue-breadcrumb strong {
  padding-bottom: 4px;
  border-bottom: 3px solid var(--clay);
}
.catalogue-breadcrumb em {
  color: var(--ink-soft);
}
.catalogue-event-picker {
  position: relative;
  min-width: 0;
}
.catalogue-event-picker summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-style: italic;
  list-style: none;
  white-space: nowrap;
}
.catalogue-event-picker.is-current-date summary {
  border-bottom-color: var(--clay);
}
.catalogue-event-picker-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalogue-event-picker summary::-webkit-details-marker {
  display: none;
}
.catalogue-event-picker summary > span[aria-hidden="true"] {
  color: var(--clay);
  font-style: normal;
  transition: transform 160ms ease;
}
.catalogue-event-picker[open] summary > span[aria-hidden="true"] {
  transform: rotate(180deg);
}
.catalogue-event-picker-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(60vh, 480px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25, 49, 43, 0.18);
}
.catalogue-event-picker-menu > strong {
  display: block;
  padding: 9px 10px 11px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalogue-event-picker-menu a {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 11px 10px;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}
.catalogue-event-picker-menu a:hover,
.catalogue-event-picker-menu a:focus-visible {
  background: var(--cream);
}
.catalogue-event-picker-menu a.is-current {
  background: color-mix(in srgb, var(--clay) 10%, #fff);
}
.catalogue-event-picker-menu a span {
  color: var(--link);
  font-weight: 700;
}
.catalogue-event-picker-menu a small {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalogue-event-picker-menu p {
  margin: 0;
  padding: 12px 10px;
  color: var(--ink-soft);
}
.catalogue-detail-hero {
  position: relative;
  display: block;
  height: min(520px, 58vh);
  background: var(--forest);
}
.catalogue-detail-hero[data-mode="series"] {
  height: min(260px, 29vh);
}
.catalogue-detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalogue-media-labels {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 22px;
  display: flex;
  max-width: calc(100% - 44px);
  flex-wrap: wrap;
  gap: 8px;
}
.catalogue-media-category,
.catalogue-media-format {
  margin: 0;
  overflow: hidden;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(20, 45, 37, 0.2);
}
.catalogue-media-category {
  border: 1px solid color-mix(in srgb, var(--catalogue-category-colour) 82%, #fff);
  background: var(--catalogue-category-colour);
  color: #fff;
}
.catalogue-media-format {
  border: 1px solid color-mix(in srgb, var(--link) 62%, #fff);
  background: color-mix(in srgb, var(--link) 16%, white);
  color: var(--link);
}
.catalogue-event-series-title {
  color: inherit;
  text-decoration: none;
}
.catalogue-event-series-title:hover,
.catalogue-event-series-title:focus-visible {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
.catalogue-detail-actions {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalogue-detail-actions > button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(23, 61, 53, 0.88);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(20, 45, 37, 0.22);
}
.catalogue-detail-actions > button:hover {
  transform: translateY(-1px);
  background: var(--forest);
}
.catalogue-detail-actions > button svg,
.catalogue-detail-actions > button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.catalogue-detail-actions > button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.catalogue-detail-actions [data-catalogue-favorite].active {
  border-color: var(--clay);
  background: var(--clay);
}
.catalogue-detail-actions [data-catalogue-favorite].active svg {
  fill: currentColor;
}
.catalogue-detail-actions [data-catalogue-attendance][data-status="going"] {
  background: var(--sage);
}
.catalogue-detail-actions [data-catalogue-attendance][data-status="interested"] {
  background: var(--link);
}
.catalogue-detail-actions [data-catalogue-attendance][data-status="not_interested"] {
  background: #c99a25;
}
.catalogue-attendance-menu {
  position: absolute;
  z-index: 4;
  top: 62px;
  right: 58px;
  width: 225px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 45, 37, 0.22);
}
.catalogue-attendance-menu[hidden] {
  display: none;
}
.catalogue-attendance-menu button {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.catalogue-attendance-menu button:hover,
.catalogue-attendance-menu button[aria-checked="true"] {
  background: var(--cream);
}
.catalogue-attendance-menu img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.catalogue-action-status {
  position: absolute;
  z-index: 3;
  top: 84px;
  right: 22px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.catalogue-action-status[hidden] {
  display: none;
}
.catalogue-media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--forest);
}
.catalogue-media-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.catalogue-facebook-link {
  display: inline-flex;
  margin: 4px 0 20px;
}
.catalogue-map-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: radial-gradient(
      circle at 50% 45%,
      rgba(134, 166, 143, 0.55),
      transparent 38%
    ),
    #dce8df;
  color: var(--forest);
  text-align: center;
}
.catalogue-map-preview > span {
  font-size: 4rem;
}
.catalogue-map-preview strong {
  font: 400 2rem var(--serif);
}
.catalogue-map-preview small {
  margin-top: 8px;
}
.catalogue-detail-body {
  max-width: 1050px;
  margin: auto;
  padding: 50px clamp(20px, 5vw, 70px) 110px;
}
.catalogue-detail-body h1 {
  margin: 10px 0 18px;
  font: 400 clamp(3rem, 7vw, 6.5rem) / 0.9 var(--serif);
  letter-spacing: -0.05em;
}
.catalogue-detail-body h1 small {
  display: block;
  margin-top: 14px;
  color: var(--ink-soft);
  font: 600 1.2rem var(--sans);
  letter-spacing: 0;
}
.catalogue-source-rating {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.catalogue-source-rating a {
  color: var(--ink);
  text-decoration: underline;
}
.catalogue-facts {
  margin: 0;
}
.catalogue-facts > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.catalogue-facts dt {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--cream);
}
.catalogue-facts dd {
  margin: 0;
}
.catalogue-facts strong,
.catalogue-facts span {
  display: block;
}
.catalogue-facts span {
  margin-top: 5px;
  color: var(--ink-soft);
}
.catalogue-description,
.catalogue-section > p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.catalogue-series-link {
  font-weight: 700;
  color: var(--forest);
}
.catalogue-section {
  margin-top: 55px;
}
.catalogue-section h2 {
  margin: 0 0 22px;
  font: 400 clamp(2.2rem, 5vw, 4rem) var(--serif);
}
.catalogue-occurrences {
  display: grid;
  gap: 10px;
  container-type: inline-size;
}
.catalogue-occurrences a {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--link) 28%, transparent);
  border-left: 4px solid var(--link);
  border-radius: 10px;
  background: color-mix(in srgb, var(--link) 6%, white);
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.catalogue-occurrences a::after {
  content: "View →";
  color: var(--link);
  font-size: 0.875rem;
  font-weight: 800;
}
.catalogue-occurrences a:hover {
  border-color: var(--link);
  background: color-mix(in srgb, var(--link) 12%, white);
  transform: translateY(-1px);
}
.catalogue-occurrences a:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
.catalogue-occurrences strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.catalogue-occurrences span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalogue-load-more {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 18px;
}
@container (max-width: 820px) {
  .catalogue-occurrences a {
    grid-template-columns: max-content minmax(0, 1fr);
  }
  .catalogue-occurrences a::after {
    display: none;
  }
}
.catalogue-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.catalogue-review {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.catalogue-review img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.catalogue-review strong,
.catalogue-review span {
  display: block;
}
.catalogue-review span {
  margin-top: 3px;
  color: #b37a20;
}
.catalogue-review p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.review-dialog {
  width: min(620px, calc(100vw - 24px));
  padding: 42px;
  border: 0;
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(8, 27, 21, 0.35);
}
.review-dialog::backdrop {
  background: rgba(18, 42, 34, 0.45);
  backdrop-filter: blur(5px);
}
.review-dialog > [data-review-close] {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.review-dialog h2 {
  margin: 10px 0 15px;
  font: 400 2.8rem var(--serif);
}
.review-dialog form label {
  display: grid;
  gap: 7px;
  margin: 15px 0;
  color: var(--ink-soft);
}
.review-dialog select,
.review-dialog textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.review-dialog textarea {
  min-height: 150px;
  resize: vertical;
}
.review-dialog .review-attended {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.review-dialog .review-attended input {
  width: auto;
}
.review-dialog .button {
  justify-content: center;
  width: 100%;
}
.review-dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.review-dialog-actions .button {
  flex: 1;
}
@media (max-width: 700px) {
  .catalogue-detail-hero {
    height: 52vh;
  }
  .catalogue-detail-hero[data-mode="series"] {
    height: 26vh;
  }
  .catalogue-detail-actions { top: 14px; right: 14px; gap: 7px; }
  .catalogue-detail-actions > button { width: 46px; height: 46px; }
  .catalogue-media-labels { bottom: 14px; left: 14px; max-width: calc(100% - 28px); }
  .catalogue-attendance-menu { top: 54px; right: 52px; }
  .catalogue-action-status { top: 68px; right: 14px; }
  .catalogue-breadcrumb {
    font-size: 0.78rem;
    gap: 10px;
  }
  .catalogue-breadcrumb > a {
    flex: 1 1 auto;
  }
  .catalogue-event-picker {
    flex: 0 1 auto;
    max-width: 42%;
  }
  .catalogue-event-picker-menu {
    position: fixed;
    top: var(--catalogue-picker-top, 112px);
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
    width: auto;
    max-height: calc(100dvh - var(--catalogue-picker-top, 112px) - 12px);
    border-radius: 16px;
  }
  .catalogue-event-picker-menu a {
    grid-template-columns: minmax(88px, 118px) minmax(0, 1fr);
    gap: 9px;
  }
  .catalogue-source-rating {
    align-items: flex-start;
    flex-direction: column;
  }
  .review-dialog {
    padding: 35px 22px;
  }
}
.catalogue-map-preview {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #dce8df;
}
.catalogue-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7);
}
.catalogue-location .catalogue-map-preview {
  width: 100%;
  height: min(420px, 50vh);
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.catalogue-map-preview > div {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest);
  text-align: left;
  box-shadow: 0 7px 20px rgba(20, 45, 37, 0.15);
}
.catalogue-map-preview strong,
.catalogue-map-preview small {
  display: block;
}
.catalogue-map-preview strong {
  font: 400 1.25rem var(--serif);
}
.catalogue-map-preview small {
  margin-top: 4px;
}

/* Compact weekly frame with weekday labels pinned inside the calendar. */
.events-section {
  padding-top: 0;
}
.events-section.is-edge-calendar,
.events-section:has(#week-grid[data-view="weekly"]),
.events-section:has(#week-grid[data-view="monthly"]) {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.calendar-shell {
  margin-top: 0;
}
.calendar-toolbar {
  padding: 15px 20px;
  background: #fff;
}
.calendar-toolbar .eyebrow {
  display: none;
}
.weekly-canvas > .calendar-corner,
.weekly-canvas > .week-date {
  position: sticky;
  z-index: 12;
  top: 0;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.weekly-canvas > .week-date.is-weekend {
  background: #f7f6f4;
}
.weekly-canvas > .week-date.is-today {
  background: color-mix(in srgb, var(--clay) 18%, #fff);
}
.weekly-canvas > .calendar-corner {
  left: 0;
  z-index: 14;
  background: #fff;
}
.weekly-canvas > .time-label,
.weekly-canvas > .all-day-label {
  position: sticky;
  z-index: 11;
  left: 0;
  background: var(--paper);
  box-shadow: 1px 0 0 var(--line);
}
@media (min-width: 1081px) {
  #week-grid[data-view="weekly"] {
    overflow: visible;
  }
}
@media (max-width: 680px) {
  .events-section {
    padding-top: 0;
  }
  .calendar-shell {
    margin-top: 0;
  }
  .calendar-toolbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Fixed replicas keep calendar day labels visible only while their calendar is in view. */
.calendar-pinned-header {
  position: fixed;
  z-index: 30;
  top: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 16px rgba(25, 49, 43, 0.12);
}
.calendar-pinned-track {
  display: grid;
  background: #fff;
  will-change: transform;
}
.calendar-pinned-header.is-weekly .calendar-pinned-track {
  grid-template-columns: 76px repeat(7, minmax(130px, 1fr));
  min-width: 986px;
}
.calendar-pinned-header.is-weekly .calendar-corner,
.calendar-pinned-header.is-weekly .week-date {
  height: 78px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.calendar-pinned-header.is-weekly .calendar-corner {
  position: relative;
  z-index: 2;
}
.calendar-pinned-header.is-weekly .week-date.is-weekend {
  background: #f7f6f4;
}
.calendar-pinned-header.is-weekly .week-date.is-today {
  background: color-mix(in srgb, var(--clay) 18%, #fff);
}
.calendar-pinned-header.is-monthly .calendar-pinned-track {
  grid-template-columns: repeat(7, minmax(125px, 1fr));
  min-width: 875px;
}
.calendar-pinned-header.is-monthly .month-weekday {
  background: #fff;
}
@media (max-width: 680px) {
  .calendar-pinned-header.is-weekly .calendar-pinned-track {
    grid-template-columns: 32px repeat(7, 94px);
    min-width: 690px;
  }
}

/* Saved series use the same compact thumbnail rhythm as the daily agenda. */
.favorites-page {
  width: min(1050px, calc(100% - 40px));
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 70px 0 110px;
}
.favorites-heading {
  margin-bottom: 32px;
}
.favorites-heading h1 {
  margin: 12px 0 14px;
  font: 400 clamp(3.5rem, 8vw, 6.5rem) / 0.9 var(--serif);
  letter-spacing: -0.05em;
}
.favorites-heading > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.favorites-list {
  display: grid;
  gap: 12px;
}
.favorite-series-card {
  min-height: 165px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 30px;
  gap: 22px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f7f5;
  color: var(--ink);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.favorite-series-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(35, 54, 47, 0.1);
}
.favorite-series-card > img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
}
.favorite-series-copy > span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.favorite-series-copy > strong {
  display: block;
  margin: 7px 0;
  font: 500 clamp(1.35rem, 2.5vw, 2rem) / 1.05 var(--serif);
}
.favorite-series-copy > small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
}
.favorite-series-copy > div {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.favorite-series-copy b {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 0.56rem;
  font-weight: 500;
}
.favorite-series-card > i {
  color: rgba(25, 49, 43, 0.38);
  font: normal 2.5rem var(--serif);
}
.favorites-empty {
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}
.favorites-empty h2 {
  margin: 0 0 10px;
  font: 400 2.4rem var(--serif);
}
.favorites-empty p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}
@media (max-width: 620px) {
  .favorites-page {
    width: calc(100% - 24px);
    padding-top: 42px;
  }
  .favorite-series-card {
    grid-template-columns: 92px minmax(0, 1fr) 12px;
    gap: 12px;
    min-height: 125px;
    padding: 9px;
    border-radius: 15px;
  }
  .favorite-series-card > img {
    height: 105px;
    border-radius: 11px;
  }
  .favorite-series-copy > strong {
    font-size: 1.17rem;
  }
  .favorite-series-copy > small {
    font-size: 0.62rem;
  }
  .favorite-series-copy > div {
    margin-top: 9px;
  }
  .favorite-series-card > i {
    font-size: 1.7rem;
  }
}

/* Compact contact form and person introduction. */
.contact-page-compact {
  padding: 46px 20px 90px;
}
.contact-form-section {
  width: min(920px, 100%);
  margin: 0 auto 48px;
}
.contact-form-intro {
  margin-bottom: 20px;
}
.contact-form-intro h1 {
  margin: 8px 0 8px;
  font: 400 clamp(2.5rem, 5vw, 4.25rem) / 0.95 var(--serif);
  letter-spacing: -0.04em;
}
.contact-form-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}
.contact-form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(25, 49, 43, 0.07);
}
.contact-form-card h2 {
  margin: 0 0 8px;
  font: 500 1.7rem var(--serif);
}
.contact-form-card section > p {
  color: var(--ink-soft);
  line-height: 1.55;
}
.contact-form-fields {
  display: grid;
  gap: 14px;
}
.contact-form-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}
.contact-form-fields input,
.contact-form-fields textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.contact-form-fields textarea {
  resize: vertical;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.contact-form-actions > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}
.contact-page-compact .contact-person {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 26px;
  grid-template-columns: minmax(170px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 55px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
}
.contact-page-compact .contact-portrait {
  width: 100%;
  max-width: 240px;
  justify-self: center;
}
.contact-page-compact .contact-portrait img {
  max-height: 290px;
  border-width: 8px;
}
.contact-page-compact .contact-copy h2 {
  margin: 13px 0 18px;
  font: 400 clamp(2.1rem, 4.5vw, 3.8rem) / 0.92 var(--serif);
  letter-spacing: -0.045em;
}
.contact-page-compact .contact-copy h2 em {
  color: var(--clay);
  font-weight: 400;
}
.contact-page-compact .contact-lede {
  font-size: 0.9rem;
  line-height: 1.65;
}
.contact-page-compact .contact-actions {
  margin-top: 20px;
}
.contact-page-compact .contact-story {
  padding-top: 70px;
  padding-bottom: 40px;
}
.contact-page-compact .contact-story h2 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}
@media (max-width: 620px) {
  .contact-page-compact {
    padding: 28px 12px 65px;
  }
  .contact-form-section {
    margin-bottom: 28px;
  }
  .contact-form-card {
    padding: 18px;
  }
  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-page-compact .contact-person {
    grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
    gap: 15px;
    padding: 14px;
  }
  .contact-page-compact .contact-portrait {
    max-width: 160px;
    transform: none;
  }
  .contact-page-compact .contact-portrait img {
    max-height: 210px;
    border-width: 5px;
  }
  .contact-page-compact .contact-portrait figcaption {
    font-size: 0.48rem;
  }
  .contact-page-compact .contact-copy h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }
  .contact-page-compact .contact-copy .eyebrow {
    font-size: 0.5rem;
  }
  .contact-page-compact .contact-lede {
    font-size: 0.67rem;
    line-height: 1.48;
  }
  .contact-page-compact .contact-actions {
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
  }
  .contact-page-compact .contact-actions .button {
    padding: 9px 11px;
    font-size: 0.58rem;
  }
  .contact-page-compact .contact-actions .text-link {
    font-size: 0.58rem;
  }
  .contact-page-compact .contact-story {
    padding: 52px 8px 25px;
  }
}

/* Preserve small-screen scaling while giving editorial type practical desktop ceilings. */
@media (min-width: 900px) {
  .category-directory-intro h1,
  .category-detail-hero h1,
  .events-index-page h1 {
    font-size: 4.75rem;
  }
  .hero h1,
  .directory-hero h1,
  .text-page-hero h1,
  .contact-copy h1,
  .festival-hero h1,
  .account-intro h1,
  .account-editor-page > h1,
  .admin-heading h1,
  .map-directory-heading h1,
  .placeholder-page h1,
  .catalogue-detail-body h1,
  .favorites-heading h1 {
    font-size: 5rem;
  }
  .section-heading h2,
  .subscribe-section h2,
  .about-strip h2,
  .contact-story h2,
  .festival-explainer h2,
  .festival-gallery h2,
  .festival-list h2,
  .catalogue-section h2 {
    font-size: 4rem;
  }
  .about-section blockquote {
    font-size: 4.75rem;
  }
}

.profile-role-options > label:last-child {
  grid-column: 1/-1;
}
.profile-offerings-editor {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}
.profile-offerings-heading h3 {
  margin: 0;
  font: 400 1.65rem var(--serif);
}
.profile-offerings-heading p {
  margin: 5px 0 16px;
  color: var(--ink-soft);
}
.profile-offering-card {
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.profile-offering-card label {
  display: block;
  margin-top: 13px;
}
.profile-offering-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-offering-title h4 {
  margin: 0;
  font: 400 1.25rem var(--serif);
}
.profile-offering-title button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.qualification-group-guidance {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.profile-offering-title .qualification-delete-button {
  display: grid;
  place-items: center;
}
.qualification-delete-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qualification-remove-dialog .app-dialog-actions {
  gap: 10px;
  flex-wrap: wrap;
}
.profile-offering-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
}
.profile-offering-travel {
  display: flex !important;
  align-items: center;
  gap: 9px;
}
.profile-offering-travel input {
  width: auto !important;
}
.profile-offering-card textarea {
  resize: vertical;
}
@media (max-width: 620px) {
  .profile-offering-grid {
    grid-template-columns: 1fr;
  }
  .profile-offerings-editor {
    padding: 14px;
  }
  .profile-role-options > label:last-child {
    grid-column: auto;
  }
}

/* Keep profile completion status visually first in each section row. */
.profile-section summary i,
.profile-section-placeholder summary i {
  order: -1;
  flex: 0 0 auto;
}

/* Simple profile status marks without a second arrow glyph. */
.profile-section:not([open]) summary i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: #f5d9d5;
  color: #a9473f;
  font-size: 0;
  box-shadow: none;
}
.profile-section:not([open]) summary i::before {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.profile-section.is-complete:not([open]) summary i {
  border: 0;
  background: #d8ecdf;
  color: #247046;
}
.profile-section-placeholder summary i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: #d8ecdf;
  color: #247046;
  font-size: 0;
}
.profile-section-placeholder summary i::before {
  content: "✓";
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.profile-drawer-footer {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px clamp(18px, 5vw, 42px);
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 240, 0.97);
  backdrop-filter: blur(12px);
}
.profile-drawer-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.4;
}
.profile-drawer-footer .button {
  flex: 0 0 auto;
}
.profile-drawer-footer .button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
@media (max-width: 620px) {
  .profile-drawer-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .profile-drawer-footer .button {
    width: 100%;
  }
}

/* Shared profile drawer fields: compact, legible and visibly complete. */
.profile-section[open] .profile-section-body {
  padding-top: 18px;
}
.profile-section-body label {
  gap: 6px;
  margin-bottom: 14px;
}
.profile-section-body input,
.profile-section-body textarea,
.profile-section-body select {
  padding: 10px 12px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}
.profile-section-body
  input:not([type="radio"]):not([type="checkbox"]).is-filled,
.profile-section-body textarea.is-filled,
.profile-section-body select.is-filled {
  border-color: #91b49a;
  background: #e8f2e9;
  box-shadow: inset 3px 0 #5c956d;
}
.profile-field-help,
.profile-privacy-note,
.profile-section-intro {
  display: block;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}
.profile-field-help {
  margin: -7px 2px 13px;
  padding-top: 2px;
}
.profile-section-intro,.profile-privacy-note{margin-top:0}
.legal-name-fields{margin-bottom:0}.legal-name-fields label{margin-bottom:6px}.legal-name-help{margin:0 2px 14px}.profile-label-title{display:inline-flex;align-items:baseline;gap:4px}.profile-label-title>small{color:var(--ink-soft);font-size:.82em;font-weight:500}
.profile-section-body textarea {
  min-height: 120px;
}
.profile-section-body textarea[name="bio"] {
  min-height: 165px;
}

/* Keep browser autofill consistent with the profile's completed-field treatment. */
.profile-section-body input:-webkit-autofill,
.profile-section-body input:-webkit-autofill:hover,
.profile-section-body input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow:
    inset 3px 0 #5c956d,
    inset 0 0 0 1000px #e8f2e9;
  caret-color: var(--ink);
}
.profile-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-drawer-footer p.is-saved {
  color: #247046;
  font-weight: 750;
}
@media (max-width: 620px) {
  .profile-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .profile-drawer-actions .button {
    width: 100%;
  }
}

/* Compact local action defined in DESIGN.md. */
.tertiary-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--forest);
  font: 750 0.72rem var(--sans);
  cursor: pointer;
}
.tertiary-action span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(134, 166, 143, 0.2);
  font-size: 0.9rem;
  line-height: 1;
}
.tertiary-action:hover {
  border-bottom-color: currentColor;
}
.tertiary-action:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.profile-username-url {
  display: block;
  overflow: hidden;
  margin: -7px 2px 14px;
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-section-body input:disabled {
  border-color: var(--line);
  background: #ecebe6;
  color: var(--ink-soft);
  cursor: not-allowed;
  box-shadow: none;
}

/* SVG status marks provide exact geometric centering inside section circles. */
.profile-section:not([open]) summary i,
.profile-section-placeholder summary i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.profile-section:not([open]) summary i::before,
.profile-section-placeholder summary i::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  font-size: 0;
}
.profile-section:not([open]) summary i::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23a9473f' stroke-width='3.25' stroke-linecap='round'/%3E%3C/svg%3E");
}
.profile-section.is-complete:not([open]) summary i::before,
.profile-section-placeholder summary i::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23247046' stroke-width='3.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Compact edge-to-edge My Circle editor. */
.circle-column-headings {
  display: grid;
  grid-template-columns: 42px minmax(110px, 0.85fr) minmax(170px, 1.4fr) auto;
  gap: 8px;
  padding: 0 8px 7px;
  color: var(--ink);
  font-size: 0.72rem;
}
.community-entry-list {
  gap: 0;
}
.community-entry {
  grid-template-columns: 42px minmax(110px, 0.85fr) minmax(170px, 1.4fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.community-entry label {
  min-width: 0;
}
.community-entry input {
  width: 100%;
  padding: 9px 10px !important;
}
.circle-entry-status {
  min-width: 76px;
  color: var(--ink-soft);
  font-size: 0.66rem;
}
.circle-confirmed {
  color: #247046;
  font-weight: 800;
}
.community-entry-avatar {
  position: relative;
}
.circle-connected-mark {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #247046;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
}
.circle-profile-link {
  color: #247046;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.circle-invite-button {
  margin: 0;
  padding: 7px 13px;
  border-color: #315b82;
  background: #315b82;
  color: #fff;
}
.circle-invited {
  color: #315b82;
  font-weight: 800;
}
.circle-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 0 18px 0 100px;
}
.circle-actions .button {
  min-width: 112px;
  padding: 9px 16px;
}
.circle-add-button {
  border-color: #315b82;
  background: #315b82;
  color: #fff;
}
.circle-remove-button {
  color: #7a3e38;
}

/* Native modal dialogs sit in the browser top layer, including above open navigation. */
.app-dialog {
  width: min(650px, calc(100vw - 28px));
  max-height: calc(100vh - 34px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(8, 27, 21, 0.38);
  overflow: auto;
}
.app-dialog::backdrop {
  background: rgba(10, 28, 23, 0.58);
  backdrop-filter: blur(5px);
}
.app-dialog h2 {
  margin: 8px 0 22px;
  font: 400 clamp(2rem, 5vw, 3.2rem) / 1 var(--serif);
}
.app-dialog-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}
.app-dialog label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}
.app-dialog textarea {
  width: 100%;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}
.app-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.circle-invite-tones {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
}
.circle-invite-tones button {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 700 0.66rem var(--sans);
  cursor: pointer;
}
.circle-invite-tones button.is-active {
  border-color: var(--terracotta);
  background: rgba(205, 106, 75, 0.12);
  color: var(--terracotta);
}
.circle-dialog-success {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: #d8ecdf;
  color: #247046;
  font-size: 2rem;
  font-weight: 900;
}
.circle-invite-copied > p:not(.circle-dialog-success) {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.circle-remove-options {
  display: grid;
  gap: 8px;
}
.circle-remove-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.circle-remove-options input {
  width: auto;
}
.destructive-confirm {
  color: #a9473f;
}
.destructive-confirm:not(:disabled):hover {
  border-color: #a9473f;
  background: #a9473f;
  color: #fff;
}
.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;
}
@media (max-width: 620px) {
  .circle-column-headings {
    display: none;
  }
  .community-entry {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .community-entry label:nth-of-type(2),
  .circle-entry-status {
    grid-column: 2;
  }
  .community-entry-avatar {
    width: 34px;
    height: 34px;
  }
  .circle-actions {
    padding-left: 18px;
  }
  .app-dialog {
    padding: 28px 20px 22px;
  }
}

/* Final participation card overrides follow the legacy profile rules above. */
.profile-role-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden}.profile-role-options>label,.profile-role-options>label:last-child{grid-column:auto;min-width:0;border-right:1px solid var(--line)}.profile-role-options>label:last-child{border-right:0}.profile-role-options input{position:absolute;z-index:2;top:13px;right:13px;width:20px;height:20px;opacity:1;accent-color:var(--forest);cursor:pointer}.profile-role-options span{display:grid;grid-template-rows:auto 102px 1fr;gap:8px;height:100%;padding:17px 13px 15px;border:0;border-radius:0;background:#fff;text-align:center}.profile-role-options strong{padding:0 24px 9px 0;font-size:.76rem;text-align:left}.profile-role-options img{width:100%;height:96px;object-fit:contain}.profile-role-options small{margin:0;font-size:.61rem;text-align:left}.profile-role-options input:checked+span{border:0;background:color-mix(in srgb,currentColor 7%,#fff);box-shadow:inset 0 -4px currentColor}.profile-role-options input:focus-visible+span{outline:3px solid var(--sage);outline-offset:-3px}.profile-role-options .role-participant{color:#24705a}.profile-role-options .role-facilitator{color:#6c3b91}.profile-role-options .role-venue{color:#8a583e}.profile-role-options .role-organiser{color:#315b82}.profile-role-options .role-offerings{color:#bf6b2c}.profile-role-options label small{color:var(--ink-soft)}@media(max-width:900px){.profile-role-options{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-role-options>label{border-bottom:1px solid var(--line)}.profile-role-options>label:nth-child(even){border-right:0}.profile-role-options>label:last-child{grid-column:1/-1;border-bottom:0}}@media(max-width:520px){.profile-role-options{grid-template-columns:1fr}.profile-role-options>label,.profile-role-options>label:last-child{grid-column:auto;border-right:0;border-bottom:1px solid var(--line)}.profile-role-options>label:last-child{border-bottom:0}.profile-role-options span{grid-template-columns:minmax(0,1fr) 92px;grid-template-rows:auto auto;text-align:left}.profile-role-options img{grid-column:2;grid-row:1/3;height:76px;object-fit:contain}.profile-role-options strong,.profile-role-options small{grid-column:1}}

/* Participation choices use one clear checkbox row at every width. */
.profile-role-options{display:grid;grid-template-columns:1fr}.profile-role-options>label,.profile-role-options>label:last-child{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:14px;min-height:104px;border:0;border-bottom:1px solid var(--line);cursor:pointer}.profile-role-options>label:last-child{border-bottom:0}.profile-role-options input{position:static;z-index:auto;width:21px;height:21px;margin:0 0 0 18px;opacity:1;accent-color:currentColor}.profile-role-options span{display:grid;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:auto auto;align-items:center;column-gap:18px;row-gap:5px;min-height:103px;padding:13px 18px 13px 8px;text-align:left}.profile-role-options strong{grid-column:1;grid-row:1;padding:0;font-size:.82rem}.profile-role-options small{grid-column:1;grid-row:2;font-size:.66rem}.profile-role-options img{grid-column:2;grid-row:1/3;width:96px;height:78px;justify-self:end;object-fit:contain}.profile-role-options input:checked+span{box-shadow:inset 4px 0 currentColor}@media(max-width:520px){.profile-role-options>label,.profile-role-options>label:last-child{grid-template-columns:24px minmax(0,1fr);border-bottom:1px solid var(--line)}.profile-role-options>label:last-child{border-bottom:0}.profile-role-options span{grid-template-columns:minmax(0,1fr) 76px}.profile-role-options img{grid-column:2;grid-row:1/3;width:72px;height:66px}.profile-role-options strong,.profile-role-options small{grid-column:1}}

/* Participation roles are independent, colour-coded choices. */
.participation-intro{font-size:.9rem;line-height:1.55}
.profile-role-options{gap:12px;border:0;border-radius:0;overflow:visible}
.profile-role-options>label,.profile-role-options>label:last-child{min-height:116px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}
.profile-role-options>label:hover{border-color:currentColor;transform:translateY(-1px)}
.profile-role-options>label:has(input:checked){border-color:currentColor;background:color-mix(in srgb,currentColor 24%,#fff)}
.profile-role-options input{width:23px;height:23px}
.profile-role-options span{min-height:114px;background:transparent}
.profile-role-options strong{font-size:1.02rem;line-height:1.2}
.profile-role-options small{font-size:.875rem;line-height:1.45}
.profile-role-options input:checked+span{background:transparent;box-shadow:none}
.profile-offerings-section[hidden],.facilitator-details-section[hidden],.profile-venues-section[hidden]{display:none}
.facilitator-questionnaire{display:grid;gap:16px;margin-bottom:24px}.facilitator-questionnaire>header{display:flex;align-items:end;justify-content:space-between;gap:16px}.facilitator-questionnaire>header h3{margin:3px 0 0;font:400 clamp(1.65rem,4vw,2.35rem) var(--serif)}.facilitator-questionnaire>header .eyebrow{margin:0}.facilitator-questionnaire>header output{flex:none;color:var(--ink-soft);font-size:.875rem;font-weight:750}.facilitator-question-stage{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.facilitator-question-card{display:grid;gap:0;animation:facilitator-question-in .24s ease both}.facilitator-question-card.is-reversing{animation-name:facilitator-question-back}@keyframes facilitator-question-in{from{opacity:.35;transform:translateX(32px)}to{opacity:1;transform:none}}@keyframes facilitator-question-back{from{opacity:.35;transform:translateX(-32px)}to{opacity:1;transform:none}}.facilitator-question-intro{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,color-mix(in srgb,var(--cream) 78%,#fff),#fff)}.facilitator-question-cartoon{width:110px;height:94px;color:var(--facilitator-accent,#6c3b91)}.facilitator-question-cartoon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.facilitator-question-intro h4{margin:0 0 5px;color:var(--facilitator-accent,#6c3b91);font-size:1.08rem}.facilitator-question-intro p{margin:0;color:var(--ink-soft);font-size:.9rem;line-height:1.45}.facilitator-scale-layout{display:grid;grid-template-columns:minmax(0,1fr) 180px;min-height:560px}.facilitator-scale{display:grid}.facilitator-score-option{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-height:49px;padding:6px 12px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;cursor:pointer}.facilitator-score-option:last-child{border-bottom:0}.facilitator-score-option:hover,.facilitator-score-option:focus-visible{z-index:1;background:color-mix(in srgb,var(--facilitator-accent,#6c3b91) 7%,#fff);outline:2px solid var(--facilitator-accent,#6c3b91);outline-offset:-2px}.facilitator-score-option.is-selected{background:color-mix(in srgb,var(--facilitator-accent,#6c3b91) 13%,#fff)}.facilitator-score-option b{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:var(--facilitator-accent,#6c3b91);color:#fff;font-size:1rem}.facilitator-score-option span{font-size:.82rem;font-weight:700;line-height:1.25}.facilitator-score-option small{display:block;margin-top:2px;color:var(--ink-soft);font-size:.72rem;font-weight:550}.facilitator-answer-graph{min-height:100%;border-left:1px solid var(--line);background:linear-gradient(180deg,color-mix(in srgb,var(--facilitator-accent,#6c3b91) 5%,#fff),#fff)}.facilitator-questionnaire>nav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}.facilitator-questionnaire>nav>.button{min-width:102px;justify-content:center;padding:8px 14px}.facilitator-questionnaire>nav>div{display:flex;justify-content:center;gap:7px}.facilitator-questionnaire>nav>div button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--ink-soft) 25%,#fff);cursor:pointer}.facilitator-questionnaire>nav>div button.is-active{background:var(--clay);transform:scale(1.25)}@media(max-width:680px){.facilitator-question-intro{grid-template-columns:82px minmax(0,1fr);padding:15px}.facilitator-question-cartoon{width:78px;height:72px}.facilitator-scale-layout{grid-template-columns:minmax(0,1fr) 88px}.facilitator-score-option{grid-template-columns:38px minmax(0,1fr);padding:6px 8px}.facilitator-score-option b{width:32px;height:32px}.facilitator-answer-graph{min-width:88px}.facilitator-questionnaire>nav>.button{min-width:0}.facilitator-questionnaire>nav{gap:8px}}
@media(max-width:520px){.participation-intro{font-size:.875rem}.profile-role-options>label,.profile-role-options>label:last-child{border:1px solid var(--line);border-radius:14px}.profile-role-options strong{font-size:.98rem}.profile-role-options small{font-size:.875rem}}

/* Keep the participation icon immediately after its checkbox. */
.profile-role-options>label,.profile-role-options>label:last-child{grid-template-columns:23px minmax(0,1fr);gap:8px;min-height:92px}
.profile-role-options input{margin-left:14px}
.profile-role-options span{grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:3px;min-height:90px;padding:8px 14px 8px 6px}
.profile-role-options img{grid-column:1;grid-row:1/3;width:72px;height:68px;justify-self:start}
.profile-role-options strong{grid-column:2;grid-row:1;align-self:end}
.profile-role-options small{grid-column:2;grid-row:2;align-self:start}
@media(max-width:520px){.profile-role-options>label,.profile-role-options>label:last-child{grid-template-columns:23px minmax(0,1fr);gap:7px;min-height:88px}.profile-role-options input{margin-left:12px}.profile-role-options span{grid-template-columns:64px minmax(0,1fr);min-height:86px;padding:7px 10px 7px 5px;column-gap:9px}.profile-role-options img{grid-column:1;grid-row:1/3;width:60px;height:58px}.profile-role-options strong,.profile-role-options small{grid-column:2}}

/* Main and participation-driven profile sections remain conceptually equal, but form two clear groups. */
.profile-editor{display:grid;gap:0;overflow:visible;border:0;border-radius:0;background:transparent}
.profile-section-group{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff}
.profile-section-group>.profile-section:last-child{border-bottom:0}
.profile-bonus-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:28px 22px 12px;color:var(--ink-soft)}
.profile-bonus-heading[hidden],.profile-section-group-bonus[hidden]{display:none}
.profile-bonus-heading strong{font-size:1rem;font-weight:600}
.profile-bonus-heading small{margin-left:auto;font-size:.68rem;text-align:right}
.profile-save-status{grid-column:1}
@media(max-width:520px){.profile-section-group{border-radius:18px}.profile-bonus-heading{align-items:flex-start;padding:24px 14px 10px}.profile-bonus-heading strong{font-size:.94rem}.profile-bonus-heading small{max-width:150px;text-align:right}}

/* Visually centre the font glyphs within their completion circles. */
.profile-section:not([open]) summary i::before{display:block;line-height:1;transform:translateY(3px)}

/* Keep My Circle as a readable table and scroll only its rows on narrow screens. */
.community-entry-list{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;overscroll-behavior-x:contain;scrollbar-gutter:stable}
.circle-column-headings,.community-entry{grid-template-columns:42px 190px 300px 110px;gap:10px;min-width:682px}
.circle-column-headings{display:grid}
.community-entry+.community-entry{margin-top:2px}
@media(max-width:620px){.circle-column-headings{display:grid}.community-entry{grid-template-columns:42px 190px 300px 110px}.community-entry label:nth-of-type(2),.circle-entry-status{grid-column:auto}.community-entry-avatar{width:42px;height:42px}}

/* Tighten My Circle and align non-field cells to the input row. */
.closest-community-editor .community-entry-list{width:calc(100% + 24px);max-width:none;margin:18px -12px}
.circle-column-headings,.community-entry{grid-template-columns:42px 178px 300px 76px;gap:7px;min-width:617px;padding-right:3px;padding-left:3px}
.community-entry{align-items:start}
.community-entry-avatar{align-self:start}
.circle-entry-status{min-width:0;padding-top:11px;white-space:nowrap}
@media(max-width:620px){.closest-community-editor .community-entry-list{width:calc(100% + 16px);margin-right:-8px;margin-left:-8px}.circle-column-headings,.community-entry{grid-template-columns:42px 178px 300px 76px;gap:7px;min-width:617px;padding-right:2px;padding-left:2px}.community-entry-avatar{align-self:start}.circle-entry-status{padding-top:11px}}

/* Add contextual participation photography when the viewport has room. */
.profile-role-options .profile-role-photo{display:none}
@media(min-width:900px){.profile-role-options>label,.profile-role-options>label:last-child{min-height:102px}.profile-role-options span{grid-template-columns:64px minmax(0,1fr) minmax(150px,35%);grid-template-rows:auto auto;min-height:100px;padding:2px 3px 2px 5px;column-gap:10px}.profile-role-options .profile-role-icon{grid-column:1;grid-row:1/3;width:58px;height:58px;align-self:center}.profile-role-options strong{grid-column:2;grid-row:1;align-self:end}.profile-role-options small{grid-column:2;grid-row:2;align-self:start}.profile-role-options .profile-role-photo{display:block;grid-column:3;grid-row:1/3;width:100%;height:96px;align-self:center;justify-self:stretch;border-radius:0 11px 11px 0;object-fit:cover;object-position:center}}

@media(max-width:620px){.profile-section summary,.profile-section-placeholder summary{justify-content:flex-start}.profile-section summary>span,.profile-section-placeholder summary>span{min-width:0;margin-right:auto;text-align:left}.profile-section summary strong,.profile-section-placeholder summary strong{display:block;text-align:left}}

.profile-section summary > .profile-section-count {
  width: 128px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  flex: 0 0 auto;
  gap: 7px;
  margin-right: 0;
  margin-left: auto;
  color: var(--ink);
  font: 500 0.92rem var(--sans);
  text-align: right;
}
.profile-section-count > strong {
  width: 34px;
  height: 34px;
  display: grid !important;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #73b957;
  color: #fff;
  font: 800 1.1rem/1 var(--sans) !important;
  text-align: center !important;
}
.profile-section-count-limit {
  color: #cf3d36;
  font-weight: 800;
}
.profile-section-count.is-full .profile-section-count-limit {
  color: #a4aaa6;
}
.profile-section-count-label {
  white-space: nowrap;
}
.profile-section summary > .profile-section-note {
  width: 190px;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-right: 0;
  margin-left: auto;
  color: var(--ink-soft);
  font: 500 0.72rem/1.35 var(--sans);
  text-align: right;
}
.profile-section[data-profile-section="facilitator-details"] .profile-section-count > strong {
  background: #733aa0;
}
.profile-section[data-profile-section="my-offerings"] .profile-section-count > strong {
  background: #c56a27;
}
.profile-section[data-profile-section="my-venues"] .profile-section-count > strong {
  background: #8c5a3c;
}
.profile-section[data-profile-section="qualifications"] .profile-section-count > strong {
  background: #573878;
}
.social-links-fields.is-opted-out input:disabled {
  border-color: #91b49a;
  background: #e8f2e9;
  color: var(--ink-soft);
  opacity: 1;
}
.profile-section-group-bonus .profile-section-count {
  width: 128px;
}
.profile-section-group-bonus .profile-section-count-label {
  align-self: center;
}
@media (max-width: 520px) {
  .profile-section summary > .profile-section-note {
    width: 112px;
    font-size: 0.64rem;
  }
  .profile-section summary > .profile-section-count {
    width: 104px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 3px;
    font-size: 0.82rem;
  }
  .profile-section-count > strong {
    width: 30px;
    height: 30px;
    font-size: 1rem !important;
  }
  .profile-section-group-bonus .profile-section-count {
    width: 104px;
    column-gap: 5px;
  }
}

/* Venue owners search the shared directory before creating a new draft venue. */
.profile-venues-editor{display:grid;gap:18px}.profile-venues-editor>h3,.new-venue-form h3{margin:0}.venue-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.venue-search-row label{margin:0}.venue-search-results{display:grid;gap:8px}.venue-search-results:empty{display:none}.venue-search-results>p{margin:0;color:var(--ink-soft)}.venue-search-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.venue-search-result div{display:grid;gap:3px;min-width:0}.venue-search-result small{color:var(--ink-soft);line-height:1.4}.venue-search-result .button{flex:none}.new-venue-form{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--cream)}.new-venue-form[hidden]{display:none}.new-venue-form>p{margin:0;color:var(--ink-soft)}[data-venue-status]{margin:0;color:var(--forest);font-weight:600}@media(max-width:620px){.venue-search-row{grid-template-columns:1fr}.venue-search-row .button{justify-self:start}.venue-search-result{align-items:flex-start;flex-direction:column}.new-venue-form{padding:14px}}
.calendar-people-nav {
  align-items: stretch;
  justify-content: space-between;
  gap: 0.55rem;
  overflow: visible;
}

.calendar-people-links {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: clamp(0.25rem, 1.2vw, 0.8rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.calendar-people-links::-webkit-scrollbar {
  display: none;
}

.calendar-people-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: clamp(0.55rem, 2vw, 1.4rem);
  background: var(--paper, #fffdf7);
}

.calendar-people-actions .calendar-favorites-toggle,
.calendar-people-actions .calendar-search-toggle {
  width: 2.45rem;
  height: 2.45rem;
  min-height: 0;
  padding: 0.62rem;
}

.people-directory {
  min-height: 28rem;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(115deg, rgba(236, 244, 240, 0.72), rgba(255, 250, 240, 0.72));
  border-bottom: 1px solid var(--line, #d8ddd9);
}

.people-directory[hidden],
.people-search-panel[hidden],
.people-favorites-banner[hidden] {
  display: none;
}

.people-search-panel {
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  background: var(--paper, #fffdf7);
  border-bottom: 1px solid var(--line, #d8ddd9);
}

.people-search-panel label {
  display: block;
}

.people-search-panel input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  color: var(--ink, #17382f);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1px solid var(--muted, #6d7b76);
  border-radius: 0.8rem;
}

.people-search-panel input:focus-visible {
  outline: 3px solid rgba(43, 104, 139, 0.25);
  outline-offset: 2px;
}

.people-favorites-banner {
  margin: 0;
}

.people-directory-heading {
  padding: clamp(1.8rem, 5vw, 4rem) clamp(1rem, 6vw, 5rem) 0.55rem;
}

.people-directory-heading h1 {
  margin: 0.15rem 0 0.4rem;
  color: var(--ink, #17382f);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.people-directory-heading > p:last-child {
  max-width: 46rem;
  margin: 0;
  color: var(--muted, #586963);
  font-size: 1.05rem;
}

.people-directory-count {
  margin: 0;
  padding: 0.55rem clamp(1rem, 6vw, 5rem) 0.8rem;
  color: var(--muted, #586963);
  font-weight: 700;
}

.people-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: clamp(1rem, 6vw, 5rem);
}

.people-region-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  color: var(--muted, #586963);
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.people-region-toggle > span {
  width: 2rem;
  height: 1.1rem;
  position: relative;
  background: #dfe5e1;
  border-radius: 999px;
}

.people-region-toggle > span::after {
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  top: 0.15rem;
  left: 0.18rem;
  content: "";
  background: #fff;
  border-radius: 50%;
  transition: transform 160ms ease;
}

.people-region-toggle[aria-pressed="true"] > span { background: var(--terracotta, #ca6c4d); }
.people-region-toggle[aria-pressed="true"] > span::after { transform: translateX(0.84rem); }

.people-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 0.8rem;
  padding: 0 clamp(1rem, 6vw, 5rem);
}

.people-directory-card {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line, #d8ddd9);
  border-radius: 1rem;
}

.people-directory-identity {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.people-directory-avatar {
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink, #17382f);
  font-weight: 800;
  background: #e6efe9;
  border-radius: 50%;
}

.people-directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-directory-card-text {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.people-directory-card-text strong {
  overflow: hidden;
  color: var(--ink, #17382f);
  font-size: 1.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-directory-card-text small,
.people-directory-bio {
  color: var(--muted, #586963);
}

.people-event-count {
  min-width: 4.2rem;
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.45rem;
  color: var(--muted, #586963);
  background: transparent;
  border: 0;
  border-radius: 0.7rem;
  cursor: pointer;
}

.people-event-count:hover,
.people-event-count:focus-visible { background: var(--sage-soft, #e6efe9); }

.people-event-count svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.people-event-count[aria-expanded="true"] svg { transform: rotate(180deg); }

.catalogue-facilitators { display:flex; align-items:center; gap:.8rem; flex-wrap:wrap; margin:.8rem 0 1.2rem; }
.catalogue-facilitators > span { color:var(--muted); font-weight:700; }
.catalogue-facilitators > div { display:flex; gap:.55rem; flex-wrap:wrap; }
.catalogue-facilitators a { display:inline-flex; align-items:center; gap:.5rem; color:var(--ink); text-decoration:none; }
.catalogue-facilitators a:hover strong, .catalogue-facilitators a:focus-visible strong { text-decoration:underline; text-underline-offset:.2em; }
.catalogue-facilitators a > span { display:grid; place-items:center; width:2.25rem; height:2.25rem; border-radius:50%; background:var(--sage-soft); color:var(--green); font-size:.72rem; font-weight:800; }

.people-event-count strong {
  color: var(--ink, #17382f);
  font-size: 1.35rem;
  line-height: 1;
}

.people-event-count small { font-size: 0.78rem; }

.people-facilitator-series {
  flex: 1 0 100%;
  min-width: 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line, #d8ddd9);
}

.people-facilitator-series > p { margin: 0.25rem 0; color: var(--muted, #586963); }
.people-facilitator-series ul { display: grid; gap: 0.12rem; margin: 0; padding: 0; list-style: none; }
.people-facilitator-series li { min-width: 0; display: flex; align-items: center; gap: 0.3rem; }
.people-facilitator-series li > a {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem;
  color: var(--ink, #17382f);
  text-decoration: none;
  border-radius: 0.65rem;
}
.people-facilitator-series li > a:hover,
.people-facilitator-series li > a:focus-visible { background: var(--sage-soft, #e6efe9); }
.people-series-thumbnail { position: relative; flex: 0 0 auto; overflow: visible; }
.people-series-thumbnail > img:first-child { display: block; width: 2.7rem; height: 2rem; object-fit: cover; border-radius: 0.45rem; }
.people-series-thumbnail-preview {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 0.35rem) auto auto 0;
  width: min(16rem, calc(100vw - 3rem));
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0.2rem solid #fff;
  border-radius: 0.7rem;
  box-shadow: 0 0.8rem 2rem rgb(23 56 47 / 22%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.2rem) scale(0.98);
  transform-origin: top left;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.people-series-thumbnail:hover .people-series-thumbnail-preview,
.people-facilitator-series li > a:focus-visible .people-series-thumbnail-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.people-facilitator-series li > a .people-series-label { min-width: 0; overflow: hidden; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.people-series-favorite {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  margin-left: auto;
  display: grid;
  place-items: center;
  padding: 0.43rem;
  color: var(--terracotta, #ca6c4d);
  background: transparent;
  border: 1px solid var(--line, #d8ddd9);
  border-radius: 50%;
  cursor: pointer;
}
.people-series-favorite svg { width: 100%; height: 100%; fill: transparent; stroke: currentColor; stroke-width: 1.7; }
.people-series-favorite[aria-pressed="true"] svg { fill: currentColor; }

.people-directory-bio {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.people-card-favorite {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  color: var(--terracotta, #ca6c4d);
  background: transparent;
  border: 1px solid var(--line, #d8ddd9);
  border-radius: 50%;
  cursor: pointer;
}

.people-card-favorite svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
}

.people-card-favorite[aria-pressed="true"] {
  background: #f9e4de;
  border-color: #e7b4a4;
}

.people-card-favorite[aria-pressed="true"] svg {
  fill: currentColor;
}

.people-card-favorite:hover,
.people-card-favorite:focus-visible {
  background: #f9e4de;
  border-color: currentColor;
}

.people-directory-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem;
  color: var(--muted, #586963);
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--line, #d8ddd9);
  border-radius: 1rem;
}

@media (max-width: 560px) {
  .calendar-people-links {
    gap: 0;
  }

  .calendar-people-links button {
    padding-inline: 0.55rem;
    font-size: 0.9rem;
  }

  .calendar-people-actions {
    padding-right: 0.45rem;
  }

  .calendar-people-actions .calendar-favorites-toggle,
  .calendar-people-actions .calendar-search-toggle {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.55rem;
  }
}
