:root {
  --bg: #04150f;
  --bg-soft: #08251a;
  --bg-mist: #dcecdf;
  --surface: rgba(226, 243, 226, 0.12);
  --surface-strong: rgba(236, 249, 231, 0.78);
  --line: rgba(220, 244, 219, 0.24);
  --line-dark: rgba(6, 45, 30, 0.16);
  --text: #f4fbf2;
  --text-dark: #092117;
  --muted: #b8cfbd;
  --muted-dark: #4e6558;
  --accent: #b9ef9a;
  --accent-strong: #73d87d;
  --gold: #e3ce91;
  --danger: #b53333;
  --success: #0d6b3f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container-max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(56px, 8vw, 104px);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(119, 216, 125, 0.22), transparent 26rem),
    radial-gradient(circle at 92% 18%, rgba(227, 206, 145, 0.13), transparent 24rem),
    linear-gradient(145deg, #020b08 0%, var(--bg) 42%, #0d2b1d 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(225, 243, 222, 0.14);
  background: rgba(4, 21, 15, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(185, 239, 154, 0.45);
  box-shadow: 0 4px 16px rgba(185, 239, 154, 0.18);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 0.95;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(244, 251, 242, 0.82);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #062115;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 42px rgba(115, 216, 125, 0.25);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(229, 244, 226, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  color: var(--text);
  background: #062116;
}

.hero {
  position: relative;
  min-height: 690px;
  padding: 92px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 21, 15, 0.96), rgba(4, 21, 15, 0.72) 42%, rgba(4, 21, 15, 0.22)),
    radial-gradient(circle at 78% 30%, rgba(186, 239, 154, 0.24), transparent 22rem);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 532px);
  align-items: start;
  gap: 54px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 92px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead,
.page-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #dcebdd;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.proof-item {
  border-top: 1px solid rgba(229, 244, 226, 0.22);
  padding-top: 14px;
}

.proof-item strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.aura-panel {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: start;
  justify-self: end;
  border: 1px solid rgba(220, 244, 219, 0.2);
  border-radius: 90px 8px 90px 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(185, 239, 154, 0.22), transparent 10rem),
    linear-gradient(145deg, rgba(227, 206, 145, 0.12), rgba(232, 251, 231, 0.06));
  box-shadow: var(--shadow);
}

.aura-panel::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(227, 206, 145, 0.35);
  border-radius: 50%;
  border-left-color: transparent;
  transform: rotate(-28deg);
  z-index: 2;
}

.aura-panel::after {
  content: "✦";
  position: absolute;
  right: 54px;
  bottom: 46px;
  color: var(--accent);
  font-size: 58px;
  text-shadow: 0 0 32px rgba(185, 239, 154, 0.8);
  z-index: 3;
}

.aura-photo {
  position: absolute;
  inset: 42px;
  width: calc(100% - 84px);
  height: calc(100% - 84px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 36%;
  z-index: 1;
}

.aura-card {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
  height: 250px;
  padding: 20px 24px 26px;
  border: 1px solid rgba(220, 244, 219, 0.24);
  border-radius: var(--radius);
  background: rgba(4, 21, 15, 0.72);
  backdrop-filter: blur(16px);
  z-index: 4;
}

.aura-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.05;
}

.aura-card p {
  margin: 0;
  font-size: 24px;
  line-height: 1.36;
}

.section {
  padding: 92px 0;
}

.section-light {
  color: var(--text-dark);
  background:
    radial-gradient(circle at 88% 4%, rgba(115, 216, 125, 0.2), transparent 18rem),
    linear-gradient(180deg, #e8f2e5, #cfe4d1);
}

#about {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(227, 206, 145, 0.12), rgba(232, 251, 231, 0.06)),
    #092117;
}

#about .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

#about .section-header {
  display: block;
  margin-bottom: 0;
  padding-top: 56px;
}

#about .section-header h2 {
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.94;
}

#about .section-header p {
  max-width: 430px;
  margin-top: 26px;
}

.section-dark {
  background: rgba(2, 11, 8, 0.28);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-header h2,
.page-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  line-height: 1;
}

.section-header p {
  max-width: 480px;
  margin: 0;
  color: inherit;
  opacity: 0.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.format-card,
.article-card,
.course-card,
.contact-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 54px rgba(8, 37, 26, 0.12);
  overflow: hidden;
}

.service-card::before,
.format-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  background: radial-gradient(circle at 80% 0%, rgba(115, 216, 125, 0.24), transparent 11rem);
  pointer-events: none;
}

.service-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 45, 30, 0.18);
  border-radius: 50%;
  color: #0b3c26;
  font-size: 26px;
}

