/*
  booking.css
  Calendly-style scheduler for booking.html. Loaded after main.css, so every
  rule is scoped under .sched-page / .scheduler and reads its colours from the
  site tokens in tokens.css.
*/

/* ========== PAGE SHELL ========== */
.sched-page {
  --s-ink: var(--color-deep, #0E1C15);
  --s-brand: var(--color-mid, #1E4435);
  --s-brand-deep: var(--color-forest, #152821);
  --s-accent: var(--color-gold, #C9A84C);
  --s-accent-ink: var(--color-gold-ink, #7D6626);
  --s-paper: var(--color-white, #FFFFFF);
  --s-cream: var(--color-cream, #F5F0E8);
  --s-text: var(--color-text-dark, #1A1A1A);
  --s-muted: var(--color-text-dark-secondary, #555555);
  --s-error: var(--color-error, #C0392B);
  --s-line: rgba(14, 28, 21, 0.1);
  --s-line-strong: rgba(14, 28, 21, 0.22);
  --s-faint: rgba(14, 28, 21, 0.34);
  --s-tint: rgba(30, 68, 53, 0.09);
  --s-tint-strong: rgba(30, 68, 53, 0.17);
  --s-display: var(--font-display, var(--font-serif, inherit));
  --s-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --s-cell: 52px;

  background: var(--s-cream);
  color: var(--s-text);
  margin-top: var(--nav-height, 72px);
  min-height: calc(100vh - var(--nav-height, 72px));
  padding-bottom: 88px;
}

@supports (color: color-mix(in srgb, red 10%, transparent)) {
  .sched-page {
    --s-line: color-mix(in srgb, var(--s-ink) 10%, transparent);
    --s-line-strong: color-mix(in srgb, var(--s-ink) 22%, transparent);
    --s-faint: color-mix(in srgb, var(--s-ink) 34%, transparent);
    --s-tint: color-mix(in srgb, var(--s-brand) 9%, transparent);
    --s-tint-strong: color-mix(in srgb, var(--s-brand) 17%, transparent);
  }
}

.sched-page [hidden] {
  display: none !important;
}

.sched-page button {
  font-family: inherit;
}

.sched-sr {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.sched-wrap {
  margin: 0 auto;
  padding: 0 var(--container-padding, 40px);
  width: min(100%, 1180px);
}

/* ========== PAGE HEADING ========== */
.sched-head {
  overflow: hidden;
  padding: 64px 0 40px;
  position: relative;
  text-align: center;
}

/* Two faint rings drifting very slowly, like soap bubbles. */
.sched-head::before,
.sched-head::after {
  border: 1px solid var(--s-line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
}

.sched-head::before {
  animation: schedDrift 16s ease-in-out infinite alternate;
  height: 260px;
  left: -70px;
  top: -90px;
  width: 260px;
}

.sched-head::after {
  animation: schedDrift 20s ease-in-out -6s infinite alternate-reverse;
  height: 150px;
  right: 8%;
  top: 38px;
  width: 150px;
}

.sched-head .sched-wrap {
  position: relative;
  z-index: 1;
}

.sched-head__title {
  color: var(--s-ink);
  font-family: var(--s-display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.sched-head__copy {
  color: var(--s-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 14px auto 0;
  max-width: 44ch;
}

/* ========== THE CARD ========== */
.scheduler {
  animation: schedRise 0.7s var(--s-ease) both;
  background: var(--s-paper);
  border: 1px solid var(--s-line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -32px rgba(14, 28, 21, 0.3), 0 2px 8px rgba(14, 28, 21, 0.05);
  display: grid;
  font-size: 15px;
  grid-template-columns: 300px 1fr 0px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 760px;
  min-height: 540px;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height, 72px) + 16px);
  transition: max-width 0.55s var(--s-ease), grid-template-columns 0.55s var(--s-ease);
}

.scheduler[data-has-day="true"] {
  grid-template-columns: 300px 1fr 300px;
  max-width: 1060px;
}

.scheduler[data-step="details"] {
  grid-template-columns: 300px 1fr 0px;
  max-width: 960px;
}

.scheduler[data-step="done"] {
  grid-template-columns: 300px 1fr 0px;
  max-width: 660px;
}

.scheduler :focus-visible {
  outline: 2px solid var(--s-ink);
  outline-offset: 2px;
}

.scheduler[data-step="details"] .sched-cal,
.scheduler[data-step="details"] .sched-times,
.scheduler[data-step="done"] .sched-cal,
.scheduler[data-step="done"] .sched-times,
.scheduler[data-step="done"] .sched-info {
  display: none !important;
}

.scheduler[data-step="pick"] .sched-details-only,
.scheduler:not([data-step="pick"]) .sched-pick-only {
  display: none;
}

/* ========== LEFT COLUMN ========== */
.sched-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 28px 30px;
}

.sched-info__brand {
  color: var(--s-muted);
  font-size: 14px;
  font-weight: 600;
}

.sched-info__title {
  color: var(--s-ink);
  font-family: var(--s-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  margin: 6px 0 26px;
}

.sched-label {
  color: var(--s-ink);
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

.sched-optional {
  color: var(--s-muted);
  font-weight: 400;
  margin-left: 4px;
}

.sched-select {
  position: relative;
}

.sched-select select {
  appearance: none;
  background: var(--s-paper);
  border: 1px solid var(--s-line-strong);
  border-radius: 12px;
  color: var(--s-ink);
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  height: 50px;
  padding: 0 44px 0 16px;
  text-overflow: ellipsis;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.sched-select select:hover {
  border-color: var(--s-brand);
}

.sched-select select:focus-visible {
  border-color: var(--s-brand);
  box-shadow: 0 0 0 3px var(--s-tint-strong);
}

.sched-select__chevron {
  fill: none;
  height: 20px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  stroke: var(--s-brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  top: 15px;
  width: 20px;
}

.sched-info__desc {
  color: var(--s-muted);
  font-size: 14px;
  margin-top: 10px;
}

.sched-facts {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.sched-fact {
  align-items: flex-start;
  color: var(--s-muted);
  display: flex;
  font-size: 14.5px;
  gap: 12px;
  line-height: 1.4;
}

.sched-icon {
  color: var(--s-brand);
  fill: none;
  flex: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 20px;
}

.sched-fact__stack {
  display: grid;
  gap: 2px;
  text-wrap: balance;
}

.sched-fact__stack strong {
  color: var(--s-ink);
  font-weight: 700;
}

.sched-fact--when {
  animation: schedUp 0.4s var(--s-ease) both;
}

.sched-info__note {
  border-top: 1px solid var(--s-line);
  color: var(--s-muted);
  font-size: 13.5px;
  margin-top: auto;
  padding-top: 18px;
}

/* ========== CALENDAR ========== */
.sched-cal {
  border-left: 1px solid var(--s-line);
  min-width: 0;
  padding: 34px 30px 30px;
}

.sched-notice {
  animation: schedUp 0.35s var(--s-ease) both;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 12px;
  color: var(--s-ink);
  font-size: 14px;
  margin-bottom: 16px;
  padding: 10px 14px;
}

.sched-cal__bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sched-cal__month {
  color: var(--s-ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.sched-cal__tools {
  align-items: center;
  display: flex;
  gap: 4px;
}

.sched-today {
  background: transparent;
  border: 1px solid var(--s-line-strong);
  border-radius: 999px;
  color: var(--s-ink);
  font-size: 13.5px;
  font-weight: 600;
  height: 36px;
  margin-right: 6px;
  padding: 0 15px;
  transition: background 0.25s, border-color 0.25s;
}

.sched-today:hover {
  background: var(--s-tint);
  border-color: var(--s-brand);
}

.sched-iconbtn {
  align-items: center;
  background: transparent;
  border-radius: 50%;
  color: var(--s-ink);
  display: grid;
  height: 40px;
  justify-items: center;
  transition: background 0.25s, transform 0.2s;
  width: 40px;
}

.sched-iconbtn svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.sched-iconbtn:hover:not(:disabled) {
  background: var(--s-tint-strong);
}

.sched-iconbtn:active:not(:disabled) {
  transform: scale(0.9);
}

.sched-iconbtn:disabled {
  cursor: default;
  opacity: 0.28;
}

.sched-weekdays,
.sched-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sched-weekdays {
  color: var(--s-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.sched-weeks {
  min-height: calc(var(--s-cell) * 6 + 20px);
}

.sched-weeks[data-dir="next"] {
  animation: schedSlideNext 0.38s var(--s-ease);
}

.sched-weeks[data-dir="prev"] {
  animation: schedSlidePrev 0.38s var(--s-ease);
}

.sched-week {
  margin-bottom: 4px;
}

.sched-cell {
  animation: schedDayIn 0.45s var(--s-ease) backwards;
  animation-delay: calc(var(--i, 0) * 9ms);
  display: grid;
  height: var(--s-cell);
  place-items: center;
}

.sched-cell.is-empty {
  animation: none;
}

.sched-day {
  aspect-ratio: 1;
  background: transparent;
  border-radius: 50%;
  color: var(--s-faint);
  cursor: default;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  position: relative;
  transition: background 0.22s, color 0.22s, transform 0.18s var(--s-ease);
  width: min(100%, var(--s-cell));
}

.sched-day.is-open {
  background: var(--s-tint);
  color: var(--s-brand);
  cursor: pointer;
  font-weight: 700;
}

.sched-day.is-open:hover {
  background: var(--s-tint-strong);
}

.sched-day.is-open:active {
  transform: scale(0.9);
}

.sched-day.is-selected,
.sched-day.is-selected:hover {
  background: var(--s-brand);
  color: #fff;
}

.sched-day.is-popping {
  animation: schedPop 0.42s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.sched-day.is-flash {
  animation: schedFlash 0.9s ease-out;
}

.sched-day.is-today::after {
  background: var(--s-accent);
  border-radius: 50%;
  bottom: 7px;
  content: "";
  height: 5px;
  left: 50%;
  margin-left: -2.5px;
  position: absolute;
  width: 5px;
}

.sched-day.is-skeleton {
  animation: schedShimmer 1.3s ease-in-out infinite;
  background: linear-gradient(100deg, var(--s-tint) 30%, var(--s-tint-strong) 50%, var(--s-tint) 70%);
  background-size: 220% 100%;
  opacity: 0.8;
}

.sched-cal__empty {
  color: var(--s-muted);
  font-size: 14.5px;
  margin-top: 6px;
  text-align: center;
}

.sched-load-error {
  align-items: center;
  color: var(--s-muted);
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 60px 12px;
  text-align: center;
}

/* ========== START TIMES ========== */
.sched-times {
  box-shadow: inset 1px 0 0 var(--s-line);
  min-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s, visibility 0s linear 0.3s;
  visibility: hidden;
}

.scheduler[data-has-day="true"] .sched-times {
  opacity: 1;
  transition: opacity 0.45s ease 0.2s, visibility 0s;
  visibility: visible;
}

.sched-times__inner {
  display: flex;
  flex-direction: column;
  padding: 34px 22px 30px;
  width: 300px;
}

.sched-times__title {
  color: var(--s-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.sched-times__sub {
  color: var(--s-muted);
  font-size: 13.5px;
  margin-top: 2px;
}

.sched-slots {
  display: grid;
  gap: 10px;
  margin: 16px -4px 0;
  max-height: 392px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
}

.sched-slot-row {
  animation: schedSlotIn 0.45s var(--s-ease) backwards;
  animation-delay: calc(var(--i, 0) * 38ms);
  column-gap: 0;
  display: grid;
  grid-template-columns: 1fr 0fr;
  transition: grid-template-columns 0.32s var(--s-ease), column-gap 0.32s var(--s-ease);
}

.sched-slots.no-anim .sched-slot-row {
  animation: none;
}

.sched-slot-row.is-selected {
  column-gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.sched-slot,
.sched-next {
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  height: 52px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.sched-slot {
  background: var(--s-paper);
  border: 1.5px solid var(--s-brand);
  color: var(--s-brand);
  transition: background 0.22s, color 0.22s, transform 0.18s var(--s-ease);
}

.sched-slot:hover {
  background: var(--s-tint);
}

.sched-slot:active {
  transform: scale(0.98);
}

.sched-slot-row.is-selected .sched-slot {
  background: var(--s-brand);
  color: #fff;
}

.sched-next {
  background: var(--s-accent);
  border: 0;
  color: var(--s-ink);
  opacity: 0;
  transition: filter 0.2s, opacity 0.3s ease, visibility 0s linear 0.32s;
  visibility: hidden;
}

.sched-slot-row.is-selected .sched-next {
  opacity: 1;
  transition: filter 0.2s, opacity 0.3s ease 0.1s, visibility 0s;
  visibility: visible;
}

.sched-next:hover {
  filter: brightness(1.07);
}

/* ========== DETAILS FORM ========== */
.sched-details {
  animation: schedUp 0.5s var(--s-ease) both;
  border-left: 1px solid var(--s-line);
  grid-column: 2 / 4;
  min-width: 0;
  padding: 26px 40px 34px;
}

.sched-back {
  background: transparent;
  color: var(--s-brand);
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 8px -2px;
  padding: 8px 2px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sched-back:hover {
  color: var(--s-ink);
}

.sched-details__title {
  color: var(--s-ink);
  font-family: var(--s-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

.sched-details__title:focus {
  outline: none;
}

.sched-group {
  margin-bottom: 12px;
}

.sched-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sched-row--addr {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.sched-row--place {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.sched-input {
  background: var(--s-paper);
  border: 1px solid var(--s-line-strong);
  border-radius: 12px;
  color: var(--s-ink);
  font-size: 16px;
  height: 48px;
  padding: 0 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.sched-input--area {
  height: auto;
  line-height: 1.5;
  min-height: 84px;
  padding: 11px 15px;
  resize: vertical;
}

.sched-input::placeholder {
  color: var(--s-faint);
}

.sched-input:hover {
  border-color: var(--s-brand);
}

.sched-input:focus {
  border-color: var(--s-brand);
  box-shadow: 0 0 0 3px var(--s-tint-strong);
  outline: none;
}

.sched-input:focus-visible {
  outline: 2px solid var(--s-brand);
  outline-offset: 1px;
}

.sched-input.is-invalid,
.sched-select select.is-invalid {
  border-color: var(--s-error);
}

.sched-error {
  color: var(--s-error);
  font-size: 13px;
  margin-top: 5px;
}

.sched-error:empty {
  display: none;
}

.sched-alert {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 12px;
  color: #8a2a20;
  font-size: 14px;
  margin-bottom: 16px;
  padding: 11px 14px;
}

.sched-form__note {
  color: var(--s-muted);
  font-size: 13.5px;
  margin: 14px auto 0;
  max-width: 46ch;
  text-align: center;
  text-wrap: balance;
}

.sched-aside {
  color: var(--s-muted);
  font-size: 14.5px;
  margin-top: 30px;
  text-align: center;
}

.sched-aside a {
  color: var(--s-brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ========== BUTTONS ========== */
.sched-btn {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 15.5px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  position: relative;
  transition: filter 0.2s, transform 0.2s var(--s-ease), background 0.25s, color 0.25s;
}

.sched-btn--primary {
  background: var(--s-accent);
  color: var(--s-ink);
}

.sched-btn--primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.sched-btn--primary:active {
  transform: translateY(0) scale(0.99);
}

.sched-btn--block {
  min-height: 54px;
  width: 100%;
}

.sched-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--s-brand);
  color: var(--s-brand);
}

.sched-btn--ghost:hover {
  background: var(--s-tint);
}

.sched-btn[data-submitting="true"]::after {
  animation: schedSpin 0.7s linear infinite;
  border: 2px solid rgba(14, 28, 21, 0.25);
  border-radius: 50%;
  border-top-color: var(--s-ink);
  content: "";
  height: 16px;
  width: 16px;
}

/* ========== SUCCESS ========== */
.sched-success {
  animation: schedUp 0.55s var(--s-ease) both;
  grid-column: 1 / -1;
  padding: 58px 36px 52px;
  text-align: center;
}

.sched-success:focus {
  outline: none;
}

.sched-success__mark {
  height: 84px;
  margin: 0 auto 22px;
  position: relative;
  width: 84px;
}

.sched-success__mark svg {
  height: 84px;
  overflow: visible;
  width: 84px;
}

.sched-success__ring {
  animation: schedDraw 0.8s var(--s-ease) forwards;
  fill: var(--s-tint);
  stroke: var(--s-brand);
  stroke-dasharray: 196;
  stroke-dashoffset: 196;
  stroke-width: 2.5;
  transform: rotate(-90deg);
  transform-origin: 36px 36px;
}

.sched-success__tick {
  animation: schedDraw 0.5s var(--s-ease) 0.6s forwards;
  fill: none;
  stroke: var(--s-brand);
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.sched-success__bubble {
  animation: schedBubble 2.6s ease-out forwards;
  border: 1.5px solid var(--s-accent);
  border-radius: 50%;
  opacity: 0;
  position: absolute;
}

.sched-success__bubble--a {
  animation-delay: 0.7s;
  height: 12px;
  left: -26px;
  top: 40px;
  width: 12px;
}

.sched-success__bubble--b {
  animation-delay: 0.95s;
  height: 8px;
  right: -22px;
  top: 52px;
  width: 8px;
}

.sched-success__bubble--c {
  animation-delay: 1.15s;
  height: 16px;
  right: -40px;
  top: 14px;
  width: 16px;
}

.sched-success__bubble--d {
  animation-delay: 1.3s;
  height: 7px;
  left: -14px;
  top: 4px;
  width: 7px;
}

.sched-success__title {
  color: var(--s-ink);
  font-family: var(--s-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
}

.sched-success__what {
  color: var(--s-ink);
  font-size: 17px;
  font-weight: 600;
  margin: 14px auto 0;
  max-width: 40ch;
  text-wrap: balance;
}

.sched-success__message {
  color: var(--s-muted);
  font-size: 15px;
  margin: 10px auto 0;
  max-width: 46ch;
  text-wrap: balance;
}

.sched-success__ref {
  color: var(--s-muted);
  font-size: 13px;
  margin-top: 16px;
}

.sched-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ========== KEYFRAMES ========== */
@keyframes schedRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes schedUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes schedDayIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.92);
  }
}

@keyframes schedSlotIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

@keyframes schedSlideNext {
  from {
    opacity: 0.2;
    transform: translateX(18px);
  }
}

@keyframes schedSlidePrev {
  from {
    opacity: 0.2;
    transform: translateX(-18px);
  }
}

@keyframes schedPop {
  0% {
    transform: scale(0.84);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes schedFlash {
  0% {
    box-shadow: 0 0 0 0 var(--s-tint-strong);
  }

  100% {
    box-shadow: 0 0 0 16px transparent;
  }
}

@keyframes schedShimmer {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@keyframes schedDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes schedBubble {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.6);
  }

  25% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateY(-34px) scale(1.15);
  }
}

@keyframes schedDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(22px, 26px, 0);
  }
}

@keyframes schedSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== TABLET ========== */
@media (max-width: 1019px) {
  .scheduler,
  .scheduler[data-step="details"],
  .scheduler[data-step="done"] {
    grid-template-columns: 1fr 0px;
    max-width: 720px;
  }

  .scheduler[data-has-day="true"] {
    grid-template-columns: 1fr 270px;
    max-width: 720px;
  }

  .scheduler[data-step="details"][data-has-day="true"],
  .scheduler[data-step="done"][data-has-day="true"] {
    grid-template-columns: 1fr 0px;
  }

  .scheduler[data-step="done"] {
    max-width: 640px;
  }

  .sched-info {
    border-bottom: 1px solid var(--s-line);
    grid-column: 1 / -1;
    padding: 26px 28px 22px;
  }

  .sched-info__title {
    margin-bottom: 18px;
  }

  .sched-field {
    max-width: 420px;
  }

  .sched-facts {
    gap: 10px;
    margin-top: 18px;
  }

  .sched-info__note {
    border-top: 0;
    margin-top: 16px;
    padding-top: 0;
  }

  .sched-cal {
    border-left: 0;
    padding: 26px 24px 26px;
  }

  .sched-times__inner {
    padding: 26px 20px 26px 4px;
    width: 270px;
  }

  .sched-times {
    box-shadow: none;
  }

  .sched-details {
    border-left: 0;
    grid-column: 1 / -1;
    padding: 24px 28px 30px;
  }
}

/* ========== PHONE ========== */
@media (max-width: 720px) {
  .sched-page {
    --s-cell: 48px;
    padding-bottom: 40px;
  }

  .sched-wrap {
    padding: 0 12px;
  }

  .sched-head {
    padding: 34px 16px 22px;
  }

  .sched-head__copy {
    font-size: 15.5px;
  }

  .sched-head::before {
    height: 170px;
    left: -60px;
    top: -60px;
    width: 170px;
  }

  .sched-head::after {
    height: 90px;
    right: -20px;
    top: 24px;
    width: 90px;
  }

  .scheduler,
  .scheduler[data-has-day="true"],
  .scheduler[data-step="details"],
  .scheduler[data-step="done"],
  .scheduler[data-step="details"][data-has-day="true"],
  .scheduler[data-step="done"][data-has-day="true"] {
    border-radius: 18px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    min-height: 0;
    transition: none;
  }

  .sched-info {
    border-bottom: 0;
    padding: 22px 20px 6px;
  }

  .sched-info__brand,
  .sched-info__desc {
    display: none;
  }

  .sched-info__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .sched-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .sched-info__note {
    margin-top: 12px;
  }

  .sched-cal {
    padding: 18px 8px 22px;
  }

  .sched-cal__bar {
    padding: 0 6px;
  }

  .sched-iconbtn {
    height: 44px;
    width: 44px;
  }

  .sched-today {
    height: 40px;
  }

  .sched-weeks {
    min-height: calc(var(--s-cell) * 5 + 16px);
  }

  .sched-times,
  .scheduler[data-has-day="true"] .sched-times {
    opacity: 1;
    scroll-margin-top: calc(var(--nav-height, 72px) + 8px);
    transition: none;
    visibility: visible;
  }

  .sched-times {
    display: none;
  }

  .scheduler[data-has-day="true"] .sched-times {
    animation: schedUp 0.4s var(--s-ease) both;
    box-shadow: inset 0 1px 0 var(--s-line);
    display: block;
  }

  .sched-times__inner {
    padding: 22px 18px 26px;
    width: auto;
  }

  .sched-slots {
    max-height: none;
    overflow: visible;
  }

  .sched-slot,
  .sched-next {
    height: 54px;
  }

  .sched-details {
    padding: 8px 18px 26px;
  }

  .sched-row--stack,
  .sched-row--addr {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }

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

  .sched-row--place .sched-group:first-child {
    grid-column: 1 / -1;
  }

  .sched-success {
    padding: 44px 22px 40px;
  }

  .sched-success__actions .sched-btn {
    width: 100%;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  .sched-page *,
  .sched-page *::before,
  .sched-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .sched-success__ring,
  .sched-success__tick {
    stroke-dashoffset: 0;
  }

  .sched-success__bubble {
    display: none;
  }
}
