/* ============================================
   UNIQUE OPTICAL — SHARED STYLES
   Aesthetic: Warm, editorial, boutique
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Brand colors pulled from the logo */
  --coral-50: #FFF4F0;
  --coral-100: #FFE3D8;
  --coral-200: #FFC4AF;
  --coral-300: #FF9B7A;
  --coral-400: #F96E45;
  --coral-500: #E94E2A;   /* primary red from logo */
  --coral-600: #C23515;
  --coral-700: #92280F;

  /* Neutrals — warm cream base */
  --cream-50: #FDFAF6;
  --cream-100: #F8F1E8;
  --cream-200: #EFE4D4;
  --ink-900: #1A1412;
  --ink-700: #3D332E;
  --ink-500: #6E6158;
  --ink-300: #A39689;
  --ink-200: #C9BEB1;
  --ink-100: #E6DED2;

  /* Semantic */
  --pending:   #D89418;
  --confirmed: #2F8F52;
  --cancelled: #A13A2A;
  --info:      #3E6B8A;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(26,20,18,.06), 0 1px 2px rgba(26,20,18,.04);
  --shadow-md: 0 6px 18px rgba(26,20,18,.08), 0 2px 4px rgba(26,20,18,.04);
  --shadow-lg: 0 22px 45px -18px rgba(146,40,15,.25), 0 10px 20px -12px rgba(26,20,18,.12);

  --max: 1240px;
}

/* ==== reset ==== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; }

/* ==== typography ==== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  color: var(--coral-500);
}

/* ==== site frame ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 250, 246, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.brand__tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 4px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.site-nav a:hover { color: var(--coral-500); }

/* ==== buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--coral-400), var(--coral-600));
  color: white;
  box-shadow: 0 10px 24px -10px rgba(233, 78, 42, 0.55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(233, 78, 42, 0.7);
}
.btn--primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
}
.btn--ghost:hover {
  background: var(--cream-100);
  border-color: var(--ink-300);
}
.btn--subtle {
  background: var(--cream-100);
  color: var(--ink-900);
}
.btn--subtle:hover { background: var(--ink-100); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--approve { background: var(--confirmed); color: #fff; }
.btn--approve:hover { filter: brightness(1.05); }
.btn--reject { background: transparent; color: var(--cancelled); border: 1px solid var(--cancelled); }
.btn--reject:hover { background: var(--cancelled); color: #fff; }

/* ==== forms ==== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral-400);
  box-shadow: 0 0 0 3px rgba(249, 110, 69, 0.15);
}
.field textarea { min-height: 90px; resize: vertical; }

/* ==== chips / status pills ==== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pill::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.pill--pending   { background: #FCEFD4; color: #7A5400; }
.pill--confirmed { background: #DBEED9; color: #205C33; }
.pill--cancelled { background: #F5DAD3; color: #7C1E0E; }
.pill--completed { background: #DDE6EE; color: #1E3F58; }

/* ==== toast ==== */
.toast-host {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--ink-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  max-width: 340px;
  animation: toast-in .25s ease-out;
}
.toast--error { background: var(--cancelled); }
.toast--success { background: var(--confirmed); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==== modal ==== */
.modal-host {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 18, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}
.modal-host.open { display: flex; }
.modal {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow: auto;
  animation: modal-in .2s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
.modal__head {
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}
.modal__close {
  background: var(--cream-100);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--ink-700);
  flex-shrink: 0;
}
.modal__close:hover { background: var(--ink-100); }
.modal__body { padding: 24px 28px; }
.modal__foot {
  padding: 18px 28px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ============================================
   CUSTOMER PAGE — LANDING & BOOKING
   ============================================ */

.hero {
  padding: 80px 28px 64px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20px; right: -40px;
  width: 420px; height: 420px;
  background: radial-gradient(circle at center, rgba(249, 110, 69, 0.15), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 84px);
  margin: 20px 0 20px;
  max-width: 680px;
}
.hero__title em {
  font-style: italic;
  color: var(--coral-500);
}
.hero__lede {
  font-size: 18px;
  color: var(--ink-700);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 48px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 13px;
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 2px;
}
.hero__viz {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__viz-logo {
  width: min(420px, 100%);
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
}
.hero__viz-logo:hover { transform: rotate(0deg) scale(1.02); }
.hero__viz::after {
  content: '';
  position: absolute;
  inset: 20% -5% -5% 20%;
  background: linear-gradient(135deg, var(--coral-100), var(--coral-300));
  border-radius: var(--radius-xl);
  z-index: -1;
  transform: rotate(4deg);
}

/* ==== services strip ==== */
.services {
  background: var(--ink-900);
  color: var(--cream-50);
  padding: 56px 28px;
  margin-top: 40px;
}
.services__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.services__title {
  font-size: clamp(30px, 4vw, 44px);
  margin: 8px 0 0;
  max-width: 520px;
}
.services__note {
  max-width: 340px;
  color: var(--ink-200);
  font-size: 14px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--ink-900);
  padding: 28px 24px;
  transition: background .2s;
}
.service-card:hover { background: #2a211d; }
.service-card__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--coral-400);
  font-size: 14px;
  margin-bottom: 12px;
}
.service-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.service-card__desc {
  font-size: 13px;
  color: var(--ink-200);
  line-height: 1.5;
}

/* ==== booking section ==== */
.booking {
  padding: 80px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.booking__head {
  text-align: center;
  margin-bottom: 48px;
}
.booking__title {
  font-size: clamp(36px, 5vw, 56px);
  margin: 12px 0;
}
.booking__subtitle {
  color: var(--ink-500);
  max-width: 540px;
  margin: 0 auto;
}
.booking__card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
}

/* step indicator */
.steps {
  display: flex;
  background: var(--cream-100);
  border-bottom: 1px solid var(--ink-100);
}
.steps__item {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid var(--ink-100);
  position: relative;
}
.steps__item:last-child { border-right: none; }
.steps__item[data-active="true"] { color: var(--coral-600); }
.steps__item[data-done="true"] { color: var(--ink-700); }
.steps__num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-100);
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
}
.steps__item[data-active="true"] .steps__num {
  background: var(--coral-500); color: #fff;
}
.steps__item[data-done="true"] .steps__num {
  background: var(--confirmed); color: #fff;
}

