.phone-launch { position:absolute; inset:0; z-index:4; width:100%; height:100%; cursor:zoom-in; background:transparent; border:0; border-radius:inherit; }
.phone-launch:focus-visible { outline:2px solid var(--accent); outline-offset:8px; }
.floating-activity { appearance:none; border:0; padding:0; background:transparent; color:#222d38; text-align:left; cursor:pointer; }
.floating-activity[hidden] { display:none; }
.floating-activity>.live-card { display:block; }
.try-phone-button { min-height:44px; display:flex; align-items:center; gap:7px; border:0; background:none; color:#dfdbd1; font:11px var(--mono); cursor:pointer; }
.try-phone-button .ui-icon { width:15px; height:15px; }
.closing-actions button { border:0; cursor:pointer; }
.live-empty { display:flex; flex-direction:column; gap:9px; padding:6px 0; }
.live-empty strong { font-size:15px; }
.live-empty span { font-size:12px; }
.proto-actions { display:grid; gap:9px; }
.proto-button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:12px 15px; background:#212630; border:1px solid #343b48; border-radius:12px; color:#e8ecf2; font:500 14px/1.3 var(--sans); cursor:pointer; }
.proto-button:hover { background:#2d3543; }
.proto-button.primary { background:#c2d7f9; color:#10213a; border-color:#c2d7f9; }
.proto-button.primary:hover { background:#dfebff; }
.proto-button.text-button { background:transparent; border:0; color:#acb3bf; }
.proto-button.danger { color:#ffb1a4; border-color:#764a44; background:#352421; }
.proto-button:disabled { opacity:.4; cursor:not-allowed; }
.proto-intro,.proto-footnote { font-size:13px; line-height:1.5; color:#a2a9b5; margin:0 0 20px; }
.proto-footnote { margin-top:20px; }
.barber-options { display:grid; gap:12px; }
.barber-option { display:flex; align-items:center; gap:12px; width:100%; padding:15px 12px; background:#181c23; color:#e8ecf2; border:1px solid #2f3540; border-radius:15px; text-align:left; cursor:pointer; }
.barber-option>span:nth-child(2) { flex:1; }
.barber-option strong { display:block; font-size:15px; font-weight:500; }
.barber-option span span,.barber-option small { display:block; margin-top:5px; color:#adb4bf; font-size:12px; }
.time-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.time-option { flex-direction:column; align-items:flex-start; gap:6px; }
.time-option span { color:#9ca8bb; font-size:11px; }
.time-option strong { font-size:18px; font-weight:500; }
.proto-empty { min-height:280px; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:15px; text-align:center; }
.proto-empty>.ui-icon { width:38px; height:38px; color:#a1b4d0; align-self:center; }
.proto-empty h3 { margin:0; font-size:23px; font-weight:500; letter-spacing:-.5px; }
.proto-empty p { font-size:14px; line-height:1.6; color:#a8b0bd; margin:0 0 8px; }
.prototype-dialog { width:min(430px,calc(100% - 28px)); height:min(900px,calc(100dvh - 28px)); max-width:none; max-height:none; padding:0; margin:auto; color:#efede6; background:#111316; border:1px solid #535252; border-radius:24px; overflow:hidden; }
.prototype-dialog[open] { display:flex; flex-direction:column; }
.prototype-dialog::backdrop { background:#080807c9; backdrop-filter:blur(8px); }
.prototype-toolbar { display:grid; grid-template-columns:auto minmax(0,1fr) 44px 44px; align-items:center; gap:4px; padding:8px 10px; flex-shrink:0; border-bottom:1px solid #303238; }
.prototype-toolbar strong { font-size:24px; letter-spacing:-1px; }
.prototype-toolbar form { margin:0; }
.prototype-close { width:44px; height:44px; border:0; border-radius:50%; background:none; color:#d2d3d6; display:grid; place-items:center; cursor:pointer; }
.prototype-close .ui-icon { transform:rotate(45deg); width:22px; height:22px; }
.prototype-reset { width:44px; height:44px; display:grid; place-items:center; background:none; border:0; border-radius:50%; color:#b0b4bc; padding:0; cursor:pointer; }
.prototype-content { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; }
.prototype-status { margin:0; padding:0 18px; color:#d4deee; font-size:12px; line-height:1.5; }
.prototype-status:not(:empty) { padding:8px 18px; border-bottom:1px solid #303238; }
.prototype-dialog :focus-visible { outline:2px solid #ff7040; outline-offset:2px; }
.lock-empty { margin-top:auto; text-align:center; width:100%; padding:20px; border-radius:20px; background:#0a1b4466; }
.lock-empty p { font-size:14px; margin:0 0 16px; }
.lock-empty .proto-button { width:100%; background:#e1edf5; color:#193049; border:0; }
@media(max-width:700px) {
 .prototype-dialog { width:100%; height:100dvh; margin:0; border:0; border-radius:0; }
 .prototype-toolbar { padding-top:max(6px,env(safe-area-inset-top)); }
}

/* Original Figma assets and geometry; interactive content shares one booking. */
@font-face { font-family:CutQInter; src:url('/projects/cutq/assets/figma/InterVariable.woff2') format('woff2'); font-weight:100 900; font-display:swap; }
.phone-art { aspect-ratio:450/920; background:transparent; border:0; border-radius:13%; box-shadow:none; }
.phone-art::after { content:none; }
.phone-bezel { display:block; position:absolute; inset:0; width:100%; height:100%; z-index:2; pointer-events:none; }
.phone-window { position:absolute; overflow:hidden; inset:2.5% 5.333%; border-radius:11.94% / 5.49%; background:#090a0c; }

.phone-canvas { width:375px; height:812px; transform-origin:top left; overflow:hidden; }
.proto-app,.live-card { font-family:CutQInter,Arial,sans-serif; }
.proto-app { min-height:100%; color:#f1f1f3; padding-top:0; background:#090a0c; }
.proto-header { position:relative; display:flex; align-items:center; height:60px; min-height:60px; padding:0 7px; gap:8px; border-color:#2a2b31; }
.proto-header h2 { font-size:24px; font-weight:700; letter-spacing:-.6px; line-height:1.2; margin:0; }
.proto-back { display:grid; place-items:center; background:none; border:0; color:inherit; cursor:pointer; width:23px; min-width:23px; height:44px; margin:0; padding:0; }
.proto-back .ui-icon { width:22px; height:22px; }
.proto-body { padding:20px 18px; }
.appointment-screen .proto-body { padding-top:31px; }
.proto-person { text-align:center; margin:0 0 24px; }
.proto-avatar { display:grid; place-items:center; border-radius:50%; background:#2d313b; color:#eee; width:100px; height:100px; margin:0 auto 8px; font-size:30px; overflow:hidden; }
.proto-avatar img,.live-avatar img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.proto-person h3 { font-size:24px; line-height:29px; font-weight:700; margin:0; letter-spacing:-.5px; }
.proto-person p { font-size:14px; line-height:17px; font-weight:500; color:#acacac; margin:0; }
.appointment-screen .proto-person { margin-bottom:35px; }
.proto-timer { height:135px; border:1px solid #2a2b31; background:#18191d; padding:8px 11px; margin:0 0 16px; border-radius:17px; color:#acacac; }
.proto-timer>strong { display:block; font-size:64px; line-height:77px; font-weight:900; letter-spacing:-2.8px; text-align:center; font-variant-numeric:tabular-nums; }
.timer-label { display:flex; align-items:center; gap:4px; font-size:10px; line-height:12px; }
.timer-label [data-minutes] { margin-left:auto; }
.proto-timer .live-progress { margin:5px 0 3px; height:8px; background:#2d2f36; }
.proto-timer .live-progress>span { background:#090a0c; }
.timer-endpoints { display:flex; justify-content:space-between; font-size:8px; line-height:10px; color:#777; }
.proto-details { height:228px; border:1px solid #2a2b31; border-radius:17px; background:#18191d; padding:17px 25px 10px; margin:0 0 15px; display:flex; flex-direction:column; justify-content:space-between; }
.proto-details>div { padding:0; border:0; display:flex; align-items:center; justify-content:flex-start; gap:18px; min-height:42px; }
.proto-details dt { font-size:10px; line-height:12px; color:#acacac; }
.proto-details dd { font-size:14px; font-weight:500; line-height:17px; color:#fff; text-align:left; margin:0; }
.proto-details small { font-size:8px; line-height:10px; display:block; color:#acacac; }
.proto-medallion { width:36px; height:36px; position:relative; flex-shrink:0; display:grid; place-items:center; }
.proto-medallion img { grid-area:1/1; max-width:none; }
.proto-medallion img:first-child { position:absolute; top:0; left:0; }
.proto-medallion img:last-child { position:relative; }
.proto-contacts { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:16px; }
.proto-contact { appearance:none; height:85px; border:1px solid #2a2b31; border-radius:17px; color:#acacac; background:#18191d; font:500 10px CutQInter,Arial,sans-serif; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px; cursor:pointer; }
.proto-contact:hover { background:#25262c; }
.proto-modify { display:flex; justify-content:center; }
.proto-modify .proto-button { min-height:32px; padding:7px; font:500 10px CutQInter,Arial,sans-serif; border:1px solid #2a2b31; border-radius:17px; background:#18191d; color:#acacac; }
.proto-button { font-family:CutQInter,Arial,sans-serif; }
.proto-button.primary { background:#e5e5e7; border-color:#e5e5e7; color:#18191d; }
.proto-avatar.small { width:40px; height:40px; font-size:13px; }
.flow-screen .proto-person { margin-bottom:24px; }
.flow-screen .proto-header { padding:0 18px; }
.flow-screen .proto-header h2 { font-size:20px; }
.flow-screen .proto-back { display:grid; place-items:center; background:none; border:0; color:inherit; cursor:pointer; width:36px; min-width:36px; }
/* Keep the original wallpaper; render the OS chrome as crisp live text and vectors. */
.proto-lock { height:874px; min-height:0; padding:0; display:block; background:#225f9e url('/projects/cutq/assets/figma/wallpaper-light.jpeg') center/cover; font-family:-apple-system,BlinkMacSystemFont,Arial,sans-serif; }
.lock-status { position:absolute; top:27px; right:32px; display:flex; align-items:center; gap:7px; }
.lock-status img { max-width:none; }
.lock-battery { width:25px; height:12px; border:1px solid #fff8; border-radius:3px; padding:1px; background:linear-gradient(to right,#fff 0 85%,transparent 85%) content-box; }
.live-card { --activity-scale:1; position:relative; display:block; padding:0; aspect-ratio:382/160; border-radius:48px; overflow:hidden; background:linear-gradient(115deg,#cfebefe8,#e0eaf7e8); color:#5f6371; box-shadow:inset 0 0 0 1px #ffffff24,0 12px 30px #071a3e15; backdrop-filter:blur(25px); }
.live-content { width:382px; height:160px; transform:scale(var(--activity-scale)); transform-origin:top left; position:relative; }
.live-person { position:absolute; top:30px; left:29px; right:25px; height:50px; margin:0; gap:5px; display:flex; align-items:center; }
.live-avatar { flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:#273c50; color:#f1f5f8; width:50px; height:50px; margin:0; font-size:17px; }
.live-person>strong { font-size:20px; font-weight:600; white-space:nowrap; letter-spacing:-.5px; }
.live-person>span:last-child { font-size:12px; margin-left:auto; white-space:nowrap; }
.live-time { position:absolute; top:104px; left:30px; right:30px; height:19px; display:flex; align-items:center; gap:2px; font-size:16px; line-height:19px; font-weight:500; }
.live-time strong { margin-left:auto; font-size:16px; line-height:19px; font-weight:500; letter-spacing:0; }
.live-progress { height:8px; border-radius:17px; background:#a9adbe; margin:0; }
.live-content>.live-progress { position:absolute; top:125px; left:33px; width:316px; }
.live-progress>span { display:block; height:100%; border-radius:17px; background:#090a0c; }
.live-footer { display:flex; justify-content:space-between; position:absolute; top:136px; left:33px; right:33px; font-size:8px; line-height:10px; color:#5f6371; }
.proto-lock>.live-card { position:absolute; left:10px; bottom:120px; width:calc(100% - 20px); border:0; cursor:pointer; }
.lock-hint { position:absolute; bottom:84px; left:0; right:0; text-align:center; font-size:12px; }
.phone-canvas .lock-hint { display:none; }
.lock-home-indicator { position:absolute; border-radius:10px; background:white; bottom:10px; height:5px; left:33%; width:34%; }
.lock-empty { position:absolute; bottom:100px; left:18px; right:18px; width:auto; }
.floating-activity .live-card { border-radius:34px; }
.prototype-content .proto-header { background:#090a0c; }
.prototype-content .proto-lock { height:100%; min-height:640px; padding:0; }
.prototype-content .proto-modify .proto-button { min-height:44px; min-width:160px; font-size:12px; }
.prototype-content .proto-contact { font-size:12px; }
.prototype-content .appointment-screen .proto-body { max-width:430px; margin:auto; }
@media(max-width:700px) {
 .phone-art { aspect-ratio:450/920; border-radius:13%; }
 .phone-window { position:absolute; overflow:hidden; inset:2.5% 5.333%; border-radius:11.94% / 5.49%; }
 .floating-activity .live-card { padding:0; border-radius:28px; }
 .floating-activity .live-person { gap:5px; margin:0; }
 .floating-activity .live-person>strong { font-size:20px; }
 .floating-activity .live-person>span:last-child { font-size:12px; }
 .floating-activity .live-avatar { flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:#273c50; color:#f1f5f8; width:50px; height:50px; font-size:17px; }
 .floating-activity .live-time,.floating-activity .live-time strong { font-size:16px; }
}

.proto-divider { position:absolute; bottom:0; left:0; right:0; overflow:hidden; height:1px; }
.proto-divider img { display:block; max-width:none; }
.proto-medallion .medallion-symbol { position:relative; grid-area:1/1; display:grid; place-items:center; }
.proto-medallion .medallion-symbol img { position:static; }
.duration-symbol { transform:scale(1.666667); }
.location-symbol { transform:scale(1.5); }
.phone-art { filter:drop-shadow(0 20px 26px #0008); }
.proto-lock { position:relative; color:#fff; }
.prototype-content .proto-lock { min-height:540px; }
.prototype-content .proto-lock>.live-card { bottom:72px; }
.prototype-content .lock-hint { bottom:38px; }
/* In the hero the activity is lifted out of the screen, so it appears only once. */
.phone-canvas .proto-lock>.live-card { visibility:hidden; }
.prototype-reset .ui-icon { width:17px; height:17px; }
.prototype-reset:hover,.prototype-close:hover { background:#ffffff0b; }
@media(max-width:350px) {
 .prototype-toolbar { padding-left:8px; padding-right:8px; gap:2px; }
 .prototype-toolbar strong { font-size:22px; }
}

/* One segmented track, one moving selection; touch and keyboard focus are separate. */
.prototype-toolbar .mode-switch { position:relative; isolation:isolate; display:grid; grid-template-columns:1fr 1fr; justify-self:center; width:100%; max-width:188px; gap:0; padding:3px; background:#25262a; border:1px solid #ffffff0c; border-radius:15px; box-shadow:inset 0 1px 2px #0003; }
.prototype-toolbar .mode-switch::before { content:""; position:absolute; z-index:-1; top:3px; bottom:3px; left:3px; width:calc((100% - 6px)/2); background:#e9e9e7; border-radius:11px; box-shadow:0 1px 3px #0004,inset 0 1px #fff9; transform:translateX(0); transition:transform .24s cubic-bezier(.22,1,.36,1); pointer-events:none; }
.prototype-toolbar .mode-switch[data-selected="lock"]::before { transform:translateX(100%); }
.prototype-toolbar .mode-switch button { position:relative; min-width:0; min-height:40px; padding:0 5px; font:500 11px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; color:#bfc0c5; border-radius:11px; background:transparent; white-space:nowrap; transition:color .16s; -webkit-tap-highlight-color:transparent; }
.prototype-toolbar .mode-switch button[aria-pressed="true"] { color:#222327; background:transparent; }
.prototype-dialog:focus { outline:none; }
html[data-input-mode="pointer"] .prototype-dialog :focus-visible { outline:none; }
html[data-input-mode="keyboard"] .prototype-dialog :focus-visible { outline:2px solid #d3e4ff; outline-offset:-3px; }
.lock-clock { position:absolute; top:82px; left:18px; right:18px; height:auto; text-align:center; color:#f4faff; }
.lock-clock p { margin:0 0 1px; font:500 20px/1.25 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; color:#f0f7ff; text-shadow:0 1px 5px #143b6b18; }
.lock-clock time { display:block; font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; font-size:124px; font-weight:650; line-height:1.06; letter-spacing:-7px; font-variant-numeric:tabular-nums; font-optical-sizing:auto; color:#e5f2ff; background:linear-gradient(165deg,#fff 8%,#eefaffd9 45%,#d2e5ffad 74%,#ffffffed); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; -webkit-text-stroke:.5px #ffffff70; }
.lock-widgets { position:absolute; top:252px; left:32px; right:32px; height:72px; display:grid; grid-template-columns:minmax(0,1fr) 72px 72px; gap:12px; align-items:center; color:#eef7ff; font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; }
.weather-table { display:flex; flex-direction:column; font-size:13px; font-weight:500; line-height:17px; }
.weather-table b { display:flex; align-items:center; gap:4px; font-size:16px; line-height:22px; font-weight:600; }
.weather-table .ui-icon { width:20px; height:20px; }
.weather-gauge,.weather-sunset { position:relative; width:72px; height:72px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:0; border-radius:0; background:transparent; }
.weather-gauge>svg { position:absolute; inset:0; width:72px; height:72px; overflow:visible; }
.weather-gauge circle { fill:none; stroke:#eef7ffb3; stroke-width:5; stroke-linecap:round; stroke-dasharray:139 183; transform:rotate(133deg); transform-origin:36px 36px; }
.weather-gauge strong { font-size:25px; font-weight:500; line-height:30px; letter-spacing:-1px; margin-top:-5px; }
.weather-gauge small { position:absolute; bottom:1px; left:14px; right:14px; display:flex; justify-content:space-between; font-size:10px; }
.weather-sunset .ui-icon { width:23px; height:23px; margin-bottom:1px; }
.weather-sunset strong { font-size:18px; font-weight:500; line-height:20px; }
.weather-sunset small { font-size:11px; line-height:14px; }
.prototype-content .lock-clock { top:58px; margin:0; }
.prototype-content .lock-clock time { font-size:clamp(100px,30vw,132px); }
.prototype-content .lock-widgets { top:224px; }
@media(max-width:350px) {
 .prototype-content .lock-clock p { font-size:18px; }
 .prototype-content .lock-widgets { top:204px; left:24px; right:24px; gap:6px; }
}
@media(prefers-reduced-motion:reduce) { .prototype-toolbar .mode-switch::before,.prototype-toolbar .mode-switch button { transition:none; } }

/* Both native-size screens stay mounted and retain their own scale. */
.phone-window { z-index:auto; }
.phone-canvas { position:absolute; left:0; top:0; }
.phone-layer-lock { z-index:1; }
.phone-layer-app { z-index:3; opacity:0; transition:opacity .65s cubic-bezier(.22,1,.36,1); pointer-events:none; }
.hero-demo[data-mode="app"] .phone-layer-app { opacity:1; }
/* The frame stays between the two screens; its camera is revealed by the fade. */
.phone-bezel { z-index:2; }
.floating-activity { transition:opacity .55s .25s ease,transform .9s .15s cubic-bezier(.22,1,.36,1); }
.hero-demo[data-mode="app"] .floating-activity { transition:opacity .25s ease,transform .65s cubic-bezier(.22,1,.36,1); }
@media(prefers-reduced-motion:reduce) {
 .phone-layer-app,.phone-art,.floating-activity { transition:none!important; }
}

.hero-demo:not([data-ready]) .phone-art,
.hero-demo:not([data-ready]) .phone-layer-app,
.hero-demo:not([data-ready]) .floating-activity { transition:none!important; }

/* Start moving on first paint. Individual transforms compose with the view turn,
   and the entrance is never removed mid-flight when the visitor takes control. */
.phone-art { animation:phone-arrival 2.6s cubic-bezier(.25,.5,.35,1) both; }
@keyframes phone-arrival {
 from { translate:0 24px; rotate:-4deg; opacity:.65; }
 20% { opacity:1; }
 to { translate:0 0; rotate:0deg; opacity:1; }
}
@media(prefers-reduced-motion:reduce) { .phone-art { animation:none; } }
