:root {
    color-scheme: light;
    --ink: #30262a;
    --muted: #675960;
    --line: #e7dfe1;
    --plum: #653f55;
    --paper: #faf7f4;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #855496; outline-offset: 3px; }
.wrap { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 12px; padding: 12px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; z-index: 1; }
.site-header, .site-header nav, .wordmark, .actions, footer { display: flex; align-items: center; }
.site-header { min-height: 82px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.site-header nav { gap: 26px; }
.site-header a, footer a { text-decoration: none; }
.site-header a:hover, footer a:hover { text-decoration: underline; }
.wordmark { gap: 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.045em; }
.wordmark img { object-fit: contain; }
.outline, .primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 46px; border: 1px solid #d9c9cf; border-radius: 8px; padding: 10px 17px;
    font-size: .875rem; font-weight: 650; text-decoration: none; background: #fff8; color: var(--ink);
}
.primary { background: var(--plum); border-color: var(--plum); color: white; }
.primary:hover { background: #523346; }
.outline:hover { background: #f4e8ee; }
.hero { text-align: center; padding: clamp(48px, 7vw, 98px) 0 44px; }
.eyebrow { color: var(--plum); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, p { margin-top: 0; }
h1, .software h2, .questions h2, .closing h2 {
    font-family: Georgia, serif; font-weight: 400; letter-spacing: -.065em;
}
h1 { font-size: clamp(3.15rem, 9vw, 7.7rem); line-height: .91; margin-bottom: 22px; }
h1 em { color: var(--plum); font-weight: inherit; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.55; max-width: 510px; margin: 0 auto 23px; }
.actions { justify-content: center; gap: 10px; flex-wrap: wrap; }
.demo { scroll-margin-top: 20px; }
.calendar {
    --slot: 28px;
    --calendar-columns: 78px repeat(7, minmax(112px, 1fr));
    overflow: hidden; border: 1px solid #e4d5de; border-radius: 18px; background: #fffdfb;
    box-shadow: 0 18px 55px #653f551c;
}
.calendar-header {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--line); padding: 18px 24px;
    background: linear-gradient(105deg, #f4e0ea, #faf1e7 62%, #e8e7f6);
}
.calendar-header .eyebrow { margin-bottom: 4px; }
.calendar-header h2 { margin: 0; font-size: clamp(1rem, 2.5vw, 1.5rem); letter-spacing: -.045em; }
.demo-label { white-space: nowrap; border: 1px solid #cbb9cb; background: #fff9; border-radius: 99px; padding: 5px 10px; font-size: .75rem; }
.mobile-hint { display: none; margin: 0; padding: 8px 14px; font-size: .75rem; color: var(--muted); }
.schedule-scroll { overflow-x: auto; }
.schedule-scroll:focus-visible { outline-offset: -3px; }
.schedule { min-width: 862px; }
.staff-row, .day-grid { display: grid; grid-template-columns: var(--calendar-columns); }
.staff-row { background: #f9f3f6; border-bottom: 1px solid var(--line); }
.staff-row span { padding: 12px 8px; font-size: .79rem; font-weight: 650; border-right: 1px solid var(--line); }
.staff-time { color: var(--muted); }
.times { background: #fcf8fa; border-right: 1px solid var(--line); }
.time { height: calc(var(--slot) * 2); padding: 6px 8px; font-size: .72rem; color: var(--muted); }
.staff-day {
    display: grid; grid-template-rows: repeat(14, var(--slot)); border-right: 1px solid var(--line);
    background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--slot) - 1px), #eee6eb calc(var(--slot) - 1px) var(--slot));
}
.booking {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px;
    margin: 2px 4px; padding: 4px 6px; text-align: left; color: #352932;
    background: var(--event); border: 0; border-inline-start: 3px solid var(--accent); border-radius: 6px;
    cursor: pointer; font-size: .68rem; line-height: 1.2;
}
.booking strong { font-size: .73rem; }
.booking:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.booking:focus-visible { outline-offset: -3px; }
.lilac { --event: #eee0f7; --accent: #9766b2; }
.sand { --event: #f6e9d3; --accent: #ad7d3a; }
.mint { --event: #d9efea; --accent: #398775; }
.peach { --event: #fae1d8; --accent: #b2634f; }
.rose { --event: #f6dce8; --accent: #ab5a83; }
.sage { --event: #e3ecd9; --accent: #69824f; }
.blue { --event: #e1e9f9; --accent: #637fb5; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 17px; list-style: none; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.legend li { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
figcaption { text-align: center; color: var(--muted); font-size: .83rem; margin-top: 16px; }
dialog { width: min(400px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); padding: 25px; }
dialog::backdrop { background: #32243072; }
dialog form { float: right; margin-left: 10px; }
dialog button { cursor: pointer; min-height: 36px; padding: 4px 12px; }
dialog p:last-child { margin-bottom: 0; }
.software, .questions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 90px); }
.software { padding-block: clamp(65px, 10vw, 140px); }
.software h2, .questions h2, .closing h2 { font-size: clamp(2.4rem, 5.5vw, 5rem); line-height: .98; margin-bottom: 24px; }
.software dl { margin: 0; }
.software dl div { border-top: 1px solid var(--line); padding: 14px 0; }
.software dt { font-weight: 700; }
.software dd { color: var(--muted); margin: 5px 0 0; }
.salon-photo { width: 100%; height: clamp(275px, 39vw, 505px); object-fit: cover; object-position: center 56%; border-radius: 14px; }
.questions { border-top: 1px solid var(--line); padding-block: 45px; align-items: start; }
details { border-bottom: 1px solid var(--line); padding: 15px 0; }
summary { font-weight: 650; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }
.closing { text-align: center; padding: 52px 18px; background: #eddee7; }
footer { min-height: 90px; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
@media (max-width: 934px) {
    .mobile-hint { display: block; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 32px); }
    .site-header { min-height: 68px; }
    .site-header nav > a:first-child { display: none; }
    .site-header .outline { padding-inline: 10px; }
    .calendar-header { padding: 12px; }
    .software, .questions { grid-template-columns: 1fr; }
}

.product-story { position: relative; height: 164vh; min-height: 980px; }
.hero-stage { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: clip; isolation: isolate; }
.aura { position: absolute; inset: -16%; z-index: -1; background: radial-gradient(ellipse at 12% 55%, #d9e8ee 0, transparent 40%), radial-gradient(ellipse at 85% 32%, #ecd8e5 0, transparent 44%), radial-gradient(ellipse at 53% 92%, #e5b8bb 0, transparent 50%); transform: translate3d(var(--drift,0px),0,0); }
.hero-stage .hero { padding-top: clamp(28px,5vh,70px); padding-bottom: 26px; transform: translateY(var(--title-y,0px)); opacity: var(--title-alpha,1); }
.hero-stage h1 { font-size: clamp(4rem, min(10vw,13vh), 9rem); }
.dashboard-frame { position: relative; width: min(79%,1140px); margin: 0 auto; padding: 7px; border-radius: 18px; background: #fff9; border: 1px solid white; box-shadow: 0 28px 80px #472e4940; transform-origin: 50% 0; transform: perspective(1400px) translateY(var(--lift,0px)) rotateX(var(--tilt,9deg)) scale(var(--zoom,.91)); }
.dashboard-frame img { display: block; width: 100%; height: auto; border-radius: 11px; }
.chapter { display: flex; gap: 5%; align-items: end; justify-content: space-between; padding-block: clamp(56px,8vw,112px) 28px; }
.chapter h2 { font: 400 clamp(2.8rem,6vw,6rem)/1 Georgia,serif; letter-spacing: -.06em; margin: 0; }
.chapter em { color: var(--plum); }
.chapter > p { max-width: 320px; margin: 0; line-height: 1.55; color: var(--muted); }
@media (prefers-reduced-motion:no-preference) {
    .motion-ready { transition: opacity .65s, translate .65s; }
    .motion-ready.waiting { opacity: 0; translate: 0 22px; }
}
@media (max-width:700px), (max-height:560px), (prefers-reduced-motion:reduce) {
    .product-story,.hero-stage { height: auto; min-height: 0; }
    .hero-stage { position: relative; padding-bottom: 26px; }
    .dashboard-frame { width: 92%; transform: none; }
    .hero-stage .hero { transform: none; opacity: 1; }
    .chapter { display: grid; gap: 15px; }
}
.scene-nav { position: absolute; z-index: 4; inset: 0 0 auto; color: white; border: 0; }
.scene-nav .outline,.hero-stage .outline { color: white; border-color: #ffffff82; background: #392d32b8; }
.product-story { height: 205svh; min-height: 0; }
.hero-stage { position: sticky; height: 100svh; min-height: 0; background: #4d3c39; }
.salon-scene { position: absolute; inset: -3%; z-index: -1; background: linear-gradient(180deg,#322328b8 0%,#392b35a6 37%,#59403a22 70%,#31212665 100%),url('../brand/salon-editorial.webp') center 55% / cover; transform: scale(var(--room-scale,1)); }
.hero-stage .hero { position: absolute; top: max(78px,10%); inset-inline: 0; padding: 0; color: white; z-index: 2; pointer-events: none; }
.hero-stage .actions a { pointer-events: auto; }
.hero-stage .eyebrow { color: #f5dfdc; }
.hero-stage h1 { font-size: clamp(2.8rem,5.6vw,6rem); }
.hero-stage h1 em { color: #fae5dd; }
.hero-stage .lead { color: white; text-shadow: 0 1px 5px #412633; }
.hero-stage .primary { color: #392731; background: #fff5ef; border-color: #fff5ef; }
.laptop { position: absolute; top: 67%; left: 50%; margin: 0; width: min(58vw,83svh); transform: translate(-50%,-50%) translateY(var(--screen-rise,0px)) scale(var(--screen-scale,1)); }
.laptop-screen { padding: 1.45% 1.4% 2%; border: 2px solid #96898a; border-radius: 2.5% 2.5% 1% 1%; background: #322d32; box-shadow: 0 22px 38px #201a2245; }
.laptop-screen img { display: block; width: 100%; height: auto; }
.keyboard { position: relative; height: clamp(13px,2vw,33px); margin: 0 -7%; background: linear-gradient(#9e9192,#cec3c1 46%,#918385 50%,#584c50); clip-path: polygon(6% 0,94% 0,100% 68%,99% 87%,95% 100%,5% 100%,1% 87%,0 68%); }
.keyboard i { display: block; width: 16%; height: 38%; background: #776e72; border-radius: 0 0 8px 8px; margin: auto; }
.desktop-preview img { width: 100%; height: auto; border-radius: 12px; }
.desktop-preview { margin-bottom: 65px; }
@media (max-width:700px) {
    .hero-stage .hero { top: 15%; }
    .laptop { width: 87vw; top: 67%; }
}
@media (max-height:560px) {
    .scene-nav { min-height: 42px; }
    .hero-stage .hero { top: 48px; }
    .hero-stage h1 { font-size: 2rem; margin-bottom: 6px; }
    .hero-stage .lead,.hero-stage .eyebrow { display: none; }
    .laptop { top: 70%; width: min(62vw,77svh); }
}
@media (prefers-reduced-motion:reduce) {
    .product-story { height: 100svh; }
    .hero-stage { position: relative; }
}

/* The screen turns away as the next scene comes into view. */
.laptop { transform: perspective(1250px) translate(-50%,-50%) translate(var(--exit-x,0px),var(--screen-rise,0px)) rotateY(var(--yaw,0deg)) rotateZ(var(--roll,0deg)) scale(var(--screen-scale,1)); }
.counter-story { height: 380svh; background: #d9bfaa; }
.counter-stage,.view-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.counter-stage { background: radial-gradient(ellipse at 15% 15%,#f3e7d4,transparent 52%),repeating-linear-gradient(2deg,#d7bb9f55 0 1px,transparent 2px 9px),linear-gradient(130deg,#d6b997,#d7bda9 55%,#b99e89); }
.counter-copy,.counter-focus { position: absolute; left: 50%; top: 50%; width: min(86%,540px); transform: translate(-50%,-50%); text-align: center; }
.counter-copy h2,.counter-focus h2,.view-copy h2 { margin: 0; font: 400 clamp(2.5rem,7vw,7rem)/.96 Georgia,serif; letter-spacing: -.065em; }
.counter-copy em,.view-copy em { color: #77465a; }
.counter-focus { left: 73%; width: min(31%,420px); opacity: 0; }
.counter-focus p:last-child { margin: 16px auto 0; max-width: 30ch; line-height: 1.5; }
.appointment-slip { position: absolute; left: 50%; top: 50%; width: clamp(145px,18vw,258px); padding: clamp(14px,2vw,26px); border-top: 5px solid var(--stripe,#926782); background: #fff9ee; box-shadow: 0 7px 18px #48332928; border-radius: 3px; }
.appointment-slip:nth-child(3n+2) { --stripe: #65897e; background: #f1f6ee; }
.appointment-slip:nth-child(3n) { --stripe: #8d789b; background: #f6eef6; }
.appointment-slip time { font: 600 .9rem monospace; color: #5d4c54; }
.appointment-slip h3 { font: 500 clamp(1.15rem,1.8vw,1.75rem) Georgia,serif; margin: 12px 0 4px; }
.appointment-slip p { margin: 0 0 14px; }
.appointment-slip small { display: block; border-top: 1px dashed #c1b3af; padding-top: 8px; }
.view-story { height: 205svh; background: #302932; color: #fff5f2; }
.view-stage { display: grid; grid-template-columns: 35% 65%; align-items: center; padding: 6vw; background: radial-gradient(ellipse at 75% 60%,#5b444e,transparent 65%); }
.view-copy .eyebrow,.view-copy em { color: #efc7d5; }
.view-copy a { display: inline-block; margin-top: 28px; text-underline-offset: 5px; }
.screen-stack { position: relative; aspect-ratio: 16/10; perspective: 1000px; }
.screen-stack img { position: absolute; width: 100%; height: auto; border: 7px solid #534952; border-radius: 11px; box-shadow: 0 16px 35px #21192066; }
.scene-closing { background: linear-gradient(#422f37cc,#422f37db),url('../brand/salon-editorial.webp') center 67%/cover; color: white; padding: 12vh 20px; }
@media(max-width:700px) {
    .counter-focus { left: 50%; top: 73%; width: 85%; }
    .view-stage { grid-template-columns: 1fr; align-content: center; gap: 40px; }
    .view-copy h2 { font-size: 3rem; }
}
html:not(.story-active) .counter-story,html:not(.story-active) .view-story { height: auto; }
html:not(.story-active) .counter-stage,html:not(.story-active) .view-stage { position: relative; height: auto; padding: clamp(32px,6vw,80px); }
html:not(.story-active) .counter-copy { position: static; width: auto; transform: none; }
html:not(.story-active) .slips { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 12px; padding-top: 26px; }
html:not(.story-active) .appointment-slip { width: auto; position: static; }
html:not(.story-active) .counter-focus { display: none; }

.salon-scene { inset:-9%; transform:translate3d(var(--room-x,0px),var(--room-y,0px),0) scale(var(--room-scale,1)); }
.styling-tools { position:absolute; inset:0; pointer-events:none; z-index:1; }
.salon-comb { position:absolute; left:-2%; bottom:5%; width:clamp(145px,19vw,350px); height:clamp(38px,5vw,85px); border-radius:12px 14px 0 0; border-top:clamp(8px,1vw,17px) solid #744839; background:repeating-linear-gradient(90deg,#4d342c 0 2px,#ad7760 3px 4px,transparent 5px 7px); transform:rotate(25deg); filter:drop-shadow(4px 8px 3px #30232a70); }
.colour-fan { position:absolute; bottom:5%; right:-2%; width:clamp(150px,19vw,320px); height:clamp(44px,5vw,85px); transform:rotate(-15deg); }
.colour-fan i { position:absolute; inset:0; border:4px solid #eee4da; border-right-width:25px; border-radius:5px; background:linear-gradient(0deg,#764840,#995d4c 65%,#ad7961); transform-origin:90% 50%; box-shadow:0 3px 7px #38272d70; }
.colour-fan i:nth-child(2) { transform:rotate(16deg); background:linear-gradient(#cc9c74,#b78158); }
.colour-fan i:nth-child(3) { transform:rotate(32deg); background:linear-gradient(#dbc09b,#a5896b); }
.colour-fan i:nth-child(4) { transform:rotate(48deg); background:linear-gradient(#573f37,#745649); }
@media(prefers-reduced-motion:no-preference) {
    .hero-stage .laptop-screen { animation:open-screen .95s cubic-bezier(.18,.8,.25,1) both; transform-origin:center bottom; }
    @keyframes open-screen { from { transform:perspective(900px) rotateX(-35deg); } to { transform:perspective(900px) rotateX(0); } }
}
html.story-active .product-story { height:205vh; height:205svh; }
html.story-active .hero-stage { position:sticky; height:100vh; height:100svh; }
html.story-active .counter-story { height:380vh; height:380svh; }
html.story-active .view-story { height:205vh; height:205svh; }
.counter-stage,.view-stage { height:100vh; height:100svh; }
.salon-scene { top:-9%; right:-9%; bottom:-9%; left:-9%; }
.styling-tools { top:0; right:0; bottom:0; left:0; }
.studio-footer { display:block; min-height:0; padding:0; color:#faf4ee; background:linear-gradient(108deg,#382c33,#493741 55%,#322d35); border-top:1px solid #bea1ad; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-block:36px; }
.developer-credit { display:grid; gap:8px; }
.developer-credit span,.studio-footer small { font-size:.73rem; color:#dfcfd5; }
.developer-credit img { width:95px; height:auto; }
.studio-footer nav { display:flex; flex-wrap:wrap; gap:24px; }
.studio-footer nav a { font-size:.85rem; padding-block:8px; }
.laptop-screen { position:relative; }
.laptop-screen::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(113deg,transparent 28%,#fff1 49%,transparent 70%); transform:scaleX(.98); }
@media(max-width:700px) {
 .footer-inner { display:grid; grid-template-columns:1fr auto; gap:18px; }
 .studio-footer nav { display:grid; gap:4px; }
 .studio-footer small { grid-column:1/-1; }
}

.laptop { transform-style:preserve-3d; }
.keyboard { width:100%; height:auto; aspect-ratio:3.4; position:absolute; top:99.3%; margin:0; border-radius:0 0 6% 6%; clip-path:none; background:linear-gradient(112deg,#665c62,#b3a6aa 42%,#837a80 82%,#594e55); transform-origin:center top; transform:perspective(900px) rotateX(var(--deck-angle,74deg)); box-shadow:0 5px 0 #584e56,0 15px 20px #30232b40; }
.key-bed { position:absolute; top:9%; left:8%; width:84%; height:51%; border:2px solid #5a5157; border-radius:3px; background:repeating-linear-gradient(90deg,transparent 0 5.8%,#94898d 5.8% 6.35%),repeating-linear-gradient(0deg,#3d363d 0 18%,#998f94 18% 20%); }
.keyboard i { position:absolute; top:65%; left:36%; width:28%; height:28%; border:1px solid #81767d; border-radius:4px; background:#b0a4a9; }
.laptop-screen::after { background:linear-gradient(112deg,transparent 20%,#ffffff26 49%,transparent 73%); opacity:var(--glare,.25); }
@media(min-width:960px) and (min-height:570px) {
 .hero-stage .hero { top:27%; width:39%; left:6%; right:auto; margin:0; text-align:left; }
 .hero-stage h1 { font-size:clamp(3.5rem,6.4vw,7.4rem); line-height:.95; }
 .hero-stage h1 em { display:block; color:#f0cdba; }
 .hero-stage .lead { margin:18px 0 24px; max-width:35ch; }
 .hero-stage .actions { justify-content:flex-start; }
 .hero-stage .laptop { left:70%; top:56%; width:min(47vw,92vh); }
 .hero-stage .salon-scene { background-image:linear-gradient(95deg,#332831ed,#46343a94 43%,#42363d28 73%),url('../brand/salon-editorial.webp'); }
 .styling-tools { opacity:.45; }
}
