/* Dental Haven — one-page landing (home). Loaded only on the home page. */
.landing {
  /* Dental Haven palette (Sep 26, 2026) */
  --navy: #102542;        /* deep navy */
  --navy-2: #253b53;      /* slate navy */
  --navy-deep: #0b1b31;   /* darker shade of the deep navy, for gradients */
  --gold: #c6a15b;        /* gold: accents, buttons, text on navy */
  --gold-2: #88692f;      /* deeper gold: small gold text on light backgrounds (readable) */
  --gold-light: #dcc28f;  /* lighter gold for button highlights */
  --paper: #f6f2e7;       /* cream */
  --slate: #5a616b;       /* slate grey: body text */
  --line: #e4ddcb;
  --display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  background: var(--paper);
  font-size: 16px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.landing section[id] { scroll-margin-top: 76px; }

/* Header on the landing page: navy glass that sits on the hero */
.landing .site-header { background: rgba(16, 37, 66, .97); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: saturate(1.4) blur(12px); }
.landing .site-brand, .landing .site-brand span { color: #fff; }
.landing .site-brand .brand-logo { filter: brightness(0) invert(1); }
.landing .site-nav a { color: rgba(255, 255, 255, .82); }
.landing .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.landing .site-nav .btn { background: var(--gold); color: var(--navy); }
.landing .site-nav .btn:hover { background: #dcc28f; color: var(--navy); }
.landing .nav-toggle-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 860px) {
  .landing .site-nav { background: var(--navy); border-color: rgba(255, 255, 255, .08); }
}

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 1px solid transparent; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-gold { background: linear-gradient(135deg, #dcc28f, var(--gold) 45%, var(--gold-2)); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(198, 161, 91, .7); }
.lp-btn-gold:hover { color: var(--navy); box-shadow: 0 16px 36px -12px rgba(198, 161, 91, .9); }
.lp-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.lp-btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.lp-btn-navy { background: var(--navy); color: #fff; }
.lp-btn-outline { background: transparent; color: var(--navy); border-color: rgba(16, 37, 66, .35); }
.lp-btn-outline:hover { background: var(--navy); color: #fff; }
.lp-btn-navy:hover { background: var(--navy-2); color: #fff; }
.lp-btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.lp-cta-row.center { justify-content: center; }
.lp-link { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ---------------- Hero */
.lp-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(3rem, 8vw, 6.5rem) 0 2.5rem; margin-top: -1px; }
.lp-hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(90, 97, 107, .35), transparent 60%),
    radial-gradient(40% 50% at 10% 95%, rgba(37, 59, 83, .28), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.lp-hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: .6em; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lp-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lp-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.05; letter-spacing: -.01em; color: #fff; margin: 1.1rem 0 1.2rem; max-width: 13ch; text-wrap: balance; }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 34rem; }
.lp-lead p:last-child { margin-bottom: 0; }
.lp-branch-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2rem 0 0; }
.lp-branch-chips a { display: inline-block; padding: .4em .9em; border-radius: 999px; font-size: .85rem; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .18); text-decoration: none; }
.lp-branch-chips a:hover { border-color: var(--gold); color: #fff; }

/* Hero visual: photo stack or the animated scan illustration */
.lp-hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.lp-stack { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.05; }
.lp-shot { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 6px solid rgba(255, 255, 255, .92); }
.lp-shot img { width: 100%; height: 100%; object-fit: cover; }
.lp-shot.s1 { inset: 0 18% 22% 0; z-index: 2; transform: rotate(-3deg); }
.lp-shot.s2 { inset: 30% 0 0 38%; z-index: 3; transform: rotate(4deg); }
.lp-shot.s3 { inset: 8% 4% 50% 55%; z-index: 1; transform: rotate(8deg); opacity: .9; }
.lp-orbit { position: relative; width: min(420px, 90%); aspect-ratio: 1; display: grid; place-items: center; }
.lp-orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
.lp-orbit-ring.r2 { inset: 12%; border-color: rgba(198, 161, 91, .35); border-style: dashed; animation: lp-spin 60s linear infinite; }
.lp-tooth { width: 58%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.lp-scanline { animation: lp-scan 3.6s ease-in-out infinite; }
.lp-tag { position: absolute; padding: .5em 1em; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); color: #fff; }
.lp-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .5em; vertical-align: middle; }
.lp-tag.t1 { top: 12%; left: 0; } .lp-tag.t2 { top: 44%; right: -12%; } .lp-tag.t3 { bottom: 10%; left: 8%; }
@keyframes lp-scan { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(200px); } }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-facts { position: relative; list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.lp-facts li { padding: 1.4rem 1rem 0 0; }
.lp-facts strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: #fff; line-height: 1.1; }
.lp-facts span { color: rgba(255, 255, 255, .62); font-size: .92rem; }

/* ---------------- Sections */
.lp-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.lp-head { max-width: 44rem; margin: 0 0 clamp(2rem, 5vw, 3.5rem); text-align: left; }
.lp-head h2, .lp-lab h2, .lp-final h2, .lp-careers-grid h2 { text-wrap: balance; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.015em; color: var(--navy); margin: .6rem 0 .9rem; }
.lp-head h2 em, .lp-final h2 em { font-style: italic; color: var(--gold-2); }
.lp-final h2 em { color: var(--gold); }
.lp-head p { color: #5a616b; font-size: 1.08rem; margin: 0; }
.lp-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.lp-eyebrow.light { color: var(--gold); }
.lp-center { text-align: left; margin-top: 2.5rem; }

/* ---------------- Specialty: aesthetic dentistry (before & after) */
.lp-aesthetic { background: #fff; }
.lp-aes-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-aes-main, .lp-aes-thumb, .lp-hero-ba { margin: 0; }
.lp-aes-main .ba, .lp-aes-thumb .ba, .lp-hero-ba .ba { position: relative; inset: auto; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16, 37, 66, .55); }
.lp-aes-main .ba { aspect-ratio: 4 / 3; }
.lp-aes-thumb .ba { aspect-ratio: 4 / 3; border-radius: 18px; }
.lp-aes-main .ba > img, .lp-aes-thumb .ba > img, .lp-hero-ba .ba > img { position: absolute; inset: 0; }
.lp-aes-main figcaption, .lp-aes-thumb figcaption { margin-top: .9rem; display: flex; flex-direction: column; color: var(--navy); }
.lp-aes-main figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.lp-aes-main figcaption span { color: #5a616b; font-size: .92rem; }
.lp-aes-thumb figcaption { font-family: var(--display); font-size: 1.1rem; }
.lp-aes-empty { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 60px -30px rgba(16, 37, 66, .45); }
.lp-aes-empty .half { position: relative; }
.lp-aes-empty .before { background: linear-gradient(160deg, #b8bcc2, #5a616b); }
.lp-aes-empty .after { background: linear-gradient(160deg, #f6f2e7, #c6a15b); }
.lp-aes-empty .ba-handle { position: absolute; top: 0; bottom: 0; }
.lp-aes-empty p { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); width: min(90%, 26rem); margin: 0; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(11, 27, 49, .72); color: #fff; font-size: .9rem; font-weight: 600; text-align: center; }
.lp-aes-copy h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; color: var(--navy); margin: .6rem 0 1rem; }
.lp-aes-copy h2 em { font-style: italic; color: var(--gold-2); }
.lp-aes-copy > p { color: #5a616b; font-size: 1.06rem; }
.lp-aes-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-aes-list a { display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1px solid #e4ddcb; background: var(--paper); color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s ease; }
.lp-aes-list a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-aes-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.lp-hero-ba { width: min(440px, 100%); }
.lp-hero-ba .ba { aspect-ratio: 4 / 5; border: 6px solid rgba(255, 255, 255, .92); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.lp-hero-ba figcaption { margin-top: .9rem; color: #fff; font-family: var(--display); font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.lp-hero-ba figcaption span { font-family: var(--font); font-size: .8rem; color: rgba(255, 255, 255, .6); letter-spacing: .08em; text-transform: uppercase; }

/* ---------------- Portfolio */
.lp-work { background: var(--paper); }
.lp-filters { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .5rem; margin: -1rem 0 2.2rem; }
.lp-filters button { font: inherit; font-weight: 700; font-size: .9rem; padding: .55em 1.1em; border-radius: 999px; border: 1px solid #e4ddcb; background: #fff; color: #253b53; cursor: pointer; transition: all .2s ease; }
.lp-filters button:hover { border-color: var(--navy); color: var(--navy); }
.lp-filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 24vw, 340px); grid-auto-flow: dense; gap: 12px; }
.lp-case { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy); box-shadow: 0 20px 40px -24px rgba(16, 37, 66, .45); }
.lp-case.is-feature { grid-column: span 2; grid-row: span 2; }
.lp-case.is-hidden { display: none; }
.lp-case img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lp-case:hover img { transform: scale(1.04); }
.lp-case-open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.lp-case-open:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.lp-case figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.2rem 1.1rem; color: #fff; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 27, 49, .88)); display: flex; flex-direction: column; gap: .15rem; }
.lp-case figcaption strong { font-family: var(--display); font-size: 1.2rem; font-weight: 400; }
.lp-case.is-feature figcaption strong { font-size: 1.6rem; }
.lp-case figcaption span { font-size: .88rem; color: rgba(255, 255, 255, .78); }
.lp-case-cat { align-self: flex-start; font-size: .7rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) !important; }
.lp-case-soon { background: linear-gradient(145deg, var(--navy-2), var(--navy-deep)); }
.lp-case-soon:nth-child(3n+2) { background: linear-gradient(145deg, #253b53, #102542); }
.lp-case-soon:nth-child(3n) { background: linear-gradient(145deg, #253b53, #253b53); }
.lp-soon-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(198, 161, 91, .55); }
.lp-soon-art svg { width: 30%; max-width: 120px; }
.lp-case-soon::before { content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }

/* Before / after slider */
.ba { position: absolute; inset: 0; --pos: 50%; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); letter-spacing: .1em; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-handle, .ba-range:focus-visible { outline: none; }
.ba:focus-within .ba-handle::after { outline: 3px solid var(--gold); }
.ba-label { position: absolute; top: 14px; padding: .3em .8em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(11, 27, 49, .6); color: #fff; pointer-events: none; }
.ba-label.l { left: 14px; } .ba-label.r { right: 14px; }
.has-ba figcaption { padding-top: 2rem; }

/* Lightbox */
.lp-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lp-lightbox::backdrop { background: rgba(11, 27, 49, .88); backdrop-filter: blur(4px); }
.lp-lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; margin: 0 auto; }
.lp-lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lp-lightbox-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* ---------------- Services */
.lp-services { background: #fff; }

/* ---------------- Digital lab */
/* ---------------- Why Dental Haven (the clinic) */
.lp-why { background: var(--paper); }

/* ---------------- Digital lab (supporting band) */
.lp-lab { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.lp-lab-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 0% 0%, rgba(90, 97, 107, .25), transparent 60%); }
.lp-lab .wrap { position: relative; }
.lp-lab-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.lp-lab h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lp-lab-lead { color: rgba(255, 255, 255, .75); margin: 0; }
.lp-tech { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-tech li { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.lp-tech svg { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(198, 161, 91, .14); color: var(--gold); }
.lp-tech span { color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; }

/* ---------------- Branches */
.lp-branches { background: var(--paper); }
.lp-branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-branch { display: flex; flex-direction: column; padding: 1.7rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid #e4ddcb; }
.lp-branch h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--navy); margin: 0 0 .7rem; }
.lp-branch-addr { color: #5a616b; font-size: .94rem; margin: 0 0 .7rem; }
.lp-branch-tel { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; margin: 0 0 1rem; }
.lp-branch-tel a { color: var(--navy); text-decoration: none; }
.lp-branch .branch-links { margin: 0 0 1.2rem; }
.lp-branch .lp-btn { margin-top: auto; }

/* ---------------- Quotes */
.lp-quotes { background: #fff; }
.lp-quotes .lp-quote { background: var(--paper); }
.lp-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-quote { margin: 0; padding: 2rem; border-radius: 22px; background: var(--paper); border: 1px solid #e4ddcb; display: flex; flex-direction: column; }
.lp-quote blockquote { margin: 0 0 1.4rem; font-family: var(--display); font-size: 1.2rem; line-height: 1.45; color: var(--navy); }
.lp-quote figcaption { margin-top: auto; display: flex; flex-direction: column; }
.lp-quote figcaption strong { color: var(--navy); }
.lp-quote figcaption span { color: #5a616b; font-size: .88rem; }
.lp-stars { margin-bottom: .8rem; letter-spacing: .15em; color: #d9d3c3; font-size: 1.15rem; }
.lp-stars .on { color: var(--gold-2); }
.lp-review-links { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: .6rem; margin-top: 2.2rem; }
.lp-review-label { width: 100%; text-align: left; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }

/* ---------------- Final CTA */
.lp-final { position: relative; padding: clamp(4.5rem, 10vw, 7rem) 0; background: radial-gradient(60% 90% at 50% 0%, #253b53, var(--navy) 60%, var(--navy-deep)); color: #fff; text-align: center; overflow: hidden; }
.lp-final-inner img { margin: 0 auto 1.5rem; opacity: .95; }
.lp-final h2 { color: #fff; margin-top: 0; }
.lp-final p { color: rgba(255, 255, 255, .75); font-size: 1.1rem; margin: 0 auto; max-width: 32rem; }
.landing .site-footer { margin-top: 0; }

/* ---------------- Reveal on scroll (only when JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .lp-scanline, .lp-orbit-ring.r2 { animation: none; }
}

/* ---------------- Responsive */
@media (max-width: 1024px) {
  .lp-aes-more { grid-template-columns: repeat(2, 1fr); }
  .lp-branch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lp-hero-grid, .lp-lab-grid, .lp-aes-grid { grid-template-columns: 1fr; }
  .lp-hero-visual { min-height: 0; }
  .lp-orbit { width: min(280px, 76%); }
  .lp-stack { max-width: 340px; }
  .lp-facts { grid-template-columns: repeat(2, 1fr); row-gap: .5rem; }
  .lp-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 12px; }
  .lp-quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-hero { padding-top: 2rem; }
  .lp-hero h1 { max-width: none; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .lp-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .lp-case.is-feature { grid-column: span 2; grid-row: span 2; }
  .lp-gallery .lp-case:last-child:nth-child(even) { grid-column: span 2; }
  .lp-case figcaption { padding: 2rem .8rem .7rem; }
  .lp-case figcaption strong { font-size: 1rem; }
  .lp-case figcaption span:not(.lp-case-cat) { display: none; }
  .lp-tag { font-size: .72rem; }
}

.wrap-wide { max-width: 1400px; }
.lp-gallery.count-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(260px, 40vw, 520px); }
.lp-gallery.count-2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(240px, 32vw, 460px); }

/* ---------------- Services: numbered editorial index (all open) */
.lp-index { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 1px solid #e4ddcb; }
.lp-index-row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 2rem; align-items: start; padding: 2rem .25rem; border-bottom: 1px solid #e4ddcb; }
.lp-index-n { font-family: var(--display); font-style: italic; color: var(--gold-2); padding-top: .5rem; }
.lp-index-name { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--navy); margin: 0; }
.lp-index-intro { color: #5a616b; margin: .35rem 0 .9rem; }
.lp-index-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.lp-index-list li { padding: .35em .85em; border-radius: 999px; background: var(--paper); border: 1px solid #e4ddcb; color: var(--navy); font-size: .88rem; font-weight: 600; }
.lp-index-book { font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.lp-index-book:hover { color: var(--gold-2); }
.lp-index-note { color: #5a616b; max-width: 34rem; align-self: center; }

/* ---------------- Why Dental Haven: slim strip */
.lp-why { background: var(--paper); padding: clamp(2.2rem, 5vw, 3.2rem) 0; border-top: 1px solid #e4ddcb; border-bottom: 1px solid #e4ddcb; }
.lp-why-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.lp-why-strip li { display: flex; gap: .9rem; align-items: flex-start; }
.lp-why-strip svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--navy); color: var(--gold); }
.lp-why-strip strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--navy); line-height: 1.25; }
.lp-why-strip span { color: #5a616b; font-size: .9rem; }

/* Responsive rules for the sections above (kept last so they win) */
@media (max-width: 1024px) {
  .lp-why-strip { grid-template-columns: repeat(2, 1fr); }
  .lp-index-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .lp-index-detail { grid-column: 2; }
}
@media (max-width: 560px) {
  .lp-branch-grid, .lp-aes-more, .lp-why-strip { grid-template-columns: 1fr; }
  .lp-index-row { grid-template-columns: 2.2rem minmax(0, 1fr); padding: 1.5rem 0; }
}

/* ---------------- One-page extras: active menu link, contact list, back-to-top */
.landing .site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.lp-contact-list { list-style: none; padding: 0; margin: 2.5rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; max-width: 60rem; }
.lp-contact-list li { display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; justify-content: center; }
.lp-contact-list strong { font-family: var(--display); font-weight: 400; color: #fff; font-size: 1.05rem; }
.lp-contact-list a { color: rgba(255, 255, 255, .75); font-size: .92rem; }
.lp-contact-list a:hover { color: var(--gold); }
.lp-top { position: fixed; right: 22px; bottom: 84px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); text-decoration: none; font-size: 1.2rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.lp-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.lp-top:hover { color: #fff; }

/* ---------------- Photo-led pieces */
.lp-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.lp-hero.has-photo .lp-hero-bg { background: linear-gradient(90deg, rgba(11, 27, 49, .92) 0%, rgba(16, 37, 66, .72) 45%, rgba(16, 37, 66, .25) 100%); }
.lp-hero.has-photo .lp-hero-bg::after { display: none; }
.lp-hero.has-photo { min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; }

.lp-svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; margin-bottom: 2.5rem; }
.lp-svc-card { display: flex; flex-direction: column; }
.lp-svc-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: linear-gradient(145deg, #253b53, var(--navy-deep)); }
.lp-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-svc-card:hover .lp-svc-media img { transform: scale(1.05); }
.lp-svc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(198, 161, 91, .6);
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.lp-svc-ph svg { width: 28%; max-width: 110px; }
.lp-svc-num { position: absolute; left: 12px; top: 12px; padding: .15em .6em; border-radius: 999px; background: rgba(246, 242, 231, .92); font-family: var(--display); font-style: italic; color: var(--navy); font-size: .95rem; }
.lp-svc-body { padding: 1.1rem .2rem 0; }
.lp-svc-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 0 0 .4rem; }
.lp-svc-body h3 a { color: var(--navy); text-decoration: none; }
.lp-svc-body h3 a:hover { color: var(--gold-2); }
.lp-svc-body p { color: #5a616b; font-size: .95rem; margin: 0 0 .8rem; }

.lp-branch { padding-top: 0; overflow: hidden; }
.lp-branch-media { margin: 0 -1.5rem 1.2rem; aspect-ratio: 16 / 10; background: linear-gradient(145deg, #253b53, var(--navy-deep)); display: grid; place-items: center; overflow: hidden; }
.lp-branch-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-branch-media span { font-family: var(--display); font-style: italic; color: rgba(198, 161, 91, .75); font-size: 1.4rem; }

.lp-lab-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.lp-lab-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-tech.under-photo { grid-column: 1 / -1; }

@media (max-width: 1024px) { .lp-svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-svc-cards { grid-template-columns: 1fr; } .lp-hero.has-photo { min-height: 0; } }
.lp-branch .lp-btn { white-space: normal; text-align: center; line-height: 1.25; }
.lp-hero.has-photo > .wrap { width: 100%; }

/* Stock / uploaded photos */
.lp-aes-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16, 37, 66, .55); }
.lp-aes-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-aes-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; margin: 0; }
.lp-aes-photo figcaption span { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: rgba(11, 27, 49, .7); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.lp-sample-note { color: var(--slate); font-size: .88rem; margin-top: 1.2rem; }
.lp-tech-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.lp-tech-photos figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .7); }
.lp-tech-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.lp-tech-photos figure:hover img { transform: scale(1.04); }
.lp-tech-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; background: linear-gradient(transparent, rgba(11, 27, 49, .88)); color: #fff; font-weight: 600; font-size: .95rem; }
@media (max-width: 720px) { .lp-tech-photos { grid-template-columns: 1fr; } .lp-tech-photos figure { aspect-ratio: 16 / 10; } }
.lp-branch-hours { list-style: none; margin: 0 0 1rem; padding: .55rem .8rem .55rem 2.1rem; position: relative; border-radius: 12px; background: #f6f2e7; color: var(--navy); font-size: .9rem; line-height: 1.5; }
.lp-branch-hours::before { content: ""; position: absolute; left: .75rem; top: .8rem; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold-2); }
.lp-branch-hours::after { content: ""; position: absolute; left: calc(.75rem + 7px); top: calc(.8rem + 4px); width: 4px; height: 5px; border-left: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); }
.lp-hours-all { display: inline-block; margin: .4rem auto 0; padding: .5rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(198, 161, 91, .35); color: #fff; font-weight: 600; }
@media (min-width: 1200px) { .lp-svc-cards { grid-template-columns: repeat(4, 1fr); gap: 26px 18px; } }

/* Careers */
.lp-careers { background: var(--paper); }
.lp-careers-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-careers-grid h2 { margin: .6rem 0 1rem; }
.lp-careers-grid p { color: var(--slate); max-width: 36rem; }
.lp-careers-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 18px 40px -24px rgba(16, 37, 66, .35); display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.lp-careers-card h3 { margin: 0; font-family: var(--display); color: var(--navy); font-size: 1.4rem; }
.lp-careers-card p { margin: 0; }
.lp-careers-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 1.3rem; }
.lp-careers-email { color: var(--navy); font-weight: 600; word-break: break-all; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (min-width: 860px) { .lp-careers-grid { grid-template-columns: 1.2fr 1fr; } }
.lp-perks-title { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: clamp(2.5rem, 6vw, 4rem) 0 1.25rem; }
.lp-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.lp-perks li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; }
.lp-perks strong { color: var(--navy); font-size: 1.02rem; }
.lp-perks li > span:last-child { color: var(--slate); font-size: .95rem; line-height: 1.55; }
.lp-perk-num { font-family: var(--display); color: var(--gold-2); font-size: 1.1rem; letter-spacing: .04em; }
.lp-careers-more { color: var(--slate); margin-top: 1.5rem; }
@media (min-width: 640px) { .lp-perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-perks { grid-template-columns: repeat(3, 1fr); } }
