/* =============================================================
   Drs. Engen, Hahn & Pizzini — Design System
   style.css — Complete design system for all 7 pages
   ============================================================= */

/* -----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------------------- */
:root {
  /* dark surfaces */
  --color-bg-hero:           #1C2B2D;
  --color-bg-evergreen:      #2D4A3E;
  --color-bg-ink:            #16201E;
  /* light surfaces */
  --color-bg-light:          #F4F2EE;
  --color-bg-alt:            #E8EBE6;
  --color-bg-card:           #FBFAF7;
  /* text */
  --color-text-on-dark:      #EEF0EC;
  --color-text-body:         #222820;
  --color-text-muted:        #4A5E6B;
  --color-text-muted-ondark: #A9BDB4;
  --color-eyebrow-light:     #3A6355;
  /* accent / motif */
  --color-accent:            #7EB8A4;
  --color-accent-glow:       #8FD0B8;
  /* lines / borders */
  --color-rule:              #D8D3C9;
  --color-rule-dark:         rgba(126, 184, 164, .28);
  --color-border-card:       #E2DDD4;
  /* buttons */
  --btn-primary-bg:          #2D4A3E;
  --btn-primary-bg-hover:    #22382F;
  --btn-primary-text:        #EEF0EC;
  --btn-ondark-bg:           #7EB8A4;
  --btn-ondark-text:         #16201E;
  /* typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --lh-body:      1.72;
  --tracking-eyebrow: .18em;
  /* spacing scale (4px base) */
  --space-1:  .25rem;
  --space-2:  .5rem;
  --space-3:  .75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;
  --section-y: clamp(4rem, 8vw, 8rem);
  --container: 1200px;
  --container-prose: 68ch;
  /* radius / chrome */
  --radius:      4px;
  --radius-pill: 999px;
  --nav-h:       68px;
  --mobilebar-h: 60px;
  --focus-ring:  2px solid var(--color-accent);
  --ease:        cubic-bezier(.22, 1, .36, 1);
}

/* -----------------------------------------------------------
   2. RESET / BASE
   ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-text-body);
  background: var(--color-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
}

address {
  font-style: normal;
}

/* -----------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw + 0.5rem, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.0rem, 3.8vw + 0.5rem, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw + 0.25rem, 1.65rem);
  font-style: italic;
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.1rem, 1.8vw + 0.2rem, 1.35rem);
  line-height: 1.25;
}

h5 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.35;
}

h6 {
  font-size: .875rem;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.4;
}

p {
  line-height: var(--lh-body);
}

p + p {
  margin-top: .85em;
}

/* eyebrow label */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-eyebrow-light);
  line-height: 1.4;
}

.section--dark .eyebrow,
.section--evergreen .eyebrow,
.section--ink .eyebrow {
  color: var(--color-text-muted-ondark);
}

/* lead paragraph */
.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.125rem, 1vw + 0.75rem, 1.375rem);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.section--dark .lead,
.section--evergreen .lead,
.section--ink .lead {
  color: var(--color-text-muted-ondark);
}

/* pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.35;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  max-width: 38ch;
  color: var(--color-text-body);
  position: relative;
}

.section--dark .pull-quote,
.section--evergreen .pull-quote,
.section--ink .pull-quote {
  color: var(--color-text-on-dark);
}

/* stat number */
.stat-number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(2.25rem, 3vw, 3rem);
  line-height: 1;
}

/* prose container */
.prose {
  max-width: var(--container-prose);
  font-size: 1.0625rem;
}

.prose p + p {
  margin-top: 1em;
}

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: .75em;
}

.prose li + li {
  margin-top: .375em;
}

/* -----------------------------------------------------------
   4. LAYOUT
   ----------------------------------------------------------- */
