/* HH Scheduler — brand skin.
   Everything is scoped under .hhs so it can never leak into Bricks elements.
   Sized in px because the site root font-size is not the browser default. */

.hhs {
  --hhs-emerald: #07241B;
  --hhs-emerald-soft: #14533D;
  --hhs-gold: #C5A253;
  --hhs-gold-light: #E0C385;
  --hhs-ivory: #F4EFE4;
  --hhs-ink: #0B0E0C;
  --hhs-muted: #5B655E;
  --hhs-line: #E4DCC9;
  font-family: 'Jost', sans-serif;
  color: var(--hhs-ink);
}

.hhs__heading {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  color: var(--hhs-emerald);
  margin: 0 0 28px;
}

.hhs__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hhs-gold);
  margin: 0 0 14px;
}

.hhs__title {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1.15;
  color: var(--hhs-emerald);
  margin: 0 0 6px;
}

.hhs__meta,
.hhs__note {
  font-size: 15px;
  font-weight: 300;
  color: var(--hhs-muted);
  margin: 0;
}

.hhs__head { margin-bottom: 26px; }

.hhs__back {
  background: none;
  border: 0;
  padding: 0 0 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hhs-gold);
  cursor: pointer;
}
.hhs__back:hover { color: var(--hhs-emerald); }

/* ---- service chooser ---- */

.hhs__service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.hhs__service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--hhs-line);
  border-radius: 0;
  padding: 26px 24px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.hhs__service:hover {
  border-color: var(--hhs-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(7, 36, 27, 0.07);
}
.hhs__service-name {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 24px;
  color: var(--hhs-emerald);
}
.hhs__service-meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hhs-gold);
}
.hhs__service-desc { font-size: 15px; font-weight: 300; color: var(--hhs-muted); }

/* ---- week navigation ---- */

.hhs__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--hhs-line);
  border-bottom: 1px solid var(--hhs-line);
  padding: 14px 0;
  margin-bottom: 24px;
}

.hhs__navbtn {
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hhs-emerald);
  cursor: pointer;
  padding: 6px 2px;
}
.hhs__navbtn:hover:not(:disabled) { color: var(--hhs-gold); }
.hhs__navbtn:disabled { opacity: .3; cursor: default; }

.hhs__range {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 20px;
  color: var(--hhs-emerald);
}

/* ---- slot grid ---- */

.hhs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.hhs__day { min-width: 0; }

.hhs__dayname {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hhs-gold);
  margin-bottom: 2px;
}
.hhs__daynum {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 19px;
  color: var(--hhs-emerald);
  margin-bottom: 12px;
}

.hhs__times { display: flex; flex-direction: column; gap: 8px; }

.hhs__slot {
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--hhs-emerald);
  background: #fff;
  border: 1px solid var(--hhs-line);
  border-radius: 0;
  padding: 12px 8px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.hhs__slot:hover {
  background: var(--hhs-emerald);
  border-color: var(--hhs-emerald);
  color: var(--hhs-ivory);
}
.hhs__slot:focus-visible {
  outline: none;
  border-color: var(--hhs-gold);
  box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.28);
}

.hhs__loading,
.hhs__empty,
.hhs__error {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 300;
  color: var(--hhs-muted);
  padding: 28px 0;
  margin: 0;
}
.hhs__error { color: #8a2b22; }

/* ---- details form ---- */

.hhs__chosen {
  font-size: 16px;
  color: var(--hhs-gold);
  margin: 6px 0 0;
}

/* Full width, two columns on anything roomy, collapsing to one on a phone.
   The message and any open questions always span the full width, because a
   narrow box invites a narrow answer. */
.hhs__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 24px;
  width: 100%;
  margin-top: 28px;
  align-items: start;
}

.hhs__field { display: block; min-width: 0; }
.hhs__field--full { grid-column: 1 / -1; }

/* the confirmation summary above the fields */
.hhs__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 32px;
  background: var(--hhs-emerald);
  color: var(--hhs-ivory);
  padding: 26px 30px;
  margin-top: 26px;
}
.hhs__summary-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hhs__summary-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hhs-gold);
}
.hhs__summary-v {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
  color: var(--hhs-ivory);
}

.hhs__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hhs-muted);
  margin-bottom: 8px;
}

.hhs__form input,
.hhs__form textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--hhs-emerald);
  background: #fff;
  border: 1px solid var(--hhs-line);
  border-radius: 0;
  padding: 15px 17px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hhs__form input:focus,
.hhs__form textarea:focus {
  outline: none;
  border-color: var(--hhs-gold);
  box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.16);
}

.hhs__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hhs__form textarea { resize: vertical; min-height: 68px; line-height: 1.55; }

.hhs__submit {
  grid-column: 1 / -1;
  justify-self: start;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hhs-emerald);
  background: var(--hhs-gold);
  border: 1px solid var(--hhs-gold);
  border-radius: 0;
  padding: 17px 40px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hhs__submit:hover:not(:disabled) {
  background: var(--hhs-emerald);
  border-color: var(--hhs-emerald);
  color: var(--hhs-ivory);
}
.hhs__submit:disabled { opacity: .6; cursor: default; }

.hhs__msg { grid-column: 1 / -1; font-size: 15px; margin: 0; }
.hhs__msg--error { color: #8a2b22; }

/* ---- confirmation ---- */

.hhs__done {
  background: var(--hhs-emerald);
  color: var(--hhs-ivory);
  padding: 48px 40px;
}
.hhs__done .hhs__title { color: var(--hhs-ivory); }
.hhs__done .hhs__note { color: rgba(244, 239, 228, 0.72); }

.hhs__when {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 26px;
  color: var(--hhs-gold-light);
  margin: 10px 0 14px;
}

.hhs__meet {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hhs-emerald);
  background: var(--hhs-gold);
  padding: 15px 32px;
  text-decoration: none;
}
.hhs__meet:hover { background: var(--hhs-gold-light); }

.hhs__noscript { font-size: 15px; color: var(--hhs-muted); }

@media (max-width: 767px) {
  .hhs__heading { font-size: 34px; }
  .hhs__grid { grid-template-columns: 1fr; gap: 22px; }
  .hhs__times { flex-direction: row; flex-wrap: wrap; }
  .hhs__slot { flex: 0 0 auto; min-width: 92px; }
  .hhs__done { padding: 36px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hhs__service,
  .hhs__slot,
  .hhs__submit { transition: none; }
  .hhs__service:hover { transform: none; }
}
