:root {
  --bg: #f6f0e8;
  --paper: rgba(255, 251, 245, 0.9);
  --paper-strong: #fffaf4;
  --ink: #40372f;
  --ink-soft: #6d6356;
  --olive: #8f9770;
  --olive-deep: #6f7850;
  --sand: #d9c6ab;
  --sand-deep: #c1aa8a;
  --rose-dust: #d9b9ae;
  --line: rgba(103, 90, 72, 0.14);
  --shadow: 0 18px 50px rgba(96, 82, 62, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(207, 192, 170, 0.35), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(174, 186, 137, 0.18), transparent 22%),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 48%, #f2e8db 100%);
}

img,
video {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-sm);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 252, 247, 0.95);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 6.9rem;
}

.watercolor {
  position: fixed;
  z-index: 0;
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
}

.watercolor-a {
  top: 7rem;
  left: -4rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(205, 192, 169, 0.48) 0%, rgba(205, 192, 169, 0.2) 44%, transparent 70%);
}

.watercolor-b {
  right: -5rem;
  top: 20rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(175, 186, 139, 0.3) 0%, rgba(175, 186, 139, 0.15) 40%, transparent 68%);
}

.topbar,
.page-content,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.16em;
  font-size: 2rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.topnav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  color: var(--olive-deep);
  transform: translateY(-1px);
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.2rem 4rem;
  display: grid;
  gap: 1.4rem;
}

.panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(252, 247, 239, 0.9));
  border: 1px solid rgba(129, 112, 89, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: auto auto -4rem -4rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(224, 213, 193, 0.42) 0%, transparent 66%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  min-height: 30rem;
}

.hero-mini h1,
.hero h1,
.auth-panel h2,
.panel h2,
.panel h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.hero-mini h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero-text,
.prose,
.notice-card,
.panel p,
.panel li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: var(--olive-deep);
}

.hero-actions,
.section-heading,
.subscription-card,
.booking-item,
.inline-actions,
.topbar,
.flash,
.footer-links {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 20px;
  padding: 0.9rem 1.35rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fffefb;
  background: linear-gradient(135deg, var(--olive-deep), var(--olive));
  box-shadow: 0 12px 25px rgba(111, 120, 80, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(222, 206, 183, 0.62);
}

.button-soft {
  color: var(--olive-deep);
  background: rgba(175, 186, 139, 0.16);
}

.button-danger {
  color: #fffaf4;
  background: linear-gradient(135deg, #bb7967, #d59e8d);
}

.button-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(95, 80, 61, 0.1);
}

.text-link {
  color: var(--olive-deep);
  font-weight: 600;
}

.prose a,
.hero-text a,
.rich-link {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.pass-card,
.pass-back {
  background:
    radial-gradient(circle at 78% 22%, rgba(211, 203, 186, 0.7), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(234, 225, 208, 0.88), transparent 31%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 240, 228, 0.92));
  min-height: 23rem;
}

.pass-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: stretch;
}

.pass-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pass-label,
.pass-meta,
.small-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--olive-deep);
}

.pass-number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(5rem, 12vw, 8rem);
  color: var(--olive);
  line-height: 0.8;
}

.pass-mark {
  align-self: center;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.88;
  color: var(--ink);
}

.pass-mark span {
  font-size: 1.35rem;
  color: var(--ink-soft);
}

.content-grid,
.dashboard-grid,
.signup-layout,
.admin-grid {
  display: grid;
  gap: 1.4rem;
}

.content-grid,
.dashboard-grid,
.signup-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid,
.media-strip,
.schedule-grid,
.type-grid,
.class-grid,
.admin-cards {
  display: grid;
  gap: 1rem;
}

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