.wrap {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section {
  width: 100%;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section--dark {
  background: var(--color-bg-hero);
  color: var(--color-text-on-dark);
}

.section--evergreen {
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
}

.section--ink {
  background: var(--color-bg-ink);
  color: var(--color-text-on-dark);
}

.section--light {
  background: var(--color-bg-light);
  color: var(--color-text-body);
}

.section--alt {
  background: var(--color-bg-alt);
  color: var(--color-text-body);
}

/* -----------------------------------------------------------
   5. PREVIEW BANNER
   ----------------------------------------------------------- */
.preview-banner {
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .8125rem;
  font-family: var(--font-body);
  z-index: 9999;
  position: relative;
}

.preview-banner a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.preview-banner a:hover {
  color: var(--color-accent-glow);
}

/* -----------------------------------------------------------
   6. HEADER / NAV
   ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 43, 45, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-rule-dark);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  min-height: var(--nav-h);
}

/* scrolled state */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.wordmark {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* fallback wordmark text if logo missing */
.wordmark-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-on-dark);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

/* hamburger → X animation */
.nav-open .hamburger__bar:nth-child(1) {
  transform: rotate(45deg) translate(3px, 4px);
}
.nav-open .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-open .hamburger__bar:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -4px);
}

/* SITE NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-text-on-dark);
  text-decoration: none;
  letter-spacing: .02em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .16s var(--ease), color .16s;
  white-space: nowrap;
}

.site-nav a:hover {
  border-bottom-color: var(--color-accent);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

.nav-cta {
  border-bottom: none !important;
  flex-shrink: 0;
}

/* -----------------------------------------------------------
   7. NAV OVERLAY (mobile)
   ----------------------------------------------------------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 43, 45, .6);
  z-index: 190;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-open .nav-overlay {
  display: block;
}

/* -----------------------------------------------------------
   8. HAMBURGER + MOBILE NAV BREAKPOINT
   ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 43, 45, .98);
    z-index: 200;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-left: 0;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .site-nav ul a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 56px;
    border-bottom: none;
  }

  .site-nav ul a:hover,
  .site-nav ul a.is-active,
  .site-nav ul a[aria-current="page"] {
    color: var(--color-accent);
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 1rem;
  }
}

/* -----------------------------------------------------------
   9. BUTTONS
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: .7rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background .16s var(--ease), transform .16s var(--ease), border-color .16s var(--ease), color .16s;
  white-space: nowrap;
  border: 0;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 0;
}

.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  transform: translateY(-1px);
}

.btn-primary--ondark {
  background: var(--btn-ondark-bg);
  color: var(--btn-ondark-text);
  border: 0;
}

.btn-primary--ondark:hover {
  background: #8FD0B8;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: inherit;
  padding: calc(.7rem - 1.5px) calc(1.75rem - 1.5px);
}

.btn-ghost:hover {
  background: rgba(126, 184, 164, .12);
  border-color: var(--color-bg-evergreen);
}

/* -----------------------------------------------------------
   10. FOCUS VISIBLE (site-wide)
   ----------------------------------------------------------- */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   11. LASER-LINE SVG (ANIMATED STATE)
   ----------------------------------------------------------- */
.laser-line {
  display: block;
  width: 100%;
  height: 24px;
  overflow: visible;
}

.laser-line__path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .85;
  animation:
    laser-draw 1.6s cubic-bezier(.22, 1, .36, 1) forwards,
    laser-pulse 3.2s ease-in-out 1.6s infinite;
}

@keyframes laser-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes laser-pulse {
  0%, 100% { opacity: .85; }
  50%       { opacity: .55; }
}

/* STATIC HAIRLINE (everywhere else) */
.laser-static {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-rule);
  border: none;
}

.section--dark .laser-static,
.section--evergreen .laser-static,
.section--ink .laser-static {
  background: var(--color-rule-dark);
}

/* -----------------------------------------------------------
   12. HERO SECTION
   ----------------------------------------------------------- */
.hero {
  min-height: clamp(560px, 88vh, 760px);
  display: grid;
  grid-template-columns: 58fr 42fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-hero);
}

.hero__content {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  z-index: 1;
  position: relative;
}

