@font-face {
  font-family: "Futura BT";
  src: url("../fonts/FUTURA-BOOK-BT-22240.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura BT";
  src: url("../fonts/FUTURA-HV-BT-HEAVY.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura Hv BT";
  src: url("../fonts/FUTURA-HV-BT-HEAVY.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura Bk BT";
  src: url("../fonts/FUTURA-BOOK-BT-22240.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #201c20;
  --sand: #f6f5f1;
  --blush: #dea093;
  --mist: #7d7878;
}

/* --------------------------------------------------------------------------
   Viewport scroll: smooth (respect reduced motion) + hide native scrollbar
   (Chrome / Safari / Edge WebKit, Firefox, legacy Edge / IE)
   Scroll still works; use .eh-scrollbar-visible on a box to show bars again.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    /* Fixed header + in-page #hash without JS (e.g. direct URL) */
    scroll-padding-top: clamp(5rem, 10vw, 8rem);
  }
}

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

html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10–11 & legacy Edge */
}

html::-webkit-scrollbar {
  /* Chrome, Safari, Opera, Chromium Edge */
  width: 0;
  height: 0;
  background: transparent;
}

body {
  font-family: "Futura BT", sans-serif;
  font-weight: normal;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.eh-scrollbar-visible {
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}

.eh-scrollbar-visible::-webkit-scrollbar {
  width: auto;
  height: auto;
}

.site-header {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.site-header.is-menu-open {
  background-color: rgba(255, 255, 255, 1);
  border-bottom-color: rgba(32, 28, 32, 0.1);
}

.site-header__inner,
.site-header__link,
.site-header__logo,
.site-header__toggle {
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    padding 0.3s ease,
    height 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(32, 28, 32, 0.1);
  box-shadow: 0 10px 30px rgba(32, 28, 32, 0.08);
}

.site-header.is-scrolled .site-header__inner {
  color: var(--ink);
}

.site-header.is-scrolled .site-header__link {
  color: rgba(32, 28, 32, 0.86);
}

.site-header.is-scrolled .site-header__link:hover {
  color: rgba(32, 28, 32, 1);
}

.site-header.is-scrolled .site-header__logo {
  height: 2.25rem;
}

/**
 * Tablet md–lg (768–1023px): tighter horizontal gutters (all orientations).
 */
@media (min-width: 768px) and (max-width: 1023px) {
  .sm\:px-5 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .sm\:px-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .md\:px-8 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .sm\:mx-5 {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}

/**
 * Tablet landscape only: smaller navbar logo (portrait keeps Tailwind h-9 / scroll rules).
 */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
  .site-header .site-header__logo {
    height: 1.75rem;
    width: auto;
  }

  .site-header.is-scrolled .site-header__logo {
    height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .site-header.is-scrolled .site-header__logo {
    height: 3rem;
  }
}

.site-header.is-scrolled .site-header__cta {
  border-color: rgba(32, 28, 32, 0.9);
  color: var(--ink);
}

/* CTA: not bundled with .site-header__inner (inheritance + shared transition list made hover look “replaced”). */
.site-header .site-header__cta,
footer .site-header__cta {
  transition-property: background-color, color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Header CTA only: hover fill black, text white (overrides Tailwind hover utilities if cascade ties). */
.site-header a.site-header__cta:hover,
.site-header.is-scrolled a.site-header__cta:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Footer CTA on dark band: hover stays light fill so it stays visible */
footer a.site-header__cta:hover {
  background-color: #fff;
  color: #000;
  border-color: rgba(255, 255, 255, 0.85);
}

.site-header.is-scrolled .site-header__toggle {
  color: var(--ink);
}

.site-header.is-menu-open .site-header__inner,
.site-header.is-menu-open .site-header__toggle {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Header language — custom select (text + chevron only; no boxed trigger)
   -------------------------------------------------------------------------- */
.eh-lang-select {
  position: relative;
  margin: 0;
}

@media (min-width: 1024px) {
  .site-header .eh-lang-select {
    margin: 1.5rem;
  }
}

.eh-lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.eh-lang-select__trigger:focus {
  outline: none;
}

.eh-lang-select__trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.eh-lang-select__value {
  font-weight: 600;
}

.eh-lang-select__chevron {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.eh-lang-select.is-open .eh-lang-select__chevron {
  transform: rotate(180deg);
}

.eh-lang-select__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 70;
  min-width: 11rem;
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(32, 28, 32, 0.12);
  box-shadow: 0 12px 40px rgba(32, 28, 32, 0.12);
  border-radius: 2px;
}

.eh-lang-select.is-open .eh-lang-select__menu {
  display: block;
}

.eh-lang-select__option {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.25;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.eh-lang-select__option:hover,
.eh-lang-select__option:focus-visible {
  background: rgba(32, 28, 32, 0.06);
  outline: none;
}

.eh-lang-select__option.is-active {
  font-weight: 600;
  background: rgba(32, 28, 32, 0.08);
}

.site-header.is-menu-open .site-header__logo {
  filter: brightness(0);
}

.site-header__toggle-lines {
  position: relative;
  display: inline-flex;
  width: 1.375rem;
  height: 1rem;
}

.site-header__toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background-color: currentColor;
  transform-origin: center;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    top 0.35s ease;
}

.site-header__toggle-lines span:nth-child(1) {
  top: 0;
}

.site-header__toggle-lines span:nth-child(2) {
  top: calc(50% - 0.75px);
}

.site-header__toggle-lines span:nth-child(3) {
  top: calc(100% - 1.5px);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-lines span:nth-child(1) {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-lines span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-lines span:nth-child(3) {
  top: calc(50% - 0.75px);
  transform: rotate(-45deg);
}

.site-header.is-scrolled .site-header__inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.font-heading {
  font-family: "Futura BT", sans-serif;
}

/**
 * Reusable diagnosis intro typography (Figma).
 * One block: use wrapper .eh-diagnosis-intro and element modifiers below (BEM-style).
 */
.eh-diagnosis-intro__kicker {
  margin: 0;
  font-family: "Futura Hv BT", "Futura BT", sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  text-transform: capitalize;
  color: #dea093;
}

.eh-diagnosis-intro__title {
  margin-top: 1rem;
  margin-bottom: 0;
  font-family: "Futura Hv BT", "Futura BT", sans-serif;
  font-size: clamp(1.75rem, 2.8vw + 1.1rem, 64px);
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  text-transform: capitalize;
  color: #231f20;
}

.eh-diagnosis-intro__body {
  margin-top: 2rem;
}

.eh-diagnosis-intro__body > p {
  margin: 0;
  font-family: "Futura Bk BT", "Futura BT", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: #231f20;
}

.eh-diagnosis-intro__body > p + p {
  margin-top: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal--hero {
  transition-duration: 1.9s;
}

/**
 * Home — EUROHAIRLAB Technology horizontal image accordion (Figma 4310:320, Terra Medical “What we do” pattern).
 */
.eh-tech-accordion {
  width: 100%;
  max-width: 90rem;
  min-height: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.eh-tech-accordion__media {
  overflow: hidden;
}

/* Home — The Science Behind: image fills panel width, centered crop */
.eh-tech-accordion__media-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center;
}

.eh-tech-accordion__cell {
  flex: 1 1 0%;
  min-width: 0;
  transition: flex 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.eh-tech-accordion__cell:hover,
.eh-tech-accordion__cell:focus-within {
  flex: 3 1 0%;
}

/**
 * Card title: hidden until hover/focus-within (no layout gap); body still fades after expand.
 */
.eh-tech-accordion__title-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0);
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease,
    transform 0.32s ease,
    visibility 0s linear 0.32s;
}

.eh-tech-accordion__cell:hover .eh-tech-accordion__title-wrap,
.eh-tech-accordion__cell:focus-within .eh-tech-accordion__title-wrap {
  max-height: 6rem;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease 0.16s,
    transform 0.34s ease 0.16s,
    visibility 0s linear 0s;
}

.eh-tech-accordion__title {
  display: block;
}

/**
 * Terra Medical–style overlay: description fades in after flex grow (0.3s + 0.3s delay).
 */
.eh-tech-accordion__body {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    max-height 0.3s ease,
    margin-top 0.28s ease,
    visibility 0s linear 0.3s;
}

.eh-tech-accordion__body p {
  margin: 0;
}

.eh-tech-accordion__cell:hover .eh-tech-accordion__body,
.eh-tech-accordion__cell:focus-within .eh-tech-accordion__body {
  margin-top: 0.75rem;
  max-height: min(42vh, 20rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.3s ease 0.3s,
    transform 0.3s ease 0.3s,
    max-height 0.3s ease 0.3s,
    margin-top 0.28s ease 0.3s,
    visibility 0s linear 0s;
}

.testimonial-marquee {
  overflow: hidden;
  width: 100%;
}

/**
 * Three identical sets of cards; translate by -100%/3 = one set width → seamless infinite loop (no visible gap).
 */
.testimonial-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  gap: 1rem;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: testimonial-marquee var(--testimonial-marquee-duration, 72s) linear infinite;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 clamp(18rem, 24vw, 23rem);
  white-space: normal;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.consultation-image {
  display: block;
}

@media (min-width: 640px) {
  .testimonial-track {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-track {
    --testimonial-marquee-duration: 96s;
  }
}

@media (max-width: 639px) {
  .testimonial-track {
    gap: 0;
  }

  .testimonial-card {
    flex-basis: 100vw;
    width: 100vw;
    padding-inline: 1.5rem;
  }
}

@keyframes testimonial-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-100% / 3), 0, 0);
  }
}

/**
 * Home — Treatment Programs (full-bleed Slick, Figma-aligned).
 */
.programs-home-slider-stage {
  position: relative;
}


.programs-home-slider:not(.slick-initialized) {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.programs-home-slider:not(.slick-initialized) > .programs-home-slide-col {
  flex: 0 0 auto;
  height: 100%;
  margin-right: 0.75rem;
}

@media (max-width: 1023px) {
  .programs-home-slider:not(.slick-initialized) > .programs-home-slide-col {
    width: calc(100vw - 2.75rem);
    max-width: min(32rem, calc(100vw - 2rem));
  }
}

@media (min-width: 1024px) {
  .programs-home-slider:not(.slick-initialized) > .programs-home-slide-col {
    width: calc((100vw - 4.5rem) / 2.5);
    min-width: 17.5rem;
  }
}

.programs-home-slider__arrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  display: inline-flex;
  height: 3.25rem;
  width: 3.25rem;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.programs-home-slider__arrow svg {
  display: block;
  width: 19px;
  height: 33px;
}

.programs-home-slider__arrow--prev svg {
  transform: scaleX(-1);
}

.programs-home-slider__arrow:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.programs-home-slider__arrow--prev {
  left: max(0.25rem, env(safe-area-inset-left, 0px));
}

.programs-home-slider__arrow--next {
  right: max(0.25rem, env(safe-area-inset-right, 0px));
}

.programs-home-slider .slick-list {
  overflow: hidden;
  padding-inline: 0.25rem;
}

.programs-home-slider .slick-track {
  display: flex;
}

.programs-home-slider .slick-slide {
  height: auto;
  margin-right: 0.75rem;
}

@media (min-width: 640px) {
  .programs-home-slider .slick-slide {
    margin-right: 1rem;
  }
}

.programs-home-slider .slick-slide > div {
  height: 100%;
}

/* ~2.5 cards on desktop (wider slides); one card on mobile (variableWidth + Slick). */
@media (max-width: 1023px) {
  .programs-home-slider .slick-slide {
    width: calc(100vw - 2.75rem);
    max-width: min(32rem, calc(100vw - 2rem));
  }
}

@media (min-width: 1024px) {
  .programs-home-slider .slick-slide {
    width: calc((100vw - 4.5rem) / 2.5);
    min-width: 17.5rem;
  }
}

.programs-home-slide-col {
  display: flex;
  height: 100%;
}

.programs-home-slide {
  width: 100%;
}

.before-after-overlay {
  will-change: clip-path;
}

.before-after-line {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.before-after-range {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.before-after-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.before-after-range::-moz-range-track {
  height: 100%;
  background: transparent;
  border: 0;
}

.before-after-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 4rem;
  height: 4rem;
  margin-top: calc(50vh - 2rem);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: ew-resize;
}

.before-after-range::-moz-range-thumb {
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: ew-resize;
}

.before-after-handle {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.before-after-range:active + .before-after-line .before-after-handle,
.before-after-range:focus-visible + .before-after-line .before-after-handle {
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 18px 50px rgba(32, 28, 32, 0.2);
}

.content-rich {
  color: rgba(32, 28, 32, 0.78);
  font-size: 1.05rem;
  line-height: 1.9;
}

.content-rich > * + * {
  margin-top: 1.4rem;
}

.content-rich h2,
.content-rich h3,
.content-rich h4 {
  color: var(--ink);
  font-family: "Futura BT", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 2.2rem;
}

.content-rich h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.content-rich h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.content-rich a {
  color: #b56959;
}

.content-rich ul,
.content-rich ol {
  padding-left: 1.35rem;
}

.content-rich li + li {
  margin-top: 0.55rem;
}

.content-rich img {
  border-radius: 1.5rem;
}

.content-rich blockquote {
  border-left: 3px solid #dea093;
  margin-left: 0;
  padding-left: 1rem;
  color: rgba(32, 28, 32, 0.7);
}

/* Blog detail article body — Figma Blog Detail (4035:875); mirrors diagnosis copy scale */
.content-rich.eh-blog-detail-body {
  color: #231f20;
  font-family: "Futura Bk BT", "Futura BT", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.content-rich.eh-blog-detail-body > * + * {
  margin-top: 1.25rem;
}

.content-rich.eh-blog-detail-body h2,
.content-rich.eh-blog-detail-body h3,
.content-rich.eh-blog-detail-body h4 {
  color: #231f20;
  font-family: "Futura Hv BT", "Futura BT", sans-serif;
  font-weight: 400;
  line-height: 1;
  margin-top: 2rem;
}

.content-rich.eh-blog-detail-body h2 {
  font-size: 24px;
}

.content-rich.eh-blog-detail-body h3 {
  font-size: 24px;
}

.content-rich.eh-blog-detail-body h4 {
  font-size: 18px;
}

.content-rich.eh-blog-detail-body a {
  color: #dea093;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.content-rich.eh-blog-detail-body a:hover {
  color: #231f20;
}

.content-rich.eh-blog-detail-body ul,
.content-rich.eh-blog-detail-body ol {
  padding-left: 1.35rem;
}

.content-rich.eh-blog-detail-body li + li {
  margin-top: 0.5rem;
}

.content-rich.eh-blog-detail-body img {
  border-radius: 1.5rem;
}

.content-rich.eh-blog-detail-body blockquote {
  border-left: 3px solid #dea093;
  margin-left: 0;
  padding-left: 1rem;
  color: #686869;
}

.page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(32, 28, 32, 0.12);
  padding-inline: 0.85rem;
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.assessment-page {
  background-color: #fff;
  color: #231f20;
}

.homepage-cta {
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  border: 1px solid rgba(35, 31, 32, 0.5);
  padding: 0.55rem 0.8125rem 0.55rem 1.1rem;
  font-family: "Futura Bk BT", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.homepage-cta span {
  flex: 1;
  text-align: center;
}

.homepage-cta__arrow {
  width: 1.05rem;
  height: auto;
  flex: none;
  transform: rotate(0deg);
  transition: transform 0.3s ease, filter 0.2s ease;
}

.homepage-cta--light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.homepage-cta--light .homepage-cta__arrow {
  filter: brightness(0) invert(1);
}

.homepage-cta--light:hover {
  background: #fff;
  color: #231f20;
}

.homepage-cta--dark {
  border-color: rgba(35, 31, 32, 0.5);
  color: #231f20;
}

.homepage-cta--dark:hover {
  background: #231f20;
  color: #fff;
}

.homepage-cta--light:hover .homepage-cta__arrow {
  transform: rotate(45deg);
  filter: brightness(0) saturate(100%);
}

.homepage-cta--dark:hover .homepage-cta__arrow {
  transform: rotate(45deg);
  filter: brightness(0) invert(1);
}

.homepage-hero-slider,
.homepage-hero-slider .slick-list,
.homepage-hero-slider .slick-track,
.homepage-hero-slide {
  min-height: 100vh;
}

.homepage-hero-slider {
  position: relative;
}

.homepage-hero-slider .slick-list,
.homepage-hero-slider .slick-track {
  height: 100%;
}

.homepage-hero-slider .slick-slide > div {
  min-height: 100vh;
}

/**
 * Hero bullets: same horizontal band as title / copy / CTA (appendDots → #homepage-hero-dots).
 */
.homepage-hero-dots-shell {
  min-height: 2.5rem;
}

.homepage-hero-dots-host {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
}

.homepage-hero-dots-host .slick-dots {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  display: flex;
  width: max-content;
  max-width: 100%;
  transform: none;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-hero-dots-host .slick-dots li {
  display: flex;
  margin: 0;
}

.homepage-hero-dots-host .slick-dots button {
  width: 0.8125rem;
  height: 0.8125rem;
  border: 0;
  border-radius: 999px;
  background: #686969;
  font-size: 0;
  line-height: 0;
  padding: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.homepage-hero-dots-host .slick-dots .slick-active button {
  background: #fff;
  transform: scale(1.08);
}

/* Assessment: Tailwind CDN supplies utility `.hidden`. If it fails or loads late, `display:none`
   from `.hidden` is missing while theme rules still set `display` — marketing header, wizard,
   and modal can show incorrectly vs localhost. */
#assessment-main-header.hidden {
  display: none !important;
}

.assessment-page__screen.hidden {
  display: none !important;
}

.assessment-modal.hidden {
  display: none !important;
}

.assessment-why.hidden {
  display: none !important;
}

.assessment-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 29.1%) 1fr;
  align-items: start;
}

.assessment-layout--landing {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background-color: #fff;
}

.assessment-landing-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
  justify-content: center;
  padding-inline: 0;
  overflow: hidden;
  background-color: #fff;
}

.assessment-landing-shell .assessment-layout__content--landing {
  flex: 1 1 min(0, 38rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.assessment-landing__photo-wrap {
  position: relative;
  flex: 0 0 clamp(200px, 34vw, 28rem);
  align-self: stretch;
  min-height: 100vh;
  overflow: hidden;
}

.assessment-landing__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.assessment-landing__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.assessment-layout__media {
  position: relative;
  align-self: start;
  width: 100%;
  height: 100vh;
  height: min(100vh, 100dvh);
  max-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.assessment-layout__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.assessment-layout__content {
  position: relative;
  min-width: 0;
  background: #fff;
}

/* Above `.assessment-landing__media` hero image; text uses tinted panels. */
.assessment-layout__content--landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent;
}

.assessment-landing__header,
.assessment-wizard-header,
.assessment-complete__header {
  display: grid;
  align-items: center;
}

.assessment-landing__header {
  position: relative;
  z-index: 20;
  width: 100%;
  /* Three equal tracks + minmax(0,1fr) prevents overflow/overlap when Exit + logo + lang exceed viewport. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(0.5rem, 2.5vw, 1.5rem);
  row-gap: 0.5rem;
  align-items: center;
  padding: 1.7rem 3rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

.assessment-landing__header > .assessment-inline-link {
  grid-column: 1;
  justify-self: start;
  align-self: center;
}

.assessment-landing__header > .assessment-brand {
  grid-column: 2;
  justify-self: center;
}

.assessment-landing__header > .eh-lang-select {
  grid-column: 3;
  justify-self: end;
  align-self: center;
}

.assessment-landing__header > .assessment-inline-link,
.assessment-landing__header > .assessment-brand,
.assessment-landing__header > .eh-lang-select {
  min-width: 0;
}

.assessment-landing__header .eh-lang-select,
.assessment-wizard-header__end .eh-lang-select {
  color: #231f20;
}

/* Dropdown must stack above the landing body (next sibling) and sit above local UI. */
.assessment-page .eh-lang-select__menu {
  z-index: 200;
}

.assessment-brand {
  display: inline-flex;
  justify-content: center;
  justify-self: center;
  max-width: 100%;
}

.assessment-brand img {
  display: block;
  width: auto;
  max-width: min(18.3125rem, 100%);
  height: auto;
  filter: brightness(0) saturate(100%);
}

.assessment-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #231f20;
  cursor: pointer;
  font-family: "Futura Bk BT", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.assessment-inline-link__arrow {
  width: 0.3rem;
  height: auto;
  flex: none;
}

.assessment-landing__body {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0 3.25rem 4rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  text-align: left;
}

.assessment-title {
  font-weight: 700;
  line-height: 1;
}

.assessment-title--landing {
  text-align: left;
}

.assessment-title--wizard {
  text-align: center;
  font-size: clamp(1.1rem, 0.85rem + 1.1vw, 1.35rem);
}

.assessment-layout--wizard .assessment-title--wizard {
  margin-top: 13vh;
  margin-bottom: 2rem;
}

.assessment-title--complete {
  margin: 0;
  font-family: "Futura Hv BT", "Futura BT", sans-serif;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.7rem);
  font-weight: bold;
  line-height: 1;
  text-align: left;
  color: #fff;
}

.assessment-copy {
  max-width: none;
  width: 100%;
  font-size: 14px;
  line-height: 1.22;
}

.assessment-copy p + p {
  margin-top: 1.35rem;
}

.assessment-outline-button,
.assessment-outline-link {
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 1px solid rgba(35, 31, 32, 0.75);
  background: transparent;
  color: #231f20;
  cursor: pointer;
  font-family: "Futura Bk BT", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.2;
  padding: 0.82rem 1.45rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.assessment-outline-button:hover,
.assessment-outline-link:hover {
  background: #231f20;
  color: #fff;
}

.assessment-outline-button[disabled] {
  cursor: not-allowed;
  opacity: 0.38;
}

.assessment-start-button {
  margin-top: 2rem;
  min-width: 17.4rem;
  justify-content: space-between;
  gap: 1.5rem;
  padding-right: 1.1rem;
  font-size: 14px;
}

.assessment-start-button span {
  flex: 1;
  text-align: center;
}

.assessment-outline-button__arrow {
  width: 1.15rem;
  height: auto;
  flex: none;
  transform: rotate(0deg);
  transition: transform 0.3s ease, filter 0.2s ease;
}

.assessment-outline-button:hover .assessment-outline-button__arrow,
.assessment-outline-link:hover .assessment-outline-button__arrow {
  transform: rotate(45deg);
  filter: brightness(0) invert(1);
}

.assessment-layout__content--wizard {
  min-height: 100vh;
  min-height: min(100vh, 100dvh);
  padding: 0 2.5rem 3rem;
  box-sizing: border-box;
}

.assessment-wizard-header {
  position: relative;
  z-index: 20;
  width: min(100%, 66rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  column-gap: clamp(0.35rem, 2vw, 1rem);
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.assessment-wizard-header .assessment-brand {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}

.assessment-wizard-header [data-assessment-back] {
  justify-self: start;
}

.assessment-wizard-header [data-assessment-close] {
  justify-self: end;
  justify-content: flex-end;
}

.assessment-wizard-header__end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  justify-self: end;
  min-width: 0;
  flex-wrap: wrap;
}

.assessment-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  border: 0;
  background: transparent;
  color: #231f20;
  cursor: pointer;
  font-family: "Futura Bk BT", sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

.assessment-icon-button__icon {
  width: 0.3rem;
  height: auto;
  flex: none;
}

.assessment-progress {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 auto;
  width: min(100%, 66rem);
}

.assessment-progress__item {
  height: 0.375rem;
  border: 1px solid rgba(35, 31, 32, 0.6);
  background: transparent;
}

.assessment-progress__item.is-active {
  background: #231f20;
}

.assessment-stage {
  display: flex;
  min-height: calc(100vh - 8rem);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3.8rem 0 2rem;
}

.assessment-options {
  width: min(100%, 53.5rem);
  margin-top: 2rem;
}

.assessment-options--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.55rem 1.6rem;
}

.assessment-options--list {
  display: grid;
  gap: 1.15rem;
  justify-items: center;
}

.assessment-option {
  width: 100%;
  border: 1px solid rgba(35, 31, 32, 0.5);
  background: #fff;
  color: #231f20;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.assessment-option:hover {
  transform: translateY(-2px);
  border-color: #231f20;
  background: rgba(35, 31, 32, 0.06);
}

.assessment-option--grid {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.assessment-option--list {
  max-width: 16.9rem;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  text-align: center;
}

.assessment-option__label {
  font-size: 1rem;
  line-height: 1.2;
  white-space: pre-line;
}

.assessment-option__label--grid {
  max-width: 16.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.assessment-option__icon {
  display: inline-flex;
  width: 6.7rem;
  height: 6.7rem;
  flex-shrink: 0;
  flex-grow: 0;
  align-items: center;
  justify-content: center;
}

.assessment-option__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.assessment-why {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  border: 0;
  background: transparent;
  color: #231f20;
  cursor: pointer;
  font-family: "Futura BT", sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
}

.assessment-why__icon {
  display: inline-flex;
  height: 1rem;
  width: 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 31, 32, 0.7);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
}

.assessment-form {
  width: min(100%, 23.4rem);
  margin-top: 1.8rem;
}

.assessment-form__native {
  display: contents;
}

.assessment-form__fields {
  display: grid;
  gap: 1.95rem;
}

.assessment-field {
  display: grid;
  gap: 0.5rem;
}

.assessment-field__label {
  opacity: 0.8;
  font-size: 1.125rem;
  line-height: 1.2;
}

.assessment-field__required {
  margin-left: 0.2em;
  color: #b91c1c;
  font-weight: 600;
  opacity: 1;
}

.assessment-field__control {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.65);
  border-radius: 0;
  background: transparent;
  color: #231f20;
  font-family: "Futura BT", sans-serif;
  font-size: 1.125rem;
  line-height: 1.2;
  padding: 0 0 0.55rem;
  appearance: none;
}

.assessment-field__control:focus {
  outline: none;
  border-color: #231f20;
}

.assessment-field__control--select {
  appearance: auto;
  padding-right: 0.25rem;
}

.assessment-field--select {
  position: relative;
}

.assessment-select {
  position: relative;
}

.assessment-select__trigger {
  position: relative;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.4);
  background: transparent;
  color: rgba(122, 126, 133, 0.95);
  font-family: "Futura BT", sans-serif;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: left;
  padding: 0.55rem 2.25rem 0.9rem 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.assessment-select__trigger:hover,
.assessment-select__trigger[aria-expanded="true"],
.assessment-select__trigger:focus-visible {
  border-color: rgba(35, 31, 32, 0.72);
  color: rgba(35, 31, 32, 0.9);
  outline: none;
}

.assessment-select__trigger::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: calc(50% - 0.45rem);
  width: 0;
  height: 0;
  border-left: 0.45rem solid transparent;
  border-right: 0.45rem solid transparent;
  border-top: 0.75rem solid rgba(127, 133, 142, 0.92);
  transition: transform 0.2s ease;
}

.assessment-select__trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.assessment-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 20;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.14);
  border-radius: 1rem;
  background: #eef0f2;
  box-shadow: 0 18px 40px rgba(32, 28, 32, 0.12);
}

.assessment-select__option {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(99, 104, 113, 0.96);
  font-family: "Futura BT", sans-serif;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: left;
  padding: 1rem 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.assessment-select__option + .assessment-select__option {
  border-top: 1px solid rgba(35, 31, 32, 0.06);
}

.assessment-select__option:hover,
.assessment-select__option:focus-visible {
  background: #dde1e5;
  color: #231f20;
  outline: none;
}

.assessment-select__option.is-selected {
  background: #c8cdd3;
  color: #231f20;
}

.assessment-field__error {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #b91c1c;
}

.assessment-field--invalid .assessment-field__control,
.assessment-field--invalid .assessment-select__trigger {
  border-color: #b91c1c;
}

.assessment-consent-block--invalid .assessment-consent {
  outline: 1px solid rgba(185, 28, 28, 0.35);
  outline-offset: 4px;
  border-radius: 2px;
}

.assessment-form__submit-error {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #b91c1c;
}

.assessment-consent-block {
  margin-top: 2rem;
}

.assessment-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.75rem;
  line-height: 1.2;
}

.assessment-consent input {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.15rem;
  accent-color: #231f20;
}

.assessment-consent__error {
  margin-top: 0.5rem;
}

.assessment-submit-button {
  width: 100%;
  margin-top: 2rem;
}

.assessment-complete__header {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.9rem 2.5rem 1.2rem;
}

.assessment-complete__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  align-items: center;
}

.assessment-complete__nav a {
  color: #231f20;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.assessment-complete__header .assessment-outline-link {
  justify-self: end;
}

/* Thank-you hero — Figma node 4158:986 (623/817 split, 732px band, dark copy + full-bleed image). */
.assessment-complete {
  background: #fff;
}

.assessment-complete__hero {
  display: grid;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #fff;
  /* 623 : 817 from Figma frame 1440px */
  grid-template-columns: minmax(0, 623fr) minmax(0, 817fr);
  flex: 1 1 auto;
  min-height: 0;
}

.assessment-complete__copy {
  box-sizing: border-box;
  display: flex;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.5rem, 4.75vw, 4.25rem);
  background: #000;
  color: #fff;
  min-height: 100%;
}

.assessment-complete__copy .assessment-title--complete {
  color: #fff;
}

.assessment-complete__body {
  margin: 1.7rem 0 0;
  max-width: 30.875rem;
  font-family: "Futura Bk BT", "Futura BT", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.assessment-complete__body > :first-child {
  margin-top: 0;
}

.assessment-complete__body p {
  margin: 0.75rem 0 0;
}

.assessment-complete__body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
	list-style: circle;
}

.assessment-complete__body li {
  margin: 0.25rem 0 0;
}

.assessment-complete__copy .assessment-outline-link--wide {
  align-self: flex-start;
  margin-top: 2.375rem;
  min-width: 17.4375rem;
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.95);
  background: transparent;
  color: #fff;
}

.assessment-complete__copy .assessment-outline-link--wide:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

/* Thank-you: flex chain fills viewport (desktop height lock below); no top padding on main or complete section. */
#assessment-page:has([data-assessment-screen="complete"]:not(.hidden)) {
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

#assessment-page:has([data-assessment-screen="complete"]:not(.hidden)) > #assessment-config {
  flex: 0 0 auto;
}

#assessment-page:has([data-assessment-screen="complete"]:not(.hidden)) > [data-assessment-screen="complete"] {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding-top: 0;
}

#assessment-page:has([data-assessment-screen="complete"]:not(.hidden)) .assessment-complete {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

@media (min-width: 861px) {
  #assessment-page:has([data-assessment-screen="complete"]:not(.hidden)) {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
}

.assessment-complete__visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
}

.assessment-complete__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.assessment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.assessment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 15, 16, 0.36);
  backdrop-filter: blur(1px);
}

.assessment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 30.3rem);
  border: 1px solid rgba(35, 31, 32, 0.08);
  background: #fff;
  box-shadow: 0 14px 38px rgba(35, 31, 32, 0.22);
  padding: 2rem 2.75rem 2.1rem;
  text-align: center;
}

