:root {
  --ink: #1a2a32;
  --muted: #5a6b73;
  --teal: #0e7c7b;
  --teal-dark: #0a4f55;
  --sand: #e8d5b5;
  --cream: #f7f4ee;
  --white: #fff;
  --line: #d9e2e4;
  --max: 1080px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.65 "Segoe UI", Calibri, Arial, sans-serif;
  background: var(--white);
}
a { color: var(--teal); }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--teal-dark);
  color: #e8f4f4;
  font-size: 14px;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.logo img { height: 56px; width: auto; display: block; }
nav ul { display: flex; gap: 8px 16px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--teal-dark); font-weight: 600; font-size: 15px; }
nav a.active, nav a:hover { color: var(--teal); }

.hero {
  background: linear-gradient(160deg, var(--teal-dark), var(--teal));
  color: #fff;
  padding: 48px 0 40px;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; }
.hero p { margin: 0; max-width: 40rem; font-size: 18px; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: 32px 0; }
.page-hero h1 { margin: 0 0 8px; color: var(--teal-dark); }
.lede { margin: 0; color: var(--muted); }

main { padding: 36px 0 56px; }
h2 { color: var(--teal-dark); margin-top: 1.6em; }
h3 { color: var(--teal); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { border-color: var(--teal); }
.card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.card.team img {
  height: 280px;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}
.card h3, .card p { padding: 0 16px; }
.card h3 { margin: 12px 0 6px; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.portrait { border-radius: 10px; width: 100%; object-fit: cover; }
.portrait.building { object-fit: contain; background: var(--cream); }
.callout { background: var(--cream); padding: 18px; border-radius: 10px; }

.btn {
  display: inline-block;
  background: var(--sand);
  color: #1a1408;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; margin-left: 8px; }

blockquote { margin: 0 0 16px; padding: 14px 16px; background: var(--cream); border-left: 4px solid var(--teal); }
blockquote cite { display: block; margin-top: 8px; color: var(--muted); font-style: normal; }

form { display: grid; gap: 10px; max-width: 520px; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
button { border: 0; cursor: pointer; width: fit-content; }

.site-footer { background: var(--teal-dark); color: #d5e8e8; padding: 32px 0 18px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.fine { opacity: .75; margin-top: 22px; font-size: 13px; }

@media (max-width: 800px) {
  .two-col, .site-footer .wrap { grid-template-columns: 1fr; }
}

/* Decorative overlay leaves every link, form and selection interactive. */
#dental-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}
.dental-motion-toggle {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  padding: 9px 13px;
  min-height: 44px;
  max-width: calc(100% - 24px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--teal-dark);
  font: 14px/1.4 "Segoe UI", Arial, sans-serif;
  box-shadow: 0 2px 10px #0000000d;
}
.dental-motion-toggle:focus-visible {outline: 3px solid var(--teal);outline-offset: 3px;}
@media print {#dental-particles,.dental-motion-toggle {display:none!important;}}
