/* ==========================================================================
   Platform Bento Grid - Partner Portal Features
   Layout: PA PB PD / PA PC PD / PE PF PD
   ========================================================================== */

.pb {
  display: grid;
  grid-template-columns: 9fr 8fr 6fr;
  grid-template-rows: 272px 272px 200px;
  gap: 12px;
  width: 100%;
  max-width: var(--container-max);
}

.pb__a { grid-column: 1; grid-row: 1 / 3; }
.pb__b { grid-column: 2; grid-row: 1; }
.pb__c { grid-column: 2; grid-row: 2; }
.pb__d { grid-column: 3; grid-row: 1 / 4; }
.pb__e { grid-column: 1; grid-row: 3; }
.pb__f { grid-column: 2; grid-row: 3; }

.pb__cell {
  overflow: hidden;
  position: relative;
  background: #dbe1d891;
  border-radius: var(--radius-xl);
  min-height: 0;
}

/* Shared label style */
.pb__label {
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(47, 62, 70, 0.5);
}

/* --- PA: Finance Dashboard --- */

.pb__a {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.pb__a-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pb__a-growth {
  font-size: var(--font-size-caption);
  font-weight: 700;
  color: #52796F;
  background: rgba(82, 121, 111, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pb__a-stat {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  color: #36504A;
  line-height: 1;
}

.pb__a-sublabel {
  font-size: var(--font-size-caption);
  color: rgba(47, 62, 70, 0.55);
  margin-top: 6px;
}

.pb__a-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: auto;
  height: 90px;
}

.pb__a-bar {
  flex: 1;
  height: var(--h);
  background: rgba(107, 144, 128, 0.25);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s ease;
  cursor: default;
}

.pb__a-bar:hover {
  background: rgba(107, 144, 128, 0.5);
}

.pb__a-bar--active {
  background: rgba(107, 144, 128, 0.75);
}

.pb__a-months {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.pb__a-months span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: rgba(47, 62, 70, 0.4);
}

/* --- PB: Service Alerts --- */

.pb__b {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.pb__b-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pb__b-badge {
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
  background: rgba(180, 83, 9, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.pb__b-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.pb__b-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-body-sm);
  color: #2F3E46;
  transition: opacity 0.3s ease;
}

.pb__b-item.is-dismissed {
  opacity: 0.35;
  text-decoration: line-through;
}

.pb__b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pb__b-item--ok .pb__b-dot  { background: #52796F; }
.pb__b-item--warn .pb__b-dot { background: #d97706; }

.pb__b-text {
  flex: 1;
}

.pb__b-dismiss {
  font-size: 10px;
  color: rgba(47, 62, 70, 0.4);
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.pb__b-dismiss:hover {
  color: #2F3E46;
}

/* --- PC: Quick Order --- */

.pb__c {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  gap: 14px;
}

.pb__c-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.pb__c-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-medium);
  transition: background 0.2s ease;
}

.pb__c-item:hover {
  background: rgba(255, 255, 255, 0.7);
}

.pb__c-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-small);
  background: rgba(82, 121, 111, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52796F;
  flex-shrink: 0;
}

.pb__c-name {
  flex: 1;
  font-size: var(--font-size-body-sm);
  color: #2F3E46;
  font-weight: 500;
}

.pb__c-btn {
  font-size: 11px;
  font-weight: 700;
  color: #36504A;
  background: rgba(82, 121, 111, 0.18);
  border: 1px solid rgba(82, 121, 111, 0.25);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.pb__c-btn:hover {
  background: rgba(82, 121, 111, 0.3);
}

.pb__c-btn.is-added {
  background: rgba(82, 121, 111, 0.35);
  color: #fff;
  transform: scale(0.96);
}

/* --- PD: Learning Hub --- */

.pb__d {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0;
  min-height: 0;
}

.pb__d-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
  padding-inline: 4px;
}

.pb__d-star {
  width: 14px;
  height: 14px;
  color: #6B9080;
}

.pb__d-stat {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: #36504A;
  line-height: 1;
  padding-inline: 4px;
}

.pb__d-stat-label {
  font-size: var(--font-size-body-sm);
  color: rgba(47, 62, 70, 0.6);
  padding-inline: 4px;
  margin-bottom: 14px;
}

.pb__d-ticker {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.pb__d-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.pb__d-fade--top    { top: 0;    background: linear-gradient(to bottom, #dbe1d8, transparent); }
.pb__d-fade--bottom { bottom: 0; background: linear-gradient(to top,   #dbe1d8, transparent); }

.pb__d-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 8px;
}

.pb__d-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-medium);
  flex-shrink: 0;
}

.pb__d-module-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pb__d-module-title {
  font-size: var(--font-size-body-sm);
  font-weight: 600;
  color: #2F3E46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pb__d-module-dur {
  font-size: 10px;
  color: rgba(47, 62, 70, 0.45);
}

.pb__d-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(82, 121, 111, 0.12);
  color: rgba(47, 62, 70, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.pb__d-tag--done {
  background: rgba(82, 121, 111, 0.2);
  color: #36504A;
}

.pb__d-tag--progress {
  background: rgba(217, 119, 6, 0.12);
  color: #92400e;
}

/* --- PE: CTA Card --- */

.pb__e {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.pb__e-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-h3);
  font-weight: 800;
  color: #36504A;
}

.pb__e .body-sm {
  color: rgba(47, 62, 70, 0.65);
  margin-top: 4px;
}

.pb__e-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 10px;
  background: rgba(82, 121, 111, 0.18);
  color: #36504a;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(82, 121, 111, 0.3);
  font-size: var(--font-size-body-sm);
  font-weight: 600;
  margin-top: 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pb__e-cta:hover {
  background: rgba(82, 121, 111, 0.28);
  border-color: rgba(82, 121, 111, 0.45);
}

.pb__e-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-mid);
  color: #fff;
  flex-shrink: 0;
}

.pb__e-cta-icon svg {
  width: 14px;
  height: 14px;
}

/* --- PF: Stat Card --- */

.pb__f {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}

.pb__f-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: #36504A;
  line-height: 1;
}

.pb__f-label {
  font-size: var(--font-size-body-sm);
  color: rgba(47, 62, 70, 0.55);
  margin-top: 8px;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
  .pb {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 220px 200px 240px;
  }
  .pb__a { grid-column: 1; grid-row: 1 / 3; }
  .pb__b { grid-column: 2; grid-row: 1; }
  .pb__c { grid-column: 2; grid-row: 2; }
  .pb__d { grid-column: 1 / 3; grid-row: 3; }
  .pb__e { grid-column: 1; grid-row: 4; }
  .pb__f { grid-column: 2; grid-row: 4; }
}

@media (max-width: 768px) {
  .pb {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pb__a, .pb__b, .pb__c, .pb__d, .pb__e, .pb__f {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
  }
  .pb__a { min-height: 340px; }
  .pb__d { min-height: 320px; }
}


/* ==========================================================================
   Why Clinics Split - Two edge-to-edge containers
   ========================================================================== */

.why-split {
  display: flex;
  gap: 10px;
}

.why-split__left {
  flex: 1.1;
  background: #E7EEE6;
  border-radius: 6vh;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.why-split__right {
  flex: 1;
  background: #E7EEE6;
  border-radius: 6vh;
  padding: 3vh;
  min-height: 520px;
}

.why-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5vh;
  display: block;
}

.why-split__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-top: var(--space-6);
}

.why-split__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-body-sm);
  font-weight: 500;
  color: #2F3E46;
}