.step-body {
  padding: 40px;
}
.step-body[hidden] { display: none !important; }
.step-body__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 4px;
}
.step-body__hint {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0 0 28px;
}

/* service selection */
.service-pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.service-pick__opt {
  border: 2px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: left;
  background: #fff;
  transition: all .15s;
}
.service-pick__opt:hover {
  border-color: var(--coral-300);
  background: var(--coral-50);
}
.service-pick__opt[aria-selected="true"] {
  border-color: var(--coral-500);
  background: var(--coral-50);
}
.service-pick__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 4px;
}
.service-pick__meta {
  font-size: 12px;
  color: var(--ink-500);
}

/* calendar */
.cal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 720px) { .cal { grid-template-columns: 1fr; } }
.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cal__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.cal__nav {
  display: flex;
  gap: 6px;
}
.cal__nav button {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cal__nav button:hover { background: var(--ink-100); }
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__dow {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  padding: 8px 0;
}
.cal__day {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-900);
  background: transparent;
  border: none;
  transition: all .12s;
  position: relative;
}
.cal__day:hover:not(:disabled):not([data-active="true"]) {
  background: var(--coral-50);
}
.cal__day:disabled {
  color: var(--ink-200);
  cursor: not-allowed;
}
.cal__day[data-muted="true"] {
  color: var(--ink-200);
}
.cal__day[data-today="true"] {
  font-weight: 600;
  color: var(--coral-500);
}
.cal__day[data-active="true"] {
  background: var(--coral-500);
  color: white;
  font-weight: 500;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
}
.slot {
  padding: 10px 12px;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
  transition: all .12s;
}
.slot:hover:not(:disabled):not([data-active="true"]) {
  border-color: var(--coral-400);
  color: var(--coral-500);
}
.slot:disabled {
  background: var(--cream-100);
  color: var(--ink-200);
  text-decoration: line-through;
  cursor: not-allowed;
}
.slot[data-active="true"] {
  background: var(--coral-500);
  color: #fff;
  border-color: var(--coral-500);
}
.slots-empty {
  color: var(--ink-500);
  font-size: 14px;
  padding: 20px;
  text-align: center;
  grid-column: 1 / -1;
  background: var(--cream-100);
  border-radius: var(--radius-md);
}

/* contact form grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* step footer */
.step-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-100);
  gap: 12px;
}
.step-foot__summary {
  font-size: 13px;
  color: var(--ink-500);
}
.step-foot__summary strong { color: var(--ink-900); font-weight: 500; }

