/* ** theme tokens ** */
/* blue and white palette based on the clinic logo */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f0f7fc;
  --text: #1f2a33;
  --muted: #4b5966;
  /* logo blue: too light for text on white, so it is only used for decorative lines */
  --brand-blue: #009fee;
  --accent: #0067a5;
  --accent-dark: #004d7d;
  --accent-soft: #dcedf8;
  --border: #d4e1ea;
  --footer-bg: #0d2c45;
  --footer-text: #e5edf3;
  --footer-muted: #b3c5d3;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgba(13, 44, 69, 0.06), 0 10px 28px rgba(13, 44, 69, 0.08);
  --header-height: 4.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

/* keep phone numbers from breaking across lines */
a[href^="tel:"] {
  white-space: nowrap;
}

/* keep short phrases, such as each doctor's name, together when text wraps */
.keep-together {
  white-space: nowrap;
}

ul {
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

/* ** accessibility helpers ** */
:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1.1rem;
  background: var(--text);
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #ffffff;
}

/* hidden on screen but still read by screen readers, e.g. "opens in a new tab" */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ** layout ** */
.content-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: 2.75rem;
}

.section-alt {
  background: var(--surface-soft);
}

.section-header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  color: var(--muted);
}

.section-header p:last-child {
  margin-bottom: 0;
}

.section-footer {
  margin: 1.75rem 0 0;
}

.two-column {
  display: grid;
  gap: 2rem;
}

/* ** header and navigation ** */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 2px solid var(--brand-blue);
}

/* grid on small screens lets the brand text wrap instead of pushing the menu button down */
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: var(--header-height);
  padding-block: 0.6rem;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  line-height: 1.15;
  text-decoration: none;
}

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

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

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

/* turn the three bars into an X while the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* on small screens the open menu drops down over the page as a solid panel */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem 1.25rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 32px rgba(13, 44, 69, 0.14);
}

.site-nav.is-open {
  display: block;
  max-height: calc(100vh - var(--header-height) - 2rem);
  max-height: calc(100dvh - var(--header-height) - 2rem);
  overflow-y: auto;
}

.nav-links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.nav-link[aria-current] {
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-weight: 600;
}

.nav-cta {
  width: 100%;
  margin-top: 1.25rem;
}

.nav-phone .btn {
  width: 100%;
  margin-top: 0.6rem;
}

/* ** buttons ** */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* ** hero ** */
.hero-section {
  padding-block: 2rem 2.5rem;
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--bg) 100%);
}

.hero-inner {
  display: grid;
  gap: 1.75rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-lead {
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* the clinic photo and the visit details form one card */
.hero-media {
  max-width: 36rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* the photo keeps its natural shape */
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  background: var(--accent-soft);
}

.hero-card {
  padding: 1rem 1.25rem 1.1rem;
  border-top: 1px solid var(--border);
}

.hero-card h2 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.hero-card-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.35rem 1.5rem;
}

.hero-card address,
.hero-card p {
  margin: 0;
}

.hero-card a {
  font-weight: 600;
}

/* ** info panel ** */
.info-panel {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel h2 {
  font-size: 1.4rem;
}

.info-list {
  display: grid;
  margin: 0 0 1.25rem;
}

.info-list div {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list dd {
  margin: 0;
}

.info-list address {
  margin-bottom: 0.35rem;
}

.info-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ** office hours ** */
.hours-table {
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding-block: 0.3rem;
  text-align: left;
  vertical-align: top;
}

.hours-table th {
  padding-right: 1.5rem;
  font-weight: 600;
}

/* lines between days keep the two-line split hours (Tuesday and Friday) clearly grouped */
.hours-table tr + tr th,
.hours-table tr + tr td {
  border-top: 1px solid var(--border);
}

/* ** cards ** */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

/* stretch the heading link so the whole card is clickable */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card h3 a:focus-visible {
  outline: none;
}

.card:focus-within {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

.card p {
  color: var(--muted);
}

.card-more {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent);
}

/* ** doctor previews ** */
.doctor-preview-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.doctor-preview p {
  margin: 0;
}

.doctor-preview-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}

.doctor-preview-role {
  font-size: 0.9rem;
  color: var(--muted);
}

.doctor-preview-photo {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  object-fit: cover;
}

/* ** page header and breadcrumbs ** */
.page-header {
  padding-block: 2rem 1.75rem;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  max-width: 22ch;
}

.page-header .hero-lead {
  margin-bottom: 0;
}

/* meet the team intro: the doctors' names on one line, the clinic and town on the next */
.team-intro > span {
  display: block;
}

.team-intro-names {
  font-weight: 600;
  color: var(--text);
}

.portal-note {
  margin: 1rem 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--muted);
}

/* ** page content ** */
.page-layout {
  display: grid;
  gap: 2rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose li {
  margin-bottom: 0.4rem;
}

.sidebar {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.sidebar-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sidebar-card h2 {
  font-size: 1.25rem;
}

.sidebar-card p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: inline-block;
  padding-block: 0.15rem;
  font-weight: 500;
}

.notice {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-small);
}

.notice p:last-child {
  margin-bottom: 0;
}

/* ** insurance providers and conditions ** */
.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

/* condition tiles size to their text so longer names stay on one line */
.condition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.prose .provider-list li,
.prose .condition-list li {
  margin: 0;
  padding: 0.65rem 1rem;
  font-weight: 600;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
}

/* plan notes such as "(acupuncture)" stay readable but lighter than the name */
.provider-detail {
  font-weight: 400;
}

/* ** service accordions ** */
.service-list {
  display: grid;
  gap: 0.6rem;
  max-width: 52rem;
}

.service-accordion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-accordion[open] {
  border-color: var(--accent);
}

/* service name and teaser in the first column, chevron in the second */
.service-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.1rem 1rem;
  min-height: 48px;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  list-style: none;
  cursor: pointer;
}

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

