@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklTYzORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklWgzORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklVozORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklbY0ORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklY80ORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRkleg0ORc.ttf) format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(fonts/Dxx78j6PP2D_kU2muijPEe1n2vVbfJRklcE0ORc.ttf) format('truetype');
}

:root {
    --ink: #13293f;
    --muted: #6f7a86;
    --green: #204d7c;
    --line: #d6dee7
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f4f6f8;
    color: var(--ink);
    font-family: Vazirmatn,Tahoma,sans-serif
}

button,a,input,select {
    font: inherit
}

button,a {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button:focus-visible,a:focus-visible {
    outline: 3px solid #5c8cbd;
    outline-offset: 6px
}

.page {
    min-height: 100svh;
    overflow: hidden;
    position: relative;
    background: radial-gradient(ellipse at 22% 42%,#ccdef1 0,transparent 46%),radial-gradient(ellipse at 92% 6%,#dee7f0 0,transparent 34%),#f4f6f8
}

.noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%2390a89c' filter='url(%23n)' opacity='.35' d='M0 0h180v180H0z'/%3E%3C/svg%3E")
}

header {
    height: 112px;
    max-width: 1400px;
    margin: auto;
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 5
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.brandmark {
    width: 42px;
    height: 48px;
    color: #305881
}

.brand strong {
    font-size: 32px;
    line-height: 1
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 6px
}

.nav {
    display: flex;
    gap: 34px;
    font-size: 13px
}

.nav button {
    border: 0;
    background: none;
    color: #5e6c7a;
    padding: 8px 0
}

.nav button:hover {
    color: #142a40
}

.topcta {
    border: 1px solid #c3cdd8;
    border-radius: 30px;
    padding: 12px 21px;
    background: #ffffff42;
    font-size: 12px;
    display: flex;
    gap: 24px;
    align-items: center
}

.arrow {
    font-size: 24px;
    font-family: Arial;
    line-height: 1
}

.hero {
    max-width: 1400px;
    margin: auto;
    min-height: 650px;
    height: calc(100svh - 205px);
    max-height: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 20px 64px 48px;
    position: relative
}

.copy {
    position: relative;
    z-index: 3;
    padding: 0 0 28px 15px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #526a83
}

.dot {
    width: 6px;
    height: 6px;
    background: #517192;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #51719210
}

h1 {
    font-size: clamp(49px,5.4vw,80px);
    line-height: 1.55;
    letter-spacing: -3px;
    margin: 22px 0 15px;
    font-weight: 800
}

h1 .accent {
    position: relative;
    color: #356494;
    display: inline-block
}

.accent:after {
    content: '';
    position: absolute;
    width: 98%;
    height: 10px;
    bottom: 3px;
    right: 0;
    border-top: 2px solid #7e9dbd;
    border-radius: 50%;
    transform: rotate(-4deg)
}

.copy p {
    max-width: 380px;
    font-size: 14px;
    line-height: 2.15;
    color: #6f7984;
    margin: 22px 0 32px
}

.actions {
    display: flex;
    align-items: center;
    gap: 25px
}

.primary {
    background: #1a3e64;
    color: white;
    border: 0;
    border-radius: 40px;
    padding: 17px 24px;
    box-shadow: 0 9px 22px #1f416420;
    display: inline-flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    transition: .25s
}

.primary:hover {
    background: #103051;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px #1f416430
}

.secondary {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px
}

.play {
    border: 1px solid #c8d1da;
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 10px;
    padding-right: 2px
}

.micro {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    color: #818991
}

.micro span {
    display: inline-grid;
    place-items: center;
    height: 25px;
    width: 25px;
    border: 1px solid #c6d1dc;
    border-radius: 50%;
    color: #426284
}

.scene {
    position: relative;
    height: 590px;
    direction: ltr;
    perspective: 1000px;
    isolation: isolate;
    transform: translateX(-12px)
}

.scene:before {
    content: '';
    position: absolute;
    inset: 8% -10% 0;
    background: radial-gradient(ellipse,#a7c5e44f,transparent 65%);
    z-index: -1
}

.scene-label {
    position: absolute;
    top: 21px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    letter-spacing: 4px;
    color: #6a849f;
    white-space: nowrap
}

.orbital {
    position: absolute;
    border: 1px solid #ffffffb0;
    border-radius: 50%;
    width: 480px;
    height: 480px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-25deg);
    box-shadow: inset 0 0 35px #ffffff25,0 0 1px #94afcc7a
}

.orbital:after {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px dashed #688db41c
}

.orbit2 {
    width: 550px;
    height: 210px;
    top: 220px;
    transform: translateX(-50%) rotate(-27deg);
    border-color: #fff9;
    box-shadow: 0 5px 15px #4b6e9206
}

.floor {
    position: absolute;
    width: 280px;
    height: 48px;
    border-radius: 50%;
    background: #6587aa28;
    filter: blur(20px);
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%)
}

.tooth-wrap {
    position: absolute;
    inset: 75px 42px 80px;
    animation: float 7s ease-in-out infinite;
    will-change: transform
}

.tooth {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(17px 25px 15px #4d749c24)
}

.glass {
    position: absolute;
    border: 1px solid #ffffffed;
    background: linear-gradient(135deg,#ffffffb3,#ffffff24);
    backdrop-filter: blur(14px);
    box-shadow: inset 1px 1px 1px #fff,0 20px 35px #2d507411;
    border-radius: 19px;
    z-index: 2;
    direction: rtl
}

.tag {
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    transform: rotate(-6deg);
    left: -11px;
    top: 130px
}

.tag strong {
    font-size: 12px;
    font-weight: 600;
    display: block
}

.tag small {
    font-size: 8px;
    letter-spacing: 1px;
    color: #748aa0;
    display: block;
    margin-top: 5px;
    direction: ltr
}

.spark {
    font-size: 28px;
    color: #547ba3;
    text-shadow: 1px 2px white
}

.tag2 {
    top: auto;
    bottom: 111px;
    left: auto;
    right: -12px;
    transform: rotate(6deg)
}

.tag2 .icon {
    height: 36px;
    width: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg,#fff,#b6c9dc);
    box-shadow: inset 0 1px 3px white;
    color: #567697
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 22%,#fff 0,#ffffff85 8%,#bfd8f119 36%,#88a9cb24 65%,#fff9 86%);
    box-shadow: inset -4px -6px 9px #698aad23,inset 2px 3px 5px #fff,3px 8px 13px #56779915;
    border: 1px solid #ffffff8c;
    animation: float 6s ease-in-out infinite
}

.b1 {
    width: 68px;
    height: 68px;
    top: 42px;
    right: 80px
}

.b2 {
    width: 38px;
    height: 38px;
    bottom: 130px;
    left: 46px;
    animation-delay: -2s
}

.b3 {
    width: 19px;
    height: 19px;
    top: 275px;
    right: 3px
}

.cross {
    position: absolute;
    left: 64px;
    bottom: 207px;
    font-size: 45px;
    line-height: 1;
    color: #ebf3fc;
    filter: drop-shadow(2px 4px 2px #7692af45);
    transform: rotate(-14deg)
}

.scene-foot {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: 3px;
    color: #6f859b
}

.scene-foot span {
    display: block;
    width: 1px;
    height: 28px;
    background: #9fb5cb;
    margin: 0 auto 15px
}

.bottom {
    max-width: 1272px;
    margin: 0 auto;
    padding: 23px 0 28px;
    border-top: 1px solid #ced6de75;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 11px;
    color: #708193
}

.bottom-title {
    font-size: 10px;
    color: #919aa3
}

.service {
    display: flex;
    gap: 12px;
    align-items: center
}

.service b {
    font-size: 20px;
    color: #7a90a6;
    font-weight: 300
}

.bottom button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer
}

.bottom button:hover {
    color: #113152
}

.edition {
    font-family: Arial;
    font-size: 9px;
    letter-spacing: 2px;
    direction: ltr
}

dialog {
    border: 1px solid white;
    border-radius: 28px;
    padding: 35px;
    background: #f2f6fa;
    color: var(--ink);
    max-width: 460px;
    width: calc(100% - 36px);
    box-shadow: 0 30px 100px #132b4340
}

dialog::backdrop {
    background: #132b4355;
    backdrop-filter: blur(9px)
}

dialog h2 {
    margin-top: 10px;
    font-size: 23px
}

dialog p {
    font-size: 13px;
    line-height: 2;
    color: #697683
}

.close {
    float: left;
    border: 0;
    background: #e0e7ee;
    border-radius: 50%;
    height: 30px;
    width: 30px
}

dialog .primary {
    margin-top: 15px
}

.menu {
    display: none
}

@keyframes float {
    0%,100% {
        transform: translateY(0) rotate(-6deg)
    }

    50% {
        transform: translateY(-15px) rotate(-3deg)
    }
}

@media(min-width: 1500px) {
    .hero {
        min-height:730px
    }

    .scene {
        transform: scale(1.12)
    }
}

@media(max-width: 1100px) {
    header {
        padding:0 35px
    }

    .hero {
        padding: 20px 35px 35px
    }

    .scene {
        transform: scale(.85);
        transform-origin: center
    }

    .bottom {
        margin: 0 35px
    }

    .nav {
        gap: 20px
    }

    h1 {
        font-size: 60px
    }
}

@media(max-width: 760px) {
    header {
        height:90px;
        padding: 0 23px
    }

    .brand strong {
        font-size: 27px
    }

    .brandmark {
        width: 33px
    }

    .nav {
        display: none
    }

    .topcta {
        font-size: 10px;
        padding: 10px 14px;
        gap: 15px
    }

    .hero {
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 25px 25px 5px;
        grid-template-columns: 1fr
    }

    .copy {
        padding: 0;
        text-align: center
    }

    .eyebrow {
        justify-content: center;
        font-size: 9px
    }

    h1 {
        font-size: 51px;
        line-height: 1.5;
        letter-spacing: -2px;
        margin-top: 22px
    }

    .copy p {
        margin: 22px auto 26px;
        font-size: 12px;
        max-width: 320px
    }

    .actions {
        justify-content: center;
        gap: 16px
    }

    .primary {
        font-size: 11px;
        padding: 15px 20px;
        gap: 22px
    }

    .secondary {
        font-size: 10px
    }

    .micro {
        justify-content: center;
        margin-top: 26px
    }

    .scene {
        height: 470px;
        width: 100%;
        max-width: 520px;
        margin: -8px auto -15px;
        transform: scale(.88);
        transform-origin: center
    }

    .tooth-wrap {
        inset: 55px 22px 52px
    }

    .orbital {
        width: 370px;
        height: 370px;
        top: 35px
    }

    .orbit2 {
        width: 420px;
        height: 180px;
        top: 190px
    }

    .tag {
        top: 120px;
        left: -11px;
        padding: 12px
    }

    .tag2 {
        top: auto;
        bottom: 80px;
        right: -12px;
        left: auto
    }

    .tag strong {
        font-size: 10px
    }

    .tag small {
        font-size: 7px
    }

    .b1 {
        right: 24px;
        top: 35px;
        width: 52px;
        height: 52px
    }

    .b2 {
        bottom: 95px;
        left: 5px
    }

    .floor {
        bottom: 43px
    }

    .cross {
        bottom: 160px;
        left: 22px
    }

    .scene-label {
        top: 7px;
        font-size: 7px
    }

    .scene-foot {
        bottom: 0;
        font-size: 7px
    }

    .bottom {
        margin: 0 23px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 26px;
        padding-top: 20px
    }

    .bottom-title {
        width: 100%;
        text-align: center
    }

    .edition {
        display: none
    }

    .service {
        font-size: 10px
    }

    .service b {
        font-size: 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation: none!important;
        transition: none!important
    }
}

/* Scroll-driven dental sculpture */
.page {
    height: 265svh;
    min-height: 0;
    overflow: visible;
    background: #ecf1f7
}

.viewport {
    height: 100svh;
    position: sticky;
    top: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 24% 46%,#c1d6eb 0,transparent 48%),radial-gradient(ellipse at 90% 5%,#e1e9f1,transparent 45%),#f0f4f9
}

.brand strong {
    font-size: 24px
}

.brand-sub {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 5px
}

.brand small {
    font-size: 8px;
    letter-spacing: 2px
}

.hero {
    height: calc(100svh - 195px);
    min-height: 0;
    max-height: none;
    padding-top: 0;
    padding-bottom: 10px
}

.scene {
    height: min(590px,70svh);
    transform: none
}

.assembly {
    position: absolute;
    inset: -20px -12px -10px;
    filter: drop-shadow(12px 20px 14px #405f8023)
}

.implant-art {
    height: 100%;
    width: 100%;
    overflow: visible
}

.implant-art g {
    will-change: transform
}

.glass-title {
    background: linear-gradient(155deg,#fff 2%,#c0d2e4 20%,#6886a6 43%,#eef5fc 57%,#7089a3 75%,#d4e1ee 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent!important;
    -webkit-text-stroke: 1px #ffffffa8;
    filter: drop-shadow(0 1px 0 #4d657e) drop-shadow(0 2px 0 #778fa7) drop-shadow(0 3px 0 #667d95) drop-shadow(0 7px 8px #47617c26)
}

h1 {
    font-size: clamp(55px,6vw,88px);
    line-height: 1.4;
    margin: 18px 0
}

.accent:after {
    border-color: #809dbc;
    bottom: -3px
}

.copy p {
    margin: 20px 0 27px
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin-top: 32px;
    border: 0;
    background: none;
    color: #586d83;
    font-size: 11px
}

.scroll-cue small {
    display: block;
    font-size: 7px;
    letter-spacing: 1.8px;
    margin-top: 7px;
    direction: ltr
}

.mouse {
    display: block;
    border: 1px solid #889db3;
    height: 34px;
    width: 21px;
    border-radius: 15px
}

.mouse i {
    display: block;
    width: 3px;
    height: 7px;
    margin: 7px auto;
    background: #637e9a;
    border-radius: 2px;
    animation: wheel 1.6s infinite
}

.scroll-cue b {
    font-size: 20px;
    font-weight: 300;
    margin-right: 12px
}

.scene-label {
    top: 3px
}

.scene-foot {
    bottom: 0;
    letter-spacing: 1px;
    direction: rtl;
    font-size: 10px
}

.scene-foot>span {
    height: auto;
    width: auto;
    background: none;
    margin: 0
}

.progress-track {
    width: 160px;
    height: 2px;
    background: #90a7bf4a;
    margin: 13px auto 0;
    direction: ltr
}

.progress-track i {
    display: block;
    width: 0;
    height: 100%;
    background: #456a90
}

.tag {
    top: 125px;
    left: 0
}

.tag2 {
    top: auto;
    bottom: 90px;
    right: -5px;
    left: auto
}

.bottom {
    padding-top: 18px;
    padding-bottom: 15px
}

.orbital {
    top: 30px;
    width: 430px;
    height: 430px
}

.orbit2 {
    top: 190px;
    width: 510px;
    height: 190px
}

.floor {
    bottom: 35px
}

.b1 {
    top: 30px
}

.endnote {
    position: absolute;
    bottom: 9px;
    right: 64px;
    font-size: 8px;
    color: #8092a4
}

.axis {
    transition: opacity .4s
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 0
    }

    40% {
        opacity: 1
    }

    100% {
        transform: translateY(12px);
        opacity: 0
    }
}

@media(max-width: 1100px) {
    .hero {
        padding-left:30px;
        padding-right: 30px
    }

    .orbital {
        width: 350px;
        height: 350px
    }

    .orbit2 {
        width: 420px;
        height: 150px
    }

    .tag {
        left: -10px
    }

    .tag2 {
        right: -8px
    }

    h1 {
        font-size: 65px
    }
}

@media(max-width: 760px) {
    .page {
        height:260svh
    }

    header {
        height: 76px;
        padding: 0 20px
    }

    .brand strong {
        font-size: 20px
    }

    .brand-sub {
        font-size: 8px
    }

    .brand small {
        font-size: 6px
    }

    .brandmark {
        width: 28px;
        height: 38px
    }

    .hero {
        height: calc(100svh - 116px);
        display: flex;
        flex-direction: column;
        padding: 5px 20px 0;
        gap: 0
    }

    .copy {
        width: 100%;
        flex: none
    }

    .eyebrow {
        font-size: 8px
    }

    h1 {
        font-size: 44px;
        line-height: 1.28;
        margin: 12px 0 14px
    }

    h1 br {
        display: none
    }

    h1 .accent {
        display: inline-block;
        margin-right: 8px
    }

    .copy p {
        font-size: 10px;
        line-height: 1.85;
        margin: 14px auto;
        max-width: 300px
    }

    .actions {
        gap: 15px
    }

    .primary {
        padding: 12px 16px;
        font-size: 10px;
        gap: 20px
    }

    .secondary {
        font-size: 9px
    }

    .play {
        width: 30px;
        height: 30px
    }

    .scroll-cue {
        margin: 15px auto 0;
        font-size: 9px;
        gap: 9px
    }

    .scroll-cue small {
        font-size: 6px;
        letter-spacing: 1px
    }

    .mouse {
        height: 27px;
        width: 17px
    }

    .scene {
        flex: 1;
        min-height: 240px;
        max-height: 460px;
        height: auto;
        width: 100%;
        margin: 0;
        transform: none
    }

    .scene-label {
        display: none
    }

    .assembly {
        inset: -23px -20px 0
    }

    .orbital {
        width: 250px;
        height: 250px;
        top: 10px
    }

    .orbit2 {
        width: 310px;
        height: 110px;
        top: 120px
    }

    .tag {
        top: 55px;
        padding: 9px;
        left: 0;
        border-radius: 13px
    }

    .tag2 {
        top: auto;
        bottom: 52px;
        right: 0;
        left: auto
    }

    .tag strong {
        font-size: 8px
    }

    .tag small {
        font-size: 5px
    }

    .tag .spark {
        font-size: 22px
    }

    .tag2 .icon {
        height: 26px;
        width: 26px
    }

    .b1 {
        width: 35px;
        height: 35px;
        top: 17px;
        right: 30px
    }

    .b2 {
        width: 24px;
        height: 24px;
        bottom: 55px;
        left: 35px
    }

    .cross {
        font-size: 28px;
        bottom: 105px
    }

    .scene-foot {
        font-size: 8px;
        bottom: 4px
    }

    .progress-track {
        margin-top: 7px;
        width: 110px
    }

    .bottom {
        margin: 0 20px;
        padding: 8px 0;
        gap: 20px;
        flex-wrap: nowrap;
        height: 40px
    }

    .bottom-title,.bottom .service:last-of-type {
        display: none
    }

    .service {
        font-size: 8px;
        gap: 5px
    }

    .service b {
        font-size: 15px
    }

    .floor {
        width: 150px;
        bottom: 30px
    }
}

@media(max-width: 380px),(max-height:700px) and (max-width:760px) {
    header {
        height:65px
    }

    .hero {
        height: calc(100svh - 105px)
    }

    h1 {
        font-size: 36px;
        margin: 10px 0
    }

    .copy p {
        margin: 9px auto
    }

    .scroll-cue {
        margin-top: 10px
    }

    .scene {
        min-height: 200px
    }

    .orbital {
        height: 210px;
        width: 210px
    }

    .orbit2 {
        height: 95px;
        width: 270px;
        top: 100px
    }

    .tag {
        top: 35px
    }

    .tag2 {
        top: auto;
        bottom: 38px
    }
}

/* Pearl glass controls and dimensional choreography */
header {
    padding-inline:64px}

.hero {
    column-gap: 44px
}

.copy {
    padding-left: 0
}

.copy p {
    line-height: 2.1;
    margin-top: 24px;
    margin-bottom: 32px;
    max-width: 410px
}

.actions {
    gap: 16px
}

.primary,.topcta,.secondary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #fffdf5;
    border-radius: 20px;
    min-height: 58px;
    padding: 10px 12px 10px 22px;
    gap: 20px;
    color: #243f5b;
    background: linear-gradient(135deg,#ffffffbc 0%,#e4ecf585 38%,#b1c4d883 100%);
    backdrop-filter: blur(18px);
    box-shadow: inset 0 2px 1px #fff,inset 0 -3px 4px #4f6e8f20,0 7px 0 -4px #90a5ba5e,0 14px 30px #2d476310;
    transition: transform .3s,box-shadow .3s,background .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 12px
}

.primary:before,.topcta:before,.secondary:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg,transparent 25%,#ffffff9c 48%,transparent 70%);
    transform: translateX(130%);
    transition: transform .65s
}

.primary:hover,.topcta:hover,.secondary:hover {
    background: linear-gradient(135deg,#fff,#d2e1f0ad);
    transform: translateY(-3px);
    box-shadow: inset 0 2px 1px white,inset 0 -2px 5px #657e9822,0 10px 0 -6px #94a9bf,0 18px 35px #40587020
}

.primary:hover:before,.topcta:hover:before,.secondary:hover:before {
    transform: translateX(-130%)
}

.primary:active,.topcta:active,.secondary:active {
    transform: translateY(1px)
}

.button-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(145deg,#fafcfe,#c0cfdf);
    border: 1px solid #fff;
    box-shadow: inset 1px 1px 2px white,1px 3px 5px #4a668320;
    display: grid;
    place-items: center;
    flex: none
}

.button-icon svg {
    width: 20px;
    height: 20px;
    stroke: #476686;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 0 white)
}

.topcta {
    min-height: 50px;
    font-size: 11px;
    padding: 7px 9px 7px 18px;
    gap: 19px;
    border-radius: 17px
}

.secondary {
    min-height: 58px;
    padding: 10px 17px;
    font-size: 11px;
    gap: 12px;
    background: linear-gradient(135deg,#fff9,#e9eff648);
    box-shadow: inset 0 1px 1px white,0 8px 20px #2d476308
}

.scroll-cue {
    margin-top: 40px
}

.scene {
    perspective: 1000px
}

.assembly {
    inset: -25px -34px -15px;
    transform-origin: 50% 60%;
    will-change: transform;
    filter: drop-shadow(12px 24px 16px #2846662b)
}

.tag {
    padding: 16px 20px;
    left: -18px;
    top: 136px;
    will-change: transform
}

.tag2 {
    left: auto;
    right: -12px;
    top: auto;
    bottom: 88px
}

.glass {
    border-radius: 20px;
    background: linear-gradient(125deg,#ffffffcd,#e9f0f857);
    box-shadow: inset 1px 2px 2px #fff,0 16px 35px #2d507410
}

.orbital {
    border-color: #fff9;
    box-shadow: 0 0 0 1px #87a0ba0d,inset 0 0 40px #fff2
}

.floor {
    transition: opacity .2s;
    filter: blur(16px)
}

.shine-sweep {
    opacity: 0;
    transform: translateX(-170px) skewX(-20deg)
}

.tooth-spark {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center
}

.assembled .shine-sweep {
    animation: polish 1.25s ease-in-out both
}

.assembled .tooth-spark {
    animation: twinkle 1.1s ease-in-out .48s both
}

.assembled .spark-small {
    animation-delay: .76s
}

.assembled .assembly {
    filter: drop-shadow(12px 24px 16px #2846662b) drop-shadow(0 0 16px #fff8)
}

@keyframes polish {
    0% {
        opacity: 0;
        transform: translateX(-170px) skewX(-20deg)
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    100% {
        opacity: 0;
        transform: translateX(370px) skewX(-20deg)
    }
}

@keyframes twinkle {
    0%,100% {
        opacity: 0;
        scale: .3;
        rotate: -15deg
    }

    45% {
        opacity: 1;
        scale: 1.15;
        rotate: 0deg
    }

    65% {
        opacity: .9;
        scale: 1;
        rotate: 5deg
    }
}

@media(max-width: 1100px) {
    header {
        padding-inline:32px
    }

    .hero {
        column-gap: 24px
    }

    .actions {
        gap: 12px;
        flex-wrap: wrap
    }

    .primary,.secondary {
        font-size: 11px;
        padding-inline:12px;gap: 12px
    }

    .tag {
        left: 0
    }

    .tag2 {
        right: 0
    }

    .assembly {
        inset: -15px -18px 0
    }
}

@media(max-width: 760px) {
    header {
        padding-inline:20px
    }

    .topcta {
        min-height: 44px;
        padding: 6px 7px 6px 13px;
        font-size: 9px;
        gap: 10px;
        border-radius: 15px
    }

    .topcta .button-icon {
        width: 29px;
        height: 29px;
        border-radius: 9px
    }

    .hero {
        padding: 10px 20px 0;
        gap: 4px
    }

    .copy p {
        font-size: 10px;
        margin: 16px auto 20px;
        line-height: 1.85
    }

    .actions {
        gap: 10px;
        flex-wrap: nowrap
    }

    .primary,.secondary {
        min-height: 48px;
        font-size: 9px;
        padding: 7px 10px;
        gap: 10px;
        border-radius: 15px
    }

    .button-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px
    }

    .button-icon svg {
        width: 18px;
        height: 18px
    }

    .scroll-cue {
        margin-top: 20px
    }

    .scene {
        min-height: 220px
    }

    .assembly {
        inset: -22px -15px -4px
    }

    .tag {
        top: 48px;
        left: 0;
        padding: 10px 12px;
        border-radius: 14px
    }

    .tag2 {
        top: auto;
        left: auto;
        right: 0;
        bottom: 48px;
        padding: 10px 12px
    }

    .tag strong {
        font-size: 7.5px
    }

    .tag small {
        font-size: 5px
    }

    .bottom {
        gap: 18px
    }
}

@media(max-height: 720px) and (max-width:760px) {
    .hero {
        padding-top:4px;
        gap: 0
    }

    .copy p {
        margin: 10px auto 12px
    }

    h1 {
        font-size: 34px
    }

    .scroll-cue {
        margin-top: 12px
    }

    .scene {
        min-height: 180px
    }

    .tag {
        top: 25px
    }

    .tag2 {
        top: auto;
        bottom: 36px
    }

    .primary,.secondary {
        min-height: 43px
    }

    .assembly {
        inset: -15px -10px 0
    }
}

/* Three-act smile story */
.page {
    height: 310svh
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.story-title {
    position: relative;
    height: 210px;
    margin: 24px 0 16px;
    font-size: clamp(44px,4.7vw,65px);
    letter-spacing: -2px;
    line-height: 1.6
}

.title-frame {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
    transition: opacity .55s,transform .7s cubic-bezier(.2,.7,.3,1),filter .55s;
    pointer-events: none
}

.title-frame.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0)
}

.title-first {
    color: #304861;
    font-weight: 600;
    font-size: .85em;
    letter-spacing: -1.8px
}

.title-frame .glass-title {
    font-size: 1.1em;
    line-height: 1.5;
    width: fit-content
}

.copy p {
    margin: 16px 0 32px
}

.scene-aura {
    position: absolute;
    inset: 40px 0;
    background: radial-gradient(ellipse,#ffffff75,transparent 64%);
    border-radius: 50%;
    opacity: .35;
    transition: opacity 1s;
    pointer-events: none
}

.assembled .scene-aura {
    opacity: 1
}

.leaders path {
    stroke: #748eaa;
    stroke-width: .8;
    fill: none;
    opacity: .6;
    stroke-dasharray: 3 3
}

.leaders circle {
    fill: #f1f7fd;
    stroke: #7f9bb8;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px #edf4fc)
}

.join-wave ellipse {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center
}

.assembled .join-wave ellipse {
    animation: join-light 1.4s cubic-bezier(.15,.6,.3,1) both
}

.assembled .join-wave ellipse:nth-child(2) {
    animation-delay: .17s;
    stroke: #acc5df;
    stroke-width: 1
}

.viewport.is-complete .actions .primary:before {
    animation: cta-light 1.5s ease-in-out .7s both
}

.viewport.is-complete .actions .primary {
    border-color: white;
    box-shadow: inset 0 2px 1px white,inset 0 -3px 4px #4f6e8f20,0 7px 0 -4px #90a5ba5e,0 14px 32px #4f6e8f33
}

.viewport.is-complete .calendar {
    animation: calendar-glow 1.5s ease-out .8s both
}

.tag,.tag2 {
    transition: box-shadow .8s
}

.assembled .tag,.assembled .tag2 {
    box-shadow: inset 1px 2px 2px #fff,0 16px 35px #2d507408
}

.shine-sweep {
    mix-blend-mode: screen
}

.scene-foot {
    font-size: 9px
}

.copy {
    min-width: 0
}

@keyframes join-light {
    0% {
        opacity: 0;
        scale: .5
    }

    20% {
        opacity: .9
    }

    100% {
        opacity: 0;
        scale: 4.4 3
    }
}

@keyframes cta-light {
    0% {
        transform: translateX(130%)
    }

    100% {
        transform: translateX(-130%)
    }
}

@keyframes calendar-glow {
    0%,100% {
        filter: drop-shadow(0 0 0 #fff0)
    }

    45% {
        filter: drop-shadow(0 0 9px #fff)
    }
}

@media(min-width: 1500px) {
    .story-title {
        height:250px;
        font-size: 72px
    }
}

@media(max-width: 1100px) {
    .story-title {
        font-size:48px;
        height: 185px
    }

    .hero {
        column-gap: 30px
    }
}

@media(max-width: 760px) {
    .page {
        height:300svh
    }

    .story-title {
        height: 110px;
        font-size: 33px;
        line-height: 1.4;
        margin: 12px 0
    }

    .title-frame {
        align-items: center
    }

    .title-first {
        font-size: .9em;
        letter-spacing: -1px
    }

    .title-frame .glass-title {
        font-size: 1.12em;
        line-height: 1.5
    }

    .copy p {
        margin: 10px auto 16px
    }

    .scroll-cue {
        margin-top: 15px
    }

    .scene {
        min-height: 200px
    }

    .leaders path {
        stroke-width: 1
    }

    .tag strong {
        font-size: 8px
    }

    .scene-foot {
        font-size: 7px
    }

    .assembly {
        inset: -20px -12px 0
    }
}

@media(max-height: 720px) and (max-width:760px) {
    .story-title {
        height:90px;
        font-size: 29px;
        margin: 8px 0
    }

    .copy p {
        margin: 8px auto 12px;
        font-size: 9px
    }

    .scroll-cue {
        margin-top: 10px
    }

    .scene {
        min-height: 170px
    }

    .tag {
        padding: 8px 10px
    }

    .tag2 {
        padding: 8px 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    .title-frame {
        transition: none
    }

    .join-wave,.shine-sweep,.tooth-spark {
        display: none
    }

    .viewport.is-complete .primary:before {
        animation: none
    }
}

/* Ice blue / polished titanium */
:root {
    --ink: #123653;
    --muted: #5c7891;
    --green: #286aa7;
    --line: #bdd5ed
}

body {
    background: #eaf2fb;
    color: var(--ink)
}

.page {
    background: #eaf2fb
}

.viewport {
    background: radial-gradient(ellipse at 23% 45%,#a9d2f385 0,transparent 47%),radial-gradient(ellipse at 93% 15%,#e8eafb 0,transparent 48%),linear-gradient(130deg,#eef7ff,#edf3fc 65%,#dceafd)
}

#atmosphere {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none
}

.noise {
    opacity: .08
}

.hero,header,.bottom {
    z-index: 1
}

.brand {
    width: 48px;
    height: 50px;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(140deg,#ffffffc4,#bedcfa55);
    border: 1px solid #fff;
    box-shadow: inset 1px 2px 2px white,0 10px 25px #346b9e14
}

.brandmark {
    color: #467da9;
    width: 29px;
    height: 35px
}

.nav button {
    color: #456a8b
}

.eyebrow {
    color: #3b6c95
}

.dot {
    background: #408cca;
    box-shadow: 0 0 0 5px #5794d314
}

.copy p {
    color: #56708b
}

.title-first {
    color: #244d73
}

.glass-title {
    background-image: linear-gradient(155deg,#ffffff 0%,#ccedff 14%,#779fc6 28%,#f9ffff 43%,#a5d4f6 56%,#4376aa 79%,#bce6ff 95%);
    -webkit-text-stroke: 1px #effaff;
    filter: drop-shadow(0 1px 0 #40648f) drop-shadow(0 2px 0 #7aa9cd) drop-shadow(0 4px 0 #527da6) drop-shadow(0 10px 9px #285c8538)
}

.title-frame .glass-title {
    position: relative
}

.primary,.secondary,.topcta {
    color: #24557e;
    background: linear-gradient(130deg,#ffffffdd,#dceeff8c 48%,#9bc6ee85);
    border-color: #ffffff;
    box-shadow: inset 0 2px 1px white,inset 0 -3px 5px #4d7eaa25,0 7px 0 -4px #7fa4c765,0 14px 30px #315b861c
}

.primary:hover,.secondary:hover,.topcta:hover {
    background: linear-gradient(135deg,#fff,#b5dcf7b3);
    box-shadow: inset 0 2px 1px white,0 18px 35px #427fb32b
}

.primary {
    min-width: 170px
}

.button-icon {
    background: linear-gradient(135deg,#ffffff,#c3e5fc 48%,#88b3d9);
    box-shadow: inset 1px 2px 2px white,inset -1px -2px 3px #577faa30,0 4px 7px #35689025
}

.button-icon svg {
    stroke: #2e6695;
    filter: drop-shadow(0 1px 0 white)
}

.glass {
    background: linear-gradient(120deg,#ffffffcf,#daedff75);
    border-color: #fff;
    box-shadow: inset 1px 2px 2px white,0 18px 35px #315e8a20;
    color: #284e72
}

.tag small {
    color: #5d81a5
}

.tag .spark {
    color: #4084bc
}

.tag2 .icon {
    background: linear-gradient(140deg,#fff,#b6d6f0);
    color: #397ab0
}

.scroll-cue {
    color: #4879a1
}

.mouse {
    border-color: #7fa8cf
}

.mouse i {
    background: #5689ba
}

.scene-label,.scene-foot {
    color: #47779e
}

.progress-track {
    background: #7da5ce38
}

.progress-track i {
    background: #4b8cce;
    box-shadow: 0 0 8px #6db9ff
}

.orbital {
    border-color: #ffffffcb;
    box-shadow: inset 0 0 30px #e1f4ff55,0 0 2px #72a4da69
}

.scene-aura {
    background: radial-gradient(ellipse,#ffffff8c,transparent 65%)
}

.floor {
    background: #38699b35
}

.leaders path {
    stroke: #4b87bd;
    opacity: .7
}

.leaders circle {
    stroke: #72a9d3;
    fill: #f5fcff;
    filter: drop-shadow(0 0 4px #59b2ff)
}

.viewport.is-complete .actions .primary {
    box-shadow: inset 0 2px 1px white,inset 0 -3px 4px #416c9c25,0 7px 0 -4px #789dc56e,0 14px 32px #4a8fcb40
}

.bubble {
    border-color: #fff;
    box-shadow: inset -4px -6px 9px #618bb42b,inset 2px 3px 5px #fff,3px 8px 13px #426d941a;
    background: radial-gradient(circle at 28% 22%,white 0,#ffffffa3 9%,#b4ddff16 37%,#6ca7dc30 65%,#ffffffb3 87%)
}

.cross {
    color: #f5fbff;
    filter: drop-shadow(2px 4px 2px #6591bf66)
}

dialog {
    background: #edf6ff;
    color: #204469
}

dialog p {
    color: #5b7590
}

.close {
    background: #d7e8f7;
    color: #315c87
}

.bottom {
    max-width: 1272px;
    margin-inline:auto;padding: 12px 0;
    height: 78px;
    gap: 24px;
    border-color: #b1c9df77;
    display: flex;
    overflow: hidden;
    mask-image: none
}

.bottom-title {
    flex: none;
    font-size: 10px;
    color: #6082a1;
    padding-inline:10px}

.ticker-window {
    flex: 1;
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: news-flow 30s linear infinite;
    will-change: transform
}

.ticker-group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
    direction: rtl
}

.service {
    display: flex!important;
    align-items: center;
    gap: 12px;
    color: #456d91!important;
    font-size: 11px!important;
    white-space: nowrap;
    min-height: 48px;
    padding: 4px 8px!important;
    background: none;
    border: 0;
    font-family: inherit
}

.service .button-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    transform: rotate(-8deg);
    transition: transform .3s
}

.service:hover .button-icon {
    transform: rotate(0deg) translateY(-3px)
}

.ticker-window:hover .ticker-track,.ticker-window:focus-within .ticker-track {
    animation-play-state: paused
}

.bottom .service:last-of-type {
    display: flex
}

.hero {
    height: calc(100svh - 208px)
}

@keyframes news-flow {
    to {
        transform: translateX(-50%)
    }
}

@media(max-width: 1100px) {
    .bottom {
        margin-inline:32px;
        gap: 15px
    }
}

@media(max-width: 760px) {
    .hero {
        height:calc(100svh - 138px);
        padding-top: 8px
    }

    .bottom {
        height: 62px;
        padding: 4px 0;
        margin-inline:20px;gap: 0
    }

    .bottom-title {
        display: none
    }

    .ticker-group {
        gap: 24px;
        padding-right: 24px
    }

    .service {
        font-size: 9px!important;
        gap: 9px
    }

    .service .button-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px
    }

    .ticker-track {
        animation-duration: 24s
    }

    .primary {
        min-width: 0
    }

    .actions .primary,.actions .secondary {
        min-width: 137px
    }

    .brand {
        width: 39px;
        height: 42px;
        border-radius: 13px
    }

    .brandmark {
        width: 24px;
        height: 31px
    }

    .scene {
        min-height: 180px
    }

    .story-title {
        height: 104px;
        margin-block:10px}

    .copy p {
        margin: 8px auto 14px
    }

    .scroll-cue {
        margin-top: 13px
    }

    .tag {
        padding: 10px
    }

    .tag2 {
        padding: 10px
    }

    .topcta {
        min-height: 42px
    }
}

@media(max-height: 720px) and (max-width:760px) {
    .hero {
        height:calc(100svh - 127px)
    }

    .story-title {
        height: 84px;
        margin-block:6px;font-size: 29px
    }

    .scene {
        min-height: 155px
    }

    .copy p {
        margin: 7px auto 10px
    }

    .scroll-cue {
        margin-top: 8px
    }

    .bottom {
        height: 62px
    }
}

@media(prefers-reduced-motion:reduce) {
    .ticker-track {
        animation: none;
        transform: none
    }

    .ticker-window {
        overflow-x: auto;
        mask-image: none
    }

    .ticker-group[aria-hidden] {
        display: none
    }
}

/* Second scene: a glass smile atelier. */
.atelier {
    height: 215svh;
    position: relative;
    background: #e4edf9;
    --reveal: 0;
    --coat: 0;
    --stage: 0;
    isolation: isolate
}

.atelier-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    background: radial-gradient(ellipse at 51% 40%,#fcffff 0,#c9e1f659 46%,transparent 67%),linear-gradient(145deg,#e8eefb,#e9f4fe 53%,#d1e6f8)
}

.atelier-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.atelier-grid {
    position: absolute;
    inset: 15% 5%;
    background-image: linear-gradient(#618bb412 1px,transparent 1px),linear-gradient(90deg,#618bb412 1px,transparent 1px);
    background-size: 64px 64px;
    transform: perspective(650px) rotateX(60deg) translateY(120px);
    mask-image: radial-gradient(ellipse,black,transparent 68%)
}

.blur-tile {
    position: absolute;
    background: linear-gradient(125deg,#ffffff98,#85baf033);
    border: 1px solid #ffffffb0;
    box-shadow: inset 1px 1px 2px #fff,20px 30px 70px #3c75ac14;
    backdrop-filter: blur(20px);
    border-radius: 40px;
    filter: blur(1px);
    transform: rotate(-20deg)
}

.tile-one {
    width: 330px;
    height: 360px;
    top: 16%;
    right: -160px;
    rotate: 12deg
}

.tile-two {
    width: 240px;
    height: 240px;
    bottom: 8%;
    left: -100px;
    rotate: -14deg
}

.tile-three {
    width: 170px;
    height: 170px;
    top: -100px;
    left: 30%;
    filter: blur(5px)
}

.ambient-orb {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 1px solid #fff9;
    border-radius: 50%;
    box-shadow: inset 6px 6px 18px white,inset -6px -10px 18px #5a93c744,0 16px 35px #5b92c214;
    background: radial-gradient(circle at 30% 25%,#fff,#addcff25 65%,#a0c4e559);
    animation: atelier-float 8s ease-in-out infinite
}

.orb-one {
    top: 15%;
    left: 5%;
    width: 65px;
    height: 65px
}

.orb-two {
    bottom: 15%;
    right: 8%;
    animation-delay: -4s;
    filter: blur(1px)
}

.atelier-inner {
    max-width: 1320px;
    height: 100%;
    margin: auto;
    padding: 40px 48px 22px;
    position: relative;
    display: flex;
    flex-direction: column
}

.atelier-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex: none;
    opacity: calc(.2 + var(--reveal)*.8);
    transform: translateY(calc((1 - var(--reveal))*30px));
    will-change: transform,opacity
}

.atelier-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    color: #5983a8;
    letter-spacing: .5px
}

.atelier-kicker>span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #599ed8;
    box-shadow: 0 0 0 5px #7baee315
}

.atelier-heading h2 {
    font-size: clamp(24px,2.6vw,38px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -1px;
    margin: 12px 0 0;
    color: #2a5478
}

.atelier-heading h2 span {
    font-weight: 800;
    background: linear-gradient(170deg,#f9ffff,#98b8d5 30%,#4276a6 58%,#bdddf7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-stroke: .5px #f3fbff;
    filter: drop-shadow(0 1px 0 #45709b) drop-shadow(0 3px 0 #c1d5e5) drop-shadow(0 7px 7px #285f8620)
}

.atelier-intro {
    font-size: 12px;
    line-height: 2.1;
    color: #6885a2;
    margin: 0;
    max-width: 280px
}

.atelier-stage {
    flex: 1;
    min-height: 340px;
    display: grid;
    grid-template-columns: 210px minmax(300px,1fr) 210px;
    align-items: center;
    gap: 12px;
    perspective: 1200px
}

.service-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 3;
    opacity: var(--reveal);
    transform: translateY(calc((1 - var(--reveal))*70px));
    transition: opacity .1s;
    will-change: transform
}

.column-left {
    transform: translateY(calc((1 - var(--reveal))*100px))
}

.atelier-card {
    position: relative;
    width: 100%;
    text-align: right;
    border: 1px solid #ffffffdf;
    border-radius: 24px;
    background: linear-gradient(125deg,#ffffffa6,#e5f3ff55);
    backdrop-filter: blur(24px);
    padding: 17px 20px 13px;
    box-shadow: inset 1px 2px 2px white,inset 0 -2px 3px #5384b00b,0 14px 24px #5184af10;
    transition: transform .4s,background .4s,box-shadow .4s,border-color .4s;
    color: #305a80;
    overflow: hidden
}

.atelier-card:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,transparent 20%,#fff9 49%,transparent 75%);
    transform: translateX(130%);
    transition: transform .8s;
    pointer-events: none
}

.atelier-card:hover:before {
    transform: translateX(-130%)
}

.atelier-card:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: inset 1px 2px 2px white,0 20px 35px #477da926
}

.atelier-card.selected {
    background: linear-gradient(130deg,#fff,#c7e8ff7a);
    border-color: #8ebde5;
    box-shadow: inset 0 0 0 2px #fff,0 0 0 4px #eff9ff80,0 15px 30px #346d9d22
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.service-gem {
    width: 43px;
    height: 43px;
    border: 1px solid white;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(140deg,#fff,#d6efff 43%,#8cb9df);
    box-shadow: inset 1px 2px 2px #fff,inset -1px -2px 3px #5183ae24,0 5px 6px #46759c25;
    transform: rotate(-7deg);
    transition: transform .4s
}

.service-gem svg {
    width: 24px;
    height: 24px;
    stroke: #5385ad;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 0 white)
}

.selected .service-gem {
    transform: rotate(0deg);
    box-shadow: inset 1px 2px 2px white,0 6px 12px #518fc742
}

.card-no {
    font-family: Arial;
    font-size: 11px;
    letter-spacing: 2px;
    color: #91acc4
}

.atelier-card strong {
    font-size: 14px;
    display: block;
    font-weight: 600
}

.card-sub {
    display: block;
    font-size: 9px;
    color: #7c95ab;
    margin-top: 5px
}

.card-bottom {
    border-top: 1px solid #d1e2f175;
    margin-top: 12px;
    padding-top: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    color: #7c9ab5
}

.card-bottom svg {
    width: 15px;
    height: 15px;
    stroke: #79a0c0;
    stroke-width: 1.5;
    margin-right: auto
}

.card-dot {
    width: 4px;
    height: 4px;
    background: #afc5d7;
    border-radius: 50%
}

.selected .card-dot {
    background: #5a9bd3;
    box-shadow: 0 0 0 3px #76abe521
}

.selected .card-action {
    color: #4b88ba
}

.smile-showcase {
    position: relative;
    align-self: stretch;
    min-height: 360px;
    display: grid;
    place-items: center;
    perspective: 1100px;
    isolation: isolate
}

.showcase-halo {
    position: absolute;
    inset: 3% -10%;
    background: radial-gradient(ellipse,#fff9,transparent 66%);
    pointer-events: none
}

.showcase-orbit {
    position: absolute;
    width: 83%;
    height: 70%;
    border: 1px solid #fff9;
    border-radius: 50%;
    top: 15%;
    left: 9%;
    box-shadow: inset 0 0 30px #ffffff14;
    transform: rotate(-20deg);
    pointer-events: none
}

.orbit-b {
    height: 33%;
    width: 100%;
    left: 0;
    top: 34%;
    transform: rotate(23deg);
    border-color: #a6c9e355
}

.showcase-label {
    position: absolute;
    top: 3%;
    left: 0;
    right: 0;
    text-align: center;
    font-family: Arial;
    font-size: 8px;
    letter-spacing: 3px;
    color: #86a6c0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.showcase-label>span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #70a1c9
}

.sculpture-tilt {
    width: 123%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .65s cubic-bezier(.2,.6,.2,1);
    z-index: 1;
    pointer-events: none
}

.smile-sculpture {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(8px 18px 12px #4d7cab25)
}

.smile-object {
    transform: translateY(calc((1 - var(--reveal))*-25px));
    opacity: var(--reveal)
}

.glass-podium {
    transform: translateY(calc((1 - var(--reveal))*70px));
    opacity: var(--reveal)
}

.podium-ring {
    animation: podium-light 12s linear infinite
}

.veneer {
    transform: translate(0,calc((1 - var(--coat))*-87px));
    opacity: calc(.7 + .3*var(--coat));
    transition: opacity .6s,transform .8s cubic-bezier(.18,.65,.25,1);
    filter: drop-shadow(0 5px 3px #4d8cc229)
}

.braces,.implant-detail,.care-field {
    opacity: 0;
    transition: opacity .6s,transform .8s;
    pointer-events: none
}

.braces {
    transform: translateY(30px)
}

.natural-tooth {
    transition: opacity .6s,transform .8s
}

.smile-showcase:not([data-mode="beauty"]) .veneer {
    opacity: 0;
    transform: translateY(-90px)
}

.smile-showcase[data-mode="ortho"] .braces {
    opacity: 1;
    transform: translateY(0)
}

.smile-showcase[data-mode="implant"] .implant-detail {
    opacity: 1;
    transform: translateY(-3px)
}

.smile-showcase[data-mode="implant"] .slot-4 .natural-tooth {
    transform: translateY(-65px);
    opacity: .95
}

.smile-showcase[data-mode="care"] .care-field {
    opacity: 1
}

.care-scan {
    animation: care-scan 3s ease-in-out infinite
}

.smile-showcase[data-mode="beauty"] .tooth-slot {
    filter: drop-shadow(0 2px 2px #86aac01a)
}

.model-chip {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(120deg,#ffffffd4,#d9efff80);
    border: 1px solid white;
    box-shadow: inset 1px 1px white,0 12px 20px #366a9620;
    backdrop-filter: blur(12px);
    border-radius: 14px;
    white-space: nowrap;
    color: #4f7b9c;
    font-size: 9px;
    z-index: 2
}

.chip-star {
    font-size: 19px;
    color: #6ea3cc
}

.model-hint {
    position: absolute;
    bottom: 4%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 8px;
    color: #7c9bb5
}

.hint-dot {
    height: 4px;
    width: 4px;
    background: #7aa9ce;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #72a9db12
}

.model-caption {
    position: absolute;
    bottom: -2px;
    font-size: 7px;
    color: #9db2c4
}

.treatment-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: none;
    padding: 20px 24px;
    background: linear-gradient(120deg,#ffffffa3,#edf7ff52);
    border: 1px solid #fff;
    border-radius: 22px;
    box-shadow: inset 1px 2px 1px white,0 12px 40px #5581ac0b;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
    opacity: var(--reveal);
    transform: translateY(calc((1 - var(--reveal))*30px))
}

.summary-icon {
    height: 48px;
    width: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg,#fff,#c2def4);
    box-shadow: inset 1px 2px white,0 6px 10px #5087b126;
    flex: none;
    border: 1px solid white
}

.summary-icon svg {
    height: 26px;
    width: 26px;
    stroke: #5488b3;
    stroke-width: 1.3;
    stroke-linejoin: round
}

.summary-copy {
    flex: 1;
    min-width: 0
}

.summary-copy>span {
    font-size: 8px;
    color: #7d9cb5
}

.summary-copy h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 3px 0 7px;
    color: #3a6487
}

.summary-copy p {
    font-size: 10px;
    line-height: 1.9;
    color: #7890a5;
    margin: 0;
    max-width: 680px
}

.summary-more {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: none;
    padding: 13px 18px;
    border: 1px solid white;
    border-radius: 14px;
    background: linear-gradient(135deg,#fff,#c9e3f89e);
    color: #4f7c9e;
    font-size: 10px;
    box-shadow: inset 0 1px white,0 5px 12px #467baa14
}

.summary-more svg {
    width: 19px;
    height: 19px;
    stroke: #5887ae;
    stroke-width: 1.5
}

.summary-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px #467baa24
}

.atelier-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    font-size: 8px;
    color: #87a1b7
}

.atelier-progress {
    height: 2px;
    width: 120px;
    background: #a4c0d432
}

.atelier-progress i {
    display: block;
    height: 100%;
    width: calc(var(--stage)*100%);
    background: #7daed5;
    box-shadow: 0 0 6px #8acaff
}

.atelier-footer-en {
    font-family: Arial;
    font-size: 7px;
    letter-spacing: 2px
}

.summary-copy.switching {
    animation: summary-in .5s ease both
}

@keyframes summary-in {
    from {
        opacity: .2;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes atelier-float {
    50% {
        translate: 0 -18px;
        rotate: 8deg
    }
}

@keyframes podium-light {
    to {
        stroke-dashoffset: -1110
    }
}

@keyframes care-scan {
    0%,100% {
        transform: translateY(-90px);
        opacity: 0
    }

    25%,75% {
        opacity: .8
    }

    50% {
        transform: translateY(90px)
    }
}

@media(min-width: 1500px) {
    .atelier-inner {
        padding-top:55px;
        padding-bottom: 30px
    }

    .atelier-stage {
        grid-template-columns: 230px minmax(300px,1fr) 230px
    }

    .atelier-card {
        padding: 22px
    }

    .atelier-heading h2 {
        font-size: 42px
    }
}

@media(max-width: 1100px) {
    .atelier-inner {
        padding-inline:30px
    }

    .atelier-stage {
        grid-template-columns: 175px minmax(250px,1fr) 175px;
        gap: 0
    }

    .atelier-card {
        padding: 14px 16px
    }

    .atelier-heading h2 {
        font-size: 30px
    }

    .service-column {
        gap: 14px
    }

    .sculpture-tilt {
        width: 130%
    }

    .treatment-summary {
        padding: 17px 20px
    }

    .model-chip {
        bottom: 19%
    }
}

@media(max-width: 760px) {
    .atelier {
        height:205svh
    }

    .atelier-sticky {
        height: 100svh;
        min-height: 650px
    }

    .atelier-inner {
        padding: 24px 20px 15px
    }

    .atelier-heading {
        display: block;
        text-align: center
    }

    .atelier-kicker {
        justify-content: center;
        font-size: 8px
    }

    .atelier-heading h2 {
        font-size: 25px;
        line-height: 1.5;
        margin-top: 9px
    }

    .atelier-heading h2 br {
        display: none
    }

    .atelier-heading h2 span {
        display: block
    }

    .atelier-intro {
        max-width: none;
        font-size: 9px;
        line-height: 1.8;
        margin: 10px 0 0
    }

    .atelier-intro br {
        display: none
    }

    .atelier-stage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto minmax(210px,1fr);
        flex: 1;
        min-height: 0;
        gap: 12px 9px;
        padding-top: 15px
    }

    .service-column {
        display: contents
    }

    .atelier-card {
        padding: 10px 12px;
        border-radius: 16px;
        transform: translateY(calc((1 - var(--reveal))*30px));
        opacity: var(--reveal);
        height: 70px;
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: 1fr 1fr;
        column-gap: 10px
    }

    .card-top {
        grid-column: 1;
        grid-row: 1/3;
        margin: 0;
        align-self: center
    }

    .service-gem {
        width: 34px;
        height: 34px;
        border-radius: 11px
    }

    .service-gem svg {
        width: 20px;
        height: 20px
    }

    .card-no,.card-bottom {
        display: none
    }

    .atelier-card strong {
        grid-column: 2;
        font-size: 10px;
        align-self: end;
        white-space: nowrap
    }

    .card-sub {
        grid-column: 2;
        font-size: 7px;
        margin-top: 4px;
        align-self: start;
        white-space: nowrap
    }

    .atelier-card[data-treatment="beauty"] {
        grid-row: 1;
        grid-column: 1
    }

    .atelier-card[data-treatment="implant"] {
        grid-row: 2;
        grid-column: 1
    }

    .atelier-card[data-treatment="ortho"] {
        grid-row: 1;
        grid-column: 2
    }

    .atelier-card[data-treatment="care"] {
        grid-row: 2;
        grid-column: 2
    }

    .atelier-stage {
        grid-template-rows: 70px 70px minmax(210px,1fr)
    }

    .smile-showcase {
        grid-column: 1/3;
        grid-row: 3;
        min-height: 210px;
        margin-top: -8px
    }

    .sculpture-tilt {
        width: 116%;
        max-width: 530px
    }

    .showcase-label {
        top: 3%;
        font-size: 6px;
        letter-spacing: 2px
    }

    .showcase-orbit {
        top: 4%;
        height: 85%
    }

    .orbit-b {
        top: 35%;
        height: 35%
    }

    .model-chip {
        bottom: 16%;
        padding: 5px 10px;
        border-radius: 10px;
        font-size: 7px;
        gap: 5px
    }

    .chip-star {
        font-size: 14px
    }

    .model-hint {
        bottom: 2%;
        font-size: 7px
    }

    .model-caption {
        display: none
    }

    .treatment-summary {
        padding: 13px 14px;
        gap: 10px;
        border-radius: 17px;
        flex-wrap: wrap;
        margin-top: 6px
    }

    .summary-icon {
        width: 32px;
        height: 32px;
        border-radius: 11px
    }

    .summary-icon svg {
        width: 20px;
        height: 20px
    }

    .summary-copy {
        flex-basis: calc(100% - 44px)
    }

    .summary-copy>span {
        display: none
    }

    .summary-copy h3 {
        font-size: 11px;
        margin: 0 0 4px
    }

    .summary-copy p {
        font-size: 8px;
        line-height: 1.7
    }

    .summary-more {
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 8px;
        gap: 15px;
        margin-right: auto
    }

    .summary-more svg {
        width: 14px;
        height: 14px
    }

    .atelier-footer {
        padding-top: 12px;
        font-size: 7px
    }

    .atelier-footer-en {
        display: none
    }

    .atelier-progress {
        width: 80px
    }

    .tile-one {
        width: 200px;
        height: 240px;
        right: -100px;
        top: 25%
    }

    .tile-two {
        width: 180px;
        height: 180px;
        left: -100px
    }

    .orb-one {
        width: 40px;
        height: 40px;
        top: 12%;
        left: -8px
    }

    .orb-two {
        width: 70px;
        height: 70px;
        right: -20px;
        bottom: 15%
    }
}

@media(max-height: 740px) and (max-width:760px) {
    .atelier-sticky {
        min-height:610px
    }

    .atelier-inner {
        padding-top: 17px;
        padding-bottom: 10px
    }

    .atelier-heading h2 {
        font-size: 22px
    }

    .atelier-intro {
        margin-top: 5px;
        font-size: 8px
    }

    .atelier-stage {
        padding-top: 10px;
        grid-template-rows: 56px 56px minmax(170px,1fr);
        gap: 8px
    }

    .atelier-card {
        height: 56px;
        padding: 7px 10px
    }

    .service-gem {
        height: 30px;
        width: 30px
    }

    .smile-showcase {
        min-height: 170px
    }

    .sculpture-tilt {
        width: 98%
    }

    .treatment-summary {
        padding: 9px 12px;
        gap: 6px
    }

    .summary-more {
        padding: 6px 10px
    }

    .summary-copy p {
        font-size: 7px
    }

    .atelier-footer {
        padding-top: 9px
    }
}

@media(prefers-reduced-motion:reduce) {
    .atelier {
        height: auto;
        --reveal: 1!important;
        --coat: 1!important;
        --stage: 1!important
    }

    .atelier-sticky {
        position: relative;
        min-height: 800px;
        height: auto
    }

    .atelier-inner {
        min-height: 800px
    }

    .atelier-stage {
        min-height: 400px
    }

    .sculpture-tilt,.veneer,.natural-tooth,.braces,.atelier-card {
        transition: none!important
    }

    .atelier-bg .ambient-orb,.podium-ring,.care-scan {
        animation: none!important
    }

    .service-column {
        opacity: 1
    }

    .atelier-card {
        opacity: 1
    }

    .atelier-heading,.treatment-summary {
        opacity: 1
    }

    .summary-copy.switching {
        animation: none
    }
}

/* Third chapter: a human behind the smile. */
.about-doctor {
    height: 200svh;
    position: relative;
    background: radial-gradient(ellipse at 28% 44%,#c3ddf4,transparent 49%),linear-gradient(160deg,#f6f9fc,#e8f0f8 65%,#f8fbff);
    --ap: 0;
    isolation: isolate
}

.about-stage {
    height: 100svh;
    min-height: 720px;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center
}

.about-inner {
    width: min(1240px,100%);
    padding: 68px 64px 52px;
    margin: auto;
    position: relative;
    z-index: 2
}

.about-topline {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #6483a2;
    letter-spacing: 2px;
    border-top: 1px solid #8daec332;
    padding-top: 17px;
    margin-bottom: 35px
}

.about-topline span:first-child {
    letter-spacing: 0
}

.about-layout {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 90px;
    align-items: center
}

.about-copy {
    position: relative;
    z-index: 4
}

.about-kicker {
    font-size: 12px;
    color: #4c759e;
    display: flex;
    align-items: center;
    gap: 10px
}

.about-kicker:before {
    content: '';
    width: 6px;
    height: 6px;
    background: #59a1de;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #75b7eb19
}

.about-copy h2 {
    font-size: clamp(38px,4.4vw,65px);
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -2px;
    margin: 18px 0 20px
}

.about-copy h2 span {
    display: block;
    font-weight: 900;
    font-size: 1.22em;
    background: linear-gradient(175deg,#faffff 4%,#9ec7e6 24%,#3e719e 43%,#deefff 47%,#5a86ac 70%,#244f79);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 1px 0 white) drop-shadow(0 3px 0 #89aac6) drop-shadow(0 9px 11px #447baa38)
}

.about-intro {
    color: #62798e;
    font-size: 13px;
    line-height: 2.3;
    max-width: 405px;
    margin: 0 0 27px
}

.about-values {
    display: grid;
    gap: 9px
}

.about-value {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 17px;
    background: linear-gradient(120deg,#ffffffa8,#e5f2ff54);
    border: 1px solid #fff;
    border-radius: 17px;
    box-shadow: inset 0 -1px 2px #84b0d22b,0 7px 18px #517ca309;
    backdrop-filter: blur(18px);
    transform: translateY(var(--vy,0px));
    opacity: var(--vo,1);
    transition: box-shadow .3s
}

.about-value:hover {
    box-shadow: 0 8px 26px #528bb322
}

.about-value b {
    display: block;
    font-size: 12px;
    font-weight: 600
}

.about-value p {
    font-size: 10px;
    color: #71899d;
    line-height: 1.8;
    margin: 3px 0 0
}

.value-crystal {
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#fff,#c3e1f9 48%,#8db4d9);
    border: 1px solid #fff;
    border-radius: 12px;
    box-shadow: inset 2px 2px 4px white,inset -2px -2px 5px #7c9dbb73,3px 5px 7px #7199ba26;
    transform: rotate(-7deg)
}

.value-crystal svg {
    width: 21px;
    height: 21px;
    stroke: #477da9;
    stroke-width: 1.4;
    fill: none;
    filter: drop-shadow(0 1px 0 white)
}

.about-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 22px
}

.about-actions .primary {
    font-size: 11px;
    padding: 13px 21px
}

.about-note {
    font-size: 9px;
    color: #7b92a7
}

.portrait-world {
    position: relative;
    direction: ltr;
    perspective: 1200px;
    height: 510px;
    display: grid;
    place-items: center
}

.portrait-stack {
    position: relative;
    width: 340px;
    height: 445px;
    transform-style: preserve-3d;
    transform: rotateY(var(--ry,-6deg)) rotateX(var(--rx,2deg));
    transition: transform .3s ease-out
}

.portrait-pane {
    position: absolute;
    inset: 0;
    border: 1px solid #ffffffd9;
    border-radius: 110px 110px 32px 32px;
    background: linear-gradient(130deg,#fff8,#9ac6ee24 45%,#fff9);
    box-shadow: inset 0 0 25px #fff5,0 28px 40px #416f9a17;
    backdrop-filter: blur(9px);
    transform-origin: 50% 85%
}

.pane-back {
    transform: translate(calc(-14px - var(--ap)*29px),calc(3px - var(--ap)*7px)) rotate(calc(-3deg - var(--ap)*9deg))
}

.pane-mid {
    transform: translate(calc(14px + var(--ap)*24px),calc(9px + var(--ap)*5px)) rotate(calc(3deg + var(--ap)*8deg))
}

.portrait-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 110px 110px 30px 30px;
    border: 6px solid #f4fbffb3;
    box-shadow: 0 30px 55px #376f9c30,inset 0 0 0 1px white;
    background: #d4e6f3;
    transform: translateZ(30px)
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 31%;
    display: block;
    filter: blur(calc((1 - var(--ap))*2px));
    transform: scale(calc(1.04 - var(--ap)*.04))
}

.portrait-frame:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,transparent 25%,#ffffff75 42%,transparent 58%);
    width: 180%;
    transform: translateX(calc(-100% + var(--ap)*155%));
    pointer-events: none
}

.portrait-name {
    position: absolute;
    bottom: -22px;
    left: 35px;
    right: 35px;
    background: linear-gradient(130deg,#ffffffd9,#e3f2ff9e);
    border: 1px solid white;
    border-radius: 18px;
    padding: 16px 20px;
    direction: rtl;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 30px #456e9b19;
    transform: translateZ(60px)
}

.portrait-name strong {
    display: block;
    font-size: 20px;
    font-weight: 500
}

.portrait-name small {
    font-size: 8px;
    letter-spacing: 3px;
    color: #6b8da8
}

.portrait-orbit {
    position: absolute;
    width: 520px;
    height: 195px;
    border: 1px solid #79a4c54d;
    border-radius: 50%;
    transform: rotate(-30deg);
    pointer-events: none
}

.portrait-orbit:before {
    content: '';
    position: absolute;
    top: 22px;
    left: 65px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%,white,#84bbeb 55%,#477fb3);
    box-shadow: 0 0 18px #fff
}

.portrait-spark {
    position: absolute;
    left: 4px;
    top: 25px;
    font-size: 52px;
    color: #fff;
    text-shadow: 0 3px 2px #8ab1d3,0 0 25px #fff;
    transform: rotate(calc(var(--ap)*90deg))
}

.portrait-tag {
    position: absolute;
    right: -33px;
    top: 90px;
    padding: 15px 18px;
    border-radius: 16px;
    background: #ffffff7d;
    border: 1px solid white;
    backdrop-filter: blur(14px);
    direction: rtl;
    box-shadow: 0 12px 30px #4777a419;
    transform: translateZ(70px);
    font-size: 10px;
    color: #567e9e
}

.portrait-tag span {
    color: #8babc3;
    display: block;
    font-size: 8px;
    margin-top: 4px
}

.about-ambient {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 55px;
    border: 1px solid #fff9;
    background: linear-gradient(135deg,#ffffff90,#8cc8fa1a);
    filter: blur(4px);
    transform: rotate(calc(25deg + var(--ap)*18deg));
    left: -180px;
    top: 12%
}

.about-ambient.second {
    width: 180px;
    height: 180px;
    left: auto;
    right: -100px;
    top: 75%;
    filter: blur(7px)
}

.about-chapter {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    align-items: center;
    color: #718fa7;
    font-size: 9px
}

.about-chapter i {
    height: 1px;
    flex: 1;
    background: #86a8c335;
    position: relative;
    overflow: hidden
}

.about-chapter i:after {
    content: '';
    position: absolute;
    inset: 0;
    background: #679ec8;
    transform: scaleX(var(--ap));
    transform-origin: right
}

.about-chapter small {
    letter-spacing: 2px;
    font-size: 8px
}

.about-end-glow {
    position: absolute;
    inset: -6px;
    border: 1px solid #fff;
    border-radius: 116px 116px 36px 36px;
    box-shadow: 0 0 25px #88c8ff,inset 0 0 20px #fff;
    opacity: var(--glow,0);
    pointer-events: none
}

@media(max-width: 1000px) {
    .about-inner {
        padding:40px
    }

    .about-layout {
        gap: 35px
    }

    .portrait-stack {
        width: 290px;
        height: 400px
    }

    .portrait-world {
        height: 460px
    }

    .portrait-orbit {
        width: 420px
    }

    .about-copy h2 {
        font-size: 39px
    }

    .about-topline {
        margin-bottom: 22px
    }
}

@media(max-width: 760px) {
    .about-doctor {
        height:190svh
    }

    .about-stage {
        min-height: 830px
    }

    .about-inner {
        padding: 25px 23px
    }

    .about-topline {
        margin-bottom: 18px;
        font-size: 8px
    }

    .about-layout {
        display: flex;
        flex-direction: column;
        gap: 18px
    }

    .about-copy {
        display: contents
    }

    .about-kicker {
        font-size: 10px;
        align-self: flex-start
    }

    .about-copy h2 {
        font-size: 31px;
        line-height: 1.45;
        margin: -7px 0 0;
        text-align: center;
        letter-spacing: -1px
    }

    .about-copy h2 span {
        display: block;
        font-size: 1.12em
    }

    .about-intro {
        font-size: 10px;
        line-height: 2;
        text-align: center;
        margin: -8px 0 0;
        max-width: 330px
    }

    .portrait-world {
        order: 1;
        height: 330px;
        width: 100%;
        margin: 0
    }

    .portrait-stack {
        width: 230px;
        height: 300px
    }

    .portrait-frame,.portrait-pane {
        border-radius: 77px 77px 25px 25px
    }

    .portrait-frame {
        border-width: 4px
    }

    .portrait-orbit {
        width: 330px;
        height: 130px
    }

    .portrait-name {
        bottom: -13px;
        left: 27px;
        right: 27px;
        padding: 10px
    }

    .portrait-name strong {
        font-size: 16px
    }

    .portrait-name small {
        font-size: 6px
    }

    .portrait-tag {
        right: -25px;
        top: 70px;
        font-size: 8px;
        padding: 10px
    }

    .portrait-tag span {
        font-size: 6px
    }

    .portrait-spark {
        font-size: 38px;
        left: 24px;
        top: 14px
    }

    .about-values {
        order: 2;
        width: 100%;
        grid-template-columns: repeat(3,1fr);
        gap: 7px
    }

    .about-value {
        padding: 12px 7px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        border-radius: 15px
    }

    .about-value b {
        font-size: 10px
    }

    .about-value p {
        font-size: 8px;
        line-height: 1.8;
        margin-top: 5px
    }

    .value-crystal {
        width: 30px;
        height: 30px;
        border-radius: 10px
    }

    .value-crystal svg {
        width: 18px
    }

    .about-actions {
        order: 3;
        margin: 0;
        gap: 14px
    }

    .about-actions .primary {
        font-size: 10px;
        padding: 11px 20px
    }

    .about-note {
        font-size: 8px
    }

    .about-chapter {
        margin-top: 22px;
        font-size: 8px
    }

    .about-chapter small {
        font-size: 6px
    }

    .about-end-glow {
        border-radius: 81px 81px 29px 29px
    }
}

@media(prefers-reduced-motion:reduce) {
    .portrait-stack {
        transform: none!important
    }

    .portrait-frame img {
        filter: none!important;
        transform: none!important
    }

    .about-value {
        opacity: 1!important;
        transform: none!important
    }
}

.services-universe {
    --hue: 198;
    --reveal: 0;
    position: relative;
    height: 190svh;
    background: #071327;
    color: #eef6ff;
    isolation: isolate
}

.universe-stage {
    position: sticky;
    top: 0;
    min-height: 800px;
    height: 100svh;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 48%,hsla(var(--hue),80%,42%,.22),transparent 54%);
    transition: background 1s
}

.universe-stage:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#8ebeff05 1px,transparent 1px),linear-gradient(90deg,#8ebeff05 1px,transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse,black,transparent 75%)
}

#service-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.universe-inner {
    position: relative;
    z-index: 1;
    max-width: 1290px;
    margin: auto;
    padding: 46px 60px 30px
}

.universe-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px
}

.universe-eyebrow {
    color: #86b9de;
    font-size: 10px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 14px
}

.universe-heading h2 {
    font-size: clamp(32px,3.4vw,49px);
    line-height: 1.5;
    font-weight: 400;
    margin: 0
}

.universe-heading h2 em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(175deg,#fff 12%,#c1e8ff 30%,#61a6df 46%,#e2f7ff 49%,#6da6e4 85%);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #2c5688) drop-shadow(0 9px 16px #197bd44a)
}

.universe-heading p {
    font-size: 11px;
    line-height: 2.1;
    color: #8fa6bf;
    max-width: 255px;
    margin: 0 0 8px
}

.universe-deck {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    gap: 26px;
    position: relative;
    margin-top: 10px;
    height: 420px
}

.universe-rail {
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 3
}

.universe-card {
    --tone: 195;
    text-align: right;
    color: #e4f2ff;
    position: relative;
    padding: 20px;
    border: 1px solid hsla(var(--tone),70%,75%,.19);
    border-radius: 24px;
    background: linear-gradient(135deg,hsla(var(--tone),70%,65%,.14),#ffffff03);
    box-shadow: inset 0 1px 0 #ffffff18,0 20px 40px #0002;
    backdrop-filter: blur(20px);
    transform: translateY(calc((1 - var(--reveal))*40px));
    transition: background .4s,border-color .4s,box-shadow .4s,scale .4s
}

.universe-card:hover {
    scale: 1.025;
    border-color: hsla(var(--tone),85%,80%,.6)
}

.universe-card[aria-pressed=true] {
    background: linear-gradient(135deg,hsla(var(--tone),75%,55%,.27),#ffffff06);
    border-color: hsla(var(--tone),90%,77%,.7);
    box-shadow: inset 0 1px 0 #fff5,0 0 35px hsla(var(--tone),90%,55%,.12)
}

.universe-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.universe-card-head small {
    font-size: 9px;
    letter-spacing: 2px;
    color: hsla(var(--tone),65%,80%,.65)
}

.universe-gem {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg,#fff8,hsla(var(--tone),85%,65%,.32) 40%,hsla(var(--tone),70%,25%,.6));
    border: 1px solid #ffffff70;
    box-shadow: inset 2px 2px 7px #ffffff65,inset -3px -3px 6px #031b4477,0 8px 16px #0003;
    transform: rotate(-9deg)
}

.universe-gem svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: hsl(var(--tone),85%,86%);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px hsla(var(--tone),90%,85%,.7))
}

.universe-card strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px
}

.universe-card-sub {
    font-size: 10px;
    color: #91aac3
}

.universe-card-arrow {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: hsl(var(--tone),90%,80%)
}

.universe-model {
    min-width: 0;
    height: 420px;
    position: relative;
    perspective: 1000px;
    display: grid;
    place-items: center
}

.universe-model>svg {
    width: 100%;
    height: 420px;
    max-height: 100%;
    min-height: 0;
    overflow: visible;
    filter: drop-shadow(0 25px 25px #0004)
}

.universe-model-label {
    position: absolute;
    bottom: 0;
    font-size: 8px;
    letter-spacing: 3px;
    color: #91b3d2;
    direction: ltr
}

.u-orbit {
    position: absolute;
    width: 110%;
    height: 40%;
    border: 1px solid hsla(var(--hue),70%,65%,.25);
    border-radius: 50%;
    transform: rotate(-25deg);
    pointer-events: none;
    transition: border-color .6s
}

.u-orbit:before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 7px;
    height: 7px;
    background: #c4efff;
    border-radius: 50%;
    box-shadow: 0 0 20px #63bfff
}

.u-orbit.two {
    transform: rotate(30deg);
    width: 100%;
    height: 42%;
    opacity: .5
}

.u-visual {
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none
}

.u-visual.active {
    opacity: 1
}

.u-shell {
    transform: translateY(-42px);
    opacity: .5;
    transition: transform 1s cubic-bezier(.22,1,.36,1),opacity 1s
}

.active .u-shell {
    transform: translateY(0);
    opacity: 1
}

.u-screw {
    transform: translateY(40px);
    transition: transform 1s
}

.active .u-screw {
    transform: translateY(0)
}

.u-crown {
    transform: translateY(-45px);
    transition: transform 1.1s
}

.active .u-crown {
    transform: translateY(0)
}

.u-ortho-tooth {
    transform: translateY(var(--shift)) rotate(var(--turn));
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 1.4s
}

.active .u-ortho-tooth {
    transform: translateY(0) rotate(0deg)
}

.u-shield {
    transform-origin: center;
    transform: scale(.75);
    opacity: 0;
    transition: transform 1s,opacity 1s
}

.active .u-shield {
    transform: scale(1);
    opacity: 1
}

.u-star {
    transform-origin: center;
    animation: universeTwinkle 4s ease-in-out infinite
}

.universe-details {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid #b3ddff2b;
    background: linear-gradient(120deg,#91bdff13,#ffffff04);
    border-radius: 23px;
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 #ffffff14
}

.universe-details small {
    font-size: 9px;
    color: hsl(var(--hue),80%,76%)
}

.universe-details h3 {
    font-size: 21px;
    font-weight: 500;
    margin: 7px 0 0
}

.universe-details p {
    font-size: 11px;
    color: #a8bdd2;
    line-height: 2.1;
    margin: 0
}

.universe-consult {
    color: #e1f3ff;
    background: linear-gradient(135deg,#b1dcff30,#568dcc16);
    border: 1px solid #a7d8ff77;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 #fff5,0 5px 20px #0002;
    padding: 15px 18px;
    font-size: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 18px
}

.universe-consult:hover {
    background: #679ddb40
}

.universe-consult span {
    font-size: 20px
}

.universe-bottom {
    margin-top: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 8px;
    color: #7995b2
}

.universe-bottom i {
    height: 1px;
    background: #38638e66;
    flex: 1;
    overflow: hidden
}

.universe-bottom i:before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg,#a59fff,#73c5ff);
    transform: scaleX(var(--reveal));
    transform-origin: right
}

.universe-bottom small {
    font-size: 8px;
    letter-spacing: 2px
}

.universe-hint {
    display: none
}

@keyframes universeTwinkle {
    50% {
        opacity: .3;
        filter: drop-shadow(0 0 12px white)
    }
}

@media(max-width: 1050px) {
    .universe-inner {
        padding:35px
    }

    .universe-deck {
        grid-template-columns: 185px 1fr 185px;
        gap: 10px
    }

    .universe-card {
        padding: 16px
    }

    .universe-details {
        gap: 20px;
        padding: 20px
    }

    .universe-details h3 {
        font-size: 17px
    }
}

@media(max-width: 760px) {
    .services-universe {
        height:175svh
    }

    .universe-stage {
        min-height: 850px;
        height: auto
    }

    .universe-inner {
        padding: 32px 22px 25px
    }

    .universe-heading {
        display: block;
        text-align: center
    }

    .universe-eyebrow {
        font-size: 9px;
        margin-bottom: 12px
    }

    .universe-heading h2 {
        font-size: 30px;
        line-height: 1.65
    }

    .universe-heading h2 em {
        display: block
    }

    .universe-heading p {
        font-size: 10px;
        max-width: 280px;
        margin: 12px auto 0
    }

    .universe-deck {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 0
    }

    .universe-model {
        order: 0;
        height: 240px;
        width: 270px
    }

    .universe-model>svg {
        height: 240px
    }

    .universe-rail {
        display: contents
    }

    .universe-card {
        flex: 0 0 175px;
        width: 175px;
        padding: 13px;
        border-radius: 18px;
        transform: none
    }

    .universe-card-head {
        margin-bottom: 9px
    }

    .universe-card strong {
        font-size: 12px
    }

    .universe-card-sub {
        font-size: 9px
    }

    .universe-card-arrow {
        bottom: 14px;
        left: 13px
    }

    .universe-gem {
        width: 33px;
        height: 33px;
        border-radius: 11px
    }

    .universe-gem svg {
        width: 20px
    }

    .universe-mobile-cards {
        order: 1;
        display: flex;
        gap: 10px;
        overflow: auto;
        width: calc(100% + 16px);
        padding: 10px 8px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #5f7fb4 transparent
    }

    .universe-mobile-cards .universe-card {
        scroll-snap-align: center
    }

    .universe-hint {
        display: block;
        font-size: 8px;
        color: #8dacc8;
        text-align: center;
        margin: 5px 0 13px
    }

    .universe-details {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 19px 20px;
        margin-top: 0;
        border-radius: 19px
    }

    .universe-details h3 {
        font-size: 18px;
        margin-top: 5px
    }

    .universe-details p {
        font-size: 10px;
        line-height: 2
    }

    .universe-consult {
        justify-content: space-between;
        padding: 11px 15px
    }

    .universe-bottom {
        margin-top: 18px;
        font-size: 7px;
        gap: 8px
    }

    .universe-bottom small {
        font-size: 6px;
        letter-spacing: 1px
    }

    .u-orbit {
        width: 110%
    }
}

@media(prefers-reduced-motion:reduce) {
    .universe-card,.u-visual,.u-shell,.u-screw,.u-crown,.u-ortho-tooth,.u-shield {
        transition: none!important
    }

    .u-star {
        animation: none
    }

    .universe-card {
        transform: none
    }
}

/* Chapter 05 — a quiet editorial introduction to the practice. */
.practice-story {
    position: relative;
    height: 165svh;
    background: #ecf3fb;
    color: #193753;
    --scan: 0;
    isolation: isolate
}

.practice-sticky {
    height: 100svh;
    min-height: 770px;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 15% 65%,#b4d5f06b,transparent 48%),radial-gradient(ellipse at 90% 12%,#fff,transparent 65%)
}

.practice-sticky:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#527da622 .8px,transparent .8px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg,#0008,transparent 70%);
    pointer-events: none
}

.practice-inner {
    max-width: 1270px;
    width: 100%;
    padding: 55px 65px;
    margin: auto;
    position: relative;
    z-index: 2
}

.practice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #7499bb33;
    padding-top: 18px;
    font-size: 10px;
    color: #6b8aa5;
    letter-spacing: 2px
}

.practice-top span:first-child {
    letter-spacing: 0
}

.practice-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 74px;
    align-items: center;
    margin: 55px 0 45px
}

.practice-copy h2 {
    font-size: clamp(34px,3.5vw,51px);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -1px;
    margin: 0 0 25px
}

.practice-copy h2 span {
    display: block;
    font-weight: 850;
    background: linear-gradient(178deg,#faffff 8%,#b2d3ef 28%,#547da5 46%,#eefaff 49%,#5181ad 76%);
    color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 0 #a2bdd5) drop-shadow(0 6px 7px #557b9e20)
}

.practice-paragraph {
    font-size: 20px;
    line-height: 2.55;
    font-weight: 400;
    margin: 0;
    max-width: 700px;
    text-align: right
}

.practice-paragraph .story-word {
    color: #244563;
    opacity: var(--word-opacity,1);
    transition: opacity .16s
}

.practice-paragraph strong {
    font-weight: 650;
    color: #2a6d9f!important;
    background: linear-gradient(transparent 63%,#a5d2f25c 63%);
    padding: 0 2px
}

.practice-location {
    margin-top: 27px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: #4c7596;
    font-size: 11px;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 16px;
    background: #ffffff80;
    box-shadow: inset 0 -1px 2px #7398bc25,0 8px 20px #7195b210
}

.practice-location svg {
    height: 22px;
    width: 22px;
    fill: none;
    stroke: #5c8cb1;
    stroke-width: 1.5
}

.practice-location small {
    font-size: 8px;
    letter-spacing: 1.6px;
    color: #7d99b3;
    padding-right: 12px;
    border-right: 1px solid #94b1c344;
    direction: ltr
}

.scan-art {
    position: relative;
    width: 100%;
    height: 410px;
    direction: ltr;
    perspective: 1000px
}

.scan-halo {
    position: absolute;
    inset: 12% -15%;
    border: 1px solid #88b6d04d;
    border-radius: 50%;
    transform: rotate(-33deg)
}

.scan-halo:after {
    content: '';
    position: absolute;
    top: 18px;
    left: 62px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%,white,#83bfe9);
    box-shadow: 0 0 12px white
}

.scan-glass {
    position: absolute;
    inset: 23px 12px 25px;
    border: 1px solid #ffffffed;
    border-radius: 95px 95px 28px 28px;
    background: linear-gradient(140deg,#ffffffb5,#aad5f129 44%,#fff8);
    box-shadow: inset 0 0 35px #fff8,0 30px 55px #49779c20;
    transform: rotateY(-12deg) rotateX(5deg);
    backdrop-filter: blur(8px)
}

.scan-glass.back {
    transform: translate(-15px,8px) rotate(-9deg);
    opacity: .5
}

.scan-art>svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 410px;
    filter: drop-shadow(0 14px 18px #4382b726)
}

.scan-line {
    transform: translateY(calc(var(--scan)*190px));
    filter: drop-shadow(0 0 8px #63c6ff)
}

.scan-reconstruction {
    opacity: calc(.25 + var(--scan)*.75)
}

.scan-badge {
    position: absolute;
    left: -19px;
    bottom: 30px;
    padding: 15px 21px;
    border: 1px solid white;
    border-radius: 18px;
    background: #f4fbffd6;
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 27px #547a9c18;
    direction: rtl
}

.scan-badge b {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #426c8e
}

.scan-badge small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #8aa8c0;
    display: block;
    margin-top: 5px
}

.scan-coordinate {
    position: absolute;
    right: 7px;
    top: 25px;
    color: #759bb7;
    font-size: 8px;
    letter-spacing: 2px;
    writing-mode: vertical-rl
}

.scan-caption {
    font-size: 8px;
    color: #7797b0;
    position: absolute;
    bottom: -16px;
    width: 100%;
    text-align: center;
    direction: rtl
}

.practice-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #7b9fbc30;
    gap: 24px
}

.practice-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: #6183a0
}

.practice-signature i {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #89b5d7;
    box-shadow: 0 0 0 5px #8dbadd17
}

.practice-signature span:last-child {
    font-size: 8px;
    letter-spacing: 2px;
    color: #8aa4bc
}

.practice-link {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: 11px;
    color: #37698e;
    padding: 10px 0
}

.practice-link svg {
    width: 31px;
    height: 31px;
    border: 1px solid white;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(140deg,#fff,#bad4eb);
    box-shadow: inset 0 1px 1px white,0 4px 9px #7094b42b;
    stroke: #487a9e;
    fill: none;
    stroke-width: 1.5
}

.practice-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #d3e5f3
}

.practice-progress:after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg,#b2a6dc,#7dbde9);
    transform: scaleX(var(--scan));
    transform-origin: right
}

.practice-orb {
    position: absolute;
    right: -90px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 60px;
    transform: rotate(30deg);
    background: linear-gradient(140deg,#fff9,#bedaf34d);
    border: 1px solid #fff;
    filter: blur(9px);
    pointer-events: none
}

@media(max-width: 1050px) {
    .practice-inner {
        padding:45px
    }

    .practice-layout {
        gap: 35px
    }

    .practice-paragraph {
        font-size: 17px
    }

    .practice-copy h2 {
        font-size: 37px
    }

    .scan-art {
        height: 350px
    }

    .scan-art>svg {
        height: 350px
    }

    .scan-badge {
        left: 0
    }
}

@media(max-width: 760px) {
    .practice-story {
        height:175svh
    }

    .practice-sticky {
        height: auto;
        min-height: 100svh
    }

    .practice-inner {
        padding: 30px 25px 26px
    }

    .practice-top {
        font-size: 8px;
        letter-spacing: 1px;
        padding-top: 14px
    }

    .practice-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin: 25px 0 28px
    }

    .practice-copy h2 {
        font-size: 30px;
        line-height: 1.5;
        margin-bottom: 17px
    }

    .practice-copy h2 span {
        display: block;
        font-size: 1.05em
    }

    .practice-paragraph {
        font-size: 15px;
        line-height: 2.4
    }

    .practice-location {
        margin-top: 18px;
        font-size: 10px;
        padding: 9px 13px;
        gap: 8px
    }

    .practice-location small {
        font-size: 7px
    }

    .scan-art {
        width: 230px;
        height: 250px
    }

    .scan-art>svg {
        height: 250px
    }

    .scan-glass {
        border-radius: 65px 65px 20px 20px;
        inset: 6px 5px 14px
    }

    .scan-badge {
        left: -14px;
        bottom: 10px;
        padding: 10px 14px;
        border-radius: 13px
    }

    .scan-badge b {
        font-size: 10px
    }

    .scan-badge small {
        font-size: 6px
    }

    .scan-coordinate {
        font-size: 6px;
        right: 0;
        top: 5px
    }

    .scan-caption {
        font-size: 7px;
        bottom: -10px
    }

    .practice-bottom {
        gap: 8px;
        padding-top: 15px
    }

    .practice-signature {
        font-size: 9px;
        gap: 9px
    }

    .practice-signature span:last-child {
        display: none
    }

    .practice-link {
        font-size: 9px;
        gap: 10px
    }

    .practice-link svg {
        height: 27px;
        width: 27px;
        padding: 6px
    }
}

@media(prefers-reduced-motion:reduce) {
    .practice-paragraph .story-word {
        opacity: 1!important;
        transition: none
    }

    .scan-line {
        transform: translateY(100px)
    }
}

/* Chapter 06: illustrative portfolio, ready for approved patient photographs. */
.smile-gallery {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 93% 7%,#b5d7f9 0,transparent 43%),radial-gradient(ellipse at 5% 75%,#d7d9f5 0,transparent 48%),#e8f1fb;
    padding: 85px 60px 65px;
    isolation: isolate
}

.smile-gallery:before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    border: 1px solid #ffffffa3;
    border-radius: 50%;
    left: -330px;
    top: 160px;
    box-shadow: 0 0 0 70px #ffffff13,0 0 0 140px #ffffff0c;
    pointer-events: none
}

.gallery-inner {
    max-width: 1170px;
    margin: auto;
    position: relative;
    z-index: 1
}

.gallery-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px
}

.gallery-kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 10px;
    color: #547e9f;
    margin-bottom: 17px
}

.gallery-kicker i {
    display: block;
    width: 6px;
    height: 6px;
    background: #5d9ad3;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #8bb8df25
}

.gallery-top h2 {
    font-size: clamp(36px,4.3vw,60px);
    line-height: 1.5;
    letter-spacing: -1.4px;
    font-weight: 450;
    margin: 0;
    color: #183c62
}

.gallery-top h2 span {
    font-weight: 850;
    background: linear-gradient(178deg,#fff 2%,#bddbfa 26%,#386f9c 43%,#e6f5ff 46%,#5389ba 75%);
    color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 0 #9bb9d2) drop-shadow(0 6px 8px #517da522)
}

.gallery-intro {
    max-width: 285px;
    color: #5b7c99;
    font-size: 11px;
    line-height: 2.1;
    margin: 0 0 8px
}

.gallery-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #54728e;
    font-size: 10px;
    line-height: 1.8;
    background: #f7fbff94;
    border: 1px solid #fff;
    border-radius: 13px;
    padding: 11px 16px;
    margin-bottom: 26px;
    backdrop-filter: blur(15px)
}

.gallery-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #5b83a6;
    stroke-width: 1.5;
    fill: none
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.38fr 1fr;
    grid-template-rows: 265px 265px;
    gap: 20px;
    perspective: 1300px
}

.gallery-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px;
    border: 1px solid #ffffffdb;
    border-radius: 27px;
    background: linear-gradient(135deg,#fff9,#d7eafb55);
    box-shadow: inset 0 1px 0 #fff,0 15px 30px #375e8b16;
    overflow: hidden;
    text-align: right;
    color: white;
    transform: translateY(var(--gy,0px)) rotateX(var(--gx,0deg));
    opacity: var(--go,1);
    transition: box-shadow .35s,transform .7s cubic-bezier(.2,.8,.2,1),opacity .7s;
    cursor: zoom-in
}

.gallery-photo:first-child {
    grid-row: 1 / 3
}

.gallery-photo:hover {
    box-shadow: 0 24px 48px #375e8b2e
}

.gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
    filter: saturate(.85)
}

.gallery-photo:first-child img {
    object-position: 53% center
}

.gallery-photo:hover img {
    transform: scale(1.045);
    filter: saturate(1)
}

.gallery-photo:after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 20px;
    background: linear-gradient(180deg,#0c2e4c25,transparent 35%,#0c284b05 55%,#0c284b90);
    pointer-events: none
}

.gallery-demo {
    position: absolute;
    z-index: 2;
    right: 22px;
    top: 22px;
    font-size: 9px;
    padding: 7px 11px;
    border-radius: 30px;
    border: 1px solid #ffffff70;
    background: #f5fbffba;
    color: #355878;
    backdrop-filter: blur(14px)
}

.gallery-number {
    position: absolute;
    z-index: 2;
    left: 24px;
    top: 28px;
    font-size: 9px;
    letter-spacing: 3px;
    color: white;
    text-shadow: 0 1px 4px #0005
}

.gallery-photo-caption {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    right: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.gallery-photo-caption strong {
    display: block;
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0 2px 6px #18345133
}

.gallery-photo-caption small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #e1edfa;
    display: block;
    margin-top: 4px
}

.gallery-expand {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg,#ffffff70,#ffffff15);
    border: 1px solid #ffffffa6;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px #fff8
}

.gallery-expand svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: white;
    stroke-width: 1.3
}

.gallery-photo:first-child .gallery-photo-caption {
    bottom: 30px;
    right: 30px;
    left: 30px
}

.gallery-photo:first-child .gallery-photo-caption strong {
    font-size: 29px
}

.gallery-photo:before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(115deg,transparent 42%,#ffffff45 48%,transparent 54%);
    transform: translateX(-80%);
    z-index: 3;
    pointer-events: none;
    transition: transform 1.2s
}

.gallery-photo:hover:before {
    transform: translateX(80%)
}

.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 29px;
    color: #6c8ba7;
    font-size: 9px
}

.gallery-footer-left {
    display: flex;
    align-items: center;
    gap: 15px
}

.gallery-footer-left i {
    height: 1px;
    width: 65px;
    background: #82aacd
}

.gallery-footer-left span {
    font-size: 8px;
    letter-spacing: 2px
}

.gallery-footer p {
    margin: 0;
    line-height: 1.9
}

.gallery-crystal {
    position: absolute;
    right: -110px;
    bottom: 50px;
    width: 220px;
    height: 220px;
    border-radius: 45px;
    transform: rotate(30deg);
    background: linear-gradient(130deg,#fff9,#a0c9f245);
    border: 1px solid #fff9;
    filter: blur(5px);
    pointer-events: none
}

#gallery-lightbox {
    position: fixed;
    inset: 0;
    width: min(1120px,94vw);
    max-width: 1120px;
    height: fit-content;
    max-height: 94svh;
    padding: 17px;
    margin: auto;
    border: 1px solid #a4d8ff77;
    border-radius: 25px;
    background: linear-gradient(135deg,#1a334cec,#07192af5);
    color: #eff7ff;
    box-shadow: 0 40px 120px #0008;
    overflow: auto;
    backdrop-filter: blur(25px)
}

#gallery-lightbox::backdrop {
    background: #031429d9;
    backdrop-filter: blur(15px)
}

.gallery-view-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 3px 15px;
    gap: 15px
}

.gallery-view-top span {
    font-size: 10px;
    color: #a3c4dd
}

.gallery-dismiss {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #c7e9ff66;
    background: #ffffff12;
    color: white;
    font-size: 23px;
    line-height: 1
}

.gallery-view-photo {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #0a2032
}

.gallery-view-photo img {
    width: 100%;
    height: min(62svh,650px);
    object-fit: contain;
    display: block;
    touch-action: pan-y
}

.gallery-view-watermark {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 9px;
    color: #335572;
    background: #eef8ffdc;
    padding: 6px 11px;
    border-radius: 20px;
    backdrop-filter: blur(12px)
}

.gallery-view-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 5px 2px
}

.gallery-view-bottom h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px
}

.gallery-view-bottom p {
    font-size: 10px;
    color: #a2bad0;
    margin: 0;
    line-height: 1.9
}

.gallery-view-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    direction: ltr;
    flex-shrink: 0
}

.gallery-view-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid #bbdfff66;
    border-radius: 50%;
    background: linear-gradient(135deg,#c7e9ff30,#9fbfff08);
    color: #eaf7ff;
    font-size: 22px
}

.gallery-view-controls button:disabled {
    opacity: .25;
    cursor: default
}

.gallery-view-controls output {
    font-size: 11px;
    color: #b6d4ea;
    font-variant-numeric: tabular-nums
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 17px
}

.gallery-thumbnails button {
    padding: 3px;
    width: 64px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ffffff0c;
    opacity: .5
}

.gallery-thumbnails button[aria-current=true] {
    border-color: #bce8ff;
    opacity: 1
}

.gallery-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block
}

@media(max-width: 760px) {
    .smile-gallery {
        padding:45px 21px 35px
    }

    .gallery-top {
        display: block;
        margin-bottom: 21px
    }

    .gallery-kicker {
        font-size: 9px;
        margin-bottom: 12px
    }

    .gallery-top h2 {
        font-size: 35px;
        letter-spacing: -.8px
    }

    .gallery-intro {
        font-size: 10px;
        margin: 14px 0 0;
        max-width: 310px
    }

    .gallery-notice {
        font-size: 9px;
        padding: 10px 12px;
        margin-bottom: 18px;
        align-items: flex-start
    }

    .gallery-notice svg {
        margin-top: 1px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 340px 220px;
        gap: 12px
    }

    .gallery-photo {
        padding: 5px;
        border-radius: 21px
    }

    .gallery-photo:first-child {
        grid-column: 1 / 3;
        grid-row: 1
    }

    .gallery-photo img {
        border-radius: 16px
    }

    .gallery-photo:after {
        inset: 5px;
        border-radius: 16px
    }

    .gallery-photo:not(:first-child) img {
        object-position: 57% center
    }

    .gallery-demo {
        top: 13px;
        right: 12px;
        font-size: 7px;
        padding: 5px 8px
    }

    .gallery-number {
        display: none
    }

    .gallery-photo-caption,.gallery-photo:first-child .gallery-photo-caption {
        bottom: 18px;
        left: 16px;
        right: 16px;
        gap: 6px
    }

    .gallery-photo-caption strong {
        font-size: 12px
    }

    .gallery-photo:first-child .gallery-photo-caption strong {
        font-size: 23px
    }

    .gallery-photo-caption small {
        font-size: 6px;
        letter-spacing: 1px
    }

    .gallery-expand {
        width: 27px;
        height: 27px;
        flex-shrink: 0
    }

    .gallery-expand svg {
        width: 14px;
        height: 14px
    }

    .gallery-photo:first-child .gallery-expand {
        width: 37px;
        height: 37px
    }

    .gallery-footer {
        display: block;
        margin-top: 19px
    }

    .gallery-footer p {
        font-size: 9px
    }

    .gallery-footer-left {
        margin-top: 15px
    }

    .gallery-footer-left span {
        font-size: 7px
    }

    .gallery-view-bottom {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column
    }

    .gallery-view-controls {
        align-self: center;
        margin-top: 5px
    }

    .gallery-view-bottom h3 {
        font-size: 16px
    }

    .gallery-view-bottom p {
        font-size: 9px
    }

    .gallery-view-top span {
        font-size: 8px
    }

    .gallery-view-photo img {
        height: auto;
        max-height: 55svh;
        min-height: 180px
    }

    #gallery-lightbox {
        padding: 12px;
        border-radius: 19px
    }

    .gallery-thumbnails {
        margin-top: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .gallery-photo,.gallery-photo img,.gallery-photo:before {
        transition: none!important
    }

    .gallery-photo {
        transform: none!important;
        opacity: 1!important
    }
}

/* Chapter 07: a scroll-guided light path. */
.smile-journey {
    height: 300svh;
    position: relative;
    background: #07152a;
    color: #e7f5ff;
    --jp: 0;
    isolation: isolate
}

.journey-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 55% 45%,#1a4b704b,transparent 55%),radial-gradient(ellipse at 5% 100%,#41478b40,transparent 55%),#07152a
}

.journey-stage:after {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    left: -400px;
    top: 0;
    border: 1px solid #78b7e921;
    border-radius: 50%;
    box-shadow: 0 0 0 75px #9acfff05,0 0 0 150px #9acfff03;
    pointer-events: none
}

.journey-inner {
    position: relative;
    z-index: 2;
    max-width: 1260px;
    width: 100%;
    margin: auto;
    padding: 38px 60px 32px
}

.journey-chapter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    color: #91b4d0;
    letter-spacing: 2px;
    border-top: 1px solid #8fbddd25;
    padding-top: 17px;
    margin-bottom: 26px
}

.journey-chapter span:first-child {
    letter-spacing: 0
}

.journey-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px
}

.journey-head h2 {
    margin: 0;
    font-size: clamp(34px,3.7vw,52px);
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: -1px
}

.journey-head h2 span {
    display: block;
    font-weight: 800;
    background: linear-gradient(175deg,#fff 10%,#b1dfff 30%,#6eadd8 46%,#f4fcff 50%,#91bde5 80%);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #345c8f) drop-shadow(0 8px 19px #68b6ff33)
}

.journey-head p {
    color: #90abc3;
    font-size: 11px;
    line-height: 2.1;
    max-width: 230px;
    margin: 0 0 10px
}

.journey-map {
    position: relative;
    height: 340px;
    margin: 8px 0 20px;
    direction: ltr;
    perspective: 1000px
}

.journey-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 340px;
    overflow: visible
}

.journey-track {
    fill: none;
    stroke: #a8d7ff20;
    stroke-width: 1
}

.journey-track-wide {
    fill: none;
    stroke: #629cd31a;
    stroke-width: 18
}

.journey-trail {
    fill: none;
    stroke: url(#journey-spectrum);
    stroke-width: 3;
    stroke-linecap: round;
    filter: url(#journey-glow)
}

.journey-path-marker {
    filter: url(#journey-glow)
}

.journey-station {
    position: absolute;
    left: var(--sx);
    top: var(--sy);
    transform: translate(-50%,-50%);
    width: 170px;
    padding: 0;
    background: none;
    border: 0;
    color: #9cb8cf;
    text-align: center;
    direction: rtl;
    z-index: 3;
    outline-offset: 12px!important
}

.journey-crystal {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 15px;
    border-radius: 25px;
    background: linear-gradient(140deg,#edfaff45,#488dc718 46%,#79bcff29);
    border: 1px solid #d4eeff66;
    box-shadow: inset 2px 2px 9px #d9f3ff35,inset -3px -3px 12px #030e2d80,0 15px 30px #0004;
    transform: rotate(-12deg) rotateY(-14deg);
    transition: transform .7s,box-shadow .7s,background .7s
}

.journey-crystal:before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid #a2d6ff1f;
    border-radius: 32px;
    transform: rotate(22deg);
    transition: transform 1s,border-color .6s
}

.journey-crystal:after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 19px;
    border-top: 1px solid #fff7;
    border-left: 1px solid #fff3;
    pointer-events: none
}

.journey-crystal svg {
    width: 35px;
    height: 35px;
    stroke: #c3e8ff;
    stroke-width: 1.15;
    fill: none;
    filter: drop-shadow(0 2px 2px #001d45);
    transition: filter .6s
}

.journey-station:hover .journey-crystal {
    transform: rotate(0) translateY(-5px)
}

.journey-station[aria-current=step] {
    color: #eefaff
}

.journey-station[aria-current=step] .journey-crystal {
    background: linear-gradient(135deg,#e8faff85,#65b9f344 43%,#90c9ff66);
    box-shadow: inset 2px 2px 10px #ffffff70,inset -2px -3px 8px #06346666,0 0 35px #50baff50,0 19px 37px #0004;
    transform: rotate(0) translateY(-6px)
}

.journey-station[aria-current=step] .journey-crystal:before {
    border-color: #a8dfff78;
    transform: rotate(45deg)
}

.journey-station[aria-current=step] .journey-crystal svg {
    filter: drop-shadow(0 0 8px #c0edff);
    stroke: #f4fcff
}

.journey-station strong {
    font-size: 14px;
    display: block;
    font-weight: 500;
    margin-bottom: 5px
}

.journey-station small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #7ba1c0;
    display: block
}

.journey-step-no {
    position: absolute;
    top: -3px;
    right: 32px;
    background: #0a223b;
    border: 1px solid #a0d1f450;
    color: #b5d6f2;
    border-radius: 50%;
    font-size: 8px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    z-index: 4
}

.journey-station.completed .journey-step-no {
    background: #75b6e3;
    color: #082643;
    box-shadow: 0 0 15px #72c7ff40
}

.journey-panel {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    align-items: center;
    gap: 30px;
    padding: 24px 28px;
    border: 1px solid #a3d0f33b;
    border-radius: 23px;
    background: linear-gradient(120deg,#a6d5ff12,#c6deff05);
    box-shadow: inset 0 1px 0 #d7f1ff14,0 20px 50px #0002;
    backdrop-filter: blur(20px)
}

.journey-panel small {
    font-size: 9px;
    color: #90c2e7
}

.journey-panel h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 7px 0 0;
    line-height: 1.8
}

.journey-panel p {
    margin: 0;
    color: #a1bdd2;
    font-size: 11px;
    line-height: 2.2
}

.journey-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid #acd6f673;
    border-radius: 16px;
    background: linear-gradient(140deg,#cbecff38,#78b4e512);
    color: #e8f7ff;
    font-size: 10px;
    box-shadow: inset 0 1px 0 #ffffff55;
    white-space: nowrap;
    transition: box-shadow .5s
}

.journey-cta span {
    font-size: 22px
}

.journey-cta:hover {
    box-shadow: 0 0 23px #72bfff30,inset 0 1px 0 #fff8
}

.journey-footer {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 25px;
    color: #7b9ab5;
    font-size: 8px
}

.journey-footer>span {
    white-space: nowrap
}

.journey-progress {
    height: 2px;
    background: #6793ba2b;
    flex: 1;
    overflow: hidden
}

.journey-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg,#bbbcff,#9de6ff);
    transform: scaleX(var(--jp));
    transform-origin: right;
    box-shadow: 0 0 9px #82cfff
}

.journey-counter {
    direction: ltr;
    letter-spacing: 3px;
    color: #afd6f2;
    font-size: 9px
}

.journey-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.journey-ambient i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b5ddff;
    opacity: .4;
    box-shadow: 0 0 10px #8bcfff;
    animation: journey-drift 7s ease-in-out infinite alternate;
    animation-delay: var(--delay)
}

.journey-ambient i:nth-child(3n) {
    width: 2px;
    height: 2px;
    opacity: .2
}

.journey-mist {
    position: absolute;
    width: 440px;
    height: 160px;
    left: 30%;
    top: 46%;
    background: radial-gradient(ellipse,#5eaeef26,transparent 65%);
    filter: blur(25px);
    transform: rotate(-18deg);
    pointer-events: none
}

.journey-idle-hint {
    color: #85aac7;
    font-size: 8px;
    display: flex;
    gap: 8px;
    align-items: center
}

.journey-idle-hint b {
    font-size: 16px;
    font-weight: 400;
    color: #b3ddff
}

@keyframes journey-drift {
    to {
        transform: translate(14px,-25px);
        opacity: .65
    }
}

.journey-stage:not(.in-view) .journey-ambient i {
    animation-play-state: paused
}

@media(max-width: 1050px) {
    .journey-inner {
        padding:35px
    }

    .journey-head h2 {
        font-size: 38px
    }

    .journey-station {
        width: 145px
    }

    .journey-panel {
        gap: 20px;
        padding: 20px
    }

    .journey-panel h3 {
        font-size: 18px
    }

    .journey-crystal {
        width: 68px;
        height: 68px;
        border-radius: 22px
    }
}

@media(max-width: 760px) {
    .smile-journey {
        height:310svh
    }

    .journey-stage {
        height: auto;
        min-height: 100svh
    }

    .journey-inner {
        padding: 25px 24px 26px
    }

    .journey-chapter {
        font-size: 8px;
        margin-bottom: 18px;
        padding-top: 13px;
        letter-spacing: 1px
    }

    .journey-head {
        display: block;
        text-align: center
    }

    .journey-head h2 {
        font-size: 29px;
        line-height: 1.5
    }

    .journey-head h2 span {
        font-size: 1.1em
    }

    .journey-head p {
        font-size: 9px;
        line-height: 1.9;
        margin: 12px auto 0;
        max-width: 250px
    }

    .journey-map {
        height: 340px;
        width: 100%;
        margin: 10px 0 16px
    }

    .journey-path {
        height: 340px
    }

    .journey-station {
        width: 155px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: right;
        left: var(--mx);
        top: var(--my);
        transform: translate(-50%,-50%)
    }

    .journey-station:nth-of-type(even) {
        flex-direction: row-reverse;
        text-align: left
    }

    .journey-crystal {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: 16px;
        margin: 0
    }

    .journey-crystal:before {
        inset: -6px;
        border-radius: 20px
    }

    .journey-crystal:after {
        border-radius: 12px;
        inset: 4px
    }

    .journey-crystal svg {
        width: 26px;
        height: 26px
    }

    .journey-station strong {
        font-size: 11px;
        white-space: nowrap;
        margin-bottom: 5px
    }

    .journey-station small {
        font-size: 6px;
        letter-spacing: 1px
    }

    .journey-step-no {
        top: -7px;
        right: -5px;
        width: 18px;
        height: 18px;
        font-size: 7px
    }

    .journey-station:nth-of-type(even) .journey-step-no {
        right: auto;
        left: -5px
    }

    .journey-station[aria-current=step] .journey-crystal {
        transform: rotate(0) translateY(-2px)
    }

    .journey-panel {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 16px 19px;
        border-radius: 19px
    }

    .journey-panel small {
        font-size: 8px
    }

    .journey-panel h3 {
        font-size: 18px;
        margin-top: 3px
    }

    .journey-panel p {
        font-size: 10px;
        line-height: 2
    }

    .journey-cta {
        padding: 9px 14px;
        font-size: 10px;
        border-radius: 12px;
        margin-top: 5px
    }

    .journey-cta span {
        font-size: 19px
    }

    .journey-footer {
        margin-top: 17px;
        gap: 11px;
        font-size: 7px
    }

    .journey-idle-hint {
        font-size: 7px
    }

    .journey-counter {
        font-size: 8px
    }

    .journey-mist {
        left: 5%;
        width: 300px
    }

    .journey-stage:after {
        width: 400px;
        height: 400px;
        left: -300px
    }
}

@media(prefers-reduced-motion:reduce) {
    .journey-ambient i {
        animation: none
    }

    .journey-crystal,.journey-crystal:before,.journey-crystal svg {
        transition: none!important
    }

    .smile-journey {
        height: auto
    }

    .journey-stage {
        position: relative;
        height: auto;
        min-height: 0
    }
}

/* Editorial finale, with real concave CSS masks and a rounded fallback. */
.smile-journal {
    position: relative;
    padding: 80px 60px 75px;
    overflow: hidden;
    background: radial-gradient(ellipse at 10% 20%,#c7def7,transparent 55%),#edf4fb;
    color: #193d5d
}

.journal-inner {
    max-width: 1170px;
    margin: auto;
    position: relative;
    z-index: 2
}

.journal-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px
}

.journal-head small {
    font-size: 10px;
    color: #6b8ba8;
    display: block;
    margin-bottom: 15px
}

.journal-head h2 {
    font-size: clamp(32px,3.7vw,52px);
    line-height: 1.5;
    font-weight: 450;
    margin: 0
}

.journal-head h2 span {
    font-weight: 850;
    color: #6597c3;
    text-shadow: 0 1px #fff,0 3px #b5ccdf,0 10px 20px #7ba3c444
}

.journal-head p {
    font-size: 11px;
    line-height: 2;
    color: #6c879d;
    max-width: 245px;
    margin: 0 0 6px
}

.journal-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 235px 235px;
    gap: 22px
}

.journal-card {
    position: relative;
    filter: drop-shadow(0 16px 22px #5b86ab18);
    min-width: 0
}

.journal-card.featured {
    grid-row: span 2
}

.journal-surface {
    height: 100%;
    border-radius: 27px;
    background: linear-gradient(140deg,#ffffffd4,#dcebf77d);
    border: 1px solid #fff;
    overflow: hidden;
    backdrop-filter: blur(24px);
    padding: 23px 24px 65px;
    display: flex;
    flex-direction: column
}

.journal-card:not(.featured) .journal-surface {
    display: grid;
    grid-template-columns: 1fr 132px;
    gap: 18px;
    padding: 24px 24px 55px;
    align-items: center
}

.journal-image {
    width: 100%;
    height: 255px;
    position: relative;
    overflow: hidden;
    border-radius: 19px;
    background: radial-gradient(ellipse at 50% 50%,#a0c9ef,#dcecf9 65%,#f8fcff)
}

.journal-image>svg {
    width: 100%;
    height: 100%;
    display: block
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s
}

.journal-card:hover .journal-image img {
    transform: scale(1.06)
}

.journal-card:not(.featured) .journal-image {
    height: 137px;
    grid-column: 2;
    grid-row: 1
}

.journal-card:not(.featured) .journal-text {
    grid-column: 1;
    grid-row: 1
}

.journal-tag {
    font-size: 9px;
    color: #5c84a6;
    display: block;
    margin: 18px 0 9px
}

.journal-card:not(.featured) .journal-tag {
    margin: 0 0 10px
}

.journal-text h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.8;
    margin: 0;
    color: #214869
}

.journal-card.featured h3 {
    font-size: 26px
}

.journal-text p {
    font-size: 10px;
    line-height: 2;
    color: #6e899f;
    margin: 10px 0 0
}

.journal-time {
    position: absolute;
    right: 25px;
    bottom: 24px;
    font-size: 9px;
    color: #7491a8
}

.journal-read {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg,#fff,#b7d9f4);
    color: #426f96;
    box-shadow: inset 0 1px 2px #fff,0 8px 18px #5a86b12b;
    font-size: 23px;
    transition: transform .3s,box-shadow .3s
}

.journal-read:hover {
    transform: translate(-3px,-3px);
    box-shadow: 0 10px 25px #568bc34a
}

.journal-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -150px;
    top: 140px;
    background: linear-gradient(130deg,#fff8,#9abfeb60);
    border: 1px solid white;
    border-radius: 65px;
    transform: rotate(32deg);
    filter: blur(9px)
}

.journal-blur.second {
    top: auto;
    right: auto;
    left: 6%;
    bottom: -140px;
    background: #c0c6ed55
}

.journal-footnote {
    font-size: 9px;
    color: #8099ae;
    margin: 24px 0 0;
    line-height: 1.9
}

.journal-card {
    opacity: 1;
    transform: none;
    transition: opacity .8s,transform .8s
}

.journal-card.waiting {
    opacity: .3;
    transform: translateY(30px)
}

.clinic-footer {
    position: relative;
    background: #07182d;
    overflow: hidden;
    color: #dceeff;
    padding: 75px 60px 25px
}

.footer-inner {
    max-width: 1170px;
    margin: auto;
    position: relative;
    z-index: 2
}

.footer-aura {
    position: absolute;
    left: -100px;
    top: 120px;
    width: 650px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse,#3468ad46,transparent 68%);
    filter: blur(30px);
    pointer-events: none
}

.footer-aura.violet {
    left: auto;
    right: -150px;
    top: -150px;
    background: radial-gradient(ellipse,#6564aa38,transparent 70%)
}

.footer-invite {
    position: relative;
    filter: drop-shadow(0 24px 40px #0003)
}

.footer-invite-surface {
    position: relative;
    border: 1px solid #c7e7ff42;
    border-radius: 32px;
    background: linear-gradient(130deg,#bbddff20,#e1efff08);
    padding: 43px 55px 43px 35px;
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.footer-invite small {
    font-size: 10px;
    color: #91b5d3;
    display: block;
    margin-bottom: 16px;
    margin-right: 43px;
}

.footer-invite h2 {
    font-size: clamp(29px,3.5vw,48px);
    font-weight: 400;
    line-height: 1.7;
    margin: 0
}

.footer-invite h2 span {
    display: block;
    color: #b4dffe;
    font-weight: 700;
    text-shadow: 0 2px #3a6387,0 7px 20px #90c8ff28
}

.footer-contact {
    padding: 16px 23px;
    background: linear-gradient(130deg,#daeeff4d,#79a9d21c);
    border: 1px solid #bde4ff88;
    border-radius: 18px;
    color: #ecf8ff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: inset 0 1px 0 #fff7;
    white-space: nowrap
}

.footer-contact span {
    font-size: 24px
}

.footer-up {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg,#e9f8ff,#679dc6);
    border: 1px solid #d7efff;
    color: #244d74;
    box-shadow: inset 0 1px 3px white,0 0 30px #9bd1ff30;
    font-size: 23px;
    transition: transform .3s
}

.footer-up:hover {
    transform: translateY(-4px)
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 65px;
    padding: 45px 0 35px;
    border-bottom: 1px solid #8cb6d225
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px
}

.footer-brand-title svg {
    width: 30px;
    height: 36px;
    stroke: #c7eaff;
    fill: none;
    stroke-width: 1.3
}

.footer-brand-title strong {
    font-size: 20px;
    font-weight: 500
}

.footer-columns p {
    font-size: 11px;
    line-height: 2.2;
    color: #8eabc3;
    margin: 0;
    max-width: 315px
}

.footer-columns h3 {
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 17px;
    color: #cbe4f9
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    font-size: 10px;
    color: #93b5d0
}

.footer-nav a {
    padding: 3px 0
}

.footer-nav a:hover {
    color: #e7f7ff
}

.footer-address {
    font-style: normal;
    font-size: 12px;
    color: #b8d5ed;
    margin-bottom: 10px
}

.footer-pending {
    font-size: 9px!important;
    line-height: 2!important
}

.footer-signature {
    font-size: clamp(35px,6.9vw,95px);
    text-align: center;
    line-height: 1.7;
    font-weight: 850;
    margin: 27px 0 20px;
    background: linear-gradient(180deg,#c2e5ff99,#729ec72e);
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 0 #ffffff05;
    letter-spacing: -2px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 8px;
    color: #7797b3;
    line-height: 1.9
}

.footer-bottom span:last-child {
    letter-spacing: 2px
}

.article-modal {
    width: min(720px,94vw);
    max-width: 720px;
    max-height: 88svh;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 30px;
    background: #f2f8fe;
    color: #274863;
    overflow: auto
}

.article-modal h2 {
    font-size: 25px;
    line-height: 1.8;
    padding-left: 36px
}

.article-modal p {
    font-size: 13px;
    line-height: 2.3;
    color: #55748c
}

.article-modal h3 {
    font-size: 16px;
    margin: 25px 0 10px
}

.article-close {
    position: sticky;
    top: 0;
    float: left;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid white;
    border-radius: 50%;
    background: #d6e9f8;
    color: #426a8d;
    font-size: 22px
}

.article-note {
    background: #dcecf97d;
    padding: 14px;
    border-radius: 12px;
    font-size: 11px!important
}

.article-source {
    font-size: 11px;
    color: #397cac;
    display: block;
    margin-top: 18px;
    text-decoration: underline
}

.article-meta {
    font-size: 10px;
    color: #7394af
}

.article-modal::backdrop {
    background: #06203cb8;
    backdrop-filter: blur(13px)
}

@supports (mask-image: radial-gradient(circle,transparent,black)) {
    .journal-surface {
        mask-image:radial-gradient(circle 49px at 22px calc(100% - 22px),transparent 98%,#000 100%)
    }

    .footer-invite-surface {
        mask-image: radial-gradient(circle 55px at calc(100% - 25px) 25px,transparent 98%,#000 100%)
    }
}

@media(max-width: 900px) {
    .smile-journal,.clinic-footer {
        padding-left:30px;
        padding-right: 30px
    }

    .journal-grid {
        grid-template-columns: 1.1fr 1fr
    }

    .journal-card:not(.featured) .journal-surface {
        grid-template-columns: 1fr 90px;
        padding-left: 18px;
        padding-right: 18px;
        gap: 12px
    }

    .journal-text h3 {
        font-size: 17px
    }

    .journal-card.featured h3 {
        font-size: 23px
    }

    .footer-columns {
        gap: 30px
    }
}

@media(max-width: 760px) {
    .smile-journal {
        padding:45px 23px
    }

    .journal-head {
        display: block;
        margin-bottom: 25px
    }

    .journal-head h2 {
        font-size: 31px
    }

    .journal-head p {
        font-size: 10px;
        margin-top: 14px;
        max-width: 290px
    }

    .journal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 23px
    }

    .journal-card.featured {
        grid-row: auto;
        height: 440px
    }

    .journal-card:not(.featured) {
        height: 235px
    }

    .journal-image {
        height: 225px
    }

    .journal-card.featured h3 {
        font-size: 23px
    }

    .journal-surface {
        padding: 16px 18px 65px;
        border-radius: 23px
    }

    .journal-card:not(.featured) .journal-surface {
        grid-template-columns: 1fr 100px;
        gap: 15px;
        padding: 20px 18px 55px
    }

    .journal-text h3 {
        font-size: 17px
    }

    .journal-card:not(.featured) .journal-image {
        height: 130px
    }

    .journal-footnote {
        font-size: 8px
    }

    .clinic-footer {
        padding: 45px 23px 25px
    }

    .footer-invite-surface {
        padding: 75px 25px 28px;
        display: block;
        border-radius: 26px
    }

    .footer-invite h2 {
        font-size: 29px;
        line-height: 1.7
    }

    .footer-invite small {
        font-size: 9px
    }

    .footer-contact {
        margin-top: 23px;
        width: 100%;
        justify-content: space-between;
        font-size: 11px;
        padding: 13px 18px;
        border-radius: 15px
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px 25px;
        padding: 33px 0
    }

    .footer-brand {
        grid-column: 1 / -1
    }

    .footer-columns p {
        font-size: 10px
    }

    .footer-brand-title strong {
        font-size: 19px
    }

    .footer-columns h3 {
        font-size: 11px;
        margin-bottom: 13px
    }

    .footer-nav {
        grid-template-columns: 1fr;
        font-size: 10px;
        gap: 9px
    }

    .footer-address {
        font-size: 11px
    }

    .footer-pending {
        font-size: 8px!important
    }

    .footer-signature {
        font-size: 36px;
        letter-spacing: -1px;
        margin: 24px 0
    }

    .footer-bottom {
        display: block;
        font-size: 7px
    }

    .footer-bottom span {
        display: block;
        margin-top: 8px
    }

    .article-modal {
        padding: 20px
    }

    .article-modal h2 {
        font-size: 21px
    }

    .article-modal p {
        font-size: 12px
    }

    .article-modal h3 {
        font-size: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
    .journal-card,.journal-image img,.journal-read,.footer-up {
        transition: none
    }

    .journal-card.waiting {
        opacity: 1;
        transform: none
    }
}

/* Cinematic blue / scroll choreography */
.page {
    height: 350svh;
    background: #07162e
}

.viewport {
    --cinema: 0;
    --focus: 0;
    background: #07162e;
    color: #e8f5ff;
    isolation: isolate;
    perspective: 1400px
}

.viewport:before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: -1;
    background: radial-gradient(ellipse at 22% 50%,#176ee965,transparent 40%),radial-gradient(ellipse at 80% 12%,#4540c353,transparent 40%),radial-gradient(ellipse at 50% 100%,#38a9e92b,transparent 50%);
    transform: rotate(calc(var(--cinema)*18deg));
    pointer-events: none
}

.viewport:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(120deg,transparent 20%,#91d8ff08 40%,transparent 60%);
    box-shadow: inset 0 -60px 90px #030b1e88
}

.viewport header,.viewport main,.viewport .bottom {
    z-index: 2;
    position: relative
}

.viewport .brandmark,.viewport .nav button {
    color: #c2ddff
}

.viewport .eyebrow,.viewport .copy p,.viewport .scroll-cue {
    color: #a8c3de
}

.viewport .dot {
    background: #8fe0ff;
    box-shadow: 0 0 18px #69caff
}

.viewport .copy {
    perspective: 900px;
    translate: 0 calc(var(--cinema)*-12px)
}

.viewport .title-first {
    color: #edf8ff
}

.viewport .glass-title {
    background-image: linear-gradient(155deg,#fff 4%,#b1e2ff 20%,#508dbb 35%,#efffff 48%,#8bc6ee 60%,#386791 77%,#d2edff 95%);
    -webkit-text-stroke: .6px #d4f0ff99;
    filter: drop-shadow(0 2px 0 #315a81) drop-shadow(0 4px 0 #1b3b60) drop-shadow(0 8px 16px #4ca5f065)
}

.viewport .title-frame {
    transform: translate3d(0,45px,-100px) rotateX(-22deg);
    transform-origin: center bottom;
    filter: blur(12px);
    transition: opacity .6s,transform .95s cubic-bezier(.16,1,.3,1),filter .8s
}

.viewport .title-frame.active {
    transform: translate3d(0,0,0) rotateX(0);
    filter: blur(0)
}

.viewport .primary,.viewport .secondary,.viewport .topcta {
    color: #ebf8ff;
    border: 1px solid #a2d2ff66;
    background: linear-gradient(130deg,#9bceff32,#6d9fff09 65%);
    box-shadow: inset 0 1px 1px #f1fbff88,inset 0 -1px 1px #4d83ba88,0 14px 30px #0003;
    backdrop-filter: blur(20px)
}

.viewport .button-icon {
    color: #dbf5ff;
    background: linear-gradient(145deg,#d3f5ff44,#478edf20);
    box-shadow: inset 0 1px 2px #fff7
}

.viewport .primary:hover,.viewport .secondary:hover,.viewport .topcta:hover {
    background: linear-gradient(130deg,#a3d8ff55,#3c74b533);
    box-shadow: inset 0 1px 1px #fff,0 0 35px #4eacff38
}

.viewport .tag {
    background: linear-gradient(125deg,#a5d7ff32,#396ca713);
    border-color: #b5ddff70;
    box-shadow: inset 0 1px 1px #e2f6ff88,0 22px 40px #0003;
    color: #e4f5ff
}

.viewport .tag small {
    color: #aacbe7
}

.viewport .spark {
    color: #d0f4ff;
    text-shadow: 0 0 15px #89cdff
}

.viewport .scene-label,.viewport .scene-foot,.viewport .bottom {
    color: #9abbd9
}

.viewport .scene:before {
    background: radial-gradient(ellipse,#559aef38,transparent 65%)
}

.viewport .orbital {
    border-color: #9fd7ff45;
    box-shadow: 0 0 35px #58a7ff12,inset 0 0 35px #58a7ff12
}

.viewport .floor {
    background: #50a9ff48;
    filter: blur(25px)
}

.viewport .assembly {
    filter: drop-shadow(0 0 18px #a7dfff24) drop-shadow(18px 24px 22px #0008);
    will-change: transform
}

.viewport .scene-aura {
    background: radial-gradient(ellipse,#8bcfff88,transparent 65%)
}

.viewport .bottom {
    border-color: #9cd3ff20
}

.viewport .service {
    color: #c1daef
}

.viewport .bottom-title {
    color: #89a9c6
}

.viewport .leaders path {
    stroke: #b0dfff
}

.viewport .b1,.viewport .b2,.viewport .b3 {
    box-shadow: inset -6px -8px 10px #2b67a655,inset 2px 3px 5px #e3f8ff,0 0 26px #64b7ff30
}

.viewport .endnote {
    color: #8dabcb
}

.cinema-word {
    position: absolute;
    left: -2%;
    top: 25%;
    font: 800 clamp(160px,25vw,380px)/1 Arial;
    letter-spacing: -.07em;
    color: transparent;
    -webkit-text-stroke: 1px #a3d2ff12;
    pointer-events: none;
    z-index: 0;
    transform: translateX(calc(var(--cinema)*12%));
    user-select: none
}

.cinema-grid {
    position: absolute;
    inset: 50% -40% -70%;
    z-index: 0;
    background-image: linear-gradient(#97d2ff15 1px,transparent 1px),linear-gradient(90deg,#97d2ff15 1px,transparent 1px);
    background-size: 75px 75px;
    transform: perspective(500px) rotateX(60deg) translateY(calc(var(--cinema)*130px));
    mask-image: linear-gradient(transparent,#0004 40%,transparent);
    pointer-events: none
}

.cinema-halo {
    position: absolute;
    left: 50%;
    top: 47%;
    width: 430px;
    aspect-ratio: 1;
    border: 1px solid #c4eaff66;
    border-radius: 50%;
    transform: translate(-50%,-50%) rotateX(62deg) rotateZ(calc(25deg + var(--cinema)*180deg));
    box-shadow: 0 0 18px #66afff33,inset 0 0 18px #66afff33;
    pointer-events: none
}

.cinema-halo:before,.cinema-halo:after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #c6f5ff;
    filter: drop-shadow(0 0 7px #69cfff);
    transform: rotate(calc(var(--cinema)*320deg))
}

.cinema-halo:after {
    inset: 22px;
    border-top-color: transparent;
    border-bottom-color: #92afff;
    transform: rotate(calc(var(--cinema)*-260deg))
}

.halo-back {
    width: 380px;
    transform: translate(-50%,-50%) rotateY(62deg) rotateZ(calc(-30deg - var(--cinema)*130deg));
    opacity: .65
}

.cinema-shard {
    position: absolute;
    width: 90px;
    height: 130px;
    border-radius: 24px 8px 24px 8px;
    background: linear-gradient(135deg,#e3f6ff3b,#9bcfff03 45%,#82bdff20);
    border: 1px solid #bee6ff55;
    backdrop-filter: blur(9px);
    box-shadow: inset 1px 1px 0 #e4f6ff80,12px 16px 25px #0002;
    pointer-events: none;
    z-index: -1
}

.shard-a {
    left: 7%;
    top: 12%;
    transform: translate(calc(var(--cinema)*-70px),calc(var(--cinema)*-80px)) rotate(calc(-25deg + var(--cinema)*70deg))
}

.shard-b {
    right: 5%;
    bottom: 13%;
    width: 68px;
    height: 95px;
    transform: translate(calc(var(--cinema)*50px),calc(var(--cinema)*60px)) rotate(calc(25deg - var(--cinema)*80deg))
}

.cinema-scan {
    position: absolute;
    left: 14%;
    right: 14%;
    top: calc(13% + var(--cinema)*65%);
    height: 1px;
    background: linear-gradient(90deg,transparent,#e0faff,transparent);
    box-shadow: 0 0 16px #5bd3ff;
    opacity: calc(.6 - var(--focus)*.6);
    pointer-events: none
}

.cinema-stages {
    position: absolute;
    left: 30px;
    top: 50%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 16px;
    direction: ltr
}

.cinema-stages button {
    width: 29px;
    height: 29px;
    border: 1px solid #abd6ff3d;
    border-radius: 50%;
    background: #9bd0ff08;
    color: #a6c7e8;
    font: 9px Arial;
    transition: .45s
}

.cinema-stages button[aria-current=true] {
    background: #c6eeff;
    color: #143255;
    box-shadow: 0 0 24px #69cfff80;
    scale: 1.14
}

.cinema-meter {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: calc(var(--cinema)*100%);
    background: linear-gradient(90deg,#6b77ff,#b9f1ff);
    box-shadow: 0 0 14px #76cdff;
    z-index: 6
}

.cinema-flare {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 27% 48%,#d1efff80,transparent 55%);
    pointer-events: none;
    opacity: 0;
    z-index: 4
}

.is-complete .cinema-flare {
    animation: cinema-flash 1.25s ease-out both
}

@keyframes cinema-flash {
    0% {
        opacity: 0
    }

    18% {
        opacity: .7
    }

    100% {
        opacity: 0
    }
}

.cinema-reveal {
    transition: translate 1.2s cubic-bezier(.16,1,.3,1),opacity .85s,filter 1s;
    translate: 0 0;
    opacity: 1;
    filter: blur(0)
}

.cinema-reveal.cinema-pending {
    translate: 0 60px;
    opacity: 0;
    filter: blur(10px)
}

.cinema-divider {
    position: relative;
    height: 160px;
    margin-bottom: -1px;
    background: #07162e;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #b1d9f8;
    isolation: isolate
}

.cinema-divider:before {
    content: '';
    position: absolute;
    width: 120%;
    height: 180px;
    left: -10%;
    top: 100px;
    background: #f0f5fb;
    border-radius: 50% 50% 0 0;
    z-index: -1
}

.cinema-divider span {
    letter-spacing: 7px;
    font: 10px Arial;
    translate: 0 -25px
}

.cinema-divider i {
    position: absolute;
    height: 70px;
    width: 1px;
    background: linear-gradient(#9fdbff,transparent);
    top: 65px
}

@media(min-width: 761px) {
    .viewport .hero {
        padding-left:85px;
        column-gap: 40px
    }

    .viewport .scene {
        rotate: calc(-5deg + var(--cinema)*7deg);
        scale: calc(1 + var(--focus)*.07)
    }

    .viewport .copy p {
        max-width: 350px
    }

    .viewport .story-title {
        font-size: clamp(44px,4.3vw,67px)
    }
}

@media(max-width: 760px) {
    .page {
        height:310svh
    }

    .cinema-word {
        top: 44%;
        font-size: 40vw
    }

    .cinema-stages {
        left: 8px;
        top: 57%;
        gap: 12px
    }

    .cinema-stages button {
        width: 23px;
        height: 23px;
        font-size: 8px
    }

    .cinema-halo {
        width: 260px
    }

    .halo-back {
        width: 235px
    }

    .cinema-shard {
        width: 47px;
        height: 70px;
        border-radius: 14px 5px
    }

    .shard-a {
        left: 13%;
        top: 5%
    }

    .shard-b {
        right: 12%;
        bottom: 9%
    }

    .viewport .hero {
        padding-left: 24px;
        padding-right: 24px
    }

    .viewport .story-title {
        font-size: 34px
    }

    .viewport .copy p {
        margin: 10px auto 15px
    }

    .viewport .scroll-cue {
        margin-top: 12px
    }

    .viewport .tag {
        backdrop-filter: blur(8px)
    }

    .cinema-divider {
        height: 115px
    }

    .cinema-divider:before {
        top: 75px
    }

    .cinema-divider span {
        font-size: 8px;
        letter-spacing: 4px
    }

    .cinema-divider i {
        top: 50px;
        height: 40px
    }
}

@media(prefers-reduced-motion:reduce) {
    .cinema-reveal.cinema-pending {
        translate: none;
        opacity: 1;
        filter: none
    }

    .cinema-halo,.cinema-grid,.cinema-shard,.viewport .scene,.viewport .copy,.cinema-word {
        transform: none;
        rotate: none;
        translate: none;
        scale: 1
    }

    .cinema-halo {
        transform: translate(-50%,-50%) rotateX(60deg)
    }

    .cinema-flare {
        display: none
    }
}

/* Refined kinetic sculpture — no canvas in the hero */
.page {
    height: 325svh;
    background: #e8f1fb
}

.viewport {
    background: radial-gradient(ellipse at 20% 48%,#c5dcf4 0,transparent 45%),linear-gradient(125deg,#f5f9fd,#e6eff9 58%,#e3edfb);
    color: #1a3654
}

.viewport:before {
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%,#ffffffbb,transparent 50%);
    transform: none
}

.viewport:after {
    box-shadow: inset 0 -30px 60px #c6daf320;
    background: none
}

.viewport .noise {
    opacity: .07
}

.cinema-word,.cinema-grid,.cinema-halo,.cinema-shard,.cinema-scan,.cinema-stages,.cinema-flare,.viewport .orbital,.viewport .bubble,.viewport .cross,.viewport .leaders {
    display: none
}

.viewport .brandmark,.viewport .nav button {
    color: #355879
}

.viewport .eyebrow,.viewport .copy p,.viewport .scroll-cue {
    color: #607b95
}

.viewport .copy {
    translate: none
}

.viewport .dot {
    background: #4489c2;
    box-shadow: 0 0 0 5px #619ad312
}

.viewport .scene {
    rotate: none;
    scale: 1;
    isolation: isolate
}

.viewport .scene:before {
    background: radial-gradient(ellipse,#fff9,transparent 64%)
}

.viewport .assembly {
    filter: drop-shadow(14px 22px 16px #385d872e);
    inset: -12px 10px 30px
}

.viewport .scene-aura {
    background: radial-gradient(ellipse,#fff,transparent 65%);
    opacity: .4
}

.viewport .floor {
    background: #6d9bce39;
    bottom: 35px
}

.sculpture-plinth {
    position: absolute;
    inset: 7% 10% 11%;
    border-radius: 46% 46% 30% 30%;
    background: linear-gradient(135deg,#ffffff91,#eaf5ff16 55%,#92bbe52b);
    border: 1px solid #ffffffd9;
    box-shadow: inset 1px 2px 3px #fff,0 25px 55px #6d92c51a;
    transform: perspective(800px) rotateY(calc(-11deg + var(--cinema)*22deg)) rotateZ(calc(-5deg + var(--cinema)*10deg));
    z-index: -1;
    overflow: hidden
}

.sculpture-plinth:before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid #fff6;
    border-radius: inherit
}

.sculpture-plinth span {
    position: absolute;
    inset: -20%;
    background: linear-gradient(110deg,transparent 35%,#fff9 49%,transparent 60%);
    translate: calc(-35% + var(--cinema)*70%) 0
}

.viewport .scene-label {
    color: #708ba5;
    letter-spacing: 3px
}

.viewport .scene-foot {
    color: #58799c
}

.viewport .tag {
    background: linear-gradient(130deg,#ffffffbd,#f0f7ff7a);
    border: 1px solid #fff;
    box-shadow: inset 0 1px 2px #fff,0 12px 24px #4f77a51a;
    color: #294e73;
    backdrop-filter: blur(12px);
    border-radius: 19px;
    padding: 13px 16px
}

.viewport .tag small {
    color: #6e8aaa
}

.viewport .spark {
    color: #6d96c1;
    text-shadow: 1px 2px white
}

.viewport .tag2 .icon {
    background: linear-gradient(140deg,#fff,#c9dcf0);
    color: #618bb5
}

.viewport .tag {
    left: -8px;
    top: 35%
}

.viewport .tag2 {
    left: auto;
    right: -12px;
    top: auto;
    bottom: 18%
}

.viewport .primary,.viewport .secondary,.viewport .topcta {
    color: #284d73;
    background: linear-gradient(140deg,#ffffffd9,#b7d2ef55);
    border-color: #fff;
    box-shadow: inset 0 2px 1px #fff,inset 0 -2px 3px #8ba9ca30,0 10px 25px #547eac18
}

.viewport .button-icon {
    background: linear-gradient(145deg,#fff,#c4d9ee);
    color: #547ba6;
    box-shadow: inset 0 1px 1px #fff,0 4px 8px #789abd20
}

.viewport .primary:hover,.viewport .secondary:hover,.viewport .topcta:hover {
    background: linear-gradient(135deg,#fff,#b9daf5);
    box-shadow: 0 12px 28px #5986b833
}

.viewport .bottom {
    color: #6986a3;
    border-color: #9cb9d537
}

.viewport .service,.viewport .bottom-title {
    color: #617f9c
}

.cinema-meter {
    height: 2px;
    background: linear-gradient(90deg,#9ab9dc,#4f92cd);
    box-shadow: none
}

.cinema-divider {
    background: #e8f1fb;
    color: #6485a5
}

.cinema-divider i {
    background: linear-gradient(#7fa5cc,transparent)
}

.viewport .story-title {
    perspective: 1100px;
    overflow: visible;
    height: 215px
}

.viewport .title-frame,.viewport .title-frame.active {
    transition: none;
    transform: translate3d(0,var(--title-y,0px),var(--title-z,0px)) rotateX(var(--title-r,0deg));
    filter: blur(var(--title-blur,0px));
    transform-origin: center 65%;
    will-change: transform,opacity
}

.viewport .title-first {
    color: #365a7c;
    font-weight: 500;
    font-size: .76em;
    letter-spacing: -1.3px;
    transform: translateX(calc(var(--cinema)*-8px))
}

.viewport .glass-title {
    position: relative;
    display: inline-block;
    background-image: linear-gradient(125deg,#e9f6ff 0%,#427cac 25%,#c5e3f9 38%,#fff 46%,#6d9dc5 58%,#31618f 78%,#d5eafc 100%);
    background-size: 190% 100%;
    background-position: var(--light-x,15%) 50%;
    -webkit-text-stroke: .55px #eff9ff;
    filter: drop-shadow(0 1px 0 #638db2) drop-shadow(0 3px 0 #6285aa) drop-shadow(0 5px 0 #8da9c5) drop-shadow(0 11px 10px #416e9b23);
    line-height: 1.6;
    transform: translateY(calc(var(--title-y,0px)*.25)) rotateY(calc(var(--title-r,0deg)*-.2))
}

.viewport .glass-title:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 36%;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(90deg,transparent,#86afd6,transparent);
    transform: scaleX(calc(.7 + var(--cinema)*.7));
    opacity: .7
}

.viewport .is-complete {
    background: inherit
}

@media(min-width: 761px) {
    .viewport .hero {
        column-gap:65px;
        padding-left: 75px
    }

    .viewport .story-title {
        font-size: clamp(44px,4.9vw,70px)
    }

    .viewport .scene {
        height: min(570px,67svh)
    }
}

@media(max-width: 760px) {
    .page {
        height:310svh
    }

    .viewport header {
        height: 64px;
        padding: 0 22px
    }

    .viewport .hero {
        height: calc(100svh - 108px);
        padding: 0 22px;
        gap: 0;
        position: relative
    }

    .viewport .copy {
        display: contents
    }

    .viewport .eyebrow {
        font-size: 8px;
        margin-top: 9px;
        order: 0
    }

    .viewport .story-title {
        order: 1;
        width: 100%;
        height: clamp(88px,14svh,118px);
        font-size: clamp(30px,8.3vw,38px);
        margin: 5px 0 0;
        text-align: center;
        flex-shrink: 0
    }

    .viewport .title-frame {
        align-items: center
    }

    .viewport .title-first {
        font-size: .72em
    }

    .viewport .glass-title {
        line-height: 1.5
    }

    .viewport .copy p {
        order: 2;
        font-size: 10px;
        line-height: 1.7;
        margin: 7px auto 2px;
        max-width: 295px
    }

    .viewport .copy p br {
        display: none
    }

    .viewport .scene {
        order: 3;
        flex: 1;
        min-height: 240px;
        max-height: none;
        width: 100%;
        margin: 0;
        position: relative
    }

    .viewport .assembly {
        inset: -8px 20px 66px
    }

    .sculpture-plinth {
        inset: 8px 22% 68px;
        border-radius: 45% 45% 28% 28%;
        transform: perspective(700px) rotateY(calc(-8deg + var(--cinema)*16deg))
    }

    .viewport .tag,.viewport .tag2 {
        top: auto;
        bottom: 16px;
        width: calc(50% - 5px);
        height: 48px;
        padding: 8px 10px;
        border-radius: 15px;
        gap: 7px;
        left: 0;
        right: auto
    }

    .viewport .tag2 {
        left: auto;
        right: 0
    }

    .viewport .tag strong {
        font-size: 9px
    }

    .viewport .tag small {
        font-size: 6px;
        margin-top: 2px;
        letter-spacing: .5px
    }

    .viewport .tag .spark {
        font-size: 21px
    }

    .viewport .tag2 .icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
        border-radius: 9px
    }

    .viewport .scene-foot {
        display: none
    }

    .viewport .floor {
        width: 170px;
        bottom: 76px
    }

    .viewport .actions {
        order: 4;
        width: 100%;
        gap: 12px;
        margin: 7px 0 12px;
        flex-shrink: 0
    }

    .viewport .actions button {
        padding: 10px 15px;
        font-size: 10px;
        gap: 18px;
        border-radius: 18px
    }

    .viewport .actions .button-icon {
        width: 30px;
        height: 30px
    }

    .viewport .scroll-cue {
        display: none
    }

    .viewport .bottom {
        height: 44px;
        padding: 0 0 8px;
        margin: 0 22px
    }

    .viewport .ticker-track {
        gap: 22px
    }

    .viewport .service {
        font-size: 8px
    }

    .viewport .service .button-icon {
        width: 25px;
        height: 25px
    }

    .viewport .bottom-title {
        display: none
    }
}

@media(max-width: 760px) and (max-height:700px) {
    .viewport .copy p {
        display:none
    }

    .viewport .story-title {
        height: 85px;
        font-size: 29px
    }

    .viewport .scene {
        min-height: 210px
    }

    .viewport .actions {
        margin: 4px 0 7px
    }

    .viewport .assembly {
        inset: -3px 35px 60px
    }

    .viewport .eyebrow {
        margin-top: 4px
    }

    .viewport header {
        height: 58px
    }

    .viewport .hero {
        height: calc(100svh - 102px)
    }
}

@media(prefers-reduced-motion:reduce) {
    .viewport .title-frame {
        will-change: auto
    }

    .sculpture-plinth {
        transform: none
    }

    .viewport .glass-title {
        filter: drop-shadow(0 2px 0 #7a9abb)
    }
}

@media(max-width: 760px) {
    .sculpture-plinth {
        inset:38px 14% 88px;
        border-radius: 100px 100px 45px 45px
    }

    .viewport .assembly {
        left: 5px;
        right: 5px
    }

    .viewport .scene-foot {
        display: block;
        bottom: 76px;
        font-size: 8px;
        letter-spacing: 0
    }

    .viewport .scene-foot>span:first-child {
        display: none
    }

    .viewport .progress-track {
        width: 85px;
        margin-top: 6px
    }

    .viewport .scene-foot:after {
        content: 'با اسکرول، لبخند شکل می‌گیرد';
        display: block;
        font-size: 7px;
        margin-top: 5px;
        color: #718eaa
    }

    .viewport .tag strong {
        font-size: 9px
    }
}

/* Prismatic atelier: bold typography and a choreographed sculpture */
.viewport {
    background: radial-gradient(ellipse at 18% 48%,#b0d0f2 0,transparent 43%),radial-gradient(ellipse at 90% 80%,#c6d5f6 0,transparent 48%),#eff6fd
}

.viewport .story-title {
    height: 260px;
    font-size: clamp(50px,5.6vw,82px);
    margin: 12px 0 25px;
    isolation: isolate
}

.viewport .title-first {
    font-size: 1.2em;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -3px;
    background: linear-gradient(150deg,#244b71,#0b2749 58%,#5b8ab6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 10px 18px #547ba41c);
    transform: translateX(calc(var(--title-y,0px)*-.5))
}

.viewport .glass-title {
    font-size: .88em;
    font-weight: 900;
    line-height: 1.7;
    white-space: nowrap;
    letter-spacing: -2px;
    background: linear-gradient(115deg,#1d609c 10%,#4d9bd3 35%,#d5f3ff 45%,#307ab7 53%,#124d88 78%,#85b8e1);
    background-size: 180% 100%;
    background-position: var(--light-x,15%) 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: .5px #f4fbff;
    filter: drop-shadow(0 1px 0 #2e608c) drop-shadow(0 3px 0 #74a0c5) drop-shadow(0 5px 0 #abc9e3) drop-shadow(0 12px 14px #27609826)
}

.viewport .glass-title:before {
    content: '';
    position: absolute;
    inset: 12% -12px 3%;
    z-index: -1;
    border-radius: 22px 9px 22px 9px;
    border: 1px solid #fff9;
    background: linear-gradient(130deg,#ffffff76,#c4def523);
    box-shadow: inset 0 1px 0 #fff,0 15px 24px #497eb011;
    transform: perspective(500px) rotateY(calc(var(--title-r,0deg)*.4)) rotate(-2deg);
    backdrop-filter: blur(5px)
}

.viewport .glass-title:after {
    height: 3px;
    width: 55%;
    bottom: -4px;
    right: 0;
    background: linear-gradient(90deg,transparent,#4e8ec3,#fff);
    filter: drop-shadow(0 2px 2px #537fa740);
    transform: scaleX(calc(.7 + var(--cinema)*.5))
}

.title-jewel {
    position: absolute;
    left: 5%;
    top: 5%;
    font-size: 55px;
    color: #edfaff;
    text-shadow: 1px 2px 0 #82abce,0 9px 15px #5282ad40;
    transform: rotate(calc(-15deg + var(--cinema)*110deg)) scale(calc(1 - var(--cinema)*.2));
    pointer-events: none
}

.viewport .eyebrow {
    font-size: 10px;
    letter-spacing: .3px
}

.viewport .copy p {
    max-width: 370px;
    color: #5b7692
}

.viewport .scene {
    perspective: 1000px
}

.sculpture-plinth {
    inset: 8% 14% 12%;
    background: linear-gradient(135deg,#ffffff91,#d2e9fc26 45%,#88b9eb30);
    box-shadow: inset 1px 2px 3px #fff,0 25px 55px #4b82b927
}

.sculpture-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.precision-frame {
    width: 100%;
    height: 100%;
    overflow: visible
}

.precision-trace {
    stroke-dasharray: 16 84;
    stroke-dashoffset: calc(var(--cinema)*-100);
    filter: drop-shadow(0 0 5px #8ad4ff)
}

.precision-outline {
    opacity: .5
}

.levitation-ring {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 74%;
    height: 16%;
    border-radius: 50%;
    border: 1px solid #ffffffd9;
    box-shadow: 0 3px 5px #5289bd18,inset 0 1px 2px #fff,0 0 25px #99d8ff33;
    transform: translate(-50%,-50%) rotate(calc(-14deg + var(--cinema)*28deg));
    background: linear-gradient(180deg,#ffffff0a,#ffffff35);
    opacity: .75
}

.ring-two {
    top: 64%;
    width: 65%;
    height: 12%;
    border-color: #82b0da75;
    transform: translate(-50%,-50%) rotate(calc(12deg - var(--cinema)*25deg));
    background: none
}

.light-blade {
    position: absolute;
    top: calc(20% + var(--cinema)*54%);
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg,transparent,#fff 35%,#8ac5ed 65%,transparent);
    box-shadow: 0 0 12px #fff;
    opacity: calc(.55 - var(--focus)*.45)
}

.prism {
    position: absolute;
    transform-style: preserve-3d;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(140deg,#ffffffcf,#a3c8ef4d 50%,#4d95d140);
    border: 1px solid #fff;
    box-shadow: inset 2px 2px 3px #fff,7px 10px 16px #4071a124;
    backdrop-filter: blur(4px)
}

.prism:before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid #fff9;
    border-radius: 7px
}

.prism-one {
    top: 12%;
    right: 13%;
    transform: translateY(calc(var(--cinema)*-25px)) rotate(calc(25deg + var(--cinema)*95deg))
}

.prism-two {
    left: 10%;
    bottom: 15%;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    transform: translateY(calc(var(--cinema)*24px)) rotate(calc(-20deg - var(--cinema)*95deg))
}

.sculpture-star {
    position: absolute;
    color: #f7fdff;
    text-shadow: 1px 2px 0 #7eacd3,0 8px 12px #3f78ac35;
    font-size: 33px;
    transform: rotate(calc(var(--cinema)*120deg))
}

.star-one {
    left: 13%;
    top: 22%
}

.star-two {
    right: 10%;
    bottom: 29%;
    font-size: 24px
}

.material-chip {
    position: absolute;
    right: 7%;
    top: 40%;
    display: flex;
    align-items: center;
    gap: 7px;
    font: 500 20px Arial;
    color: #456d94;
    transform: translateY(calc(var(--cinema)*-28px))
}

.material-chip small {
    display: block;
    font: 5px Arial;
    letter-spacing: 1px;
    margin-top: 4px
}

.material-chip i {
    width: 22px;
    height: 22px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: linear-gradient(100deg,#57718d,#f9fcff 30%,#7e9cb8 48%,#e3edf7 65%,#41678a);
    box-shadow: 2px 3px 7px #385b7d24
}

.viewport .assembly {
    z-index: 1
}

.viewport .tag {
    z-index: 3
}

.viewport .assembled .sculpture-plinth {
    box-shadow: inset 1px 2px 3px #fff,0 0 40px #e9f8ff,0 25px 55px #4b82b927
}

.viewport .primary {
    background: linear-gradient(135deg,#d8efff,#a5cceb70);
    border-color: #fff
}

.viewport .actions {
    gap: 20px
}

@media(max-width: 760px) {
    .viewport .story-title {
        height:clamp(115px,17svh,145px);
        font-size: clamp(35px,10vw,43px);
        margin: 3px 0 4px
    }

    .viewport .title-first {
        font-size: 1.17em;
        letter-spacing: -2px
    }

    .viewport .glass-title {
        font-size: .85em;
        letter-spacing: -1.2px;
        line-height: 1.75
    }

    .viewport .glass-title:before {
        inset: 14% -10px 4%;
        border-radius: 15px 5px 15px 5px
    }

    .title-jewel {
        left: 8%;
        top: 3%;
        font-size: 27px
    }

    .viewport .eyebrow {
        font-size: 8px
    }

    .viewport .copy p {
        font-size: 9px;
        margin: 6px auto 2px;
        max-width: 280px
    }

    .sculpture-effects {
        bottom: 75px
    }

    .sculpture-plinth {
        inset: 20px 17% 85px;
        border-radius: 90px 90px 38px 38px
    }

    .viewport .assembly {
        inset: -15px 0 65px
    }

    .precision-frame {
        opacity: .65
    }

    .prism-one {
        width: 29px;
        height: 29px;
        right: 15%;
        top: 10%;
        border-radius: 8px
    }

    .prism-one:before {
        inset: 5px;
        border-radius: 5px
    }

    .prism-two {
        width: 21px;
        height: 21px;
        left: 12%;
        bottom: 12%;
        border-radius: 6px
    }

    .prism-two:before {
        inset: 4px;
        border-radius: 3px
    }

    .star-one {
        font-size: 24px;
        left: 12%;
        top: 27%
    }

    .star-two {
        font-size: 20px;
        right: 12%;
        bottom: 22%
    }

    .material-chip {
        right: 5%;
        top: 45%;
        font-size: 14px;
        gap: 4px
    }

    .material-chip i {
        width: 16px;
        height: 16px
    }

    .material-chip small {
        font-size: 4px;
        letter-spacing: .5px
    }

    .levitation-ring {
        width: 75%;
        top: 66%;
        height: 14%
    }

    .ring-two {
        width: 65%;
        top: 68%;
        height: 10%
    }

    .viewport .scene-foot {
        bottom: 74px
    }

    .viewport .actions {
        gap: 12px
    }

    .viewport .scene {
        min-height: 225px
    }

    .viewport .tag strong {
        font-size: 9px
    }
}

@media(max-width: 760px) and (max-height:700px) {
    .viewport .story-title {
        height:104px;
        font-size: 34px
    }

    .viewport .copy p {
        display: none
    }

    .viewport .scene {
        min-height: 205px
    }

    .viewport .assembly {
        inset: -10px 12px 62px
    }

    .material-chip {
        display: none
    }

    .title-jewel {
        font-size: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    .prism,.sculpture-star,.material-chip,.title-jewel {
        transform: none
    }

    .precision-trace {
        stroke-dashoffset: 0
    }

    .light-blade {
        display: none
    }
}

.viewport .glass-title:before {
    display: none
}

.viewport .glass-title {
    background-image: linear-gradient(110deg,#184d7e 10%,#367db3 37%,#a3d9f7 47%,#215e95 56%,#113d6d 85%);
    -webkit-text-stroke: .35px #dfedfa;
    filter: drop-shadow(0 1px 0 #7ca4c6) drop-shadow(0 3px 0 #adc7dd) drop-shadow(0 6px 0 #d1dfef) drop-shadow(0 12px 14px #27609826)
}

.doctor-license {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #507292;
    margin: 12px 0
}

.doctor-license span {
    padding: 4px 10px;
    border: 1px solid #fff;
    border-radius: 20px;
    background: #ffffff80
}

.clinic-services {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 12px 0 18px
}

.clinic-services span {
    padding: 6px 10px;
    font-size: 10px;
    border: 1px solid #fff9;
    border-radius: 13px;
    background: linear-gradient(135deg,#ffffffa0,#c9def13a);
    color: #446783
}

.clinic-phone {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    width: fit-content;
    padding: 12px 20px;
    border: 1px solid #b9dcff60;
    border-radius: 18px;
    background: #91bfe322;
    color: #e4f4ff
}

.clinic-phone span {
    font-size: 10px
}

.clinic-phone b {
    font-size: 20px;
    letter-spacing: 1px
}

.footer-address {
    line-height: 2;
    font-style: normal;
    font-size: 12px
}

.footer-brand-title strong {
    font-size: 18px
}

.practice-location {
    flex-wrap: wrap
}

.practice-location span {
    font-size: 11px;
    line-height: 1.9
}

.about-actions .primary {
    display: inline-flex
}

.viewport .actions a {
    display: inline-flex;
    align-items: center
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.gallery-notice:empty {
    display: none
}

@media(max-width: 760px) {
    .viewport .actions a {
        padding:10px 15px;
        font-size: 10px;
        gap: 18px;
        border-radius: 18px
    }

    .doctor-license {
        font-size: 10px;
        gap: 6px
    }

    .clinic-services {
        gap: 4px;
        margin: 8px 0 12px
    }

    .clinic-services span {
        font-size: 9px;
        padding: 4px 8px
    }

    .footer-brand-title strong {
        font-size: 16px
    }

    .about-intro {
        font-size: 12px
    }

    .footer-columns {
        grid-template-columns: 1fr
    }

    .footer-brand {
        grid-column: auto
    }

    .clinic-phone b {
        font-size: 19px
    }
}

/* Clinical hero: isolated layout, stable sticky track, independent ticker. */
.page.clinical-page {
    height: 440svh;
    overflow: visible;
    background: #eaf2f8;
    position: relative
}

.clinical-page .clinical-viewport {
    height: 100svh;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 20% 55%,#c8deee88,transparent 58%),#f1f6fa;
    perspective: none
}

.clinical-viewport:before,.clinical-viewport:after {
    display: none
}

.clinical-viewport header {
    height: 86px;
    min-height: 86px;
    width: 100%;
    padding: 0 5vw;
    max-width: 1600px
}

.clinical-viewport .brand {
    background: transparent;
    box-shadow: none;
    border: 0
}

.clinical-viewport .nav button {
    color: #41576a
}

.clinical-viewport .topcta {
    color: #244b6e;
    background: #ffffff75;
    border-color: #fff
}

.clinical-main {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    width: 100%
}

.clinical-viewport .clinical-hero {
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 4vw;
    align-items: center;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 0 6vw;
    margin: auto
}

.clinical-copy {
    position: relative;
    z-index: 2;
    text-align: right
}

.clinical-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0;
    color: #5d7589
}

.clinical-kicker i {
    width: 6px;
    height: 6px;
    background: #54829f;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #54829f13
}

.clinical-copy :is(h1,h2) {
    font-size: clamp(44px,5.1vw,80px);
    line-height: 1.55;
    letter-spacing: -2px;
    margin: 24px 0 18px;
    color: #183a54;
    font-weight: 800;
    transform: translateY(calc(var(--restoration,0)*-8px));
    text-shadow: 0 2px #fff,0 7px 14px #3e6e8b12
}

.clinical-copy :is(h1,h2) span {
    background: linear-gradient(140deg,#97bdd3 0%,#244e72 35%,#779ebc 62%,#264a69);
    background-size: 180% 100%;
    background-position: calc(var(--restoration,0)*100%) 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #fff);
    text-shadow: none
}

.clinical-copy p {
    font-size: 15px;
    line-height: 2.1;
    color: #687f91;
    margin: 0 0 26px
}

.clinical-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

.clinical-button {
    border: 1px solid #fff;
    background: linear-gradient(135deg,#edf7ff,#bcd6e9);
    color: #173f5b;
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 12px;
    box-shadow: inset 0 1px 1px white,0 8px 20px #355e7610;
    transition: transform .25s
}

.clinical-button:hover {
    transform: translateY(-3px)
}

.clinical-button.outline {
    background: #ffffff55
}

.clinical-button span {
    font-size: 20px
}

.clinical-signature {
    font-size: 11px;
    color: #385a73;
    margin-top: 32px
}

.clinical-signature span {
    display: block;
    color: #8a9ca9;
    font-size: 10px;
    margin-top: 6px
}

.clinical-visual {
    direction: ltr;
    position: relative;
    min-width: 0;
    max-width: 680px;
    width: 100%;
    justify-self: center
}

.clinical-topline {
    display: flex;
    justify-content: space-between;
    font: 9px/1.5 Arial;
    letter-spacing: 2px;
    color: #8094a3;
    margin: 0 8px
}

.dental-model {
    width: min(100%,60svh);
    aspect-ratio: 1;
    position: relative;
    margin: 0 auto;
    isolation: isolate
}

.dental-model:before {
    content: '';
    position: absolute;
    inset: 25% 8% 2%;
    background: radial-gradient(ellipse,#fff9,transparent 65%);
    border-radius: 50%;
    z-index: -1
}

.dental-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    will-change: transform
}

.dental-row {
    clip-path: polygon(0 61%,43% 61%,43% 76%,57% 76%,57% 61%,100% 61%,100% 100%,0 100%);
    z-index: 3
}

.dental-screw {
    clip-path: inset(43% 43% 30% 43%);
    z-index: 1
}

.dental-abutment {
    clip-path: inset(26% 43% 57% 43%);
    z-index: 2
}

.dental-crown {
    clip-path: inset(3% 40% 74% 40%);
    transform-origin: 50% 15%;
    z-index: 4
}

.clinical-note {
    position: absolute;
    left: 3%;
    top: 32%;
    padding: 14px 18px;
    border-left: 1px solid #9fb8c9;
    background: linear-gradient(90deg,#ffffff77,transparent);
    direction: rtl;
    text-align: right
}

.clinical-note span {
    display: block;
    font-size: 12px;
    color: #365c77
}

.clinical-note small {
    display: block;
    font-size: 9px;
    margin-top: 7px;
    color: #8498a6
}

.clinical-caption {
    display: flex;
    justify-content: space-between;
    direction: rtl;
    margin: 12px 4px;
    font-size: 12px;
    color: #375b75
}

.clinical-percent {
    font-size: 10px;
    color: #6f8ca0
}

.clinical-progress {
    height: 2px;
    background: #d4e1ea;
    overflow: hidden
}

.clinical-progress i {
    height: 100%;
    display: block;
    background: #497b9c;
    transform-origin: right;
    transform: scaleX(0)
}

.clinical-steps {
    display: flex;
    justify-content: space-between;
    direction: rtl;
    margin-top: 10px
}

.clinical-steps button {
    font-size: 10px;
    border: 0;
    background: none;
    color: #94a7b5;
    padding: 5px 0
}

.clinical-steps button[aria-current=true] {
    color: #214d6e
}

.clinical-scroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 14px 6vw 22px;
    gap: 20px
}

.clinical-scroll button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 0;
    color: #54738b;
    font-size: 10px;
    padding: 0
}

.clinical-scroll-icon {
    display: grid;
    place-items: center;
    border: 1px solid #c5d8e6;
    width: 32px;
    height: 40px;
    border-radius: 20px;
    font: 19px Arial
}

.clinical-scroll small {
    font: 8px Arial;
    letter-spacing: 3px;
    color: #9cafbd
}

.clinical-ticker {
    position: relative;
    z-index: 2;
    background: #edf4f9;
    padding: 15px 0;
    border-top: 1px solid #d9e6ef;
    border-bottom: 1px solid #d9e6ef
}

.clinical-ticker .bottom {
    position: relative;
    inset: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
    height: auto;
    min-height: 54px;
    padding: 0 6vw;
    transform: none;
    display: flex;
    align-items: center
}

.clinical-ticker .bottom-title {
    color: #58748a
}

.clinical-ticker .service {
    color: #365b78
}

.enamel-glint {
    position: absolute;
    left: 49%;
    top: 70%;
    width: 3%;
    height: 15%;
    z-index: 5;
    background: linear-gradient(90deg,transparent,#fff9,transparent);
    filter: blur(3px);
    opacity: 0;
    transform: rotate(12deg);
    pointer-events: none
}

.restoration-complete .enamel-glint {
    animation: enamelLight 1.5s ease-out both
}

@keyframes enamelLight {
    0% {
        opacity: 0;
        translate: -18px 0
    }

    40% {
        opacity: .8
    }

    100% {
        opacity: 0;
        translate: 18px 0
    }
}

@media(max-width: 760px) {
    .page.clinical-page {
        height:430svh
    }

    .clinical-viewport header {
        height: 58px;
        min-height: 58px;
        padding: 0 22px
    }

    .clinical-viewport .nav {
        display: none
    }

    .clinical-viewport .topcta {
        font-size: 10px;
        padding: 8px 12px
    }

    .clinical-viewport .brandmark {
        width: 28px;
        height: 35px
    }

    .clinical-viewport .clinical-hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 0 23px;
        height: 100%
    }

    .clinical-copy {
        text-align: center;
        width: 100%
    }

    .clinical-kicker {
        justify-content: center;
        font-size: 9px
    }

    .clinical-copy :is(h1,h2) {
        font-size: clamp(31px,8.8vw,44px);
        line-height: 1.4;
        letter-spacing: -1px;
        margin: 10px 0
    }

    .clinical-copy :is(h1,h2) br {
        display: none
    }

    .clinical-copy :is(h1,h2) span {
        display: block
    }

    .clinical-copy p {
        font-size: 10px;
        line-height: 1.8;
        margin: 0 0 12px
    }

    .clinical-copy p br {
        display: none
    }

    .clinical-actions {
        justify-content: center;
        gap: 10px
    }

    .clinical-button {
        font-size: 10px;
        padding: 10px 14px;
        border-radius: 12px;
        gap: 16px
    }

    .clinical-button span {
        font-size: 15px
    }

    .clinical-signature {
        display: none
    }

    .clinical-visual {
        max-width: 430px
    }

    .clinical-topline {
        font-size: 7px;
        letter-spacing: 1.5px
    }

    .dental-model {
        width: min(100%,39svh);
        margin: 0 auto
    }

    .clinical-note {
        top: 25%;
        left: 0;
        padding: 8px 10px
    }

    .clinical-note span {
        font-size: 9px
    }

    .clinical-note small {
        font-size: 7px
    }

    .clinical-caption {
        font-size: 9px;
        margin: 7px 0
    }

    .clinical-steps {
        margin-top: 5px
    }

    .clinical-steps button {
        font-size: 8px
    }

    .clinical-scroll {
        padding: 10px 23px 14px;
        justify-content: center
    }

    .clinical-scroll button {
        font-size: 9px
    }

    .clinical-scroll-icon {
        height: 29px;
        width: 23px;
        font-size: 15px
    }

    .clinical-scroll small {
        display: none
    }

    .clinical-ticker .bottom {
        padding: 0 18px;
        min-height: 48px
    }

    .clinical-ticker .bottom-title {
        display: none
    }

    .clinical-ticker {
        padding: 6px 0
    }
}

@media(max-height: 680px) and (min-width:761px) {
    .clinical-copy :is(h1,h2) {
        font-size:44px;
        margin: 12px 0
    }

    .clinical-copy p {
        font-size: 12px
    }

    .clinical-signature {
        margin-top: 16px
    }

    .clinical-viewport header {
        height: 64px;
        min-height: 64px
    }

    .dental-model {
        width: min(100%,57svh)
    }

    .clinical-scroll {
        padding-bottom: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .page.clinical-page {
        height: auto;
        min-height: 100svh
    }

    .clinical-page .clinical-viewport {
        position: relative;
        min-height: 100svh;
        height: auto
    }

    .clinical-main {
        min-height: 75svh
    }

    .enamel-glint {
        display: none
    }

    .clinical-copy :is(h1,h2) {
        transform: none
    }
}

/* Natural document flow after the introductory implant sequence. */
.atelier,.about-doctor,.services-universe,.practice-story,.smile-journey {
    height: auto!important;
    min-height: 0!important
}

.atelier-sticky,.about-stage,.universe-stage,.practice-sticky,.journey-stage {
    position: relative!important;
    top: auto!important;
    height: auto!important;
    min-height: 0!important;
    overflow: hidden
}

.atelier-inner {
    height: auto;
    min-height: 0;
    padding-top: 65px;
    padding-bottom: 45px
}

.atelier-stage {
    min-height: 430px
}

.about-inner,.universe-inner,.practice-inner,.journey-inner {
    height: auto;
    min-height: 0;
    padding-top: 65px;
    padding-bottom: 55px
}

.about-stage {
    padding-block:20px}

.universe-stage {
    padding-bottom: 15px
}

.journey-stage {
    padding-block:20px}

.about-value {
    opacity: 1!important
}

.practice-story .story-word {
    transition: opacity .25s
}

.cinema-reveal {
    transition-duration: .55s
}

.cinema-pending {
    filter: none!important
}

/* The base stays visible inside a cutaway rather than fading away. */
.dental-model {
    width: min(100%,50svh);
    margin-bottom: 7svh
}

.dental-row {
    clip-path: polygon(0 61%,43% 61%,43% 76%,57% 76%,57% 61%,100% 61%,100% 100%,57% 100%,57% 81%,43% 81%,43% 100%,0 100%)
}

.bone-window {
    position: absolute;
    left: 41.5%;
    top: 78%;
    width: 17%;
    height: 33%;
    border-radius: 35% 35% 44% 44%;
    z-index: 0;
    border: 1px solid #fff;
    background: radial-gradient(circle at 18% 20%,#ba997c55 1px,transparent 2px) 0 0/8px 9px,radial-gradient(circle at 80% 60%,#d5bda355 1px,transparent 3px) 0 0/13px 12px,linear-gradient(90deg,#d7bca1,#fff1da 27%,#f3e1c9 72%,#bca48c);
    box-shadow: inset 3px 0 8px #846a4a25,inset -3px 0 5px #fff8,0 8px 16px #29445f12
}

.bone-window i {
    position: absolute;
    inset: 9% 28% 11%;
    border-radius: 18px;
    background: linear-gradient(90deg,#927b6355,#e4d2bd88,#927b6344);
    box-shadow: inset 0 0 5px #79634b33
}

.dental-screw {
    z-index: 2
}

.dental-abutment {
    z-index: 4
}

.dental-crown {
    z-index: 5
}

.bone-caption {
    position: absolute;
    top: 104%;
    left: 63%;
    font-size: 8px;
    color: #7790a2;
    white-space: nowrap
}

.bone-caption:before {
    content: '';
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    width: 18px;
    height: 1px;
    background: #9bb2c2
}

.clinical-note {
    left: 0;
    top: 35%
}

/* Glass service directory */
.care-catalog {
    max-width: 1240px;
    margin: auto;
    padding: 35px 48px 75px;
    position: relative;
    z-index: 2
}

.care-catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px
}

.care-catalog-heading>div>span {
    font-size: 10px;
    color: #8eabc6
}

.care-catalog h3 {
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -.7px;
    margin: 10px 0 0;
    color: #edf8ff
}

.care-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.care-filters button {
    border: 1px solid #9bd0ff20;
    background: #d6eeff08;
    color: #9fb9cf;
    border-radius: 20px;
    font-size: 10px;
    padding: 9px 13px;
    transition: background .2s
}

.care-filters button[aria-pressed=true] {
    color: #102d49;
    background: #d7efff;
    border-color: #fff;
    box-shadow: 0 4px 20px #6bbaff25
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    align-items: stretch
}

.care-card {
    position: relative;
    text-align: right;
    min-width: 0;
    padding: 20px;
    border: 1px solid #b9ddff30;
    border-radius: 24px 24px 6px 24px;
    background: linear-gradient(145deg,#ffffff13,#c2e2ff06);
    backdrop-filter: blur(18px);
    color: #dcedfb;
    transition: transform .3s,border-color .3s,background .3s
}

.care-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg,#ffffff20,#c2e2ff0a);
    border-color: #b9ddff88
}

.care-card[hidden] {
    display: none
}

.care-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px
}

.care-card-top small {
    font: 9px Arial;
    letter-spacing: 2px;
    color: #82a4c077
}

.care-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid #d1ecff5f;
    background: linear-gradient(135deg,#e1f5ff77,#8dc1e71a);
    border-radius: 14px;
    box-shadow: inset 1px 1px 2px #fff8,3px 5px 10px #0003;
    transform: rotate(-6deg)
}

.care-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #e4f5ff;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(1px 2px 1px #0b254d88)
}

.care-card strong {
    font-size: 14px;
    font-weight: 500
}

.care-card p {
    font-size: 10px;
    line-height: 2;
    color: #9db6cc;
    min-height: 60px;
    margin: 10px 0 18px
}

.care-more {
    font-size: 9px;
    color: #c4e4fc;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.care-more b {
    font: 20px Arial;
    color: #a7d7fc
}

/* Touch-native gallery, without consuming the page's vertical scroll. */
.smile-gallery {
    padding-left: 0;
    padding-right: 0
}

.gallery-inner {
    max-width: 1320px
}

.gallery-top,.gallery-footer,.gallery-controls {
    margin-left: 48px;
    margin-right: 48px
}

.gallery-grid {
    display: flex;
    direction: ltr;
    height: auto;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 10px 48px 25px;
    perspective: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-padding-inline: 48px
}

.gallery-grid::-webkit-scrollbar {
    display: none
}

.gallery-grid .gallery-photo {
    flex: 0 0 62%;
    width: 62%;
    height: 390px;
    scroll-snap-align: start;
    transform: none!important;
    rotate: none!important;
    scale: 1!important;
    opacity: 1!important;
    direction: rtl
}

.gallery-grid .gallery-photo:first-child {
    grid-row: auto
}

.gallery-grid .gallery-photo:first-child .gallery-photo-caption {
    bottom: 24px;
    right: 25px;
    left: 25px
}

.gallery-grid .gallery-photo:first-child .gallery-photo-caption strong {
    font-size: 20px
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 20px
}

.gallery-nav {
    display: flex;
    align-items: center;
    gap: 18px
}

.gallery-controls button {
    height: 38px;
    min-width: 38px;
    border: 1px solid #fff;
    border-radius: 30px;
    background: #ffffff66;
    color: #335e7b;
    box-shadow: inset 0 1px #fff
}

.gallery-controls button:hover {
    background: #fff
}

.gallery-controls button:disabled {
    opacity: .35;
    cursor: default
}

.gallery-nav button {
    font: 20px Arial
}

.gallery-nav span {
    font-size: 10px;
    color: #63839c
}

.gallery-controls #smiles-play {
    font-size: 10px;
    padding: 0 16px;
    display: flex;
    gap: 14px;
    align-items: center
}

/* Practical pre-visit information */
.clinic-faq {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 7vw;
    background: radial-gradient(ellipse at 15% 40%,#cee3f4,transparent 60%),#edf4fa;
    padding: 90px max(6vw,24px);
    color: #244861
}

.faq-intro>span {
    font-size: 10px;
    color: #7894a9
}

.faq-intro h2 {
    font-size: clamp(28px,3.2vw,46px);
    font-weight: 500;
    line-height: 1.65;
    margin: 14px 0 20px
}

.faq-intro h2 em {
    font-style: normal;
    font-weight: 800;
    color: #487b9b;
    text-shadow: 0 2px #fff
}

.faq-intro p {
    font-size: 12px;
    line-height: 2.1;
    color: #6b8599;
    max-width: 330px
}

.faq-intro>a {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px
}

.faq-intro>a b {
    font-size: 17px;
    letter-spacing: 1px
}

.faq-items {
    align-self: center
}

.faq-items details {
    border-bottom: 1px solid #a7c6db55;
    padding: 0 20px;
    background: #fff5;
    backdrop-filter: blur(12px);
    border-radius: 17px;
    margin: 10px 0;
    border: 1px solid #fff9
}

.faq-items summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.faq-items summary:after {
    content: '+';
    font: 22px Arial;
    color: #7096b0
}

.faq-items details[open] summary:after {
    content: '−'
}

.faq-items p {
    font-size: 11px;
    line-height: 2.3;
    color: #5c7b93;
    margin: 0 0 23px
}

.faq-items summary::-webkit-details-marker {
    display: none
}

@media(max-width: 900px) {
    .care-grid {
        grid-template-columns:repeat(2,1fr)
    }

    .care-catalog-heading {
        align-items: start;
        flex-direction: column
    }

    .clinic-faq {
        gap: 35px
    }

    .gallery-grid .gallery-photo {
        flex-basis: 390px;
        width: 390px;
        height: 350px
    }
}

@media(max-width: 760px) {
    .page.clinical-page {
        height:380svh
    }

    .dental-model {
        width: min(100%,32svh);
        margin-bottom: 5svh
    }

    .bone-caption {
        font-size: 6px;
        left: 63%;
        top: 106%
    }

    .clinical-note {
        left: -6%;
        top: 34%
    }

    .clinical-note small {
        max-width: 70px
    }

    .atelier-inner,.about-inner,.universe-inner,.practice-inner,.journey-inner {
        padding-top: 36px;
        padding-bottom: 35px
    }

    .atelier-stage {
        min-height: 350px
    }

    .atelier-inner {
        min-height: 0
    }

    .about-stage,.journey-stage {
        padding: 0
    }

    .about-layout {
        gap: 25px
    }

    .care-catalog {
        padding: 20px 23px 45px
    }

    .care-catalog h3 {
        font-size: 24px
    }

    .care-catalog-heading {
        gap: 17px
    }

    .care-filters {
        gap: 5px
    }

    .care-filters button {
        font-size: 9px;
        padding: 8px 10px
    }

    .care-grid {
        gap: 10px
    }

    .care-card {
        padding: 15px;
        border-radius: 19px 19px 5px 19px
    }

    .care-icon {
        width: 35px;
        height: 35px;
        border-radius: 11px
    }

    .care-icon svg {
        width: 22px;
        height: 22px
    }

    .care-card-top {
        margin-bottom: 17px
    }

    .care-card strong {
        font-size: 12px
    }

    .care-card p {
        font-size: 9px;
        min-height: 65px;
        line-height: 1.9;
        margin: 9px 0 13px
    }

    .care-more {
        font-size: 8px
    }

    .gallery-top,.gallery-footer,.gallery-controls {
        margin-left: 23px;
        margin-right: 23px
    }

    .gallery-grid {
        gap: 13px;
        padding: 7px 23px 20px;
        scroll-padding-inline: 23px
    }

    .gallery-grid .gallery-photo {
        flex-basis: 82vw;
        width: 82vw;
        height: 340px;
        max-width: 390px
    }

    .gallery-grid .gallery-photo:first-child .gallery-photo-caption strong {
        font-size: 18px
    }

    .clinic-faq {
        grid-template-columns: 1fr;
        padding: 50px 23px;
        gap: 20px
    }

    .faq-intro h2 {
        font-size: 30px
    }

    .faq-intro p {
        font-size: 11px
    }

    .faq-items summary {
        font-size: 11px;
        padding: 19px 0
    }

    .faq-items p {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    .page.clinical-page {
        height: auto
    }

    .gallery-grid {
        scroll-behavior: auto
    }

    .care-card {
        transition: none
    }
}

/* Silver directional marks, consistently sized across actions. */
.link-mark {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #52606b;
    transition: transform .3s
}

a:hover .link-mark,button:hover .link-mark {
    transform: translate(-2px,-2px)
}

.care-more .link-mark,.footer-contact .link-mark,.faq-intro .link-mark {
    color: inherit
}

.care-more b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    background: #fff1;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    color: #e7edf2
}

.clinical-button span {
    color: #52606b
}

.card-bottom>svg,.summary-more>svg,.practice-link>svg {
    color: #596b76;
    stroke: #596b76
}

.journey-cta svg,.universe-consult svg {
    stroke: #dce6eb
}

.care-grid {
    perspective: 1000px
}

.care-card {
    transform-origin: 50% 85%
}

.gallery-grid {
    scroll-snap-type: none!important;
    scroll-behavior: auto!important
}

/* An enamel-wide back-and-forth light pass after assembly. */
.enamel-glint {
    inset: 0!important;
    width: 100%!important;
    height: 100%!important;
    left: 0!important;
    top: 0!important;
    z-index: 7;
    transform: none!important;
    filter: none!important;
    translate: none;
    opacity: 0;
    background: linear-gradient(110deg,transparent 35%,#ffffff22 43%,#ffffffd9 49%,#fff4 55%,transparent 65%);
    background-size: 350% 100%;
    background-position: 100% 0;
    mask-image: url('dental-realistic.png'),radial-gradient(ellipse 7% 9% at 50% 78%,#000 90%,transparent 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('dental-realistic.png'),radial-gradient(ellipse 7% 9% at 50% 78%,#000 90%,transparent 100%);
    -webkit-mask-size: 100% 100%;
    clip-path: polygon(0 62%,100% 62%,100% 77%,96% 81%,87% 83%,75% 86%,61% 87%,50% 88%,39% 87%,25% 86%,13% 83%,4% 81%,0 77%)
}

.restoration-complete .enamel-glint {
    animation: enamelRowShine 2.6s ease-in-out both
}

@keyframes enamelRowShine {
    0% {
        opacity: 0;
        background-position: 100% 0
    }

    15% {
        opacity: .9
    }

    48% {
        opacity: .9;
        background-position: 0% 0
    }

    55% {
        opacity: .65
    }

    85% {
        opacity: .9
    }

    100% {
        opacity: 0;
        background-position: 100% 0
    }
}

/* A luminous, architectural footer. */
.clinic-footer {
    background: radial-gradient(ellipse at 75% 10%,#2d4c6760,transparent 48%),radial-gradient(ellipse at 10% 75%,#39435b55,transparent 48%),#0a1725;
    padding-top: 80px;
    position: relative;
    overflow: hidden
}

.clinic-footer:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#d7edff06 1px,transparent 1px),linear-gradient(90deg,#d7edff06 1px,transparent 1px);
    background-size: 75px 75px;
    mask-image: linear-gradient(#000,transparent 85%);
    pointer-events: none
}

.footer-invite {
    margin-bottom: 40px
}

.footer-invite-surface {
    min-height: 270px;
    border-radius: 45px 45px 10px 45px;
    background: linear-gradient(135deg,#e0f2ff23,#accee60a);
    border: 1px solid #cde7ff3b;
    box-shadow: inset 0 1px #fff4,0 25px 70px #0002;
    backdrop-filter: blur(26px);
    padding: 45px
}

.footer-invite h2 {
    font-size: clamp(30px,4vw,58px);
    line-height: 1.6
}

.footer-invite h2 span {
    background: linear-gradient(140deg,#fff,#9bb4ca 50%,#eff9ff);
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 1px #071421)
}

.footer-contact {
    border-radius: 50px;
    background: linear-gradient(135deg,#ecf6ffdc,#a7c3d8);
    color: #203645;
    border: 1px solid #ffffffbf;
    padding: 18px 24px;
    box-shadow: inset 0 1px #fff,0 8px 22px #0002
}

.footer-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8198ac;
    margin: 15px 0 25px;
    font-size: 10px
}

.footer-caption>span:first-child {
    font: 9px Arial;
    letter-spacing: 3px;
    direction: ltr
}

.footer-columns {
    gap: 18px!important;
    align-items: stretch
}

.footer-columns>div {
    position: relative;
    border: 1px solid #d4ebff21;
    border-radius: 26px;
    background: linear-gradient(140deg,#d3e9fb10,#b7d7ef03);
    backdrop-filter: blur(18px);
    padding: 28px!important;
    box-shadow: inset 0 1px #ffffff12
}

.footer-brand-title {
    line-height: 1.9
}

.footer-columns h3 {
    color: #d2e1ed;
    font-size: 12px;
    margin-top: 0
}

.footer-nav {
    gap: 14px
}

.footer-nav a {
    color: #91a9bc;
    padding-bottom: 7px;
    border-bottom: 1px solid #abcde516;
    transition: color .2s,translate .2s
}

.footer-nav a:hover {
    color: #fff;
    translate: -3px 0
}

.footer-address {
    line-height: 2.3;
    font-size: 11px
}

.clinic-footer .clinic-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    border-radius: 15px;
    background: linear-gradient(140deg,#d2e5f21a,#abc6dd06);
    padding: 14px;
    border-color: #d1e6f744
}

.clinic-phone b {
    font-size: 17px;
    white-space: nowrap
}

.footer-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 50px 0 15px;
    color: #8fa8ba
}

.footer-seal span {
    font: 24px Georgia;
    border: 1px solid #b8d5e74a;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg,#d2e5f220,#ffffff03);
    box-shadow: inset 0 1px #fff3
}

.footer-seal i {
    font-size: 11px;
    font-style: normal
}

.footer-signature {
    font-size: clamp(38px,8vw,120px);
    margin: 18px 0 35px;
    background: linear-gradient(180deg,#c9e2f36b,#8bb0cc0a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    border: 0;
    padding-top: 0
}

.footer-bottom {
    border-top: 1px solid #b5d6ec20;
    padding-top: 24px;
    padding-bottom: 25px
}

.footer-up {
    background: linear-gradient(135deg,#eef8ff,#a9bdce);
    color: #263e50;
    border-color: #fff8;
    box-shadow: 0 10px 30px #0003
}

@media(max-width: 760px) {
    .clinic-footer {
        padding-top:40px
    }

    .footer-invite-surface {
        padding: 27px 23px;
        min-height: 240px;
        border-radius: 28px 28px 8px 28px;
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: start
    }

    .footer-invite h2 {
        font-size: 29px
    }

    .footer-contact {
        padding: 13px 19px;
        font-size: 10px
    }

    .footer-caption {
        flex-direction: column;
        gap: 10px;
        font-size: 9px;
        margin-bottom: 20px
    }

    .footer-caption>span:first-child {
        font-size: 7px;
        letter-spacing: 2px
    }

    .footer-columns {
        display: grid!important;
        grid-template-columns: 1fr!important;
        gap: 13px!important
    }

    .footer-columns>div {
        padding: 23px!important;
        border-radius: 22px
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr
    }

    .footer-seal {
        margin-top: 32px
    }

    .footer-signature {
        font-size: 10vw;
        margin-bottom: 25px
    }

    .footer-bottom {
        gap: 13px;
        font-size: 8px
    }

    .link-mark {
        width: 16px;
        height: 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    .restoration-complete .enamel-glint {
        animation: none
    }

    .care-card,.link-mark {
        transition: none
    }
}

/* Precision opening — porcelain, chrome and negative space. */
.precision-chapter {
    height: 350svh;
    position: relative;
    background: #f4f6f9;
    color: #161f2d
}

.precision-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 55% 45%,#fff 12%,#f2f5f9 65%,#edf0f5);
    isolation: isolate
}

.precision-pin header {
    width: 100%;
    height: 84px;
    min-height: 84px;
    max-width: 1700px;
    padding: 0 4vw
}

.precision-pin .brand {
    background: none;
    border: 0;
    box-shadow: none
}

.precision-pin .nav button {
    color: #4a5360
}

.precision-pin .topcta {
    background: transparent;
    border: 1px solid #aeb8c6;
    color: #26323f;
    padding: 10px 18px
}

.precision-watermark {
    position: absolute;
    top: 10%;
    left: 11%;
    font: 900 clamp(90px,12vw,190px)/.85 Arial;
    letter-spacing: -10px;
    color: #bdc9d014;
    z-index: -1;
    user-select: none;
    direction: ltr
}

.precision-layout {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1.3fr .5fr;
    align-items: center;
    padding: 0 5.5vw;
    gap: 0;
    direction: rtl
}

.precision-copy {
    z-index: 4;
    align-self: center
}

.precision-kicker {
    font-size: 10px;
    color: #7e8791
}

.precision-copy h1 {
    font-size: clamp(44px,5.7vw,84px);
    line-height: 1.45;
    letter-spacing: -2.5px;
    margin: 22px 0 23px;
    font-weight: 850;
    transform: translateY(calc(var(--pp,0)*-10px));
    color: #17202b
}

.precision-copy h1 em {
    font-style: normal;
    color: #2057dc;
    display: block
}

.precision-copy p {
    font-size: 12px;
    line-height: 2;
    color: #66717e
}

.precision-action {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 11px;
    margin: 20px 0 30px
}

.precision-action svg {
    width: 44px;
    height: 44px;
    border: 1px solid #bfc8d4;
    border-radius: 50%;
    padding: 13px;
    stroke: #425b7b;
    stroke-width: 1.5
}

.precision-clinic {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid #cbd4df;
    padding-right: 15px;
    font-size: 11px;
    color: #526477
}

.precision-clinic span {
    font-size: 9px;
    color: #7f8b99
}

.precision-model {
    position: relative;
    aspect-ratio: 1;
    width: min(67vw,77svh);
    justify-self: center;
    direction: ltr;
    transform: scale(calc(1 + var(--pp,0)*.035));
    transform-origin: 50% 75%;
    z-index: 2;
    pointer-events: none
}

.precision-part {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform
}

.precision-bone {
    clip-path: polygon(0 65.5%,42% 65.5%,42% 66%,58% 66%,58% 65.5%,100% 65.5%,100% 100%,0 100%);
    z-index: 1
}

.precision-screw {
    clip-path: inset(39.6% 42% 34.5%);
    z-index: 2
}

.precision-abutment {
    clip-path: inset(23.8% 41% 60.7%);
    z-index: 3
}

.precision-crown {
    clip-path: inset(0 33% 76.4%);
    z-index: 4
}

.precision-labels {
    direction: rtl;
    align-self: center;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 60px
}

.precision-label {
    position: relative;
    transition: opacity .4s,translate .5s;
    opacity: .5;
    white-space: nowrap
}

.precision-label.active {
    opacity: 1;
    translate: 5px 0
}

.precision-label:before {
    content: '';
    position: absolute;
    right: calc(100% + 9px);
    top: 8px;
    width: clamp(20px,4vw,65px);
    height: 1px;
    background: #97abc566
}

.precision-label:after {
    content: '';
    width: 3px;
    height: 3px;
    background: #5278b5;
    border-radius: 50%;
    position: absolute;
    right: calc(100% + 9px);
    top: 7px
}

.precision-label span {
    font-size: 11px;
    color: #27364a
}

.precision-label p {
    font-size: 9px;
    line-height: 1.8;
    margin: 8px 0 0;
    color: #7f8d9d
}

.precision-bottom {
    padding: 18px 5.5vw 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    z-index: 5
}

.precision-next {
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #61758c;
    font-size: 10px
}

.precision-next>span {
    font: 21px Arial;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c7d1dd;
    border-radius: 50%
}

.precision-next b {
    font-weight: 400
}

.precision-steps {
    display: flex;
    align-items: center;
    gap: 22px
}

.precision-steps button {
    border: 0;
    background: none;
    color: #8b98a7;
    font-size: 10px;
    padding: 5px
}

.precision-steps button.active {
    color: #245ce4
}

.precision-steps i {
    display: block;
    position: relative;
    width: 100px;
    height: 2px;
    background: #d8e0eb
}

.precision-steps i b {
    position: absolute;
    right: 0;
    inset-block: 0;
    background: #255bda;
    width: calc(var(--pp,0)*100%)
}

.precision-bottom small {
    font: 8px Arial;
    letter-spacing: 2px;
    color: #8897a9
}

.precision-highlight {
    position: absolute;
    inset: 0;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(110deg,transparent 40%,#ffffffcc 50%,transparent 60%);
    background-size: 300% 100%;
    clip-path: ellipse(15% 12% at 50% 52%)
}

.precision-pin.complete .precision-highlight {
    animation: precisionFlash 2s ease-in-out both
}

@keyframes precisionFlash {
    0% {
        opacity: 0;
        background-position: 100% 0
    }

    30% {
        opacity: .7
    }

    70% {
        opacity: .6;
        background-position: 0 0
    }

    100% {
        opacity: 0;
        background-position: 100% 0
    }
}

/* Reference-inspired expanding blue glass service cards. */
.services-universe {
    background: #164c98;
    color: #183b68;
    padding: 50px 4vw
}

.services-universe .universe-stage {
    background: #f8fbff;
    border: 1px solid #fff;
    border-radius: 35px 35px 0 0;
    box-shadow: 0 0 0 10px #c4dbef66;
    overflow: hidden;
    padding: 0
}

.services-universe #service-stars {
    display: none
}

.services-universe .universe-inner {
    padding: 50px 28px 35px;
    max-width: 1500px
}

.services-universe .universe-heading {
    display: block;
    text-align: center;
    margin-bottom: 35px
}

.services-universe .universe-eyebrow {
    color: #6685a6
}

.services-universe .universe-heading h2 {
    color: #133b70;
    font-size: clamp(27px,3.2vw,49px)
}

.services-universe .universe-heading h2 em {
    color: #1c5393;
    background: none;
    -webkit-text-fill-color: initial;
    filter: none;
    text-shadow: none
}

.services-universe .universe-heading p {
    margin: 16px auto 0;
    color: #718197;
    font-size: 12px
}

.services-universe .universe-deck,.services-universe .universe-details,.services-universe .universe-hint,.services-universe .universe-bottom {
    display: none!important
}

.reference-service-deck {
    display: flex;
    gap: 12px;
    min-height: 330px;
    direction: rtl
}

.reference-service-card {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #8cb5e9;
    border-radius: 17px;
    background: #07418d;
    color: #fff;
    box-shadow: 0 8px 20px #16477b15;
    transition: flex .7s cubic-bezier(.2,.7,.2,1),transform .4s,box-shadow .4s
}

.reference-service-card.is-active {
    flex: 2.2 1 0;
    box-shadow: 0 16px 30px #17497c22
}

.reference-service-select {
    position: relative;
    display: block;
    border: 0;
    padding: 0;
    background: none;
    color: white;
    flex: 1 0 130px;
    min-width: 0;
    min-height: 330px;
    text-align: right;
    overflow: hidden
}

.reference-service-art {
    position: absolute;
    inset: 0;
    background-image: url('glass-services.png');
    background-size: 500% 100%;
    background-position: var(--art-position) center;
    transition: filter .6s,scale .6s;
    filter: saturate(.8)
}

.reference-service-select:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#092c64de,transparent 45%)
}

.reference-service-name {
    position: absolute;
    bottom: 22px;
    left: 14px;
    right: 14px;
    font-size: 14px;
    line-height: 1.8;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: end
}

.reference-service-name i {
    font: 19px Arial;
    font-style: normal;
    opacity: .65
}

.reference-service-card.is-active .reference-service-art {
    filter: saturate(1.15);
    scale: 1.02
}

.reference-service-content {
    flex: 0 0 48%;
    padding: 28px 20px;
    align-self: stretch;
    background: linear-gradient(140deg,#9bc8ef40,#7ca6ce24);
    backdrop-filter: blur(15px);
    border-right: 1px solid #c7e9ff40;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.reference-service-content[hidden] {
    display: none
}

.reference-service-content strong {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.9
}

.reference-service-content p {
    font-size: 10px;
    line-height: 2.1;
    color: #d9e9fa
}

.reference-service-content button {
    border: 1px solid #dceaff5c;
    background: #e5f4ff1c;
    color: white;
    font-size: 9px;
    padding: 9px 10px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.reference-services-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px
}

.reference-services-cta a {
    display: flex;
    align-items: center;
    gap: 17px;
    border-radius: 30px;
    padding: 10px 19px;
    background: linear-gradient(120deg,#1b9adb,#10417e);
    color: white;
    font-size: 11px;
    border: 1px solid #66b9ec
}

.reference-services-cta svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 50%;
    background: #ffffff22;
    stroke: white;
    stroke-width: 1.4
}

.services-universe .care-catalog {
    max-width: none;
    background: #f8fbff;
    border-radius: 0 0 35px 35px;
    box-shadow: 0 10px 0 10px #c4dbef66;
    padding-top: 30px
}

.services-universe .care-catalog h3 {
    color: #254b7b
}

.services-universe .care-catalog-heading>div>span {
    color: #6f89a4
}

.services-universe .care-filters button {
    color: #557493;
    border-color: #b9cde0;
    background: #e6f0f8
}

.services-universe .care-filters button[aria-pressed=true] {
    background: #23578e;
    color: #fff
}

.services-universe .care-card {
    background: linear-gradient(140deg,#e7f2fc,#d5e6f8);
    color: #214971;
    border-color: #fff;
    box-shadow: 0 8px 18px #426b8f0c
}

.services-universe .care-card p {
    color: #64819d
}

.services-universe .care-card-top small {
    color: #7797b8
}

.services-universe .care-icon {
    background: linear-gradient(140deg,#9fc9ed,#375e8d);
    border-color: #fff
}

.services-universe .care-more {
    color: #42678e
}

.services-universe .care-more b {
    color: #42678e;
    border-color: #a7c3da
}

.clinical-page .clinical-copy h2 {
    font-weight: 800
}

@media(max-width: 1050px) {
    .precision-layout {
        grid-template-columns:1fr 1.3fr .4fr;
        padding: 0 4vw
    }

    .precision-copy h1 {
        font-size: 52px
    }

    .precision-labels {
        gap: 35px
    }

    .precision-label span {
        font-size: 9px
    }

    .reference-service-deck {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        align-items: stretch;
        padding-bottom: 10px
    }

    .reference-service-card {
        flex: 0 0 190px
    }

    .reference-service-card.is-active {
        flex: 0 0 360px
    }

    .reference-service-select {
        flex-basis: 165px
    }

    .reference-service-content {
        flex-basis: 48%
    }
}

@media(max-width: 760px) {
    .precision-chapter {
        height:330svh
    }

    .precision-pin header {
        height: 58px;
        min-height: 58px;
        padding: 0 21px
    }

    .precision-pin .nav {
        display: none
    }

    .precision-pin .brandmark {
        width: 28px;
        height: 35px
    }

    .precision-pin .topcta {
        font-size: 9px;
        padding: 7px 11px
    }

    .precision-pin .topcta .button-icon {
        height: 25px;
        width: 25px
    }

    .precision-layout {
        display: flex;
        flex-direction: column;
        padding: 0 22px;
        gap: 0;
        justify-content: center
    }

    .precision-copy {
        width: 100%;
        text-align: right;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center
    }

    .precision-kicker {
        font-size: 8px;
        grid-column: 1/-1
    }

    .precision-copy h1 {
        font-size: clamp(31px,9vw,42px);
        line-height: 1.35;
        letter-spacing: -1px;
        margin: 12px 0;
        grid-column: 1/-1
    }

    .precision-copy h1 br {
        display: none
    }

    .precision-copy h1 em {
        display: inline
    }

    .precision-copy p {
        font-size: 9px;
        margin: 0;
        line-height: 1.8
    }

    .precision-action {
        font-size: 0;
        margin: 0;
        gap: 0
    }

    .precision-action svg {
        width: 34px;
        height: 34px;
        padding: 10px
    }

    .precision-clinic {
        display: none
    }

    .precision-model {
        width: min(98vw,49svh);
        flex-shrink: 0;
        align-self: center;
        margin-top: 6px
    }

    .precision-labels {
        position: absolute;
        left: 22px;
        top: 54%;
        gap: 19px;
        padding: 0
    }

    .precision-label {
        max-width: 90px;
        white-space: normal
    }

    .precision-label span {
        font-size: 7px
    }

    .precision-label p {
        font-size: 6px;
        margin-top: 3px
    }

    .precision-label:before {
        width: 16px
    }

    .precision-label:after {
        width: 2px;
        height: 2px
    }

    .precision-watermark {
        font-size: 25vw;
        top: 38%;
        left: 2%;
        letter-spacing: -4px
    }

    .precision-bottom {
        padding: 9px 22px 17px;
        gap: 10px;
        flex-wrap: wrap
    }

    .precision-next {
        font-size: 8px;
        gap: 7px
    }

    .precision-next>span {
        width: 25px;
        height: 25px;
        font-size: 16px
    }

    .precision-steps {
        gap: 9px
    }

    .precision-steps button {
        font-size: 8px;
        padding: 3px
    }

    .precision-steps i {
        width: 42px
    }

    .precision-bottom small {
        display: none
    }

    .services-universe {
        padding: 30px 17px
    }

    .services-universe .universe-inner {
        padding: 35px 15px 24px
    }

    .services-universe .universe-stage {
        border-radius: 25px 25px 0 0;
        box-shadow: 0 0 0 5px #c4dbef66
    }

    .services-universe .universe-heading h2 {
        font-size: 27px
    }

    .services-universe .universe-heading p {
        font-size: 10px
    }

    .reference-service-deck {
        gap: 9px;
        min-height: 290px;
        scroll-padding: 5px
    }

    .reference-service-card {
        flex-basis: 160px;
        border-radius: 14px
    }

    .reference-service-card.is-active {
        flex-basis: 290px
    }

    .reference-service-select {
        min-height: 290px;
        flex-basis: 140px
    }

    .reference-service-name {
        font-size: 12px;
        left: 10px;
        right: 10px;
        bottom: 17px
    }

    .reference-service-content {
        padding: 20px 13px;
        flex-basis: 48%
    }

    .reference-service-content strong {
        font-size: 12px
    }

    .reference-service-content p {
        font-size: 9px
    }

    .reference-service-content button {
        font-size: 8px
    }

    .services-universe .care-catalog {
        padding: 20px 15px 35px;
        border-radius: 0 0 25px 25px;
        box-shadow: 0 5px 0 5px #c4dbef66
    }

    .reference-services-cta {
        margin-top: 22px
    }
}

@media(prefers-reduced-motion:reduce) {
    .precision-chapter {
        height: auto
    }

    .precision-pin {
        position: relative;
        min-height: 100svh;
        height: auto
    }

    .precision-layout {
        min-height: 75svh
    }

    .precision-pin.complete .precision-highlight {
        animation: none
    }

    .reference-service-card {
        transition: none
    }
}

/* Centered implant stage and sculpted glass typography */
.precision-layout {
    display: block;
    padding: 0 4vw;
    position: relative
}

.precision-model {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(58vw,74svh);
    transform: translate(-50%,-50%) scale(calc(1 + var(--pp,0)*.035));
    margin: 0
}

.precision-copy {
    position: absolute;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    width: 26%;
    perspective: 800px
}

.precision-copy h1 {
    font-size: clamp(34px,4.1vw,65px);
    line-height: 1.55;
    letter-spacing: -1.8px;
    font-weight: 900;
    transform: rotateY(calc(var(--pp,0)*-5deg));
    color: #2864b0;
    background: linear-gradient(155deg,#123e80 5%,#6a9fdf 28%,#eaf8ff 39%,#629fe2 44%,#194f9c 57%,#bde7ff 78%,#3678c5);
    background-size: 220% 180%;
    background-position: calc(var(--pp,0)*100%) 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .5px #7a9fc788;
    filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 3px 0 #86a5c7) drop-shadow(0 8px 8px #275c8630);
    text-shadow: none
}

.precision-copy h1 em {
    display: block;
    color: inherit;
    background: linear-gradient(130deg,#0c3189,#4778ff 35%,#d5f5ff 45%,#2261c9 60%,#15388b);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.precision-copy p {
    min-height: 58px
}

.precision-labels {
    position: absolute;
    left: 4vw;
    top: 28%;
    width: 18%;
    gap: 45px
}

.precision-label {
    white-space: normal
}

.precision-label:before {
    right: auto;
    left: calc(100% + 9px)
}

.precision-label:after {
    right: auto;
    left: calc(100% + 9px)
}

.precision-watermark {
    left: 50%;
    transform: translateX(-50%);
    font-size: 13vw;
    opacity: .6
}

.precision-clinic {
    margin-top: 10px
}

.precision-pin:after {
    content: '';
    position: absolute;
    width: 44vw;
    height: 44vw;
    border-radius: 50%;
    border: 1px solid #b1cae72b;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: -1
}

/* User-provided inverted corner geometry, adapted to each card size. */
.inverted-radius {
    --r: 20px;
    --s: 24px;
    --x: 14px;
    --y: 8px;
    border-radius: var(--r);
    --_m: /calc(2*var(--r)) calc(2*var(--r)) radial-gradient(#000 70%,#0000 72%);
    --_g: conic-gradient(at calc(100% - var(--r)) var(--r),#0000 25%,#000 0);
    --_d: (var(--s) + var(--r));
    mask: calc(100% - var(--_d) - var(--x)) 0 var(--_m),100% calc(var(--_d) + var(--y)) var(--_m),radial-gradient(var(--s) at 100% 0,#0000 99%,#000 calc(100% + 1px)) calc(-1*var(--r) - var(--x)) calc(var(--r) + var(--y)),var(--_g) calc(-1*var(--_d) - var(--x)) 0,var(--_g) 0 calc(var(--_d) + var(--y));
    mask-repeat: no-repeat
}

.about-value.inverted-radius,.care-card.inverted-radius {
    --r: 14px;
    --s: 14px;
    --x: 9px;
    --y: 5px;
    padding-top: 40px
}

.footer-brand.inverted-radius,.footer-address.inverted-radius {
    background: #ffffff08;
    padding: 45px 25px 25px;
    backdrop-filter: blur(15px)
}

.gallery-photo.inverted-radius {
    --s: 25px
}

.gallery-photo img {
    object-fit: contain!important;
    background: #111b29
}

.gallery-number {
    left: 20px;
    right: auto!important
}

.gallery-photo-caption {
    background: linear-gradient(0deg,#071527d9,transparent);
    padding-top: 40px
}

.gallery-photo {
    rotate: 0deg!important
}

.appointment-section {
    position: relative;
    padding: 110px 6vw;
    background: radial-gradient(ellipse at 13% 55%,#b0d8ff99,transparent 45%),linear-gradient(135deg,#f1f7ff,#e2edfa 60%,#f9fcff);
    overflow: hidden;
    color: #173f72
}

.appointment-heading {
    max-width: 1180px;
    margin: 0 auto 38px
}

.appointment-heading>span {
    font-size: 12px;
    color: #5683ac
}

.appointment-heading h2 {
    font-size: clamp(32px,4.1vw,60px);
    margin: 12px 0;
    font-weight: 850
}

.appointment-heading h2 em {
    font-style: normal;
    color: #3b79cb
}

.appointment-heading p {
    font-size: 14px;
    color: #6a819e
}

.appointment-shell {
    max-width: 1180px;
    margin: auto;
    background: linear-gradient(125deg,#ffffffeb,#f8fcff9e);
    backdrop-filter: blur(25px);
    padding: 55px;
    box-shadow: inset 0 0 0 1px white;
    --r: 28px;
    --s: 32px;
    --x: 25px;
    --y: 14px
}

.appointment-doctor {
    display: flex;
    align-items: center;
    gap: 18px
}

.appointment-doctor img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 6px 20px #386fa52b
}

.appointment-doctor h3 {
    font-size: 23px;
    margin: 5px 0
}

.appointment-doctor p {
    font-size: 12px;
    color: #73869d;
    line-height: 2;
    margin: 0
}

.appointment-doctor div>span {
    font-size: 11px;
    letter-spacing: .5px;
    color: #497eb7
}

.appointment-demo {
    margin-right: auto;
    border: 1px solid #c8dbee;
    background: #e8f3ff;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 10px;
    white-space: nowrap
}

.appointment-rule {
    height: 1px;
    background: linear-gradient(90deg,transparent,#bdd3ea,transparent);
    margin: 30px 0
}

.appointment-label {
    display: flex;
    justify-content: space-between;
    margin: 22px 0 15px;
    font-size: 12px
}

.appointment-label>span {
    color: #7b8da5
}

.appointment-days {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 10px
}

.appointment-day {
    padding: 18px 8px;
    border: 1px solid #d7e4f2;
    border-radius: 17px;
    background: linear-gradient(145deg,#fff,#eaf3ff);
    color: #45627f;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 1px 0 #fff,0 4px 9px #28588808;
    transition: transform .3s,background .3s,box-shadow .3s
}

.appointment-day span {
    font-size: 11px
}

.appointment-day b {
    font-size: 27px
}

.appointment-day small {
    font-size: 10px
}

.appointment-day[aria-pressed=true] {
    background: linear-gradient(150deg,#80b9ee,#2868b8 60%,#123f81);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: inset 0 1px 1px #d6edff,0 10px 20px #2a60963a;
    border-color: #84b0e4
}

.appointment-times {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.appointment-time {
    min-width: 110px;
    border: 1px solid #b9d1ec;
    color: #3369a1;
    border-radius: 13px;
    padding: 13px 20px;
    background: #fff9;
    transition: .3s
}

.appointment-time[aria-pressed=true] {
    background: #204f8e;
    color: white;
    box-shadow: 0 7px 14px #24548e20
}

.appointment-summary {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid #d3e1ef;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center
}

.appointment-summary small {
    display: block;
    color: #7790aa;
    font-size: 11px;
    margin-bottom: 9px
}

.appointment-summary strong {
    font-size: 15px
}

.appointment-confirm {
    border: 1px solid #a6ceef;
    background: linear-gradient(130deg,#5b9bdd,#235a9c);
    color: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    gap: 35px;
    align-items: center;
    box-shadow: inset 0 1px 1px #fff8,0 8px 20px #37689530
}

.appointment-confirm span {
    font-size: 20px
}

.appointment-notice {
    color: #6e839c;
    font-size: 11px;
    line-height: 2.1;
    margin: 22px 0 10px
}

.appointment-call {
    display: inline-flex;
    gap: 12px;
    color: #245b99;
    font-size: 12px
}

.footer-signature {
    overflow: visible!important;
    background: none!important;
    -webkit-text-fill-color: initial!important;
    perspective: 900px
}

.footer-signature span {
    display: inline-block;
    background: linear-gradient(115deg,#6daeea 0%,#c4e6ff 20%,#fff 35%,#5f97d3 42%,#b2dcff 62%,#fff 72%,#6daeea);
    background-size: 260% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #c6e4ff55;
    filter: drop-shadow(0 2px 0 #366a9d) drop-shadow(0 8px 14px #0d315c40);
    animation: signatureFlow 10s ease-in-out infinite,signatureFloat 7s ease-in-out infinite
}

.footer-signature span:nth-child(2) {
    animation-delay: -4s,-2s
}

@keyframes signatureFlow {
    0%,100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@keyframes signatureFloat {
    0%,100% {
        transform: translateY(0) rotateX(0)
    }

    50% {
        transform: translateY(-7px) rotateX(5deg)
    }
}

@media(max-width: 760px) {
    .precision-layout {
        display:flex;
        flex-direction: column;
        padding: 10px 22px;
        justify-content: center;
        gap: 8px
    }

    .precision-copy {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        display: block;
        text-align: center
    }

    .precision-copy h1 {
        font-size: 34px;
        line-height: 1.4;
        margin: 12px 0;
        min-height: 96px
    }

    .precision-copy h1 em {
        display: block
    }

    .precision-copy p {
        font-size: 10px;
        min-height: 36px;
        margin: 4px 0
    }

    .precision-kicker {
        font-size: 9px
    }

    .precision-action {
        position: absolute;
        left: 0;
        top: 0
    }

    .precision-model {
        position: relative;
        left: auto;
        top: auto;
        transform: scale(calc(1 + var(--pp,0)*.02));
        width: min(94vw,45svh);
        margin: 0;
        flex-shrink: 0
    }

    .precision-labels {
        position: absolute;
        top: auto;
        bottom: 5%;
        left: 22px;
        width: 85px;
        gap: 12px
    }

    .precision-label:not(.active) {
        display: none
    }

    .precision-label p {
        font-size: 7px
    }

    .precision-label span {
        font-size: 8px
    }

    .precision-watermark {
        font-size: 27vw;
        top: 47%
    }

    .precision-bottom {
        flex-wrap: nowrap;
        padding: 12px 18px
    }

    .appointment-section {
        padding: 65px 18px
    }

    .appointment-shell {
        padding: 42px 20px 26px;
        --s: 20px;
        --x: 12px;
        --y: 6px;
        --r: 20px
    }

    .appointment-doctor {
        flex-wrap: wrap;
        gap: 12px
    }

    .appointment-doctor img {
        width: 58px;
        height: 58px
    }

    .appointment-doctor div {
        flex: 1
    }

    .appointment-doctor h3 {
        font-size: 18px
    }

    .appointment-doctor p {
        font-size: 10px
    }

    .appointment-demo {
        margin: 0;
        font-size: 9px
    }

    .appointment-days {
        display: flex;
        overflow-x: auto;
        padding: 8px 0 15px;
        scroll-snap-type: x proximity
    }

    .appointment-day {
        flex: 0 0 78px;
        scroll-snap-align: center
    }

    .appointment-times {
        gap: 8px
    }

    .appointment-time {
        min-width: calc(33% - 6px);
        padding: 12px
    }

    .appointment-summary {
        align-items: stretch;
        flex-direction: column
    }

    .appointment-confirm {
        justify-content: space-between
    }

    .footer-signature span {
        font-size: clamp(28px,8vw,54px)
    }

    .footer-brand.inverted-radius,.footer-address.inverted-radius {
        padding-top: 50px
    }

    .precision-clinic {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .footer-signature span {
        animation: none
    }

    .appointment-day,.appointment-time {
        transition: none
    }

    .precision-copy h1 {
        transform: none
    }
}

@media(max-width: 760px) {
    .precision-copy h1 br {
        display:block
    }

    .precision-copy h1 em {
        display: inline
    }
}
