/* Orla & Quill demo salon: own identity, warm and editorial. */
:root {
  --ink: #2a1a1e;
  --ink-2: #5a464b;
  --paper: #f8f1e7;
  --paper-2: #f0e4d3;
  --card: #fffbf5;
  --line: #d9c7ae;
  --clay: #a23e2b;
  --clay-d: #7e2d1f;
  --sage: #4c5b47;
  --sage-soft: #dde3d2;
  --blush: #f0d5c8;
  --focus: #1b5fa8;
  --err: #a31d1d;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); letter-spacing: -0.025em; }
h1 em, .brand em { font-style: italic; font-weight: 400; color: var(--clay); }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--clay-d); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 56px; }
.fine { font-size: .9rem; color: var(--ink-2); }
.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-d); margin: 0 0 .9em; }

/* demo banner */
.demo-banner { position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 16px; padding: 8px var(--gutter); font-size: .85rem; line-height: 1.35; text-align: center; }
.demo-banner p { margin: 0; }
.demo-banner a { color: #ffd9a8; font-weight: 700; min-height: 24px; display: inline-flex; align-items: center; padding: 8px 0; }
.demo-banner a:hover { color: #fff; }
.demo-banner :focus-visible { outline-color: #fff; }

/* header */
.site-head { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter) 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.45rem/1 var(--serif); min-height: 44px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; color: var(--clay); flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 4px; width: 100%; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--clay); text-decoration: underline; }
@media (min-width: 800px) { .site-nav { width: auto; order: 1; } .site-nav a { padding: 0 14px; } .brand { margin-right: auto; } }

/* owner switch */
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 500 .85rem/1.2 var(--sans); cursor: pointer; }
.switch-track { width: 40px; height: 22px; border-radius: 99px; background: var(--sage); position: relative; flex: none; transition: background .2s; }
.switch-knob { position: absolute; top: 3px; left: 21px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch[aria-checked="false"] .switch-track { background: #8a7a74; }
.switch[aria-checked="false"] .switch-knob { left: 3px; }
.switch-cap { color: var(--ink-2); }
.switch strong { font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-d); color: #fff; }
.btn-primary:disabled { background: #a89890; cursor: not-allowed; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-link { background: none; color: var(--clay-d); text-decoration: underline; padding: 0 10px; border: 0; }
.btn-voice { background: var(--sage); color: #fff; }
.btn-voice:hover { background: #3a4736; color: #fff; }
.btn-person { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-person.attn { border-color: var(--clay); background: #fbe9e2; }
.btn-stop { background: #b3261e; color: #fff; min-height: 52px; font-size: 1.05rem; padding: 0 30px; }
.btn-stop:hover { background: #8e1d17; }
.btn-pay { font-size: 1.05rem; }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; display: grid; gap: 8px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.lede { font-size: 1.15rem; max-width: 34em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }
.hero-art { width: 100%; max-width: 320px; height: auto; justify-self: center; margin-top: 8px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.15fr .85fr; padding-top: 48px; padding-bottom: 72px; } .hero-art { max-width: 420px; } }

/* sections */
.section { padding: 48px var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-tint { background: var(--paper-2); }
.section-head { margin-bottom: 24px; }
.section-head p { max-width: 40em; color: var(--ink-2); }

.service-list { list-style: none; padding: 0; margin-bottom: 1rem; border-top: 1px solid var(--line); }
.service-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin: 0 0 .15em; }
.service-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.service-list .meta { display: flex; align-items: baseline; gap: 14px; margin: 0; white-space: nowrap; }
.service-list .price { font: 600 1.5rem/1 var(--serif); color: var(--ink); }
.service-list .dur { color: var(--ink-2); font-size: .9rem; }

.team { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.team h3 { font-size: 1.5rem; margin-bottom: .1em; }
.team .role { color: var(--clay-d); font-weight: 700; font-size: .9rem; margin-bottom: .6em; }

.split { display: grid; gap: 32px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.hours-table { border-collapse: collapse; width: 100%; max-width: 26rem; margin-bottom: 1em; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours-table th { font-weight: 700; width: 40%; }

/* booking */
.booking { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px 24px; }
@media (min-width: 640px) { .booking { padding: 28px; } }
.closed-note { background: #fbe9e2; border: 1px solid #e3b9a9; color: #5b1f12; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; overflow: hidden; }
.steps li { flex: 1 1 0; min-width: 0; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); border-top: 3px solid var(--line); padding-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li.done { border-color: var(--sage); }
.steps li.cur { border-color: var(--clay); color: var(--clay-d); }
.bk-wrap h3 { font-size: 1.5rem; }
.bk-wrap h3:focus { outline: none; }
.opts { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 12px; }
@media (min-width: 560px) { .opts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .opts { grid-template-columns: repeat(3, 1fr); } }
.opt { text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; min-height: 64px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font: inherit; color: var(--ink); }
.opt span { font-size: .9rem; color: var(--ink-2); }
.opt:hover { border-color: var(--clay); }
.opt[aria-pressed="true"] { border-color: var(--clay); background: #fbeee8; box-shadow: inset 0 0 0 1px var(--clay); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.8rem, 1fr)); gap: 8px; margin-bottom: 12px; }
.day { display: flex; flex-direction: column; align-items: center; min-height: 88px; padding: 8px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; line-height: 1.15; }
.day .dw { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.day .dn { font: 600 1.5rem/1.1 var(--serif); }
.day .dm { font-size: .8rem; }
.day .dc { font-size: .75rem; color: var(--ink-2); margin-top: 2px; }
.day:hover:not(:disabled) { border-color: var(--clay); }
.day[aria-pressed="true"] { border-color: var(--clay); background: #fbeee8; box-shadow: inset 0 0 0 1px var(--clay); }
.day:disabled { background: transparent; border-style: dashed; color: #6b5a5e; cursor: not-allowed; }
.slot-group h4 { margin: 14px 0 8px; color: var(--ink-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); gap: 8px; }
.slot { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; line-height: 1.2; }
.slot span { font-size: .75rem; color: var(--ink-2); }
.slot:hover { border-color: var(--clay); }
.slot[aria-pressed="true"] { border-color: var(--clay); background: #fbeee8; box-shadow: inset 0 0 0 1px var(--clay); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.details { display: grid; gap: 6px; max-width: 26rem; margin: 16px 0; }
.details label { font-weight: 700; font-size: .95rem; margin-top: 8px; }
input[type="text"], input[type="email"] { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #8a766b; background: #fff; font: inherit; color: var(--ink); }
input::placeholder { color: #6b5a5e; opacity: 1; }
.details .btn { margin-top: 12px; justify-self: start; }
.err { color: var(--err); font-weight: 600; margin: 4px 0; min-height: 0; }
.summary { margin: 0 0 12px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.pay-note { font-size: .92rem; color: var(--ink-2); margin-top: 12px; }
.move-cancel { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.result { font-weight: 600; color: var(--sage); margin: 10px 0 0; }

/* vouchers */
.basket { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px; max-width: 520px; }
.v-list { list-style: none; padding: 0; margin: 0 0 12px; }
.v-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.v-name { font: 600 1.3rem/1.2 var(--serif); }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1rem; }
.qbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 1.3rem/1 var(--sans); cursor: pointer; }
.qbtn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.qbtn:disabled { border-color: var(--line); color: #7b6a6e; cursor: not-allowed; }
.v-total { margin: 12px 0; }
.v-done { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--sage-soft); color: #243021; }
.v-done ul { margin: 0; padding-left: 1.2em; font-family: ui-monospace, Menlo, monospace; font-size: .9rem; }

/* owner card and costs */
.owner-card { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .owner-card { grid-template-columns: 1.2fr 1fr; } }
.owner-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.owner-mini > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-width: 0; }
.owner-mini dt { font-size: .75rem; color: var(--ink-2); line-height: 1.25; }
.owner-mini dd { margin: 4px 0 0; font: 600 1.7rem/1.1 var(--serif); }
.costs { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 28px 20px; }
@media (min-width: 640px) { .costs { padding: 40px; } }
.costs .eyebrow { color: #ffd9a8; }
.costs .fine { color: #d8c9c0; }
.costs a.btn-ghost { color: var(--paper); border-color: var(--paper); }
.costs a.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.costs :focus-visible { outline-color: #fff; }
.cost-list { margin: 20px 0; display: grid; gap: 0; }
.cost-list > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(248, 241, 231, .25); }
@media (min-width: 700px) { .cost-list > div { grid-template-columns: 14rem 1fr; gap: 20px; } }
.cost-list dt { font-weight: 700; }
.cost-list dd { margin: 0; }

.site-foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 120px; max-width: var(--max); margin: 0 auto; }
.site-foot p { margin: 0 0 .4em; }

/* pay dialog */
.pay-dialog { border: 0; border-radius: 20px; padding: 24px 20px; width: min(520px, calc(100vw - 32px)); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(42, 26, 30, .35); }
.pay-dialog::backdrop { background: rgba(42, 26, 30, .55); }
.pay-dialog h2 { font-size: 1.6rem; }
.pay-lines { list-style: none; padding: 0; margin: 0 0 12px; border-top: 1px solid var(--line); }
.pay-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* assistant */
.assistant-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 600 1rem/1 var(--sans); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 8px 24px rgba(42, 26, 30, .3); }
.assistant-fab:hover { background: #3f2a30; }
.assistant-fab:focus-visible { outline-color: #fff; outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); }
.fab-dot { width: 10px; height: 10px; border-radius: 50%; background: #f2b66d; }
.assistant { position: fixed; z-index: 55; left: 8px; right: 8px; bottom: 8px; max-height: min(82vh, 640px); max-height: min(82dvh, 640px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 60px rgba(42, 26, 30, .35); overflow: hidden; }
.assistant[hidden], .assistant-fab[hidden] { display: none; }
@media (min-width: 721px) { .assistant { left: auto; right: 24px; bottom: 24px; width: 400px; } .assistant-fab { right: 24px; bottom: 24px; } }
.as-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px 8px 10px 16px; background: var(--ink); color: var(--paper); }
.as-head h2 { font-size: 1.25rem; margin: 0; }
.as-label { margin: 2px 0 0; font-size: .82rem; font-weight: 700; color: #ffd9a8; letter-spacing: .02em; }
.as-tools { display: flex; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--paper); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.as-head :focus-visible { outline-color: #fff; }
.assistant.min #as-min svg { transform: rotate(180deg); }
.as-body { flex: 1 1 auto; min-height: 120px; overflow: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.assistant.min .as-body, .assistant.min #as-form { display: none; }
.msgs { display: flex; flex-direction: column; gap: 10px; overflow-wrap: anywhere; }
.msg { margin: 0; max-width: 92%; padding: 10px 14px; border-radius: 16px; font-size: .97rem; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
.msg .who { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }
.msg.bot { background: var(--paper-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--sage); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .9rem/1.2 var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--clay); }
.as-foot { padding: 10px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--card); }
#as-form { display: flex; gap: 8px; }
#as-form input { flex: 1; min-width: 0; }
.as-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.as-actions .btn { flex: 1 1 auto; min-height: 44px; font-size: .95rem; }
.as-voice { background: #eef1e6; border-bottom: 1px solid var(--line); }
.as-voice[data-voice="off"] { display: none; }
.as-voice[data-voice="off"]:has(.as-note:not([hidden])) { display: block; }
.as-note { margin: 0; padding: 10px 16px; font-size: .9rem; }
.as-voice-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; }
.as-voice-live[hidden] { display: none; }
.ring { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--sage); background: #fff; color: var(--ink); cursor: pointer; font: 700 .78rem/1.1 var(--sans); display: inline-flex; align-items: center; justify-content: center; text-align: center; flex: none; }
.ring-dot { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: #d3231b; box-shadow: 0 0 0 3px #fff; }
.ring-dot[hidden] { display: none; }
[data-voice="listening"] .ring { animation: pulse 1.6s ease-in-out infinite; border-color: var(--clay); }
[data-voice="speaking"] .ring { border-color: var(--ink); background: var(--paper-2); }
[data-voice="thinking"] .ring { border-style: dashed; }
[data-voice="paused"] .ring { border-color: #8a7a74; color: var(--ink-2); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(162, 62, 43, .4); } 50% { box-shadow: 0 0 0 14px rgba(162, 62, 43, 0); } }
.caption { flex: 1 1 140px; min-height: 2.6em; margin: 0; font-style: italic; color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.as-voice-live .btn-stop { flex: 1 1 100%; }
@media (min-width: 400px) { .as-voice-live .btn-stop { flex: 0 0 auto; } }

/* owner page */
.owner-page { background: var(--paper-2); }
.phone { max-width: 440px; margin: 20px auto; padding: 20px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 36px; box-shadow: 0 10px 40px rgba(42, 26, 30, .12); }
@media (max-width: 480px) { .phone { margin: 0; border-radius: 0; border-left: 0; border-right: 0; } }
.phone-head h1 { font-size: 2.2rem; }
.o-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-top: 16px; }
.o-card h2 { font-size: 1.35rem; }
.o-card h3 { font: 700 .9rem/1.3 var(--sans); margin: 14px 0 6px; color: var(--ink-2); }
.o-list { list-style: none; padding: 0; margin: 12px 0 0; }
.o-item { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: 8px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.o-item.new { background: #fbeee8; margin: 0 -8px; padding: 9px 8px; border-radius: 8px; }
.o-time { font-weight: 700; }
.badge { font-size: .72rem; font-weight: 700; background: var(--clay); color: #fff; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.o-log { list-style: none; padding: 0; margin: 14px 0 0; font-size: .92rem; }
.o-log li { padding: 8px 0; border-top: 1px solid var(--line); }
.o-log time { font-weight: 700; margin-right: 6px; color: var(--clay-d); }
.o-card .owner-mini { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.as-note-foot { padding: 0; font-size: .85rem; color: var(--ink-2); }
.as-note-foot[hidden] { display: none; }
