@import "tailwindcss";

:root {
  --pine: #26361f;
  --pine-deep: #182217;
  --sage: #9cad8d;
  --sage-soft: #dfe7d8;
  --cream: #f6f3eb;
  --paper: #fffdf8;
  --ink: #1c231a;
  --muted: #66705f;
  --line: #d8dfd1;
  --warm: #c6aa78;
  --contact-mist: #e5ebe0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 3px; background: var(--warm); transform: scaleX(0); transform-origin: left center; will-change: transform; pointer-events: none; }
.reveal-pending { opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity .85s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), transform .85s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal-pending.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
[data-scroll-unfold] { clip-path: inset(var(--unfold-clip, 18%) 0 var(--unfold-clip, 18%) 0); transform: perspective(1200px) rotateX(var(--unfold-rotate, 5deg)) scale(var(--unfold-scale, .93)); transform-origin: center top; will-change: transform, clip-path; }
[data-scroll-parallax] { translate: 0 var(--parallax-y, 0); }
[data-scroll-zoom] { transform: scale(var(--zoom-scale, .78)); border-radius: var(--zoom-radius, 42px); overflow: hidden; transform-origin: center center; will-change: transform, border-radius; }
[data-scroll-rotate] { rotate: var(--scroll-rotation, -32deg); will-change: rotate; }
[data-scroll-text] { color: transparent; background: linear-gradient(90deg, var(--pine) 0 var(--text-reveal, 0%), rgba(38,54,31,.19) var(--text-reveal, 0%) 100%); background-clip: text; -webkit-background-clip: text; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: white; color: var(--pine); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--pine); color: #f4f7f1; font-size: 13px; letter-spacing: .03em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.topbar-links { display: flex; gap: 10px; align-items: center; }
.topbar a:hover { color: var(--sage-soft); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(38,54,31,.1); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 40px; }
.brand { width: 140px; margin-right: auto; }
.brand img { width: 100%; height: 54px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; gap: 34px; align-items: center; font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--pine); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--pine); background: var(--pine); color: white; font-size: 14px; font-weight: 700; letter-spacing: .01em; transition: background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { background: var(--sage); border-color: var(--sage); color: var(--pine-deep); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }
.button-small { min-height: 44px; padding-inline: 20px; }
.mobile-menu { display: none; }