.service-card h3,
.format-card h3,
.article-card h3,
.course-card h3,
.contact-card h3 {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.service-card p,
.format-card p,
.article-card p,
.course-card p,
.contact-card p {
  position: relative;
  color: var(--muted-dark);
}

.contact-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 34%;
  margin-bottom: 14px;
  border: 1px solid rgba(6, 45, 30, 0.18);
  box-shadow: 0 12px 30px rgba(8, 37, 26, 0.14);
}

.profile-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  border: 1px solid rgba(220, 244, 219, 0.22);
  box-shadow: var(--shadow);
}

.card-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-card .button-secondary,
.format-card .button-secondary,
.course-card .button-secondary,
.article-card .button-secondary,
.contact-card .button-secondary {
  color: var(--text-dark);
  border-color: rgba(6, 45, 30, 0.28);
  background: rgba(255, 255, 255, 0.42);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.about-split {
  align-items: start;
}

.about-copy {
  width: 100%;
}

.approach-note {
  max-width: 420px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(6, 45, 30, 0.12);
  box-shadow: 0 18px 40px rgba(8, 37, 26, 0.08);
}

.approach-note p {
  margin: 0;
}

.text-stack > * + * {
  margin-top: 18px;
}

.ritual-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ritual-list li {
  padding: 18px;
  border-left: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.booking-band {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(185, 239, 154, 0.18), transparent 22rem),
    #062116;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.booking-card {
  padding: 34px;
  border: 1px solid rgba(220, 244, 219, 0.2);
  border-radius: var(--radius);
  background: rgba(233, 248, 232, 0.08);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #dcebdd;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(220, 244, 219, 0.22);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(2, 11, 8, 0.42);
  outline: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 239, 154, 0.13);
}

.field [aria-invalid="true"] {
  border-color: #ffb2a9;
}

.field-error {
  min-height: 18px;
  color: #ffcbc4;
  font-size: 12px;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.booking-mode-note {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #bcf4c2;
}

.form-status[data-state="error"] {
  color: #ffcbc4;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-hero {
  padding: 76px 0 62px;
  border-bottom: 1px solid rgba(220, 244, 219, 0.14);
  background:
    radial-gradient(circle at 82% 16%, rgba(185, 239, 154, 0.2), transparent 22rem),
    rgba(2, 11, 8, 0.22);
}

.page-section {
  padding: 76px 0;
}

.formats-grid,
.articles-grid,
.courses-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price {
  display: block;
  margin: 18px 0;
  color: #0b3c26;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(220, 244, 219, 0.24);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(220, 244, 219, 0.14);
  background: #020b08;
}

.announcement {
  margin-top: auto;
  padding: 18px 20px;
  border: 1px solid rgba(185, 239, 154, 0.24);
  border-radius: var(--radius);
  color: #dcebdd;
  background: rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 15px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(220, 244, 219, 0.18);
    border-radius: var(--radius);
    background: rgba(4, 21, 15, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .hero-grid,
  .split,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .aura-panel {
    width: 100%;
    height: auto;
    min-height: 360px;
    justify-self: stretch;
  }

  .aura-card {
    transform: none;
  }

  .hero-copy {
    display: block;
  }

  .announcement {
    margin-top: 28px;
    transform: none;
  }

  .services-grid,
  .formats-grid,
  .articles-grid,
  .courses-grid,
  .contacts-grid,
  .footer-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-weekday-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  #about .section-header h2 {
    font-size: 48px;
  }

  .hero-lead,
  .page-lead {
    font-size: 18px;
  }

  .hero-proof,
  .services-grid,
  .formats-grid,
  .articles-grid,
  .courses-grid,
  .contacts-grid,
  .footer-grid,
  .form-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-section {
    padding: 64px 0;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 14px;
  }

  #about .container {
    display: block;
  }

  #about .section-header {
    padding-top: 0;
    margin-bottom: 36px;
  }

  #about .section-header p {
    margin-top: 14px;
  }

  .about-copy {
    width: 100%;
    margin-left: 0;
  }

  .booking-card {
    padding: 22px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Operational administrator interface */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.admin-screen {
  min-height: 100vh;
  padding: clamp(24px, 4vw, 52px) 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 239, 154, 0.2), transparent 22rem),
    radial-gradient(circle at 90% 32%, rgba(227, 206, 145, 0.1), transparent 28rem),
    linear-gradient(145deg, #020b08, #08251a);
}

.admin-state,
.admin-login {
  width: min(560px, calc(100% - 32px));
  margin: 7vh auto;
}

.admin-state h1,
.admin-login h1,
.admin-panel h1,
.admin-section h2,
.admin-section h3,
.admin-dialog h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  line-height: 1.05;
}

.admin-state h1,
.admin-login h1,
.admin-panel h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.admin-section h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.admin-section h3 {
  margin-top: 28px;
  font-size: clamp(23px, 3vw, 30px);
}

