/* Hallmark · shape: sunrise over a hometown practice · genre: editorial · theme: custom · job: book · idea: "the rays from Flint Dental's own logo rise behind the page: a bright, hometown practice that has served Flint for decades" · vibe: "bright, hometown, sky blue, friendly, plainspoken"
 * paper: oklch(98.8% 0.006 230) · accent: oklch(32% 0.085 255) · display: Lexend · body: Public Sans · hero: split, the hometown line left, a family in the chair right, the logo's rays fanning behind · nav: white with their logo and a navy call · footer: light, their logo large over four columns · imagery: photographs (their room, AI stand-ins for people, disclosed) · signature: the logo's sunburst redrawn behind the hero, fanning open on load
 * axes: light/geometric-sans/cool · posture: committed (sky tints and one navy band) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R (their site lists only three services), answered by setting each large and quoting their own promises */
/* Hallmark · answered F4 · the navy primary inverts to sun yellow on the navy visit band, same action, same shape */
/* Hallmark · waive 26b · guard: not a form control, no aria-disabled anywhere · no disabled states exist on the page */
@import url("./tokens.css");
@import url("./base.css");

h1, h2, h3 { font-weight: 500; letter-spacing: var(--tracking-display); }
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }
.h2 { font-size: var(--text-section); line-height: 1.04; max-width: 16ch; }
.hide-s { display: inline; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; white-space: nowrap; border: var(--rule-hair) solid transparent; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--navy { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--navy:hover { background: var(--color-accent-hover); }
.btn--line { color: var(--color-ink); border-color: var(--color-ink-2); }
.btn--line:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--sun { background: var(--color-sun); color: var(--color-sun-ink); }
.btn--sun:hover { background: var(--color-on-field); }
.btn--ghost { color: var(--color-on-field); border-color: var(--color-on-field-2); }
.btn--ghost:hover { background: var(--color-on-field); color: var(--color-field-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); transition: box-shadow var(--dur-long) var(--ease-out); }
.nav.is-solid { box-shadow: 0 1px 0 var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 84px; }
.nav__logo img { width: 200px; height: auto; }
.nav__links { display: flex; gap: var(--space-xl); font-size: var(--text-sm); font-weight: 600; }
.nav__links a { white-space: nowrap; text-decoration: none; padding-block: var(--space-xs); border-bottom: 2px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { border-color: var(--color-ray); }
.nav__acts { display: flex; align-items: center; gap: var(--space-sm); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-ink-2); background: transparent; color: var(--color-ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-2xl) var(--section-gap-s); background: linear-gradient(to bottom, var(--color-paper) 0%, var(--color-paper-2) 100%); }
.rays { position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1500px, 140vw); transform: translateX(-50%); }
.rays path { fill: var(--color-ray-soft); }
.hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero__h { font-size: var(--text-display); line-height: 0.98; max-width: 11ch; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ln > span { display: block; }
.ln + .ln > span { color: var(--color-focus); }
.hero__lede { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 28ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__photo { margin: 0; border-radius: var(--radius-photo); overflow: hidden; height: clamp(420px, calc(100svh - 84px - var(--space-2xl) - var(--section-gap-s)), 660px); box-shadow: var(--shadow-card); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* care */
.care { padding-block: var(--section-gap); }
.care__lede { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 46ch; }
.care__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.care__grid li { padding-top: var(--space-lg); border-top: 3px solid var(--color-ray); }
.care__grid h3 { font-size: var(--text-3xl); line-height: 1.02; }
.care__grid p { margin-top: var(--space-sm); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 26ch; }

/* dentists */
.dentists { background: var(--color-paper-2); padding-block: var(--section-gap); }
.dentists__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.dentists__photo { margin: 0; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.dentists__photo img { width: 100%; height: 100%; object-fit: cover; }
.docs { margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.docs li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.docs b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); }
.docs span { color: var(--color-muted); font-weight: 600; }
.dentists__p { margin-top: var(--space-xl); color: var(--color-ink-2); max-width: 40ch; }

/* promise */
.promise { padding-block: var(--section-gap); }
.promise__h { color: var(--color-focus); }
.promise__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.promise__list li { padding-top: var(--space-lg); border-top: 3px solid var(--color-ray); }
.promise__list h3 { font-size: var(--text-2xl); line-height: 1.1; max-width: 14ch; }

/* visit */
.visit { background: var(--color-field); color: var(--color-on-field); padding-block: var(--section-gap); --color-focus: var(--color-focus-dark); }
.visit__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.visit__addr { margin-top: var(--space-lg); font-size: var(--text-xl); line-height: 1.35; }
.visit__note { margin-top: var(--space-md); color: var(--color-on-field-2); }
.visit__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.visit__photo { margin: 0; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 16 / 10; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.foot { background: var(--color-paper); padding-top: var(--section-gap); }
.foot__logo { width: min(260px, 70%); height: auto; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.foot__h { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--color-focus); margin-bottom: var(--space-sm); letter-spacing: 0; }
.foot p, .foot__nav { color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.75; }
.foot__nav { margin: 0; padding: 0; list-style: none; }
.foot__legal { margin-top: var(--space-2xl); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); }

@media (max-width: 60rem) {
  .nav__links { display: none; }
  .js .nav__links { display: flex; position: fixed; inset: 84px 0 auto; flex-direction: column; gap: 0; padding: var(--space-md) var(--gutter) var(--space-xl); background: var(--color-paper); box-shadow: 0 1px 0 var(--color-rule); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility var(--dur-short); }
  .js .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding-block: var(--space-md); font-size: var(--text-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .js .menu-btn { display: grid; }
  .hero__in, .dentists__in, .visit__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .care__grid, .promise__list { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .hide-s { display: none; }
  .nav__logo img { width: 160px; }
  .hero { padding-block: 0 var(--space-3xl); }
  .hero__photo { order: -1; margin-inline: calc(var(--gutter) * -1); border-radius: 0; height: auto; aspect-ratio: 4 / 3; box-shadow: none; }
  .hero__acts .btn, .visit__acts .btn { flex: 1 1 100%; }
  .docs li { flex-direction: column; gap: var(--space-2xs); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}
