/* page-doctors-new-patients.css: page-only components. Tokens come from site.css. */

/* doctor profiles: arched portrait cropped from doctors.webp, text beside; .dnp-doc--flip mirrors */
.dnp-doc{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.dnp-doc--flip{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}
.dnp-doc--flip .dnp-doc-figure{order:2}
.dnp-doc-figure{margin:0;display:flex;justify-content:center}
.dnp-arch{position:relative;width:min(100%,420px);aspect-ratio:4/5;border-radius:999px 999px var(--radius-lg) var(--radius-lg);overflow:hidden;isolation:isolate;
  background:radial-gradient(circle at 50% 30%,#fff 0,rgba(255,255,255,0) 60%),linear-gradient(160deg,var(--color-primary-100,#c5ebe6) 0%,#e8f6f4 55%,var(--color-accent-light,#fdf0eb) 100%);
  box-shadow:var(--shadow-lg)}
.dnp-arch::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px rgba(26,138,125,.18);pointer-events:none}
/* both portraits crop the one real two-doctor photo (doctors.webp, 1212x1600) to a single face.
   Measured on the file: the doctors touch at x about 636 from y 700 down, so each window stops short of that line
   (Etman window x 90..617, Bateman window x 628..1155). Width 230% = 527px window; left = -x/1212*230%;
   top = -150/1212*230%/1.25 (card is 4:5) for Etman. */
.dnp-arch img{position:absolute;max-width:none;height:auto;transition:transform .8s var(--ease-out)}
.dnp-arch--etman img{width:230%;left:-17.1%;top:-22.8%}
/* Bateman's face sits lower in the photo (y about 520 of 1600, Etman's about 380), so her window starts lower (operator 2026-11-17: 'too offcenter'); window x 628..1155 keeps Etman's arm out (his elbow enters below x 636) */
.dnp-arch--bateman img{width:230%;left:-119.2%;top:-43%}
.dnp-doc:hover .dnp-arch img{transform:scale(1.02)}
.dnp-doc-text .kicker{margin-bottom:.75rem}
.dnp-doc-text h2{margin-bottom:1.1rem;text-wrap:balance}
.dnp-doc-text>p{margin-bottom:1rem}
.dnp-entity{font-size:1.0625rem;color:var(--color-charcoal);border-left:3px solid var(--color-accent);padding-left:1rem}
.dnp-creds{display:grid;gap:.55rem;margin:1.4rem 0;padding:1.1rem 1.25rem;background:var(--color-off-white,#faf9f7);border:1px solid var(--color-border);border-radius:var(--radius-md)}
.tone-cream .dnp-creds{background:#fff}
.dnp-creds div{display:grid;grid-template-columns:10.5rem 1fr;gap:1rem}
.dnp-creds dt{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--color-primary-dark,#0e6b61);padding-top:.2rem}
.dnp-creds dd{margin:0;font-size:.9375rem;line-height:1.6}
.dnp-subhead{font-size:1.15rem;margin:1.25rem 0 .75rem}
.dnp-pills{list-style:none;padding:0;margin:0 0 1.4rem;display:flex;flex-wrap:wrap;gap:.5rem}
.dnp-pills li{font-size:.8125rem;font-weight:500;padding:.4rem .8rem;border-radius:999px;background:#fff;border:1px solid var(--color-primary-100,#c5ebe6);color:var(--color-charcoal)}
.dnp-links{font-size:.9375rem;margin-bottom:1.4rem!important}

/* team: text cards with monogram */
.dnp-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.dnp-team-card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.75rem 1.6rem;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.dnp-team-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-primary),var(--color-primary-light,#2bb5a5) 45%,var(--color-accent))}
.dnp-team-card:nth-child(2) .dnp-mono{background:var(--color-accent-light,#fdf0eb);color:#a14d2c}
.dnp-mono{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#e8f6f4;color:var(--color-primary-dark,#0e6b61);font-family:'DM Serif Display',Georgia,serif;font-size:1.6rem;margin-bottom:1rem}
.dnp-mono svg{width:24px;height:24px}
.dnp-team-card h3{font-size:1.3rem;margin-bottom:.1rem}
.dnp-team-card .role{display:block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--color-primary);margin-bottom:.8rem}
.dnp-team-card p{font-size:.9375rem;line-height:1.65}

#new-patients.i-aur{overflow-x:clip}

/* first visit: steps + "what to bring" aside with self-drawing line art */
.dnp-visit{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(2rem,4vw,3.5rem);align-items:start}
.dnp-bring{background:#fff;border-radius:var(--radius-lg);padding:1.75rem;box-shadow:var(--shadow-md);border-top:4px solid var(--color-accent);position:sticky;top:calc(var(--header-h,80px) + 2rem)}
.dnp-art{display:block;width:150px;height:auto;color:var(--color-primary);margin:0 0 .75rem -6px}
.dnp-bring h3{font-size:1.3rem;margin-bottom:.9rem}
.dnp-bring .i-checklist{margin-bottom:1rem}
.dnp-bring p{font-size:.9375rem}

/* insurance band: dark teal, white text (6.37:1); seam washes in from mint */
.i-section.dnp-band{--bg:#0e6b61;--seam-h:150px;color:#fff;padding-top:calc(var(--section-padding) + 7rem)}
.dnp-band .kicker{color:#c5ebe6}
.dnp-band h2,.dnp-band h3{color:#fff}
.dnp-band .i-head p,.dnp-band p{color:#fff}
.dnp-band::after{content:'';position:absolute;inset:150px 0 0;pointer-events:none;opacity:.5;
  background:radial-gradient(ellipse 40% 50% at 12% 30%,rgba(43,181,165,.35),transparent 70%),radial-gradient(ellipse 35% 45% at 88% 70%,rgba(224,124,90,.18),transparent 70%)}
.dnp-band>.container{position:relative;z-index:1}
.dnp-band-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.dnp-band-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-lg);padding:1.6rem}
.dnp-band-card h3{font-size:1.25rem;margin-bottom:.75rem}
.dnp-band-card p{font-size:.9375rem;line-height:1.65}
.dnp-band-card p+p{margin-top:.75rem}
.dnp-band-note{text-align:center;margin-top:2rem;font-size:1rem}

/* section after the teal band: keep the kicker below the teal-to-off seam wash */
.i-section.seam-from-teal{padding-top:calc(var(--section-padding) + 7.5rem)}

/* location: static map block, no iframe, no cookies */
.dnp-loc{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(1.5rem,4vw,3rem);align-items:stretch}
.dnp-map{position:relative;border-radius:var(--radius-lg);overflow:hidden;min-height:340px;box-shadow:var(--shadow-md);border:1px solid var(--color-border)}
.dnp-map-art{position:absolute;inset:0;width:100%;height:100%}
.dnp-map-card{position:absolute;left:1.25rem;bottom:1.25rem;right:1.25rem;max-width:340px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:var(--radius-md);padding:1.1rem 1.25rem;box-shadow:var(--shadow-md);display:grid;gap:.4rem}
.dnp-map-card strong{font-family:'DM Serif Display',Georgia,serif;font-size:1.2rem;font-weight:400;color:var(--color-charcoal)}
.dnp-map-card span{font-size:.9375rem;line-height:1.5}
.dnp-map-card .cta-secondary{justify-self:start;margin-top:.4rem}
.dnp-contact{display:flex;flex-direction:column;justify-content:center;gap:1.5rem}
.dnp-contact-list{display:grid;gap:1rem;margin:0}
.dnp-contact-list div{border-bottom:1px solid var(--color-border);padding-bottom:.9rem}
.dnp-contact-list dt{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--color-primary-dark,#0e6b61);margin-bottom:.25rem}
.dnp-contact-list dd{margin:0;font-size:1rem}
.dnp-contact-ctas{display:flex;gap:.875rem;flex-wrap:wrap}

@media (max-width:960px){
  .dnp-doc,.dnp-visit,.dnp-loc{grid-template-columns:1fr}
  .dnp-doc--flip .dnp-doc-figure{order:0}
  .dnp-arch{width:min(100%,320px)}
  .dnp-team,.dnp-band-grid{grid-template-columns:1fr}
  .dnp-bring{position:static}
}
@media (max-width:640px){
  .dnp-creds div{grid-template-columns:1fr;gap:.15rem}
  .i-section.dnp-band{padding-top:calc(var(--section-padding) + 6rem)}
  .dnp-map{min-height:0;display:flex;flex-direction:column}
  .dnp-map-art{position:relative;height:210px}
  .dnp-map-card{position:static;max-width:none;border-radius:0;box-shadow:none;background:#fff}
}

/* hygienist headshots from the client's About page (native ~297x333, shown smaller, never upscaled) */
.dnp-face{display:block;width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:center 22%;margin-bottom:1rem;box-shadow:0 0 0 4px #e8f6f4,var(--shadow-sm)}

/* 2026-10-14 ai-tells pass: left-aligned heads; portraits in a plain rounded rectangle (no arch); no card accent bars; two-person team row; insurance as a ruled list */
.i-head{max-width:40rem}
.dnp-arch{border-radius:var(--radius-lg)}
.dnp-team-card::before{display:none}
.dnp-bring{border-top:1px solid var(--color-border)}
.dnp-team{grid-template-columns:repeat(2,minmax(0,1fr));max-width:860px}
.dnp-band-list{grid-template-columns:1fr;gap:0;max-width:980px}
.dnp-band-list .dnp-band-card{display:grid;grid-template-columns:16rem 1fr;gap:.75rem 2rem;background:none;border:0;border-top:1px solid rgba(255,255,255,.28);border-radius:0;padding:1.4rem 0}
.dnp-band-list .dnp-band-card h3{grid-row:span 3;margin:0}
.dnp-band-list .dnp-band-card p+p{margin-top:0}
.dnp-band-note{text-align:left}
@media (max-width:760px){.dnp-team{grid-template-columns:1fr}.dnp-band-list .dnp-band-card{grid-template-columns:1fr}.dnp-band-list .dnp-band-card h3{grid-row:auto}}
/* hero: real doctors photo (hero-doctors.webp); widen it so both faces sit right of the glass panel */
@media (min-width:961px){
  section.page-hero .page-hero-bg{width:125%;max-width:none}
  .page-hero-panel{max-width:36rem}
}

/* soft aurora bands (operator 2026-10-14: less beige, uneven horizontal auroras in orange and green, elegant).
   Host: .i-section.i-aur.acc-k with <div class="aur" aria-hidden="true"></div> first, then an optional
   .aur-tint--coral or .aur-tint--teal sibling that tilts that band's streak colours. */
.i-section.i-aur.acc-k{--aur-k:.45}
.aur-tint{position:absolute;top:-6px;left:50%;width:108vw;margin-left:-54vw;height:calc(var(--seam,220px) + 6px);pointer-events:none;z-index:-1;-webkit-mask:linear-gradient(to bottom,transparent 0,#000 30%,#000 62%,transparent 100%);mask:linear-gradient(to bottom,transparent 0,#000 30%,#000 62%,transparent 100%)}
.aur-tint--coral{background:radial-gradient(ellipse 22% 30% at 72% 46%,rgb(240 129 79/.08),rgb(240 129 79/0) 70%),radial-gradient(ellipse 14% 22% at 88% 58%,rgb(224 124 90/.04),rgb(224 124 90/0) 70%),radial-gradient(ellipse 12% 20% at 34% 52%,rgb(240 129 79/.04),rgb(240 129 79/0) 70%)}
.aur-tint--teal{background:radial-gradient(ellipse 24% 30% at 26% 48%,rgb(43 181 165/.08),rgb(43 181 165/0) 70%),radial-gradient(ellipse 13% 22% at 10% 60%,rgb(26 138 125/.035),rgb(26 138 125/0) 70%),radial-gradient(ellipse 12% 20% at 66% 44%,rgb(43 181 165/.035),rgb(43 181 165/0) 70%)}
@media (prefers-reduced-motion:no-preference){.aur-tint{animation:tintDrift 46s ease-in-out infinite alternate}}
@keyframes tintDrift{from{transform:translate3d(-1.5%,0,0)}to{transform:translate3d(1.5%,8px,0)}}

/* light hero (operator 2026-10-14: "the page isn't bright enough", card to the left): bright photo,
   white liquid-glass card with dark ink, card aligned to the left page edge */
section.page-hero{background:#fff}
section.page-hero::before{background:linear-gradient(90deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 50%)}
@media (min-width:961px){section.page-hero>.container{max-width:none;padding-left:clamp(1.5rem,5.5vw,6rem)}}
section.page-hero .page-hero-panel{max-width:34rem;background:rgba(255,255,255,.78);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);border:1px solid rgba(255,255,255,.75);box-shadow:0 16px 44px rgba(26,23,21,.16),inset 0 1px 0 rgba(255,255,255,.95)}
section.page-hero h1{color:#1a1715;text-shadow:none}
section.page-hero .page-hero-lede{color:#2d2926}
section.page-hero .page-hero-ctas .cta-secondary{background:transparent;border-color:#1a1715;color:#1a1715}
section.page-hero .page-hero-ctas .cta-secondary:hover{background:#1a1715;color:#fff}
section.page-hero .crumbs{color:#4a4440}
section.page-hero .crumbs a{color:#0e6b61}
section.page-hero .crumbs a:hover{color:#1a1715}
section.page-hero .em-hero-note{color:#2d2926}
section.page-hero .em-hero-note a{color:#0e6b61}
@media (max-width:640px){
  section.page-hero::before{background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,0) calc(var(--hp-h) - 110px),#fff var(--hp-h))}
  section.page-hero .page-hero-panel{background:rgba(255,255,255,.88);backdrop-filter:blur(6px) saturate(1.1);-webkit-backdrop-filter:blur(6px) saturate(1.1)}
}
/* doctors hero: faces sit right of the left-aligned card at 1024 to 1920 */
@media (min-width:961px){section.page-hero .page-hero-bg{width:150%;max-width:none}}
@media (min-width:1200px){section.page-hero .page-hero-bg{width:130%}}
/* OSM static map (2026-10-14) replaces the drawn SVG */
img.dnp-map-art{object-fit:cover;object-position:center}
.dnp-map-link{display:block}
.dnp-map-credit{position:absolute;top:.5rem;right:.5rem;z-index:2;margin:0;font-size:.72rem;line-height:1.2;background:rgba(255,255,255,.9);padding:.2rem .5rem;border-radius:6px}
.dnp-map-credit a{color:#2d2926}

/* =====================================================================
   FIX WAVE 2026-11-12
   ===================================================================== */
/* 23 team cards: the two-card row sits centered under its heading, not against the left edge */
.dnp-team{margin-inline:auto}
/* 24 hero (revised 2026-11-12 round 2, gd N10): the white wash strip left of the card is gone; the photo runs full bleed to the left edge.
   Measured on hero-doctors.webp (1920 wide): the CROWNS MADE IN OFFICE sign spans x 6.3% to 25% of the image, y 33% to 44%.
   The image box is 150% (961 to 1199) or 130% (1200 up) of the hero width, anchored left, so the sign sits at 9.4% to 37.5%
   (150%) or 8.1% to 32.5% (130%) of the viewport width. The glass card starts at clamp(1.5rem,5.5vw,6rem) and is up to 34rem wide:
   at 961 that is 53 to 597px against a sign at 90 to 360px, at 1440 79 to 623px against 117 to 468px, at 1920 96 to 640px against
   156 to 624px. The sign is fully behind the card at every desktop width, so nothing needs hiding. At 961 to 1100 a tall hero makes
   object-fit:cover scale by height and crop the image centred, which pushed the sign about 30px left of the card; anchoring the
   image to the left edge (object-position x 0) keeps the sign at 6.3% of the image width or more from the box edge. Mobile (below) zooms to the doctors. */
@media (min-width:961px){section.page-hero .page-hero-bg{object-position:left 15%}}
@media (max-width:640px){
  section.page-hero .page-hero-bg{width:233%;max-width:none;left:-64%}
}