.assessment-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  color: #231f20;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.assessment-modal__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.assessment-modal__description {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

body.assessment-modal-open {
  overflow: hidden;
}

/* Submit in progress — blocks interaction until REST response returns */
.assessment-submit-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.assessment-submit-loading.hidden {
  display: none !important;
}

.assessment-submit-loading__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 15, 16, 0.5);
  backdrop-filter: blur(2px);
}

.assessment-submit-loading__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  border: 1px solid rgba(35, 31, 32, 0.1);
  background: #fff;
  box-shadow: 0 18px 48px rgba(35, 31, 32, 0.28);
  padding: 2rem 1.75rem 2.25rem;
  text-align: center;
  border-radius: 4px;
}

.assessment-submit-loading__spinner {
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(35, 31, 32, 0.12);
  border-top-color: #231f20;
  border-radius: 50%;
  animation: assessment-submit-loading-spin 0.75s linear infinite;
}

@keyframes assessment-submit-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.assessment-submit-loading__title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #231f20;
}

.assessment-submit-loading__hint {
  margin: 0.65rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c5658;
}

body.assessment-submit-loading-open {
  overflow: hidden;
}

/* Desktop wizard: keep header, progress, question, and answers within one viewport (no page scroll). */
@media (min-width: 861px) {
  .assessment-layout.assessment-layout--wizard {
    grid-template-rows: minmax(0, 1fr);
    height: min(100vh, 100dvh);
    max-height: min(100vh, 100dvh);
    min-height: min(100vh, 100dvh);
    overflow: hidden;
    align-items: stretch;
  }

  .assessment-layout--wizard .assessment-layout__media {
    height: 100%;
    max-height: 100%;
    min-height: 0;
  }

  .assessment-layout--wizard .assessment-layout__content--wizard {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    padding: 0 2rem 0.85rem;
    box-sizing: border-box;
  }

  .assessment-layout--wizard .assessment-wizard-header {
    padding: 0.85rem 0 0.45rem;
  }

  .assessment-layout--wizard .assessment-wizard-header .assessment-brand img {
    display: block;
    max-height: 2.15rem;
    width: auto;
    height: auto;
  }

  .assessment-layout--wizard .assessment-progress {
    gap: 0.45rem;
  }

  .assessment-layout--wizard .assessment-stage {
    min-height: 0;
    flex: 1 1 auto;
    padding: 0 0 0.25rem;
    overflow: hidden;
    justify-content: flex-start;
  }

  .assessment-layout--wizard .assessment-title--wizard {
    flex-shrink: 0;
    line-height: 1.12;
    font-size: clamp(1rem, 0.82rem + 0.85vw, 1.3rem);
  }

  .assessment-layout--wizard .assessment-options {
    flex: 0 0 auto;
    min-height: 0;
    margin-top: 0;
    align-content: start;
  }

  .assessment-layout--wizard .assessment-options--grid,
  .assessment-layout--wizard .assessment-options--list {
    min-height: 0;
  }

  .assessment-layout--wizard .assessment-options--grid {
    gap: clamp(0.4rem, 1.1dvh, 0.75rem) clamp(0.5rem, 0.9vw, 1rem);
  }

  .assessment-layout--wizard .assessment-option--grid {
    min-height: clamp(3.85rem, 9.5dvh, 6.25rem);
    padding: 0.4rem 0.5rem;
  }

  .assessment-layout--wizard .assessment-option__icon {
    width: clamp(2.35rem, 7.8dvh, 4rem);
    height: clamp(2.35rem, 7.8dvh, 4rem);
  }

  .assessment-layout--wizard .assessment-option__label--grid {
    margin-top: 0.3rem;
    font-size: clamp(0.65rem, 0.58rem + 0.32vw, 0.8125rem);
    line-height: 1.12;
  }

  .assessment-layout--wizard .assessment-options--list {
    gap: 0.38rem;
    justify-items: center;
  }

  .assessment-layout--wizard .assessment-option--list {
    min-height: 0;
    padding: 0.38rem 0.55rem;
  }

  .assessment-layout--wizard .assessment-option__label {
    font-size: clamp(0.74rem, 0.68rem + 0.22vw, 0.875rem);
    line-height: 1.12;
  }

  .assessment-layout--wizard .assessment-why {
    margin-top: 1rem;
    flex-shrink: 0;
  }

  .assessment-layout--wizard .assessment-form {
    margin-top: 0.55rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    width: min(100%, 23.4rem);
  }

  .assessment-layout--wizard .assessment-form__fields {
    gap: 0.75rem;
  }

  .assessment-layout--wizard .assessment-field {
    gap: 0.35rem;
  }

  .assessment-layout--wizard .assessment-field__label,
  .assessment-layout--wizard .assessment-field__control,
  .assessment-layout--wizard .assessment-select__trigger {
    font-size: 0.95rem;
  }

  .assessment-layout--wizard .assessment-field__control {
    padding-bottom: 0.4rem;
  }

  .assessment-layout--wizard .assessment-select__trigger {
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
  }

  .assessment-layout--wizard .assessment-consent-block {
    margin-top: 0.85rem;
  }

  .assessment-layout--wizard .assessment-submit-button {
    margin-top: 0.85rem;
  }
}

