/* Northgate Dental. Handwritten static CSS. No frameworks, no gradients. */

:root {
  --brand: #14452F;
  --brand-deep: #0E3222;
  --brand-tint: #E4EDE6;
  --brand-tint-2: #F0EFE6;
  --accent: #C08A3E;
  --accent-ink: #7A5416;
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --text: #16211C;
  --muted: #55645B;
  --on-dark: #F3F1EA;
  --on-dark-muted: #B7C9BC;
  --line: #E2DCD0;
  --line-dark: #2A5741;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;

  --shadow-sm: 0 1px 2px rgba(22, 33, 28, .05), 0 8px 24px rgba(22, 33, 28, .05);
  --shadow-md: 0 2px 4px rgba(22, 33, 28, .06), 0 20px 48px rgba(22, 33, 28, .09);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--brand);
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background-color: var(--accent);
}
.lede { font-size: 19px; color: var(--muted); max-width: 56ch; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background-color: var(--brand);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.btn--primary { background-color: var(--brand); color: var(--on-dark); }
.btn--primary:hover { background-color: var(--brand-deep); transform: translateY(-2px); }
.btn--ghost { background-color: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background-color: var(--surface); }
.btn--light { background-color: var(--on-dark); color: var(--brand); }
.btn--light:hover { background-color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand);
  min-height: 44px;
}
.brandmark svg { flex: none; }
.brandmark-text { text-align: left; }
.brandmark-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.brandmark-text > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.header-cta { display: none; }

.nav-mobile { position: relative; }
.nav-mobile > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background-color: var(--surface);
  cursor: pointer;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { background-color: var(--brand); color: var(--on-dark); border-color: var(--brand); }
.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(78vw, 280px);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
}
.nav-mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.nav-mobile-panel a:hover { background-color: var(--brand-tint); }
.nav-mobile-panel .btn { width: 100%; margin-top: 8px; }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 0; position: relative; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(44px, 8.4vw, 76px);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-ink);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  background-color: var(--brand-tint);
  border: 1px solid var(--line);
}
.hero-badge {
  position: absolute;
  left: -8px;
  bottom: 32px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  max-width: 232px;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.hero-badge span { font-size: 13px; color: var(--muted); }

.stats {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat { padding: 28px 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
.stat:nth-child(4) { border-top: 1px solid var(--line); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--muted); }

@media (min-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .hero-badge { left: -40px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 32px 24px; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 0; }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
}

/* ---------- section headings ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 16px; }
.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr .8fr; gap: 64px; }
}

/* ---------- services ---------- */
.services-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 240ms ease;
}
.service-index {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: .1em;
}
.service h3 { font-size: 26px; font-weight: 600; }
.service p { color: var(--muted); font-size: 16px; max-width: 62ch; }
.service-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background-color: var(--brand-tint);
  border-radius: 999px;
  padding: 6px 14px;
  justify-self: start;
}
@media (min-width: 900px) {
  .service {
    grid-template-columns: 64px 1fr 200px;
    gap: 32px;
    align-items: baseline;
    padding: 40px 16px;
    border-radius: var(--radius);
  }
  .service:hover { background-color: var(--brand-tint-2); }
  .service-tag { justify-self: end; }
}

/* ---------- why / dark band ---------- */
.band {
  background-color: var(--brand);
  color: var(--on-dark);
}
.band h2, .band h3 { color: var(--on-dark); }
.band .lede, .band p { color: var(--on-dark-muted); }
.band .eyebrow { color: #E9C68C; }
.band .eyebrow::before { background-color: #E9C68C; }

.trust-grid { display: grid; gap: 24px; }
.trust-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  background-color: var(--brand-deep);
}
.trust-card h3 { font-size: 23px; font-weight: 600; margin: 20px 0 12px; }
.trust-card p { font-size: 16px; }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E9C68C;
}
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- team ---------- */
.team-grid { display: grid; gap: 32px; }
.team-card { background-color: transparent; }
.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--brand-tint);
  border: 1px solid var(--line);
}
.team-card h3 { font-size: 22px; font-weight: 600; margin: 20px 0 4px; }
.team-role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.team-card p { color: var(--muted); font-size: 16px; margin-top: 12px; }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- testimonials ---------- */
.reviews-grid { display: grid; gap: 24px; }
.review {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { color: var(--accent); letter-spacing: .18em; font-size: 15px; }
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
}
.review figcaption { font-size: 14px; color: var(--muted); margin-top: auto; }
.review figcaption b { color: var(--text); font-weight: 700; }
@media (min-width: 860px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- visit ---------- */
.visit-grid { display: grid; gap: 40px; }
.hours { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.hours li span:first-child { color: var(--muted); }
.hours li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.hours li.is-closed span:last-child { font-weight: 500; color: var(--muted); }
.visit-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--brand-tint);
  border: 1px solid var(--line);
}
.visit-panel {
  margin-top: 24px;
  background-color: var(--brand-tint);
  border-radius: var(--radius);
  padding: 24px;
}
.visit-panel h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.visit-panel p { color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }

/* ---------- contact ---------- */
.contact-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .contact-card { padding: 40px; }
}
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.checklist svg { flex: none; margin-top: 4px; color: var(--brand); }

/* ---------- footer ---------- */
.site-footer {
  background-color: var(--brand);
  color: var(--on-dark-muted);
  padding: 64px 0 40px;
}
.footer-grid { display: grid; gap: 32px; }
.footer-grid h2, .footer-grid h3 { color: var(--on-dark); font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.footer-grid a:hover { color: var(--on-dark); }
.footer-brand b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--on-dark);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 15px; max-width: 34ch; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
