/* 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-surface: #fffdf9;
  --color-section-alt: var(--color-surface);
  --color-surface-2: var(--color-page);
  --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: var(--color-page);
  --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);
}

/* White sections reveal one fixed watermark; cream sections cover it. */
#site-main {
  isolation: isolate;
  clip-path: inset(0);
  background: var(--color-surface);
}

#site-main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../media/images/dunnellon-logo-transparent.png") center / clamp(420px, 75vw, 1100px) auto no-repeat;
  opacity: 0.055;
}

/* Count the hero as the first section, so the section below it is lighter. */
#site-main > section {
  background: var(--color-page);
}

#site-main > section:nth-of-type(even) {
  background: transparent;
}

/* The header's fixed positioning and measured spacer remain in base.css. */
.site-header {
  background: rgba(255, 253, 249, 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(14px, 1.4vw, 24px);
  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-links > a,
.nav-dropdown summary {
  white-space: nowrap;
}

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

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

@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: none;
  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: none;
}

.facebook-button,
.social-links .facebook-button,
.split-copy .facebook-button {
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  background: #0866df;
  border-color: #0866df;
  color: #fff;
  opacity: 1;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.facebook-button svg {
  flex: 0 0 22px;
}

.facebook-button:hover,
.social-links .facebook-button:hover,
.split-copy .facebook-button:hover {
  background: #064fae;
  border-color: #064fae;
  color: #fff;
}

.community-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 24px;
}

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

.social-links {
  flex-wrap: wrap;
}

/* Split heroes keep the copy as HTML and display the original photos with CSS crops. */
.hero.hero-split {
  padding-top: 0;
  padding-bottom: 0;
  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-surface);
}

.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;
}

@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-surface);
  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-brand);
  color: var(--color-on-brand);
}

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

.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. */
.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: none;
  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 {
  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;
}

.section.home-we-defy {
  border-top: 4px solid var(--color-orange);
}

.we-defy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
}

.home-we-defy h2 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--color-ink);
}

.home-we-defy p {
  color: var(--color-muted);
}

.home-we-defy .section-eyebrow {
  margin-bottom: 16px;
  color: var(--color-brand);
}

.home-we-defy .button {
  margin-top: 28px;
}

.we-defy-logo {
  width: 100%;
  max-width: 340px;
  margin: 0;
  justify-self: center;
  background: #fff;
  border-bottom: 5px solid var(--color-orange);
}

.we-defy-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .we-defy-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .we-defy-logo {
    max-width: 240px;
  }
}

.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);
}

/* Reviews sit beside the shared lead form, then follow it on small screens. */
.lead-modal .lead-modal-panel {
  padding: 0;
}

.lead-modal .lead-modal-panel.has-reviews {
  width: min(1040px, 100%);
}

.lead-modal .lead-modal-close {
  z-index: 2;
}

.lead-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.has-reviews .lead-modal-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
}

.lead-modal-form {
  min-width: 0;
  padding: 32px;
}

.has-reviews .lead-modal-form {
  grid-column: 2;
  grid-row: 1;
}

.lead-modal-reviews {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 40px 28px 24px;
  background: var(--color-page);
  border-right: 1px solid var(--color-line);
}

.lead-modal-reviews[hidden] {
  display: none;
}

.lead-modal-reviews .section-eyebrow {
  margin-bottom: 12px;
  color: var(--color-brand);
  font-size: 0.72rem;
}

.lead-modal-reviews h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.lead-modal-review {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.lead-modal-review .review-stars {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.lead-modal-review blockquote {
  margin: 0 0 8px;
}

.lead-modal-review blockquote p {
  color: var(--color-ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lead-modal-review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.lead-modal-review figcaption span {
  color: var(--color-muted);
  font-size: 0.75rem;
}

@media (max-width: 820px) {
  .lead-modal .lead-modal-panel.has-reviews {
    width: min(640px, 100%);
  }

  .has-reviews .lead-modal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .has-reviews .lead-modal-form,
  .lead-modal-reviews {
    grid-column: 1;
    grid-row: auto;
  }

  .lead-modal-reviews {
    border-top: 1px solid var(--color-line);
    border-right: 0;
  }
}

.section.final-cta {
  min-height: 430px;
  color: var(--color-ink);
  border-top: 4px solid var(--color-orange);
}

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

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

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

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

.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;
}

.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: 0;
  }

  .lead-modal-form {
    padding: 24px 16px;
  }

  .lead-modal-reviews {
    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,
.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);
  }

  .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,
  .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;
  }
}

