@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg-page: #f3efea;
  --bg-card: #ffffff;
  --bg-table-header: #eae4dc;
  --border-subtle: #e3ddd5;
  --border-row: #eee9e2;
  --text-primary: #2b2b2b;
  --text-secondary: #6f6b66;
  --brand-primary: #263029;
  --brand-hover: #1e2620;
  --danger: #a0463b;

  --color-primary-dark: var(--brand-primary);
  --color-primary-light: #f6f2ec;
  --color-accent: #bfae9c;
  --color-card: var(--bg-card);
  --color-border: var(--border-subtle);
  --color-text: var(--text-primary);
  --color-muted: var(--text-secondary);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;

  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-brand: "Cormorant Garamond", Georgia, serif;

  --wordmark-size: clamp(1.35rem, 2.2vw, 1.8rem);
  --wordmark-line-height: 0.88;
  --wordmark-track-a: 0.18em;
  --wordmark-track-b: 0.22em;

  --space-card: var(--space-3);
  --radius-card: 16px;
  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.04);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--bg-page);
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary-light);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-5);
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.brand-line {
  display: block;
  margin: 0;
  font-family: var(--font-brand);
  font-size: var(--wordmark-size);
  font-weight: 600;
  line-height: var(--wordmark-line-height);
  text-transform: uppercase;
}

.brand-line--one {
  letter-spacing: var(--wordmark-track-a);
}

.brand-line--two {
  letter-spacing: var(--wordmark-track-b);
}

.brand-submark {
  width: 26px;
  height: 44px;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  position: relative;
}

.brand-submark::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 50%;
  border-top: 1px solid var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.92rem;
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 999px;
}

.site-nav-toggle-line + .site-nav-toggle-line {
  margin-top: 4px;
}

.page-shell {
  width: 100%;
}

.page-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--color-primary-dark);
}

.layout-rail {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.site-main {
  margin-top: var(--space-4);
  padding: 0 var(--space-5) var(--space-6);
}

.site-main--no-header {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #0f1413;
  color: #e8e2d8;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4) var(--space-5);
  padding: var(--space-4) var(--space-5);
}

.site-footer-inner > div:first-child {
  max-width: 340px;
}

.site-footer-inner > div {
  min-width: 0;
}

.site-footer-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 2rem;
  line-height: 1.05;
}

.site-footer-copy {
  margin: 0.5rem 0 0;
  color: #c9c2b8;
}

.site-footer-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9f988e;
}

.site-footer-links {
  margin: 0.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.75rem 2rem;
}

.site-footer-links a {
  color: #c9c2b8;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #f3d5a3;
}

.site-footer-copy a {
  color: #f3d5a3;
  overflow-wrap: anywhere;
}

.site-footer-meta {
  margin: 0.5rem 0 0;
  color: #9f988e;
  font-size: 0.9rem;
}

.text-muted {
  color: var(--color-muted);
}

.page {
  width: 100%;
  padding: 0;
}

.card,
.left-card {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-card);
}

.form-half {
  width: 100%;
  max-width: 50%;
}

.form-label {
  margin-bottom: 0.25rem;
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-input,
.form-half input[type="email"],
.form-half input[type="password"],
.form-half input[type="text"],
.form-half textarea,
.form-half select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: white;
  padding: 0.55rem 0.7rem;
  color: var(--color-primary-dark);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--brand-primary);
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-primary-compact {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--brand-primary);
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-primary:hover {
  background: var(--brand-hover);
}

.admin-body {
  background: var(--bg-page);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  background: var(--color-primary-light);
  border-right: 1px solid var(--border-subtle);
  padding: var(--space-3);
}

.admin-sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.admin-nav-section {
  margin: 4px 12px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.admin-nav-group {
  margin-top: 2px;
}

.admin-nav-section--toggle {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-nav-section--toggle::-webkit-details-marker {
  display: none;
}

.admin-nav-section--toggle::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.admin-nav-group[open] .admin-nav-section--toggle::after {
  content: "-";
}

.admin-nav-group-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 150ms ease, background-color 150ms ease;
}

.admin-nav-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #812d3b;
  color: #fff;
  padding: 0 7px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.admin-nav-link.is-active .admin-nav-badge {
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.admin-nav-link:hover {
  background: rgba(38, 48, 41, 0.06);
  color: var(--brand-primary);
}

.admin-nav-link.is-active {
  background: rgba(38, 48, 41, 0.12);
  color: var(--brand-primary);
  font-weight: 600;
}

.admin-nav-link.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.admin-nav-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-2) 0;
}

