/* AUTO-GENERATED by scripts/build-home-critical-css.mjs. */

/* --- calendly-booking.css --- */
.calendly-booking-open { overflow: hidden; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1120px;
  margin: 0 auto;
}
.contact-layout .contact-inner { width: 100%; max-width: none; margin: 0; }
.contact-booking-card {
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(167, 139, 250, .09), transparent 75%), var(--card);
}
.contact-booking-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border: 1px solid rgba(167, 139, 250, .25);
  border-radius: 16px;
  color: var(--accent);
  background: rgba(167, 139, 250, .1);
}
.contact-booking-card h2 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
}
.contact-booking-description { color: var(--muted); font-size: 15px; line-height: 1.75; }
.contact-booking-time { margin: 22px 0 18px; color: var(--accent); font-size: 13px; font-weight: 600; }
.contact-booking-topics { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact-booking-topics li { display: flex; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-booking-topics li::before { content: '\2713'; color: var(--accent); }
.contact-booking-cta { display: flex; justify-content: center; width: 100%; text-align: center; }
.contact-booking-note { margin: 14px 0 0; color: var(--dim); font-size: 12px; text-align: center; }
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 40px; }
}
.calendly-booking-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(1100px, calc(100vw - 32px));
  height: min(880px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.calendly-booking-dialog[open] { display: flex; flex-direction: column; }
.calendly-booking-dialog::backdrop { background: rgba(8, 5, 20, .75); }
.calendly-booking-header { position: relative; padding: 20px 110px 12px 24px; }
.calendly-booking-header h2 { margin: 0 0 6px; font-size: 24px; }
.calendly-booking-header p { margin: 0; color: var(--dim); font-size: 14px; }
.calendly-booking-close {
  position: absolute;
  top: 20px;
  right: 16px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.calendly-booking-note { margin: 0; padding: 0 24px 16px; font-size: 12px; color: var(--dim); }
.calendly-booking-note a { color: var(--accent); text-decoration: underline; }
.calendly-booking-frame { flex: 1; min-height: 0; width: 100%; border: 0; background: #fff; }
.js-calendly-book:focus-visible, .calendly-booking-close:focus-visible,
.calendly-booking-note a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .calendly-booking-dialog { width: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .calendly-booking-header { padding-left: 16px; }
  .calendly-booking-header h2 { font-size: 20px; }
  .calendly-booking-note { padding-left: 16px; padding-right: 16px; }
}

/* KAN-1535: compact hero actions and a dedicated call invitation. */
.hero-text-links a{display:inline-flex;align-items:center;justify-content:center;padding:.55rem .85rem;border:1px solid var(--border2);border-radius:10px;text-decoration:none;font-size:13px;font-weight:600;background:var(--bg2);color:var(--text)}
.hero-text-links a:hover{border-color:var(--accent);color:var(--accent)}
.hero-text-links a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-call-section{padding:2rem 24px 1rem}
.home-call-card{max-width:1200px;margin:0 auto;padding:1.5rem 1.75rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;border:1px solid var(--border2);border-radius:20px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 7%,var(--bg2)),var(--bg2))}
.home-call-eyebrow{font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--accent);margin:0 0 .45rem}
.home-call-copy h2{font:600 1.35rem var(--sans);margin:0 0 .5rem}
.home-call-copy>p:last-child{font-size:14px;color:var(--muted);margin:0;line-height:1.6}
.home-call-action{display:flex;flex-direction:column;align-items:center;gap:.6rem;flex-shrink:0}
.home-call-action .btn-primary{min-width:165px;text-align:center}
.home-call-action p{margin:0;font-size:12px;color:var(--muted)}
@media(max-width:640px){.home-call-section{padding:1.25rem 16px .5rem}.home-call-card{padding:1.25rem;flex-direction:column;align-items:stretch;gap:1.25rem}.home-call-action{align-items:stretch}.home-call-action p{text-align:center}}

/* --- hero-product.css --- */
/* Hero "product-first" visual: phone (dark owner calendar, HTML/CSS) + SMS reminder card
   next to the call card. Replaces the stock salon photo on the 4 home pages. No images, no inline
   styles (CSP style-src 'self'). Markup: scripts/hero-product-visual.mjs. Linked after site.css. */

/* The visual is no longer an absolute photo layer; it is a normal grid cell that holds three
   absolutely-placed cards (desktop) or a column (<=960px). */
