.about-page {
  background: var(--paper-50);
  color: var(--ink-900);
}

.about-canvas {
  overflow: hidden;
}

.page-hero--about .page-hero__bg {
  background-image: url('../../assets/images/caroline-ralph-kiss.webp');
  background-position: 60% 13%;
}

.about-intro {
  border-top: 1px solid rgba(19, 128, 154, 0.18);
}

.about-intro__statement {
  max-width: 1180px;
  margin: 0.6em auto 0;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: none;
}

.about-intro__media {
  width: 100vw;
  margin: clamp(3rem, 8vw, 5.5rem) calc(50% - 50vw) clamp(3rem, 6vw, 4.5rem);
  height: clamp(320px, 56vw, 680px);
  overflow: hidden;
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.about-intro__banner {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: clamp(2.25rem, 6vw, 3.75rem) clamp(1rem, 4vw, 3rem);
  background: var(--teal-700);
  text-align: center;
  overflow: hidden;
}

.about-intro__banner-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.banner-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%);
  opacity: var(--op, 0.28);
  animation: banner-particle-float var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes banner-particle-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(var(--x1, 10px), var(--y1, -14px));
  }
  50% {
    transform: translate(var(--x2, -8px), var(--y2, -22px));
  }
  75% {
    transform: translate(var(--x3, -12px), var(--y3, -6px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-particle {
    animation: none;
  }
}

.about-intro__banner-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--paper-50);
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.about-intro__banner-sub {
  position: relative;
  z-index: 1;
  margin: 0.75em 0 0;
  color: var(--teal-300);
  font-size: clamp(0.72rem, 0.8vw, 0.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-values-big {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(19, 128, 154, 0.18);
}

.about-values-big__bg-mark {
  position: absolute;
  z-index: 0;
  top: -2svh;
  right: -1.5vw;
  width: min(16vw, 220px);
  height: auto;
  color: rgba(19, 128, 154, 0.1);
  pointer-events: none;
}

.about-values-big__heading {
  position: relative;
  z-index: 1;
  margin: 0.1em 0 0.15em;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: 0.03em;
}

.about-values-big__subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5em;
  color: #45505e;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 500;
}

.about-values-big .section-label {
  position: relative;
  z-index: 1;
  padding-bottom: 0.6em;
}

.about-values-big .section-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.6rem;
  height: 2px;
  background: var(--teal-500);
}

.about-values-big__list {
  position: relative;
  z-index: 1;
  display: grid;
  border-top: 1px solid rgba(19, 128, 154, 0.18);
}

.value-row {
  display: grid;
  grid-template-columns: 3.25rem 1.5rem minmax(0, 0.85fr) minmax(0, 1.3fr) 4.25rem;
  align-items: center;
  gap: clamp(0.6rem, 1.8vw, 1.5rem);
  padding: clamp(1.75rem, 4svh, 2.75rem) 0;
  border-bottom: 1px solid rgba(19, 128, 154, 0.18);
  transition: border-color 0.25s ease;
}

.value-row:hover {
  border-bottom-color: rgba(19, 128, 154, 0.45);
}

.value-row__index {
  color: var(--teal-500);
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.value-row:hover .value-row__index {
  color: var(--teal-700);
}

.value-row__slash {
  color: rgba(19, 128, 154, 0.4);
  font-size: 1.3rem;
  font-weight: 300;
}

.value-row h3 {
  position: relative;
  margin: 0;
  padding-bottom: 0.5em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: 0.05em;
}

.value-row h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.4rem;
  height: 2px;
  background: var(--teal-500);
}

.value-row p {
  margin: 0;
  max-width: 46ch;
  color: #45505e;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
}

.value-row__highlight {
  color: var(--teal-700);
  font-weight: 600;
}

.value-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgba(19, 128, 154, 0.3);
  color: var(--teal-700);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.value-row__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.value-row:hover .value-row__icon {
  background: rgba(19, 128, 154, 0.08);
  border-color: rgba(19, 128, 154, 0.5);
}

/* Referral Partners */

.partners {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5svh, 4rem);
  border-top: 1px solid rgba(19, 128, 154, 0.18);
}

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

.partners__mark {
  width: 1.6rem;
  height: auto;
  margin-bottom: 1rem;
  color: var(--teal-700);
}

.partners__eyebrow {
  text-align: center;
  color: #45505e;
}

.partners__heading {
  margin: 0 0 0.4em;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.partners__subtitle {
  max-width: 54ch;
  margin: 0 0 clamp(1.75rem, 4svh, 2.75rem);
  color: #45505e;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.55;
}

.partners__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
  text-align: left;
}

.partner-card {
  border: 1px solid rgba(19, 128, 154, 0.18);
  background: var(--paper-50);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
  border-color: var(--teal-500);
  box-shadow: 0 16px 32px rgba(20, 24, 26, 0.08);
  transform: translateY(-4px);
}

.partner-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.partner-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 0.5s ease;
}

.partner-card:hover .partner-card__media img {
  transform: scale(1.06);
}

.partner-card__index {
  position: absolute;
  top: clamp(0.7rem, 1.3vw, 1.05rem);
  left: clamp(0.7rem, 1.3vw, 1.05rem);
  color: var(--teal-300);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: 0.03em;
}

.partner-card__body {
  position: relative;
  padding: clamp(0.9rem, 1.6vw, 1.3rem);
}

