.specialty-body { background: #fafbfd; }
.specialty-header { position: sticky; top: 0; }

.transformation-scene {
    --scene-progress: 0;
    --scene-eased: 0;
    --scene-inverse: 1;
    --pointer-x: 0;
    --pointer-y: 0;
    --pointer-parallax-x: 0px;
    --pointer-parallax-y: 0px;
    --pointer-art-x: 0px;
    --pointer-art-y: 0px;
    --pointer-rotate-x: 0deg;
    --pointer-rotate-y: 0deg;
    --visual-glow-opacity: .42;
    --stage-translate: 5px;
    --subject-lift: 11px;
    --subject-scale: .972;
    --scan-position: 9%;
    --scan-opacity: .18;
    --ring-rotation: 0deg;
    --grid-rotation: -4deg;
    --secondary-opacity: 0;
    --tertiary-opacity: 0;
    --focus-opacity: 0;
    --before-opacity: 1;
    --after-opacity: 0;
    --node-scale: .58;
    --guide-dash-offset: 1;
    --clinical-glow-opacity: .08;
    --scene-accent: #d01680;
    --scene-soft: #f8eaf2;
    --scene-deep: #243d87;
    position: relative;
    height: 270svh;
    background:
        radial-gradient(circle at 82% 18%,color-mix(in srgb,var(--scene-soft) 76%,transparent),transparent 31%),
        linear-gradient(112deg,#fff 0%,#fafbfd 55%,#f0f3f9 100%);
}

.scene-hair { --scene-accent: #3558a7; --scene-soft: #eaf0fb; }
.scene-dental { --scene-accent: #16798c; --scene-soft: #e6f2f4; }
.scene-plastic { --scene-accent: #c21773; --scene-soft: #f8e7f1; }
.scene-bariatric { --scene-accent: #315f91; --scene-soft: #e8eff7; }

.scene-sticky { position: sticky; top: 88px; display: grid; height: calc(100svh - 88px); min-height: 610px; align-items: center; overflow: hidden; }
.scene-grid { display: grid; width: 100%; grid-template-columns: .91fr 1.09fr; align-items: center; gap: 45px; }
.scene-copy { position: relative; z-index: 2; padding-bottom: 35px; }
.scene-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 35px; color: var(--ink-muted); font-size: 10px; }
.scene-breadcrumb a { color: var(--forest); }
.scene-eyebrow { margin-bottom: 22px; }
.scene-eyebrow .eyebrow-line { background: var(--scene-accent); }
.scene-title { margin: 0 0 19px; color: #233047; font-size: clamp(48px,5.2vw,72px); }
.scene-title .italic-accent { color: var(--scene-accent); }
.scene-description { max-width: 427px; margin-bottom: 23px; color: var(--ink-muted); font-size: 13px; line-height: 1.9; }
.scene-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.scene-chip { padding: 6px 10px; border: 1px solid rgba(40,62,142,.13); border-radius: 4px; background: rgba(255,255,255,.7); color: var(--ink-muted); font-size: 10px; }
.scene-indicator { display: flex; max-width: 330px; align-items: center; gap: 13px; }
.scene-progress-track { position: relative; overflow: hidden; width: 82px; height: 2px; background: rgba(40,62,142,.15); }
.scene-progress-track::after { position: absolute; inset: 0; transform: scaleX(var(--scene-progress)); transform-origin: left; background: var(--scene-accent); content: ""; }
.scene-progress-label { min-width: 29px; color: var(--scene-accent); font-size: 10px; font-weight: 550; }
.scene-scroll-copy { color: var(--ink-muted); font-size: 10px; }

.scene-visual {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 610px;
    aspect-ratio: 1.04;
    justify-self: end;
    place-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}
.scene-visual::before {
    position: absolute;
    inset: 12% 5% 5% 11%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 48%,color-mix(in srgb,var(--scene-accent) 12%,transparent),transparent 67%);
    filter: blur(30px);
    opacity: var(--visual-glow-opacity);
    transform: translate3d(var(--pointer-parallax-x),var(--pointer-parallax-y),-50px);
    content: "";
}
.illustration-stage {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(96%,535px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(40,62,142,.09);
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 27%,rgba(255,255,255,.98) 0 12%,rgba(255,255,255,.55) 39%,transparent 63%),
        radial-gradient(circle at 52% 54%,var(--scene-soft),#f8faff 72%);
    box-shadow: inset 0 0 0 14px rgba(255,255,255,.35),inset 0 0 70px rgba(40,62,142,.055),0 34px 95px rgba(31,52,112,.12);
    isolation: isolate;
    transform: rotateX(var(--pointer-rotate-x)) rotateY(var(--pointer-rotate-y)) translateY(var(--stage-translate));
    transform-style: preserve-3d;
    transition: box-shadow .5s ease;
    will-change: transform;
}
.illustration-stage::before {
    position: absolute;
    z-index: -1;
    inset: 5%;
    border: 1px solid rgba(40,62,142,.1);
    border-radius: 50%;
    background-image: linear-gradient(rgba(40,62,142,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(40,62,142,.045) 1px,transparent 1px);
    background-position: center;
    background-size: 34px 34px;
    opacity: .58;
    transform: rotate(var(--grid-rotation)) translateZ(-24px);
    content: "";
}
.illustration-stage::after {
    position: absolute;
    z-index: 3;
    top: var(--scan-position);
    right: 9%;
    left: 9%;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--scene-accent) 17% 83%,transparent);
    box-shadow: 0 -12px 28px color-mix(in srgb,var(--scene-accent) 32%,transparent),0 12px 28px color-mix(in srgb,var(--scene-accent) 22%,transparent);
    opacity: var(--scan-opacity);
    transform: translateZ(44px);
    content: "";
}
.treatment-illustration {
    display: block;
    width: 94%;
    height: 94%;
    overflow: visible;
    filter: drop-shadow(0 18px 22px rgba(35,54,108,.1));
    transform: translate3d(var(--pointer-art-x),var(--pointer-art-y),22px) scale(var(--subject-scale));
    transform-origin: center;
    will-change: transform;
}
.clinical-ring { fill: none; stroke: #2d4385; stroke-width: 1; opacity: .13; }
.clinical-ring--dash { stroke: var(--scene-accent); stroke-dasharray: 3 11; opacity: .4; transform: rotate(var(--ring-rotation)); transform-box: fill-box; transform-origin: center; }
.clinical-surface { fill: url(#surfaceGradient); stroke: rgba(40,62,142,.22); stroke-width: 1.5; }
.clinical-line { fill: none; stroke: #314165; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.clinical-guide { fill: none; stroke: var(--scene-accent); stroke-dasharray: 5 8; stroke-linecap: round; stroke-width: 1.5; }
.clinical-secondary { opacity: var(--secondary-opacity); }
.clinical-tertiary { opacity: var(--tertiary-opacity); }
.clinical-focus { opacity: var(--focus-opacity); }
.clinical-draw { stroke-dasharray: 1; stroke-dashoffset: var(--guide-dash-offset); }
.clinical-node { fill: #fff; stroke: var(--scene-accent); stroke-width: 2; transform: scale(var(--node-scale)); transform-box: fill-box; transform-origin: center; }
.clinical-glow { fill: var(--scene-accent); opacity: var(--clinical-glow-opacity); }
.clinical-float { transform: translateY(var(--subject-lift)); }

/* Scroll-led treatment studies. These are planning illustrations, not outcome promises. */
.transformation-layer { pointer-events: none; }
.plastic-planning-before,
.plastic-planning-after,
.plastic-balance-line,
.posture-line,
.dental-enhancement-arc,
.dental-smile-finish,
.hairline-finish { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.plastic-face-before { opacity: var(--before-opacity); }
.plastic-face-after { opacity: var(--after-opacity); }
.plastic-face-after .plastic-feature-line { opacity: .72; }
.plastic-face-after .plastic-refined-contour { stroke: #283953; stroke-width: 2.15; }
.plastic-planning-before { stroke: #7d8799; stroke-dasharray: 4 8; stroke-width: 2.1; opacity: var(--before-opacity); }
.plastic-planning-after { stroke: #c21773; stroke-dasharray: 1; stroke-dashoffset: var(--guide-dash-offset); stroke-width: 3.4; opacity: var(--after-opacity); }
.plastic-balance-line { stroke: #c21773; stroke-dasharray: 3 7; stroke-width: 1.4; opacity: var(--tertiary-opacity); }
.plastic-balance-marker { opacity: var(--focus-opacity); transform-box: fill-box; transform-origin: center; transform: scale(var(--node-scale)); }
.plastic-balance-marker circle { fill: #fff; stroke: #c21773; stroke-width: 2; }
.plastic-balance-marker path { fill: none; stroke: #c21773; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }

.hair-growth-cap { fill: url(#hairGrowthGradient); opacity: var(--after-opacity); }
.hair-strand { fill: none; stroke: #26385f; stroke-dasharray: 1; stroke-dashoffset: var(--strand-offset,1); stroke-linecap: round; stroke-width: 2.8; opacity: var(--strand-opacity,0); }
.hair-strand:nth-of-type(3n) { stroke: #3558a7; stroke-width: 2.2; }
.hair-strand:nth-of-type(4n) { stroke: #1c2e52; stroke-width: 3.1; }
.hairline-finish { stroke: #fff; stroke-dasharray: 2 8; stroke-width: 2.3; opacity: var(--focus-opacity); }

.dental-tooth { transform-box: fill-box; transform-origin: center; will-change: transform; }
.dental-teeth { filter: saturate(.82) brightness(.94); }
.scene-dental[data-phase="3"] .dental-teeth { filter: saturate(.72) brightness(1.08); }
.dental-enhancement-arc { stroke: #16798c; stroke-dasharray: 1; stroke-dashoffset: var(--guide-dash-offset); stroke-width: 2.3; opacity: var(--tertiary-opacity); }
.dental-enhancement-arc--bottom { stroke-width: 1.5; }
.dental-smile-finish { stroke: #fff; stroke-width: 3; opacity: var(--focus-opacity); }
.dental-spark { opacity: var(--spark-opacity,0); transform-box: fill-box; transform-origin: center; scale: var(--spark-scale,.7); }
.dental-spark path { fill: none; stroke: #fff; stroke-linecap: round; stroke-width: 2.2; }
.dental-spark circle { fill: #fff; }

.bariatric-original-body { opacity: var(--before-opacity); }
.bariatric-body-before { fill: #a9bfd8; stroke: #315f91; stroke-opacity: .34; stroke-width: 1.5; opacity: var(--before-opacity); }
.bariatric-body-after { fill: #d6e3f0; stroke: #315f91; stroke-opacity: .5; stroke-width: 1.7; opacity: var(--after-opacity); }
.posture-line { stroke: #677d98; stroke-dasharray: 4 7; stroke-width: 1.6; opacity: var(--before-opacity); }
.posture-line--after { stroke: #315f91; stroke-dasharray: 1; stroke-dashoffset: var(--guide-dash-offset); stroke-width: 2.2; opacity: var(--after-opacity); }
.bariatric-support-mark { opacity: var(--focus-opacity); }
.bariatric-support-mark circle { fill: none; stroke: #315f91; stroke-dasharray: 3 8; stroke-width: 1.5; }
.bariatric-support-mark path { fill: none; stroke: #315f91; stroke-linecap: round; stroke-width: 2.5; }
.phase-node { opacity: .24; transition: opacity .35s ease,filter .35s ease; }
[data-phase="0"] .phase-node--1,
[data-phase="1"] .phase-node--1,[data-phase="1"] .phase-node--2,
[data-phase="2"] .phase-node--1,[data-phase="2"] .phase-node--2,[data-phase="2"] .phase-node--3,
[data-phase="3"] .phase-node { opacity: 1; filter: drop-shadow(0 0 8px color-mix(in srgb,var(--scene-accent) 36%,transparent)); }
.scene-state-label { position: absolute; z-index: 3; right: -6px; bottom: 4px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(40,62,142,.08); background: rgba(255,255,255,.9); box-shadow: 0 14px 35px rgba(40,62,142,.1); backdrop-filter: blur(12px); font-size: 10px; }
.scene-state-label::before { width: 7px; height: 7px; border-radius: 50%; background: var(--scene-accent); content: ""; }
.scene-stage-label { position: absolute; z-index: 2; bottom: 6px; left: 4px; display: grid; gap: 3px; color: var(--ink-muted); font-size: 10px; }
.scene-stage-label strong { color: var(--forest); font-size: 11px; font-weight: 550; }

.specialty-summary { padding-block: 118px 85px; background: var(--white); }
.specialty-summary-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 92px; }
.specialty-summary h2, .specialty-options h2, .specialty-care h2, .specialty-guides h2 { margin: 0; font-size: clamp(39px,4.2vw,57px); }
.specialty-summary-copy > p { color: var(--ink-muted); font-size: 14px; line-height: 1.95; }
.specialty-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 37px; padding-top: 23px; border-top: 1px solid rgba(40,62,142,.11); }
.specialty-facts > div { display: grid; gap: 3px; }
.specialty-facts strong { color: var(--forest); font-size: 12px; font-weight: 600; }
.specialty-facts span { color: var(--ink-muted); font-size: 10px; }

.specialty-options { padding-block: 108px; background: #f4f5fb; }
.specialty-options-heading, .specialty-guides-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 48px; }
.option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.option-card { position: relative; min-height: 214px; padding: 23px 22px 20px; background: var(--white); }
.option-number { display: block; margin-bottom: 28px; color: var(--scene-accent, var(--copper)); font-size: 11px; }
.option-card h3 { margin: 0 0 7px; color: var(--forest); font-family: var(--sans); font-size: 18px; font-weight: 600; }
.option-card > p { margin-bottom: 16px; color: var(--ink-muted); font-size: 11px; line-height: 1.75; }
.option-card > a { color: var(--forest); font-size: 11px; }

.specialty-care { padding-block: 118px; }
.specialty-care-grid { display: grid; grid-template-columns: .76fr 1fr; gap: 110px; }
.specialty-steps { display: grid; }
.specialty-step { display: grid; grid-template-columns: 41px 1fr; gap: 15px; padding: 16px 0 20px; border-bottom: 1px solid rgba(40,62,142,.12); }
.specialty-step > span { color: var(--copper); font-family: var(--serif); }
.specialty-step h3 { margin: 0 0 5px; font-size: 13px; font-weight: 550; }
.specialty-step p { margin: 0; color: var(--ink-muted); font-size: 11px; line-height: 1.75; }

.specialty-guides { padding-block: 100px 115px; border-top: 1px solid rgba(40,62,142,.08); background: var(--white); }
.specialty-guides-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
.specialty-cta { margin-bottom: 112px; }
.specialty-cta-panel { display: flex; min-height: 180px; align-items: center; justify-content: space-between; gap: 30px; padding: 35px 50px; background: var(--forest); color: var(--white); }
.specialty-cta-panel h2 { margin: 0 0 6px; font-size: 35px; }
.specialty-cta-panel p { margin: 0; color: rgba(255,255,255,.8); font-size: 12px; }

/* Editorial treatment pages */
.specialty-plastic { --specialty-accent: #bd216f; --specialty-tint: #f8eaf2; --specialty-mist: #f3f1f6; --specialty-dark: #17264e; }
.specialty-hair { --specialty-accent: #3158a4; --specialty-tint: #e9eef9; --specialty-mist: #f2f4f8; --specialty-dark: #16264b; }
.specialty-dental { --specialty-accent: #147b89; --specialty-tint: #e5f1f3; --specialty-mist: #eff5f5; --specialty-dark: #142d4c; }
.specialty-bariatric { --specialty-accent: #35678f; --specialty-tint: #e8f0f6; --specialty-mist: #f1f4f7; --specialty-dark: #172b4b; }

.specialty-story { position: relative; overflow: hidden; padding-block: 105px 118px; background: #fff; }
.specialty-story::before { position: absolute; top: 0; right: -12%; width: 42%; height: 100%; background: radial-gradient(circle,var(--specialty-tint),transparent 69%); opacity: .7; content: ""; pointer-events: none; }
.specialty-story-grid { position: relative; display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(55px,7vw,112px); }
.specialty-story-media { position: relative; margin: 0; }
.specialty-story-frame { position: relative; overflow: hidden; aspect-ratio: .83; background: var(--specialty-mist); }
.specialty-bariatric .specialty-story-frame { aspect-ratio: 1.08; }
.specialty-story-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(10,24,53,.34)); content: ""; pointer-events: none; }
.specialty-story-frame img, .specialty-care-media img, .specialty-guides-media img, .specialty-cta-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.15s cubic-bezier(.2,.7,.2,1),filter .7s ease; }
.specialty-story-frame img { object-position: center; transform: scale(1.045); }
.specialty-plastic .specialty-story-frame img { object-position: 57% center; }
.specialty-hair .specialty-story-frame img { object-position: 51% center; }
.specialty-bariatric .specialty-story-frame img { object-position: 54% 42%; }
.specialty-story-media:hover img, .specialty-care-media:hover img, .specialty-guides-media:hover img { transform: scale(1.075); }
.specialty-story-caption { position: absolute; right: -28px; bottom: 28px; z-index: 2; width: min(76%,330px); padding: 19px 21px; border-left: 3px solid var(--specialty-accent); background: rgba(255,255,255,.93); box-shadow: 0 24px 55px rgba(25,42,86,.16); backdrop-filter: blur(14px); }
.specialty-story-caption span { display: block; margin-bottom: 5px; color: var(--specialty-accent); font-size: 9px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.specialty-story-caption strong { color: var(--specialty-dark); font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.28; }
.specialty-story-copy { position: relative; z-index: 1; }
.specialty-story-copy h2 { max-width: 650px; margin: 0 0 31px; color: var(--specialty-dark); font-size: clamp(48px,5vw,72px); line-height: .98; }
.specialty-story-copy .italic-accent { color: var(--specialty-accent); }
.specialty-story-lead { max-width: 610px; margin: 0; color: #596782; font-size: 15px; line-height: 1.95; }
.specialty-story-principle { max-width: 590px; margin: 31px 0 0; padding: 20px 0 20px 25px; border-left: 1px solid var(--specialty-accent); color: var(--specialty-dark); font-family: var(--serif); font-size: clamp(21px,2vw,28px); line-height: 1.45; }
.specialty-story .specialty-facts { margin-top: 38px; border-color: color-mix(in srgb,var(--specialty-accent) 25%,transparent); }
.specialty-story .specialty-facts strong { color: var(--specialty-dark); }

.specialty-options { position: relative; overflow: hidden; padding-block: 105px 118px; background: var(--specialty-mist); }
.specialty-options::after { position: absolute; right: -10vw; bottom: -20vw; width: 40vw; aspect-ratio: 1; border: 1px solid color-mix(in srgb,var(--specialty-accent) 16%,transparent); border-radius: 50%; content: ""; pointer-events: none; }
.specialty-options > .shell { position: relative; z-index: 1; }
.specialty-options-heading { margin-bottom: 34px; }
.specialty-options-heading h2 { color: var(--specialty-dark); }
.specialty-options-heading .italic-accent, .option-number { color: var(--specialty-accent); }
.option-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 29px; padding: 19px 0; border-top: 1px solid rgba(40,62,142,.13); border-bottom: 1px solid rgba(40,62,142,.13); }
.option-toolbar > p { max-width: 590px; margin: 0; color: #66738a; font-size: 11px; line-height: 1.7; }
.option-count { flex: none; color: var(--specialty-dark); font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.option-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.option-filter { padding: 8px 12px; border: 1px solid rgba(40,62,142,.13); border-radius: 999px; background: rgba(255,255,255,.54); color: #596782; cursor: pointer; font: inherit; font-size: 10px; transition: background .25s ease,color .25s ease,border-color .25s ease; }
.option-filter:hover, .option-filter.is-active { border-color: var(--specialty-dark); background: var(--specialty-dark); color: #fff; }
.option-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; }
.option-card { display: flex; min-height: 250px; grid-column: span 4; flex-direction: column; padding: 25px 25px 22px; border: 1px solid rgba(40,62,142,.07); background: rgba(255,255,255,.84); box-shadow: 0 1px 0 rgba(255,255,255,.75) inset; transition: transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,background .35s ease,color .35s ease; }
.option-card:nth-child(1) { grid-column: span 7; background: var(--specialty-dark); color: #fff; }
.option-card:nth-child(2) { grid-column: span 5; background: var(--specialty-tint); }
.option-card:nth-child(1) .option-number, .option-card:nth-child(1) h3, .option-card:nth-child(1) > a { color: #fff; }
.option-card:nth-child(1) > p { color: rgba(255,255,255,.68); }
.option-card:hover { z-index: 1; background: #fff; box-shadow: 0 22px 55px rgba(27,45,90,.13); transform: translateY(-6px); }
.option-card:nth-child(1):hover { background: color-mix(in srgb,var(--specialty-dark) 92%,#fff); }
.option-number { margin-bottom: auto; font-family: var(--serif); font-size: 13px; }
.option-card h3 { margin-top: 42px; color: var(--specialty-dark); font-size: 19px; }
.option-card > p { color: #66738a; }
.option-card > a { margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(40,62,142,.09); }
.option-card:nth-child(1) > a { border-color: rgba(255,255,255,.17); }
.option-card[hidden] { display: none; }

.specialty-care { padding-block: 118px; background: var(--specialty-dark); color: #fff; }
.specialty-care-shell { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: stretch; gap: clamp(52px,7vw,105px); }
.specialty-care-media { position: relative; overflow: hidden; min-height: 670px; margin: 0; background: #0e1935; }
.specialty-care-media::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 52%,rgba(10,20,45,.72)); content: ""; pointer-events: none; }
.specialty-care-media img { object-position: center; transform: scale(1.035); }
.specialty-plastic .specialty-care-media img { object-position: 56% center; }
.specialty-dental .specialty-care-media img { object-position: center; }
.specialty-bariatric .specialty-care-media img { object-position: 100% center; }
.specialty-care-media figcaption { position: absolute; right: 25px; bottom: 24px; left: 25px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; font-size: 10px; }
.specialty-care-media figcaption span:first-child { padding: 7px 10px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; backdrop-filter: blur(10px); }
.specialty-care-media figcaption span:last-child { color: rgba(255,255,255,.66); }
.specialty-care-content { align-self: center; }
.specialty-care-content .eyebrow { color: rgba(255,255,255,.68); }
.specialty-care-content .eyebrow-line { background: var(--specialty-accent); }
.specialty-care-content h2 { margin-bottom: 38px; color: #fff; }
.specialty-care-content .italic-accent { color: color-mix(in srgb,var(--specialty-accent) 72%,#fff); }
.specialty-steps { counter-reset: care-step; }
.specialty-step { position: relative; grid-template-columns: 46px 1fr; padding: 22px 0 25px; border-color: rgba(255,255,255,.13); transition: padding .3s ease,background .3s ease; }
.specialty-step:hover { padding-right: 12px; padding-left: 12px; background: rgba(255,255,255,.035); }
.specialty-step > span { color: color-mix(in srgb,var(--specialty-accent) 62%,#fff); font-size: 19px; }
.specialty-step h3 { color: #fff; font-size: 15px; }
.specialty-step p { max-width: 520px; color: rgba(255,255,255,.61); font-size: 11px; }

.specialty-guides { padding-block: 112px 122px; border: 0; background: #fff; }
.specialty-guides-heading h2 { color: var(--specialty-dark); }
.specialty-guides-heading .italic-accent { color: var(--specialty-accent); }
.specialty-guides-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 22px; }
.specialty-guides-intro { display: flex; min-width: 0; flex-direction: column; }
.specialty-guides-intro h2 { color: var(--specialty-dark); }
.specialty-guides-intro .italic-accent { color: var(--specialty-accent); }
.specialty-guides-intro .text-link { align-self: flex-start; margin: 12px 0 28px; }
.specialty-guides-intro .specialty-guides-media { width: 100%; }
.specialty-guides-media { position: relative; overflow: hidden; min-height: 520px; margin: 0; background: var(--specialty-mist); }
.specialty-guides-media::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(12,28,61,.72)); content: ""; }
.specialty-guides-media img { transform: scale(1.025); }
.specialty-guides-media figcaption { position: absolute; right: 24px; bottom: 23px; left: 24px; z-index: 1; color: #fff; }
.specialty-guides-media figcaption span { display: block; margin-bottom: 6px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.specialty-guides-media figcaption strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.specialty-guides-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.specialty-guides .blog-card { min-height: 253px; border: 1px solid rgba(40,62,142,.09); background: var(--specialty-mist); transition: transform .35s ease,box-shadow .35s ease,background .35s ease; }
.specialty-guides .blog-card:hover { z-index: 1; background: #fff; box-shadow: 0 22px 52px rgba(27,45,90,.11); transform: translateX(7px); }
.specialty-guides .blog-card > a { display: flex; height: 100%; flex-direction: column; padding: 28px 30px; }
.specialty-guides .blog-card h3 { margin-top: auto; color: var(--specialty-dark); }
.specialty-guides .article-read-link { color: var(--specialty-accent); }

.specialty-cta { margin-bottom: 72px; }
.specialty-cta-panel { position: relative; overflow: hidden; min-height: 320px; padding: 0; background: var(--specialty-dark); }
.specialty-cta-content { position: relative; z-index: 1; display: flex; min-width: 0; flex: 1; align-items: flex-start; justify-content: center; flex-direction: column; padding: 48px 52px; }
.specialty-cta-kicker { display: block; margin: 0 0 19px; color: color-mix(in srgb,var(--specialty-accent) 65%,#fff); font-size: 9px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.specialty-cta-panel h2 { max-width: 660px; font-size: clamp(34px,4vw,53px); line-height: 1.05; }
.specialty-cta-panel p:not(.specialty-cta-kicker) { max-width: 590px; line-height: 1.75; }
.specialty-cta-panel .button { margin-top: 25px; }
.specialty-cta-media { position: relative; overflow: hidden; width: 36%; min-width: 340px; margin: 0; }
.specialty-cta-media::after { position: absolute; inset: 0; background: linear-gradient(90deg,var(--specialty-dark),transparent 42%); content: ""; }
.specialty-cta-media img { object-position: center; transform: scale(1.04); }

html.motion-ready [data-reveal] .specialty-story-frame,
html.motion-ready [data-reveal] .specialty-care-media,
html.motion-ready [data-reveal] .specialty-guides-media { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.2,.72,.2,1); }
html.motion-ready [data-reveal] .specialty-story-copy,
html.motion-ready [data-reveal] .specialty-care-content,
html.motion-ready [data-reveal] .specialty-guides-heading { opacity: 0; transform: translateY(30px); transition: opacity .75s ease .15s,transform .75s cubic-bezier(.2,.72,.2,1) .15s; }
html.motion-ready [data-reveal].is-visible .specialty-story-frame,
html.motion-ready [data-reveal].is-visible .specialty-care-media,
html.motion-ready [data-reveal].is-visible .specialty-guides-media { clip-path: inset(0); }
html.motion-ready [data-reveal].is-visible .specialty-story-copy,
html.motion-ready [data-reveal].is-visible .specialty-care-content,
html.motion-ready [data-reveal].is-visible .specialty-guides-heading { opacity: 1; transform: none; }
html.motion-ready .specialty-options[data-reveal] .option-card { opacity: 0; transform: translateY(26px); }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card { opacity: 1; transform: none; transition: opacity .55s ease,transform .55s cubic-bezier(.2,.72,.2,1),box-shadow .35s ease,background .35s ease,color .35s ease; }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card:nth-child(2) { transition-delay: .05s; }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card:nth-child(3) { transition-delay: .1s; }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card:nth-child(4) { transition-delay: .15s; }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card:nth-child(5) { transition-delay: .2s; }
html.motion-ready .specialty-options[data-reveal].is-visible .option-card:nth-child(6) { transition-delay: .25s; }

html[dir="rtl"] .scene-progress-track::after { transform-origin: right; }
html[dir="rtl"] .scene-state-label { right: auto; left: 0; }
html[dir="rtl"] .scene-stage-label { right: 4px; left: auto; }
html[dir="rtl"] .specialty-story-caption { right: auto; left: -28px; border-right: 3px solid var(--specialty-accent); border-left: 0; }
html[dir="rtl"] .specialty-story-principle { padding-right: 25px; padding-left: 0; border-right: 1px solid var(--specialty-accent); border-left: 0; }
html[dir="rtl"] .specialty-guides .blog-card:hover { transform: translateX(-7px); }

@media (max-height: 820px) and (min-width: 861px) {
    .scene-sticky { min-height: 550px; }
    .scene-copy { padding-bottom: 12px; }
    .scene-breadcrumb { margin-bottom: 20px; }
    .scene-eyebrow { margin-bottom: 13px; }
    .scene-title { margin-bottom: 12px; font-size: clamp(45px,4.5vw,60px); }
    .scene-description { margin-bottom: 13px; line-height: 1.75; }
    .scene-chips { margin-bottom: 18px; }
    .scene-visual { max-width: 485px; }
}

@media (max-width: 1110px) {
    .scene-grid { gap: 16px; }
    .scene-title { font-size: 57px; }
    .specialty-summary-grid { gap: 55px; }
    .specialty-care-grid { gap: 60px; }
    .specialty-story-grid, .specialty-care-shell { gap: 50px; }
    .specialty-story-caption { right: -15px; }
    .option-card { grid-column: span 6; }
    .option-card:nth-child(1), .option-card:nth-child(2) { grid-column: span 6; }
    .specialty-cta-media { min-width: 300px; }
}

@media (max-width: 860px) {
    .scene-sticky { top: 75px; height: calc(100svh - 75px); min-height: 640px; }
    .scene-grid { grid-template-columns: 1fr; gap: 0; }
    .scene-copy { padding-bottom: 0; }
    .scene-breadcrumb { margin-bottom: 17px; }
    .scene-eyebrow { margin-bottom: 12px; }
    .scene-title { margin-bottom: 9px; font-size: 52px; }
    .scene-description { max-width: 630px; margin-bottom: 11px; }
    .scene-chips { margin-bottom: 13px; }
    .scene-visual { width: min(100%,420px); justify-self: center; }
    .illustration-stage { width: min(92%,385px); }
    .specialty-summary-grid, .specialty-care-grid { grid-template-columns: 1fr; gap: 35px; }
    .option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .option-card, .option-card:nth-child(1), .option-card:nth-child(2) { grid-column: auto; }
    .specialty-cta-panel { align-items: flex-start; flex-direction: column; }
    .specialty-story { padding-block: 82px 92px; }
    .specialty-story-grid, .specialty-care-shell, .specialty-guides-layout { grid-template-columns: 1fr; }
    .specialty-story-grid { gap: 58px; }
    .specialty-story-media { width: min(86%,610px); }
    .specialty-story-frame { aspect-ratio: 1.08; }
    .specialty-story-frame img { object-position: center 35%; }
    .specialty-story-caption { right: -22px; }
    .specialty-care-media { min-height: 560px; }
    .specialty-care-content { padding-bottom: 4px; }
    .specialty-guides-media { min-height: 440px; }
    .specialty-cta-panel { display: grid; grid-template-columns: 1fr; }
    .specialty-cta-content { order: 2; padding: 40px 38px 45px; }
    .specialty-cta-media { width: 100%; min-width: 0; height: 280px; }
    .specialty-cta-media::after { background: linear-gradient(0deg,var(--specialty-dark),transparent 52%); }
}

@media (max-width: 560px) {
    .transformation-scene { height: 245svh; }
    .scene-sticky { top: 71px; height: calc(100svh - 71px); min-height: 610px; }
    .scene-breadcrumb { margin-bottom: 13px; font-size: 9px; }
    .scene-eyebrow { margin-bottom: 9px; }
    .scene-title { font-size: clamp(37px,9.4vw,47px); }
    .scene-description { margin-bottom: 8px; font-size: 11px; line-height: 1.7; }
    .scene-chip { padding: 4px 8px; font-size: 9px; }
    .scene-chips { gap: 6px; margin-bottom: 12px; }
    .scene-visual { width: min(100%,335px); }
    .illustration-stage { width: min(92%,315px); }
    .scene-state-label { right: -8px; bottom: -4px; max-width: 196px; padding: 6px 8px; font-size: 8px; }
    .scene-stage-label { bottom: -3px; font-size: 8px; }
    .scene-stage-label strong { font-size: 10px; }
    .specialty-summary { padding-block: 85px 70px; }
    .specialty-summary h2, .specialty-options h2, .specialty-care h2, .specialty-guides h2 { font-size: 39px; }
    .specialty-facts { grid-template-columns: 1fr; gap: 14px; }
    .specialty-options, .specialty-guides { padding-block: 80px; }
    .specialty-options-heading, .specialty-guides-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
    .option-grid, .specialty-guides-grid { grid-template-columns: 1fr; }
    .option-card { min-height: 185px; }
    .specialty-care { padding-block: 83px; }
    .specialty-cta { margin-bottom: 56px; }
    .specialty-cta-panel { padding: 34px 25px; }
    .specialty-cta-panel h2 { font-size: 29px; }
    .specialty-story { padding-block: 66px 75px; }
    .specialty-story-media { width: calc(100% - 14px); }
    .specialty-story-frame, .specialty-bariatric .specialty-story-frame { aspect-ratio: .88; }
    .specialty-bariatric .specialty-story-frame img { object-position: 55% center; }
    .specialty-story-caption { right: -14px; bottom: 14px; padding: 14px 15px; }
    .specialty-story-caption strong { font-size: 16px; }
    .specialty-story-copy h2 { margin-bottom: 22px; font-size: 43px; }
    .specialty-story-lead { font-size: 13px; }
    .specialty-story-principle { padding: 16px 0 16px 18px; font-size: 21px; }
    .specialty-story .specialty-facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .specialty-story .specialty-facts strong { font-size: 10px; }
    .option-toolbar { align-items: flex-start; flex-direction: column; }
    .option-filters { justify-content: flex-start; }
    .option-grid { grid-template-columns: 1fr; }
    .option-card, .option-card:nth-child(1), .option-card:nth-child(2) { min-height: 215px; grid-column: auto; }
    .specialty-care { padding-block: 72px 80px; }
    .specialty-care-shell { gap: 50px; }
    .specialty-care-media { min-height: 430px; }
    .specialty-care-content h2 { margin-bottom: 24px; }
    .specialty-step { grid-template-columns: 39px 1fr; padding-block: 18px 21px; }
    .specialty-guides { padding-block: 76px 84px; }
    .specialty-guides-media { min-height: 360px; }
    .specialty-guides .blog-card { min-height: 225px; }
    .specialty-guides .blog-card > a { padding: 24px 22px; }
    .specialty-cta-content { padding: 34px 25px 39px; }
    .specialty-cta-media { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    .transformation-scene { height: auto; }
    .scene-sticky { position: relative; top: auto; height: auto; min-height: 680px; }
    .illustration-stage, .treatment-illustration, .scene-visual::before, .transformation-layer, .dental-tooth, .dental-spark { transition: none; animation: none; }
    .illustration-stage, .treatment-illustration, .scene-visual::before { transform: none; }
    .illustration-stage::after { top: 66%; }
    html.motion-ready [data-reveal] .specialty-story-frame,
    html.motion-ready [data-reveal] .specialty-care-media,
    html.motion-ready [data-reveal] .specialty-guides-media { clip-path: inset(0); transition: none; }
    html.motion-ready [data-reveal] .specialty-story-copy,
    html.motion-ready [data-reveal] .specialty-care-content,
    html.motion-ready [data-reveal] .specialty-guides-heading,
    html.motion-ready .specialty-options[data-reveal] .option-card { opacity: 1; transform: none; transition: none; }
}


/* International ivory scene overlay — 20260915-ivory1 */
/* Isolated treatment art direction. Other page imagery and all navigation stay untouched. */
.transformation-scene.ivory-scene {
    background: radial-gradient(ellipse at 82% 39%, #eae6de 0, #f5f3ed 25%, transparent 59%), linear-gradient(112deg, #fafbfd 14%, #f8f7f3 100%);
}
.ivory-scene .scene-visual {
    aspect-ratio: auto;
    padding-bottom: 78px;
    perspective: none;
    transform-style: flat;
}
.ivory-scene .scene-visual::before,
.ivory-stage.illustration-stage::before,
.ivory-stage.illustration-stage::after { display: none; }
.ivory-stage.illustration-stage {
    width: min(100%, 580px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    transform-style: flat;
    transition: none;
    will-change: auto;
}
.ivory-sequence-canvas,
.ivory-sequence-poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    visibility: hidden;
    pointer-events: none;
}
.ivory-sequence-canvas { z-index: 2; }
.ivory-sequence-poster { z-index: 1; }
.ivory-sequence-canvas,
.ivory-sequence-poster { -webkit-mask-image: radial-gradient(ellipse 74% 73% at 50% 49%, #000 63%, transparent 95%); mask-image: radial-gradient(ellipse 74% 73% at 50% 49%, #000 63%, transparent 95%); }
.ivory-stage.ivory-ready .treatment-illustration { visibility: hidden; }
.ivory-stage.ivory-ready .ivory-sequence-poster.is-loaded { visibility: visible; }
.ivory-stage.ivory-frame-ready .ivory-sequence-canvas { visibility: visible; }
.ivory-stage.ivory-ready.ivory-frame-ready .ivory-sequence-poster.is-loaded { visibility: hidden; }
.ivory-scene .scene-stage-label { bottom: 43px; }
.ivory-scene .scene-state-label {
    right: 0;
    bottom: 39px;
    max-width: 58%;
    border-color: rgba(71, 64, 53, .1);
    background: rgba(255, 255, 255, .76);
    box-shadow: none;
    backdrop-filter: none;
    font-size: 9px;
}
.ivory-scene-note {
    position: absolute;
    inset-inline: 0;
    bottom: 3px;
    margin: 0;
    color: #72716f;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
    text-wrap: balance;
}
.transformation-scene.ivory-static { height: auto; }
.ivory-static .scene-sticky { position: relative; top: auto; height: auto; min-height: 0; padding-block: 40px; }
@media (max-width: 860px) {
    .ivory-scene .scene-visual { width: min(100%, 350px); padding-bottom: 65px; }
    .ivory-stage.illustration-stage { width: min(100%, 315px); }
    .ivory-scene .scene-stage-label { bottom: 36px; }
    .ivory-scene .scene-state-label { bottom: 33px; padding: 5px 7px; font-size: 8px; }
    .ivory-scene-note { font-size: 9px; }
}
@media (max-width: 560px) {
    .transformation-scene.ivory-scene:not(.ivory-static) { height: 230svh; }
    .ivory-scene .scene-sticky { min-height: 0; }
    .ivory-scene .scene-grid { gap: 8px; }
    .ivory-scene .scene-title { font-size: clamp(34px, 8.8vw, 44px); }
    .ivory-scene .scene-visual { width: min(100%, 315px); }
    .ivory-stage.illustration-stage { width: min(100%, 29svh, 285px); }
    .ivory-scene .scene-state-label { max-width: 55%; }
    .ivory-scene .scene-stage-label strong { max-width: 125px; font-size: 9px; }
}
/* On short mobile screens normal flow keeps every line readable instead of clipping the scene. */
@media (max-width: 860px) and (max-height: 720px) {
    .transformation-scene.ivory-scene:not(.ivory-static) { height: auto; }
    .ivory-scene .scene-sticky { position: relative; top: auto; height: auto; min-height: 0; padding-block: 22px; }
    .ivory-scene .scene-grid { gap: 18px; }
    .ivory-stage.illustration-stage { width: min(82%, 265px); }
}
@media (prefers-reduced-motion: reduce) {
    .ivory-scene .scene-sticky { position: relative; top: auto; height: auto; min-height: 0; padding-block: 30px; }
    .ivory-stage.illustration-stage { animation: none; transition: none; }
}

/* Supplied 16:9 videos, drawn from same-origin frames. No crop or clinical retouch. */
.ivory-video .scene-visual {
    width: 100%;
    max-width: 680px;
    aspect-ratio: auto;
    padding-bottom: 90px;
}
.ivory-video .ivory-stage.illustration-stage {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #e7e7e3;
}
.ivory-video .ivory-sequence-canvas,
.ivory-video .ivory-sequence-poster {
    -webkit-mask-image: none;
    mask-image: none;
}
.ivory-video .ivory-stage .treatment-illustration { max-height: 100%; }
.ivory-video .ivory-scene-note { color: #536079; font-size: 12px; line-height: 1.5; }
.ivory-video .scene-stage-label { bottom: 48px; }
.ivory-video .scene-state-label { bottom: 44px; }
@media (max-width: 860px) {
    .ivory-video .scene-visual { width: min(100%, 560px); justify-self: center; padding-bottom: 82px; }
    .ivory-video .ivory-stage.illustration-stage { width: 100%; }
    .ivory-video .ivory-scene-note { font-size: 11px; }
    .ivory-video .scene-stage-label { bottom: 43px; }
    .ivory-video .scene-state-label { bottom: 41px; }
}
@media (max-width: 560px) {
    .ivory-video .scene-visual { width: 100%; }
    .ivory-video .ivory-stage.illustration-stage { border-radius: 14px; }
}
@media (max-width: 860px) and (max-height: 720px) {
    .ivory-video .ivory-stage.illustration-stage { width: 100%; }
}