.hero-v2.hero-product {
  /* Wide screens: the visual keeps its designed 640px column on the shared rail. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  /* KAN-2057 layout rail: full-bleed background, content on the shared rail. */
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--content-rail, 72rem)) / 2));
}
.hero-v2.hero-product::before {
  left: 0; width: 100%;
  background: radial-gradient(ellipse at 72% 50%, rgba(139, 92, 246, .20), transparent 60%);
}
body.light-mode .hero-v2.hero-product::before {
  background:
    radial-gradient(ellipse at 72% 42%, rgba(200, 99, 61, .14), transparent 58%),
    radial-gradient(ellipse at 28% 18%, rgba(255, 255, 255, .55), transparent 48%);
}
.hero-v2.hero-product .hero-copy { max-width: 40rem; padding-left: 0; }
.hero-v2.hero-product .hero-visual.has-call-card {
  position: relative; inset: auto; left: auto; right: auto;
  height: auto; margin: 0;
  z-index: 4; min-height: 640px; justify-self: center; width: min(640px, 100%);
}
.hero-v2.hero-product .hero-visual.has-call-card::after { display: none; }
.hero-product .hero-call-card {
  left: 0; top: 4px; bottom: auto; width: min(372px, 62%);
  z-index: 3;
  background: rgba(14, 13, 22, .88);
}
body.light-mode .hero-product .hero-call-card {
  background: #fff;
  border-color: rgba(58, 36, 51, .12);
  box-shadow:
    0 22px 48px rgba(58, 36, 51, .14),
    0 2px 0 rgba(255, 255, 255, .9) inset,
    0 0 0 1px rgba(200, 99, 61, .08);
}