.media-strip,
.schedule-grid,
.type-grid,
.class-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.section-heading {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading.compact {
  margin-bottom: 1.2rem;
}

.schedule-card,
.type-card,
.class-card,
.admin-card,
.booking-item,
.notice-card,
.empty-state,
.subscription-card,
.media-choice {
  border: 1px solid rgba(108, 92, 72, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.76);
}

.schedule-card,
.admin-card,
.empty-state,
.notice-card {
  padding: 1rem;
}

.schedule-card.is-active {
  border-color: rgba(120, 136, 85, 0.45);
}

.schedule-card.is-next {
  box-shadow: inset 0 0 0 1px rgba(201, 175, 143, 0.35);
}

.schedule-badge-row {
  display: flex;
  gap: 0.5rem;
  min-height: 1.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-olive {
  background: rgba(143, 151, 112, 0.18);
  color: var(--olive-deep);
}

.badge-sand {
  background: rgba(217, 198, 171, 0.34);
  color: #8b6f50;
}

.schedule-time,
.class-time {
  font-size: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
}

.auth-panel,
.admin-login-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.auth-form,
.stack-form,
.signup-form,
.admin-list-item {
  display: grid;
  gap: 1rem;
}

.inline-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.auth-form label,
.stack-form label,
.admin-card label,
.admin-list-item label {
  display: grid;
  gap: 0.45rem;
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-row input {
  width: auto;
}

.feature-list,
.attendee-list,
.mini-booking-list {
  margin: 0;
  padding-left: 1.1rem;
}

.user-card,
.bookings-panel,
.summary-panel {
  min-height: 100%;
}

.user-phone {
  font-size: 1.05rem;
}

.subscription-card {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin: 1rem 0 1.4rem;
}

.subscription-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--olive-deep);
}

.booking-list,
.admin-list,
.media-admin-preview,
.notification-list,
.export-list {
  display: grid;
  gap: 0.8rem;
}

.booking-item {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.notifications-panel {
  background:
    radial-gradient(circle at 82% 18%, rgba(175, 186, 139, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(245, 237, 226, 0.92));
}

.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(108, 92, 72, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.78);
}

.notification-item strong,
.notification-item p {
  display: block;
}

.notification-item strong {
  color: var(--ink);
}

.notification-item p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.booking-item p,
.booking-item strong,
.class-date,
.class-open,
.type-title,
.type-description {
  display: block;
}

.type-card,
.class-card {
  padding: 1rem;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.type-card:hover,
.class-card:hover,
.media-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 137, 93, 0.36);
}

.type-card input,
.class-card input,
.media-choice input {
  width: auto;
}

.type-card.is-disabled {
  opacity: 0.45;
}

.waitlist-panel,
.notice-warning {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(252, 239, 222, 0.94));
}

.notice-card {
  margin: 0.8rem 0;
}

.admin-note {
  margin: 0;
}

.top-gap {
  margin-top: 1rem;
}

.credential-panel {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.credential-card,
.export-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(108, 92, 72, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.82);
}

.credential-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.credential-card-code strong {
  font-family: "Courier New", monospace;
  letter-spacing: 0.08em;
}

.credential-warning {
  margin: 0;
}

.auth-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.auth-admin-stats .notice-card {
  margin: 0;
}

.auth-admin-stats strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--olive-deep);
}

.export-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.export-item strong,
.export-item span {
  display: block;
}

.export-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.notice-warning {
  border-color: rgba(183, 139, 95, 0.25);
}

.notice-success,
.flash-success {
  border-left: 4px solid var(--olive-deep);
}

.notice-error,
.flash-error {
  border-left: 4px solid #bb7967;
}

.flash-stack {
  display: grid;
  gap: 0.65rem;
}

.flash {
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 251, 246, 0.86);
  border: 1px solid rgba(99, 84, 65, 0.08);
}

.flash-info {
  border-left: 4px solid var(--sand-deep);
}

.flash-warning {
  border-left: 4px solid #bf915e;
}

.empty-state {
  text-align: center;
  padding: 1.4rem;
}

.empty-state.slim {
  min-height: auto;
}

.summary-panel .cabinet-text {
  white-space: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-list-item {
  grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1fr) auto;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.65);
  border: 1px solid rgba(111, 95, 73, 0.1);
}

.compact-item {
  grid-template-columns: minmax(200px, 0.6fr) minmax(220px, 0.7fr) auto;
}

.media-choice {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem;
}

.media-choice-label {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-soft);
  word-break: break-word;
}

.media-admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-admin-preview {
  max-height: 18rem;
  overflow: auto;
  padding-right: 0.3rem;
}

.attendee-list {
  display: grid;
  gap: 0.65rem;
}

.placeholder-art,
.placeholder-map {
  min-height: 18rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 35% 30%, rgba(214, 200, 178, 0.78), transparent 20%),
    radial-gradient(circle at 65% 65%, rgba(175, 186, 139, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(246, 239, 227, 0.94), rgba(238, 230, 216, 0.82));
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.footer-links {
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  animation: revealUp 540ms ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .content-grid,
  .dashboard-grid,
  .signup-layout,
  .auth-panel,
  .admin-login-panel {
    grid-template-columns: 1fr;
  }

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

  .admin-list-item,
  .compact-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar,
  .section-heading,
  .booking-item,
  .notification-item,
  .export-item,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-content,
  .topbar,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .panel {
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .pass-card {
    grid-template-columns: 1fr;
  }

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

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

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

/* --- visual redesign v1: calm editorial wellness --- */
:root {
  --bg: #eeebe6;
  --paper: rgba(251, 248, 242, 0.86);
  --paper-strong: #f9f5ef;
  --ink: #2f302d;
  --ink-soft: #65635c;
  --olive: #8a9572;
  --olive-deep: #667255;
  --sand: #d8cdbf;
  --sand-deep: #b8a48c;
  --clay: #a86a43;
  --slate: #7f95a6;
  --line: rgba(88, 81, 69, 0.11);
  --shadow: 0 24px 60px rgba(92, 79, 60, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

body {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at left top, rgba(216, 205, 191, 0.42), transparent 24%),
    radial-gradient(circle at right 14%, rgba(138, 149, 114, 0.14), transparent 18%),
    linear-gradient(180deg, #f4f1ec 0%, #efebe5 46%, #ece7df 100%);
}

.page-shell {
  background:
    linear-gradient(140deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 32%),
    linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0) 12%);
}

.watercolor { display: none; }

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.ambient-a {
  top: -6rem;
  left: -8rem;
  width: 34rem;
  height: 24rem;
  border: 2px solid rgba(213, 201, 188, 0.9);
  border-radius: 48% 52% 55% 45% / 62% 38% 62% 38%;
  transform: rotate(-12deg);
}

.ambient-b {
  top: 6rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(218, 211, 201, 0.55), rgba(218, 211, 201, 0.22) 48%, transparent 68%);
  border-radius: 50%;
}

.ambient-c {
  right: -6rem;
  bottom: -12rem;
  width: 30rem;
  height: 22rem;
  border: 2px solid rgba(213, 201, 188, 0.78);
  border-radius: 58% 42% 35% 65% / 54% 44% 56% 46%;
  transform: rotate(24deg);
}

.topbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(239, 235, 229, 0.82), rgba(239, 235, 229, 0.52));
  border-bottom: 1px solid rgba(102, 114, 85, 0.08);
}