.why-split__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-medium);
  background: rgba(82, 121, 111, 0.15);
  color: #52796F;
  flex-shrink: 0;
}

.why-split--flipped {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .why-split,
  .why-split--flipped {
    flex-direction: column;
  }

  .why-split__left {
    min-height: auto;
  }

  .why-split__right {
    display: none;
  }
}

@media (max-width: 600px) {
  .why-split__left {
    padding: var(--space-5) var(--space-4);
    border-radius: 4vh;
  }

  .why-split__right {
    min-height: 240px;
    padding: 2vh;
    border-radius: 4vh;
  }

  .why-split__img {
    border-radius: 3vh;
  }

  .why-split__features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: var(--space-4);
  }
}
/* ==========================================================================
   Unlock New Revenue - 4-card grid
   ========================================================================== */

.unlock-grid {
  gap: 16px;
}

@media (max-width: 480px) {
  .unlock-grid {
    gap: 10px;
  }

  .unlock-card {
    padding: var(--space-4) var(--space-3);
  }
}

.unlock-card {
  background: #E7EEE6;
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.unlock-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.unlock-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-medium);
  background: rgba(54, 80, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52796F;
  flex-shrink: 0;
}

.unlock-card__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  color: #36504A;
  line-height: 1.3;
}

.unlock-card__text {
  font-size: var(--font-size-body-sm);
  line-height: 1.6;
  color: rgba(47, 62, 70, 0.65);
}