/* ---------------- Phone ---------------- */
.hero-phone {
  position: absolute; z-index: 2; right: 0; top: 0; width: 280px;
  transform: rotate(2.5deg);
  pointer-events: none;
}
.hero-phone-frame {
  padding: 8px; border-radius: 38px;
  background: linear-gradient(160deg, #2b2840, #14121f);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 90px rgba(139, 92, 246, .28);
}
body.light-mode .hero-phone-frame {
  border-color: rgba(58, 36, 51, .18);
  box-shadow:
    0 28px 64px rgba(58, 36, 51, .22),
    0 0 0 1px rgba(58, 36, 51, .35),
    0 0 56px rgba(200, 99, 61, .18);
}

/* Screen: all sizes are in em so the whole UI scales with one font-size (10px at 280px wide). */
.hpc {
  --hpc-bg: #0f0e18;
  --hpc-card: #1a1829;
  --hpc-line: rgba(255, 255, 255, .08);
  --hpc-text: #f4f2fb;
  --hpc-mute: #9a96ad;
  --hpc-purple: #8b5cf6;
  font-size: 10px; line-height: 1.25;
  display: flex; flex-direction: column;
  aspect-ratio: 471 / 1024;
  overflow: hidden;
  border-radius: 3em;
  background: var(--hpc-bg);
  color: var(--hpc-text);
  font-family: var(--sans);
  text-align: left;
}
.hpc-status { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.8em .4em; font-size: 1.05em; font-weight: 600; }
.hpc-island { width: 7em; height: 1.9em; border-radius: 99px; background: #000; }
.hpc-signal { width: 2.2em; height: 1.05em; border-radius: .3em; background: linear-gradient(90deg, var(--hpc-text) 0 62%, rgba(255, 255, 255, .3) 62%); }
.hpc-head { display: flex; align-items: baseline; justify-content: space-between; padding: .7em 1.5em .3em; }
.hpc-title { font-size: 1.9em; font-weight: 700; letter-spacing: -.01em; }
.hpc-biz { font-size: 1.05em; color: var(--hpc-mute); }
.hpc-date { display: flex; align-items: center; justify-content: space-between; padding: .5em 1.5em .7em; }
.hpc-day-label { font-size: 1.3em; font-weight: 600; }
.hpc-today { padding: .35em .9em; border-radius: 99px; border: 1px solid rgba(139, 92, 246, .55); color: #d9c6ff; font-size: 1em; font-weight: 600; }
.hpc-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; padding: 0 1.1em .9em; }
.hpc-day { display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .55em 0 .6em; border-radius: 1.1em; }
.hpc-dow { font-size: .95em; color: var(--hpc-mute); }
.hpc-num { font-size: 1.3em; font-weight: 600; }
.hpc-day.is-sel { background: var(--hpc-purple); box-shadow: 0 .4em 1.4em rgba(139, 92, 246, .45); }
.hpc-day.is-sel .hpc-dow { color: #efe6ff; }
.hpc-chips { display: flex; gap: .6em; padding: 0 1.5em .9em; }
.hpc-chip { padding: .45em 1em; border-radius: 99px; background: var(--hpc-card); color: var(--hpc-mute); font-size: 1.05em; font-weight: 500; white-space: nowrap; }
.hpc-chip.is-on { background: rgba(139, 92, 246, .22); color: #e4d6ff; }
.hpc-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .7em; padding: 0 1.1em; overflow: hidden; }
.hpc-appt { display: flex; align-items: flex-start; gap: .9em; padding: .85em .9em; border-radius: 1.2em; background: var(--hpc-card); border: 1px solid transparent; }
.hpc-time { flex: none; width: 5.2em; font-size: 1.05em; font-weight: 600; color: var(--hpc-mute); font-variant-numeric: tabular-nums; }
.hpc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25em; }
.hpc-svc { font-size: 1.3em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpc-who { font-size: 1.05em; color: var(--hpc-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpc-appt.is-booked { position: relative; background: linear-gradient(135deg, rgba(139, 92, 246, .42), rgba(139, 92, 246, .22)); border-color: rgba(167, 139, 250, .75); box-shadow: 0 .6em 2em rgba(139, 92, 246, .35); }
.hpc-appt.is-booked .hpc-time { color: #efe6ff; }
.hpc-appt.is-booked .hpc-who { color: #d9c6ff; }
.hpc-via { font-size: .95em; color: #c4b0ff; }
.hpc-appt.is-booked .hpc-svc { white-space: normal; }
.hpc-badge { align-self: flex-start; margin-top: .45em; padding: .3em .75em; border-radius: 99px; background: #7ee2b0; color: #062a1a; font-size: .95em; font-weight: 700; }
.hpc-tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: .8em .4em 1.4em; margin-top: .6em; border-top: 1px solid var(--hpc-line); background: rgba(255, 255, 255, .02); }
.hpc-tab { display: flex; flex-direction: column; align-items: center; gap: .35em; min-width: 0; font-size: .85em; color: var(--hpc-mute); }
.hpc-tab > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpc-tab svg { width: 2.2em; height: 2.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hpc-tab.is-on { color: #c4b0ff; }

/* ---------------- SMS reminder ---------------- */
.hero-sms {
  position: absolute; z-index: 5; left: 84px; bottom: 6px;
  width: 296px; padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(20, 18, 32, .94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #faf9ff; font-family: var(--sans); text-align: left;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.hero-sms-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.hero-sms-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(139, 92, 246, .28); color: #d9c6ff; flex: none; font: 700 15px/1 Georgia, 'Times New Roman', serif; }
.hero-sms-title { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; }
.hero-sms-time { font-size: 11px; color: #a9a5bd; white-space: nowrap; }
.hero-sms-bubble { margin: 0; padding: 9px 12px; font-size: 13px; line-height: 1.4; border-radius: 16px; max-width: 88%; }
.hero-sms-out { background: rgba(255, 255, 255, .10); border-bottom-left-radius: 5px; align-self: flex-start; }
.hero-sms-in { background: #8b5cf6; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; font-weight: 600; padding: 7px 16px; }
.hero-sms-status { margin: 2px 0 0; font-size: 11.5px; line-height: 1.35; color: #7ee2b0; font-weight: 500; }

body.light-mode .hero-sms {
  background: #fff;
  border-color: rgba(58, 36, 51, .12);
  box-shadow:
    0 20px 44px rgba(58, 36, 51, .14),
    0 2px 0 rgba(255, 255, 255, .9) inset,
    0 0 0 1px rgba(200, 99, 61, .08);
  color: var(--text);
}
body.light-mode .hero-sms-ico { background: #C8633D; color: #fff; }
body.light-mode .hero-sms-time { color: var(--muted); }
body.light-mode .hero-sms-out { background: rgba(58, 36, 51, .06); border: 1px solid rgba(58, 36, 51, .06); }
body.light-mode .hero-sms-in { background: #C8633D; }
body.light-mode .hero-sms-status { color: #0b7a45; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1366px) and (min-width: 961px) {
  .hero-v2.hero-product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero-v2.hero-product .hero-copy { max-width: 36rem; }
  .hero-v2.hero-product .hero-visual.has-call-card { min-height: 600px; }
  .hero-phone { width: 240px; }
  .hpc { font-size: 8.57px; }
  .hero-sms { width: 268px; left: 60px; }
  .hero-product .hero-call-card { left: 0; width: min(330px, 64%); }
}
@media (max-width: 960px) {
  .hero-v2.hero-product { grid-template-columns: 1fr; }
  .hero-v2.hero-product .hero-visual.has-call-card {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    min-height: 0; width: 100%; margin: .5rem 0 0; padding: 0 0 1.5rem;
  }
  .hero-product .hero-phone,
  .hero-product .hero-sms,
  .hero-product .hero-call-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .hero-v2.hero-product .hero-call-card { order: 1; width: 100%; max-width: 440px; margin: 0; }
  .hero-product .hero-sms { order: 2; width: 100%; max-width: 440px; }
  .hero-product .hero-phone { order: 3; width: 240px; transform: none; margin-top: 4px; }
  .hpc { font-size: 8.57px; }
}