.admin-container {
  width: min(1440px, calc(100% - 32px)) !important;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.admin-welcome,
.admin-section p,
.admin-dialog p {
  color: var(--muted);
}

.admin-actions,
.admin-row-actions,
.admin-dialog-actions,
.admin-order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid rgba(220, 244, 219, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 11, 8, 0.9);
  backdrop-filter: blur(14px);
}

.admin-nav a {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  color: var(--text);
  background: rgba(185, 239, 154, 0.12);
}

.admin-section {
  margin-bottom: 24px;
  padding: clamp(18px, 3vw, 30px);
  scroll-margin-top: 90px;
  border: 1px solid rgba(220, 244, 219, 0.18);
  border-radius: var(--radius);
  background: rgba(233, 248, 232, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14);
}

.admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.admin-section-heading > div {
  max-width: 680px;
}

.admin-filters,
.admin-settings-row,
.admin-override-editor {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-filters .field,
.admin-settings-row .field,
.admin-override-editor .field {
  margin: 0;
  min-width: 150px;
  flex: 1 1 150px;
}

.admin-card .field input,
.admin-card .field select,
.admin-card .field textarea,
.admin-dialog .field input,
.admin-dialog .field select,
.admin-dialog .field textarea,
.admin-time-field input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: rgba(2, 11, 8, 0.58);
}

.admin-panel-status,
.admin-row-status {
  min-height: 1.5em;
  margin: 8px 0;
  color: var(--accent);
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(220, 244, 219, 0.14);
  border-radius: var(--radius);
}

.admin-table-wrap[aria-busy="true"] {
  opacity: 0.66;
}