/* ==========================================================================
   Home Panel - Rounded visible container for content sections
   ========================================================================== */

.home-panel {
  max-width: 1200px;
  margin-inline: auto;
  background: #E7EEE6;
  border-radius: 6vh;
  padding: var(--space-8);
}

@media (max-width: 768px) {
  .home-panel {
    border-radius: var(--radius-large);
    padding: var(--space-5) var(--space-3);
  }
}

.home-panel--glass {
  background: transparent;
  padding: 0;
  border: none;
}

.invest-grid {
  align-items: center;
}

.invest-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--container-max);
}

.invest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(54, 80, 74, 0.12);
}

.invest-footer p {
  max-width: 540px;
}

.invest-footer__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.invest-card {
  position: relative;
  overflow: hidden;
  background: #E7EEE6;
  border: none;
  box-shadow: none;
  min-height: 280px;
  transform-origin: bottom center;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.invest-grid--2col .invest-card {
  min-height: 280px;
}

.invest-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.invest-card__bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  opacity: 0.1;
  filter: blur(30px);
  transition: filter 0.35s ease;
  pointer-events: none;
  color: var(--color-primary-mid);
}

.invest-card:hover .invest-card__bg-icon {
  filter: blur(0);
}

.invest-icon {
  transition: transform 0.35s ease;
  cursor: default;
}

.invest-card:hover .invest-icon {
  transform: rotate(10deg) scale(1.15);
}

@media (max-width: 768px) {
  .invest-card {
    transform: none;
    min-height: auto;
  }
  .invest-grid--2col {
    grid-template-columns: 1fr;
  }
  .invest-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: var(--space-3);
  }
  .invest-footer__actions {
    flex-direction: column;
    width: 100%;
  }
}


/* ==========================================================================
   Partnership Video Section
   ========================================================================== */

.container--video {
  max-width: 1785px;
  width: 100%;
}

.pillars-video {
  position: relative;
  border-radius: 6vh;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  height: 750px;
  background: #1a2a2a;
}

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

/* Right overlay card */
.pillars-video__card {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  width: 320px;
  background: #E7EEE6;
  border: 1px solid rgba(47, 62, 70, 0.1);
  border-radius: var(--radius-large);
  padding: 28px 24px;
}

.pillars-video__card-title {
  font-size: var(--font-size-body);
  font-weight: 700;
  color: #2F3E46;
  line-height: 1.3;
  margin-bottom: 20px;
}

.pillars-video__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}

.pillars-video__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillars-video__num {
  font-size: var(--font-size-body-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(47, 62, 70, 0.45);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillars-video__item-title {
  font-size: var(--font-size-body);
  font-weight: 700;
  color: #2F3E46;
  display: block;
  margin-bottom: 3px;
}

.pillars-video__item-body {
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body);
  color: rgba(47, 62, 70, 0.65);
}

/* Play / Pause button */
.pillars-video__play {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.pillars-video__play:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .pillars-video {
    height: auto;
    min-height: 0;
    border-radius: var(--radius-large);
    display: flex;
    flex-direction: column;
  }

  .pillars-video__vid {
    height: 280px;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
  }

  .pillars-video__card {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    border-top: none;
    background: #E7EEE6;
  }
}

@media (max-width: 480px) {
  .pillars-video__vid {
    height: 220px;
  }

  .pillars-video__card {
    padding: 20px 16px;
  }

  .pillars-video__list {
    gap: 14px;
  }
}


/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.preloader__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #eef2ed 0%,
    #e7eee6 40%,
    #e0e9df 70%,
    #dae4d9 100%
  );
  transition:
    border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s,
    inset 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.preloader__logo {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.92);
  animation: preloaderFadeIn 0.4s ease forwards;
}

.preloader__logo img {
  height: 64px;
  width: auto;
}