.hero { padding: 54px 0 42px; background: linear-gradient(105deg, var(--cream) 0 52%, var(--paper) 52%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 66px; }
.eyebrow { margin: 0 0 18px; color: var(--pine); text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 800; }
.hero h1, .section-heading h2, .team-copy h2, .appointment h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.hero h1 { max-width: 650px; font-size: clamp(54px, 6.3vw, 88px); }
.hero-lead { max-width: 590px; margin: 30px 0; color: #4e584a; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--pine); padding-bottom: 3px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-arrow { display: inline-block; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-variant-emoji: text; font-weight: 400; line-height: 1; }
.hero-trust { margin-top: 34px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.hero-trust span::before { content: "✓"; margin-right: 9px; color: var(--pine); font-weight: 800; }
.hero-visual { position: relative; min-height: 620px; }
.hero-visual > img { width: 100%; height: 620px; object-fit: cover; object-position: 48% center; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: var(--sage-soft); top: -72px; right: -100px; }
.tooth-scene { position: absolute; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.tooth-scene-hero { width: 174px; height: 174px; top: 28px; right: -48px; border: 1px solid rgba(38,54,31,.16); border-radius: 50%; background: radial-gradient(circle at 36% 28%, rgba(255,255,255,.98), rgba(243,247,241,.9) 58%, rgba(214,226,209,.88)); box-shadow: 0 28px 62px rgba(24,34,23,.22), inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.tooth-scene::before, .tooth-scene::after { content: ""; position: absolute; border: 1px solid rgba(38,54,31,.14); border-radius: 50%; }
.tooth-scene::before { inset: 12px; }
.tooth-scene::after { display: none; }
.tooth-model { position: relative; width: 108px; height: 118px; background: url('images/wedent-hero-tooth.svg') center / contain no-repeat; filter: drop-shadow(0 13px 12px rgba(38,54,31,.24)) drop-shadow(0 2px 2px rgba(255,255,255,.9)); }
.tooth-scene-hero .tooth-model { animation: brand-tooth-float 5.8s ease-in-out infinite; }
.tooth-model::before, .tooth-model::after, .tooth-model > span, .tooth-model > span::after { display: none; }
@keyframes tooth-float {
  0%, 100% { transform: rotateX(8deg) rotateY(-13deg) rotateZ(-4deg) translateY(0); }
  50% { transform: rotateX(-5deg) rotateY(17deg) rotateZ(4deg) translateY(-10px); }
}
@keyframes brand-tooth-float {
  0%, 100% { transform: translateY(2px) rotate(-1.5deg); }
  50% { transform: translateY(-7px) rotate(1.5deg); }
}
.hero-note { position: absolute; left: -38px; bottom: 28px; width: 290px; padding: 25px 28px; background: var(--paper); box-shadow: 0 20px 60px rgba(24,34,23,.18); }
.hero-note strong { display: block; font-family: Georgia, serif; font-size: 21px; line-height: 1.2; font-weight: 400; }
.hero-note a { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 800; color: var(--pine); border-bottom: 1px solid; }
.note-kicker { display: block; margin-bottom: 9px; color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.stats { position: relative; padding: 100px 0 112px; background: var(--cream); overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 420px; height: 420px; top: -250px; right: -130px; border: 1px solid rgba(38,54,31,.13); border-radius: 50%; }
.stats::after { content: ""; position: absolute; width: 260px; height: 260px; top: -170px; right: -50px; border: 1px solid rgba(38,54,31,.09); border-radius: 50%; }
.stats-shell { position: relative; z-index: 1; }
.stats-intro { margin-bottom: 52px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }
.stats-intro h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 4.6vw, 66px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.stats-intro > p { max-width: 430px; margin: 0 0 6px; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 14px; }
.stat { position: relative; min-width: 0; padding: 28px 30px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(38,54,31,.10); }
.stat:first-child { grid-row: 1 / 3; padding: 38px; background: var(--pine); color: white; border: 0; border-radius: 220px 220px 6px 6px; }
.stat:nth-child(3) { background: var(--sage-soft); border-color: transparent; }
.stat:last-child { grid-column: 2 / 4; background: var(--pine-deep); color: white; border: 0; }
.stat:last-child > div { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.stat-index { color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.stat-icon { position: absolute; top: 24px; right: 26px; width: 62px; height: 62px; object-fit: contain; opacity: .78; }
.stat:nth-child(2) .stat-icon, .stat:nth-child(3) .stat-icon { filter: brightness(0) saturate(100%) invert(23%) sepia(16%) saturate(1128%) hue-rotate(46deg) brightness(89%) contrast(91%); opacity: .9; }
.stat:first-child .stat-icon, .stat:last-child .stat-icon { filter: brightness(0) invert(1); opacity: .7; }
.stat:first-child .stat-icon { top: 76px; left: 50%; right: auto; width: 82px; height: 82px; transform: translateX(-50%); }
.stat strong { display: block; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 72px); line-height: .9; font-weight: 400; letter-spacing: -.04em; }
.stat:first-child strong { font-size: clamp(72px, 8vw, 106px); }
.stat-label { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.stat:first-child .stat-label, .stat:last-child .stat-label { color: #d7e0d1; }
.stat:last-child .stat-label { max-width: 190px; margin: 0 0 5px; text-align: right; }
.stat:first-child::after { content: ""; position: absolute; width: 150px; height: 150px; right: -45px; bottom: -45px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 55px; }
.section-heading h2, .team-copy h2, .appointment h2 { font-size: clamp(42px, 5vw, 67px); }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.split-heading > p { max-width: 440px; margin: 0 0 5px; color: var(--muted); }
.services { background: var(--paper); }
.scroll-services { padding-bottom: 0; }
.horizontal-story { position: relative; height: 390vh; }
.horizontal-sticky { position: sticky; top: 116px; height: calc(100vh - 116px); display: flex; align-items: center; overflow: hidden; }
.horizontal-sticky::after { content: ""; position: absolute; left: 5vw; right: 5vw; bottom: 30px; height: 2px; background: linear-gradient(90deg, var(--pine) 0 calc(var(--chapter, 0) * 100%), var(--line) calc(var(--chapter, 0) * 100%) 100%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services-grid.horizontal-track { width: max-content; padding-inline: max(5vw, calc((100vw - 1180px) / 2)); display: flex; gap: 18px; border: 0; will-change: transform; }
.service-card { min-height: 330px; padding: 32px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.horizontal-track .service-card { width: min(66vw, 720px); height: min(64vh, 600px); min-height: 470px; flex: none; padding: clamp(34px, 5vw, 66px); border: 1px solid var(--line); background: var(--cream); }
.horizontal-track .service-card:nth-child(2n) { background: var(--sage-soft); }
.horizontal-track .service-card:nth-child(3n) { background: var(--pine); color: white; border-color: var(--pine); }
.horizontal-track .service-card:nth-child(3n) p { color: #d3ddd0; }
.horizontal-track .service-card > * { opacity: var(--card-focus, 1); translate: 0 var(--card-lift, 0); will-change: opacity, translate; }
.horizontal-track .service-card h3 { margin-top: auto; font-size: clamp(38px, 5vw, 66px); line-height: .95; letter-spacing: -.035em; }
.horizontal-track .service-card p { max-width: 550px; font-size: 16px; }
.horizontal-track .service-card > a { margin-top: 28px; }
.service-card:hover { background: var(--cream); transform: translateY(-3px); }
.service-number { color: var(--sage); font-size: 12px; font-weight: 800; }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon-frame { display: block; }
.service-card-top img { width: 82px; height: 82px; object-fit: contain; filter: contrast(1.35) saturate(1.25); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.horizontal-track .service-card:nth-child(3n) .service-card-top img { filter: brightness(0) invert(1); }
.service-card:hover .service-card-top img { transform: rotate(-6deg) scale(1.1); }
.service-card h3 { margin: 34px 0 14px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-card a { margin-top: auto; font-size: 13px; font-weight: 800; }

.care-paths { background: var(--cream); }
.centered-heading { max-width: 770px; margin-inline: auto; text-align: center; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; }
.path-card { min-height: 490px; padding: 62px; display: flex; flex-direction: column; align-items: flex-start; }
.path-card h3 { max-width: 520px; margin: 65px 0 20px; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.02; font-weight: 400; letter-spacing: -.03em; }
.path-card p { max-width: 490px; margin: 0 0 35px; }
.path-card .button { margin-top: auto; }
.path-adults { background: var(--pine); color: white; }
.path-adults p { color: #d8e0d2; }
.path-kids { background: var(--sage-soft); color: var(--pine-deep); }
.path-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.button-light { background: white; border-color: white; color: var(--pine); }
.button-dark { background: transparent; color: var(--pine); }

.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: center; }
.team-image-wrap { position: relative; max-width: 500px; }
.team-image-wrap img { width: 100%; height: 670px; object-fit: cover; object-position: center 18%; }
.image-caption { position: absolute; left: -35px; bottom: 35px; max-width: 260px; padding: 22px 25px; background: var(--pine); color: white; font-family: Georgia, serif; font-size: 20px; line-height: 1.25; }
.large-copy { margin: 28px 0 36px; color: var(--muted); font-size: 18px; }
.values-list { margin-bottom: 36px; border-top: 1px solid var(--line); }
.values-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.values-list span { color: var(--sage); font-size: 12px; font-weight: 800; }
.values-list p { margin: 0; color: var(--muted); font-size: 14px; }
.values-list strong { display: block; color: var(--ink); font-size: 15px; }
.team-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.reassurance { position: relative; padding: 100px 0; background: var(--sage-soft); text-align: center; overflow: hidden; }
.reassurance-inner { position: relative; z-index: 2; max-width: 940px; }
.reassurance blockquote { margin: 22px 0 28px; font-family: Georgia, serif; font-size: clamp(35px, 5vw, 61px); line-height: 1.08; letter-spacing: -.035em; }
.reassurance-inner > p:last-child { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.tooth-scene-quote { width: 240px; height: 240px; left: -55px; top: 50%; opacity: .55; transform: translateY(-50%) rotate(-12deg) scale(1.25); }
.tooth-scene-quote::before { inset: 0; border-color: rgba(38,54,31,.18); }
.tooth-scene-quote::after { display: none; }

.appointment { padding: 96px 0; background: var(--pine-deep); color: white; }
.appointment-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 100px; align-items: center; }
.appointment-grid > div:first-child > p:last-child { max-width: 590px; color: #cdd8c7; font-size: 17px; }
.eyebrow-light { color: var(--sage); }
.appointment-card { position: relative; width: min(470px, 100%); justify-self: center; padding: 22px 24px 12px; overflow: hidden; background: var(--contact-mist); color: var(--ink); border: 1px solid rgba(156,173,141,.58); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.25), 0 2px 0 rgba(255,255,255,.62) inset; }
.appointment-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -95px; top: -105px; border: 1px solid rgba(38,54,31,.13); border-radius: 50%; pointer-events: none; }
.appointment-card-label { margin: 0 0 5px; color: var(--pine); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-action, .appointment-meta { position: relative; z-index: 1; min-height: 67px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid rgba(38,54,31,.15); }
.contact-action { grid-template-columns: minmax(0, 1fr); }
.contact-action:last-of-type { border-bottom: 1px solid rgba(38,54,31,.15); }
.contact-action svg, .appointment-meta svg { width: 38px; height: 38px; padding: 9px; fill: none; stroke: var(--pine); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; border: 1px solid rgba(38,54,31,.19); border-radius: 50%; }
.contact-action span, .appointment-meta span { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.contact-action span { width: 100%; }
.contact-action small, .appointment-meta small { color: #596655; font-size: 12px; }
.contact-action strong, .appointment-meta strong { color: var(--pine-deep); font-size: 14px; text-align: right; }
.contact-action small, .contact-action strong { white-space: nowrap; }
.contact-action { margin-inline: -8px; padding-inline: 12px; border-radius: 12px; transition: background .2s ease, transform .2s ease; }
.contact-action:hover { background: rgba(255,255,255,.55); transform: translateX(3px); }

/* Pricing experience */
.price-mobile-home { display: none; font-size: 14px; font-weight: 700; }
.pricing-page { background: var(--paper); }
.pricing-hero { position: relative; min-height: 610px; display: grid; align-items: center; background: var(--pine-deep); color: white; overflow: hidden; }
.pricing-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 110%, rgba(156,173,141,.22), transparent 52%), linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.025) 48% 49%, transparent 49%); }
.pricing-hero-inner { position: relative; z-index: 3; max-width: 1000px; padding-block: 105px; text-align: center; }
.pricing-hero h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(66px, 9vw, 126px); font-weight: 400; line-height: .87; letter-spacing: -.055em; }
.pricing-hero-inner > p:last-child { max-width: 600px; margin: 35px auto 0; color: #cad5c5; font-size: 17px; }
.pricing-tooth { width: 280px; height: 280px; opacity: .45; }
.pricing-tooth::before { inset: 0; border-color: rgba(255,255,255,.16); }
.pricing-tooth::after { display: none; }
.pricing-tooth .tooth-model { transform: scale(1.5); }
.pricing-tooth-left { left: -55px; top: 50%; transform: translateY(-50%) rotate(-22deg); }
.pricing-tooth-right { right: -45px; top: 9%; transform: rotate(24deg) scale(.76); opacity: .28; }
.pricing-content { position: relative; padding: 0 0 120px; background: linear-gradient(var(--cream) 0 250px, var(--paper) 250px); }
.pricing-container { position: relative; z-index: 4; }
.price-switch-wrap { position: sticky; z-index: 30; top: 102px; display: flex; justify-content: center; padding: 30px 0; }
.price-switch { display: grid; grid-template-columns: 1fr 1fr; width: 330px; padding: 5px; background: rgba(255,253,248,.88); border: 1px solid rgba(38,54,31,.14); border-radius: 999px; box-shadow: 0 14px 40px rgba(24,34,23,.13); backdrop-filter: blur(14px); }
.price-switch button { min-height: 50px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.price-switch button.active { background: var(--pine); color: white; box-shadow: 0 7px 18px rgba(38,54,31,.24); }
.price-switch button:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.price-panel { margin-top: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(38,54,31,.09); animation: price-panel-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes price-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.price-panel-head { min-height: 94px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; background: var(--pine); color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.price-panel-head span:last-child { color: var(--sage); }
.price-category { scroll-margin-top: 190px; border-bottom: 1px solid var(--line); }
.price-category:last-child { border-bottom: 0; }
.price-category summary { min-height: 108px; padding: 0 34px; display: grid; grid-template-columns: 58px 1fr auto 30px; gap: 20px; align-items: center; cursor: pointer; list-style: none; transition: background .22s ease, color .22s ease; }
.price-category summary::-webkit-details-marker { display: none; }
.price-category summary:hover { background: var(--cream); }
.price-category[open] summary { background: var(--sage-soft); color: var(--pine-deep); }
.price-category-index { color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.price-category-name { font-family: Georgia, serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.05; }
.price-category-count { color: var(--muted); font-size: 12px; }
.price-plus { position: relative; width: 24px; height: 24px; }
.price-plus::before, .price-plus::after { content: ""; position: absolute; top: 11px; left: 3px; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease; }
.price-plus::after { transform: rotate(90deg); }
.price-category[open] .price-plus::after { transform: rotate(0); }
.price-table { padding: 2px 34px 28px 112px; background: var(--paper); }
.price-row { min-height: 76px; padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row > span { max-width: 770px; color: #465141; }
.price-row strong { color: var(--pine); font-size: 14px; white-space: nowrap; }
.pricing-note { margin-top: 42px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 50px; background: var(--sage-soft); }
.pricing-note p { max-width: 690px; margin: 0; color: #4b5946; }
.price-footer { padding-top: 20px; }
.price-footer .footer-bottom { margin-top: 0; }

.footer { padding: 72px 0 28px; background: #111810; color: #eff3eb; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand img { width: 145px; height: 62px; object-fit: contain; filter: brightness(0) saturate(100%) invert(84%) sepia(8%) saturate(443%) hue-rotate(104deg) brightness(96%) contrast(89%); opacity: .76; }
.footer-brand p { max-width: 300px; color: #aeb8aa; }
.footer h2 { margin: 4px 0 16px; color: var(--sage); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.footer address, .footer p { font-style: normal; color: #bcc5b7; }
.footer-grid > div:not(:first-child) a { display: block; color: #dce3d8; margin-bottom: 5px; }
.footer-grid-complete { grid-template-columns: 1.45fr 1fr .75fr 1.25fr; }
.legal-identity { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.legal-identity p { margin: 7px 0; font-size: 12px; line-height: 1.65; }
.legal-identity a { text-decoration: underline; text-underline-offset: 3px; }
.footer .footer-anpc-link { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.12); transition: color .2s ease; }
.footer .footer-anpc-link span { display: block; color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.footer .footer-anpc-link small { display: block; margin-top: 4px; color: #dce3d8; font-size: 12px; line-height: 1.4; }
.footer .footer-anpc-link:hover small { color: white; }
.footer-bottom { margin-top: 55px; padding-top: 25px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: #7f8c7b; font-size: 12px; }
.footer-bottom div { display: flex; gap: 20px; }
.appointment-form-disclosure { margin-top: 8px; border-top: 1px solid var(--line); }
.appointment-form-disclosure summary { padding: 18px 2px; color: var(--pine); font-size: 14px; font-weight: 800; cursor: pointer; }
.appointment-form { padding: 8px 2px 18px; display: grid; gap: 14px; }
.appointment-form label { display: grid; gap: 6px; color: #465141; font-size: 13px; font-weight: 700; }
.appointment-form input:not([type="checkbox"]), .appointment-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.appointment-form textarea { resize: vertical; }
.appointment-form .form-consent { grid-template-columns: 18px 1fr; align-items: start; font-weight: 400; line-height: 1.45; }
.appointment-form .form-consent input { margin-top: 3px; }
.appointment-form .form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.appointment-form .button { width: 100%; border: 0; cursor: pointer; }
.form-status { margin: 0 2px 12px; padding: 12px 14px; border-left: 3px solid var(--sage); background: var(--sage-soft); color: var(--pine-deep); font-size: 13px; line-height: 1.5; }
.form-status.eroare { border-left-color: #a43f32; background: #f8e8e4; color: #70291f; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cookie-notice { position: fixed; z-index: 130; left: 24px; right: 24px; bottom: 24px; width: min(1080px, calc(100% - 48px)); margin-inline: auto; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--pine-deep); color: white; border: 1px solid rgba(198,170,120,.68); box-shadow: 0 22px 65px rgba(0,0,0,.3); }
.cookie-notice p { margin: 0; color: #dce5d8; font-size: 14px; line-height: 1.55; }
.cookie-notice .cookie-notice-title { margin-bottom: 4px; color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.15; }
.cookie-notice a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cookie-notice .cookie-details { margin-right: 8px; }
.cookie-notice button, .cookie-notice .cookie-details { min-height: 46px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.72); font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cookie-notice .cookie-accept { min-width: 104px; background: white; color: var(--pine-deep); }
.cookie-notice .cookie-reject { min-width: 92px; background: transparent; color: white; }
.cookie-notice .cookie-details { border-color: transparent; color: #dce5d8; text-decoration: underline; text-underline-offset: 4px; }
.cookie-notice .cookie-accept:hover { background: var(--sage-soft); }
.cookie-notice .cookie-reject:hover, .cookie-notice .cookie-details:hover { background: rgba(255,255,255,.1); color: white; }
.cookie-notice button:focus-visible, .cookie-notice .cookie-details:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

.promo-overlay { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(15,23,14,.62); backdrop-filter: blur(3px); animation: promo-fade .2s ease; }
.promo-dialog { position: relative; width: min(560px, 100%); max-height: calc(100svh - 36px); overflow: auto; padding: 38px; background: var(--paper); color: var(--ink); border: 1px solid rgba(38,54,31,.18); box-shadow: 0 28px 90px rgba(0,0,0,.34); animation: promo-rise .28s cubic-bezier(.2,.8,.2,1); }
.promo-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(38,54,31,.22); border-radius: 50%; background: var(--pine-deep); color: white; cursor: pointer; }
.promo-close span { font-size: 30px; font-weight: 300; line-height: 1; translate: 0 -1px; }
.promo-kicker { margin: 0 0 12px; color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.promo-dialog h2 { max-width: 455px; margin: 0 0 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(29px, 4vw, 39px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.promo-dialog > p:not(.promo-kicker) { margin: 0 0 26px; color: #4f5b4b; font-size: 16px; line-height: 1.48; }
.promo-form { display: grid; gap: 12px; }
.promo-form > label:not(.promo-consent):not(.form-honeypot) { display: block; }
.promo-form > label:not(.promo-consent):not(.form-honeypot) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.promo-form input:not([type="checkbox"]) { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #cbd2c6; border-radius: 999px; background: white; color: var(--ink); }
.promo-form input:focus-visible { outline: 3px solid rgba(156,173,141,.48); outline-offset: 2px; border-color: var(--pine); }
.promo-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 4px 0; color: #586354; font-size: 12px; line-height: 1.45; }
.promo-consent input { width: 18px; height: 18px; margin-top: 1px; }
.promo-consent a { text-decoration: underline; text-underline-offset: 2px; }
.promo-submit { min-height: 50px; width: fit-content; border: 0; border-radius: 999px; cursor: pointer; }
@keyframes promo-fade { from { opacity: 0; } }
@keyframes promo-rise { from { opacity: 0; transform: translateY(18px) scale(.985); } }

@media (max-width: 700px) {
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; grid-template-columns: 1fr; gap: 14px; }
  .cookie-notice-actions { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 7px; white-space: normal; }
  .cookie-notice .cookie-details { width: 100%; margin-right: 0; padding-inline: 8px; }
  .cookie-notice .cookie-reject, .cookie-notice .cookie-accept { width: 100%; min-width: 0; padding-inline: 8px; }
  .promo-overlay { align-items: end; padding: 12px; }
  .promo-dialog { max-height: calc(100svh - 24px); padding: 30px 22px 24px; border-radius: 20px 20px 4px 4px; }
  .promo-close { top: 9px; right: 9px; }
  .promo-dialog h2 { padding-right: 30px; font-size: 28px; }
  .promo-dialog > p:not(.promo-kicker) { font-size: 15px; }
  .promo-submit { width: 100%; }
}

/* Internal editorial pages */
.inner-header .price-mobile-home { display: none; }
.inner-page { background: var(--paper); }
.inner-hero { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; background: var(--pine-deep); color: white; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 20%, rgba(156,173,141,.25), transparent 33%), linear-gradient(112deg, transparent 50%, rgba(255,255,255,.035) 50%); }
.inner-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; align-items: end; }
.inner-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, serif; font-size: clamp(62px, 8vw, 112px); font-weight: 400; line-height: .88; letter-spacing: -.055em; }
.inner-hero-grid > p { max-width: 430px; margin: 0 0 10px; color: #cbd6c6; font-size: 17px; }
.inner-tooth { width: 290px; height: 290px; right: -65px; top: -55px; opacity: .42; }
.inner-tooth::before { inset: 0; border-color: rgba(255,255,255,.18); }
.inner-tooth::after { display: none; }
.inner-tooth .tooth-model { transform: scale(1.55); }
.team-directory { padding: 44px 0 120px; background: linear-gradient(var(--cream) 0 190px, var(--paper) 190px); }
.team-switch { position: sticky; z-index: 20; top: 118px; margin: 0 auto 55px; }
.doctor-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; overflow: visible; }
.doctor-card { grid-column: span 2; background: var(--cream); border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.doctor-card:nth-child(4), .doctor-card:nth-child(5) { grid-column: span 3; }
.doctor-card:hover { transform: translateY(-7px); box-shadow: 0 26px 70px rgba(24,34,23,.12); }
.doctor-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sage-soft); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.doctor-card:hover .doctor-photo img { transform: scale(1.045); }
.doctor-meta { min-height: 145px; padding: 24px; display: grid; grid-template-columns: 28px 1fr; gap: 13px; }
.doctor-meta > span { color: var(--sage); font-size: 11px; font-weight: 800; }
.doctor-meta h2 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.05; }
.doctor-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.doctor-profile-link { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--pine); font-size: 13px; font-weight: 800; }
.doctor-profile-link span { transition: transform .2s ease; }
.doctor-profile-link:hover span { transform: translateX(4px); }
.team-manifesto { padding: 115px 0; background: var(--sage-soft); text-align: center; }
.team-manifesto blockquote { max-width: 970px; margin: 22px auto 38px; font-family: Georgia, serif; font-size: clamp(40px, 6vw, 75px); line-height: 1.02; letter-spacing: -.04em; }
.specialty-story { padding: 70px 0 130px; }
.specialty-list { display: grid; gap: 0; }
.specialty-row { scroll-margin-top: 130px; min-height: 560px; padding: 78px 0; display: grid; grid-template-columns: 70px 260px 1fr; gap: 50px; align-items: center; border-bottom: 1px solid var(--line); }
.specialty-index { align-self: start; color: var(--sage); font-size: 12px; font-weight: 800; }
.specialty-icon { width: 250px; height: 250px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.specialty-icon img { width: 125px; height: 125px; object-fit: contain; }
.specialty-copy { max-width: 700px; }
.specialty-copy h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(45px, 5vw, 70px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.specialty-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 17px; }
.specialty-actions { margin-top: 36px; display: flex; gap: 30px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { width: 46px; height: 46px; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 24px; height: 2px; background: var(--pine); }
  .mobile-menu[open] summary span { transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu[open] summary span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: 59px; right: 0; width: min(340px, calc(100vw - 32px)); padding: 22px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); box-shadow: 0 18px 50px rgba(24,34,23,.18); border: 1px solid var(--line); }
  .mobile-menu nav > a:not(.button) { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .mobile-menu nav > a[aria-current="page"] { color: var(--pine); font-weight: 800; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { background: var(--cream); }
  .hero-copy { max-width: 730px; }
  .hero-visual { min-height: 540px; }
  .hero-visual > img { height: 540px; }
  .hero-note { left: 24px; }
  .tooth-scene-hero { right: 18px; top: 18px; }
  .stats-intro { grid-template-columns: 1fr; gap: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
  .stat:first-child { grid-column: 1 / 3; grid-row: auto; border-radius: 150px 150px 6px 6px; }
  .stat:last-child { grid-column: 1 / 3; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .appointment-grid { grid-template-columns: 1fr; gap: 65px; }
  .team-image-wrap { max-width: 680px; }
  .pricing-tooth { opacity: .22; }
  .pricing-hero { min-height: 540px; }
  .price-switch-wrap { top: 93px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .doctor-card { grid-column: span 3; }
  .doctor-card:nth-child(5) { grid-column: 2 / span 4; }
  .specialty-row { grid-template-columns: 50px 190px 1fr; gap: 30px; }
  .specialty-icon { width: 185px; height: 185px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1180px); }
  .topbar-inner { min-height: 30px; font-size: 11px; }
  .topbar-links span, .topbar-links a:last-child { display: none; }
  .nav-wrap { min-height: 70px; }
  .brand { width: 120px; }
  .brand img { height: 46px; }
  .price-header .nav-wrap { justify-content: space-between; }
  .price-header .brand { margin-right: 0; }
  .price-mobile-home { display: inline-flex; min-height: 44px; align-items: center; }
  .inner-header .price-mobile-home { display: inline-flex; }
  .hero { padding: 44px 0 28px; }
  .hero h1 { font-size: clamp(49px, 15vw, 69px); }
  .hero-lead { margin: 23px 0; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-trust { margin-top: 25px; }
  .hero-visual, .hero-visual > img { min-height: 430px; height: 430px; }
  .hero-visual > img { object-position: 55% center; }
  .hero-note { width: calc(100% - 34px); left: 17px; bottom: 17px; padding: 20px 22px; }
  .hero-note strong { font-size: 19px; }
  .tooth-scene-hero { width: 132px; height: 132px; right: 12px; top: 12px; transform: scale(.82); transform-origin: top right; }
  .stats { padding: 76px 0 82px; }
  .stats-intro { margin-bottom: 38px; }
  .stats-intro h2 { font-size: 43px; }
  .stats-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 165px 190px; gap: 10px; }
  .stat { min-height: 0; padding: 22px; }
  .stat:first-child { grid-column: 1 / 3; padding: 52px 48px 34px; border-radius: 120px 120px 4px 4px; }
  .stat:first-child .stat-index { position: static; align-self: flex-start; }
  .stat:first-child strong { font-size: 80px; }
  .stat strong { font-size: 44px; }
  .stat-label { font-size: 12px; line-height: 1.35; }
  .stat:last-child { grid-column: 1 / 3; }
  .stat:last-child > div { align-items: start; flex-direction: column; gap: 10px; }
  .stat:last-child .stat-label { text-align: left; margin: 0; }
  .section { padding: 78px 0; }
  .section-heading h2, .team-copy h2, .appointment h2 { font-size: 43px; }
  .section-heading { margin-bottom: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .horizontal-story { height: 360svh; }
  .horizontal-sticky { position: sticky; top: 100px; height: calc(100svh - 158px); display: flex; overflow: hidden; }
  .horizontal-sticky::after { display: block; left: 16px; right: 16px; bottom: 15px; }
  .services-grid.horizontal-track { width: max-content; padding-inline: 16px; display: flex; gap: 12px; }
  .horizontal-track .service-card { width: calc(100vw - 48px); height: clamp(420px, 62svh, 600px); min-height: 0; padding: 30px; }
  .horizontal-track .service-card h3 { font-size: 39px; }
  .reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
  .service-card { min-height: 285px; }
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 470px; padding: 38px 28px; }
  .path-card h3 { margin-top: 48px; font-size: 40px; }
  .team-grid { gap: 50px; }
  .team-image-wrap img { height: 520px; }
  .image-caption { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .values-list > div { grid-template-columns: 62px 1fr; gap: 14px; }
  .values-list span { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 700; line-height: 1; }
  .reassurance { padding: 75px 0; }
  .tooth-scene-quote { left: -105px; opacity: .32; }
  .pricing-hero { min-height: 500px; }
  .pricing-hero-inner { padding-block: 88px; }
  .pricing-hero h1 { font-size: clamp(56px, 18vw, 78px); }
  .pricing-hero-inner > p:last-child { font-size: 15px; }
  .pricing-tooth { width: 180px; height: 180px; }
  .pricing-tooth-left { left: -95px; opacity: .25; }
  .pricing-tooth-right { right: -100px; }
  .pricing-content { padding-bottom: 80px; background: linear-gradient(var(--cream) 0 190px, var(--paper) 190px); }
  .price-switch-wrap { top: 88px; padding: 22px 0; }
  .price-switch { width: min(310px, 100%); }
  .price-panel { margin-top: 6px; }
  .price-panel-head { min-height: 76px; padding-inline: 20px; font-size: 10px; }
  .price-category summary { min-height: 92px; padding: 0 20px; grid-template-columns: 32px 1fr 24px; gap: 12px; }
  .price-category-count { display: none; }
  .price-category-name { font-size: 25px; }
  .price-table { padding: 0 20px 20px; }
  .price-row { min-height: 72px; grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .price-row > span { font-size: 14px; line-height: 1.45; }
  .price-row strong { font-size: 13px; }
  .pricing-note { margin-top: 28px; padding: 28px 24px; align-items: stretch; flex-direction: column; gap: 24px; }
  .pricing-note .button { width: 100%; }
  .appointment { padding: 72px 0; }
  .appointment-grid { gap: 38px; }
  .appointment-card { padding: 20px 18px 10px; border-radius: 18px; }
  .contact-action, .appointment-meta { grid-template-columns: 38px 1fr; gap: 11px; }
  .contact-action { grid-template-columns: minmax(0, 1fr); }
  .contact-action svg, .appointment-meta svg { width: 34px; height: 34px; padding: 8px; }
  .contact-action span, .appointment-meta span { align-items: flex-start; flex-direction: column; gap: 1px; }
  .contact-action strong, .appointment-meta strong { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .inner-hero { min-height: 540px; }
  .inner-hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .inner-hero-grid { gap: 28px; }
  .inner-hero-grid > p { font-size: 15px; }
  .team-directory { padding-bottom: 80px; }
  .team-switch { top: 90px; margin-bottom: 35px; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-card, .doctor-card:nth-child(4), .doctor-card:nth-child(5) { grid-column: auto; }
  .doctor-meta { min-height: 125px; }
  .team-manifesto { padding: 80px 0; }
  .specialty-story { padding: 30px 0 85px; }
  .specialty-row { min-height: 0; padding: 60px 0; grid-template-columns: 34px 1fr; gap: 18px; }
  .specialty-icon { grid-column: 2; width: 150px; height: 150px; }
  .specialty-icon img { width: 82px; height: 82px; }
  .specialty-copy { grid-column: 2; }
  .specialty-copy h2 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  [data-scroll-unfold] { clip-path: none !important; transform: none !important; }
  [data-scroll-parallax] { translate: none !important; }
  .scroll-progress { display: none; }
}

.legal-page { background: var(--paper); }
.legal-hero { padding: 96px 0 72px; background: var(--pine-deep); color: white; }
.legal-hero h1 { max-width: 900px; margin: 18px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 7vw, 92px); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.legal-content { max-width: 900px; padding-top: 76px; padding-bottom: 96px; }
.legal-content > * { max-width: 760px; }
.legal-content h2 { margin: 52px 0 14px; color: var(--pine-deep); font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.legal-content h3 { margin: 30px 0 10px; color: var(--pine-deep); font-size: 22px; }
.legal-content p, .legal-content li { color: var(--ink); font-size: 17px; line-height: 1.75; }
.legal-content ul { padding-left: 24px; }
.legal-content a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .legal-hero { padding: 72px 0 56px; }
  .legal-content { padding-top: 54px; padding-bottom: 76px; }
  .legal-content h2 { margin-top: 40px; }
}

.not-found-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--pine-deep); }
.not-found-card { width: min(720px, 100%); padding: clamp(36px, 7vw, 72px); background: var(--paper); text-align: center; }
.not-found-card .brand { display: inline-block; margin-bottom: 54px; }
.not-found-card .brand img { width: 160px; }
.not-found-card h1 { margin: 16px 0 22px; color: var(--pine-deep); font-size: clamp(48px, 8vw, 82px); line-height: .95; letter-spacing: -.055em; }
.not-found-card > p:not(.eyebrow) { max-width: 540px; margin: 0 auto 34px; font-size: 17px; line-height: 1.65; }

/* Media and migrated editorial content */
.media-page, .article-page { background: var(--paper); }
.media-hero { padding: 100px 0 84px; background: var(--pine-deep); color: white; }
.media-hero h1 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(54px, 8vw, 100px); font-weight: 400; line-height: .92; letter-spacing: -.05em; }
.media-hero p:last-child { max-width: 670px; margin: 28px 0 0; color: #cbd6c6; font-size: 17px; }
.article-grid { padding-top: 82px; padding-bottom: 110px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.article-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); }
.article-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-soft); }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-card-image img { transform: scale(1.035); }
.article-card-copy { padding: 30px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.article-card time, .article-hero time { color: var(--sage); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.article-card h2 { margin: 13px 0; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.06; }
.article-card p { margin: 0 0 26px; color: var(--muted); }
.article-card .text-link { margin-top: auto; }
.article-hero { padding: 76px 0; background: var(--pine-deep); color: white; }
.article-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.article-hero h1 { max-width: 780px; margin: 18px 0 26px; font-family: Georgia, serif; font-size: clamp(45px, 6vw, 76px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.article-hero img { width: 100%; max-height: 520px; aspect-ratio: 4 / 3; object-fit: cover; }
.article-body { max-width: 940px; padding-top: 64px; padding-bottom: 100px; }
.article-body aside { margin-bottom: 45px; padding: 20px 24px; background: var(--sage-soft); border-left: 4px solid var(--sage); color: #465141; }
.article-content { max-width: 760px; margin-inline: auto; }
.article-content h1 { display: none; }
.article-content h2 { margin: 52px 0 15px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 43px); font-weight: 400; line-height: 1.08; }
.article-content h3 { margin: 38px 0 12px; font-size: 23px; }
.article-content p, .article-content li { font-size: 17px; line-height: 1.78; }
.article-content img { width: 100%; height: auto; margin: 35px 0; }
.article-content a { text-decoration: underline; text-underline-offset: 3px; }
.article-cta { max-width: 760px; margin: 70px auto 0; padding: 42px; background: var(--cream); border: 1px solid var(--line); }
.article-cta h2 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.article-cta p { margin: 0 0 24px; }

/* Individual doctor profiles migrated from the former WordPress site */
.doctor-profile-page { background: var(--paper); }
.doctor-profile-hero { padding: 76px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.doctor-profile-hero-grid { display: grid; grid-template-columns: minmax(280px, 410px) 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.doctor-profile-hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 28px; }
.doctor-profile-hero h1 { margin: 15px 0 24px; color: var(--pine-deep); font-family: Georgia, serif; font-size: clamp(50px, 7vw, 88px); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.doctor-profile-role { width: fit-content; margin: 0; padding: 10px 14px; border-radius: 5px; background: var(--sage); color: white; font-weight: 800; }
.doctor-profile-content { max-width: 960px; padding-top: 72px; padding-bottom: 30px; }
.doctor-profile-content > section { padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.doctor-profile-content > section + section { padding-top: 54px; }
.doctor-profile-content h2 { margin: 0 0 26px; color: var(--pine-deep); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 57px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.doctor-profile-content h3 { margin: 38px 0 12px; color: var(--pine-deep); font-size: 23px; font-weight: 800; line-height: 1.2; }
.doctor-profile-content p, .doctor-profile-content li { color: var(--ink); font-size: 17px; line-height: 1.75; }
.doctor-profile-content p { margin: 8px 0; }
.doctor-profile-content ul { padding-left: 25px; }
.doctor-profile-content a { text-decoration: underline; text-underline-offset: 3px; }
.doctor-profile-back { padding-top: 36px; padding-bottom: 96px; }

.course-page { background: var(--paper); }
.course-hero { background: #333e8d; }
.course-hero img { width: 100%; max-height: 680px; object-fit: cover; }
.course-content { max-width: 980px; padding-top: 70px; padding-bottom: 110px; }
.course-content > h1 { margin: 0 0 34px; font-family: Georgia, serif; color: var(--pine-deep); font-size: clamp(46px, 7vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.course-content > h2 { margin: 70px 0 24px; font-family: Georgia, serif; color: var(--pine-deep); font-size: clamp(34px, 5vw, 52px); font-weight: 400; }
.course-content > p, .course-content li { font-size: 17px; line-height: 1.75; }
.course-content a { color: var(--pine); text-decoration: underline; text-underline-offset: 4px; }
.course-facts { margin: 55px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.course-facts div { min-height: 145px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-facts dt { margin-bottom: 12px; color: var(--sage); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.course-facts dd { margin: 0; color: var(--pine-deep); line-height: 1.55; }
.course-program { border-top: 1px solid var(--line); }
.course-program section { padding: 25px 0; display: grid; grid-template-columns: 150px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.course-program time { color: var(--sage); font-weight: 800; }
.course-program h3 { margin: 0 0 8px; font-size: 21px; }
.course-program p { margin: 5px 0; line-height: 1.65; }
.course-trainers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course-trainers div { padding: 28px; background: var(--cream); border: 1px solid var(--line); }
.course-trainers strong, .course-trainers span { display: block; }
.course-trainers span { margin-top: 10px; color: var(--muted); line-height: 1.55; }

@media (max-width: 700px) {
  .course-content { padding-top: 50px; padding-bottom: 80px; }
  .course-facts, .course-trainers { grid-template-columns: 1fr; }
  .course-program section { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .article-grid { padding-top: 50px; padding-bottom: 76px; }
  .media-hero { padding: 72px 0 58px; }
  .article-hero { padding: 54px 0; }
  .article-body { padding-top: 44px; padding-bottom: 72px; }
  .article-cta { padding: 28px 24px; }
  .doctor-profile-hero { padding: 44px 0 52px; }
  .doctor-profile-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .doctor-profile-hero img { max-width: 420px; border-radius: 20px; }
  .doctor-profile-content { padding-top: 52px; }
  .doctor-profile-content > section { padding-bottom: 42px; }
  .doctor-profile-content > section + section { padding-top: 42px; }
  .doctor-profile-back { padding-bottom: 76px; }
}

/* WordPress CMS compatibility */
[hidden] { display: none !important; }
.admin-bar .site-header { top: 32px; }
.wedent-wordpress .latest-posts .article-grid { padding-top: 30px; }
.wedent-wordpress .article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.wedent-wordpress .specialty-copy > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.wedent-wordpress .specialty-copy > p.eyebrow { color: var(--pine); font-size: 12px; line-height: 1.2; }
.wedent-wordpress .navigation.pagination { padding: 0 0 80px; }
.wedent-wordpress .nav-links { display: flex; gap: 8px; justify-content: center; }
.wedent-wordpress .page-numbers { padding: 10px 14px; border: 1px solid var(--line); }
.wedent-wordpress .page-numbers.current { background: var(--pine); color: white; }
.wedent-wordpress .appointment-form textarea { min-height: 110px; resize: vertical; }
.wedent-wordpress .form-honeypot { position: absolute !important; left: -9999px !important; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