.topbar {
  max-width: 1220px;
  padding: 1rem 1.2rem;
  align-items: center;
}

.brand {
  gap: 0.28rem;
}

.brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  line-height: 0.9;
  color: #88684c;
}

.brand-subtitle {
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(136, 104, 76, 0.92);
}

.topnav {
  gap: 0.55rem;
  align-items: center;
}

.topnav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.topnav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  transform: none;
}

.topnav-cta {
  background: linear-gradient(135deg, rgba(138, 149, 114, 0.94), rgba(102, 114, 85, 0.94));
  color: #fbfaf6 !important;
  box-shadow: 0 10px 24px rgba(102, 114, 85, 0.2);
}

.page-content {
  max-width: 1220px;
  gap: 1.7rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.panel {
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.88), rgba(247, 242, 235, 0.78));
  border: 1px solid rgba(136, 104, 76, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
}

.panel::before {
  inset: auto auto -6rem -5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(227, 219, 209, 0.52) 0%, transparent 66%);
}

.hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  gap: 1.9rem;
  min-height: 36rem;
  padding: 2.3rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46rem;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  max-width: 12ch;
  color: #5d694d;
}

.hero-text {
  max-width: 42rem;
  font-size: 1.02rem;
  margin-top: 1.25rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: #8c6d52;
}

.hero-actions {
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

.button {
  min-height: 3.2rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #8c9872, #6d775a);
  box-shadow: 0 16px 34px rgba(109, 119, 90, 0.24);
}

.button-secondary {
  background: rgba(223, 211, 195, 0.72);
  color: #4f463d;
}

.button-soft {
  background: rgba(138, 149, 114, 0.14);
  color: #58624a;
}

.text-link {
  color: #8b6846;
  font-weight: 700;
}

.hero-aside {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.pass-card,
.pass-back {
  min-height: 27rem;
  background:
    radial-gradient(circle at 84% 12%, rgba(255,255,255,0.42), transparent 20%),
    radial-gradient(circle at 24% 78%, rgba(217, 205, 191, 0.7), transparent 30%),
    linear-gradient(180deg, rgba(247, 243, 237, 0.96), rgba(238, 232, 224, 0.93));
}

.pass-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem;
}

.pass-label,
.pass-meta,
.small-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: #8b6846;
}

.pass-number {
  font-size: clamp(5.8rem, 10vw, 8.8rem);
  color: #8d9778;
}

.pass-mark {
  font-size: clamp(3rem, 5vw, 4rem);
  color: #8b6846;
  line-height: 0.88;
}

.pass-mark span {
  display: block;
  margin-top: 0.55rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  color: rgba(136, 104, 76, 0.9);
}

.hero-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 0.2rem 0;
}

.hero-note-line {
  width: 3rem;
  height: 1px;
  background: rgba(136, 104, 76, 0.5);
  margin-top: 0.85rem;
  flex: none;
}

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-mini h1,
.hero h1,
.auth-panel h2,
.panel h2,
.panel h1,
.schedule-card h3,
.site-footer strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.panel h2 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 0.94;
  max-width: 14ch;
  color: #5f694f;
}