/* Logo fades in */
@keyframes preloaderFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dismiss state - logo fades, bg morphs into hero container shape */
.preloader--done .preloader__logo {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.preloader--done .preloader__bg {
  inset: 80px 60px;
  border-radius: 6vh;
}

.preloader--done {
  pointer-events: none;
}

/* Final hide */
.preloader--hidden {
  visibility: hidden;
}

@media (max-width: 768px) {
  .preloader--done .preloader__bg {
    inset: 6px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .preloader--done .preloader__bg {
    inset: 4px;
    border-radius: 16px;
  }
}


/* ==========================================================================
   Home Page - Bento Grid
   ========================================================================== */

:root {
  --font-serif: 'Shippori Mincho', serif;
}

/* Serif font for primary headings only */
.bento__b-phrase,
.bento__d-number,
.bento__e-stat,
.bento__f-title {
  font-family: var(--font-serif);
  color: #36504A;
}

.ba-slider__card-title {
  font-family: var(--font-serif);
  color: #36504A;
}

/* --- Bento Layout ---
   Grid:  A B D
          A C E
          F G E
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: 9fr 8fr 6fr;
  grid-template-rows: 272px 272px 200px;
  gap: 12px;
  width: 100%;
  max-width: var(--container-max);
}

.bento__a { grid-column: 1; grid-row: 1 / 3; }
.bento__b { grid-column: 2; grid-row: 1; }
.bento__c { grid-column: 2; grid-row: 2; }
.bento__d { grid-column: 3; grid-row: 1; }
.bento__e { grid-column: 3; grid-row: 2 / 4; }
.bento__f { grid-column: 1; grid-row: 3; }
.bento__g { grid-column: 2; grid-row: 3; }

.bento__cell {
  overflow: hidden;
  position: relative;
  background: #dbe1d891;
  border: none;
  border-radius: var(--radius-xl);
  min-height: 0;
}

/* A and G get their own backgrounds */
.bento__a { background: transparent; }
.bento__g { background: #000; }


/* ==========================================================================
   A - Before / After Slider
   ========================================================================== */

.bento__a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ba-slider {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ba-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-slider__img--before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.ba-slider__knob {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-mid);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  pointer-events: auto;
  cursor: ew-resize;
  position: relative;
  z-index: 4;
}

/* Before / After corner labels */
.ba-slider__label {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--font-size-caption);
  font-weight: 600;

  letter-spacing: 0.02em;
  pointer-events: none;

  color: white;
}

.ba-slider__label--before {
  left: 14px;
}

.ba-slider__label--after {
  right: 14px;
}

/* Glassmorphic info card - anchored to bottom, dark + heavy blur */
.ba-slider__card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  padding: 16px 20px;
  background: #e7eee6a8;
  backdrop-filter: blur(60px) saturate(1);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ba-slider__card-title {
  font-weight: 800;
  font-size: var(--font-size-h3);
  color: #36504A;
  line-height: 1.2;
}

.ba-slider__card-sub {
  font-size: var(--font-size-caption);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.ba-slider__card-features {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.ba-slider__card-feature {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ba-slider__card-feature-icon {
  width: 20px;
  height: 20px;
  color: #000;
  flex-shrink: 0;
}

.ba-slider__card-feature-text {
  font-size: 11px;
  font-weight: 500;
  color: #000;
}


/* ==========================================================================
   B - Fact Card with Background Graphic
   Text aligned top-left, badges underneath
   ========================================================================== */

.bento__b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;


}

.bento__b-graphic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  pointer-events: none;
  width: 130%;
  margin-left: -15%;
  margin-top: 20%;
}

.bento__b-graphic img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  rotate: -10deg;
}

.bento__b-title {
  font-size: var(--font-size-body);
  font-weight: 700;
  color: #000000;
  position: relative;
  z-index: 1;
}

.bento__b-phrase {
  font-size: var(--font-size-h2);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.bento__b-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.bento__b-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(82, 121, 111, 0.15);
  font-size: var(--font-size-caption);
  font-weight: 600;
  color: #000000;
  border: none;
  width: fit-content;
}


/* ==========================================================================
   C - Card (inherits #CAD2C5 background)
   ========================================================================== */

.bento__c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.bento__c-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-h3);
  font-weight: 700;
  color: #36504A;
  margin-bottom: 4px;
}

.bento__c .body-sm {
  color: #000;
}

.bento__c-portraits {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bento__c-circle {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #CAD2C5;
  box-shadow: 0 2px 8px rgba(47, 62, 70, 0.1);
  flex-shrink: 0;
}

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

.bento__c-circle--side {
  width: 68px;
  height: 68px;
  z-index: 1;
}

.bento__c-circle--center {
  width: 88px;
  height: 88px;
  z-index: 2;
  margin-inline: -14px;
}


/* ==========================================================================
   D - Experience Badge
   ========================================================================== */

.bento__d {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 24px;
}

.bento__d-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.bento__d-label {
  font-size: var(--font-size-body-sm);
  font-weight: normal;
  color: #000000;
  margin-top: 8px;
}

.bento__d-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.bento__d-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(82, 121, 111, 0.15);
  font-size: var(--font-size-caption);
  font-weight: 600;
  color: #000000;
  width: fit-content;
}