.hero__media {
  position: relative;
  height: 100%;
  min-height: 460px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* soft left-edge gradient to fuse portrait into canvas */
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 0;
  background: linear-gradient(to right, var(--color-bg-hero) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}

.hero__eyebrow {
  color: var(--color-accent);
  margin-bottom: .75rem;
}

.hero__title {
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
}

.hero__laser {
  margin-bottom: 1.5rem;
  max-width: 60%;
}

.hero__lead {
  color: var(--color-text-muted-ondark);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* TOPOGRAPHIC OVERLAY */
.topo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 30px,
      rgba(126, 184, 164, .15) 30px,
      rgba(126, 184, 164, .15) 31px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(126, 184, 164, .15) 30px,
      rgba(126, 184, 164, .15) 31px
    );
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__media {
    height: 40vh;
    min-height: unset;
    order: 2;
  }

  .hero__content {
    order: 1;
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
  }

  .hero__laser {
    max-width: 80%;
  }
}

/* -----------------------------------------------------------
   13. TRUST BAR
   ----------------------------------------------------------- */
.trust-bar {
  background: var(--color-bg-evergreen);
  padding: 1.25rem 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  align-items: center;
}

.trust-bar__item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-text-on-dark);
  padding: .5rem 2rem;
  border-right: 1px solid var(--color-rule-dark);
  text-align: center;
  line-height: 1.4;
}

.trust-bar__item:last-child {
  border-right: none;
}

@media (max-width: 640px) {
  .trust-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--color-rule-dark);
    width: 100%;
    padding: .625rem 1rem;
  }

  .trust-bar__item:last-child {
    border-bottom: none;
  }
}

/* -----------------------------------------------------------
   14. CREDENTIAL / DOCTOR CARDS
   ----------------------------------------------------------- */
.doctor-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border-card);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  margin-bottom: 2rem;
  transition: border-left-color .16s;
}

.doctor-card:hover {
  border-left-color: var(--color-bg-evergreen);
}

.doctor-card--alt .doctor-card__photo {
  order: 1;
}

.doctor-card--alt .doctor-card__content {
  order: 0;
}

.doctor-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 360px;
  display: block;
}

.doctor-card__content {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-card__eyebrow {
  color: var(--color-eyebrow-light);
  margin-bottom: .5rem;
}

.doctor-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
  color: var(--color-text-body);
  margin-bottom: .25rem;
}

.doctor-card__role {
  color: var(--color-text-muted);
  font-size: .875rem;
  margin-bottom: 1rem;
}

.doctor-card__bio {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.doctor-card__rule {
  width: 100%;
  height: 1px;
  background: var(--color-rule);
  margin-bottom: 1.25rem;
}

.doctor-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.doctor-card__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-eyebrow-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: auto;
}

.doctor-card__link:hover {
  color: var(--color-bg-evergreen);
}

/* credential chip */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-eyebrow-light);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .75rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .doctor-card {
    grid-template-columns: 1fr;
  }

  .doctor-card__photo {
    min-height: 260px;
    order: 0 !important;
  }

  .doctor-card__content {
    order: 1 !important;
  }
}

/* -----------------------------------------------------------
   15. SERVICE CARDS GRID
   ----------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .16s var(--ease), transform .16s var(--ease);
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.svc-card__icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-bg-evergreen);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.svc-card__title {
  margin-bottom: .5rem;
  color: var(--color-text-body);
}

.svc-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.svc-card__list {
  list-style: none;
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.svc-card__list li {
  font-size: .875rem;
  color: var(--color-text-body);
  padding-left: 1rem;
  position: relative;
}

.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-eyebrow-light);
  text-decoration: none;
}

.svc-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* -----------------------------------------------------------
   16. STEPS / PATIENT PATH
   ----------------------------------------------------------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  counter-reset: steps;
  position: relative;
}

.step {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .875rem;
  flex-shrink: 0;
  counter-increment: steps;
}

.step__num::after {
  content: counter(steps);
}

.section--dark .step__num,
.section--ink .step__num {
  background: var(--color-accent);
  color: var(--color-bg-ink);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: inherit;
  margin-bottom: .375rem;
}

.step__desc {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.section--dark .step__desc,
.section--evergreen .step__desc,
.section--ink .step__desc {
  color: var(--color-text-muted-ondark);
}

/* connecting hairline between steps */
.steps--connected .step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 2.5rem;
  right: calc(-2rem - .5px);
  height: 1px;
  background: var(--color-rule);
}

