/* Hallmark · shape: the neighbourhood practice that picks up the phone · genre: editorial · theme: custom · job: book · idea: "the strongest thing Glen Burnie Family Dental says is that it answers calls 24/7, so the page is built around a phone number that is always answered" · vibe: "friendly, neighbourly, teal, warm, family"
 * paper: oklch(98.8% 0.006 200) · accent: oklch(34% 0.075 228) · display: Albert Sans · body: Albert Sans · hero: split, their own neighbours line left, their team at the entrance right · nav: white with their three-teeth logo and a navy call · footer: deep teal band with their white logo and four columns · imagery: the practice's own photographs · signature: the 24/7 band, the number set huge beside their own three-teeth mark, which hops in
 * axes: light/grotesk-sans/cool · posture: committed (teal tints and navy bands) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E (their photos are a few years old), answered by giving them generous rounded frames and letting the 24/7 promise carry the page */
/* 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: 600; 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); }

/* 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: 88px; }
.nav__logo img { width: 112px; 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-teal); }
.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 { padding-block: var(--space-xl) var(--section-gap-s); }
.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: 1; max-width: 13ch; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ln > span { display: block; }
.ln + .ln > span { color: var(--color-teal-mid); }
.hero__lede { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 30ch; }
.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 - 88px - var(--space-xl) - var(--section-gap-s)), 660px); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }

/* 24/7 */
.calls { background: var(--color-field); color: var(--color-on-field); padding-block: var(--section-gap-s); --color-focus: var(--color-focus-dark); }
.calls__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: center; }
.mark { width: 100%; max-width: 320px; height: auto; }
.calls__h { font-size: var(--text-section); line-height: 1; }
.calls__num { display: block; margin-top: var(--space-md); font-size: var(--text-phone); font-weight: 600; line-height: 1; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-coral); transition: color var(--dur-short) var(--ease-out); }
.calls__num:hover { color: var(--color-on-field); }
.calls__p { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-on-field-2); max-width: 40ch; }

/* care */
.care { padding-block: var(--section-gap); }
.care__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.care__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.care__list li { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.care__list h3 { font-size: var(--text-xl); }
.care__list p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.care__photo { margin: 0; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; }
.care__photo img { width: 100%; height: 100%; object-fit: cover; }

/* voice */
.voice { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.voice__q { margin: 0; }
.voice__q blockquote { margin: 0; font-size: var(--text-section); font-weight: 600; line-height: 1.12; letter-spacing: var(--tracking-display); max-width: 26ch; text-indent: -0.4em; }
.voice__q figcaption { margin-top: var(--space-lg); font-weight: 600; color: var(--color-ink-2); }

/* team */
.team { padding-block: var(--section-gap); }
.team__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.team__photo { margin: 0; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.team__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-size: var(--text-xl); }
.docs span { color: var(--color-muted); }

/* visit */
.visit { background: var(--color-paper-2); padding-block: var(--section-gap); }
.visit__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.visit__addr { margin-top: var(--space-lg); font-size: var(--text-xl); line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.chips li { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font-weight: 600; font-size: var(--text-sm); }
.visit__ins { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 44ch; }
.visit__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hours { width: 100%; border-collapse: collapse; background: var(--color-paper); border-radius: var(--radius-card); overflow: hidden; }
.hours caption { text-align: left; padding: 0 0 var(--space-md); font-weight: 600; font-size: var(--text-lg); }
.hours th, .hours td { padding: var(--space-md) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); text-align: left; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--color-ink-2); }

/* footer */
.foot { background: var(--color-field-2); color: var(--color-on-field); padding-top: var(--section-gap); --color-focus: var(--color-focus-dark); }
.foot__logo { width: 180px; 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-size: var(--text-sm); font-weight: 600; color: var(--color-teal-soft); margin-bottom: var(--space-sm); letter-spacing: 0; }
.foot p, .foot__nav { color: var(--color-on-field-2); font-size: var(--text-sm); line-height: 1.75; }
.foot a { color: var(--color-on-field); }
.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-field-rule); font-size: var(--text-xs); }

@media (max-width: 60rem) {
  .nav__links { display: none; }
  .js .nav__links { display: flex; position: fixed; inset: 88px 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, .calls__in, .care__in, .team__in, .visit__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .mark { max-width: 200px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .hide-s { display: none; }
  .nav__logo img { width: 92px; }
  .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; }
  .hero__acts .btn, .visit__acts .btn { flex: 1 1 100%; }
  .care__list { grid-template-columns: minmax(0, 1fr); }
  .voice__q blockquote { text-indent: 0; }
  .docs li { flex-direction: column; gap: var(--space-2xs); }
  .hours th, .hours td { padding-inline: var(--space-lg); }
  .hours caption { padding-inline: var(--space-lg); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}
