/* Vue Dental concept: home page. */

/* ---------- 1 hero: sky, sinking sun, soft room, horizon, portrait, haze ---------- */
.hero__stage { background: #2B120C; --mx: 0; --my: 0; }
.hero__stage > * { position: absolute; }
.hero__sky { inset: 0; background: radial-gradient(90% 75% at 72% 78%, #E2602C 0%, #A23A1C 34%, #5A2012 62%, #2E120B 100%); }
.hero__scrim { left: 0; top: 0; bottom: 0; width: min(62vw, 64rem); z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(26, 9, 6, 0.78) 0%, rgba(26, 9, 6, 0.55) 45%, rgba(26, 9, 6, 0) 100%); }
.hero__night { position: absolute; inset: 0; background: linear-gradient(180deg, #140806 0%, #2A110B 55%, #5A2012 100%); opacity: calc(var(--sc-p, 0) * 0.85); }
.hero__sun {
  left: 76%; top: 30%; width: min(62vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFF0D2 0%, #FFD08A 18%, var(--sun-1) 30%, var(--sun-2) 40%, rgba(255, 122, 47, 0.5) 46%, rgba(194, 64, 31, 0.22) 58%, rgba(194, 64, 31, 0) 70%);
  transform: translate3d(calc(-50% + var(--mx) * -10px), calc(var(--sc-p, 0) * 34vh + var(--my) * -6px), 0) scale(calc(1 - var(--sc-p, 0) * 0.12));
  will-change: transform;
}
.hero__room { inset: -6%; opacity: 0.18; mix-blend-mode: soft-light; transform: translate3d(calc(var(--mx) * -6px), calc(var(--sc-p, 0) * -5vh), 0); }
.hero__room img { width: 100%; height: 100%; object-fit: cover; filter: blur(10px) sepia(0.5) saturate(1.3); }
.hero__horizon { left: 0; right: 0; bottom: -18vh; width: 100%; height: 56vh; fill: #1A0906; transform: translate3d(calc(var(--mx) * 8px), calc(var(--sc-p, 0) * -10vh), 0); will-change: transform; }
.hero__portrait {
  margin: 0; right: clamp(1.5rem, 9vw, 10rem); bottom: 0; width: clamp(15rem, 27vw, 26rem); aspect-ratio: 417 / 560;
  border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 -10px 60px -10px rgba(255, 150, 80, 0.35), 0 30px 60px rgba(20, 4, 0, 0.6);
  transform-origin: 50% 100%;
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--sc-p, 0) * -6vh), 0) scale(calc(1 + var(--sc-p, 0) * 0.08));
  will-change: transform;
}
.hero__portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 178, 122, 0.45); pointer-events: none; }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(1.05) contrast(1.04); }
.hero__haze { left: 0; right: 0; bottom: -10vh; height: 34vh; background: linear-gradient(to top, #160806 25%, rgba(22, 8, 6, 0)); transform: translate3d(0, calc(var(--sc-p, 0) * -14vh), 0); pointer-events: none; z-index: 3; }
.hero__copy { left: var(--sc-gutter); bottom: clamp(2.5rem, 12vh, 8rem); max-width: min(46rem, 58vw); z-index: 5; }
.hero__h1 { text-shadow: 0 2px 24px rgba(40, 10, 4, 0.45); }
.hero__h1 em { color: #FFD3AE; }
.hero__copy .lede { margin-top: 2.6rem; color: #FFE4D2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__copy--two { max-width: min(44rem, 56vw); }
.hero__copy--two .h2 { margin-top: 1rem; }
.hero__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.8rem 2.4rem; color: #FFE4D2; }
.hero__facts b { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); font-weight: 600; }

@media (max-width: 860px) {
  .hero__scrim { display: none; }
  .hero__sun { left: 50%; top: 8%; width: 120vw; }
  .hero__portrait { right: 50%; translate: 50% 0; bottom: auto; top: calc(var(--bar-h) + 1.5vh); width: min(56vw, 18rem); border-radius: 999px 999px 24px 24px; }
  .hero__horizon { height: 46vh; }
  .hero__copy--two .kicker { color: var(--sc-ink); }
  .hero__copy, .hero__copy--two { max-width: none; right: var(--sc-gutter); bottom: 2rem; }
  .hero__h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero__copy .lede { margin-top: 1.5rem; font-size: 1.05rem; }
  .hero__ctas { margin-top: 1.2rem; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__haze { height: 74vh; background: linear-gradient(to top, #160806 50%, rgba(22, 8, 6, 0.6) 78%, rgba(22, 8, 6, 0)); }
}
@media (max-width: 700px) {
  .hero__copy, .hero__copy--two { bottom: 6.5rem; }
  .hero__ctas .btn { display: none; }
}

/* ---------- 2 about ---------- */
.about { padding-block: clamp(3rem, 6vw, 6rem) clamp(5rem, 9vw, 9rem); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.about__media { position: relative; min-height: clamp(26rem, 44vw, 40rem); }
.about__arch { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.about__arch img { width: 100%; height: 100%; object-fit: cover; }
.about__arch--big { left: 0; top: 0; width: 78%; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 18px 18px; }
.about__arch--big img { object-position: 50% 30%; }
.about__arch--small { right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; outline: 6px solid #2A130D; }
.about__text > * + * { margin-top: 1.3rem; }
.about__text .h2 { margin-top: 0.8rem; }
.about__text .h2 + .body { margin-top: 2.4rem; }
.promises { list-style: none; padding: 0; margin-top: 2rem !important; border-top: 1px solid rgba(255, 178, 122, 0.18); }
.promises li { display: grid; grid-template-columns: minmax(11rem, 0.8fr) 1.2fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 178, 122, 0.18); }
.promises b { font: 400 1.5rem/1.15 var(--sc-font-display); color: var(--sc-ink); }
.promises span { color: var(--sc-ink-soft); }
.about .link { margin-top: 2rem; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 1 / 0.95; max-width: 34rem; }
  .promises li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- 3 values ---------- */
.values__stage { display: grid; align-content: center; padding: calc(var(--bar-h) + 2rem) var(--sc-gutter) 3rem; background: radial-gradient(80% 60% at 15% 110%, rgba(255, 122, 47, 0.14), rgba(26, 11, 8, 0) 70%); }
.values__kicker { max-width: var(--sc-maxw); width: 100%; margin: 0 auto clamp(1rem, 3vh, 2.4rem); }
.values__list { display: grid; gap: clamp(0.8rem, 2.2vh, 2rem); max-width: var(--sc-maxw); width: 100%; margin: 0 auto; }
.value { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: end; padding-bottom: clamp(0.6rem, 1.6vh, 1.4rem); border-bottom: 1px solid rgba(255, 178, 122, 0.2); }
.value__w { font: 400 clamp(3rem, 1.2rem + 5vw, 6.6rem)/1 var(--sc-font-display); letter-spacing: -0.02em; padding-bottom: 0.08em; }
.value__w em { font-style: italic; color: var(--ember); }
.value__t { margin-top: 0.6rem; color: var(--sc-ink-soft); max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.45; padding-bottom: 0.9rem; }
.values__note { max-width: var(--sc-maxw); width: 100%; margin: clamp(1.2rem, 3vh, 2.4rem) auto 0; color: var(--sc-ink); font-size: var(--sc-t-lg); }
.values__note a { color: var(--ember); margin-left: 0.4em; }
@media (max-width: 860px) {
  .value { grid-template-columns: 1fr; gap: 0.2rem; }
  .value__w { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .value__t { font-size: 1rem; padding-bottom: 0.4rem; }
  .values__note { font-size: 1rem; }
}

/* ---------- 4 the smile (peak) ---------- */
.smile__stage { background: radial-gradient(70% 55% at 50% 100%, rgba(255, 122, 47, 0.2), rgba(21, 8, 6, 0) 72%), #150806; }
.smile__head { position: absolute; left: var(--sc-gutter); top: calc(var(--bar-h) + 1.6rem); z-index: 4; max-width: 30rem; }
.smile__head .h2 { margin-top: 0.6rem; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); }
.smile__arc { position: absolute; left: 34vw; right: 3vw; top: 24vh; height: 34vh; pointer-events: none; }
.smile__ring { position: absolute; inset: 0; z-index: 3; }
.tooth {
  position: absolute; left: 0; top: 0; margin: 0; width: clamp(13rem, 25vw, 24rem);
  transform-origin: 50% 0; will-change: transform, opacity, filter;
}
.tooth img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 178, 122, 0.35); }
.tooth.is-front figcaption { opacity: 0; }
.tooth figcaption { transition: opacity 200ms var(--sc-ease-out); margin-top: 0.7rem; text-align: center; font: 400 1.35rem/1.1 var(--sc-font-display); color: var(--sc-ink); }
.smile__copy { position: absolute; left: var(--sc-gutter); bottom: clamp(2rem, 8vh, 5rem); width: min(24rem, 27vw); z-index: 5; min-height: 10rem; }
.svc { position: absolute; left: 0; bottom: 0; }
.svc p { margin-top: 0.8rem; color: var(--sc-ink-soft); }
.smile__more { position: absolute; right: var(--sc-gutter); bottom: clamp(2rem, 8vh, 5rem); z-index: 5; }
@media (max-width: 860px) {
  .smile__arc { left: 4vw; right: 4vw; top: 30vh; height: 16vh; }
  .tooth { width: min(52vw, 15rem); }
  .tooth figcaption { font-size: 1.1rem; }
  .smile__copy { width: auto; right: var(--sc-gutter); bottom: 4.5rem; }
  .smile__more { left: var(--sc-gutter); right: auto; bottom: 1.5rem; }
  .smile__head { top: calc(var(--bar-h) + 0.8rem); }
}
@media (max-width: 700px) {
  .smile__copy { bottom: 9.5rem; }
  .smile__more { bottom: 6.6rem; }
}

/* ---------- 5 reviews ---------- */
.reviews__stage { display: flex; align-items: center; }
.reviews__rail { gap: clamp(1.5rem, 4vw, 4rem); padding-inline: var(--sc-gutter); align-items: center; padding-top: var(--bar-h); }
.reviews__lead, .quote, .reviews__end { flex: none; }
.reviews__lead { width: min(30rem, 82vw); }
.reviews__lead .h2 { margin: 0.8rem 0 1.2rem; }
.quote { width: min(38rem, 84vw); margin: 0; padding: clamp(1.8rem, 3vw, 3rem); border-radius: 28px; background: linear-gradient(160deg, #3A1A12, #2A130D); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 210, 180, 0.12); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -0.2em; left: 0.3em; font: 400 7rem/1 var(--sc-font-display); color: var(--sc-accent); }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 400 clamp(1.5rem, 1.1rem + 1.1vw, 2.15rem)/1.22 var(--sc-font-display); color: var(--sc-ink); text-wrap: pretty; }
.quote figcaption { margin-top: 1.4rem; font-weight: 600; color: var(--ember); letter-spacing: 0.04em; }
.reviews__end { width: min(24rem, 80vw); }
.reviews__end .link { margin-top: 1.2rem; }

/* ---------- 6 close ---------- */
.close__stage { background: linear-gradient(180deg, #120705 0%, #170907 60%, #2A0F08 100%); display: grid; align-items: center; }
.close__glow { position: absolute; left: -10%; right: -10%; bottom: -30vh; height: 46vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 47, 0.55), rgba(194, 64, 31, 0.18) 60%, rgba(18, 7, 5, 0) 100%); transform: translate3d(0, calc((1 - var(--sc-p, 0)) * 6vh), 0); }
.close__in { position: relative; z-index: 2; width: 100%; max-width: var(--sc-maxw); margin: 0 auto; padding: calc(var(--bar-h) + 1rem) var(--sc-gutter) 2rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.close__h { margin: 0.8rem 0 2rem; }
.callbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: clamp(76px, 9vw, 104px); padding: 0 clamp(1.8rem, 3.4vw, 3.4rem); border-radius: 999px; text-decoration: none; color: var(--sc-ink); font: 600 clamp(1.3rem, 0.9rem + 1.5vw, 2.3rem)/1 var(--sc-font-text); white-space: nowrap; isolation: isolate; transition: transform 160ms var(--sc-ease-out); }
.callbtn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sc-accent); z-index: -1; opacity: clamp(0, calc((var(--sc-p, 0) - 0.3) * 5), 1); transition: opacity 120ms linear; }
.callbtn span { position: relative; color: color-mix(in oklab, var(--sc-ink) calc(100% - clamp(0%, calc((var(--sc-p, 0) - 0.3) * 500%), 100%)), var(--sc-accent-ink)); }
.callbtn__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.callbtn__ring rect { fill: none; stroke: var(--sc-accent); stroke-width: 3.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, var(--sc-p, 0) * 3.2, 1)); }
.callbtn:hover::before { background: #FF8E4D; }
.callbtn:active { transform: scale(0.98); }
.close__sub { margin-top: 1.4rem; color: var(--sc-ink-soft); max-width: 40ch; }
.close__info { display: grid; gap: 2rem; color: var(--sc-ink-soft); padding-bottom: 1rem; }
.close__info p + p { margin-top: 0.5rem; }
.close__info a { color: var(--sc-ink); }
@media (max-width: 860px) {
  .close__in { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .close__h { margin-bottom: 1.4rem; }
  .close__info { grid-template-columns: 1fr 1fr; gap: 1.2rem; font-size: 0.95rem; }
}
@media (max-width: 560px) {
  .close__info { grid-template-columns: 1fr; }
  .callbtn { width: 100%; }
}

/* ---------- reduced motion: keep the composition, drop the travel ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__sun, .hero__room, .hero__horizon, .hero__portrait, .hero__haze, .close__glow { transform: none !important; }
  .hero__portrait { translate: none; }
  @media (max-width: 860px) { .hero__portrait { transform: translateX(50%) !important; } }
  .callbtn::before { opacity: 1; }
  .callbtn span { color: var(--sc-accent-ink); }
  .callbtn__ring rect { stroke-dashoffset: 0; }
}