.content-grid-balanced {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.editorial-panel,
.editorial-media-panel,
.section-panel {
  padding: 1.8rem;
}

.media-grid-editorial {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.media-grid-editorial img:first-child,
.media-grid-editorial video:first-child,
.media-grid-editorial a:first-child {
  grid-column: span 2;
  min-height: 16rem;
  object-fit: cover;
}

.editorial-media-panel img,
.editorial-media-panel video {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  border-radius: 24px;
}

.schedule-copy {
  max-width: 52rem;
  margin-bottom: 1.2rem;
}

.schedule-grid-editorial {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.schedule-card,
.type-card,
.class-card,
.admin-card,
.booking-item,
.notice-card,
.empty-state,
.subscription-card,
.media-choice,
.notification-item {
  background: rgba(255, 252, 247, 0.62);
  border: 1px solid rgba(136, 104, 76, 0.09);
  backdrop-filter: blur(8px);
}

.schedule-card {
  padding: 1.15rem;
  border-radius: 26px;
}

.schedule-card.is-active {
  border-color: rgba(102, 114, 85, 0.36);
  box-shadow: 0 14px 28px rgba(102, 114, 85, 0.08);
}

.schedule-card.is-next {
  box-shadow: inset 0 0 0 1px rgba(168, 106, 67, 0.18);
}

.badge {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.badge-olive {
  background: rgba(138, 149, 114, 0.17);
  color: #58624a;
}

.badge-sand {
  background: rgba(216, 205, 191, 0.44);
  color: #8b6846;
}

.schedule-time,
.class-time {
  font-size: 1.9rem;
  color: #3b3835;
}

.media-strip-editorial {
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.media-strip-editorial img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-radius: 22px;
}

.pass-back-editorial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pass-back-editorial p {
  max-width: 26rem;
}

.stamp-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.stamp-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(136, 104, 76, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  color: #8d9778;
}

.site-footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.2rem 2.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.footer-brand strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: #8b6846;
}

.footer-brand p {
  max-width: 28rem;
}

.footer-links {
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(122, 108, 88, 0.12);
  box-shadow: 0 10px 24px rgba(89, 75, 60, 0.04);
}

.flash {
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(136, 104, 76, 0.08);
  background: rgba(255, 252, 247, 0.82);
}

@media (max-width: 1080px) {
  .hero,
  .content-grid,
  .content-grid-balanced,
  .dashboard-grid,
  .signup-layout,
  .auth-panel,
  .admin-login-panel {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .panel h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .topbar,
  .section-heading,
  .booking-item,
  .notification-item,
  .export-item,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .topnav a {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .topnav-cta {
    padding: 0.7rem 1rem !important;
  }

  .page-content,
  .topbar,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .panel,
  .hero,
  .editorial-panel,
  .editorial-media-panel,
  .section-panel {
    padding: 1.25rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .pass-card {
    min-height: 22rem;
  }

  .media-grid-editorial {
    grid-template-columns: 1fr;
  }

  .media-grid-editorial img:first-child,
  .media-grid-editorial video:first-child,
  .media-grid-editorial a:first-child {
    grid-column: auto;
  }

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

/* ===== HOME REDESIGN V3 ===== */
:root {
  --bg: #f7f3ee;
  --paper: rgba(255, 253, 249, 0.76);
  --paper-strong: rgba(255, 252, 247, 0.92);
  --ink: #43372e;
  --ink-soft: #706455;
  --olive: #8d9870;
  --olive-deep: #6b7650;
  --sand: #d8c7af;
  --clay: #b5764a;
  --line: rgba(94, 80, 61, 0.12);
  --shadow: 0 24px 60px rgba(102, 87, 65, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(183, 195, 156, 0.13), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(219, 198, 171, 0.2), transparent 25%),
    linear-gradient(180deg, #fbf8f4 0%, #f5f0e8 55%, #f3eee7 100%);
}

.page-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.page-pattern-a {
  background-image:
    radial-gradient(circle at 18% 82%, rgba(207, 198, 186, 0.55) 0, rgba(207, 198, 186, 0.55) 22%, transparent 22.6%),
    radial-gradient(circle at 72% 18%, rgba(221, 214, 205, 0.5) 0, rgba(221, 214, 205, 0.5) 18%, transparent 18.6%);
}

.page-pattern-b {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23d7ccbe' stroke-width='2.2' opacity='0.95'%3E%3Cpath d='M-40 100c120 30 190 40 310 24 96-13 138 34 74 54-56 17-98 60 6 74 112 16 200 104 250 196'/%3E%3Cpath d='M640 690c-90 28-136 54-210 132'/%3E%3Cpath d='M710 20c62 34 114 110 96 184-20 82-112 112-126 186-16 82 44 132 94 164'/%3E%3Cpath d='M90 540c40-84 168-94 216-36 50 60-14 114-58 174-40 54-34 124 26 178'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 960px 960px;
  background-repeat: repeat;
  opacity: 0.22;
}

.topbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  padding-top: 1rem;
}

.topbar-premium {
  max-width: 1260px;
  padding: 0.95rem 1.25rem;
  border: 1px solid rgba(122, 108, 88, 0.08);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(89, 75, 60, 0.06);
}

.brand-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-symbol-wrap {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(239, 233, 224, 0.86), rgba(250, 247, 242, 0.9));
  border: 1px solid rgba(137, 123, 101, 0.1);
}

.brand-symbol-img,
.footer-symbol,
.hero-brand-symbol {
  display: block;
  object-fit: contain;
}

.brand-symbol-img { width: 2.15rem; height: 2.15rem; }
.hero-brand-symbol { width: 8.4rem; height: auto; max-height: none; flex: 0 0 auto; object-position: center; object-fit: contain; }
.footer-symbol { width: 2.4rem; height: 2.4rem; }

.brand-copy { display: grid; gap: 0.1rem; }
.brand-mark-large,
.hero-brand-word {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.08em;
}
.brand-mark-large { font-size: 2.25rem; line-height: 0.9; }
.brand-subtitle-clean,
.hero-brand-sub {
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 0.16em;
}

.topnav-premium {
  gap: 0.4rem;
}
.topnav-premium a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
}
.topnav-premium .topnav-cta {
  background: rgba(140, 151, 112, 0.16);
  border: 1px solid rgba(111, 120, 80, 0.14);
  color: var(--olive-deep);
}

.page-content {
  max-width: 1260px;
  gap: 2rem;
  padding-top: 1.6rem;
}

.panel-soft,
.schedule-card-luxe,
.contacts-shell,
.hero-side-card-text,
.glass-note {
  background: rgba(255, 253, 250, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(122, 108, 88, 0.08);
  box-shadow: var(--shadow);
}

.hero-luxe {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 2rem;
  align-items: center;
  min-height: 42rem;
  padding: 1.4rem 0 0.4rem;
}

.hero-luxe-copy {
  padding: 2.2rem 0.5rem 2rem 0;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.58);
  border: 1px solid rgba(123, 109, 89, 0.08);
  margin-bottom: 1.35rem;
}
.hero-brand-word {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.9;
  color: #4b3d32;
}
.hero-luxe h1 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 6.6vw, 5.65rem);
  line-height: 0.93;
  margin: 0 0 1rem;
}
.hero-text-luxe { max-width: 42rem; font-size: 1.02rem; }

.hero-actions-luxe {
  margin-top: 1.8rem;
  gap: 1rem;
}

.button-luxe {
  min-height: 3.65rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button-luxe:hover { transform: translateY(-2px); }
.button-primary.button-luxe {
  background: linear-gradient(135deg, #8f9a72 0%, #7a855e 100%);
  color: #fdf9f3;
  box-shadow: 0 14px 30px rgba(122, 133, 94, 0.2);
}
.button-ghost.button-luxe,
.button.button-ghost {
  background: rgba(255, 253, 249, 0.52);
  border: 1px solid rgba(122, 108, 88, 0.14);
  color: var(--ink);
}

.hero-luxe-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem;
  gap: 1rem;
  align-items: stretch;
}
.hero-main-photo {
  position: relative;
  min-height: 38rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(122, 108, 88, 0.08);
  box-shadow: 0 28px 60px rgba(88, 74, 59, 0.12);
}
.hero-main-photo img,
.story-photo img,
.pricing-mood-card img,
.contacts-map-card img,
.hero-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #f8f5ef;
  background: rgba(67, 55, 46, 0.45);
  backdrop-filter: blur(12px);
}
.hero-side-stack { display: grid; gap: 1rem; }
.hero-side-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 12.2rem;
}
.hero-side-card-forest { border: 1px solid rgba(122, 108, 88, 0.08); }
.hero-side-card-text { padding: 1.2rem; }
.hero-side-label,
.mini-kicker,
.story-card-label {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--olive-deep);
}
.hero-side-card-text p,
.story-card-glass p,
.glass-note p { margin: 0.8rem 0 0; color: var(--ink-soft); line-height: 1.7; }
.leaf-accent {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.leaf-accent-a {
  width: 12rem; height: 19rem; left: -2rem; top: 6rem;
  background-image: radial-gradient(ellipse at 30% 30%, rgba(145, 161, 111, 0.45) 0, rgba(145, 161, 111, 0.14) 36%, transparent 62%), linear-gradient(180deg, rgba(145,161,111,0.4), rgba(145,161,111,0));
  filter: blur(12px);
}
.leaf-accent-b {
  width: 10rem; height: 10rem; right: -1rem; bottom: 3rem;
  border-radius: 45% 55% 42% 58%;
  background: radial-gradient(circle, rgba(145,161,111,0.28) 0, transparent 68%);
}

.luxe-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr) minmax(220px, 0.5fr);
  gap: 1.4rem;
  align-items: start;
}
.pricing-luxe,
.contacts-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
}
.pricing-column {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}
.pricing-luxe {
  align-items: start;
}
.story-copy,
.pricing-copy,
.contacts-copy,
.teacher-copy { padding: 2rem; border-radius: 18px; }
.story-copy h2,
.pricing-copy h2,
.contacts-copy h2,
.schedule-luxe h2,
.faq-luxe h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}
.story-photo,
.story-card-glass,
.pricing-mood-card,
.contacts-map-card,
.faq-panel-luxe {
  border-radius: 18px;
  overflow: hidden;
}
.story-photo {
  align-self: start;
  margin: 0;
  width: 100%;
}
.story-photo-tall {
  min-height: 34rem;
}
.story-side-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.story-photo-wide { min-height: 18rem; }
.story-card-glass { padding: 1.25rem; }

