/* Dunnellon brand: orange, cream, condensed headings, and the supplied photography. */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-page: #fff2e1;
  --color-section-alt: #ffe7d3;
  --color-surface: #fff9ef;
  --color-surface-2: #ffebd7;
  --color-ink: #282119;
  --color-muted: #625348;
  --color-line: #dfc6ac;
  --color-brand: #a83513;
  --color-brand-dark: #282119;
  --color-brand-hover: #842a10;
  --color-accent: #a83513;
  --color-accent-soft: #f8ddc5;
  --color-on-brand: #fff9ef;
  --color-orange: #ff7b35;
  --color-orange-deep: #e9662b;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --site-width: 1580px;
  --gutter: clamp(20px, 6.1vw, 110px);
  --section-space: clamp(56px, 5vw, 90px);
  --site-header-height: 121px;
  --radius: 3px;
  --button-radius: 4px;
}

body {
  font-weight: 400;
}

:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 5px;
}

.hero h1,
.section h1,
.section h2,
.section h3,
.section h4,
.legal-document h1,
.legal-document h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.section h2,
.home-services h2,
.home-benefits h2,
.reviews h2 {
  max-width: 1200px;
  font-size: clamp(2.3rem, 3.9vw, 4.35rem);
}

.section p {
  line-height: 1.65;
}

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

/* The header's fixed positioning and measured spacer remain in base.css. */
.site-header {
  background: rgba(255, 249, 239, 0.98);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.nav {
  gap: clamp(20px, 2.5vw, 46px);
  justify-content: space-between;
}

.brand,
.footer-lockup {
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header .brand-logo {
  width: 88px;
  height: 88px;
}

.brand .brand-lockup,
.footer-lockup .brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-lockup strong,
.footer-lockup .brand-lockup strong {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.15vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-lockup > span {
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.05vw, 1.2rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-links {
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 38px);
  margin: 0 auto;
}

.nav-links a,
.nav-dropdown summary {
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown-menu {
  min-width: 260px;
  background: var(--color-surface);
  border-radius: var(--radius);
}

.nav-dropdown-menu a {
  font-size: 0.92rem;
}

@media (min-width: 721px) and (hover: hover) and (pointer: fine) {
  /* Keep the menu open while the pointer crosses the gap below Programs. */
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 52px;
  padding: 16px 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button::after {
  content: "\2192";
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 1.45em;
  font-weight: 400;
  line-height: 1;
}

.nav-action .button {
  padding: 13px 18px;
  font-size: 0.94rem;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--color-brand);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.text-link::after {
  content: "\2192";
}

/* Split heroes keep the copy as HTML and display the original photos with CSS crops. */
.hero.hero-split {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--color-orange);
  border-bottom: 5px solid var(--color-orange-deep);
}

.hero-split::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(54% + 12px);
  background: var(--color-page);
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-split > .hero-background-image,
.hero-split > .hero-slideshow {
  right: 0;
  left: auto;
  width: 54%;
  height: 100%;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slideshow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-slideshow .hero-background-image {
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.hero-slideshow .is-previous {
  opacity: 1;
  z-index: 0;
}

.hero-slideshow .is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slideshow-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  z-index: 3;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  font: 700 0.85rem var(--font-body);
  cursor: pointer;
}

.hero-slideshow-toggle:hover {
  background: var(--color-accent-soft);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .hero-background-image {
    transition: none;
  }
}

.hero-split .inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 49% 51%;
  min-height: clamp(540px, 41vw, 735px);
  padding: 0;
}

.hero-copy {
  grid-column: 1;
  min-width: 0;
  align-self: center;
  padding: clamp(42px, 4vw, 72px) 24px clamp(48px, 4.7vw, 84px) 0;
}

.home-hero h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 5.8vw, 6.5rem);
  line-height: 1.06;
}

.hero-title-lead,
.hero-title-coaching,
.hero-title-location {
  display: block;
}

.hero-title-lead {
  white-space: nowrap;
}

.hero-title-highlight {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 12px 0 5px;
  padding: 0.04em 0.1em 0.1em;
  white-space: nowrap;
}

.hero-title-highlight::before {
  content: "";
  position: absolute;
  inset: 0 -0.08em;
  z-index: -1;
  background: var(--color-page);
  transform: skewX(-9deg);
}

.hero-title-coaching {
  margin-top: 0.14em;
  font-size: 0.62em;
  line-height: 1.16;
}

.hero-title-location {
  font-size: 0.67em;
  line-height: 1.14;
}

.hero.hero-split:not(.home-hero) h1 {
  font-size: clamp(2.8rem, 4.3vw, 5.25rem);
}

.hero.hero-split p:not(.section-eyebrow) {
  max-width: 560px;
  color: var(--color-ink);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  line-height: 1.65;
}

.hero-split .button {
  background: var(--color-surface);
  color: var(--color-brand);
}

.hero-split .button:hover {
  background: var(--color-brand-dark);
  color: var(--color-surface);
}

.hero-actions {
  gap: 24px;
  margin-top: 30px;
}

.hero-actions .button {
  margin-top: 0;
}

.hero-schedule-link {
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 5px;
}

.hero-schedule-link:hover {
  text-decoration: underline;
}

/* Three main programs, followed by the other supplied program descriptions. */
.section.home-services {
  background: var(--color-page);
}

.program-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.program-feature {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.program-feature-image {
  display: block;
  width: 100%;
  height: clamp(180px, 15vw, 245px);
  object-fit: cover;
  object-position: center 35%;
  border-bottom: 3px solid var(--color-orange);
}

.program-feature-copy {
  padding: 18px 20px 24px;
}

.program-feature h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.program-feature h3 a,
.program-extra h3 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
}

.program-feature h3 a::after,
.program-extra h3 a::after {
  content: "\2192";
  color: var(--color-brand);
  font-family: var(--font-body);
  font-size: 1.5rem;
}

.program-feature h3 a:hover,
.program-extra h3 a:hover {
  color: var(--color-brand);
}

.program-feature p,
.program-extra p {
  font-size: 1rem;
}

.program-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
}

.program-extra h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

/* Coaching, stories and secondary page sections. */
.home-benefits {
  background: var(--color-section-alt);
  border-top: 3px solid var(--color-orange-deep) !important;
}

.home-benefits .section-heading-stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.coaching-quote {
  flex: 0 0 auto;
  max-width: 360px;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--color-brand);
}