/* confirmation screen */
.confirm {
  padding: 60px 40px;
  text-align: center;
}
.confirm__mark {
  width: 68px; height: 68px; margin: 0 auto 20px;
  background: var(--confirmed);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 32px;
  animation: pop .4s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.confirm__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 10px;
}
.confirm__msg {
  color: var(--ink-500);
  max-width: 460px;
  margin: 0 auto 28px;
}
.confirm__ref {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--cream-100);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.confirm__ref-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-500);
}
.confirm__ref-code {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* footer */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 56px 28px 32px;
  margin-top: 80px;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
}
.site-footer a {
  color: var(--ink-200);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.site-footer a:hover { color: var(--coral-300); }
.site-footer__bottom {
  max-width: var(--max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: var(--ink-300);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   ADMIN PAGE
   ============================================ */

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: 
    radial-gradient(ellipse at top left, rgba(249, 110, 69, 0.12), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(194, 53, 21, 0.1), transparent 45%),
    var(--cream-50);
}
.login {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.login__head {
  padding: 40px 40px 20px;
  text-align: center;
}
.login__logo {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}
.login__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 4px;
}
.login__sub {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0;
}
.login__body {
  padding: 10px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.login__hint {
  background: var(--cream-100);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.5;
}
.login__hint strong { color: var(--ink-900); font-weight: 500; }

/* admin shell */
.admin {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } }

.sidebar {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
@media (max-width: 900px) {
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 14px;
  }
}
.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 900px) {
  .sidebar__brand {
    border-bottom: none;
    margin: 0;
    padding: 0 10px;
    flex-shrink: 0;
  }
}
.sidebar__brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.sidebar__brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}
.sidebar__brand-tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.sidebar__section {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 16px 10px 6px;
}
@media (max-width: 900px) { .sidebar__section { display: none; } }
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-200);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.sidebar__link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar__link[data-active="true"] {
  background: var(--coral-500);
  color: #fff;
}
.sidebar__link .badge {
  margin-left: auto;
  background: var(--coral-500);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
}
.sidebar__link[data-active="true"] .badge {
  background: rgba(255,255,255,.25);
}
.sidebar__foot {
  margin-top: auto;
  padding: 16px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: var(--ink-300);
}
@media (max-width: 900px) { .sidebar__foot { display: none; } }
.sidebar__user {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2px;
}
.sidebar__role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.sidebar__logout {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-300);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}
.sidebar__logout:hover { color: var(--coral-300); }

.main {
  padding: 36px 44px 60px;
  max-width: 1280px;
}
@media (max-width: 720px) { .main { padding: 24px 20px; } }
.main__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.main__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  margin: 4px 0 0;
}
.main__sub {
  color: var(--ink-500);
  font-size: 14px;
}

/* stat cards */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat {
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
}
.stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  font-weight: 500;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  margin: 6px 0 0;
  line-height: 1;
}
.stat__accent {
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(249, 110, 69, 0.18), transparent 70%);
}
.stat--pending .stat__value { color: var(--pending); }
.stat--confirmed .stat__value { color: var(--confirmed); }

/* panel */
.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  margin-bottom: 24px;
}
.panel__head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.panel__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.panel__body { padding: 0; }

/* filters */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-100);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.filter-pill:hover { background: var(--ink-100); }
.filter-pill[data-active="true"] {
  background: var(--ink-900);
  color: #fff;
}

/* booking table */
.bookings-list { list-style: none; margin: 0; padding: 0; }
.booking-row {
  display: grid;
  grid-template-columns: 70px 1fr auto auto auto;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  align-items: center;
  transition: background .12s;
}
@media (max-width: 780px) {
  .booking-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.booking-row:hover { background: var(--cream-100); }
.booking-row:last-child { border-bottom: none; }
.booking-date {
  text-align: center;
  padding: 6px 0;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
}
.booking-date__month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral-500);
  font-weight: 600;
  display: block;
}
.booking-date__day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.booking-info__name {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 2px;
}
.booking-info__meta {
  font-size: 13px;
  color: var(--ink-500);
}
.booking-time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; }
.booking-actions { display: flex; gap: 6px; }
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--ink-500);
}
.empty-state__icon {
  font-size: 48px;
  opacity: .4;
  margin-bottom: 12px;
}