/* "Since 2026" - edge to edge at bottom */
.bento__d-since {
  margin-top: auto;
  margin-left: -24px;
  margin-right: -24px;
  margin-bottom: -32px;
  width: calc(100% + 48px);
  font-family: var(--font-serif);
  font-size: 6.388vh;
  font-weight: 400;

  color: #9a9e9944;
  line-height: 1.2;
  text-align: center;
}


/* ==========================================================================
   E - Review Ticker
   ========================================================================== */

.bento__e {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0;
  min-height: 0;
}

/* Stars row */
.bento__e-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
  flex-shrink: 0;
  padding-inline: 4px;
}

.bento__e-star {
  width: 16px;
  height: 16px;
  color: #6B9080;
}

/* Big stat */
.bento__e-stat {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  padding-inline: 4px;
}

.bento__e-stat-label {
  font-size: var(--font-size-body-sm);
  font-weight: normal;
  color: #000000;
  padding-inline: 4px;
  margin-bottom: 14px;
}

.bento__e-ticker {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: grab;
  min-height: 0;
}

.bento__e-ticker:active {
  cursor: grabbing;
}

/* Fade overlays */
.bento__e-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.bento__e-fade--top {
  top: 0;
  background: linear-gradient(to bottom, #E7EEE6, transparent);
}

.bento__e-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #E7EEE6, transparent);
}

/* Track - scrolls infinitely */
.bento__e-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 8px;
}

/* Review cards */
.bento__e-review {
  flex-shrink: 0;
  padding: 12px 14px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  box-shadow: none;
}

.bento__e-review:hover {
  transform: none;
  box-shadow: none;
}

.bento__e-review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 6px;
}

.bento__e-review-star {
  width: 12px;
  height: 12px;
  color: #6B9080;
}

.bento__e-review-text {
  font-size: var(--font-size-caption);
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 8px;
}

.bento__e-review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento__e-review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-accent-muted);
}

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

.bento__e-review-name {
  font-size: var(--font-size-caption);
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.bento__e-review-role {
  font-size: 10px;
  color: #000000;
  line-height: 1.2;
}


/* ==========================================================================
   F - CTA Card
   ========================================================================== */

.bento__f {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.bento__f-title {
  font-size: var(--font-size-h3);
  font-weight: 800;
}

.bento__f .body-sm {
  color: #000000;
}

.bento__f-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 10px;
  background: rgba(82, 121, 111, 0.18);
  color: #36504a;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(82, 121, 111, 0.3);
  font-size: var(--font-size-body-sm);
  font-weight: 600;
  line-height: 1;
  margin-top: 16px;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.bento__f-cta:hover {
  background: rgba(82, 121, 111, 0.28);
  border-color: rgba(82, 121, 111, 0.45);
  box-shadow: 0 2px 8px rgba(47, 62, 70, 0.06);
}

.bento__f-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-mid);
  color: #fff;
  flex-shrink: 0;
}

.bento__f-cta-icon svg {
  width: 14px;
  height: 14px;
}


/* ==========================================================================
   G - Looped Video
   ========================================================================== */

.bento__g {
  padding: 0;
  background: transparent;
}

.bento__g-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 220px 200px 240px;
  }

  .bento__a { grid-column: 1; grid-row: 1 / 3; }
  .bento__b { grid-column: 2; grid-row: 1; }
  .bento__d { grid-column: 2; grid-row: 2; }
  .bento__c { grid-column: 1; grid-row: 3; }
  .bento__e { grid-column: 2; grid-row: 3 / 5; }
  .bento__f { grid-column: 1; grid-row: 4; }
  .bento__g { grid-column: 1 / 3; grid-row: 5; }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 240px 260px 200px 320px 220px 200px;
  }

  .bento__a { grid-column: 1; grid-row: 1; }
  .bento__b { grid-column: 1; grid-row: 2; }
  .bento__c { grid-column: 1; grid-row: 3; }
  .bento__d { grid-column: 1; grid-row: 4; }
  .bento__e { grid-column: 1; grid-row: 5; }
  .bento__f { grid-column: 1; grid-row: 6; }
  .bento__g { grid-column: 1; grid-row: 7; }
}

@media (max-width: 480px) {
  .bento {
    grid-template-rows: 300px 220px 240px 180px 280px 200px 180px;
    gap: 8px;
  }
}


/* ==========================================================================
   Hero Section - Left text, right image in rounded container
   ========================================================================== */