.coaching-quote p {
  color: var(--color-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.coaching-quote cite {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-style: normal;
}

.coaching-groups {
  gap: 28px;
  margin-top: 36px;
}

.coaching-groups article {
  padding: 26px;
  border: 0;
  border-top: 3px solid var(--color-orange-deep);
  border-radius: 0;
}

.coaching-groups h3,
.service-note-grid h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.coaching-groups .section-list {
  gap: 0;
  padding-left: 18px;
  margin-top: 16px;
}

.coaching-groups .section-list li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
}

.coaching-groups li::marker {
  color: var(--color-orange-deep);
}

.photo-story {
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.photo-story h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
}

.photo-story-image {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
  border-bottom: 5px solid var(--color-orange);
}

.photo-story-image img {
  display: block;
  width: 100%;
  height: clamp(320px, 34vw, 530px);
  object-fit: cover;
  object-position: center 35%;
}

.portrait-photo img {
  height: clamp(380px, 40vw, 570px);
  object-fit: contain;
}

.home-bio .photo-story-image img {
  object-position: center top;
}

.reason-card,
.review-card,
.faq-list,
.reviews-summary,
.service-note-grid article {
  border-radius: var(--radius);
  box-shadow: none;
}

.about-coach-list h3 {
  font-size: 2rem;
}

.about-coach-list {
  gap: 24px;
}

.about-coach-list .coach-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.coach-portrait {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-right: 4px solid var(--color-orange);
}

.coach-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.coach-card-copy {
  align-self: center;
  padding: 28px;
}

@media (max-width: 1100px) {
  .about-coach-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-coach-list .coach-card {
    grid-template-columns: 1fr;
  }

  .coach-portrait {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 4px solid var(--color-orange);
  }

  .coach-card-copy {
    padding: 24px;
  }
}

.review-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.vektor-scheduler,
.vektor-scheduler-modal {
  --vektor-accent: var(--color-brand) !important;
  --vektor-accent-text: var(--color-on-brand) !important;
}

.vektor-scheduler input[type="radio"],
.vektor-scheduler-modal input[type="radio"] {
  accent-color: var(--color-brand);
}

.final-cta {
  min-height: 430px;
  background: var(--color-brand-dark) !important;
  border-top: 4px solid var(--color-orange) !important;
}

.final-cta::before {
  background: none;
}

.final-cta h2 {
  color: var(--color-surface);
}

.final-cta .button {
  background: var(--color-orange);
  color: var(--color-ink);
}

.final-cta .button:hover {
  background: var(--color-surface);
}

/* The photo strip moves continuously to the left; hover never pauses it. */
.section.home-business-showcase {
  padding-right: 0;
  padding-left: 0;
  background: var(--color-surface);
}

.home-business-showcase .gallery-heading {
  width: min(var(--site-width), calc(100% - var(--gutter) * 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.gallery-pause {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 15px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-brand);
  font: 700 0.88rem var(--font-body);
  cursor: pointer;
}

.gallery-pause:hover {
  border-color: var(--color-brand);
}

.showcase-slide {
  width: clamp(260px, 28vw, 420px);
  height: clamp(230px, 24vw, 340px);
  object-position: center 35%;
  border: 0;
  border-bottom: 4px solid var(--color-orange);
  border-radius: 0;
}

.site-footer {
  background: var(--color-surface);
}

.location-contact .contact-details {
  max-width: 36ch;
  gap: 12px;
  margin-top: 24px;
}

.location-contact .contact-details strong {
  color: var(--color-ink);
}

.location-contact .map-placeholder,
.location-contact .map-placeholder iframe {
  min-height: 440px;
}

.footer-links a:hover,
.footer-visit a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-cta {
  background: var(--color-surface);
  box-shadow: 0 -6px 24px rgba(40, 33, 25, 0.1);
}

.mobile-cta .button {
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a,
  .nav-dropdown summary {
    font-size: 0.88rem;
  }

  .nav-action .button {
    gap: 14px;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .site-header .brand-logo {
    width: 72px;
    height: 72px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .home-benefits .section-heading-stack {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .nav .brand-lockup {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero.hero-split {
    display: flex;
    flex-direction: column;
  }

  .hero-split::before {
    display: none;
  }

  .hero-split .inner {
    order: 1;
    display: block;
    min-height: 0;
  }

  .hero-copy {
    max-width: 720px;
    padding: 44px 0 48px;
  }

  .hero-split > .hero-background-image,
  .hero-split > .hero-slideshow {
    position: relative;
    order: 2;
    width: calc(100% + var(--gutter) * 2);
    height: clamp(310px, 62vw, 540px);
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    border-top: 5px solid var(--color-page);
    clip-path: none;
  }

  .home-hero h1 {
    font-size: clamp(2.9rem, 9.5vw, 5.5rem);
  }

  .hero.hero-split:not(.home-hero) h1 {
    font-size: clamp(2.7rem, 7vw, 4.75rem);
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .program-feature-grid {
    gap: 16px;
  }

  .program-feature-copy {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .lead-modal {
    padding: 12px;
  }

  .lead-modal .lead-modal-panel {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 16px;
  }

  :root {
    --gutter: 22px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand .brand-lockup {
    display: flex;
  }

  .brand-lockup strong {
    font-size: 1.55rem;
  }

  .brand-lockup > span {
    font-size: 0.8rem;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .site-header .brand-logo {
    width: 64px;
    height: 64px;
  }

  .location-contact .map-placeholder,
  .location-contact .map-placeholder iframe {
    min-height: 360px;
  }

  .nav-links {
    justify-items: stretch;
    gap: 0;
    margin: 0;
  }

  .nav-links a,
  .nav-dropdown summary {
    justify-content: flex-start;
    font-size: 1rem;
    text-align: left;
  }

  .nav-dropdown,
  .nav-dropdown-menu {
    justify-items: stretch;
  }

  .nav-dropdown-menu {
    padding-left: 16px;
  }

  .nav-dropdown-menu a {
    white-space: normal;
    font-size: 0.9rem;
  }

  .program-feature-grid,
  .program-extra-grid,
  .about-coach-list {
    grid-template-columns: 1fr;
  }

  .program-feature-image {
    height: clamp(210px, 55vw, 360px);
  }

  .program-feature-copy {
    padding: 20px;
  }

  .program-feature h3 {
    font-size: 2rem;
  }

  .program-extra-grid {
    gap: 24px;
  }

  .coaching-groups article {
    padding: 22px;
  }

  .photo-story-image img {
    height: clamp(300px, 80vw, 480px);
  }

  .portrait-photo img {
    height: 420px;
  }

  .home-business-showcase .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .showcase-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .section-eyebrow {
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {
  .reviews-placeholder {
    overflow-x: auto;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .site-header .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-lockup strong {
    font-size: 1.3rem;
  }

  .brand-lockup > span {
    font-size: 0.68rem;
  }

  .home-hero h1 {
    font-size: 2.65rem;
  }
}

/* Hover feedback uses transforms so the surrounding layout stays still. */
.button,
.gallery-pause,
.nav-toggle,
.lead-modal-close {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 220ms ease, box-shadow 220ms ease;
}

.button::after,
.text-link::after,
.program-feature h3 a::after,
.program-extra h3 a::after,
.nav-dropdown summary::after {
  transition: transform 220ms ease;
}

.program-feature,
.program-extra,
.reason-card,
.review-card,
.service-note-grid > article {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.photo-story-image img,
.brand-logo {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a,
.nav-dropdown summary,
.faq-list summary,
.footer-links a,
.footer-visit a,
.split-copy a {
  transition: color 180ms ease, background-color 180ms ease, transform 220ms ease;
}

.program-feature:focus-within,
.reason-card:focus-within,
.service-note-grid > article:focus-within {
  border-color: var(--color-orange-deep);
}

.faq-list summary:focus-visible,
.nav-dropdown-menu a:focus-visible {
  color: var(--color-brand);
  background-color: var(--color-accent-soft);
}

@media (hover: hover) and (pointer: fine) {
  .program-feature:hover,
  .reason-card:hover,
  .review-card:hover,
  .service-note-grid > article:hover {
    border-color: var(--color-orange-deep);
    box-shadow: 0 12px 28px rgba(40, 33, 25, 0.09);
  }

  .gallery-pause:hover,
  .nav-toggle:hover,
  .lead-modal-close:hover,
  .nav-dropdown-menu a:hover,
  .faq-list summary:hover {
    color: var(--color-brand);
    background-color: var(--color-accent-soft);
  }

  .split-copy a:hover,
  .program-extra:hover h3 a {
    color: var(--color-brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
}

@media (min-width: 721px) {
  .nav-links > a,
  .nav-dropdown summary {
    position: relative;
  }

  .nav-links > a::before,
  .nav-dropdown summary::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
  }

  .nav-links > a:hover::before,
  .nav-links > a:focus-visible::before,
  .nav-dropdown summary:hover::before,
  .nav-dropdown summary:focus-visible::before,
  .nav-dropdown[open] summary::before {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button:focus-visible::after,
  .text-link:focus-visible::after,
  .program-feature:focus-within h3 a::after,
  .program-extra:focus-within h3 a::after {
    transform: translateX(4px);
  }

  .nav-dropdown[open] summary::after {
    transform: translateY(3px) rotate(225deg);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 33, 25, 0.16);
  }

  .button:hover::after,
  .text-link:hover::after,
  .program-feature:hover h3 a::after,
  .program-extra:hover h3 a::after {
    transform: translateX(4px);
  }

  .program-feature:hover,
  .reason-card:hover,
  .review-card:hover,
  .service-note-grid > article:hover {
    transform: translateY(-4px);
  }

  .program-extra:hover,
  .nav-dropdown-menu a:hover {
    transform: translateX(3px);
  }

  .photo-story-image:hover img,
  .brand:hover .brand-logo {
    transform: scale(1.035);
  }

  .button:active {
    transform: translateY(0);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button::after,
  .gallery-pause,
  .nav-toggle,
  .lead-modal-close,
  .text-link::after,
  .program-feature,
  .program-extra,
  .program-feature h3 a::after,
  .program-extra h3 a::after,
  .reason-card,
  .review-card,
  .service-note-grid > article,
  .photo-story-image img,
  .brand-logo,
  .nav-links a,
  .nav-links > a::before,
  .nav-dropdown summary,
  .nav-dropdown summary::before,
  .nav-dropdown summary::after,
  .faq-list summary,
  .footer-links a,
  .footer-visit a,
  .split-copy a {
    transition: none;
  }
}