/* admin calendar */
.month-cal {
  padding: 20px;
}
.month-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.month-cal__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.month-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.month-cal__dow {
  text-align: center;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.month-cal__cell {
  min-height: 100px;
  padding: 8px;
  background: var(--cream-50);
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.month-cal__cell[data-muted="true"] { opacity: .45; }
.month-cal__cell[data-today="true"] {
  background: var(--coral-50);
  border-color: var(--coral-300);
}
.month-cal__date {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}
.month-cal__event {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.month-cal__event--pending { background: #FCEFD4; color: #7A5400; }
.month-cal__event--confirmed { background: #DBEED9; color: #205C33; }
.month-cal__event--cancelled { background: #F5DAD3; color: #7C1E0E; text-decoration: line-through; }

/* booking detail modal */
.detail-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 20px;
  font-size: 14px;
  margin-bottom: 20px;
}
.detail-grid dt {
  color: var(--ink-500);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-top: 3px;
}
.detail-grid dd {
  margin: 0;
  color: var(--ink-900);
}
.detail-audit {
  background: var(--cream-100);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 18px;
}
.detail-audit__title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  font-size: 11px;
}
.detail-audit__item {
  padding: 6px 0;
  border-bottom: 1px dashed var(--ink-200);
}
.detail-audit__item:last-child { border-bottom: none; }

/* user mgmt */
.users-list { list-style: none; margin: 0; padding: 0; }
.user-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ink-100);
  align-items: center;
}
.user-row:last-child { border-bottom: none; }
.user-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-300), var(--coral-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-display);
}
.user-info__name { font-size: 14px; font-weight: 500; margin: 0 0 2px; }
.user-info__meta { font-size: 12px; color: var(--ink-500); }
.role-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.role-tag--admin { background: #3D332E; color: #fff; }
.role-tag--employee { background: var(--cream-100); color: var(--ink-700); }

/* reminders panel */
.reminder-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-100);
  color: var(--ink-500);
}
.reminder-status--sent { background: #DDE6EE; color: #1E3F58; }
.reminder-status--confirmed { background: #DBEED9; color: #205C33; }

/* responsive tweaks */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; }
  .hero__viz { display: none; }
  .site-nav { display: none; }
  .step-body { padding: 28px 22px; }
  .main__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   SCHEDULE PAGE (admin)
   ============================================ */

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ink-100);
  transition: background .15s;
}
.hours-row:last-child { border-bottom: none; }
.hours-row[data-closed="true"] { background: var(--cream-100); }
.hours-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  user-select: none;
}
.hours-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--coral-500);
  cursor: pointer;
  flex-shrink: 0;
}
.hours-toggle__label { flex: 1; }
.hours-times {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hours-times input[type="time"] {
  padding: 8px 10px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  background: #fff;
  font-variant-numeric: tabular-nums;
  min-width: 110px;
  color: var(--ink-900);
}
.hours-times input[type="time"]:focus {
  outline: none;
  border-color: var(--coral-400);
  box-shadow: 0 0 0 3px rgba(249, 110, 69, 0.15);
}
.hours-times input[type="time"]:disabled {
  background: var(--cream-100);
  color: var(--ink-300);
  cursor: not-allowed;
}
.hours-sep {
  color: var(--ink-500);
  font-size: 13px;
}
.hours-closed {
  display: none;
  color: var(--ink-500);
  font-style: italic;
  font-size: 14px;
}
.hours-row[data-closed="true"] .hours-times input,
.hours-row[data-closed="true"] .hours-sep {
  display: none;
}
.hours-row[data-closed="true"] .hours-closed {
  display: inline;
}

.block-add {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ink-100);
  flex-wrap: wrap;
}
.block-add .field { flex: 1; min-width: 160px; gap: 6px; }

.block-list { list-style: none; margin: 0; padding: 0; }
.block-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ink-100);
  transition: background .12s;
}
.block-row:hover { background: var(--cream-100); }
.block-row:last-child { border-bottom: none; }
.block-row__date {
  font-weight: 500;
  font-size: 14px;
}
.block-row__label {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Blocked-date visual in admin month calendar */
.month-cal__cell[data-blocked="true"] {
  background: repeating-linear-gradient(
    45deg,
    #F8ECE7,
    #F8ECE7 6px,
    #F5DAD3 6px,
    #F5DAD3 12px
  );
  border-color: var(--coral-200);
}
.month-cal__blocked {
  font-size: 10px;
  color: var(--cancelled);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .hours-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .block-add { flex-direction: column; align-items: stretch; }
}

/* ============================================
   ACTIVITY LOG
   ============================================ */

.audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.audit-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  align-items: flex-start;
  transition: background .12s;
}
.audit-row:last-child { border-bottom: none; }
.audit-row:hover { background: var(--cream-100); }
.audit-row--fail {
  background: linear-gradient(90deg, rgba(245, 218, 211, 0.35), transparent 40%);
}
.audit-row--fail:hover {
  background: linear-gradient(90deg, rgba(245, 218, 211, 0.55), rgba(245, 218, 211, 0.1) 60%);
}