.section--dark .steps--connected .step:not(:last-child)::after,
.section--evergreen .steps--connected .step:not(:last-child)::after,
.section--ink .steps--connected .step:not(:last-child)::after {
  background: var(--color-rule-dark);
}

@media (max-width: 640px) {
  .steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .steps--connected .step:not(:last-child)::after {
    display: none;
  }
}

/* -----------------------------------------------------------
   17. LIVE HOURS BADGE
   ----------------------------------------------------------- */
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-pill);
  padding: .375rem .875rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .8125rem;
  color: var(--color-text-body);
  white-space: nowrap;
}

.hours-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hours-badge--closed .hours-badge__dot {
  background: var(--color-text-muted);
  animation: none;
}

/* -----------------------------------------------------------
   18. INFOCARDS / SECTION HELPERS
   ----------------------------------------------------------- */
.infocards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.infocard {
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius);
}

.infocard__icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-bg-evergreen);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: .75rem;
}

.infocard__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: .375rem;
  color: var(--color-text-body);
}

.infocard__desc {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -----------------------------------------------------------
   19. TWO-COLUMN LAYOUT
   ----------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.two-col--center {
  align-items: center;
}

.two-col--58-42 {
  grid-template-columns: 58fr 42fr;
}

.two-col--42-58 {
  grid-template-columns: 42fr 58fr;
}

@media (max-width: 768px) {
  .two-col,
  .two-col--58-42,
  .two-col--42-58 {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------
   20. CREDENTIAL / FEATURE BOX (Engen dual-cert etc.)
   ----------------------------------------------------------- */
.credential-box {
  border: 1px solid var(--color-rule-dark);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(126, 184, 164, .06);
}

.credential-box__eyebrow {
  color: var(--color-text-muted-ondark);
  margin-bottom: .75rem;
}

.credential-box__headline {
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
}

.credential-box__body {
  color: var(--color-text-muted-ondark);
  font-size: .9375rem;
  line-height: 1.65;
}

/* -----------------------------------------------------------
   21. REFERRAL PAD CARD
   ----------------------------------------------------------- */
.referral-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--color-rule-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.referral-card__headline {
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
}

.referral-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.referral-card__list li {
  font-size: .9375rem;
  color: var(--color-text-muted-ondark);
  padding-left: 1.25rem;
  position: relative;
}

.referral-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* -----------------------------------------------------------
   22. LOCATION / MAP EMBED
   ----------------------------------------------------------- */
.map-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-card);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.location-nap {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.location-nap__address {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.location-nap__phone {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text-body);
  text-decoration: none;
}

.location-nap__phone:hover {
  color: var(--color-eyebrow-light);
}

.section--dark .location-nap__phone,
.section--alt .location-nap__phone {
  color: var(--color-text-body);
}

.location-nap__maps-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-eyebrow-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-nap__maps-link:hover {
  color: var(--color-bg-evergreen);
}

/* -----------------------------------------------------------
   23. FOOTER
   ----------------------------------------------------------- */
.footer-cta {
  background: var(--color-bg-evergreen);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}

.footer-cta__headline {
  color: var(--color-text-on-dark);
  margin-bottom: 1.5rem;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-body {
  background: var(--color-bg-ink);
  color: var(--color-text-on-dark);
  padding: clamp(3rem, 5vw, 4rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-on-dark);
  margin-bottom: .5rem;
}

.footer-tagline {
  font-size: .875rem;
  color: var(--color-text-muted-ondark);
  line-height: 1.5;
}

.footer-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted-ondark);
  margin-bottom: .75rem;
  display: block;
}

.footer-col address {
  font-size: .9rem;
  color: var(--color-text-muted-ondark);
  line-height: 1.6;
  margin-bottom: .5rem;
}

.footer-phone {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-on-dark);
  text-decoration: none;
  margin-top: .375rem;
}

.footer-phone:hover {
  color: var(--color-accent);
}

/* hours list in footer */
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
  color: var(--color-text-muted-ondark);
}