.admin-sidebar-footer {
  margin-top: var(--space-2);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-2);
}

.admin-user-email {
  margin: 0 0 var(--space-2);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.admin-content {
  padding: var(--space-5);
}

.users-page {
  width: 100%;
}

.users-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 20px;
}

.admin-subtitle {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #6f6b66;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) minmax(160px, 1fr) auto auto;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
}

.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: var(--space-3);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
  margin-bottom: var(--space-5);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: var(--bg-table-header);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.admin-table th,
.admin-table td {
  padding: 18px 0;
}

.admin-table th {
  text-align: left;
  font-weight: 600;
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: var(--space-3);
}

.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: var(--space-3);
}

.admin-table tbody tr {
  border-top: 1px solid var(--border-row);
}

.admin-table tbody tr:hover {
  background: #faf7f3;
  transition: background-color 150ms ease;
}

.actions {
  text-align: right;
  white-space: nowrap;
}

.actions a {
  font-weight: 500;
  margin-right: var(--space-2);
  text-decoration: none;
  color: var(--text-secondary);
}

.actions a:last-child {
  margin-right: 0;
}

.actions a:hover {
  color: var(--text-primary);
}

.actions a.delete {
  color: var(--danger);
}

.actions a.delete:hover {
  color: color-mix(in srgb, var(--danger) 80%, black);
}

.actions a.action-secondary {
  color: var(--text-secondary);
  font-weight: 400;
}

.actions a.action-secondary:hover {
  color: var(--text-primary);
}

.faqs-table .faq-col-question {
  width: 42%;
}

.faqs-table .faq-col-answer {
  width: 38%;
}

.faqs-table .faq-col-status {
  width: 10%;
}

.faqs-table .faq-col-actions {
  width: 10%;
}

.faq-question-cell {
  font-weight: 500;
  color: var(--text-primary);
}

.faq-answer-cell {
  line-height: 1.5;
}

.hero-image-thumb {
  display: block;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #f8f5f1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.status-pill.active {
  background: rgba(38, 48, 41, 0.12);
  color: var(--brand-primary);
}

.status-pill.inactive {
  background: rgba(160, 70, 59, 0.1);
  color: var(--danger);
}

.status-pill.invited {
  background: rgba(191, 174, 156, 0.25);
  color: var(--text-secondary);
}

.comments-admin-filters {
  grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) minmax(220px, 1.3fr) auto auto;
}

.comments-admin-list {
  display: grid;
  gap: var(--space-2);
}