.admin-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(220, 244, 219, 0.13);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.admin-table th {
  color: var(--accent);
  background: rgba(2, 11, 8, 0.45);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-table td span,
.admin-table td small,
.admin-table td strong {
  display: block;
  margin-bottom: 5px;
}

.admin-table td p {
  margin: 5px 0;
  white-space: pre-wrap;
}

.admin-action-button {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 13px;
}

.admin-badge {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(220, 244, 219, 0.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.admin-badge-pending { color: #ffe09a; }
.admin-badge-confirmed,
.admin-badge-published,
.admin-badge-completed { color: var(--accent); }
.admin-badge-rejected,
.admin-badge-cancelled { color: #ffcbc4; }
.admin-badge-hidden { color: #c8d4ce; }

.admin-more,
.admin-save-row {
  margin-top: 16px;
}

.admin-save-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-schedule-weekly {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-weekday-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(95px, 0.65fr) minmax(95px, 0.65fr);
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(220, 244, 219, 0.14);
  border-radius: var(--radius);
}

.admin-weekday-row legend {
  padding: 0 6px;
  color: var(--accent);
  font-weight: 800;
}

.admin-toggle,
.admin-time-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-weight: 700;
}

.admin-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--accent-strong);
}

.admin-time-field {
  display: grid;
  font-size: 12px;
}

.admin-override-editor {
  padding: 16px;
  border: 1px solid rgba(220, 244, 219, 0.14);
  border-radius: var(--radius);
  background: rgba(2, 11, 8, 0.22);
}

.admin-note-field {
  flex-basis: 240px !important;
}

.admin-tag-list {
  display: grid;
  gap: 10px;
}

.admin-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(220, 244, 219, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tag span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-tag button,
.admin-danger-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 203, 196, 0.42);
  border-radius: 6px;
  color: #ffcbc4;
  background: rgba(181, 51, 51, 0.12);
  cursor: pointer;
}

.admin-order-block {
  margin-top: 30px;
  padding-top: 4px;
  border-top: 1px solid rgba(220, 244, 219, 0.13);
}

.admin-review-order {
  display: grid;
  gap: 10px;
  padding-left: 28px;
}

.admin-order-item {
  padding: 12px;
  border: 1px solid rgba(220, 244, 219, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  overflow-wrap: anywhere;
}

.admin-order-actions {
  margin-top: 8px;
}

.admin-order-actions .button {
  min-height: 38px;
  padding: 7px 12px;
}

.admin-dialog {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(220, 244, 219, 0.24);
  border-radius: var(--radius);
  color: var(--text);
  background: #08251a;
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop {
  background: rgba(0, 8, 5, 0.78);
  backdrop-filter: blur(4px);
}

.admin-dialog-card {
  padding: clamp(20px, 4vw, 32px);
}

.admin-dialog-actions {
  justify-content: flex-end;
  margin-top: 22px;
}

.admin-screen :is(a, button, input, select, textarea):focus-visible,
.admin-dialog :is(button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.admin-screen button:disabled,
.admin-dialog button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

@media (max-width: 1040px) {
  .admin-topbar,
  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-schedule-weekly {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-container {
    width: min(100% - 24px, 1440px) !important;
  }

  .admin-nav {
    position: static;
  }

  .admin-nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .admin-table-wrap {
    overflow: visible;
    border: 0;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(220, 244, 219, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(100px, 0.4fr) minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .admin-table td::before {
    content: attr(data-label);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .admin-row-actions {
    min-width: 0;
  }

  .admin-weekday-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-screen {
    padding-top: 16px;
  }

  .admin-container {
    width: min(100% - 20px, 1440px) !important;
  }

  .admin-actions,
  .admin-filters,
  .admin-settings-row,
  .admin-override-editor,
  .admin-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-nav a {
    flex-basis: 100%;
  }

  .admin-table td {
    grid-template-columns: 1fr;
  }

  .admin-tag {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Public booking and moderated review flows */
.booking-card[data-state="loading"],
.booking-card[data-state="submitting"] {
  cursor: progress;
}

.booking-card button:disabled,
.review-form button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #dcebdd;
  font-weight: 500;
  line-height: 1.55;
}

.consent-field input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-field a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-state {
  min-height: 54px;
  margin-bottom: 24px;
  color: var(--muted-dark);
}

.reviews-state p {
  margin: 0 0 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.reviews-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}
.review-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(6, 45, 30, 0.12);
  border-radius: var(--radius);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(8, 37, 26, 0.08);
}

.review-card h3 {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.review-card-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-card-meta {
  margin: 20px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.site-shell :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Task 11: shared responsive geometry and accessibility hardening */
:root {
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
}

.site-shell {
  overflow-x: clip;
}

.container,
.admin-container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container-max)) !important;
  margin-inline: auto;
}

.section,
.page-section {
  padding-block: var(--section-space);
}

.page-hero {
  padding-block: clamp(56px, 7vw, 84px);
}

.hero {
  min-height: 0;
  padding-block: clamp(56px, 8vw, 92px);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
}

.page-hero h1,
#about .section-header h2 {
  font-size: clamp(42px, 6vw, 76px);
}

.section-header h2,
.page-section h2,
.booking-band h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

:is(h1, h2, h3),
:is(.review-card-body, .admin-row-status, .admin-panel-status) {
  overflow-wrap: anywhere;
}

:is(
  .hero-grid,
  .services-grid,
  .formats-grid,
  .articles-grid,
  .courses-grid,
  .contacts-grid,
  .reviews-grid,
  .split,
  .booking-layout,
  .footer-grid,
  .form-grid,
  .admin-grid,
  .admin-schedule-weekly,
  .admin-weekday-row
) {
  align-items: stretch;
}

:is(
  .hero-grid,
  .services-grid,
  .formats-grid,
  .articles-grid,
  .courses-grid,
  .contacts-grid,
  .reviews-grid,
  .split,
  .booking-layout,
  .footer-grid,
  .form-grid,
  .admin-grid,
  .admin-schedule-weekly,
  .admin-weekday-row
) > * {
  min-width: 0;
}

:is(
  .service-card,
  .format-card,
  .article-card,
  .course-card,
  .contact-card,
  .review-card
) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.card-actions {
  margin-top: auto;
  padding-top: 22px;
}

#about .container {
  display: block;
}

.aura-panel {
  align-self: stretch;
}

.aura-card {
  left: 24px;
  right: 24px;
  bottom: 24px;
  width: auto;
  height: auto;
  padding: 18px 20px;
}

.aura-card h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 32px);
}

.aura-card p {
  font-size: clamp(15px, 1.5vw, 18px);
}

.button,
.menu-button,
.social-link,
.admin-action-button,
.admin-tag button,
.admin-danger-button,
.admin-order-actions .button {
  min-height: 44px;
  max-width: 100%;
}

.menu-button {
  width: 44px;
  height: 44px;
}

.site-nav a,
.site-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a {
  padding-block: 10px;
}

.field,
.field input,
.field select,
.field textarea {
  min-width: 0;
  max-width: 100%;
}

.field input,
.field select {
  min-height: 44px;
}

.consent-field label {
  min-height: 44px;
}

.site-shell :is(a, button, input, select, textarea):focus-visible,
.admin-screen :is(a, button, input, select, textarea):focus-visible,
.admin-dialog :is(button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-nav {
    left: var(--gutter);
    right: var(--gutter);
  }

  .aura-panel {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(42px, 13vw, 52px);
  }

  .page-hero h1,
  #about .section-header h2 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .aura-panel {
    aspect-ratio: 1 / 1;
  }

  .aura-photo {
    inset: 28px;
    width: calc(100% - 56px);
    height: calc(100% - 56px);
  }

  .aura-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
  }
}
