/* Phoenix-only layer of the REYES theme: maps this site's sections onto the shared base.
   Styling only. Coming-soon wording, contact details and the call-only option are unchanged. */
html{scroll-behavior:auto}

/* Header brand: ring-R emblem + REYES / DENTAL ARTS */
header{border-bottom:1px solid var(--r-line)}
.brand{display:inline-flex!important;align-items:center;gap:12px}
.brand>span{display:flex;flex-direction:column}
.brand strong{font:500 20px/1 var(--r-font)!important;letter-spacing:.32em!important;color:var(--r-text)}
.brand small{font:500 9px/1.6 var(--r-font)!important;letter-spacing:.42em!important;color:var(--r-text-2);margin-top:5px}
nav a{color:var(--r-text-2)!important}
nav a:hover,nav a[aria-current]{color:var(--r-text)!important}
.language-switch button{background:transparent!important;color:var(--r-hint)!important;border:0!important}
.language-switch button[aria-pressed=true]{color:var(--r-text)!important}
.menu-toggle,.motion-toggle,.presentation-toggle{background:transparent!important;color:var(--r-text)!important;border:1px solid var(--r-line-2)!important;border-radius:999px!important}

/* Hero wordmark */
.hero-reyes{font:500 clamp(52px,6.4vw,104px)/.95 var(--r-font)!important;letter-spacing:.2em!important;color:var(--r-text)}
.hero-arts{font:500 clamp(12px,1.3vw,18px)/1.5 var(--r-font)!important;letter-spacing:.5em!important;color:var(--r-text-2)!important}
.hero h1,.hero h2{font-weight:500!important}
.hero-image,.hero-image img{border-radius:20px;overflow:hidden;mask-image:none!important;-webkit-mask-image:none!important}