.comments-admin-card {
  padding: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.comments-admin-card--pending {
  border-color: color-mix(in srgb, #b86f48 32%, var(--border-subtle));
  background: color-mix(in srgb, #f5e8df 48%, #fff);
  box-shadow: 0 8px 22px rgba(129, 45, 59, 0.055);
}

.comments-admin-card--pending .status-pill.invited {
  background: color-mix(in srgb, #b86f48 18%, #fff);
  color: #8b482f;
}

.comments-admin-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.comments-admin-card h2,
.comments-admin-original h2,
.comments-admin-empty h2 {
  margin: 5px 0 0;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  line-height: 1.1;
}

.comments-admin-post {
  margin: 0;
  color: var(--danger);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comments-admin-post a {
  text-decoration: none;
}

.comments-admin-post a:hover {
  text-decoration: underline;
}

.comments-admin-contact,
.comments-admin-hint {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.comments-admin-message {
  max-width: 78ch;
  margin-top: 20px;
  color: var(--text-primary);
  line-height: 1.65;
}

.comments-admin-message p,
.comments-admin-reply p {
  margin: 0;
}

.comments-admin-message p + p,
.comments-admin-reply p + p {
  margin-top: 0.7rem;
}

.comments-admin-thread-context {
  max-width: 78ch;
  margin: 16px 0 0;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}

.comments-admin-reply {
  max-width: 78ch;
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  background: var(--color-primary-light);
  color: var(--text-secondary);
  line-height: 1.55;
}

.comments-admin-reply strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.comments-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.comments-admin-editor {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: var(--space-3);
  align-items: start;
}

.comments-admin-original {
  position: sticky;
  top: var(--space-3);
}

.comments-admin-response {
  display: grid;
  gap: 22px;
}

.comments-admin-response textarea.form-input {
  min-height: 220px;
  resize: vertical;
  line-height: 1.55;
}

.comments-admin-empty {
  text-align: center;
  padding: var(--space-5);
}

.comments-admin-empty p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: transparent;
  color: var(--color-primary-dark);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-subtle-compact {
  padding: 0.32rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-subtle-danger {
  border-color: color-mix(in srgb, var(--danger) 35%, var(--color-border));
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 6%, white);
}

.btn-subtle-danger:hover {
  background: color-mix(in srgb, var(--danger) 12%, white);
}


.link-muted {
  color: var(--color-muted);
  text-decoration: none;
}

.link-muted:hover {
  color: var(--color-primary-dark);
}

.flash-stack {
  position: fixed;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(92vw, 520px);
  display: grid;
  gap: 0.55rem;
}

.flash-message {
  border: 1px solid;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(16, 22, 20, 0.12);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

.flash-message.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
}

.flash-notice {
  border-color: color-mix(in srgb, var(--color-accent) 68%, white);
  background: color-mix(in srgb, var(--color-accent) 32%, white);
  color: var(--color-primary-dark);
}

.flash-alert {
  border-color: color-mix(in srgb, #c75d52 35%, white);
  background: color-mix(in srgb, #c75d52 13%, white);
  color: #7a2f2a;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.subtle {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
}

.admin-dashboard {
  margin-top: var(--space-5);
}

.admin-heading {
  margin: 0 0 var(--space-4);
  font-family: var(--font-brand);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.stat-label {
  margin: 0 0 var(--space-1);
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-number {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-actions {
  margin-top: var(--space-3);
}

.home-hero {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 180px);
  margin-left: calc(50% - 50vw);
  margin-bottom: var(--space-5);
  background-image: linear-gradient(160deg, rgba(10, 17, 15, 0.55), rgba(10, 17, 15, 0.2)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: background-image 700ms ease;
}

.home-hero-overlay {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  max-width: min(760px, 100%);
  padding: clamp(2rem, 5vw, 5rem);
  color: #f8f5ef;
}

.home-kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}

.home-hero-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.home-hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  max-width: 56ch;
}

.home-faq {
  margin: 0 auto var(--space-5);
  width: min(900px, 100%);
}

.home-faq-header {
  margin-bottom: var(--space-3);
}

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

.home-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 0.95rem 1rem;
}

.home-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
}

.home-faq-item p {
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.settings-page {
  width: 100%;
}

.settings-section {
  margin-bottom: var(--space-3);
}

.settings-heading {
  margin: 0 0 0.8rem;
  font-family: var(--font-brand);
  font-size: 1.9rem;
  line-height: 1.1;
}

.settings-grid {
  display: grid;
  gap: 1rem;
}

.settings-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.settings-value {
  margin: 0.35rem 0 0;
  color: var(--text-primary);
}

.faq-admin-list {
  display: grid;
  gap: 0.85rem;
  margin-top: var(--space-2);
}

.faq-admin-item {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.faq-admin-question {
  margin: 0;
  font-weight: 600;
}

.faq-admin-answer {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
}

.retreat-form {
  max-width: 100%;
  padding: var(--space-2);
}

.retreat-page-shell .page-title {
  margin-bottom: var(--space-2);
}

.retreat-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.retreat-form-full {
  grid-column: 1 / -1;
}

.retreat-form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.retreat-options-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.retreat-options-header .settings-heading {
  margin: 0;
  font-size: 1.5rem;
}

.retreat-option-card {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: #fcfaf7;
  padding: var(--space-2);
  display: grid;
  gap: var(--space-2);
}

.retreat-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.retreat-option-active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.itinerary-day-card,
.itinerary-item-row {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: #fcfaf7;
  padding: var(--space-2);
  display: grid;
  gap: var(--space-2);
}

.retreat-option-card > .btn-subtle,
.itinerary-day-card > .btn-subtle,
.itinerary-item-row > .btn-subtle {
  justify-self: start;
  width: auto;
}

.itinerary-items {
  border-top: 1px solid var(--border-row);
  padding-top: var(--space-2);
}

.itinerary-items-heading {
  margin: 0;
  font-size: 1.2rem;
}

.retreat-options-section {
  overflow: hidden;
  max-height: 5000px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
}

.retreat-options-section.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0 !important;
  pointer-events: none;
}

.retreat-form-actions {
  margin-top: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  .retreat-options-section {
    transition: none;
  }
}

@media (max-width: 900px) {
  .form-half {
    max-width: 100%;
  }

  .site-header-inner {
    padding: var(--space-3);
    flex-wrap: wrap;
    row-gap: 10px;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.2rem 0 0.4rem;
    border-top: 1px solid var(--border-subtle);
  }

  .site-header.is-nav-open .site-nav {
    display: flex;
  }

  .site-nav .link-muted,
  .site-nav form {
    width: 100%;
  }

  .site-nav .link-muted,
  .site-nav .btn-subtle {
    display: block;
    padding: 0.72rem 0;
  }

  .site-nav .btn-subtle {
    border: 0;
    border-radius: 0;
    text-align: left;
    background: transparent;
    justify-content: flex-start;
  }

  .site-main {
    padding: 0 var(--space-3) var(--space-5);
  }

  .site-footer-inner {
    flex-direction: column;
    padding: var(--space-3);
  }

  .site-footer-links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .admin-content {
    padding: var(--space-3);
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .comments-admin-editor {
    grid-template-columns: 1fr;
  }

  .comments-admin-original {
    position: static;
  }

  .retreat-form-grid,
  .retreat-form-pair,
  .retreat-option-grid {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .home-hero-overlay {
    min-height: 65vh;
  }

}

/* Monthly Pour content management */
.pour-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.pour-editor-main { display: grid; gap: 24px; min-width: 0; }
.pour-editor-section { display: grid; gap: 20px; padding: 28px; }
.pour-editor-section h2 { font-family: var(--font-brand); font-size: 1.9rem; line-height: 1.15; margin: 0; }
.pour-editor-section p { margin: 0; }
.pour-section-number { color: #812d3b; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.pour-fields-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pour-editor .form-input { width: 100%; }
.pour-editor textarea { resize: vertical; }
.pour-field-hint { font-size: .78rem; color: var(--text-secondary); line-height: 1.6; margin-top: 7px !important; }
.pour-field-hint a { text-decoration: underline; }
.pour-editor-photo { display: block; width: 160px; max-height: 220px; object-fit: contain; border: 1px solid var(--border-subtle); }
.pour-editor-aside { position: sticky; top: 24px; }
.pour-publishing { border-top: 3px solid #812d3b; }
.pour-check, .pour-tag-choice { display: flex; align-items: baseline; gap: 10px; font-size: .88rem; }
.pour-check input, .pour-tag-choice input { width: 16px; height: 16px; flex-shrink: 0; accent-color: #812d3b; }
.pour-tags { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; }
.pour-tag-choice { border: 1px solid var(--border-subtle); border-radius: 20px; padding: 8px 12px; }
.pour-tag-choice:has(input:checked) { background: #f3e8e7; border-color: #a66b70; }
.pour-question { display: grid; grid-template-columns: minmax(0, 1fr) 76px auto; align-items: end; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.pour-question[hidden] { display: none; }
.pour-form-errors { padding: 20px; margin-bottom: 24px; }
.pour-form-errors ul { list-style: disc; padding-left: 24px; }
.pour-admin-book { display: flex; gap: 16px; align-items: center; }
.pour-admin-thumb { width: 50px; height: 66px; object-fit: cover; }
.pour-admin-thumb--missing { display: grid; place-items: center; flex-shrink: 0; padding: 4px; background: var(--bg-table-header); color: var(--text-secondary); font-size: .65rem; line-height: 1.1; text-align: center; }
.book-bulk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 14px; }
.book-bulk-actions .form-input { width: min(280px, 100%); }
.book-select-cell { width: 52px; text-align: center !important; }
.book-select-cell input { width: 17px; height: 17px; accent-color: #812d3b; }
.book-review-excerpt { max-width: 520px; margin-top: 6px; color: var(--text-secondary); font-size: .78rem; line-height: 1.45; }
.books-review-table-scroll { overflow-x: auto; }
.books-review-table { min-width: 1120px; table-layout: fixed; }
.books-review-table .book-col-select { width: 52px; }
.books-review-table .book-col-tags { width: 24%; }
.books-review-table .book-col-release { width: 170px; }
.books-review-table .book-col-rating { width: 96px; }
.books-review-table .book-col-status { width: 100px; }
.books-review-table .book-col-actions { width: 76px; }
.books-review-table th,
.books-review-table td { padding-left: 16px; padding-right: 16px; vertical-align: middle; }
.books-review-table .book-select-cell { padding-left: 12px; padding-right: 12px; }
.pour-admin-book-details { min-width: 0; }
.book-tags-cell { line-height: 1.45; overflow-wrap: anywhere; }
.book-picker-field { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.book-picker-field > .btn-subtle { flex-shrink: 0; }
body.book-picker-open { overflow: hidden; }
.book-picker-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(32, 24, 23, .66); }
.book-picker-backdrop[hidden] { display: none; }
.book-picker-modal { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; width: min(680px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: hidden; border-radius: 16px; background: var(--color-card); box-shadow: 0 28px 70px rgba(0, 0, 0, .3); }
.book-picker-header, .book-picker-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
.book-picker-header { border-bottom: 1px solid var(--border-subtle); }
.book-picker-header h2 { margin: 0; }
.book-picker-close { display: grid; width: 38px; height: 38px; flex-shrink: 0; place-items: center; border: 1px solid var(--color-border); border-radius: 50%; background: transparent; color: var(--color-primary-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.book-picker-search { padding: 18px 24px; border-bottom: 1px solid var(--border-subtle); }
.book-picker-list { min-height: 180px; overflow-y: auto; padding: 6px 24px; }
.book-picker-option { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--border-subtle); cursor: pointer; }
.book-picker-option[hidden] { display: none; }
.book-picker-option input { width: 18px; height: 18px; flex-shrink: 0; accent-color: #812d3b; }
.book-picker-option-copy { display: grid; gap: 3px; min-width: 0; }
.book-picker-option-copy strong { overflow-wrap: anywhere; }
.book-picker-option-copy small, .book-picker-footer { color: var(--text-secondary); }
.book-picker-empty { padding: 28px 4px; color: var(--text-secondary); text-align: center; }
.book-picker-footer { border-top: 1px solid var(--border-subtle); font-size: .85rem; }
.book-release-cell,
.book-rating-cell,
.book-status-cell { white-space: nowrap; }
.book-release-cell .status-pill { margin-top: 8px; }
.pour-admin-featured { color: #812d3b; font-size: .75rem; margin-top: 6px; }
.pour-rsvp-admin { margin-top: 28px; padding: 28px; }
.pour-rsvp-admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pour-rsvp-admin-header h2 { margin: 5px 0 0; font-family: var(--font-brand); font-size: 2rem; line-height: 1.1; }
.pour-rsvp-table-wrap { overflow-x: auto; }
.pour-rsvp-table-wrap .admin-table { min-width: 620px; }
.pour-rsvp-download { margin-bottom: 18px; }
@media (max-width: 1100px) { .pour-editor-grid { grid-template-columns: 1fr; } .pour-editor-aside { position: static; } }
@media (max-width: 650px) { .pour-fields-two, .pour-question { grid-template-columns: 1fr; } .pour-editor-section { padding: 20px; } .book-picker-field { align-items: flex-start; flex-direction: column; } .book-picker-backdrop { padding: 10px; } .book-picker-modal { max-height: calc(100vh - 20px); } .book-picker-header, .book-picker-search, .book-picker-footer { padding-left: 18px; padding-right: 18px; } .book-picker-list { padding-left: 18px; padding-right: 18px; } }