.schedule-luxe { padding-top: 0.25rem; }
.section-heading-luxe { justify-content: space-between; margin-bottom: 1rem; }
.schedule-grid-luxe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.schedule-card-luxe {
  border-radius: 18px;
  padding: 1.4rem;
  min-height: 14rem;
}
.schedule-card-luxe.is-active {
  background: linear-gradient(180deg, rgba(143,154,114,0.16), rgba(255,253,250,0.7));
}
.schedule-card-luxe.is-next {
  background: linear-gradient(180deg, rgba(216,199,175,0.18), rgba(255,253,250,0.68));
}
.schedule-card-luxe-outdoor {
  background: linear-gradient(180deg, rgba(195, 207, 184, 0.18), rgba(255,253,250,0.7));
}
.schedule-card-luxe h3 {
  margin: 0.9rem 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}
.pricing-copy {
  min-height: 0;
  align-self: start;
}
.pricing-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.3rem; }
.pricing-visual {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 18px;
}
.pricing-mood-card { min-height: 27rem; border: 1px solid rgba(122,108,88,0.08); }
.glass-note { padding: 1.15rem; border-radius: 18px; }
.teacher-photo {
  align-self: start;
  padding: 0;
}
.teacher-photo::before {
  display: none;
}
.teacher-photo-card {
  min-height: 22rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(122,108,88,0.08);
  background: rgba(255,255,255,0.4);
}
.teacher-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}
.teacher-copy {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}
.teacher-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 0.95;
  color: #47382d;
}