.hours-list li span:first-child {
  flex-shrink: 0;
}

/* footer page links */
.footer-col--links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.footer-col--links a {
  font-size: .875rem;
  color: var(--color-text-muted-ondark);
  text-decoration: none;
  transition: color .16s;
}

.footer-col--links a:hover {
  color: var(--color-accent);
}

.footer-legal {
  border-top: 1px solid var(--color-rule-dark);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: .8125rem;
  color: var(--color-text-muted-ondark);
}

/* -----------------------------------------------------------
   24. MOBILE BOTTOM BAR
   ----------------------------------------------------------- */
.mobile-bar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    height: var(--mobilebar-h);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  body {
    padding-bottom: var(--mobilebar-h);
  }
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .75rem;
  text-decoration: none;
  min-height: 44px;
  transition: opacity .16s;
}

.mobile-bar__btn:hover {
  opacity: .85;
}

.mobile-bar__btn + .mobile-bar__btn {
  border-left: 1px solid var(--color-rule-dark);
}

.mobile-bar__btn--call {
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
}

.mobile-bar__btn--request {
  background: var(--color-bg-ink);
  color: var(--color-accent);
}

/* -----------------------------------------------------------
   25. INTERSECTION OBSERVER REVEAL
   ----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* laser-line reveal: slide in from left */
.reveal--laser {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.reveal--laser.in-view {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------------------------
   26. ACCORDION
   ----------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.accordion__item {
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--color-text-body);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}

.accordion__trigger:hover {
  background: var(--color-bg-alt);
}

.accordion__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 2;
  transition: transform .22s var(--ease);
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.accordion__item--open .accordion__panel {
  display: block;
}

.section--dark .accordion__item,
.section--evergreen .accordion__item,
.section--ink .accordion__item {
  border-color: var(--color-rule-dark);
  background: rgba(255, 255, 255, .05);
}

.section--dark .accordion__trigger,
.section--evergreen .accordion__trigger,
.section--ink .accordion__trigger {
  color: var(--color-text-on-dark);
}

.section--dark .accordion__panel,
.section--evergreen .accordion__panel,
.section--ink .accordion__panel {
  color: var(--color-text-muted-ondark);
}

/* -----------------------------------------------------------
   27. CONTACT FORM
   ----------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 560px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.form-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-text-body);
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-body);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color .16s;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: .7;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(126, 184, 164, .18);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(126, 184, 164, .12);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-eyebrow-light);
  font-size: .9375rem;
}

.form-success.is-visible {
  display: block;
}

/* -----------------------------------------------------------
   28. SCROLL-TO-TOP BUTTON
   ----------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: calc(var(--mobilebar-h) + 1rem);
  right: 1.25rem;
  z-index: 140;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px);
  background: var(--btn-primary-bg-hover);
}

@media (min-width: 761px) {
  .scroll-top {
    bottom: 1.5rem;
  }
}

/* -----------------------------------------------------------
   29. SECTION HEADER PATTERN (eyebrow + headline + lead)
   ----------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .eyebrow {
  margin-bottom: .75rem;
}

.section-header h2 {
  margin-bottom: .75rem;
}

.section-header .lead {
  max-width: 56ch;
}

/* -----------------------------------------------------------
   30. UTILITY CLASSES
   ----------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-accent   { color: var(--color-accent); }
.text-muted    { color: var(--color-text-muted); }
.text-ondark   { color: var(--color-text-on-dark); }
.text-center   { text-align: center; }
.text-balance  { text-wrap: balance; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

.flex        { display: flex; }
.flex-wrap   { flex-wrap: wrap; }
.gap-1       { gap: var(--space-1); }
.gap-2       { gap: var(--space-2); }
.gap-3       { gap: var(--space-3); }
.gap-4       { gap: var(--space-4); }
.gap-5       { gap: var(--space-5); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* -----------------------------------------------------------
   31. NEW PATIENTS PAGE — specific components
   ----------------------------------------------------------- */
.new-patient-steps {
  counter-reset: np-steps;
}

.np-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-rule);
}

