/* studio: build-hero, motion lab, work frames + sample sites, compare slider, chat + flow demos */

/* ===== home hero: a site assembles itself ===== */
.hero-b { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero-b::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(43,181,201,.22), transparent 60%); pointer-events: none; }
.hero-b-in { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-b-in { grid-template-columns: 5fr 7fr; } }
.hero-b h1 { font-size: clamp(2.5rem, 1rem + 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; animation: rise .9s cubic-bezier(.2,.7,.2,1) .2s both; }
.hero-b .lede { animation-delay: .4s; }
.hero-b .btn-row { animation-delay: .6s; }
.bh-wrap { perspective: 1400px; min-width: 0; animation: rise 1s cubic-bezier(.2,.7,.2,1) .5s both; }
.bh { --rx: 0deg; --ry: 0deg; background: var(--paper); color: var(--ink); border-radius: 14px; border: 2px solid var(--ink-3); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(43,181,201,.18); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; transform-style: preserve-3d; }
.bh-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line-paper); }
.bh-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(21,24,29,.25); }
.bh-bar span { margin-left: 10px; flex: 1; min-width: 0; font: 500 .75rem var(--f-body); color: var(--muted-paper); background: rgba(255,255,255,.7); border-radius: 6px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-page { position: relative; padding: clamp(.7rem, 2cqw, 1.1rem); display: grid; gap: .9rem; container-type: inline-size; min-height: 330px; }
.bp-nav { display: flex; align-items: center; gap: 1rem; font-size: .8rem; }
.bp-nav b { margin-right: auto; font: 700 .95rem var(--f-display); }
.bp-nav .pill { padding: .3rem .8rem; border-radius: 999px; border: 1.5px solid var(--line-paper); font-weight: 600; transition: background .5s, color .5s, border-color .5s; }
.bp-hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; align-items: center; padding: clamp(.9rem, 3cqw, 1.6rem); border-radius: 12px; border: 1.5px dashed rgba(21,24,29,.3); transition: background .7s ease, border-color .7s ease, color .7s ease; }
.bp-copy h4 { font: 700 clamp(1.25rem, 5.4cqw, 2.1rem)/1.05 var(--f-display); letter-spacing: -.02em; margin: 0 0 .5rem; }
.bp-copy p { font-size: .82rem; margin: 0 0 .8rem; max-width: 28ch; }
.bp-btn { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1.5px dashed rgba(21,24,29,.4); font: 600 .82rem var(--f-body); transition: background .5s, color .5s, border-color .5s, transform .3s; }
.bp-art { position: relative; aspect-ratio: 1; max-height: 190px; justify-self: center; width: 100%; opacity: 0; transform: scale(.85); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.bp-art svg { width: 100%; height: 100%; overflow: visible; }
.bp-art .r { fill: none; stroke: var(--teal); stroke-width: 2.5; opacity: .7; transform-origin: 100px 100px; }
.bp-art .r2 { stroke: var(--paper); opacity: .35; }
.bp-art .core { fill: var(--teal); }
.bp-art .spark { fill: var(--amber); }
.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.bp-card { border: 1.5px dashed rgba(21,24,29,.28); border-radius: 10px; padding: .6rem; display: grid; gap: .25rem; font-size: .76rem; transition: background .5s, border-color .5s, transform .4s; }
.bp-card i { width: 22px; height: 22px; border-radius: 6px; background: transparent; border: 1.5px dashed rgba(21,24,29,.3); transition: background .5s, border-color .5s; }
.bp-card b { font: 700 .85rem var(--f-display); }
.bp-cursor { position: absolute; left: 72%; top: 82%; width: 22px; height: 22px; opacity: 0; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.bp-cursor svg { width: 100%; height: 100%; }
/* stage 0: wireframe. Text shows as grey bars */
.bh .t { color: transparent; background: rgba(127,140,150,.34); border-radius: 4px; transition: color .5s ease, background .5s ease; }
.bh.st1 .t { color: inherit; background: transparent; }
/* stage 2: color */
.bh.st2 .bp-hero { background: linear-gradient(135deg, #15181D 10%, #1A7F8E 130%); color: var(--paper); border: 1.5px solid transparent; }
.bh.st2 .bp-btn { background: var(--teal); color: var(--ink); border: 1.5px solid var(--teal); }
.bh.st2 .bp-nav .pill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bh.st2 .bp-card { border: 1.5px solid var(--line-paper); background: #fff; }
.bh.st2 .bp-card i { border: 0; background: var(--teal-soft); }
/* stage 3: imagery */
.bh.st3 .bp-art { opacity: 1; transform: none; }
.bh.st3 .bp-card i { background: var(--teal); }
/* stage 4: motion */
.bh.st4 .bp-art .r1 { animation: spin 14s linear infinite; stroke-dasharray: 8 12; }
.bh.st4 .bp-art .r2 { animation: spin 22s linear infinite reverse; stroke-dasharray: 2 10; }
.bh.st4 .bp-art svg { animation: drift 6s ease-in-out infinite; }
.bh.st4 .bp-card { animation: lift 5s ease-in-out infinite; }
.bh.st4 .bp-card:nth-child(2) { animation-delay: .5s; } .bh.st4 .bp-card:nth-child(3) { animation-delay: 1s; }
.bh.st4 .bp-btn { animation: clicked 4.6s ease-in-out infinite; }
.bh.st4 .bp-cursor { animation: cursor 4.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes clicked { 0%,52% { transform: scale(1); box-shadow: 0 0 0 0 rgba(43,181,201,0); } 58% { transform: scale(.94); } 66% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(43,181,201,.25); } 80%,100% { transform: scale(1); box-shadow: 0 0 0 16px rgba(43,181,201,0); } }
@keyframes cursor { 0% { opacity: 0; transform: translate(60px, 50px); } 12% { opacity: 1; } 50% { opacity: 1; transform: translate(-190px, -86px); } 58% { transform: translate(-190px, -86px) scale(.85); } 66% { transform: translate(-190px, -86px) scale(1); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(-150px, -60px); } }
@container (max-width: 520px) { .bp-hero { grid-template-columns: 1fr; } .bp-art { max-height: 120px; } .bp-nav span:not(.pill) { display: none; } .bp-cursor { display: none; } }
.bh-rail { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem .9rem; border-top: 1px solid var(--line-paper); background: var(--paper-2); }
.bh-rail button { font: 600 .78rem var(--f-body); color: var(--muted-paper); background: transparent; border: 1.5px solid var(--line-paper); border-radius: 999px; padding: .3rem .8rem; cursor: pointer; transition: all .3s; }
.bh-rail button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bh-rail button.done { color: var(--teal-text); border-color: var(--teal-deep); }

/* ===== motion lab ===== */
.lab h2 { max-width: 20ch; }
.lab .sub { margin-top: 1rem; max-width: 52ch; color: var(--muted-ink); }
.lab-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
@media (min-width: 760px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
.lab-card { background: var(--ink); border: 1px solid var(--line-ink); border-radius: 18px; padding: 1.25rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.lab-card h3 { font-size: 1.15rem; }
.lab-card p { color: var(--muted-ink); font-size: .95rem; }
.lab-stage { min-height: 190px; border-radius: 12px; background: var(--ink-2); display: grid; place-items: center; padding: 1rem; position: relative; overflow: hidden; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; width: 100%; }
.sp-grid span { position: relative; aspect-ratio: 1.3; border-radius: 10px; background: var(--ink-3); isolation: isolate; overflow: hidden; display: grid; place-items: end start; padding: .5rem .6rem; font: 600 .8rem var(--f-display); transition: transform .3s ease; }
.sp-grid span::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(43,181,201,.65), transparent 70%); }
.sp-grid span:hover { transform: translateY(-3px); } .sp-grid span:hover::before { opacity: 1; }
.tilt-card { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; width: min(240px, 80%); aspect-ratio: 1.55; border-radius: 16px; padding: 1rem; display: grid; align-content: space-between; background: linear-gradient(135deg, #1A7F8E, #15181D 80%); border: 1px solid rgba(43,181,201,.5); transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .15s ease-out; position: relative; overflow: hidden; touch-action: none; }
.tilt-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 60%); pointer-events: none; }
.tilt-card small { color: var(--muted-ink); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; font-size: .7rem; }
.tilt-card b { font: 700 1.3rem var(--f-display); }
.wave { font: 700 clamp(1.6rem, 1rem + 2.8vw, 2.6rem) var(--f-display); letter-spacing: -.02em; text-align: center; cursor: default; }
.wave span { display: inline-block; transition: color .2s; }
.wave:hover span, .wave.go span { animation: jump .6s calc(var(--i) * 40ms) ease both; }
@keyframes jump { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-14px); color: var(--teal); } }
.mag-btn { position: relative; overflow: hidden; font-size: 1.1rem; min-height: 56px; padding-inline: 2.2rem; }
.mag-btn .ripple { position: absolute; border-radius: 50%; background: rgba(21,24,29,.25); transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.hint { font-size: .8rem; color: var(--muted-ink); letter-spacing: .02em; }

/* ===== home: work teaser thumbs and AI strip ===== */
.thumbs { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .thumbs { grid-template-columns: repeat(4, 1fr); } }
.thumb { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; border-radius: 16px; padding: 1rem; text-decoration: none; color: #fff; overflow: hidden; isolation: isolate; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.thumb:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -24px rgba(21,24,29,.6); }
.thumb b { font: 700 1.1rem var(--f-display); } .thumb span { font-size: .85rem; opacity: .85; }
.thumb i { position: absolute; z-index: -1; }
.th-cafe { background: #0E2635; } .th-cafe i { right: -18%; top: 8%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #F2B24C; box-shadow: 0 0 0 14px rgba(242,178,76,.15), 0 0 0 30px rgba(242,178,76,.08); animation: drift 6s ease-in-out infinite; }
.th-dent { background: #1B8FC0; } .th-dent i { right: -10%; top: 6%; width: 75%; aspect-ratio: 1; background: linear-gradient(135deg, #BFE8F7, #C9BDFF); animation: morph 8s ease-in-out infinite; }
.th-roof { background: #14171A; } .th-roof i { inset: 0 0 auto 0; height: 42%; background: repeating-linear-gradient(-45deg, #FF6A13 0 12px, #14171A 12px 24px); animation: stripes 2s linear infinite; }
.th-salon { background: #6B3DF0; } .th-salon i { width: 55%; aspect-ratio: 1; border-radius: 50%; background: #E2478A; right: -8%; top: 6%; animation: drift 5s ease-in-out infinite; } .th-salon i + i { background: #F2A65A; width: 34%; right: 36%; top: 30%; animation-delay: -2s; }
@keyframes morph { 0%,100% { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; } 50% { border-radius: 40% 60% 42% 58% / 58% 42% 58% 42%; } }
@keyframes stripes { to { background-position: 34px 0; } }
.ai-strip { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
@media (min-width: 800px) { .ai-strip { grid-template-columns: repeat(3, 1fr); } }
.ai-strip a { display: grid; gap: .5rem; padding: 1.4rem; border: 1.5px solid var(--line-paper); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .3s, transform .3s; }
.ai-strip a:hover { border-color: var(--teal-deep); transform: translateY(-4px); }
.ai-strip b { font: 600 1.2rem var(--f-display); } .ai-strip span { color: var(--muted-paper); }
.ai-strip em { font-style: normal; font-weight: 600; color: var(--teal-text); }

/* ===== work page ===== */
.showcase { display: grid; gap: 1.25rem; }
.picker { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.picker .tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab { font: 600 .98rem var(--f-body); color: var(--muted-ink); background: transparent; border: 1.5px solid var(--line-ink); border-radius: 999px; padding: .55rem 1.1rem; min-height: 44px; cursor: pointer; transition: all .25s; }
.tab:hover { border-color: var(--teal); color: var(--on-ink); }
.tab[aria-pressed="true"] { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.seg { margin-left: auto; display: inline-flex; border: 1.5px solid var(--line-ink); border-radius: 999px; overflow: hidden; }
.seg button { font: 600 .9rem var(--f-body); color: var(--muted-ink); background: transparent; border: 0; padding: .55rem 1rem; min-height: 44px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink-3); color: var(--on-ink); }
.stage-area { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .stage-area { grid-template-columns: minmax(0, 1fr) 300px; } }
.frame-wrap { display: grid; justify-items: center; min-width: 0; padding: clamp(.5rem, 2vw, 1.5rem); border-radius: 20px; background: radial-gradient(circle at 50% 0%, rgba(43,181,201,.14), transparent 60%), var(--ink-2); border: 1px solid var(--line-ink); }
.frame { width: 100%; max-width: 1060px; background: #fff; border-radius: 12px; overflow: hidden; border: 2px solid var(--ink-3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); transition: max-width .6s cubic-bezier(.2,.7,.2,1), border-radius .6s; }
.frame.phone { max-width: 390px; border-radius: 34px; border-width: 6px; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E9E6DE; }
.frame.phone .bar { justify-content: center; padding: 12px; }
.frame.phone .bar i { display: none; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(21,24,29,.25); }
.frame .bar span { margin-left: 10px; flex: 1; min-width: 0; font: 500 .75rem var(--f-body); color: #4A545E; background: rgba(255,255,255,.75); border-radius: 6px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame.phone .bar span { margin: 0; flex: none; width: 62%; text-align: center; }
.vp { container-type: inline-size; height: min(620px, 75vh); overflow-y: auto; overflow-x: hidden; background: #fff; scrollbar-width: thin; }
.frame.phone .vp { height: 600px; }
.notes { display: grid; gap: 1rem; align-content: start; }
.notes h3 { font-size: 1.3rem; }
.notes p { color: var(--muted-ink); }
.notes dl { margin: 0; display: grid; gap: .8rem; }
.notes dt { font: 600 .72rem var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--teal); }
.notes dd { margin: 0; color: var(--on-ink); }
.disc { font-size: .88rem; color: var(--muted-ink); max-width: 70ch; }

/* ===== sample sites (shared) ===== */
.site { display: block; min-height: 100%; }
.site[hidden] { display: none; }
.site .sb { display: inline-block; padding: .55em 1.1em; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.site .sb.sm { padding: .4em .9em; font-size: .78rem; } .site .sb.big { font-size: 1.05rem; padding: .8em 1.5em; }
.site .sg { display: inline-block; padding: .5em 1.1em; border-radius: 999px; font-weight: 600; font-size: .85rem; border: 1.5px solid currentColor; opacity: .85; }
.site i { font-style: normal; }

/* cafe */
.s-cafe { --bg: #0E2635; --ink: #F4E9D6; --ac: #F2B24C; --mu: #9FB3BF; background: var(--bg); color: var(--ink); font-family: var(--f-body); padding: clamp(.9rem, 4cqw, 2rem); }
.s-cafe .sc-nav { display: flex; align-items: center; gap: 1.2rem; }
.s-cafe .sc-nav b { font: 700 1.2rem Fraunces, Georgia, serif; margin-right: auto; }
.s-cafe .sc-links { display: flex; gap: 1.1rem; color: var(--mu); font-size: .88rem; }
.s-cafe .sb { background: var(--ac); color: #1A1209; }
.s-cafe .sc-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; padding-block: clamp(1.5rem, 6cqw, 3.5rem); }
.s-cafe h3 { font: 700 clamp(2rem, 7.2cqw, 4.2rem)/1 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 1rem 0; }
.s-cafe .sc-copy p { color: var(--mu); max-width: 34ch; margin: 0 0 1.4rem; }
.s-cafe .sc-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.s-cafe .sc-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(244,233,214,.25); font-size: .8rem; }
.s-cafe .live { width: 8px; height: 8px; border-radius: 50%; background: #5BE0A0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91,224,160,.7); } 100% { box-shadow: 0 0 0 10px rgba(91,224,160,0); } }
.s-cafe .sc-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.s-cafe .badge { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.s-cafe .badge text { font: 600 11px var(--f-body); fill: var(--ac); }
.s-cafe .cup { width: 66%; position: relative; overflow: visible; }
.s-cafe .saucer { fill: #1C4358; } .s-cafe .body { fill: var(--ink); } .s-cafe .handle { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.s-cafe .top { fill: #6B3E1E; }
.s-cafe .steam { fill: none; stroke: rgba(244,233,214,.7); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: steam 3.2s ease-in-out infinite; }
.s-cafe .s2 { animation-delay: .5s; } .s-cafe .s3 { animation-delay: 1s; }
@keyframes steam { 0% { stroke-dashoffset: 60; opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-10px); } }
.s-cafe .sc-menu { border-top: 1px solid rgba(244,233,214,.18); }
.s-cafe .sc-menu div { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(244,233,214,.12); position: relative; transition: padding-left .3s; }
.s-cafe .sc-menu div:hover { padding-left: .8rem; }
.s-cafe .sc-menu b { font: 700 1.15rem Fraunces, Georgia, serif; } .s-cafe .sc-menu span { color: var(--mu); } .s-cafe .sc-menu em { font-style: normal; color: var(--ac); font-weight: 700; }
@container (max-width: 620px) { .s-cafe .sc-hero { grid-template-columns: 1fr; } .s-cafe .sc-art { max-width: 240px; justify-self: center; order: -1; } .s-cafe .sc-links { display: none; } .s-cafe .sc-menu div { grid-template-columns: 1fr auto; } .s-cafe .sc-menu span { display: none; } }

/* dental */
.s-dent { --bg: #F3F9FB; --ink: #0B2B3B; --ac: #1B8FC0; --mu: #4D6B7A; background: var(--bg); color: var(--ink); font-family: Manrope, var(--f-body); padding: clamp(.9rem, 4cqw, 2rem); }
.s-dent .sd-nav { display: flex; align-items: center; gap: 1.2rem; }
.s-dent .sd-nav b { display: flex; align-items: center; gap: .5rem; margin-right: auto; font-weight: 800; font-size: 1.1rem; }
.s-dent .mark { width: 22px; height: 22px; border-radius: 7px 7px 11px 11px; background: linear-gradient(135deg, #1B8FC0, #7DD3F0); }
.s-dent .sd-links { display: flex; gap: 1.1rem; color: var(--mu); font-size: .88rem; font-weight: 500; }
.s-dent .sb { background: var(--ink); color: #fff; }
.s-dent .sd-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; padding-block: clamp(1.5rem, 6cqw, 3.5rem); }
.s-dent .sd-tag { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #D8EFF8; color: #0B5C82; font-weight: 700; font-size: .78rem; }
.s-dent h3 { font: 800 clamp(2rem, 7cqw, 4rem)/1.02 Manrope, sans-serif; letter-spacing: -.035em; margin: 1rem 0; }
.s-dent .sd-copy p { color: var(--mu); max-width: 34ch; margin: 0 0 1.4rem; font-weight: 500; }
.s-dent .sd-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.s-dent .sd-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.s-dent .blob { position: absolute; inset: 6%; background: linear-gradient(135deg, #BFE8F7, #C9BDFF); animation: morph 8s ease-in-out infinite; }
.s-dent .blob.b2 { inset: 22%; background: linear-gradient(135deg, #7DD3F0, #1B8FC0); opacity: .85; animation-duration: 6s; animation-direction: reverse; }
.s-dent .sd-card { position: relative; background: #fff; border-radius: 16px; padding: 1rem 1.1rem; display: grid; gap: .25rem; box-shadow: 0 24px 40px -20px rgba(11,43,59,.4); animation: drift 5s ease-in-out infinite; }
.s-dent .sd-card small { color: var(--mu); font-weight: 600; } .s-dent .sd-card b { font-size: 1.15rem; font-weight: 800; }
.s-dent .sd-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.s-dent .sd-chips span { padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid #D6E7EE; font-weight: 600; font-size: .88rem; transition: transform .25s, background .25s, color .25s; }
.s-dent .sd-chips span:hover { transform: translateY(-3px); background: var(--ac); color: #fff; border-color: var(--ac); }
@container (max-width: 620px) { .s-dent .sd-hero { grid-template-columns: 1fr; } .s-dent .sd-art { max-width: 260px; justify-self: center; } .s-dent .sd-links { display: none; } }

/* roofing */
.s-roof { --bg: #14171A; --ink: #F2F2F0; --ac: #FF6A13; --mu: #A9AFB5; background: var(--bg); color: var(--ink); font-family: var(--f-body); }
.s-roof .sr-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(.8rem, 3cqw, 1.3rem) clamp(.9rem, 4cqw, 2rem); }
.s-roof .sr-nav b { font: 900 1.15rem Archivo, Impact, sans-serif; letter-spacing: .04em; }
.s-roof .sr-call { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border-radius: 8px; background: var(--ac); color: #14171A; font: 800 .95rem Archivo, sans-serif; animation: callpulse 2.4s ease-in-out infinite; }
.s-roof .sr-call i { width: 9px; height: 9px; border-radius: 50%; background: #14171A; }
@keyframes callpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,106,19,.55); } 50% { box-shadow: 0 0 0 12px rgba(255,106,19,0); } }
.s-roof .sr-stripes { height: 14px; background: repeating-linear-gradient(-45deg, #FF6A13 0 14px, #14171A 14px 28px); animation: stripes 1.4s linear infinite; }
.s-roof .sr-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 6cqw, 3.5rem) clamp(.9rem, 4cqw, 2rem); }
.s-roof h3 { font: 900 clamp(2.2rem, 8cqw, 4.6rem)/.95 Archivo, Impact, sans-serif; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 1rem; }
.s-roof .sr-copy p { color: var(--mu); max-width: 36ch; margin: 0 0 1.5rem; }
.s-roof .sb { background: var(--ac); color: #14171A; border-radius: 8px; font-family: Archivo, sans-serif; font-weight: 800; }
.s-roof .sr-roof { width: 100%; overflow: visible; }
.s-roof .rf { fill: #262B30; stroke: var(--ac); stroke-width: 4; stroke-linejoin: round; }
.s-roof .rows path { fill: none; stroke: #3A4148; stroke-width: 5; stroke-linecap: round; }
.s-roof .sweep { fill: rgba(255,106,19,.35); transform: skewX(-20deg); animation: sweep 3.6s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(380px) skewX(-20deg); } }
.s-roof .sr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2A3036; margin-top: 1rem; }
.s-roof .sr-steps div { background: #1B1F23; padding: 1.2rem clamp(.7rem, 3cqw, 1.5rem); display: flex; align-items: center; gap: .8rem; }
.s-roof .sr-steps b { font: 900 1.8rem Archivo, sans-serif; color: var(--ac); } .s-roof .sr-steps span { font-weight: 600; }
@container (max-width: 620px) { .s-roof .sr-hero { grid-template-columns: 1fr; } .s-roof .sr-roof { max-width: 260px; } .s-roof .sr-steps { grid-template-columns: 1fr; } }

/* salon */
.s-salon { --bg: #EFE9FF; --ink: #1B1530; --ac: #6B3DF0; background: var(--bg); color: var(--ink); font-family: var(--f-body); overflow: hidden; }
.s-salon .sl-nav { display: flex; align-items: center; gap: 1.2rem; padding: clamp(.9rem, 4cqw, 2rem); }
.s-salon .sl-nav b { font: 400 1.6rem 'Instrument Serif', Georgia, serif; margin-right: auto; }
.s-salon .sl-links { display: flex; gap: 1.1rem; font-size: .88rem; font-weight: 500; }
.s-salon .sb { background: var(--ink); color: #fff; }
.s-salon .sl-hero { position: relative; padding: clamp(1rem, 6cqw, 3rem) clamp(.9rem, 4cqw, 2rem) clamp(2rem, 8cqw, 4.5rem); min-height: 280px; }
.s-salon h3 { position: relative; z-index: 2; font: 400 clamp(2.8rem, 13cqw, 8.4rem)/.92 'Instrument Serif', Georgia, serif; letter-spacing: -.03em; max-width: 9ch; margin: 0; }
.s-salon h3 em { color: var(--ac); }
.s-salon .orb { position: absolute; border-radius: 50%; filter: blur(1px); animation: drift 7s ease-in-out infinite; }
.s-salon .o1 { width: 34%; aspect-ratio: 1; right: 6%; top: 8%; background: radial-gradient(circle at 30% 30%, #FFB3D6, #E2478A); }
.s-salon .o2 { width: 22%; aspect-ratio: 1; right: 30%; bottom: 8%; background: radial-gradient(circle at 30% 30%, #FFD9A8, #F2A65A); animation-delay: -2s; }
.s-salon .o3 { width: 16%; aspect-ratio: 1; right: 2%; bottom: 10%; background: radial-gradient(circle at 30% 30%, #B9A2FF, #6B3DF0); animation-delay: -4s; }
.s-salon .sl-marquee { overflow: hidden; background: var(--ink); color: var(--bg); padding-block: .9rem; }
.s-salon .sl-marquee div { display: flex; gap: 2.5rem; width: max-content; animation: slide 22s linear infinite; font: 400 1.6rem 'Instrument Serif', Georgia, serif; font-style: italic; }
.s-salon .sl-marquee span::after { content: "\2726"; margin-left: 2.5rem; color: #B9A2FF; font-style: normal; }
.s-salon .sl-list { padding: clamp(.9rem, 4cqw, 2rem); }
.s-salon .sl-list div { position: relative; display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1.5px solid rgba(27,21,48,.18); overflow: hidden; }
.s-salon .sl-list b { font: 400 clamp(1.5rem, 5cqw, 2.4rem) 'Instrument Serif', Georgia, serif; margin-right: auto; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.s-salon .sl-list span { font-weight: 600; }
.s-salon .sl-list i { position: absolute; right: 22%; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.s-salon .sl-list div:hover b { transform: translateX(14px); } .s-salon .sl-list div:hover i { transform: scale(1); }
@container (max-width: 620px) { .s-salon .sl-links { display: none; } .s-salon h3 { max-width: 7ch; } }

/* ===== before / after ===== */
.cmp { --x: 50%; position: relative; border-radius: 16px; overflow: hidden; border: 2px solid var(--line-paper); background: #fff; user-select: none; container-type: inline-size; }
.cmp-layer { min-height: 460px; padding: clamp(.9rem, 4cqw, 2rem); }
.cmp-old { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; z-index: 3; pointer-events: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--teal); box-shadow: 0 0 14px rgba(43,181,201,.9); }
.cmp-handle span { position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--teal); color: var(--ink); display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.cmp-range:focus-visible + .cmp-handle span { outline: 3px solid var(--ink); outline-offset: 3px; }
.cmp-tag { position: absolute; bottom: 12px; z-index: 2; font: 700 .72rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.cmp-tag.before { left: 12px; background: #B3261E; color: #fff; } .cmp-tag.after { right: 12px; background: var(--ink); color: var(--paper); }
/* old site */
.cmp-layer.o-site { padding: 0; }
.o-site { background: #F5F0DC; color: #222; font-family: 'Times New Roman', Times, serif; }
.o-site .o-top { background: linear-gradient(90deg, #1D3D91, #1D91B7); color: #FFEB3B; padding: .5rem .8rem; font: 700 1.05rem Georgia, serif; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.o-site .o-links { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .66rem; padding: .4rem .8rem; background: #DDD3A8; }
.o-site .o-links a { color: #0000EE; text-decoration: underline; }
.o-site h4 { text-align: center; color: #B00020; font: 700 clamp(1.1rem, 4.6cqw, 1.7rem) 'Comic Sans MS', 'Comic Neue', cursive; margin: .8rem 0 .3rem; }
.o-site .o-ban { background: #FFEB3B; border: 2px dashed #B00020; text-align: center; font: 700 .8rem Arial, sans-serif; padding: .3rem; animation: blink 1.2s steps(2) infinite; margin: .4rem .8rem; }
@keyframes blink { 50% { background: #fff; } }
.o-site p { font-size: .7rem; margin: .4rem .8rem; line-height: 1.25; }
.o-site .o-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem; padding: .4rem .8rem; }
.o-site .o-cols div { background: #fff; border: 1px solid #999; padding: .3rem; font-size: .6rem; text-align: center; min-height: 70px; }
.o-site .o-ph { font-size: .55rem; color: #888; text-align: right; padding: .3rem .8rem; }
/* new site */
.n-site { background: #fff; color: #0F1E26; font-family: var(--f-body); display: grid; align-content: start; gap: 1.2rem; }
.n-site .n-nav { display: flex; align-items: center; gap: 1rem; } .n-site .n-nav b { font: 700 1.1rem var(--f-display); margin-right: auto; }
.n-site .n-call { background: #15707E; color: #fff; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.n-site h4 { font: 700 clamp(1.7rem, 7.4cqw, 3rem)/1.04 var(--f-display); letter-spacing: -.03em; max-width: 12ch; margin: .6rem 0; }
.n-site .n-sub { color: #4A545E; max-width: 32ch; }
.n-site .n-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.n-site .n-cards div { border: 1.5px solid rgba(15,30,38,.15); border-radius: 12px; padding: .8rem; font-weight: 700; display: grid; gap: .2rem; } .n-site .n-cards small { font-weight: 500; color: #4A545E; }
@container (max-width: 520px) { .o-site .o-cols { grid-template-columns: 1fr 1fr; } .n-site .n-cards { grid-template-columns: 1fr; } .n-site .n-nav span:not(.n-call) { display: none; } }
.cmp-help { margin-top: .8rem; font-size: .9rem; color: var(--muted-paper); }

/* ===== AI page: chat + flow ===== */
.chat { display: grid; gap: .6rem; padding: 1rem; background: #fff; color: var(--ink); border-radius: 16px; border: 2px solid var(--ink); box-shadow: 0 30px 60px -34px rgba(21,24,29,.5); min-height: 330px; align-content: start; }
.chat-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-paper); font: 600 .95rem var(--f-display); }
.chat-head i { width: 9px; height: 9px; border-radius: 50%; background: #2FBF71; }
.msg { max-width: 82%; padding: .55rem .85rem; border-radius: 14px; font-size: .95rem; animation: rise .4s ease both; }
.msg.v { justify-self: end; background: var(--teal); color: var(--ink); border-bottom-right-radius: 4px; }
.msg.a { background: var(--paper-2); border-bottom-left-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: .7rem .9rem; background: var(--paper-2); border-radius: 14px; width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-paper); animation: dots 1s ease-in-out infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.flow { position: relative; display: grid; gap: 1rem; padding-block: 2rem; }
@media (min-width: 800px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.fl-node { position: relative; background: var(--ink-2); border: 1.5px solid var(--ink-3); border-radius: 16px; padding: 1.2rem; display: grid; gap: .3rem; animation: nodeon 6s ease-in-out infinite; }
.fl-node:nth-child(2) { animation-delay: 2s; } .fl-node:nth-child(3) { animation-delay: 4s; }
.fl-node b { font: 600 1.1rem var(--f-display); } .fl-node span { color: var(--muted-ink); font-size: .95rem; }
@keyframes nodeon { 0%,8% { border-color: var(--ink-3); box-shadow: none; } 14%,30% { border-color: var(--teal); box-shadow: 0 0 0 6px rgba(43,181,201,.14), 0 0 30px rgba(43,181,201,.3); } 40%,100% { border-color: var(--ink-3); box-shadow: none; } }
@media (min-width: 800px) { .fl-node:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 3rem; height: 3px; background: var(--ink-3); } .fl-node:not(:last-child)::before { content: ""; position: absolute; left: 100%; top: 50%; width: 10px; height: 10px; margin: -3.5px 0 0 0; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); z-index: 2; animation: packet 6s linear infinite; } .fl-node:nth-child(2)::before { animation-delay: 2s; } }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 0; } 8% { opacity: 1; } 22% { transform: translateX(2.6rem); opacity: 1; } 24%,100% { transform: translateX(2.6rem); opacity: 0; } }
.ai-grid { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 800px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== work-page notes, reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .bh, .hero-b h1, .bh-wrap { animation: none; transition: none; }
  .bh.st4 .bp-art .r1, .bh.st4 .bp-art .r2, .bh.st4 .bp-art svg, .bh.st4 .bp-card, .bh.st4 .bp-btn, .bh.st4 .bp-cursor,
  .s-cafe .badge, .s-cafe .steam, .s-cafe .live, .s-dent .blob, .s-dent .sd-card, .s-roof .sr-stripes, .s-roof .sr-call, .s-roof .sweep, .s-salon .orb, .s-salon .sl-marquee div,
  .th-cafe i, .th-dent i, .th-roof i, .th-salon i, .o-site .o-ban, .typing i, .fl-node, .fl-node::before { animation: none !important; }
  .s-cafe .steam { stroke-dashoffset: 0; opacity: .8; }
  .frame, .tilt-card { transition: none; }
}
.paper .rules span { color: var(--muted-paper); }

.n-site .n-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; align-items: center; }
.n-site .n-card { background: #0F1E26; color: #fff; border-radius: 16px; padding: 1.2rem; display: grid; gap: .3rem; justify-self: end; width: min(100%, 300px); box-shadow: 0 24px 40px -24px rgba(15,30,38,.6); }
.n-site .n-card small { color: #7EE0A6; font-weight: 700; } .n-site .n-card b { font: 700 1.5rem var(--f-display); } .n-site .n-card span { color: #B8C6CE; font-size: .9rem; }
@container (max-width: 620px) { .n-site .n-hero { grid-template-columns: 1fr; } .n-site .n-card { justify-self: start; } }

/* ===== live work cards ===== */
.live-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
@media (min-width: 760px) { .live-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .live-grid { grid-template-columns: repeat(3, 1fr); } }
.live-card { display: grid; gap: .7rem; align-content: start; padding: 1.4rem; border: 1.5px solid var(--line-paper); border-radius: 16px; background: #fff; color: var(--on-paper); text-decoration: none; min-width: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s; }
.live-card:hover, .live-card:focus-visible { transform: translateY(-5px); border-color: var(--teal-deep); box-shadow: 0 24px 44px -26px rgba(21,24,29,.5); }
.lc-url { font: 600 .82rem var(--f-body); letter-spacing: .02em; color: var(--teal-text); overflow-wrap: anywhere; }
.live-card h3 { font-size: 1.4rem; line-height: 1.15; }
.live-card p { color: var(--muted-paper); }
.live-card ul { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; font-size: .93rem; }
.live-card li { position: relative; padding-left: 1.1rem; }
.live-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.lc-go { margin-top: .4rem; font-weight: 600; justify-self: start; border-bottom: 2px solid var(--teal); padding-bottom: 1px; transition: transform .3s; }
.lc-go::after { content: " \2197"; }
.live-card:hover .lc-go { transform: translateX(5px); }

.live-next { background: var(--ink); color: var(--on-ink); border-color: var(--ink); align-content: center; }
.live-next p { color: var(--muted-ink); } .live-next .lc-url { color: var(--teal); } .live-next:hover { border-color: var(--teal); }

@media (min-width: 1100px) { .live-next { grid-column: span 2; } }

/* ---- professional version additions ---- */
.proof { background: var(--ink-2); border-block: 1px solid var(--line-ink); }
.proof-in { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding-block: 1.25rem; }
.proof-l { font: 600 .8rem var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; }
.proof a { text-decoration: none; color: var(--muted-ink); font-weight: 500; transition: color .2s; }
.proof a:hover { color: var(--on-ink); }
.what-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .what-grid { grid-template-columns: 1fr 1fr; } }
.what-grid article { display: grid; gap: .9rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1.5px solid var(--line-paper); border-radius: 16px; }
.what-grid h3 { font-size: 1.6rem; }
.what-grid p { color: var(--muted-paper); }
.what-grid ul, .price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .97rem; }
.what-grid li, .price li { position: relative; padding-left: 1.15rem; }
.what-grid li::before, .price li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.what-grid .link { font-weight: 600; color: var(--teal-text); }
.price-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price { display: grid; gap: .8rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); background: #fff; border: 1.5px solid var(--line-paper); border-radius: 16px; }
.price.feat { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.price h3 { font-size: 1.4rem; }
.price .amt { font: 700 1.9rem var(--f-display); letter-spacing: -.02em; }
.price .for { color: var(--muted-paper); }
.price.feat .for { color: var(--muted-ink); }
.about { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .about { grid-template-columns: 220px 1fr; gap: 3.5rem; } }
.about-mark { width: 140px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 700 2.6rem var(--f-display); background: var(--teal-soft); color: var(--teal); border: 2px solid var(--teal); }
@media (min-width: 800px) { .about-mark { width: 200px; font-size: 3.4rem; } }
.about p { margin-top: 1rem; max-width: 60ch; color: var(--muted-ink); }
.about h2 + p { margin-top: 1.2rem; }

.about-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--teal); display: block; background: var(--ink-3); }
@media (min-width: 800px) { .about-photo { width: 200px; height: 200px; } }

.plans { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plans > div { padding: clamp(1.2rem, 2.5vw, 1.8rem); border: 1.5px dashed var(--line-paper); border-radius: 16px; display: grid; gap: .5rem; align-content: start; }
.plans h3 { font-size: 1.2rem; }
.plans .amt-s { font: 700 1.5rem var(--f-display); letter-spacing: -.02em; }
.plans .amt-s small { font: 500 .9rem var(--f-body); color: var(--muted-paper); letter-spacing: 0; }
.plans p:last-child { color: var(--muted-paper); }

.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal .updated { margin-top: .6rem; color: var(--muted-ink); font-size: .95rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal ul { margin-top: .7rem; line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-top: .5rem; }
.legal a { color: var(--teal-text, #15707E); text-decoration: underline; }
.fine { margin-top: 1.4rem; max-width: 60ch; font-size: .92rem; color: var(--muted-paper); }
footer .foot a { text-decoration: none; }