.contacts-shell { padding: 1.25rem; border-radius: 18px; align-items: center; }
.contacts-visual { display: grid; gap: 1rem; }
.contacts-map-card {
  min-height: 22rem;
  border: 1px solid rgba(122,108,88,0.08);
  background: rgba(255,255,255,0.4);
}
.contacts-chip {
  width: fit-content;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: rgba(255,253,249,0.72);
  border: 1px solid rgba(122,108,88,0.12);
  color: var(--ink-soft);
}

.pdf-viewer-page {
  display: grid;
  gap: 1.2rem;
}
.pdf-viewer-copy {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
}
.pdf-viewer-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.95;
}
.pdf-viewer-lead {
  max-width: 48rem;
  color: var(--ink-soft);
}
.pdf-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.pdf-viewer-frame {
  padding: 0.8rem;
}
.pdf-viewer-frame iframe {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.text-link-olive { color: var(--olive-deep); font-weight: 600; }
.site-footer-premium {
  border-top: 1px solid rgba(122,108,88,0.08);
  margin-top: 1rem;
  padding-top: 2rem;
}
.footer-brand-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.footer-brand-premium strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: #695546;
}
.footer-brand-premium span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 1080px) {
  .hero-luxe,
  .luxe-story-grid,
  .pricing-luxe,
  .contacts-shell,
  .schedule-grid-luxe {
    grid-template-columns: 1fr;
  }
  .hero-luxe-visual { grid-template-columns: 1fr; }
  .hero-main-photo { min-height: 28rem; }
  .hero-side-stack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .brand-mark-large { font-size: 1.7rem; }
  .hero-brand-word { font-size: 2.45rem; }
  .hero-luxe h1 { font-size: 3.15rem; max-width: none; }
  .hero-side-stack,
  .story-side-column,
  .pricing-actions,
  .topnav-premium,
  .topbar-premium,
  .site-footer-premium { flex-direction: column; }
  .topbar-premium,
  .topnav-premium { align-items: flex-start; }
  .story-photo-tall,
  .pricing-mood-card,
  .contacts-map-card,
  .hero-main-photo { min-height: 20rem; }
}


/* v5 editorial refinement */
.topbar-premium {
  padding: 0.72rem 1.1rem;
  border-radius: 20px;
  min-height: 5.7rem;
  align-items: center;
}

.brand-premium {
  gap: 0;
  min-width: 15rem;
}

.brand-symbol-wrap { display: none; }
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06rem;
}

.brand-mark-large {
  font-size: 2.55rem;
  line-height: 0.86;
  letter-spacing: 0.07em;
  margin: 0;
}

.brand-subtitle-clean {
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  line-height: 1;
  margin: 0;
  padding-left: 0.04em;
}

.topnav-premium {
  gap: 0.34rem;
  align-items: center;
}

.topnav-premium a {
  padding: 0.82rem 1rem;
  border-radius: 20px;
}

.topnav-premium .topnav-pill {
  background: rgba(255, 252, 247, 0.58);
  border: 1px solid rgba(122, 108, 88, 0.12);
  box-shadow: 0 10px 24px rgba(89, 75, 60, 0.04);
}

.topnav-premium .topnav-cta {
  background: rgba(143, 151, 112, 0.18);
  border: 1px solid rgba(111, 120, 80, 0.14);
  color: var(--ink);
}

.eyebrow {
  letter-spacing: 0.24em;
  color: #9a7657;
}

.hero-title-magazine {
  max-width: 12.5ch;
}

.hero-line {
  display: block;
}

.hero-line-soft {
  font-size: 0.86em;
  line-height: 0.95;
}

.hero-line-strong {
  font-size: 1.04em;
  line-height: 0.88;
}

