/* Dental Anesthesia Clinic — site styles */
:root {
  --navy: #0c2430;
  --navy-deep: #081820;
  --teal: #1a5a63;
  --teal-mid: #24747e;
  --teal-soft: #d7e6e8;
  --cream: #f6f1e8;
  --paper: #fbf8f3;
  --white: #fdfcf9;
  --ink: #152028;
  --ink-soft: #3d4c52;
  --muted: #5e6e74;
  --line: #ddd4c6;
  --line-strong: #c9bba8;
  --bronze: #9a7048;
  --bronze-soft: #e8d9c0;
  --focus: #1a5a63;
  --danger: #8a3a32;
  --shadow: 0 18px 40px rgba(12, 36, 48, 0.08);
  --radius: 12px;
  --header-h: 4.5rem;
  --max: 70rem;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(calc(100% - 2.5rem), 46rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand:hover {
  color: var(--teal);
}

.brand-logo {
  height: 2.9rem;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.25;
}

.site-header .brand-sub {
  margin-top: 0;
  max-width: 9.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--bronze);
}

.nav-cta {
  margin-left: 0.4rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-on-dark {
  background: var(--cream);
  color: var(--navy);
}

.btn-on-dark:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Eyebrow / kicker */
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.85rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 1.4rem + 2.6vw, 3.55rem);
  margin: 0 0 1rem;
  font-optical-sizing: auto;
}

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.35rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 40rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--teal-soft) 35%, var(--paper)) 0%, var(--paper) 100%);
}

.hero::before {
  display: none;
}

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-photo {
  aspect-ratio: 4 / 3;
  margin: 0 0 1.35rem;
}

.lobby-photo {
  aspect-ratio: 1;
  margin: 0;
  max-height: 22rem;
}

.lobby-photo img {
  object-position: center 45%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.4rem;
  align-items: center;
  margin-bottom: 2.6rem;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--bronze);
  padding-left: 1rem;
  margin: 1.25rem 0 0;
  max-width: 28rem;
}

.split-ctas {
  display: grid;
  gap: 1rem;
}

.split-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.2s;
}

.split-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  color: inherit;
}

.split-card.primary-path {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.split-card.primary-path p,
.split-card.primary-path h2 {
  color: var(--cream);
}

.split-card.primary-path h2 {
  color: var(--white);
}

.split-card .kicker {
  color: var(--bronze);
}

.split-card.primary-path .kicker {
  color: var(--bronze-soft);
}

.split-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.split-card p {
  margin: 0;
  font-size: 0.98rem;
}

.split-card .go {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--teal);
}

.split-card.primary-path .go {
  color: var(--bronze-soft);
}

/* Sections */
.section {
  padding: clamp(3.2rem, 5vw, 5rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-dark {
  background: var(--navy);
  color: var(--cream);
  border-top: none;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p,
.section-dark li {
  color: color-mix(in srgb, var(--cream) 82%, transparent);
}

.section-cream {
  background: color-mix(in srgb, var(--cream) 70%, var(--white));
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

/* Cards / grids */
.grid-3,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.55rem 1.6rem;
}

.card h3 {
  font-size: 1.28rem;
}

.icon-line {
  width: 2rem;
  height: 2px;
  background: var(--bronze);
  margin-bottom: 1rem;
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.list-plain li:last-child {
  border-bottom: none;
}

.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 1px;
  background: var(--bronze);
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare th,
.compare td {
  text-align: left;
  padding: 1rem 1.15rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare th {
  font-family: var(--font-serif);
  font-weight: 550;
  font-size: 1.15rem;
  color: var(--navy);
  background: color-mix(in srgb, var(--teal-soft) 40%, var(--white));
  width: 50%;
}

.compare caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--teal);
  line-height: 1.2;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
}

.person .role {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: var(--bronze-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
}

.callout {
  border-left: 3px solid var(--teal);
  padding: 0.25rem 0 0.25rem 1.15rem;
  margin: 1.25rem 0;
}

.notice {
  background: color-mix(in srgb, var(--bronze-soft) 45%, var(--white));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  font-size: 0.98rem;
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.2rem 1.15rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  padding: 0.95rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 0;
  padding-bottom: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-meta dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.15rem;
}

.contact-meta dd {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.contact-meta a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-meta a:hover {
  color: var(--teal);
}

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

label {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0.85rem 0 0.35rem;
}

label:first-child {
  margin-top: 0;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--teal);
  min-height: 1.2em;
}

.form-status.error {
  color: var(--danger);
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
}

/* Page header (inner pages) */
.page-hero {
  padding: clamp(2.4rem, 4.5vw, 3.8rem) 0 2.4rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--teal-soft) 40%, var(--paper)), var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 42rem;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
}

.site-footer h2 {
  color: var(--cream);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--bronze-soft);
}

.site-footer p,
.site-footer li {
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}

.site-footer .brand-name {
  color: var(--cream);
  font-size: 1.35rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.15rem;
  font-size: 0.88rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-block;
  padding: 0.2rem 0;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hours {
  white-space: pre-line;
}

.two-col-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.not-this {
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}


/* Home audience chooser */
.hero-intro {
  position: relative;
  max-width: 46rem;
  margin-bottom: 0;
}

.chooser-head {
  position: relative;
  margin: 0 0 1.1rem;
}

.chooser-head h2 {
  margin-bottom: 0.2rem;
}

.chooser-head p {
  margin: 0;
  max-width: 38rem;
}

.chooser {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.choice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  color: inherit;
  box-shadow: 0 22px 44px rgba(12, 36, 48, 0.12);
}

.choice-num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--teal);
  margin: 0 0 0.55rem;
}

.choice-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.choice-card p {
  margin: 0;
  font-size: 0.98rem;
}

.choice-card .go {
  margin-top: auto;
  padding-top: 1.15rem;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--teal);
}

.chooser-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 46rem;
}

.share-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  white-space: pre-wrap;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.copy-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-copied {
  background: var(--teal);
  color: var(--white);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .team-grid,
  .contact-grid,
  .footer-grid,
  .two-col-prose,
  .chooser,
  .chooser-2 {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.85rem 0 0.25rem;
  }

  .site-header .brand-sub {
    display: none;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .wrap,
  .wrap-narrow {
    width: min(calc(100% - 1.6rem), var(--max));
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare th {
    border-bottom: none;
    padding-bottom: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .split-card,
  .choice-card {
    transition: none;
  }
}