.hero {
  padding: 60px;
  padding-top: 80px;
  width: 100%;
  min-height: 100vh;

  max-height: 100vh;
  display: flex;
}

.hero__container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 6vh;
  background: linear-gradient(
    145deg,
    #e8ede7 0%,
    #dfe8dd 30%,
    #d5e0d3 60%,
    #c9d6c6 100%
  );
  padding: 60px;
  gap: 40px;
}

/* Subtle animated gradient orb behind content */
.hero__container::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(54, 80, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: heroOrb 12s ease-in-out infinite alternate;
}

@keyframes heroOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 8%) scale(1.15); }
}

/* Left content */
.hero__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
  min-width: 0;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(54, 80, 74, 0.1);
  border: 1px solid rgba(54, 80, 74, 0.15);
  font-size: var(--font-size-caption);
  font-weight: 700;
  color: #2a3d38;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Title */
.hero__title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: #2a3d38;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

/* Paragraph */
.hero__paragraph {
  font-size: var(--font-size-body);
  color: rgba(42, 61, 56, 0.65);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 32px;
}

/* CTA - split button + arrow circle */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__cta-text {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  height: 48px;
  background: #36504A;
  color: #fff;
  border-radius: 9999px;
  font-size: var(--font-size-body-sm);
  font-weight: 600;
  white-space: nowrap;
  transition:
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(54, 80, 74, 0.12);
  color: #36504A;
  flex-shrink: 0;
  transition:
    background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__cta-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover - gap closes, arrow adopts pill color */
.hero__cta:hover {
  gap: 0px;
}

.hero__cta:hover .hero__cta-text {
  padding-right: 14px;
  border-radius: 9999px 0 0 9999px;
}

.hero__cta:hover .hero__cta-arrow {
  background: #36504A;
  color: #fff;
  border-radius: 0 9999px 9999px 0;
}

.hero__cta:hover .hero__cta-arrow svg {
  transform: translateX(3px);
}

/* Scroll indicator - center bottom */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(54, 80, 74, 0.35);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(54, 80, 74, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hero__scroll-dot {
  width: 3px;
  height: 10px;
  background: rgba(54, 80, 74, 0.4);
  border-radius: 2px;
  position: absolute;
  left: -1px;
  animation: heroScrollDot 2s ease-in-out infinite;
}

@keyframes heroScrollDot {
  0% { top: -10px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

/* Image annotations */
.hero__annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
  animation: heroAnnotationFloat 4s ease-in-out infinite;
}

.hero__annotation-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36504A;
  box-shadow: 0 0 0 4px rgba(54, 80, 74, 0.15);
  flex-shrink: 0;
}

.hero__annotation-label {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: #36504A;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero__annotation--1 {
  top: 18%;
  right: 10%;
  animation-delay: 0s;
}

.hero__annotation--2 {
  top: 45%;
  left: -5%;
  flex-direction: row-reverse;
  animation-delay: 1.3s;
}

.hero__annotation--3 {
  bottom: 25%;
  right: 5%;
  animation-delay: 2.6s;
}

@keyframes heroAnnotationFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Right - image in rounded container */
.hero__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero__image-wrap {
  width: 620px;
  height: 70vh;
  border-radius: 6vh;
  overflow: hidden;
  background: rgba(54, 80, 74, 0.432);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Scroll-driven video */
.hero__video-wrap {
  width: 620px;
  height: 70vh;
  border-radius: 6vh;
  overflow: hidden;
  background: #1a2a2a;
  position: relative;
  box-shadow: 0 20px 60px rgba(42, 61, 56, 0.15), 0 4px 16px rgba(42, 61, 56, 0.08);
}

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

.hero__video-src {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ---- iPad / tall tablets (portrait ~820x1180) ---- */
@media (min-width: 768px) and (max-width: 1024px) and (min-height: 1000px) {
  .hero {
    min-height: auto;
    max-height: none;
    height: 70vh;
    padding: 30px;
    padding-top: 40px;
  }

  .hero__container {
    padding: 32px;
    flex-direction: row;
  }

  .hero__video-wrap,
  .hero__image-wrap {
    width: 280px;
    height: 50vh;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__container {
    padding: 40px;
    gap: 32px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }

  .hero__image-wrap,
  .hero__video-wrap {
    width: 300px;
    height: 420px;
  }

  .pillars-video {
    height: 560px;
  }

  .pillars-video__card {
    width: 280px;
    right: 16px;
    padding: 22px 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 6px;
    padding-top: calc(var(--header-height) + 6px);
    min-height: auto;
    max-height: none;
  }

  .hero__container {
    flex-direction: column;
    padding: 40px 24px;
    border-radius: 20px;
    gap: 28px;
  }

  .hero__left {
    align-items: flex-start;
  }

  .hero__right {
    width: 100%;
  }

  .hero__image-wrap,
  .hero__video-wrap {
    width: 100%;
    height: 320px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__paragraph {
    font-size: var(--font-size-body-sm);
  }

  .hero__scroll {
    display: none;
  }

  .hero__annotation {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4px;
    padding-top: calc(var(--header-height) + 4px);
  }

  .hero__container {
    padding: 32px 20px;
    border-radius: 16px;
    gap: 24px;
  }

  .hero__image-wrap,
  .hero__video-wrap {
    height: 260px;
  }

  .hero__title {
    font-size: 1.875rem;
  }

  .hero__badge {
    font-size: 11px;
    padding: 5px 12px;
  }
}


/* ==========================================================================
   50/50 Split Sections + Card Sections
   ========================================================================== */

.split-grid {
  align-items: center;
}

.split__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-accent-soft);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-placeholder {
  width: 48px;
  height: 48px;
  background: var(--color-accent-soft);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-body-sm);
  color: var(--color-primary-mid);
}

.section-header {
  max-width: 560px;
}


/* ==========================================================================
   Ecosystem Showcase - copied from about page, light (#E7EEE6) variant
   ========================================================================== */

.showcase-section {
  padding-bottom: var(--space-10);
  overflow: visible;
}

.showcase {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
}

.showcase__inner {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  aspect-ratio: 2.2 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto auto;
  transition: background 0.5s ease;
  background: #E7EEE6;
}

.showcase__inner[data-active-tab="partners"],
.showcase__inner[data-active-tab="technology"],
.showcase__inner[data-active-tab="training"],
.showcase__inner[data-active-tab="growth"] {
  background: #E7EEE6;
}

.showcase__top-left {
  grid-column: 1;
  grid-row: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 320px;
}

.showcase__top-right {
  grid-column: 2;
  grid-row: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 320px;
  margin-left: auto;
}

.showcase__bottom-left {
  grid-column: 1;
  grid-row: 2;
  padding: 0 40px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 380px;
}

.showcase__bottom-right {
  grid-column: 2;
  grid-row: 2;
  padding: 0 40px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

.showcase__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.showcase__label-line {
  display: block;
  width: 36px;
  height: 1.5px;
  background: rgba(47, 62, 70, 0.3);
}

.showcase__label-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(47, 62, 70, 0.6);
  text-transform: uppercase;
}

.showcase__panels {
  position: relative;
  overflow: hidden;
}

.showcase__panels--small {
  min-height: 50px;
}

.showcase__stat,
.showcase__stat-sub {
  position: relative;
  overflow: hidden;
}

.showcase__panel {
  display: none;
}

.showcase__panel--active {
  display: block;
}

.showcase__inner--fading .showcase__top-left,
.showcase__inner--fading .showcase__top-right,
.showcase__inner--fading .showcase__bottom-left,
.showcase__inner--fading .showcase__bottom-right {
  opacity: 0;
}

.showcase__top-left,
.showcase__top-right,
.showcase__bottom-left,
.showcase__bottom-right {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.showcase__small-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(47, 62, 70, 0.65);
}

.showcase__right-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(47, 62, 70, 0.65);
  font-style: italic;
}

.showcase__heading {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #2F3E46;
}

.showcase__stat {
  display: flex;
  flex-direction: column;
}

.showcase__stat-sub {
  margin-top: 2px;
}

.showcase__stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: #2F3E46;
  line-height: 1;
}

.showcase__stat-label {
  font-size: 13px;
  color: rgba(47, 62, 70, 0.55);
  font-weight: 500;
  line-height: 1.4;
}

.showcase__image {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase__person {
  width: 380px;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.15));
}

.showcase__tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 0 40px 32px;
  justify-content: center;
  align-self: end;
}