.hero-text-magazine {
  max-width: 42rem;
  font-size: 1.03rem;
}

.lead-word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6em;
  line-height: 0.8;
  letter-spacing: 0.08em;
  color: #4f3f34;
  margin-right: 0.24rem;
}

.editorial-title {
  max-width: 15ch;
  line-height: 0.98;
}

.editorial-title span {
  display: inline;
  font-size: 0.9em;
}

.editorial-title strong {
  font-weight: 600;
  color: #47382d;
  font-size: 1.14em;
}

@media (max-width: 760px) {
  .topbar-premium {
    min-height: auto;
    border-radius: 18px;
  }
  .brand-mark-large { font-size: 2rem; }
  .brand-subtitle-clean { font-size: 0.78rem; letter-spacing: 0.24em; }
  .topnav-premium a,
  .topnav-premium .topnav-pill,
  .topnav-premium .topnav-cta { width: 100%; }
  .hero-title-magazine { max-width: none; }
}


/* v6 polish + faq accordion */
.brand-subtitle-clean {
  padding-left: 0.16em;
}

.topnav-premium .topnav-pill,
.topnav-premium .topnav-cta {
  border-radius: 20px;
}

.topnav-premium .topnav-cta {
  color: #5b4d41 !important;
}

.faq-panel-luxe {
  padding: 0.55rem;
  background: rgba(255, 253, 250, 0.5);
}

.faq-panel-luxe .prose {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgba(122, 108, 88, 0.1);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.68);
  overflow: clip;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.faq-item:hover {
  background: rgba(255, 252, 247, 0.82);
  border-color: rgba(122, 108, 88, 0.16);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.faq-question-text {
  font-weight: 600;
  line-height: 1.45;
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 108, 88, 0.12);
  background: rgba(255,255,255,0.46);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 0.78rem;
  height: 1.5px;
  background: #7a6b5e;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg) scaleX(0.2);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 1.2rem 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-answer-content p {
  margin: 0;
}


/* v11 consolidated */
.hero-brand-sub {
  display: block;
  margin-left: 0.22em;
}
.topnav-premium .topnav-pill,
.topnav-premium .topnav-cta {
  border-radius: 20px;
}
.faq-source[hidden] { display: none !important; }
.faq-accordion {
  display: grid;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(122, 108, 88, 0.14);
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 10px 22px rgba(89, 75, 60, 0.05);
}

.nav-toggle-inner {
  display: grid;
  gap: 0.24rem;
}

