@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --navy: #23243f;
  --navy-press: #292b4d;
  --ink: #1c1c1c;
  --muted: #5c6570;
  --line: #d7dbe0;
  --paper: #ffffff;
  --page: #ffffff;
  --staff-page: #e7ebf0;
  --staff-accent: #3d4f63;
  --danger: #8f1d1d;
  --focus: #0b57d0;
  --space: 16px;
  --column: 884px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}

body.staff-mode { background: var(--staff-page); }

img { max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; }

.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { top: 8px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.shell {
  width: min(var(--column), 100%);
  margin: 0 auto;
  padding: 85px 24px 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin: 0 0 52px;
}

.brand img {
  width: 200px;
  height: 200px;
  max-height: none;
  object-fit: contain;
}

.brand h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
}

.demo-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: 255px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f4f6f8;
  color: var(--ink);
  font-size: 14px;
}
body.staff-mode .demo-flag { position: static; max-width: none; margin: 0 0 16px; }

.group { margin: 0 0 54px; }

.group h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.staff-link {
  position: absolute;
  top: 34px;
  right: 32px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.staff-link:hover { text-decoration: underline; }

.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid #56576e;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.service:hover, .service:active { background: var(--navy-press); }

.service-copy { min-width: 0; overflow-wrap: anywhere; }

.service-copy strong, .service-copy span {
  display: block;
}

.service-copy span { color: #d5deea; font-size: 14px; }

.book {
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 0;
  background: #1c1d2e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.summary {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary p { margin: 4px 0; }

.addons {
  margin: 0 0 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.addons label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 0 8px;
}

.cal-head, .month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  min-height: 48px;
  padding: 4px 8px;
}

.month-nav button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.weekdays, .days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekdays span, .days button {
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.weekdays span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.days button {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
}

.days button[disabled] {
  color: #b0b6be;
  cursor: default;
  font-weight: 400;
}

.days button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.tz {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}

.times button, .text-btn, .primary, .danger {
  min-height: 44px;
  border-radius: 0;
  cursor: pointer;
}

.times button {
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
}

.times button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  text-decoration: underline;
}

form { display: grid; gap: 14px; }

label span, legend { display: block; font-weight: 600; margin-bottom: 4px; }

input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #8d97a3;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 96px; resize: vertical; }

.field-error { margin: 4px 0 0; color: var(--danger); font-size: 14px; }

.primary, .danger, .text-btn {
  border: 0;
  padding: 10px 16px;
}

.primary { background: var(--navy); color: #fff; justify-self: start; min-width: 96px; }

.danger { background: var(--danger); color: #fff; }

.text-btn { border: 1px solid var(--line); background: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.status, .empty {
  padding: 16px 0;
}

.picker { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }

.picker a, .home a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 14px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.staff {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.staff header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.staff nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.staff nav button[aria-current="page"] {
  background: var(--staff-accent);
  color: #fff;
  border-color: var(--staff-accent);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 12px;
}

.panel h2 { margin: 0 0 12px; font-size: 18px; }

.row-form, .hours-row {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 720px) {
  .row-form { grid-template-columns: 1.4fr 0.6fr 0.6fr auto; align-items: end; }
  .hours-row { grid-template-columns: 120px 1fr 1fr auto; align-items: center; }
}

@media (max-width: 390px) {
  .shell { padding: 85px 32px 56px; }
  .brand { gap: 48px; margin-bottom: 51px; }
  .brand h1 { font-size: 21px; }
  .service { align-items: center; }
  .demo-flag { font-size: 11px; max-width: 215px; }
}

@media (max-width: 320px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .staff { padding-left: 8px; padding-right: 8px; }
  .service { flex-wrap: nowrap; }
  .book { width: auto; }
  .staff-link { top: 88px; right: 16px; }
}

.step-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  margin: 0 0 42px;
  text-align: center;
}
.step-heading h2 { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 600; }
.step-icon { font-size: 18px; line-height: 1; }
.step-heading .back {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  width: 44px;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
}
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.summary { min-height: 102px; padding: 30px 32px; background: var(--navy); color: #fff; border: 0; margin-bottom: 34px; }
.summary p:not(:first-child) { display: block; color: #e9e8ef; font-size: 14px; }
.summary p:last-child { overflow-wrap: anywhere; }
.addons { border: 0; padding: 0; margin: 0 0 30px; }
.addons legend { margin: 0 0 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.addons label { margin: 0; padding: 22px 30px; min-height: 104px; background: var(--navy); color: #fff; }
.addons input { width: 18px; min-height: 18px; accent-color: #fff; }
.calendar-panel { padding: 20px 28px 30px; background: var(--navy); color: #fff; }
.month-nav { padding: 0; margin-bottom: 12px; font-size: 16px; }
.weekdays span { color: #fff; font-weight: 700; }
.days button { color: #fff; font-weight: 400; border-radius: 50%; }
.days button[disabled] { color: #55566c; }
.days button[aria-pressed="true"] { background: #14151e; }
.tz { color: #fff; text-align: center; font-size: 12px; text-transform: uppercase; margin: 20px 0; }
.times { display: flex; flex-wrap: wrap; justify-content: center; }
.times button { background: transparent; color: #fff; border-color: #77788c; min-width: 105px; min-height: 80px; font-weight: 700; }
.times button[aria-pressed="true"] { background: #12131e; }
#details { background: var(--navy); color: #fff; padding: 30px 32px; }
#details input, #details textarea { color: #1c1c1c; }
#details .primary { background: #1c1d2e; text-transform: uppercase; font-size: 12px; }
@media (max-width: 390px) {
  .step-heading { margin-bottom: 56px; }
  .step-heading h2 { max-width: 160px; }
  .calendar-panel { padding: 20px 20px 30px; }
  .service { min-height: 103px; padding: 18px 22px; }
  .group h2 { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Nove Academy inherits the current noveacademy.com visual language. */
body.academy-theme {
  --navy: #3a2733;
  --navy-press: #2b1c26;
  --ink: #2a2226;
  --muted: #6f6066;
  --line: #eadcd9;
  --page: #faf7f5;
  --paper: #fff;
  --focus: #9e4d60;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

.academy-theme .academy-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 245, .96);
  border-bottom: 1px solid var(--line);
}

.academy-nav-inner {
  max-width: 1160px;
  height: 88px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.academy-home { display: inline-flex; align-items: center; flex: 0 0 auto; }
.academy-home img { display: block; width: 140px; height: auto; }
.academy-nav-links { display: flex; align-items: center; gap: 34px; }
.academy-nav-links a,
.academy-mobile-menu a {
  color: #786a70;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.academy-nav-links a:hover,
.academy-mobile-menu a:hover { color: #9e4d60; }
.academy-nav-links .academy-enroll {
  padding: 10px 22px;
  border: 1px solid #b9576b;
  border-radius: 4px;
  background: #b9576b;
  color: #fff;
}
.academy-nav-links .academy-enroll:hover { background: #9e4d60; color: #fff; }
.academy-mobile-menu { display: none; }

.academy-theme .shell {
  position: relative;
  width: min(884px, 100%);
  padding-top: 58px;
}
.academy-theme .staff-link {
  position: static;
  display: block;
  width: fit-content;
  margin: 0 0 24px auto;
  color: #6f6066;
  font-size: 11px;
  letter-spacing: .14em;
}
.academy-theme .demo-flag {
  position: static;
  max-width: none;
  margin: 0 0 28px;
  border-color: #eadcd9;
  border-radius: 4px;
  background: #f6e9e7;
  color: #3a2733;
  font-size: 13px;
}
.academy-intro {
  margin: 0 0 54px;
  padding: 0 0 34px;
  border-bottom: 1px solid #eadcd9;
  text-align: center;
}
.academy-intro h1 {
  margin: 0 0 12px;
  color: #3a2733;
  font: 300 clamp(36px, 5vw, 54px)/1.15 "Fraunces", Georgia, serif;
}
.academy-intro p {
  margin: 0;
  color: #6f6066;
  font-size: 16px;
}
.academy-theme .step-heading h2,
.academy-theme .group h2,
.academy-theme .empty h2,
.academy-theme #main > section > h2 {
  color: #3a2733;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
}
.academy-theme .step-heading h2 { font-size: 30px; }
.academy-theme .group h2 { font-size: 25px; margin-bottom: 18px; }
.academy-theme .step-icon { display: none; }
.academy-theme .service {
  min-height: 94px;
  margin-bottom: 10px;
  border: 1px solid #eadcd9;
  border-radius: 4px;
  background: #fff;
  color: #3a2733;
}
.academy-theme .service:hover,
.academy-theme .service:active { background: #f6e9e7; }
.academy-theme .service-copy strong { font-weight: 500; }
.academy-theme .service-copy span { color: #6f6066; }
.academy-theme .book,
.academy-theme .primary {
  border-radius: 4px;
  background: #b9576b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.academy-theme .book { min-height: 44px; padding: 11px 14px; }
.academy-theme .primary:hover,
.academy-theme .service:hover .book { background: #9e4d60; }
.academy-theme .summary,
.academy-theme .calendar-panel {
  border-radius: 4px;
  background: #3a2733;
}
.academy-theme .summary { padding: 28px 32px; }
.academy-theme .addons label { border-radius: 4px; background: #3a2733; }
.academy-theme .month-nav { background: transparent; }
.academy-theme .days button[aria-pressed="true"],
.academy-theme .times button[aria-pressed="true"] { background: #b9576b; }
.academy-theme .days button[disabled] { color: #aa9aa3; }
.academy-theme .times button { border-color: #d9c4cd; border-radius: 4px; }
.academy-theme #details {
  border-radius: 4px;
  background: #f6e9e7;
  color: #2a2226;
}
.academy-theme #details input,
.academy-theme #details textarea {
  border-color: #cfb6bd;
  border-radius: 4px;
}
.academy-theme #details .primary { background: #b9576b; }
.academy-theme .back { color: #9e4d60; }
.academy-theme .empty { color: #6f6066; }
.academy-theme ::selection { background: #c16a7b; color: #fff; }
.academy-theme :focus-visible { outline-color: #9e4d60; }

@media (max-width: 760px) {
  .academy-nav-inner { height: 64px; }
  .academy-home img { width: 100px; }
  .academy-nav-links { display: none; }
  .academy-mobile-menu { display: block; position: relative; }
  .academy-mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }
  .academy-mobile-menu summary::-webkit-details-marker { display: none; }
  .academy-mobile-menu summary span,
  .academy-mobile-menu summary span::before,
  .academy-mobile-menu summary span::after {
    display: block;
    width: 19px;
    height: 2px;
    background: #2a2226;
  }
  .academy-mobile-menu summary span { position: relative; }
  .academy-mobile-menu summary span::before,
  .academy-mobile-menu summary span::after { content: ""; position: absolute; left: 0; }
  .academy-mobile-menu summary span::before { top: -6px; }
  .academy-mobile-menu summary span::after { top: 6px; }
  .academy-mobile-menu > div {
    position: absolute;
    top: 50px;
    right: -24px;
    display: grid;
    gap: 0;
    min-width: 210px;
    padding: 8px 0;
    border: 1px solid #eadcd9;
    background: #faf7f5;
  }
  .academy-mobile-menu a { padding: 12px 20px; }
  .academy-theme .shell { padding-top: 32px; }
  .academy-intro { margin-bottom: 32px; }
}

@media (max-width: 390px) {
  .academy-theme .shell { padding-left: 24px; padding-right: 24px; }
  .academy-theme .step-heading { margin-bottom: 34px; }
  .academy-theme .step-heading h2 { font-size: 26px; max-width: none; }
  .academy-theme .service { min-height: 88px; padding: 16px; }
}