/* Buttons: everything is an outline pill; the phone call (the only action while coming soon) is the one gold pill */
.button,.outline-button,.detail-actions a,.feature-link.button{border-radius:999px!important;background:transparent!important;color:var(--r-text)!important;border:1px solid var(--r-line-2)!important;min-height:44px;box-shadow:none!important}
.hero-actions a[href^="tel"]{background:var(--r-gold)!important;color:#1a1408!important;border-color:var(--r-gold)!important}
.goal-buttons button,.component-buttons button,.bone-buttons button,.concept-choices button,.story-tabs button,.story-control button{
  border-radius:999px!important;background:transparent!important;color:var(--r-text-2)!important;border:1px solid var(--r-line-2)!important;min-height:44px;padding:10px 18px!important}
.goal-buttons button[aria-pressed=true],.component-buttons button[aria-pressed=true],.bone-buttons button[aria-pressed=true],.concept-choices button[aria-pressed=true],.story-tabs button[aria-selected=true]{
  color:var(--r-text)!important;border-color:var(--r-gold)!important;background:var(--r-field)!important}

/* Cards: dark surface, hairline, radius 20 */
.service-grid>article,.feature-cards>*,.service-tiles>*,.education-cards>*,a.chapter,.location-band,.status,
.payment-preview,.concept-result,.diagram-panel,.mini-explorer,.about-teaser,.comprehensive-band{
  background:var(--r-surface)!important;border:1px solid var(--r-line)!important;border-radius:20px!important;box-shadow:none!important;overflow:hidden}
.service-number{color:var(--r-gold)!important}
.opening-note,.small-copy,.source-note,.note{color:var(--r-hint)!important}

/* Tagline under the wordmark */
.hero-subtitle{font:500 clamp(26px,2.4vw,34px)/1.2 var(--r-font)!important;letter-spacing:-.01em!important;color:var(--r-text)!important}
/* Small caps labels -> REYES eyebrow; caps underlined links -> gold sentence-case links */
.call-invitation{border:0!important;padding:0!important;font-size:10px!important;letter-spacing:.22em!important;color:var(--r-gold)!important}
a.underlined{color:var(--r-gold)!important;text-transform:none!important;letter-spacing:0!important;font-size:15px!important;text-decoration:none!important;border:0!important;font-weight:500}
a.underlined:after{content:" ›"}
.text-link:after{content:none}
/* Phone quick-action bar: dark sheet, gold last action (matches Omak) */
.mobile-actions{background:var(--r-surface)!important;border-top:1px solid var(--r-line)!important;box-shadow:none!important}
.mobile-actions a{color:var(--r-text)!important}
.mobile-actions a:last-child{background:var(--r-gold)!important;color:#1a1408!important}

/* ================= Fewer images (owner, 2026-11-22) =================
   Same rules as Omak: renderings only for the hero, the two service cards and education. */

/* New orthodontic artwork (own file, not half of the combined image) framed on the arch */
img.ortho-art{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 72%}

/* Home: drop the repeated tooth study in the About teaser, the CBCT picture in the art story,
   and the 3-image care-process story (it repeated the technology message) */
.about-teaser .teaser-art{display:none!important}
#art-story .story-visual,#art-story .cbct-art{display:none!important}
#art-story .story-layout{grid-template-columns:1fr!important}
#care-process{display:none!important}

/* About: keep the orchard years and art-to-dentistry paintings; other chapters become text */
#phoenix-art-detail img,#ser-movido .orchard-art,#smile-story .orchard-art,#education-journey .orchard-art{display:none!important}
/* Ortho picture zoomed to match the implant picture's weight (trims only the outer molars) */
img.ortho-art{transform:scale(1.28);transform-origin:50% 62%}
/* Story tabs: three equal pills that always fit the screen width */
.story-tabs{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;max-width:100%}
.story-tabs button{flex:1 1 0!important;min-width:0!important;padding:8px 10px!important}

/* Services: the six picture cards become one REYES grouped list. Each row keeps its title and
   one-line description; the pictures go (renderings stay on the ortho/implant detail pages). */
#services .service-grid{display:block!important;max-width:760px;background:var(--r-surface);border:1px solid var(--r-line);border-radius:16px;overflow:hidden;padding:0!important;gap:0!important}
#services .service-grid>article{display:block!important;background:none!important;border:0!important;border-radius:0!important;padding:16px 44px 16px 74px!important;margin:0!important;position:relative;min-height:58px}
#services .service-grid>article+article:before{content:"";position:absolute;top:0;left:74px;right:0;border-top:1px solid var(--r-line)}
#services .service-grid>article:after{content:"›";position:absolute;right:18px;top:16px;color:var(--r-hint);font-size:22px;line-height:1}
#services .service-grid>article>a:has(.paired-art),#services .service-grid .paired-art{display:none!important}
#services .service-grid .service-number{position:absolute;left:22px;top:16px;width:30px;height:30px;border-radius:8px;border:1px solid var(--r-line-2);display:flex;align-items:center;justify-content:center;font-size:11px!important}
#services .service-grid h2{margin:0 0 4px!important;font-size:17px!important;line-height:1.3!important}
#services .service-grid h2 a{color:var(--r-text)!important}
#services .service-grid p{margin:0 0 6px;font-size:15px;color:var(--r-text-2)}
/* In list form the 03–06 numbers (with none on rows 1–2) read as broken; REYES rows don't number */
#services .service-grid .service-number{display:none!important}
#services .service-grid>article{padding-left:18px!important}
#services .service-grid>article+article:before{left:18px!important}
#services .service-grid figure{display:none!important}

/* ================= Calmer home (owner, 2026-11-22: "it still feels busy") =================
   Same as Omak: hero · two service cards · meet Dr. Reyes · new-patient preview · contact.
   Coming-soon wording stays in the hero and contact. Display-only; delete a selector to restore. */
.goal-section,          /* "How can we help?" */
.why-section,           /* repeats the hero's promise */
#art-story,             /* told on the About view */
#home .experience,      /* "Your experience matters" filler (scoped: the 3D demo also uses .experience) */
#location               /* contact section already gives the address */
{display:none!important}

/* ================= iPhone feel (owner, 2026-11-22: "like the rest of REYES software") =================
   Same REYES app rules as Omak's home. Coming-soon lines stay (hero eyebrow + "not yet announced"). */
#home>section,#home>.wrap,#home .wrap{max-width:980px}
.hero.wrap{padding-top:28px!important;padding-bottom:8px!important;min-height:0!important;align-items:center}
.hero .eyebrow{color:var(--r-hint)!important;font-size:11px!important}
.hero-reyes,.hero-arts{display:inline!important;font:500 30px/1.1 var(--r-font)!important;letter-spacing:.04em!important;color:var(--r-text)!important}
.hero-arts:before{content:" "}
.hero-subtitle{display:block!important;font:400 17px/1.4 var(--r-font)!important;color:var(--r-text-2)!important;margin:6px 0 20px!important}
.hero .intro{display:none!important}
.hero-actions{gap:10px!important;margin-bottom:12px!important}
.hero .tiny{color:var(--r-hint)!important;font-size:13px!important}
.hero .art-label{display:none!important}
@media(max-width:420px){.hero-reyes,.hero-arts{font-size:26px!important;letter-spacing:.03em!important}}
@media(max-width:700px){.hero-actions a{width:100%;justify-content:center}}

/* Location band → grouped rows (label above value, inset dividers) */
.location-band{display:block!important;padding:0!important;border-radius:16px!important;margin:16px 0!important}
.location-band>div{padding:12px 18px!important;border:0!important;position:relative}
.location-band>div+div:before{content:"";position:absolute;top:0;left:18px;right:0;border-top:1px solid var(--r-line)}
.location-band small{color:var(--r-hint)!important;font-size:13px!important;letter-spacing:0!important;text-transform:none!important}
.location-band p{margin:2px 0 0!important;color:var(--r-text)!important;font-size:17px!important}

/* Sections: title + one gray line, left aligned, no eyebrow stacks */
.home-services .center-heading{text-align:left!important;margin-bottom:16px!important}
.home-services .center-heading .eyebrow,.patient-preview>div:first-child>.eyebrow,.contact .eyebrow:not(.call-invitation){display:none!important}
#home h2{font-size:28px!important;line-height:1.15!important;margin-bottom:6px!important}
.feature-cards{gap:16px!important}
.about-teaser .meaning,.about-teaser .meaning+p{display:none!important}
.about-teaser{display:block!important}
.about-teaser .teaser-copy .eyebrow{color:var(--r-hint)!important}
.patient-preview a.underlined,.payment-preview a.underlined{display:flex!important;justify-content:space-between;align-items:center;min-height:52px;padding:0 18px!important;margin-top:12px;background:var(--r-surface);border:1px solid var(--r-line)!important;border-radius:16px;color:var(--r-text)!important;font-size:17px!important}
.payment-preview a.underlined{background:var(--r-field)}
.patient-preview a.underlined:after,.payment-preview a.underlined:after{content:"›";color:var(--r-hint);font-size:22px}
.hero-actions a{justify-content:center!important;text-align:center;font-size:15px!important}
@media(min-width:900px){
  .hero-reyes,.hero-arts{font-size:clamp(44px,4.6vw,64px)!important;letter-spacing:.02em!important;line-height:1.02!important}
  .hero-arts{display:block!important}.hero-arts:before{content:none}
  .hero-subtitle{font-size:21px!important;margin-bottom:28px!important}
  .hero.wrap{padding-top:72px!important;padding-bottom:56px!important}
}
.hero h1{line-height:1.1!important}
.hero .art,.hero .art img{min-height:0!important;height:auto!important}
.hero h1{font-size:30px!important}
@media(max-width:420px){.hero h1{font-size:26px!important}}
@media(min-width:900px){.hero h1{font-size:clamp(44px,4.6vw,64px)!important}}
/* REYES home screen: the Orthodontics and Implants apps replace the two big service cards on home */
#home .home-services{display:none!important}
#home .about-teaser{margin:8px 20px 0!important;border-radius:20px!important;overflow:hidden}
/* About view top: large name + one gray line (same as Omak) */
.bio-heading>.eyebrow,.bio-heading .bio-role{display:none!important}
.bio-heading h1{font-size:34px!important;line-height:1.1!important;margin:0 0 6px!important}
.bio-heading .bio-lead{font-size:17px!important;color:var(--r-text-2)!important}
/* Phoenix main page: on the home view the apps are on screen (no Apps button, no ‹ Home) */
body:has(main#home:not([hidden])) .apps-button,body:has(main#home:not([hidden])) .reyes-back{display:none!important}

/* ================= REYES Home look (owner, 2026-11-22) =================
   Centered: gray "planned location" line, large emblem + name, buttons, then the apps. No hero picture.
   Coming-soon stays visible: top banner, the hero line, "not yet announced", and the location rows. */
.hero.wrap{display:block!important;text-align:center!important;padding:44px 20px 6px!important;max-width:820px;margin:0 auto}
.hero .art{display:none!important}
.hero>div:first-child{margin:0 auto!important;text-align:center!important}
.hero .eyebrow{display:block!important;font:400 14px/1.4 var(--r-font)!important;letter-spacing:.02em!important;text-transform:none!important;color:var(--r-hint)!important;margin:0 0 14px!important}
.hero h1:before{content:"";display:block;width:76px;height:76px;margin:0 auto 16px;background:url(/assets/reyes-emblem.svg) center/contain no-repeat}
.hero h1,.hero-reyes,.hero-arts{font-size:clamp(30px,5vw,56px)!important;letter-spacing:.08em!important;line-height:1.08!important}
.hero-arts{display:inline!important}.hero-arts:before{content:" "!important}
.hero-subtitle{display:none!important}
.hero-actions{justify-content:center!important;margin:22px 0 12px!important}
@media(max-width:700px){.hero-actions a{width:auto!important;flex:1 1 0;max-width:240px}}
.hero .tiny{text-align:center;border:0!important;padding:0!important}
@media(min-width:900px){.hero h1:before{width:96px;height:96px;margin-bottom:20px}}
.hero-arts{margin-left:.32em!important}.hero-arts:before{content:none!important}
.hero.wrap{background:transparent!important}
/* "Meet Ruben Reyes, DDS" is now the About me app */
#home .about-teaser{display:none!important}

/* ================= Home screen only (owner, 2026-11-22) =================
   Home view = emblem, name, buttons, "not yet announced", the apps. Coming-soon stays in the top banner and that line.
   The contact section still opens when asked for (Opening info app, #contact links). */
#home>div.wrap,#home>.patient-preview,#home>#contact:not(:target),.hero .eyebrow{display:none!important}
body:has(main#home:not([hidden]))>footer,body:has(main#home:not([hidden])) .mobile-actions{display:none!important}
body:has(main#home:not([hidden]):has(#contact:target))>footer{display:grid!important}
#home .reyes-apps{padding-bottom:56px!important}

/* ================= Clean service views (owner, 2026-11-22: "No image, keep it clean") ================= */
.service-detail .implant-figure,.service-detail figure,.service-detail .paired-art{display:none!important}
.service-detail>.eyebrow{display:none!important}
.service-detail h1{font-size:34px!important;line-height:1.1!important;margin:6px 0 6px!important}
.service-detail .detail-lead{font-size:17px!important;color:var(--r-text-2)!important;margin:0 0 16px!important}
.service-detail a.back-services:first-child{color:var(--r-gold)!important;font-size:15px!important;text-decoration:none!important}
.service-detail .detail-status{background:var(--r-surface)!important;border:1px solid var(--r-line)!important;border-radius:16px!important;padding:14px 18px!important;margin:0 0 20px!important}
.service-detail .detail-status strong{color:var(--r-text)}
.service-detail .detail-status p{color:var(--r-text-2);margin:2px 0 0}
.service-detail .detail-copy{display:block!important;background:var(--r-surface);border:1px solid var(--r-line);border-radius:16px;overflow:hidden;padding:0!important}
.service-detail .detail-copy>section{padding:16px 18px!important;margin:0!important;position:relative;border:0!important}
.service-detail .detail-copy>section+section:before{content:"";position:absolute;top:0;left:18px;right:0;border-top:1px solid var(--r-line)}
.service-detail .detail-copy h2{font-size:17px!important;line-height:1.3!important;margin:0 0 6px!important}
.service-detail .detail-copy p{font-size:15px!important;color:var(--r-text-2)!important;margin:0 0 8px}
.service-detail .detail-actions{margin-top:24px!important}
.service-detail .detail-actions h2{font-size:20px!important}
.service-detail>a.back-services:first-child{display:none!important}   /* one back link, like REYES: the header ‹ Home; "Return to all services" stays at the bottom */

/* Education view: grouped list rows instead of image cards */
#education>.eyebrow{display:none!important}
#education .education-cards{display:block!important;max-width:820px;background:var(--r-surface);border:1px solid var(--r-line);border-radius:16px;overflow:hidden;padding:0!important;gap:0!important}
#education .education-cards>a{display:block!important;position:relative;padding:14px 44px 14px 18px!important;background:none!important;border:0!important;border-radius:0!important;color:var(--r-text)!important;text-decoration:none!important}
#education .education-cards>a+a:before{content:"";position:absolute;top:0;left:18px;right:0;border-top:1px solid var(--r-line)}
#education .education-cards>a:after{content:"›";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--r-hint);font-size:22px}
#education .education-cards :is(.paired-art,.bone-card-art,img,svg,figure){display:none!important}
#education .education-cards>a>div>span:first-child,#education .education-cards .underlined{display:none!important}
#education .education-cards h2{font:500 17px/1.3 var(--r-font)!important;margin:0 0 2px!important}
#education .education-cards p{font-size:14px!important;color:var(--r-text-2)!important;margin:0!important}
#education .education-cards>a>div{padding:0!important;margin:0!important}
/* Phoenix built-in education modules: same calm rows as the stand-alone modules */
.education-view .motion-toggle{display:none!important}
@media(max-width:700px){.education-view .presentation-toggle{display:none!important}}
.education-view .education-hero>div:first-child>.eyebrow{display:none!important}
.education-view section:has(>.edu-fold){max-width:820px;margin:0 auto!important;padding:0!important;background:var(--r-surface)!important;border:1px solid var(--r-line)!important;border-top:0!important;border-radius:0!important;display:block!important}
.education-view .education-section:has(>.edu-fold){border-top:1px solid var(--r-line)!important;border-radius:16px 16px 0 0!important;margin-top:20px!important}
.education-view .education-steps{display:block!important;padding:0!important;max-width:820px;margin:0 auto 28px!important}
.education-view .education-steps>section:last-child{border-radius:0 0 16px 16px!important}
.education-view .edu-fold>summary h2{font:500 17px/1.3 var(--r-font)!important}
.education-view .edu-fold>:not(summary){padding:0 18px 18px}
.education-view .edu-fold .diagram-panel{margin-top:12px;border-radius:14px}