.np-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.np-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-bg-evergreen);
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  flex-shrink: 0;
  counter-increment: np-steps;
}

.np-step__num::after {
  content: counter(np-steps);
}

.np-step__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: .25rem;
  color: var(--color-text-body);
}

.np-step__desc {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* insurance logos / list */
.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
}

.insurance-list li {
  display: inline-flex;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------
   32. TECHNOLOGY PAGE — specific components
   ----------------------------------------------------------- */
.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--color-rule);
}

.tech-feature:last-child {
  border-bottom: none;
}

.tech-feature--reverse .tech-feature__media {
  order: 1;
}

@media (max-width: 768px) {
  .tech-feature {
    grid-template-columns: 1fr;
  }

  .tech-feature--reverse .tech-feature__media {
    order: 0;
  }
}

.tech-feature__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-card);
}

.tech-feature__eyebrow {
  margin-bottom: .5rem;
}

.tech-feature__title {
  margin-bottom: .75rem;
}

.tech-feature__desc {
  color: var(--color-text-muted);
  font-size: .9375rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* -----------------------------------------------------------
   33. TEAM PAGE — specific components
   ----------------------------------------------------------- */
.team-bio-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--color-rule);
}

.team-bio-section:last-child {
  border-bottom: none;
}

.team-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.team-secondary-photo {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-accent);
}

.team-secondary-photo img {
  width: 100%;
  display: block;
}

.education-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
}

.education-list li {
  font-size: .9375rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}

.education-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* -----------------------------------------------------------
   34. PERIODONTICS / IMPLANTS PAGE — specific components
   ----------------------------------------------------------- */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.condition-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.condition-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: .375rem;
  color: var(--color-text-body);
}

.condition-card__desc {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* treatment table / comparison */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

.compare-table th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-eyebrow-light);
  padding: .625rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--color-rule);
}

.compare-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--color-rule);
  color: var(--color-text-body);
  vertical-align: top;
  line-height: 1.5;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: var(--color-bg-alt);
}

/* -----------------------------------------------------------
   35. PAGE HERO (non-home — shorter inner banner)
   ----------------------------------------------------------- */
.page-hero {
  background: var(--color-bg-hero);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero .topo-overlay {
  opacity: .04;
}

.page-hero__eyebrow {
  color: var(--color-accent);
  margin-bottom: .75rem;
}

.page-hero__title {
  color: var(--color-text-on-dark);
  margin-bottom: .75rem;
}

.page-hero__lead {
  color: var(--color-text-muted-ondark);
  max-width: 56ch;
}

/* -----------------------------------------------------------
   36. BLOCKQUOTE / TESTIMONIAL
   ----------------------------------------------------------- */
blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.35;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  max-width: 38ch;
  color: var(--color-text-body);
}

.section--dark blockquote,
.section--evergreen blockquote,
.section--ink blockquote {
  color: var(--color-text-on-dark);
}

blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-text-muted);
  margin-top: .75rem;
}

.section--dark blockquote cite,
.section--evergreen blockquote cite,
.section--ink blockquote cite {
  color: var(--color-text-muted-ondark);
}

/* -----------------------------------------------------------
   37. REVIEW LINKS SECTION
   ----------------------------------------------------------- */
.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-card);
  background: var(--color-bg-card);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color .16s, color .16s;
}

.review-link:hover {
  border-color: var(--color-accent);
  color: var(--color-eyebrow-light);
}

/* -----------------------------------------------------------
   38. REDUCED MOTION
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .laser-line__path {
    animation: none;
    stroke-dashoffset: 0;
    opacity: .7;
  }

  .reveal,
  .reveal--laser {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
