:root {
  --ink: #12141a;
  --muted: #5d6270;
  --paper: #ffffff;
  --accent: #bef164;
  --accent-hover: #163322;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body, "Diatype"), sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 96px 24px;
  text-align: center;
  overflow: hidden;
}

.hero__background,
.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background {
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__wash {
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 760px);
  gap: 20px;
}

.hero__title {
  max-width: 16ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3rem, 8vw, 6.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__description {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  background: var(--paper);
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.button:hover { background: #163322; color: var(--paper); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.eyebrow {
  margin: 0;
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 400;
}

.firms {
  min-height: 100dvh;
  padding: clamp(64px, 10vw, 140px) clamp(24px, 5vw, 72px);
  background: #fff;
  color: #12141a;
  font-family: "Poppins", system-ui, sans-serif;
  display: flex;
  align-items: center;
}

.firms__inner {
  width: 100%;
}

.firms__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.firms__title {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

/* 4 per row on desktop = 2 rows of 8 logos */
.firms__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.firms__grid li {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logos are 1000x500, so a 40px height gives an 80px width */
.firms__grid img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 100%;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.firms__grid img:hover { opacity: 1; }

/* Mobile: 2 per row */
@media (max-width: 640px) {
  .firms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}

/* Fade in when the section scrolls into view (only when JS is available) */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .firms__title,
  .firms__grid li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .firms__grid li { transition-delay: calc(var(--i, 0) * 70ms + 150ms); }

  .firms.is-visible .firms__title,
  .firms.is-visible .firms__grid li {
    opacity: 1;
    transform: none;
  }
}

.features {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  padding: clamp(64px, 10vw, 140px) 30px;
  background: #fff;
}
 
.features h2 {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.features__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
 
/* Accordion */
.feature {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.feature:first-child { border-top: 1px solid var(--line); }
 
.feature__heading { margin: 0; font: inherit; }
 
.feature__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.4s var(--ease);
}
.feature.is-active .feature__trigger,
.feature__trigger:hover { color: var(--ink); }
.feature__trigger:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
 
.feature__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.feature__icon-v {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s var(--ease);
}
.feature.is-active .feature__icon-v { transform: scaleY(0); }
 
/* Smooth open and close: animate the row height from 0fr to 1fr */
.feature__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--ease), visibility 0s linear 0.55s;
}
.feature.is-active .feature__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}
 
.feature__panel-inner {
  min-height: 0;
  overflow: hidden;
}
.feature__panel-inner p {
  max-width: 46ch;
  margin: 0;
  padding-bottom: 28px;
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.feature.is-active .feature__panel-inner p {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}
 
/* Progress line along the bottom of the open feature (5s, set from features.js) */
.feature__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.feature.is-playing .feature__progress {
  animation: feature-progress var(--duration, 5000ms) linear forwards;
}
.features.is-paused .feature.is-playing .feature__progress { animation-play-state: paused; }
 
@keyframes feature-progress { to { transform: scaleX(1); } }
 
/* Square image card */
.features__card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  justify-self: end;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #e9ebf0;
}
 
.features__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}
.features__image.is-active {
  opacity: 1;
  transform: none;
}
 
/* Stack on tablet and mobile: image first, accordion below */
@media (max-width: 860px) {
  .features__inner { grid-template-columns: 1fr; }
  .features__card { order: -1; max-width: none; justify-self: stretch; border-radius: 12px; }
}

@media (max-width: 600px) {
  .features { padding-right: 20px; padding-left: 20px; }
}
 
@media (prefers-reduced-motion: reduce) {
  .feature__panel,
  .feature__panel-inner p,
  .feature__icon-v,
  .features__image { transition: none; }
}

.customers {
  /* Left and right margin of the header; the cards line up with it and bleed off the right edge */
  --gutter: max(clamp(24px, 5vw, 72px), calc((100vw - 1240px) / 2));
  padding: clamp(64px, 10vw, 140px) 0;
  overflow: hidden;
  background: #fff;
  color: #12141a;
  font-family: "Poppins", system-ui, sans-serif;
}

