/* Clearholm Dental (concept site). Porcelain, lagoon and champagne: bright, quiet surfaces,
   hairline rules instead of boxes, a humanist display face over a system body face. */
:root {
  --porcelain: #fbfcfb;
  --paper: #f2f7f6;
  --aqua: #e2efed;
  --aqua-2: #c9e0dc;
  --lagoon: #0e3b3d;
  --lagoon-2: #134c4e;
  --teal: #1d6a66;
  --teal-dark: #155552;
  --ink: #102a2c;
  --body: #2f4244;
  --muted: #4f6466;
  --line: #dbe6e4;
  --champagne: #c8a979;
  --champagne-soft: #f5eddf;
  --white: #ffffff;
  --display: Optima, Candara, "Segoe UI", "Gill Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --r: 14px;
  --r-lg: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--porcelain); color: var(--body); font: 1.0625rem/1.65 var(--sans); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 500; line-height: 1.18; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.95rem); }
h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--lagoon); color: #fff; padding: .7rem 1rem; z-index: 30; border-radius: 8px; }
.skip:focus { left: .5rem; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Concept label: always visible, above the header */
.concept-bar { background: var(--lagoon); text-align: center; font-size: .875rem; }
.concept-bar a { color: #fff; display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }
.concept-bar a:hover { color: var(--champagne-soft); }
.concept-bar a:focus-visible { outline-color: var(--champagne); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251, 252, 251, .94); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: .55rem 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-word { font-family: var(--display); font-size: 1.35rem; white-space: nowrap; letter-spacing: .01em; color: var(--ink); }
.brand-word span { color: var(--muted); }
.nav { display: flex; align-items: center; gap: .25rem 1.5rem; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: .975rem; }
.nav a:hover { color: var(--teal); text-decoration: underline; }
.nav a[aria-current="page"]:not(.btn) { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.nav .btn { text-decoration: none; }
.nav .btn-teal, .nav .btn-teal:hover { color: #fff; }
.nav .btn-line, .nav .btn-line:hover { color: var(--lagoon); }

/* Buttons: soft rectangles, not pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 12px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-line { background: var(--white); color: var(--lagoon); border-color: var(--aqua-2); }
.btn-line:hover { border-color: var(--teal); color: var(--lagoon); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Shared type */
.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 36rem; margin-top: 1.1rem; }
.section { padding: clamp(3.25rem, 7vw, 5.75rem) 0; }
.section.tint { background: var(--paper); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Hero: text left, abstract arc art right */
.hero { background: linear-gradient(180deg, var(--porcelain) 0%, var(--paper) 100%); padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 17ch; }
.hero-art { width: 100%; max-width: 34rem; height: auto; justify-self: center; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem; color: var(--body); font-size: .975rem; }
.facts li { display: flex; align-items: flex-start; gap: .55rem; }
.facts svg { width: 1.15rem; height: 1.15rem; color: var(--teal); flex: none; margin-top: .25rem; }

/* Treatment overview: a ruled grid, no boxes */
.tgrid { display: grid; border-top: 1px solid var(--line); }
.tile { padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.tile .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--aqua); color: var(--lagoon); display: grid; place-items: center; margin-bottom: .4rem; }
.tile .ic svg { width: 22px; height: 22px; }
.tile p { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(3px); }

/* New patient walkthrough: a line of quiet markers, no numbers */
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; position: relative; }
.journey li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; position: relative; }
.journey li::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: -1.5rem; width: 1px; background: var(--aqua-2); }
.journey li:last-child::before { display: none; }
.journey .mark { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid var(--aqua-2); color: var(--teal); display: grid; place-items: center; }
.journey .mark svg { width: 22px; height: 22px; }
.journey p { color: var(--muted); margin-top: .3rem; }
.visit-grid { display: grid; gap: 2.5rem; align-items: start; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.aside-card h3 { margin-bottom: .6rem; }
.aside-card p + p { margin-top: .75rem; }
.aside-card .btn { margin-top: 1.5rem; }

/* Dentists */
.team { display: grid; gap: 1.25rem; }
.dentist { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: grid; gap: .45rem; align-content: start; }
.monogram { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; letter-spacing: .04em;
  color: var(--lagoon); background: var(--champagne-soft); box-shadow: inset 0 0 0 1.5px var(--champagne); margin-bottom: .6rem; }
.monogram.m-b { background: var(--aqua); box-shadow: inset 0 0 0 1.5px var(--aqua-2); }
.monogram.m-c { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.role { color: var(--teal); font-weight: 600; font-size: .95rem; }
.cred { font-size: .9rem; color: var(--muted); }
.bio { margin-top: .3rem; }

/* Placeholders the real practice fills in */
.fill-tag { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.pay-grid { display: grid; gap: 1.25rem; }
.pay { border-top: 2px solid var(--champagne); padding-top: 1.25rem; }
.pay h3 { margin-bottom: .5rem; }
.pay p { color: var(--muted); }
.pay .lead-line { font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-bottom: .6rem; }

/* Smile gallery: abstract art only */
.gallery { display: grid; gap: 1.25rem; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.gallery svg { display: block; width: 100%; height: auto; }
.gallery figcaption { padding: 1rem 1.25rem 1.2rem; font-size: .95rem; color: var(--muted); }
.consent { margin-top: 1.75rem; display: flex; gap: .7rem; align-items: flex-start; max-width: 44rem; }
.consent svg { width: 1.35rem; height: 1.35rem; color: var(--teal); flex: none; margin-top: .2rem; }

/* Closing call to action */
.cta { background: var(--lagoon); color: #e4efed; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta h2 { color: #fff; }
.cta p { margin-top: .75rem; max-width: 34rem; }
.cta .btn-teal { background: #fff; color: var(--lagoon); }
.cta .btn-teal:hover { background: var(--champagne-soft); color: var(--lagoon); }
.cta .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta .btn-line:hover { border-color: #fff; color: #fff; }
.cta :focus-visible { outline-color: var(--champagne); }
.health-note { font-size: .9rem; color: var(--muted); max-width: 46rem; margin-top: 2.5rem; }

/* Treatments page */
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.jump { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.treatment { padding: clamp(2.5rem, 5vw, 3.75rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 5rem; }
.treatment:last-of-type { border-bottom: 0; }
.t-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.t-head .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--aqua); color: var(--lagoon); display: grid; place-items: center; flex: none; }
.t-head .ic svg { width: 26px; height: 26px; }
.t-body { display: grid; gap: 1.5rem; }
.t-body h3 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .4rem; }
.t-body p { max-width: 38rem; }
.t-note { align-self: start; background: var(--champagne-soft); border-radius: var(--r); padding: 1rem 1.25rem; font-size: .95rem; }

/* Request page */
.req-grid { display: grid; gap: 2.5rem; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { display: grid; gap: .4rem; margin-bottom: 1.35rem; }
.field label, legend { font-weight: 600; color: var(--ink); font-size: 1rem; }
.hint { font-size: .9rem; color: var(--muted); }
input[type="text"], input[type="tel"], select { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #9fb5b2; border-radius: 10px; min-height: 48px; padding: .6rem .85rem; width: 100%; }
input:hover, select:hover { border-color: var(--teal); }
fieldset { border: 0; padding: 0; margin: 0 0 1.35rem; }
legend { padding: 0; margin-bottom: .6rem; }
.times { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .6rem; }
.time { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .55rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--white); }
.time:hover { border-color: var(--teal); }
.time input { width: 1.2rem; height: 1.2rem; accent-color: var(--teal); margin: 0; flex: none; }
.time:has(input:checked) { border-color: var(--teal); background: var(--paper); }
.privacy { display: flex; gap: .65rem; align-items: flex-start; background: var(--paper); border-radius: var(--r); padding: 1rem 1.15rem; font-size: .95rem; margin-bottom: 1.5rem; }
.privacy svg { width: 1.3rem; height: 1.3rem; color: var(--teal); flex: none; margin-top: .15rem; }
.notice { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--r); background: var(--champagne-soft); color: var(--ink); font-weight: 600; }
.notice:focus { outline: 2px solid var(--champagne); outline-offset: 2px; }
.next h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.next .journey { margin-bottom: 2rem; }

/* Footer */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 3.25rem 0 6.5rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; }
.site-foot h2 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-note { color: var(--muted); margin-top: .6rem; max-width: 22rem; }
.foot-base { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--muted); }
.foot-base a { display: inline-flex; align-items: center; min-height: 40px; }

/* Phone: a call and request bar pinned to the bottom */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 252, 251, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }

@media (max-width: 47.99rem) {
  .hide-sm { display: none !important; }
  .head-row { flex-wrap: nowrap; }
  .brand-word { font-size: 1.2rem; }
  .brand svg { width: 32px; height: 32px; }
  .nav .btn { min-height: 44px; padding: .55rem .9rem; font-size: .9375rem; white-space: nowrap; }
}
@media (min-width: 48rem) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .tgrid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .team, .gallery { grid-template-columns: repeat(3, 1fr); }
  .pay-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .action-bar { display: none; }
  .site-foot { padding-bottom: 2.5rem; }
  .t-body { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 64rem) {
  .tgrid { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1.3fr .9fr; gap: 4rem; }
  .req-grid { grid-template-columns: 1.25fr .9fr; gap: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