.showcase__tab {
  flex: 1;
  padding: 18px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #2F3E46;
  background: rgba(47, 62, 70, 0.08);
  border: 1px solid rgba(47, 62, 70, 0.15);
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
  line-height: 1.25;
}

.showcase__tab:hover {
  background: rgba(47, 62, 70, 0.14);
}

.showcase__tab--active {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: transparent;
}

.showcase__tab--active:hover {
  background: var(--color-primary-dark-2, #1e2d33);
}

@media (max-width: 1100px) {
  .showcase__inner {
    aspect-ratio: auto;
    min-height: 420px;
  }
  .showcase__image {
    width: 360px;
  }
  .showcase__top-left,
  .showcase__bottom-left {
    max-width: 280px;
  }
  .showcase__top-right,
  .showcase__bottom-right {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .showcase__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: unset;
  }
  .showcase__top-left,
  .showcase__top-right,
  .showcase__bottom-left,
  .showcase__bottom-right {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    margin-left: 0;
    padding: 24px 24px 0;
  }
  .showcase__bottom-left,
  .showcase__bottom-right {
    padding-bottom: 0;
  }
  .showcase__tabs {
    flex-wrap: wrap;
    padding: 16px 24px 24px;
  }
  .showcase__image {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero__visual {
    order: -1;
  }
}


/* ==========================================================================
   Treatments Section - Rounded container, rotating circle of cards
   ========================================================================== */

.treatments {
  position: relative;
  width: 100%;
  max-width: 1785px;
  margin-inline: auto;
  height: 750px;
  border-radius: 6vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background image + overlay */
.treatments__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.treatments__bg-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.treatments__bg-img--active {
  opacity: 1;
}

.treatments__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 20, 15, 0.5) 0%,
    rgba(30, 20, 15, 0.35) 50%,
    rgba(30, 20, 15, 0.55) 100%
  );
}