.audit-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream-100);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}
.audit-row[data-kind="auth"]     .audit-row__icon { background: #DDE6EE; color: #1E3F58; }
.audit-row[data-kind="security"] .audit-row__icon { background: #F5DAD3; color: #7C1E0E; }
.audit-row[data-kind="booking"]  .audit-row__icon { background: #DBEED9; color: #205C33; }
.audit-row[data-kind="schedule"] .audit-row__icon { background: #FCEFD4; color: #7A5400; }
.audit-row[data-kind="team"]     .audit-row__icon { background: #E8DDF2; color: #4A2B7A; }

.audit-row__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audit-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.audit-row__action {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-900);
}
.audit-row__fail-tag {
  background: var(--cancelled);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.audit-row__who {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.45;
}
.audit-row__who strong {
  color: var(--ink-900);
  font-weight: 500;
}
.audit-row__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.audit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}
.audit-chip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--ink-900);
}
.audit-chip__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-500);
}
.audit-row--fail .audit-chip {
  border-color: rgba(161, 58, 42, 0.25);
}

.audit-row__when {
  text-align: right;
  flex-shrink: 0;
}
.audit-row__rel {
  font-size: 13px;
  color: var(--ink-900);
  font-weight: 500;
}
.audit-row__exact {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .audit-row {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .audit-row__when {
    grid-column: 2;
    text-align: left;
  }
}

/* ============================================
   STAFF LANDING (public index.html)
   ============================================ */

body.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(249, 110, 69, 0.14), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(194, 53, 21, 0.12), transparent 55%),
    var(--cream-50);
}

.landing__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
  position: relative;
}

.landing__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.landing__glow--a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--coral-300), transparent 70%);
  top: -120px;
  right: 8%;
}
.landing__glow--b {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--coral-500), transparent 70%);
  bottom: -100px;
  left: 2%;
  opacity: 0.28;
}

.landing__center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}
.landing__mark {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.landing__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: left;
}
.landing__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-500);
  margin-top: 5px;
  text-align: left;
}

.landing__headline {
  font-size: clamp(60px, 10vw, 148px);
  line-height: 0.95;
  margin: 0 0 56px;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.landing__headline em {
  font-style: italic;
  color: var(--coral-500);
}

.landing__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.landing__cta {
  padding: 18px 38px;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.landing__footer {
  padding: 24px 40px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-500);
  border-top: 1px solid var(--ink-100);
  background: rgba(253, 250, 246, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .landing__stage { padding: 40px 22px; }
  .landing__brand { margin-bottom: 40px; }
  .landing__headline { margin-bottom: 40px; }
  .landing__cta {
    padding: 16px 28px;
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================
   SEARCH INPUT (on Bookings page)
   ============================================ */

.search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  font-size: 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236E6158' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.35-4.35'/></svg>")
    no-repeat 14px center;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.search-input:focus {
  outline: none;
  border-color: var(--coral-400);
  box-shadow: 0 0 0 3px rgba(249, 110, 69, 0.15);
}
.search-input::placeholder { color: var(--ink-300); }
.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--ink-700);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.search-clear:hover { background: var(--ink-100); color: var(--ink-900); }

/* ============================================
   CLICKABLE MONTH-CALENDAR CELLS
   ============================================ */

.month-cal__cell[data-clickable="true"] {
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  position: relative;
}
.month-cal__cell[data-clickable="true"]:hover {
  border-color: var(--coral-400);
  background: var(--coral-50);
}
.month-cal__cell[data-clickable="true"]:active {
  transform: scale(0.98);
}
.month-cal__cell[data-clickable="true"] .month-cal__event {
  cursor: pointer;
}
.month-cal__add {
  font-size: 11px;
  color: var(--coral-500);
  font-weight: 500;
  opacity: 0;
  transition: opacity .15s;
  margin-top: auto;
  padding: 2px 4px;
}
.month-cal__cell[data-clickable="true"]:hover .month-cal__add {
  opacity: 1;
}

/* Audit chip: location after IP inside same chip */
.audit-chip__loc {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 400;
  border-left: 1px solid var(--ink-100);
  margin-left: 4px;
  padding-left: 8px;
}
.audit-chip--ip {
  background: #fff;
}

/* print-ish cleanup */
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
