:root {
  --ink: #323232;
  --muted: #584c45;
  --paper: #f0e7d7;
  --soft: #f7f1e6;
  --wash: #d9cdbc;
  --berry: #584c45;
  --moss: #584c45;
  --clay: #baa799;
  --blue: #584c45;
  --gold: #baa799;
  --line: rgba(50, 50, 50, 0.28);
  --shadow: 0 16px 38px rgba(50, 50, 50, 0.12);
  --display-font: "Bodoni 72", "Bodoni MT", Didot, "Times New Roman", serif;
  --body-font: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--soft);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.is-kiosk .site-header {
  color: var(--ink);
  background: rgba(240, 231, 215, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
footer,
.visit-details {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0;
  font-family: var(--display-font);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-action,
.button,
.booking-link,
.assist-options button,
.submit-help,
.request-actions button,
.staff-button,
.pin-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-action {
  min-width: 92px;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--soft);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(50, 50, 50, 0.78), rgba(88, 76, 69, 0.46) 56%, rgba(88, 76, 69, 0.12)),
    linear-gradient(0deg, rgba(50, 50, 50, 0.66), rgba(50, 50, 50, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88vh;
  max-width: 850px;
  flex-direction: column;
  justify-content: center;
  padding: 118px clamp(20px, 7vw, 96px) 76px;
}

.eyebrow,
.section-kicker,
.service-label,
.provider-list span {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 112px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.8vw, 82px);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 250, 244, 0.9);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  padding: 0 24px;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--soft);
  background: var(--ink);
}

.button.secondary {
  color: var(--soft);
  border-color: rgba(247, 241, 230, 0.72);
}

.booking-screen,
.providers,
.visit {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.booking-screen {
  background: var(--soft);
}

.client-info-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.client-info-panel h3 {
  margin-bottom: 10px;
}

.client-info-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.client-info-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.client-info-panel input {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  background: var(--soft);
  font: inherit;
}

.client-info-panel button {
  min-height: 56px;
  border: 0;
  border-radius: 2px;
  padding: 0 18px;
  color: var(--soft);
  background: var(--ink);
  font: inherit;
  font-weight: 900;
}

.client-info-status {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 900;
}

.booking-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.booking-intro p:last-child,
.visit-details p,
.provider-list p,
.booking-card p,
.notice-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

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

.assistant-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.assistant-copy h3,
.help-form h3 {
  margin-bottom: 12px;
}

.assistant-copy p,
.help-form p,
.assist-result p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.assist-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.assist-options button {
  min-height: 82px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
  text-align: center;
}

.assist-options button:hover,
.assist-options button:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 20, 18, 0.14);
  outline: none;
}

.assist-result {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--soft);
}

.assist-result strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px);
}

.assist-result .assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.assist-result .assistant-actions a,
.assist-result .assistant-actions button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  padding: 0 22px;
  color: var(--soft);
  background: var(--ink);
  font: inherit;
  font-weight: 900;
}

.assist-result .assistant-actions button {
  color: var(--ink);
  background: var(--wash);
}

.booking-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.booking-card.hair {
  border-top: 9px solid var(--muted);
}

.booking-card.beauty {
  border-top: 9px solid var(--clay);
}

.booking-card.massage {
  border-top: 9px solid var(--ink);
}

.booking-card.nails {
  border-top: 9px solid var(--wash);
}

.service-label {
  display: inline-block;
  color: var(--moss);
  line-height: 1.45;
}

.booking-link {
  width: 100%;
  min-height: 76px;
  padding: 0 26px;
  color: var(--soft);
  background: var(--ink);
  font-size: clamp(20px, 2.8vw, 30px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.booking-link:hover,
.booking-link:focus-visible,
.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible,
.submit-help:hover,
.submit-help:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 20, 18, 0.18);
  outline: none;
}

.help-form,
.saved-requests {
  margin-top: 26px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.help-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.help-form > div,
.help-form label:nth-of-type(4),
.consent-row,
.submit-help,
.form-status {
  grid-column: 1 / -1;
}

.help-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.help-form input,
.help-form select,
.help-form textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
}