/* Content - centered heading */
.treatments__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.treatments__heading {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.treatments__sub {
  font-size: var(--font-size-body-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  line-height: 1.6;
}

/* Bottom bulge - image pinned to bottom, stretched full width */
.treatments__bulge {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: 1200px;
  z-index: 4;
  pointer-events: none;
  line-height: 0;
}

.treatments__bulge img {
  width: 100%;
  height: auto;
  display: block;
}

.treatments__bulge-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-caption);
  font-weight: 500;
  color: rgba(80, 70, 60, 0.5);
  white-space: nowrap;
  z-index: 5;
}

/* Circle wrapper - holds the rotating ring of cards */
.treatments__fan-wrap {
  position: absolute;
  bottom: -450px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.treatments__fan {
  position: relative;
  width: 530px;
  height: 530px;
  pointer-events: auto;
  transition: transform 0.1s linear;
}

/* Individual card - positioned on the circle via JS */
.treatments__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 200px;
  margin-left: -25px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px) saturate(1.4);
  -webkit-backdrop-filter: blur(5px) saturate(1.4);
  border: 1px solid rgba(223, 207, 207, 0.562);
  border-radius: 10vh;
  cursor: pointer;
  transform-origin: center 280px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: var(--font-family);
  color: #fff;
  outline: none;
}

/* Hover */
.treatments__card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 10 !important;
}

/* Active card */
.treatments__card--active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  z-index: 10 !important;
}

/* Card icon */
.treatments__card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Card label - vertical text */
.treatments__card-label {
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.03em;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-top: 6px;
  white-space: nowrap;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Explore prompt - sits on the bulge */
.treatments__explore {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.treatments__explore svg {
  animation: treatmentsBounce 2s ease-in-out infinite;
}

@keyframes treatmentsBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .treatments {
    height: 550px;
    border-radius: 6vh;
  }

  .treatments__content {
    padding-top: 50px;
  }

  .treatments__heading {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .treatments__fan-wrap {
    bottom: -340px;
  }

  .treatments__fan {
    width: 340px;
    height: 340px;
  }

  .treatments__card {
    width: 52px;
    height: 200px;
    margin-left: -26px;
    transform-origin: center 170px;
  }

  .treatments__card-icon {
    width: 32px;
    height: 32px;
  }

  .treatments__card-label {
    font-size: 14px;
  }

  .treatments__bulge {
    width: 320px;
  }

  .treatments__explore {
    display: none;
  }
}

@media (max-width: 480px) {
  .treatments {
    height: 480px;
    border-radius: 6vh;
  }

  .treatments__content {
    padding-top: 40px;
  }

  .treatments__heading {
    font-size: 1.5rem;
  }

  .treatments__sub {
    font-size: 12px;
  }

  .treatments__fan-wrap {
    bottom: -300px;
  }

  .treatments__fan {
    width: 300px;
    height: 300px;
  }

  .treatments__card {
    width: 48px;
    height: 180px;
    margin-left: -24px;
    transform-origin: center 150px;
  }

  .treatments__card-icon {
    width: 30px;
    height: 30px;
  }

  .treatments__card-label {
    font-size: 13px;
  }

  .treatments__bulge {
    width: 280px;
  }
}