/* Orientation-first journey and adult / community program presentation. */
:root {
  --color-mat-blue: #234d78;
  --color-mat-yellow: #f4c64a;
}
.section-eyebrow { font-size: 0.875rem; }
.hero.hero-split .gym-motto {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 4px solid var(--color-mat-yellow);
  color: var(--color-mat-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
.adult-program-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adult-program-grid h3 { font-size: clamp(1.5rem, 1.8vw, 2rem); }
.adult-program-grid .program-feature-image { height: clamp(190px, 18vw, 280px); }
.family-programs-heading { margin-top: 48px; }
.family-programs-heading h3 { margin-bottom: 10px; font-size: 2rem; }
.family-program-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.family-program-grid h3 { font-size: 1.4rem; }
.program-scholarship,
.hero.hero-split p.program-scholarship {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 7px 10px;
  border-left: 3px solid var(--color-mat-yellow);
  background: #eaf0f6;
  color: #23415f;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
}
.community-photo-frame {
  position: relative;
  isolation: isolate;
  padding: 44px 22px 22px;
  background: #eaf0f6;
  border-bottom: 8px solid var(--color-mat-yellow);
}
.community-photo-frame::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -22px 0 0;
  background: url('/_assets/media/images/dunnellon-logo-transparent.png') right top / 70% auto no-repeat;
  opacity: 0.12;
}
.community-photo-frame .photo-story-image { border-bottom: 4px solid var(--color-orange); }
.community-photo-frame .photo-story-image img { object-position: center; height: auto; }
.community-hero .hero-copy h1 { font-size: clamp(2.3rem, 3.7vw, 4.6rem); }
.community-hero .hero-copy { padding-block: 40px; }
.split-copy p + p { margin-top: 18px; }
.cta-support { margin-top: 20px !important; font-size: 1rem; }
.orientation-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 32px; }
.orientation-steps article { padding: 24px; border-top: 4px solid var(--color-mat-blue); }
.orientation-steps article:nth-child(2) { border-top-color: var(--color-mat-yellow); }
.orientation-steps article:nth-child(3) { border-top-color: var(--color-orange); }
.orientation-intro { margin-bottom: 24px; }
.orientation-intro h2 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.15;
}
.orientation-intro p { margin: 0; line-height: 1.6; }
/* The page supplies the visitor-facing title above the unchanged provider form. */
.lead-capture-placeholder .vektor-lead__eyebrow,
.lead-capture-placeholder .vektor-lead__form > h2 { display: none; }
.orientation-follow-up h1 { max-width: 900px; }
.orientation-follow-up .service-note-grid { margin-top: 36px; }
.orientation-follow-up .service-note-grid h2 { font-size: 2rem; }
.thank-you-page > .inner {
  max-width: 1040px;
}
.thank-you-heading {
  text-align: center;
}
.thank-you-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #eaf0f6;
  color: var(--color-mat-blue);
}
.thank-you-heading h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}
.thank-you-heading .section-eyebrow {
  margin: 0 auto 12px;
}
.thank-you-heading .thank-you-lead {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 1.125rem;
}
.thank-you-next-steps {
  gap: 24px;
  margin-top: 40px;
}
.thank-you-next-steps article {
  padding: clamp(20px, 3vw, 32px);
  border-top: 4px solid var(--color-mat-blue);
}
.thank-you-next-steps article + article {
  border-top-color: var(--color-orange);
}
.thank-you-next-steps h2 {
  margin: 0 0 18px;
  font-size: 2rem;
}
.thank-you-next-steps p {
  margin: 0 0 16px;
}
.thank-you-next-steps address {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-style: normal;
}
.thank-you-next-steps .text-link + p {
  margin-top: 16px;
}
.thank-you-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 32px;
}
.thank-you-actions .button {
  margin-top: 0;
  text-align: center;
}
.footer-orientation-link {
  display: inline;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.coach-details { margin-top: 20px; border-top: 1px solid var(--color-line); }
.coach-details summary { padding: 18px 0; color: var(--color-brand); font-weight: 700; cursor: pointer; }
.coach-details p + p { margin-top: 16px; }
.coach-details h4 { margin-block: 24px 12px; font-size: 1.5rem; }
.coach-card .coach-credentials { margin-block: 12px; color: var(--color-mat-blue); }
.nav-dropdown-menu { min-width: 290px; }
@media (min-width: 721px) and (max-width: 1280px) {
  .nav .brand-lockup { display: none; }
  .nav-links { gap: 20px; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
  .nav > .brand { grid-column: 1; grid-row: 1; }
  .nav .brand-lockup { display: flex; }
  .nav > .nav-action { grid-column: 2; grid-row: 1; }
  .nav > .nav-links { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; justify-content: space-between; gap: 12px; }
}
@media (max-width: 1100px) {
  .adult-program-grid, .family-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .orientation-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .adult-program-grid, .family-program-grid { grid-template-columns: 1fr; }
  .nav-dropdown-menu { min-width: 0; }
  .adult-program-grid .program-feature-image { height: clamp(220px, 65vw, 350px); }
  .family-programs-heading { margin-top: 34px; }
  .community-photo-frame { padding: 30px 14px 14px; }
  .home-hero.hero-split { padding-top: 24px; padding-bottom: 26px; gap: 0; }
  .home-hero .inner, .home-hero .hero-copy { display: contents; }
  .home-hero .section-eyebrow { order: 0; margin-bottom: 10px; }
  .home-hero h1 { order: 1; margin-bottom: 22px; font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .home-hero .hero-title-highlight { margin-top: 0; }
  .home-hero > .hero-slideshow, .home-hero > .hero-background-image { order: 2; height: clamp(230px, 62vw, 350px); }
  .home-hero .hero-copy > p:not(.section-eyebrow):not(.gym-motto) { order: 4; margin-top: 22px; font-size: 1rem; line-height: 1.55; }
  .home-hero .hero-actions { order: 5; margin-top: 20px; flex-wrap: wrap; gap: 14px 20px; }
  .home-hero .gym-motto { order: 6; margin-top: 22px; font-size: 0.875rem; }
  .hero.hero-split p.program-scholarship { font-size: 0.875rem; }
  .community-hero .hero-copy h1 { font-size: clamp(2.3rem, 8vw, 3.6rem); }
}