/* chevron that points down when closed and up when open */
.service-accordion summary::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.35rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.service-accordion[open] summary::after {
  transform: rotate(-135deg);
}

.service-accordion summary:hover .summary-title {
  color: var(--accent-dark);
}

.summary-title {
  grid-column: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.summary-teaser {
  grid-column: 1;
  font-size: 0.95rem;
  color: var(--muted);
}

/* inset divider between the summary and the opened content */
.accordion-body {
  margin-inline: 1.15rem;
  padding: 0.9rem 0 1.1rem;
  border-top: 1px solid var(--border);
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body a {
  font-weight: 600;
}

/* ** team ** */
.team-grid {
  display: grid;
  gap: 1.25rem;
}

/* photo beside the name on phones, with the biography running full width below */
.team-card {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  grid-template-areas:
    "photo heading"
    "bio bio";
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* both headshots are pre-cropped to 4:5; object-fit keeps any replacement photo proportional */
.team-photo {
  grid-area: photo;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-small);
  background: var(--surface-soft);
}

.team-card-heading {
  grid-area: heading;
}

.team-card-heading h2 {
  margin-bottom: 0.25rem;
  font-size: 1.4rem;
}

.team-role {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.team-card-bio {
  grid-area: bio;
  margin: 0;
  color: var(--muted);
}

.team-card-bio p:last-child {
  margin-bottom: 0;
}

/* ** call to action band ** */
.cta-band {
  padding-block: 2.75rem;
  background: var(--accent-soft);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-inner {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.cta-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
}

/* ** footer ** */
.site-footer {
  padding-block: 2.5rem 1.25rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.95rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
}

.footer-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-address,
.footer-contact {
  margin: 0 0 0.75rem;
}

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

.footer-contact li {
  padding-block: 0.15rem;
}

.footer-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--footer-muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-heading {
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-links {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.2rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.4rem;
}

/* ** tablet layout ** */
@media (min-width: 640px) {
  .section,
  .cta-band {
    padding-block: 3.5rem;
  }

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

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

  .team-card {
    grid-template-columns: 9rem minmax(0, 1fr);
    grid-template-areas:
      "photo heading"
      "photo bio";
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 0.75rem 1.5rem;
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

/* ** desktop layout ** */
@media (min-width: 960px) {
  .hero-section {
    padding-block: 3.5rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 3rem;
  }

  .page-header {
    padding-block: 2.75rem 2.5rem;
  }

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

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

  .team-card {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 4rem;
  }

  .page-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: 3.5rem;
  }

  .sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

/* ** desktop navigation ** */
/* the full nav needs about 1140px, so narrower screens keep the menu button (matches main.js) */
@media (min-width: 1160px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.6rem;
    border-bottom: 0;
    border-radius: var(--radius-small);
    font-size: inherit;
    white-space: nowrap;
  }

  .nav-phone {
    display: none;
  }

  .nav-link[aria-current] {
    background: transparent;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  .nav-cta {
    width: auto;
    margin: 0 0 0 0.75rem;
    white-space: nowrap;
  }
}

/* ** high contrast mode ** */
/* keep the menu icon bars visible when Windows forces system colors */
@media (forced-colors: active) {
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    forced-color-adjust: none;
    background: CanvasText;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