@media (max-width: 1100px) {
  .assessment-layout {
    grid-template-columns: minmax(220px, 28%) 1fr;
  }

  .assessment-landing__body {
    padding-inline: 3rem;
  }
}

@media (max-width: 860px) {
  .assessment-layout {
    grid-template-columns: 1fr;
  }

  .assessment-landing-shell {
    flex-direction: column;
  }

  .assessment-landing__photo-wrap {
    flex: 0 0 auto;
    order: -1;
    width: 100%;
    min-height: 0;
    height: clamp(11rem, 46vw, 17.5rem);
    max-height: 18rem;
  }

  .assessment-landing__photo {
    object-position: right center;
  }

  .assessment-layout__media {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 18rem;
    width: 100%;
  }

  .assessment-landing__header {
    padding-inline: 1.25rem;
  }

  .assessment-landing__header .assessment-brand {
    justify-self: center;
  }

  .assessment-landing__body,
  .assessment-layout__content--wizard,
  .assessment-complete__header {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .assessment-complete__hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .assessment-complete__visual {
    order: -1;
    height: auto;
    min-height: clamp(15rem, 52vw, 22rem);
  }

  .assessment-complete__visual img {
    min-height: clamp(15rem, 52vw, 22rem);
    height: 100%;
  }

  .assessment-complete__copy {
    padding: clamp(2rem, 6vw, 2.75rem) 1.25rem;
    min-height: auto;
  }

  .assessment-landing__body {
    max-width: none;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .assessment-stage {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .assessment-wizard-header {
    width: calc(100% - 2rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(0.25rem, 1.5vw, 0.75rem);
    padding-top: 1.4rem;
    padding-bottom: 0.75rem;
  }

  .assessment-icon-button {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    font-size: 1.15rem;
  }

  .assessment-icon-button__icon {
    width: 0.4rem;
  }

  .assessment-progress {
    width: calc(100% - 2rem);
    gap: 0.4rem;
  }

  .assessment-options--grid {
    grid-template-columns: 1fr;
  }

  .assessment-option--grid,
  .assessment-option--list {
    max-width: none;
  }

  .assessment-complete__header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .assessment-complete__nav {
    justify-content: center;
  }

  .assessment-complete__header .assessment-outline-link {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .assessment-landing__photo-wrap {
    height: clamp(10rem, 50vw, 14.5rem);
    max-height: 14rem;
  }

  .assessment-layout__media {
    max-height: 14rem;
    height: clamp(10rem, 50vw, 14.5rem);
  }

  .assessment-icon-button,
  .assessment-field__label,
  .assessment-outline-button,
  .assessment-outline-link,
  .assessment-complete__body,
  .assessment-complete__body p,
  .assessment-complete__body ul,
  .assessment-complete__body li {
    font-size: 14px;
    line-height: 1.5;
  }

  .assessment-complete__body ul {
    list-style: circle;
    padding-left: 1.25rem;
    margin: 0.75rem 0;
  }

  .assessment-progress {
    gap: 0.35rem;
  }

  .assessment-landing__body {
    padding-top: 2.5rem;
  }

  .assessment-stage {
    padding-bottom: 3rem;
  }

  .assessment-start-button {
    min-width: 100%;
    font-size: 14px;
  }
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-waves {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 180px;
  background:
    radial-gradient(80px 24px at 8% 10%, #fff 98%, transparent 100%) 0 22px / 160px 86px repeat-x,
    radial-gradient(95px 26px at 30% 0%, #fff 98%, transparent 100%) 12px 64px / 190px 90px repeat-x,
    radial-gradient(85px 28px at 60% 10%, #fff 98%, transparent 100%) 0 110px / 170px 88px repeat-x,
    linear-gradient(#fff, #fff);
  opacity: 0.97;
}

.footer-waves::before,
.footer-waves::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 100%;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0,
      transparent 22px,
      rgba(32, 28, 32, 0.12) 23px,
      transparent 25px,
      transparent 46px
    );
  mask: linear-gradient(to top, black 65%, transparent 100%);
}

.footer-waves::after {
  transform: scaleY(-1);
  opacity: 0.35;
}

.about-play-button {
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.18);
}

.about-slider-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-slider-nav__button {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 28, 32, 0.22);
  color: rgba(32, 28, 32, 0.86);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-slider-nav__button svg {
  height: 1.2rem;
  width: 1.2rem;
}

.about-slider-nav__button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.about-tech-slider .slick-track,
.about-privacy-slider .slick-track {
  display: flex;
}

.about-tech-slider .slick-slide,
.about-privacy-slider .slick-slide {
  height: inherit;
}

.about-tech-slider .slick-slide > div,
.about-privacy-slider .slick-slide > div {
  height: auto;
}

.about-tech-slide {
  display: flex !important;
  height: auto;
  flex-direction: column;
}

.about-partnership-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.about-partnership-card:hover,
.about-partnership-card:focus-visible {
  transform: translateY(-2px);
}

.about-partnership-card.is-active {
  box-shadow: none;
}

.about-partnership-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1);
}

.about-partnership-card__image--overlay {
  opacity: 0;
  transform: translateZ(0) scale(1.02);
  pointer-events: none;
}

.about-partnership-card__image--overlay.is-visible {
  opacity: 1;
  transform: translateZ(0) scale(1.01);
}

@media (min-width: 1024px) {
  .about-partnership-card + .about-partnership-card {
    margin-left: -2.5rem;
  }
}

/* Clinical technology: one card per view at all breakpoints */
.about-tech-slider .slick-slide,
.about-tech-slider .slick-slide > div,
.about-tech-slide {
  width: 100% !important;
}

@media (max-width: 1023px) {
  .about-tech-slider,
  .about-tech-slider .slick-list,
  .about-tech-slider .slick-track {
    min-width: 0;
    max-width: 100%;
  }

  .about-tech-slider .slick-list {
    overflow: hidden;
  }

  .about-tech-slider .slick-list,
  .about-tech-slider .slick-track,
  .about-tech-slider .slick-slide,
  .about-tech-slider .slick-slide > div {
    height: auto !important;
    min-height: 0 !important;
  }
}

.about-privacy-slider {
  margin-inline: -0.625rem;
  cursor: grab;
}

.about-privacy-slide {
  padding-inline: 0.625rem;
}

.about-privacy-slider .slick-list {
  overflow: visible;
}

.about-privacy-slider .slick-track {
  margin-left: 0;
}

.about-privacy-slider .slick-slide {
  opacity: 1;
}

.about-privacy-slider:active {
  cursor: grabbing;
}

.diagnosis-steps-shell {
  position: relative;
  max-width: none;
  margin-inline: auto;
}

.diagnosis-steps-shell--fullbleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: clamp(1rem, 2vw, 1.5rem);
}

.diagnosis-steps-rail {
  position: relative;
  height: 1.8rem;
}

.diagnosis-steps-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}

.diagnosis-step-marker {
  flex: 0 0 auto;
  background: #d9d9d9;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.diagnosis-step-marker.is-active {
  background: #231f20;
  transform: scale(1.05);
}

.diagnosis-step-card__dot {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #d9d9d9;
  border: 0;
  transform: translateX(-50%);
  box-shadow: none;
  pointer-events: none;
}

.diagnosis-steps-slider {
  margin-inline: 0;
  padding-top: 0;
  overflow: visible;
}

.diagnosis-steps-slider .slick-list {
  overflow: visible;
}

.diagnosis-steps-slider .slick-track {
  display: flex;
}

.diagnosis-steps-slider .slick-slide {
  height: inherit;
}

.diagnosis-steps-slider .slick-slide > div {
  height: 100%;
}

.diagnosis-step-slide {
  height: 100%;
  padding-inline: clamp(0.75rem, 1vw, 1rem);
}

.diagnosis-step-slide article {
  position: relative;
  padding-top: 1.35rem;
}

.diagnosis-step-slide img {
  display: block;
}

.treatments-mobile-nav {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.treatments-mobile-nav__label {
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  padding-right: 0.95rem;
  text-align: center;
  color: #201c20;
}

.treatments-mobile-nav__select-wrap {
  position: relative;
}

.treatments-mobile-nav__select-wrap::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid #201c20;
  border-bottom: 1.5px solid #201c20;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.treatments-mobile-nav__select {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: #d5bba0;
  color: #201c20;
  padding: 0.25rem 2rem 0.25rem 0;
  cursor: pointer;
  outline: none;
  text-overflow: ellipsis;
}

.treatments-mobile-nav__select:focus-visible {
  outline: 2px solid #201c20;
  outline-offset: 2px;
}

.nav-link-animated,
.footer-link {
  position: relative;
  transition: opacity 0.25s ease;
}

.nav-link-animated::after,
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-link-animated::after {
  background: #201c20;
}

.footer-link::after {
  background: #fff;
}

.nav-link-animated:hover,
.footer-link:hover {
  opacity: 1;
}

.nav-link-animated:hover::after,
.footer-link:hover::after {
  transform: scaleX(1);
}

.blog-filter-link {
  position: relative;
  display: inline-flex;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  color: #231f20;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.blog-filter-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--blush);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.blog-filter-link:hover {
  color: var(--blush);
  border-bottom-color: currentColor;
}

.blog-filter-link:hover::after,
.blog-filter-link.is-active::after {
  transform: scaleX(1);
}

.blog-filter-link.is-active {
  color: var(--blush);
  border-bottom-color: currentColor;
}

.blog-filter-rail {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blog-filter-rail::-webkit-scrollbar {
  display: none;
}

.blog-filter-rail__list {
  scroll-snap-type: x proximity;
  width: max-content;
}

.blog-filter-rail__item {
  scroll-snap-align: start;
}

.blog-filter-rail__list.slick-slider {
  width: auto;
}

.blog-filter-rail.is-slick-active {
  overflow: hidden;
}

.blog-filter-rail__list.slick-slider .blog-filter-rail__item {
  margin-right: 1.25rem;
  width: auto;
}

.blog-filter-rail__list.slick-slider .slick-list {
  overflow: visible;
  touch-action: pan-y;
}

@media (max-width: 1023px) {
  .blog-filter-rail {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .blog-filter-rail__list {
    justify-content: flex-start;
  }

  .blog-filter-rail__list.slick-slider {
    display: block;
  }

  .footer-waves {
    height: 120px;
  }
}

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

  .eh-tech-accordion__cell {
    transition: none;
  }

  .eh-tech-accordion__cell:hover,
  .eh-tech-accordion__cell:focus-within {
    flex: 1 1 0%;
  }

  .eh-tech-accordion__body {
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .eh-tech-accordion__title-wrap {
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .reveal,
  .testimonial-card,
  .nav-link-animated,
  .nav-link-animated::after,
  .blog-filter-link,
  .blog-filter-link::after,
  .footer-link,
  .footer-link::after {
    transition: none;
  }

  .testimonial-track {
    animation: none;
  }

  .testimonial-card--marquee-clone {
    display: none;
  }

  .programs-home-slider__arrow:hover {
    background-color: transparent;
  }
}