.customers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 56px);
  padding: 0 var(--gutter);
}

.customers__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

/* Arrow buttons */
.customers__nav { display: flex; gap: 8px; flex: 0 0 auto; }

.customers__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f2f4;
  color: #12141a;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.customers__arrow:hover:not(:disabled) { background: #e4e6eb; }
.customers__arrow:disabled { color: #9aa0ad; cursor: default; }
.customers__arrow:focus-visible { outline: 3px solid #2438ff; outline-offset: 2px; }

.customers__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scrolling track */
.customers__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}
.customers__track::-webkit-scrollbar { display: none; }

.customers__track li {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

/* Card */
.customer {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.9 / 1;
  padding: clamp(20px, 4vw, 60px);
  border-radius: 4px;
  overflow: hidden;
  background: #1a1d24; /* shows while the image loads */
  color: #fff;
  text-decoration: none;
}
.customer:focus-visible { outline: 3px solid #bef164; outline-offset: -8px; }

.customer__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Darkens the photo so the white text stays readable */
.customer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.7));
}

@media (hover: hover) {
  .customer:hover .customer__image { transform: scale(1.04); }
}

.customer__label {
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.25;
}

.customer__title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.625rem, 3.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Mobile: narrower, taller cards so the text has room */
@media (max-width: 700px) {
  .customers__track li { flex-basis: 86%; }
  .customer { aspect-ratio: 4 / 5; }
  .customers__arrow { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .customer__image,
  .customers__arrow { transition: none; }
}

.interview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  background: #fff;
  color: #12141a;
  font-family: "Poppins", system-ui, sans-serif;
  text-align: center;
}

.interview__title {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 640px;
  text-wrap: balance;
}

.interview__text {
  max-width: 52ch;
  margin: 0 0 clamp(28px, 4.5vw, 56px);
  color: #5d6270;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  text-wrap: balance;
}

/* 16:9 video canvas. As wide as the screen height allows, so the section stays within 100dvh. */
.interview__media {
  position: relative;
  width: 85%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #12141a;
}

.interview__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slight black overlay, darker at the bottom behind the text */
.interview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%),
    rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Caption and "Watch video", bottom middle */
.interview__overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vw, 48px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: clamp(14px, 2vw, 22px);
  width: calc(100% - 32px);
  transform: translateX(-50%);
}

.interview__caption {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  text-align: left;
}

.interview__watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 500;
  cursor: pointer;
}
.interview__watch:focus-visible { outline: 3px solid #bef164; outline-offset: 6px; border-radius: 999px; }

.interview__watch-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.25s ease;
}
.interview__watch-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.interview__watch:hover .interview__watch-icon { background: rgba(255, 255, 255, 0.35); }
.interview__watch:hover .interview__watch-icon svg { transform: translateX(2px); }