.partner-card__body h3 {
  position: relative;
  margin: 0 0 0.65em;
  padding-bottom: 0.5em;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  letter-spacing: 0.02em;
}

.partner-card__body h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.4rem;
  height: 2px;
  background: var(--teal-500);
}

.partner-card__body p {
  max-width: 32ch;
  margin: 0;
  padding-right: 3.5rem;
  color: #45505e;
  font-size: clamp(0.78rem, 0.88vw, 0.88rem);
  line-height: 1.5;
}

.partner-card__arrow {
  position: absolute;
  right: clamp(0.9rem, 1.6vw, 1.3rem);
  bottom: clamp(0.9rem, 1.6vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(19, 128, 154, 0.3);
  color: var(--teal-700);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.partner-card:hover .partner-card__arrow {
  background: rgba(19, 128, 154, 0.08);
  border-color: var(--teal-500);
  transform: translateX(3px);
}

.partner-card__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

.partners__tagline {
  width: 100%;
  margin-top: clamp(2.5rem, 6svh, 4rem);
  padding-top: clamp(1.5rem, 3svh, 2rem);
  border-top: 1px solid rgba(19, 128, 154, 0.18);
  text-align: center;
}

.partners__tagline span {
  color: #45505e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

  .partner-card__body h3 {
    font-size: clamp(1.6rem, 6vw, 1.9rem);
  }
}

.about-cta {
  position: relative;
  border-top: 1px solid rgba(19, 128, 154, 0.18);
  overflow: hidden;
}

.about-cta__float {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  border: 6px solid var(--paper-50);
  box-shadow: 0 24px 48px rgba(20, 24, 26, 0.16);
}

.about-cta__float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.about-cta__float--one {
  top: clamp(2rem, 7svh, 5.5rem);
  left: clamp(1rem, 6vw, 5rem);
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 4 / 5;
  --rot: -4deg;
  animation: about-cta-float 6.5s ease-in-out infinite;
}

.about-cta__float--two {
  right: clamp(1rem, 6vw, 5rem);
  bottom: clamp(2rem, 7svh, 5.5rem);
  width: clamp(160px, 16vw, 250px);
  aspect-ratio: 4 / 3;
  --rot: 3deg;
  animation: about-cta-float 7.5s ease-in-out infinite;
  animation-delay: -2.4s;
}

@keyframes about-cta-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot));
  }
  50% {
    transform: translateY(-16px) rotate(var(--rot));
  }
}

@media (max-width: 900px) {
  .about-cta__float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-cta__float {
    animation: none;
    transform: rotate(var(--rot));
  }
}

.about-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-cta__heading {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

.about-cta__body {
  max-width: 620px;
  margin: 1.4em auto 0;
  color: #45505e;
  font-size: clamp(0.98rem, 1.05vw, 1.14rem);
  font-weight: 400;
  line-height: 1.85;
}

.about-cta__pill {
  margin-top: 2.4em;
  min-height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--teal-700);
  color: var(--teal-700);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-cta__pill:hover {
  background: var(--teal-700);
  color: var(--paper-50);
}

@media (max-width: 820px) {
  .value-row {
    grid-template-columns: 2.25rem 1.1rem 1fr;
    grid-template-areas:
      'index slash title'
      'desc  desc   desc';
    row-gap: 0.75rem;
  }

  .value-row__index {
    grid-area: index;
  }

  .value-row__slash {
    grid-area: slash;
  }

  .value-row h3 {
    grid-area: title;
    font-size: clamp(1.9rem, 7vw, 2.3rem);
  }

  .value-row p {
    grid-area: desc;
  }

  .value-row__icon {
    display: none;
  }
}

/* Caroline's story (16 Oct 2026) */
.about-story { background: var(--paper-50); border-top: 1px solid rgba(19, 128, 154, 0.18); }
.about-story__inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.about-story__heading { margin: 0.55em 0 0; color: var(--ink-900); font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.02; max-width: 18ch; }
.about-story__row { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.about-story__text p { margin: 0 0 1.1em; max-width: 62ch; color: #2c3437; font-family: var(--font-body); font-weight: 400; font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.7; }
.about-story__row:first-of-type .about-story__text p:first-child { color: var(--ink-900); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.55; }
.about-story__signoff { color: var(--teal-700) !important; font-weight: 600; }
.about-story__photo { margin: 0; }
.about-story__photo img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(19, 128, 154, 0.22); }
.about-story__photo--tall { max-width: 440px; justify-self: center; width: 100%; }
.about-story__photo figcaption { margin-top: 0.6em; color: #5b6669; font-family: var(--font-body); font-size: 0.82rem; }
.about-story__photo figcaption a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) {
  .about-story__row { grid-template-columns: 1.1fr 0.9fr; }
  .about-story__row--flip { grid-template-columns: 0.8fr 1.2fr; }
  .about-story__row--flip .about-story__photo { order: -1; }
  .about-story__photo { position: sticky; top: 7rem; }
}

/* Statement now secondary to Caroline's story: half its previous size */
.about-intro__statement { font-size: clamp(1.05rem, 2.2vw, 2.1rem); }

/* 16 Oct 2026: keep the story photos within the screen height on desktop (no cropping) */
@media (min-width: 900px) {
  .about-story__photo img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    margin-inline: auto;
  }
  .about-story__photo--tall { max-width: 380px; }
  .about-story__photo figcaption { text-align: center; }
}
