@font-face {
  font-family: 'DM Serif Text'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/dm-serif-text-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'DM Serif Text'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/dm-serif-text-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1EFF, U+20BA;
}
@font-face {
  font-family: 'DM Serif Text'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/dm-serif-text-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'DM Serif Text'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/dm-serif-text-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1EFF, U+20BA;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1EFF, U+20BA;
}

:root {
  color-scheme: light;
  --paper: #f5f7fa;
  --surface: #fff;
  --ink: #141c27;
  --muted: #4c596b;
  --line: #d5dde7;
  --accent: #253b55;
  --accent-hover: #16283e;
  --tint: #e4edf7;
  --dark: #131c28;
  --outline: #a0adbe;
  --section: #eaf0f6;
  --display: 'DM Serif Text', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  font: 16px/1.5 var(--sans);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font: 400 1em/1.06 var(--display); letter-spacing: -.045em; }
.shell { width: min(calc(100% - 48px), 1136px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: none; }
.initial { padding-block: 64px; }
.initial h1 { font-size: 44px; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle closest-side, var(--dark) 91%, transparent 92%); border-radius: 50%; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-type { display: grid; justify-items: start; line-height: 1; gap: 4px; }
.brand-type strong { font: 700 22px/.95 var(--display); letter-spacing: .1em; }
.brand-type small { font-size: 9px; font-weight: 750; letter-spacing: .3em; color: var(--accent); }
.nav { display: flex; gap: 35px; margin-left: auto; }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 650; color: var(--muted); }
.nav a:hover { color: var(--accent); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 10px 19px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn svg { flex: 0 0 auto; }
.btn-outline { color: var(--ink); border-color: var(--outline); background: transparent; }
.btn-outline:hover { background: var(--section); }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn:disabled { opacity: .55; }
.header-action.btn { min-height: 44px; }
.text-link { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; color: var(--accent); background: transparent; border: 0; padding: 0; font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; }

.hero { background: var(--section); border-bottom: 1px solid var(--line); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.hero-location { color: var(--accent); font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .21em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(60px, 7vw, 94px); line-height: .94; letter-spacing: -.062em; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-copy { margin-top: 22px; font-size: 17px; color: var(--muted); }
.hero-action { margin-top: 27px; min-height: 54px; padding-inline: 22px; gap: 23px; }
.quick { border-bottom: 1px solid var(--line); background: var(--paper); }
.quick-inner { min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.quick a { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 14px; }
.quick a:hover { color: var(--accent); }
.quick a svg, .visit svg { color: var(--accent); flex: 0 0 auto; }
.quick b { margin-left: 4px; font-weight: 650; }
.quick small { margin-left: auto; color: var(--muted); }
.home-services { padding-block: 75px 88px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.section-heading .sample-note { margin: 0 0 3px; }
.section-heading h2, .visit h2 { font-size: clamp(44px, 6.2vw, 64px); }
.service-menu { border-top: 1px solid var(--line); }
.service-row { min-height: 97px; padding: 17px 0; display: grid; align-items: center; column-gap: 25px; grid-template-columns: minmax(0,1fr) 98px 76px 28px; border-bottom: 1px solid var(--line); }
.service-row h3 { font: 400 29px/1.12 var(--display); letter-spacing: -.036em; }
.service-row p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.service-row:hover h3, .service-row:hover .service-arrow { color: var(--accent); }
.service-row > strong { justify-self: end; }
.duration { display: flex; gap: 6px; align-items: center; color: var(--muted); white-space: nowrap; font-size: 14px; }
.duration svg, .service-arrow svg { width: 16px; height: 16px; }
.service-arrow { display: grid; place-items: center; color: var(--muted); }
.visit { background: var(--section); border-top: 1px solid var(--line); }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 60px 69px; }
.visit h2 { font-size: clamp(34px, 4vw, 47px); margin: 10px 0 13px; }
.visit p, .visit dd { color: var(--muted); }
.visit small { display: block; margin-top: 9px; color: var(--muted); }
.visit-address .text-link { display: flex; width: fit-content; }
.visit-links { display: flex; flex-wrap: wrap; gap: 0 19px; }
.visit-hours dl { max-width: 375px; font-size: 14px; }
.visit-hours dl div, .summary dl div, .success dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.footer { background: var(--dark); color: #e5edf5; }
.foot-inner { min-height: 67px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.foot-inner a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.foot-inner a:hover { color: #fff; }
.foot-inner svg { width: 14px; height: 14px; }

.flow { max-width: 1010px; padding-block: 41px 72px; }
.flow-intro h1, .admin-heading h1, .login h1 { font-size: clamp(45px, 6vw, 67px); }
.sample-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.steps { padding: 0; margin: 25px 0; display: flex; align-items: center; gap: 13px; list-style: none; }
.steps li { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 650; }
.steps li + li::before { width: 23px; height: 1px; background: var(--line); content: ''; margin-right: 5px; }
.steps li > span { display: grid; place-items: center; border-radius: 50%; width: 27px; height: 27px; border: 1px solid var(--outline); font-size: 12px; flex-shrink: 0; }
.steps li > span svg { width: 16px; height: 16px; }
.steps li[aria-current] { color: var(--accent); }
.steps li[aria-current] > span { color: #fff; background: var(--accent); border-color: var(--accent); }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 294px; align-items: start; gap: 20px; }
.flow-card, .summary, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3.1vw, 34px); min-width: 0; }
.flow-card h2, .panel h2 { font-size: clamp(30px, 4vw, 40px); }
.step-hint, .section-subtitle { color: var(--muted); font-size: 14px; margin-top: 8px; }
.selection-list { display: grid; gap: 9px; margin-top: 23px; }
.select-service { background: transparent; display: grid; grid-template-columns: 17px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 7px; text-align: left; padding: 13px; min-height: 76px; }
.select-service:hover, .days button:hover, .times button:hover { border-color: var(--accent); }
.select-service b { font-size: 14px; white-space: nowrap; }
.select-service small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.select-service[aria-pressed="true"], .days button[aria-pressed="true"], .times button[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.radio-dot { width: 17px; height: 17px; border: 1px solid var(--outline); border-radius: 50%; }
.select-service[aria-pressed="true"] .radio-dot { border: 5px solid var(--accent); }
.summary { background: var(--section); padding: 22px; }
.summary-title { display: flex; gap: 9px; align-items: center; margin: 0 0 13px; }
.summary-title h2 { font: 700 15px/1.3 var(--sans); letter-spacing: 0; }
.summary-title svg { color: var(--accent); }
.summary dl, .success dl { font-size: 14px; }
.summary dt, .success dt { color: var(--muted); flex-shrink: 0; }
.summary dd, .success dd { font-weight: 650; text-align: right; }
.summary dl .summary-price { border-bottom: 0; padding-bottom: 0; }
.summary-price dd { color: var(--accent); }
.mobile-review { display: none; }
.flow-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; }
.flow-actions .btn { margin-left: auto; }
.week-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 18px; margin-bottom: 9px; font-size: 14px; }
.week-head > div { display: flex; gap: 6px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: transparent; }
.icon-button:not(:disabled):hover { border-color: var(--accent); }
.icon-button:disabled { opacity: .37; }
.days, .times { display: grid; gap: 7px; }
.days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.times { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.days button, .times button { min-height: 46px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 14px; font-weight: 650; padding-inline: 2px; }
.days button { min-height: 61px; display: grid; align-content: center; justify-items: center; gap: 3px; }
.days small { font-size: 10px; color: var(--muted); }
.days b { font-size: 16px; }
.slots { margin-top: 22px; }
.slots h3 { font-size: 14px; margin-bottom: 10px; }
.slots h3 small { color: var(--muted); display: inline-block; font-weight: 500; margin-left: 3px; }
.inline-state { padding: 13px; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; color: var(--muted); font-size: 14px; }
.fields { display: grid; gap: 16px; margin-top: 19px; }
.fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.fields input:not([type="checkbox"]), .fields select { height: 48px; color: var(--ink); font-size: 16px; background: var(--surface); border: 1px solid var(--outline); border-radius: 6px; width: 100%; min-width: 0; padding: 8px 11px; }
.fields input:disabled, .fields select:disabled { opacity: .7; }
.fields .btn, .fields .text-link { justify-self: start; }
.field-note { font-size: 12px; color: var(--muted); max-width: 51ch; }
.alert, .feedback { margin-block: 12px 0; padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.fields .alert { margin: 0; }
.alert { background: #f7e9ed; color: #812b42; }
.feedback { background: #e7efe6; color: #335540; }
.success { text-align: center; max-width: 485px; padding-block: 64px 85px; }
.success h1 { font-size: clamp(45px, 7vw, 60px); }
.success p { color: var(--muted); margin-top: 14px; }
.success dl { margin: 24px 0; text-align: left; background: var(--surface); padding: 12px 18px; border: 1px solid var(--line); border-radius: 8px; }
.success dl div:last-child { border: 0; }
.success-mark { display: grid; place-items: center; background: #e7efe6; color: #335540; width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; }
.success-mark svg { width: 28px; height: 28px; }

.admin-wrap { max-width: 925px; padding-block: 37px 70px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-heading h2 { font-size: 34px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px 13px; margin-top: 19px; }
.admin-sections { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.admin-sections button { min-height: 44px; padding-inline: clamp(8px, 2vw, 16px); border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 650; }
.admin-sections button[aria-current], .admin-sections button:hover { border-color: var(--accent); color: var(--accent); background: var(--section); }
.admin-wrap > .panel { margin-top: 18px; }
.admin-wrap .login { max-width: 490px; margin: 0 auto; }
.admin-wrap .inline-state { margin-top: 17px; }
.split-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .checkbox { display: flex; align-items: center; min-height: 44px; gap: 8px; }
.checkbox input { width: 19px; height: 19px; accent-color: var(--accent); }
.appointment-list { list-style: none; margin: 15px 0 0; padding: 0; }
.appointment { border-top: 1px solid var(--line); display: grid; grid-template-columns: 124px minmax(0,1fr) auto; gap: 9px 15px; padding-block: 12px; }
.appointment h3 { font-size: 15px; }
.appointment p, .appointment small { color: var(--muted); font-size: 13px; }
.appointment-time small { display: block; }
.appointment p a { text-decoration: underline; }
.appointment small.attention { color: var(--accent); font-weight: 650; }
.appointment-actions { display: grid; align-content: start; justify-items: end; }
.appointment.is-cancelled h3 { text-decoration: line-through; }

.catalog-list, .stats-hours { list-style: none; margin: 16px 0 0; padding: 0; }
.catalog-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: center; padding-block: 10px; border-top: 1px solid var(--line); }
.catalog-list h3 { font-size: 16px; overflow-wrap: anywhere; }
.catalog-list p { color: var(--muted); font-size: 14px; }
.catalog-list summary { cursor: pointer; }
.stats-filter { grid-template-columns: minmax(0, 460px) auto; align-items: end; justify-content: start; }
.stats-filter .alert { grid-column: 1 / -1; }
.stats-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-block: 19px 11px; border-top: 1px solid var(--line); }
.stats-metrics div { min-width: 0; padding: 14px 9px 14px 0; border-bottom: 1px solid var(--line); }
.stats-metrics dt { color: var(--muted); font-size: 13px; }
.stats-metrics dd { color: var(--accent); font-size: clamp(19px, 3vw, 29px); font-weight: 700; overflow-wrap: anywhere; }
.stats-table { width: 100%; border-collapse: collapse; margin-top: 17px; font-size: 14px; }
.stats-table th, .stats-table td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: right; }
.stats-table th:first-child { text-align: left; overflow-wrap: anywhere; }
.stats-table thead { color: var(--muted); }
.stats-hours li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 27px; align-items: center; gap: 12px; min-height: 31px; font-size: 14px; }
.stats-hours progress { width: 100%; height: 12px; accent-color: var(--accent); }
.stats-hours strong { text-align: right; }

@media (max-width: 800px) {
  .flow-grid { grid-template-columns: minmax(0,1fr) 235px; gap: 13px; }
  .flow { width: min(calc(100% - 32px), 1010px); }
  .flow-card { padding: 19px; }
  .summary { padding: 17px; }
  .times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 65px; gap: 12px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-type strong { font-size: 19px; }
  .nav { display: none; }
  .header-action.btn { padding-inline: 10px; gap: 4px; }
  .header-action.btn svg { width: 16px; height: 16px; }
  .hero-location { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { font-size: clamp(53px, 12.6vw, 76px); }
  .hero-copy { margin-top: 17px; font-size: 15px; }
  .hero-action { margin-top: 19px; gap: 20px; }
  .quick-inner { column-gap: 13px; padding-block: 4px 8px; }
  .quick a { font-size: 12px; gap: 4px; }
  .quick a svg { width: 16px; height: 16px; }
  .quick small { flex-basis: 100%; font-size: 11px; }
  .home-services { padding-block: 38px 52px; }
  .section-heading { margin-bottom: 13px; }
  .service-row { grid-template-columns: minmax(0,1fr) auto 15px; column-gap: 9px; row-gap: 3px; min-height: 90px; }
  .service-row > div { grid-column: 1; grid-row: 1 / span 2; }
  .service-row h3 { font-size: 24px; }
  .service-row p { font-size: 12px; }
  .service-row > strong { grid-column: 2; grid-row: 1; align-self: end; font-size: 14px; }
  .service-row .duration { grid-column: 2; grid-row: 2; align-self: start; justify-self: end; font-size: 11px; gap: 3px; }
  .service-row .duration svg { width: 12px; height: 12px; }
  .service-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .visit-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 33px 42px; }
  .flow { padding-block: 27px 43px; }
  .steps { gap: 6px; margin: 18px 0; }
  .steps li { gap: 5px; font-size: 11px; }
  .steps li + li::before { width: 10px; margin-right: 0; }
  .steps li > span { width: 23px; height: 23px; }
  .flow-grid { grid-template-columns: 1fr; gap: 12px; }
  .flow-card { padding: 17px; }
  .select-service { padding: 10px; gap: 7px; }
  .select-service small { line-height: 1.35; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-actions .btn { flex: 1; }
  .selected-time-actions { position: sticky; bottom: 0; z-index: 1; background: var(--surface); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .mobile-review { display: block; padding: 10px 12px; margin-top: 16px; background: var(--paper); border-radius: 6px; font-size: 14px; }
  .desktop-review { display: none; }
  .admin-wrap { padding-block: 27px 43px; }
  .admin-heading h1, .login h1 { font-size: 40px; }
  .admin-toolbar { gap: 7px 9px; }
  .admin-toolbar .btn { padding-inline: 11px; }
  .appointment { grid-template-columns: 95px minmax(0,1fr); }
  .appointment-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 15px; }
  .catalog-list li { grid-template-columns: auto 1fr; justify-items: start; }
  .catalog-list li > div { grid-column: 1 / -1; }
  .stats-filter { grid-template-columns: 1fr; }
  .stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-table { font-size: 12px; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 24px); }
  .quick-inner { column-gap: 7px; }
  .flow-card, .panel { padding: 14px; }
  .flow-actions .btn { padding-inline: 9px; }
}