/* Small pause / play control, bottom right (lets visitors stop the looping video) */
.interview__toggle {
  position: absolute;
  right: clamp(12px, 1.6vw, 20px);
  bottom: clamp(12px, 1.6vw, 20px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.interview__toggle:hover { background: rgba(255, 255, 255, 0.35); }
.interview__toggle:focus-visible { outline: 3px solid #bef164; outline-offset: 3px; }
.interview__toggle svg { grid-area: 1 / 1; width: 14px; height: 14px; fill: currentColor; }
.interview__toggle .icon-play { display: none; }
.interview__toggle.is-paused .icon-pause { display: none; }
.interview__toggle.is-paused .icon-play { display: block; }

/* Full video pop-up */
.interview__dialog {
  width: min(92vw, 1200px);
  max-width: none;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: visible;
  background: #000;
}
.interview__dialog::backdrop { background: rgba(0, 0, 0, 0.85); }

.interview__full {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #000;
}

.interview__close {
  position: absolute;
  top: -48px;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.interview__close:hover { background: rgba(255, 255, 255, 0.3); }
.interview__close:focus-visible { outline: 3px solid #bef164; outline-offset: 3px; }
.interview__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Stop the page scrolling behind the pop-up */
html:has(.interview__dialog[open]) { overflow: hidden; }

@media (max-width: 640px) {
  .interview__toggle { display: none; } /* keeps the small screen uncluttered; the preview still loops */
  .interview__media { aspect-ratio: 4 / 5; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .interview__watch-icon,
  .interview__watch-icon svg,
  .interview__toggle,
  .interview__close { transition: none; }
}

.community-section{
  padding: 100px 24px;
  display: flex;
  flex-direction: column;
  background: #f3efe6;
  align-items: center;
  text-align: center;
}

.community-logo{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 24px;
  margin-top: 30px;
}

.community-title{
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 0 56px;
}

.community-cards{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.community-card{
  width: 416px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.community-card-image{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.community-card-text{
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f5f3ee;
}

.community-card-title{
  font-family: var(--font-title, "Cormorant"), serif;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.community-card-desc{
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245,243,238,0.75);
  margin: 0 0 22px;
}

.community-card-btn{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.community-card-btn:hover{
  background: var(--accent);
  color: #000;
}

/* --- mobile --- */
@media (max-width: 900px){
  .community-cards{
    flex-direction: column;
    align-items: center;
  }
  .community-card{
    width: min(416px, 90vw);
  }
}

/* Tokens match the rest of the site */
:root {
  --ink: #12141a;
  --lime: #bef164;
  --pad: clamp(24px, 5vw, 72px);
}

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


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

.testimonials {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.7s;
  padding: clamp(64px, 10vw, 140px) var(--pad);
  padding-bottom: clamp(128px, 14vw, 190px);
  background: #fff;
}

.testimonials__title {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

/* Row of cards */
.testimonials__row {
  display: flex;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tone);
  color: #fff;
}
.card:nth-child(1) { --tone: #0f4a38; }
.card:nth-child(2) { --tone: #17284a; }
.card:nth-child(3) { --tone: #3a1f45; }
.card:nth-child(4) { --tone: #0b4a52; }

/* Photo, with the company logo tile bottom-left */
.card__media {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__logo {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}
.card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Quote */
.card__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.card__quote { margin: 0; }
.card__quote::before {
  content: "“";
  display: block;
  height: 1.6rem;
  color: var(--lime);
  font-size: 3rem;
  line-height: 1;
}
.card__quote p {
  margin: 0;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.card__author { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.card__name { font-weight: 500; font-size: 0.9375rem; }
.card__role { color: rgba(255, 255, 255, 0.72); font-size: 0.8125rem; }

/* Full-card button: handles click, tap and keyboard */
.card__toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: pointer;
}
.card__toggle:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }

/* Desktop: cards sit side by side and the active one grows */
@media (min-width: 861px) {
  .testimonials__row { height: clamp(380px, 38vw, 480px); }

  .card { transition: flex-grow var(--dur) var(--ease); }
  .card.is-active { flex-grow: 2.8; }

  .card__media {
    transition-property: top, left, bottom, width, border-radius;
    transition-duration: var(--dur);
    transition-timing-function: var(--ease);
  }
  .card.is-active .card__media {
    top: 8px;
    left: 8px;
    bottom: 8px;
    width: calc(40% - 12px);
    border-radius: 10px;
  }

  .card__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .card.is-active .card__panel {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease) 0.3s, visibility 0s;
  }

  .card__body,
  .card__text { height: 100%; }
  .card__text { padding: 30px 26px 26px 20px; }
}

/* Mobile: cards stack and the opened one grows downwards */
@media (max-width: 860px) {
  .testimonials__row { flex-direction: column; gap: 10px; }
  .card { flex: none; aspect-ratio: 1 / 1; }
  .card.is-active { aspect-ratio: auto; }

  .card__media {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    transition-property: margin, border-radius;
    transition-duration: var(--dur);
    transition-timing-function: var(--ease);
  }
  .card.is-active .card__media {
    margin: 8px 8px 0;
    border-radius: 10px;
  }

  .card__panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .card.is-active .card__panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition-delay: 0s;
  }

  .card__body { min-height: 0; overflow: hidden; }
  .card__text {
    padding: 20px 22px 26px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }
  .card.is-active .card__text { opacity: 1; transition-delay: 0.25s; }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card__media,
  .card__panel,
  .card__text { transition: none !important; }
}

.faq-section{
  position: relative;
  z-index: 1;
  margin-top: -72px;
  padding: 100px 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .testimonials { padding-bottom: 128px; }
  .faq-section { margin-top: -48px; }
}

.faq-title{
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f5f3ee;
  text-align: center;
  margin: 0 0 48px;
}

.faq-accordion{
  width: 100%;
  border-top: 1px solid rgba(255,255,255,1);
}

.faq-item{
  border-bottom: 1px solid rgba(255,255,255,1);
}

.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-title, "Cormorant"), serif;
    font-weight: 400;
    font-size: 30px;
  color: #f5f3ee;
}

.faq-icon{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: white;
  transition: transform 0.4s var(--ease);
}

.faq-item.is-open .faq-icon{
  transform: rotate(180deg);
}

.faq-answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-answer{
  grid-template-rows: 1fr;
}

.faq-answer-inner{
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p{
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245,243,238,0.65);
  margin: 0;
  padding: 0 28px 22px 4px;
}

.cta {
  padding: clamp(8px, 1.5vw, 20px);
  background: #000;
  font-family: var(--font-body, "Diatype"), sans-serif;
}

.cta__card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70vh;
  padding: 96px clamp(24px, 5vw, 72px);
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
  background: #111; /* shows while the image loads */
  text-align: center;
}

.cta__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darkens the image so the white text stays readable */
.cta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
}

.cta__content {
  max-width: 760px;
}

.cta__title {
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--font-title, "Cormorant"), serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.cta__text {
  max-width: 52ch;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.cta__button {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  background: #bef164;
  color: #12141a;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.cta__button:hover { background: var(--accent-hover); color: #fff; }
.cta__button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.footer {
  width: 100%;
  position: relative;
  left: 0;
  right: auto;
  margin: 0;
  background-color: #000000;
  padding: 40px 30px 50px;
  overflow: hidden;
}

.footer__row {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__row--top {
  justify-content: space-between;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 36px auto 0;
  padding: 32px;
  border: 1px solid rgba(250, 249, 246, 0.0);
  border-radius: 12px;
  background: #000;
}

.footer__links-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__links-title {
  width: 100%;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
}

.footer__links-column a {
  color: rgba(250, 249, 246, 0.68);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links-column a:hover,
.footer__links-column a:focus-visible {
  color: #fff;
}

.footer__row--bottom {
  justify-content: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
}

.footer__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.85;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.footer__contact-link:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__copyright {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(250, 249, 246, 0.6);
  text-align: center;
}

.footer__copyright a {
  color: rgba(250, 249, 246, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s var(--ease-out);
}

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

.footer__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 20vw;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
  margin: 40px 0 0;

  background: linear-gradient(to bottom, var(--accent) 0%, #000000 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 600px) {
  .footer__row--top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    margin-top: 28px;
    padding: 24px 20px;
  }
}

.evercare-fab-wrapper {
  position:fixed;
  right:28px;
  bottom:28px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:16px;
  opacity:0;
  visibility:hidden;
  transform:translateY(16px);
  transition:opacity .4s ease,transform .4s ease,visibility .4s ease;
}
.evercare-fab-wrapper.is-visible {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.evercare-fab-card {
  width:290px;
  max-width:calc(100vw - 40px);
  padding:10px;
  background:var(--white);
  border:1px solid rgba(0,0,0,.07);
  border-radius:12px;
  box-shadow:0 15px 50px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.97);
  transform-origin:bottom right;
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
}
.evercare-fab-wrapper.is-open .evercare-fab-card {
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
.evercare-fab-image {
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:7px;
  background:linear-gradient(135deg,#e8ece8,#cbd5ce);
}
.evercare-fab-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: top center;
}
.evercare-fab-actions {
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:10px;
}
.evercare-fab-action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:46px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:6px;
  font-family: var(--font-body, "Diatype"), sans-serif;
  font-size:11px;
  font-weight:500;
  letter-spacing:.01em;
  text-decoration:none;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.evercare-fab-action span {
  font-size:15px;
}
.evercare-fab-primary {
  background:var(--accent);
  color:var(--white);
}
.evercare-fab-primary:hover {
  background:var(--green);
}
.evercare-fab-secondary {
  background:var(--white);
  color:var(--accent);
  border-color:rgba(35,72,59,.2);
}
.evercare-fab-secondary:hover {
  background:#f3f6f3;
  border-color:var(--accent);
}
/* SVG arrows */
.evercare-fab-arrow {
  display:block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  transition:transform .25s ease;
}
.evercare-fab-action:hover .evercare-fab-arrow {
  transform:translate(2px,-2px);
}

/* AI orb button */
.evercare-fab {
  position:relative;
  isolation:isolate;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:#07130f;
  cursor:pointer;
  box-shadow:0 6px 24px rgba(0,0,0,.2);
  transition:transform .3s ease,box-shadow .3s ease;
}
.evercare-fab:hover {
  transform:scale(1.09);
  box-shadow:0 8px 32px rgba(28, 110, 79, 0.553);
}
.evercare-orb {
  position:absolute;
  inset:0;
  display:block;
  overflow:hidden;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%,#173b30 0%,#07130f 70%);
}
.evercare-orb-glow {
  position:absolute;
  width:145%;
  height:145%;
  left:-22.5%;
  top:-22.5%;
  border-radius:50%;
  filter:blur(9px);
  will-change:transform;
}
.evercare-orb-glow-one {
  background:conic-gradient(from 0deg,transparent 0deg,#bef164 45deg,#40d8bd 100deg,transparent 145deg,#7b8cff 205deg,#d8b65c 265deg,transparent 320deg);
  animation:evercare-orb-spin-one 1.5s linear infinite;
}
.evercare-orb-glow-two {
  width:125%;
  height:125%;
  left:-12.5%;
  top:-12.5%;
  background:conic-gradient(from 180deg,transparent 0deg,#ffffff 35deg,transparent 80deg,#8dffce 135deg,#5479ff 195deg,transparent 245deg,#bef164 300deg,transparent 340deg);
  filter:blur(12px);
  opacity:.8;
  animation:evercare-orb-spin-two 5s linear infinite reverse;
}
.evercare-orb-core {
  position:absolute;
  inset:9px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.18),transparent 34%),radial-gradient(circle at 50% 70%,#102b23 0%,#07130f 72%);
  box-shadow:inset 0 0 12px rgba(190,241,100,.14),0 0 12px rgba(64,216,189,.12);
}
@keyframes evercare-orb-spin-one {
  from { transform:rotate(0deg); }
  to { transform:rotate(360deg); }
}
@keyframes evercare-orb-spin-two {
  from { transform:rotate(360deg); }
  to { transform:rotate(0deg); }
}
@media(max-width:600px) {
  .evercare-fab {
    width:54px;
    height:54px;
  }
  .evercare-orb-glow-one {
    filter:blur(8px);
  }
  .evercare-orb-glow-two {
    filter:blur(10px);
  }
}
@media(prefers-reduced-motion:reduce) {
  .evercare-orb-glow-one,
  .evercare-orb-glow-two {
    animation:none;
  }
  .evercare-fab,
  .evercare-fab-arrow {
    transition:none;
  }
}

@media(max-width:600px) {
  .evercare-fab-wrapper {
    right:18px;
    bottom:18px;
    gap:12px;
  }
  .evercare-fab {
    width:54px;
    height:54px;
  }
  .evercare-fab-card {
    width:270px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .evercare-fab-wrapper,
  .evercare-fab-card,
  .evercare-fab,
  .evercare-fab-icon {
    transition:none;
  }
}