.help-form textarea {
  resize: vertical;
}

.consent-row {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  line-height: 1.45;
}

.consent-row input {
  width: 24px;
  min-height: 24px;
}

.submit-help {
  min-height: 72px;
  border: 0;
  color: var(--soft);
  background: var(--ink);
  font-size: 22px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.saved-requests {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 80px);
  background: var(--soft);
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.request-actions button {
  min-height: 54px;
  border: 1px solid var(--line);
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}

.request-item strong {
  display: block;
  margin-bottom: 8px;
}

.request-item p {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: clamp(36px, 6vw, 70px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.notice-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 900;
}

.notice-band strong {
  display: block;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 42px;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.provider-list article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--soft);
}

.provider-list h3 {
  font-size: 25px;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 36px;
  background: var(--ink);
  color: var(--soft);
}

.visit .section-kicker {
  color: var(--clay);
}

.visit-details {
  align-items: flex-start;
  gap: 24px;
}

.visit-details p {
  color: rgba(255, 250, 244, 0.78);
}

.kiosk-controls {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 10px;
}

.reset-button,
.staff-button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 2px;
  color: var(--soft);
  background: var(--muted);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
}

.staff-button {
  background: var(--ink);
  display: none;
}

body.is-kiosk .kiosk-controls {
  display: flex;
}

body.can-staff-unlock .staff-button {
  display: inline-flex;
}

.pin-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(23, 20, 18, 0.66);
}

.pin-modal[hidden] {
  display: none;
}

.pin-card {
  width: min(560px, 100%);
  padding: clamp(26px, 5vw, 44px);
  border-radius: 0;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.pin-card h2 {
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  font-size: clamp(36px, 5vw, 58px);
}

.pin-card p,
.pin-card label {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.pin-card label {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--ink);
  font-weight: 900;
}

.pin-card input {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 28px;
}

.pin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pin-actions button {
  min-height: 62px;
  border: 0;
  color: var(--soft);
  background: var(--ink);
  font-size: 18px;
}

.pin-actions button:last-child {
  color: var(--ink);
  background: var(--wash);
}

.pin-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 900;
}

footer {
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 80px);
  color: var(--soft);
  background: var(--ink);
}

footer a {
  color: var(--clay);
  font-weight: 800;
}

body.is-kiosk:not(.is-staff-unlocked) .site-header,
body.is-kiosk:not(.is-staff-unlocked) footer,
body.is-kiosk .hero {
  display: none;
}

body.is-kiosk .booking-screen {
  min-height: 100vh;
  padding-top: 48px;
}

body.is-kiosk:not(.is-staff-unlocked) .notice-band,
body.is-kiosk:not(.is-staff-unlocked) .providers,
body.is-kiosk:not(.is-staff-unlocked) .visit,
body.is-kiosk:not(.is-staff-unlocked) .saved-requests {
  display: none;
}

body.is-staff-unlocked .saved-requests {
  display: block;
}

body.is-kiosk .booking-intro {
  grid-template-columns: 1fr;
  max-width: 1080px;
}

body.is-kiosk .booking-intro p:last-child {
  max-width: 840px;
  font-size: 24px;
}

body.is-kiosk .booking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-kiosk .assistant-panel {
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
}

body.is-kiosk .assist-options button {
  min-height: 96px;
}

body.is-kiosk .booking-card {
  min-height: 360px;
}

body.is-kiosk .booking-link {
  min-height: 92px;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .booking-intro,
  .client-info-panel,
  .assistant-panel,
  .booking-grid,
  .notice-band,
  .provider-list,
  .visit,
  body.is-kiosk .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-content {
    min-height: 82vh;
  }

  .booking-card {
    min-height: 280px;
  }

  .assist-options,
  .client-info-panel,
  .help-form,
  body.is-kiosk .assistant-panel {
    grid-template-columns: 1fr;
  }

  .visit-details {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 128px;
    white-space: normal;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-action {
    min-width: 78px;
  }

  h1 {
    font-size: 47px;
  }

  .button {
    width: 100%;
  }

  .booking-card {
    padding: 24px;
  }
}