.nav-toggle-line {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  border-radius: 999px;
  background: #6f6255;
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 5.5rem;
  }

  .topbar-wrap {
    padding: 0.65rem 0.65rem 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
  }

  .topbar-premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    min-height: auto;
    border-radius: 22px;
  }

  .brand-premium {
    min-width: 0;
  }

  .brand-mark-large {
    font-size: clamp(1.7rem, 9vw, 2rem);
  }

  .brand-subtitle-clean {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

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

  .topnav-premium {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-top: 0.3rem;
  }

  .topbar-wrap.nav-open .topnav-premium {
    display: flex;
  }

  .topbar-wrap.nav-open .nav-toggle-line:nth-child(1) {
    transform: translateY(0.39rem) rotate(45deg);
  }

  .topbar-wrap.nav-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .topbar-wrap.nav-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-0.39rem) rotate(-45deg);
  }

  .topnav-premium a,
  .topnav-premium .topnav-pill,
  .topnav-premium .topnav-cta {
    width: 100%;
    justify-content: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
  }

  .page-content {
    padding: 0.85rem 0.85rem 3rem;
    gap: 1.1rem;
  }

  .hero-luxe {
    min-height: 0;
    gap: 1.1rem;
    padding-top: 0.15rem;
  }

  .hero-luxe-copy {
    padding: 0.35rem 0 0;
  }

  .hero-brand-lockup {
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .hero-brand-symbol {
    width: 5rem;
  }

  .hero-title-magazine,
  .hero-luxe h1 {
    max-width: none;
    font-size: clamp(2.8rem, 15vw, 4rem);
    line-height: 0.94;
  }

  .hero-text-magazine {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions-luxe {
    gap: 0.7rem;
  }

  .hero-actions-luxe .button-luxe {
    width: 100%;
    justify-content: center;
  }

  .hero-luxe-visual {
    grid-template-columns: 1fr;
  }

  .hero-main-photo {
    min-height: 16rem;
  }

  .hero-side-stack,
  .leaf-accent {
    display: none;
  }

  .luxe-story-grid,
  .pricing-luxe,
  .contacts-shell,
  .schedule-grid-luxe {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .story-copy,
  .pricing-copy,
  .teacher-copy,
  .contacts-copy,
  .pricing-visual,
  .contacts-shell {
    padding: 1.2rem;
  }

  .teacher-photo {
    padding: 0;
  }

  .story-side-column {
    grid-template-columns: 1fr;
  }

  .story-photo-tall,
  .story-photo-wide,
  .pricing-mood-card,
  .teacher-photo-card,
  .contacts-map-card {
    min-height: 15rem;
    grid-row: auto;
  }

  .schedule-card-luxe {
    min-height: 0;
  }

  .section-heading-luxe {
    gap: 0.8rem;
    align-items: flex-start;
  }

  .pricing-actions {
    flex-direction: column;
    gap: 0.7rem;
  }

  .pdf-viewer-actions {
    flex-direction: column;
  }

  .pricing-actions .button-luxe,
  .contacts-copy .button-luxe,
  .pdf-viewer-actions .button-luxe {
    width: 100%;
    justify-content: center;
  }

  .contacts-chip {
    width: 100%;
    border-radius: 16px;
  }

  .site-footer-premium {
    gap: 1rem;
  }

  .footer-links {
    width: 100%;
    display: grid;
    gap: 0.65rem;
  }
}

/* v13 mobile polish for inner pages */
@media (max-width: 900px) {
  .auth-panel,
  .admin-login-panel,
  .dashboard-grid,
  .signup-layout,
  .content-grid,
  .admin-grid,
  .media-admin-grid,
  .admin-cards,
  .type-grid,
  .class-grid,
  .auth-admin-stats {
    grid-template-columns: 1fr !important;
  }

  .section-heading.compact {
    align-items: flex-start;
  }

  .story-copy,
  .pricing-copy,
  .contacts-copy,
  .booking-types-panel,
  .booking-side-panel,
  .user-card,
  .bookings-panel,
  .summary-panel,
  .admin-login-panel,
  .auth-panel {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }

  .panel {
    padding: 1rem;
    border-radius: 20px;
  }

  .hero-mini {
    padding: 1.1rem 1rem;
  }

  .hero-mini h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
    line-height: 0.98;
  }

  .hero-mini .eyebrow {
    margin-bottom: 0.35rem;
  }

  .section-heading,
  .section-heading.compact,
  .subscription-card,
  .booking-item,
  .notification-item,
  .export-item,
  .site-footer,
  .auth-panel,
  .admin-login-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading,
  .section-heading.compact {
    gap: 0.75rem;
  }

  .section-heading .button,
  .section-heading.compact .button,
  .subscription-card .button,
  .booking-item .button,
  .notification-item .button,
  .booking-side-panel .button,
  .waitlist-panel .button,
  .auth-form .button,
  .stack-form .button,
  .signup-form > .button,
  .admin-login-panel .button {
    width: 100%;
    justify-content: center;
  }

  .auth-panel,
  .admin-login-panel {
    gap: 1rem;
  }

  .auth-copy,
  .auth-form,
  .stack-form,
  .signup-form {
    gap: 0.85rem;
  }

  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.7rem;
  }

  .inline-actions .button,
  .inline-actions .text-link {
    width: 100%;
  }

  .user-card h2,
  .bookings-panel h2,
  .summary-panel h2,
  .auth-panel h2,
  .admin-login-panel h1,
  .panel h2 {
    max-width: none;
  }

  .user-phone {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }

  .subscription-card {
    padding: 0.95rem;
    margin-bottom: 1rem;
  }

  .subscription-card strong {
    font-size: 2.5rem;
  }

  .booking-list,
  .notification-list,
  .export-list,
  .admin-list,
  .media-admin-preview,
  .attendee-list {
    gap: 0.65rem;
  }

  .booking-item,
  .notification-item,
  .export-item {
    padding: 0.9rem;
  }

  .booking-item form,
  .notification-item form {
    width: 100%;
  }

  .booking-item strong,
  .notification-item strong,
  .export-item strong {
    line-height: 1.35;
  }

  .booking-item p,
  .notification-item p,
  .export-item span {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .type-grid,
  .class-grid {
    gap: 0.8rem;
  }

  .type-card,
  .class-card,
  .admin-card,
  .empty-state,
  .notice-card {
    padding: 0.95rem;
  }

  .class-time,
  .schedule-time {
    font-size: 1.3rem;
  }

  .booking-side-panel .text-link,
  .waitlist-panel .text-link {
    display: inline-flex;
    margin-top: 0.15rem;
  }

  .mini-booking-list,
  .feature-list,
  .attendee-list {
    padding-left: 1rem;
  }

  .credential-panel {
    max-width: none;
  }

  .credential-card,
  .export-item {
    padding: 0.95rem 1rem;
  }

  .credential-card-code strong {
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  .admin-card-wide {
    grid-column: auto;
  }

  .admin-list-item,
  .compact-item {
    gap: 0.8rem;
    padding: 0.95rem;
  }

  .media-admin-preview {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .media-choice {
    padding: 0.6rem;
  }

  .checkbox-row {
    align-items: flex-start;
  }

  .checkbox-row input {
    margin-top: 0.2rem;
  }

  .top-gap {
    margin-top: 0.85rem;
  }

  .flash-stack {
    gap: 0.55rem;
  }

  .flash {
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
  }

  .footer-links a {
    width: 100%;
    justify-content: flex-start;
  }
}
