/* SASA Packaging — ticker, certifications, news & events, ratings, partners
   Save as public/assets/main/css/sasa-trust.css  (link once in layouts/app.blade.php)
   Palette: ivory #FEFAF3 · blush #F6E2E9 · sage #B8CFB3 · deep sage #84A282 · ink #1f2b22 */

.sxt {
  --ink: #1f2b22;
  --deep: #84a282;
  --sage: #b8cfb3;
  --blush: #f6e2e9;
  --ivory: #fefaf3;
  --gold: #e3b341;
  --news-bg: #84a282; /* news section + ticker colour (change here only) */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- shared centred section heading ---------- */
.sxt-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 64px);
}
.sxt-eyebrow {
  display: block;
  margin-bottom: 14px;
  font:
    700 0.8rem/1 Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4d6b4f;
}
.sxt-title {
  margin: 0 0 14px;
  color: var(--ink);
  font:
    700 clamp(2rem, 3.6vw, 3.1rem)/1.12 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
}
.sxt-lead {
  margin: 0;
  font:
    400 1.05rem/1.7 Inter,
    system-ui,
    sans-serif;
  color: rgba(31, 43, 34, 0.72);
}
.sxt-head--on-sage .sxt-eyebrow {
  color: var(--ink);
}
.sxt-head--on-sage .sxt-lead {
  color: rgba(31, 43, 34, 0.82);
}
#news-events,
#certifications,
#ratings,
#partners {
  scroll-margin-top: 100px;
}

/* =========================================================
   TICKER (between navbar and hero)
   ========================================================= */
.tk {
  --tk-offset: 0px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: 48px;
  margin-top: var(--tk-offset);
  background: var(--news-bg);
  color: var(--ink);
  overflow: hidden;
}
.tk__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px 0 22px;
  z-index: 2;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  font:
    600 0.86rem/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.05em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.tk__label:hover {
  color: var(--ivory);
}
.tk__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blush);
  animation: tkPulse 1.8s ease-out infinite;
}
@keyframes tkPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 226, 233, 0.75);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(246, 226, 233, 0);
  }
}
.tk__view {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 3%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 3%,
    #000 96%,
    transparent
  );
}
.tk__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
}
.tk__set {
  display: flex;
  align-items: center;
  flex: none;
  height: 100%;
}
.tk__item {
  padding: 0 8px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font:
    500 0.95rem/1 Inter,
    system-ui,
    sans-serif;
}
.tk__item:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tk__sep {
  padding: 0 22px;
  color: rgba(31, 43, 34, 0.5);
  font-size: 0.85rem;
}
.tk__view.is-live .tk__track {
  animation: tkMove var(--tk-dur, 40s) linear infinite;
  will-change: transform;
}
.tk__view.is-live:hover .tk__track {
  animation-play-state: paused;
}
@keyframes tkMove {
  to {
    transform: translateX(calc(var(--tk-w) * -1));
  }
}

/* =========================================================
   CERTIFICATIONS (ivory)
   ========================================================= */
.ct {
  position: relative;
  overflow: hidden;
  background: #fefaf3;
  padding: clamp(64px, 9vw, 120px) 0;
}
.ct > .sx-container {
  position: relative;
  z-index: 1;
}
.ct__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ct__blob--a {
  width: 380px;
  height: 380px;
  left: -120px;
  top: -110px;
  background: var(--blush);
  opacity: 0.7;
}
.ct__blob--b {
  width: 300px;
  height: 300px;
  right: -100px;
  bottom: -120px;
  background: var(--sage);
  opacity: 0.4;
}

.ct__stage {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(36px, 7vw, 110px);
  padding-bottom: 20px;
}
.ct__item {
  width: clamp(190px, 22vw, 270px);
  text-align: center;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.ct__shield {
  position: relative;
  width: 100%;
  aspect-ratio: 200 / 240;
  transition: transform 0.7s var(--ease);
}
.ct__item:hover .ct__shield,
.ct__item:focus-visible .ct__shield {
  transform: translateY(-10px) scale(1.04);
}
.ct__item:focus-visible .ct__shield {
  filter: drop-shadow(0 0 0 var(--ink));
}
.ct__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 24px 26px rgba(31, 45, 34, 0.16));
}

.ct__outline {
  fill: url(#ctGrad);
  fill-opacity: 0;
  stroke: var(--deep);
  stroke-width: 3.2;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}
.ct__inline {
  fill: none;
  stroke: var(--deep);
  stroke-opacity: 0.45;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}
.ct__item.is-in .ct__outline {
  animation:
    ctDraw 1.5s var(--ease) calc(var(--i) * 0.25s) forwards,
    ctFill 0.8s ease calc(var(--i) * 0.25s + 1s) forwards;
}
.ct__item.is-in .ct__inline {
  animation: ctDraw 1.5s var(--ease) calc(var(--i) * 0.25s + 0.3s) forwards;
}
@keyframes ctDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ctFill {
  to {
    fill-opacity: 1;
  }
}

.ct__halo {
  position: absolute;
  inset: -12% -14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(246, 226, 233, 0.95),
    rgba(246, 226, 233, 0) 68%
  );
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 1s ease 0.9s,
    transform 1.2s var(--ease) 0.9s;
}
.ct__item.is-in .ct__halo {
  opacity: 1;
  transform: scale(1);
  animation: ctBreath 4.5s ease-in-out 2.2s infinite alternate;
}
@keyframes ctBreath {
  to {
    transform: scale(1.1);
  }
}

.ct__inner {
  position: absolute;
  inset: 24% 20% 28%;
  display: grid;
  place-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.7s ease calc(var(--i) * 0.25s + 1.2s),
    transform 0.8s var(--ease) calc(var(--i) * 0.25s + 1.2s);
}
.ct__item.is-in .ct__inner {
  opacity: 1;
  transform: none;
}
.ct__short {
  font:
    700 clamp(1.5rem, 2.8vw, 2.1rem)/1.05 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ct__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ct__tick {
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(132, 162, 130, 0.55),
    0 0 0 5px #fefaf3;
  transform: translateX(-50%) scale(0);
  transition: transform 0.7s cubic-bezier(0.3, 1.7, 0.5, 1)
    calc(var(--i) * 0.25s + 1.5s);
}
.ct__item.is-in .ct__tick {
  transform: translateX(-50%) scale(1);
}
.ct__tick path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.ct__item.is-in .ct__tick path {
  animation: ctDraw 0.5s ease calc(var(--i) * 0.25s + 1.9s) forwards;
}

.ct__name {
  margin: 38px 0 0;
  color: var(--ink);
  font:
    650 1.2rem/1.25 Outfit,
    Inter,
    system-ui,
    sans-serif;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s ease calc(var(--i) * 0.25s + 1.6s),
    transform 0.8s var(--ease) calc(var(--i) * 0.25s + 1.6s);
}
.ct__item.is-in .ct__name {
  opacity: 1;
  transform: none;
}
.ct__note {
  margin: 6px 0 0;
  font:
    400 0.95rem/1.5 Inter,
    system-ui,
    sans-serif;
  color: rgba(31, 43, 34, 0.65);
}
.ct__hint {
  margin: clamp(26px, 4vw, 44px) 0 0;
  text-align: center;
  font:
    500 0.9rem/1 Inter,
    system-ui,
    sans-serif;
  color: rgba(31, 43, 34, 0.5);
  letter-spacing: 0.02em;
}

/* =========================================================
   NEWS & EVENTS (sage)
   ========================================================= */
.nw {
  position: relative;
  overflow: hidden;
  background: var(--news-bg);
  padding: clamp(64px, 9vw, 120px) 0;
}
.nw > .sx-container {
  position: relative;
  z-index: 1;
}
.nw__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.nw__orb {
  position: absolute;
  border-radius: 50%;
}
.nw__orb--a {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -170px;
  background: var(--blush);
  opacity: 0.35;
}
.nw__orb--b {
  width: 320px;
  height: 320px;
  left: -110px;
  bottom: -130px;
  background: var(--ivory);
  opacity: 0.22;
}
.nw__bg i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 3px;
  opacity: 0.55;
  animation: nwFloat var(--d) ease-in-out var(--w) infinite alternate;
}
.nw__bg i:nth-of-type(3n + 1) {
  background: var(--blush);
}
.nw__bg i:nth-of-type(3n + 2) {
  background: var(--ivory);
  border-radius: 50%;
}
.nw__bg i:nth-of-type(3n + 3) {
  background: rgba(31, 43, 34, 0.35);
}
@keyframes nwFloat {
  from {
    transform: translateY(0) rotate(0);
  }
  to {
    transform: translateY(-26px) rotate(40deg);
  }
}

.nw__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
}
.nw__chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(254, 250, 243, 0.9);
  color: var(--ink);
  font:
    600 0.88rem/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.02em;
  animation: nwBob 3.6s ease-in-out calc(var(--k) * 0.5s) infinite alternate;
}
@keyframes nwBob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.nw__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
}
.nw__card {
  position: relative;
  flex: 1 1 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ivory);
  border-radius: 22px;
  box-shadow:
    0 2px 4px rgba(31, 45, 34, 0.08),
    0 22px 44px rgba(31, 45, 34, 0.18);
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}
.nw__card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 6px 10px rgba(31, 45, 34, 0.1),
    0 34px 60px rgba(31, 45, 34, 0.26);
}
.nw__list > .nw__card:first-child:not(:last-child) {
  flex-grow: 1.4;
  max-width: 520px;
}

.nw__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage), var(--deep));
}
.nw__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease);
}
.nw__card:hover .nw__img img {
  transform: scale(1.1);
}
.nw__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #84a282;
  background:
    radial-gradient(circle at 80% 15%, rgba(184, 207, 179, 0.55), transparent 55%),
    linear-gradient(160deg, #fefaf3, #f6e2e9);
}
.nw__ph::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 28px rgba(132, 162, 130, 0.25);
}
.nw__ph svg {
  position: relative;
  width: 42px;
  height: 42px;
}
.nw__card:nth-child(even) .nw__ph {
  background:
    radial-gradient(circle at 20% 85%, rgba(246, 226, 233, 0.9), transparent 55%),
    linear-gradient(160deg, #fefaf3, #e3eedf);
}
/* type tag (News / Event / Hiring) */
.nw__type {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f2b22;
  color: #fefaf3;
  font:
    600 0.7rem/1 Inter,
    system-ui,
    sans-serif;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.nw__date {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(254, 250, 243, 0.94);
  color: var(--ink);
  font:
    600 0.72rem/1.1 Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.nw__date b {
  font:
    700 1.4rem/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
}
.nw__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
}
.nw__card:hover .nw__sheen {
  transform: translateX(130%);
  transition: transform 1.1s ease;
}

.nw__body {
  padding: 22px 24px 28px;
  flex: 1;
}
.nw__title {
  margin: 0 0 10px;
  color: var(--ink);
  font:
    700 clamp(1.15rem, 1.5vw, 1.4rem)/1.25 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.01em;
}
.nw__link {
  color: inherit;
  text-decoration: none;
}
.nw__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
.nw__text {
  margin: 0;
  color: #2c3a2f;
  font:
    400 0.97rem/1.7 Inter,
    system-ui,
    sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nw__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink);
  font:
    600 0.92rem/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
}
.nw__more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease);
}
.nw__card:hover .nw__more svg {
  transform: translateX(6px);
}

/* empty state: "no updates yet" */
.nw__empty {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  background: var(--ivory);
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(31, 45, 34, 0.22);
}
.nw__megaphone {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  color: var(--deep);
  animation: nwWiggle 3.2s ease-in-out infinite;
  transform-origin: 30% 60%;
}
.nw__megaphone svg {
  width: 100%;
  height: 100%;
}
.nw__wave {
  opacity: 0;
  animation: nwWave 2.2s ease-in-out infinite;
}
.nw__wave--2 {
  animation-delay: 0.4s;
}
@keyframes nwWave {
  0%,
  100% {
    opacity: 0;
  }
  35%,
  70% {
    opacity: 1;
  }
}
@keyframes nwWiggle {
  0%,
  70%,
  100% {
    transform: rotate(0);
  }
  78% {
    transform: rotate(-7deg);
  }
  86% {
    transform: rotate(5deg);
  }
  94% {
    transform: rotate(-3deg);
  }
}
.nw__empty h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font:
    700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 Outfit,
    Inter,
    system-ui,
    sans-serif;
}
.nw__empty p {
  margin: 0 auto;
  max-width: 46ch;
  color: rgba(31, 43, 34, 0.72);
  font:
    400 1.02rem/1.7 Inter,
    system-ui,
    sans-serif;
}

/* entrance (armed by JS, so nothing can stay hidden) */
.nw.is-armed .sxt-head,
.nw.is-armed .nw__empty {
  opacity: 0;
  transform: translateY(26px);
}
.nw.is-armed.is-in .sxt-head,
.nw.is-armed.is-in .nw__empty {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 1s var(--ease);
}
.nw.is-armed .nw__card {
  opacity: 0;
  transform: translateY(60px) rotate(-2deg) scale(0.96);
}
.nw.is-armed.is-in .nw__card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease calc(var(--k) * 0.16s + 0.25s),
    transform 1.1s var(--ease) calc(var(--k) * 0.16s + 0.25s),
    box-shadow 0.6s var(--ease);
}
.nw.is-armed.is-in .nw__card:hover {
  transform: translateY(-10px);
  transition-delay: 0s;
}

/* =========================================================
   RATINGS & TESTIMONIALS (blush)
   ========================================================= */
.rv {
  background: var(--blush);
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
}

/* stars: grey base, gold fill that wipes in left to right */
.rv-stars {
  display: inline-flex;
  gap: 4px;
}
.rv-star {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}
.rv-star svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rv-star__base path {
  fill: rgba(31, 43, 34, 0.16);
}
.rv-star__fill path {
  fill: url(#rvGold);
  fill: var(--gold);
}
.rv-star__fill {
  clip-path: inset(0 100% 0 0);
}
.rv.is-in .rv-star__fill {
  clip-path: inset(0 calc(100% - var(--f) * 100%) 0 0);
  transition: clip-path 0.75s ease calc(var(--k) * 0.2s + 0.35s);
}
.rv.is-in .rv-star {
  animation: rvPop 0.6s ease calc(var(--k) * 0.2s + 0.8s) both;
}
@keyframes rvPop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.35) rotate(-8deg);
  }
  100% {
    transform: scale(1);
  }
}
.rv-stars--lg .rv-star {
  width: clamp(34px, 5vw, 48px);
  height: clamp(34px, 5vw, 48px);
}
.rv-stars--lg {
  gap: 8px;
}

.rv__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  width: fit-content;
  margin: 0 auto clamp(34px, 5vw, 60px);
  padding: 22px clamp(26px, 4vw, 48px);
  background: var(--ivory);
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(31, 45, 34, 0.12);
}
.rv__num {
  font:
    700 clamp(3.4rem, 8vw, 5.6rem)/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.rv__score p {
  margin: 10px 0 0;
  font:
    500 0.95rem/1.2 Inter,
    system-ui,
    sans-serif;
  color: rgba(31, 43, 34, 0.65);
}

.rv__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
}
.rv__card {
  position: relative;
  flex: 1 1 300px;
  max-width: 400px;
  margin: 0;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ivory);
  border-radius: 22px;
  box-shadow:
    0 2px 4px rgba(31, 45, 34, 0.05),
    0 16px 36px rgba(31, 45, 34, 0.1);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.rv__card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 8px rgba(31, 45, 34, 0.06),
    0 26px 50px rgba(31, 45, 34, 0.16);
}
.rv__quote {
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--sage);
  opacity: 0.7;
}
.rv__quote svg {
  width: 38px;
  height: 38px;
}
.rv__card .rv-star {
  width: 20px;
  height: 20px;
}
.rv__card blockquote {
  margin: 0;
  flex: 1;
  color: #2c3a2f;
  font:
    400 1.02rem/1.75 Inter,
    system-ui,
    sans-serif;
}
.rv__card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rv__av {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font:
    700 1.05rem/1 Outfit,
    Inter,
    system-ui,
    sans-serif;
}
.rv__card cite {
  font:
    650 1rem/1.3 Outfit,
    Inter,
    system-ui,
    sans-serif;
  font-style: normal;
  color: var(--ink);
}
.rv__card cite small {
  display: block;
  margin-top: 2px;
  font:
    400 0.85rem/1.3 Inter,
    system-ui,
    sans-serif;
  color: rgba(31, 43, 34, 0.6);
}

/* placeholder review slots (left open for real reviews) */
.rv__card--empty {
  background: rgba(254, 250, 243, 0.55);
  box-shadow: none;
  border: 1.5px dashed rgba(77, 107, 79, 0.45);
}
.rv__card--empty:hover {
  box-shadow: none;
  transform: none;
}
.rv__lines {
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 6px 0;
}
.rv__lines i {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(132, 162, 130, 0.22) 25%,
    rgba(132, 162, 130, 0.42) 50%,
    rgba(132, 162, 130, 0.22) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}
.rv__lines i:nth-child(2) {
  width: 88%;
}
.rv__lines i:nth-child(3) {
  width: 62%;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.rv.is-armed .sxt-head,
.rv.is-armed .rv__score {
  opacity: 0;
  transform: translateY(24px);
}
.rv.is-armed.is-in .sxt-head,
.rv.is-armed.is-in .rv__score {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 1s var(--ease);
}
.rv.is-armed.is-in .rv__score {
  transition-delay: 0.15s;
}
.rv.is-armed .rv__card {
  opacity: 0;
  transform: translateY(40px);
}
.rv.is-armed.is-in .rv__card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s ease calc(var(--k) * 0.14s + 0.5s),
    transform 1s var(--ease) calc(var(--k) * 0.14s + 0.5s),
    box-shadow 0.5s var(--ease);
}
.rv.is-armed.is-in .rv__card:hover {
  transform: translateY(-8px);
  transition-delay: 0s;
}

/* =========================================================
   PARTNERS (ivory)  — two logo rails drifting in opposite directions
   ========================================================= */
.pt {
  background: #fefaf3;
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
}
.pt__rail {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.pt__rail::-webkit-scrollbar {
  display: none;
}
.pt__track {
  display: flex;
  width: max-content;
}
.pt__set {
  display: flex;
  gap: 18px;
  padding: 0 18px 0 0;
  margin: 0;
  list-style: none;
  flex: none;
}
.pt__rail.is-live {
  overflow: hidden;
}
.pt__rail.is-live .pt__track {
  animation: ptDrift var(--pt-dur, 60s) linear infinite;
  will-change: transform;
}
.pt__rail--rev.is-live .pt__track {
  animation-direction: reverse;
}
.pt__rail.is-live:hover .pt__track {
  animation-play-state: paused;
}
@keyframes ptDrift {
  to {
    transform: translateX(calc(var(--pt-w) * -1));
  }
}

/* ---- logo tile: every logo (tall, round, wide) fits fully, never cropped ---- */
.pt__tile {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: clamp(170px, 15vw, 220px);
  height: clamp(96px, 9vw, 124px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(132, 162, 130, 0.28);
  box-shadow:
    0 1px 2px rgba(31, 45, 34, 0.04),
    0 10px 24px rgba(31, 45, 34, 0.07);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.4s;
}
.pt__tile a,
.pt__tile span:not(.pt__sheen) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 14px 22px;
}
.pt__tile img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    filter 0.5s ease,
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}
.pt__tile:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--deep);
  box-shadow:
    0 4px 8px rgba(31, 45, 34, 0.06),
    0 24px 44px rgba(132, 162, 130, 0.35);
}
.pt__tile:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.pt__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(184, 207, 179, 0.55) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
}
.pt__tile:hover .pt__sheen {
  transform: translateX(130%);
  transition: transform 0.9s ease;
}

/* no logos yet: shimmering slots */
.pt__rail--static {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.pt__set--ph {
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
  gap: 16px;
}
.pt__tile--ph {
  grid-auto-flow: row;
  gap: 6px;
  align-content: center;
  background: rgba(238, 244, 236, 0.7);
  border: 1.5px dashed rgba(77, 107, 79, 0.4);
  box-shadow: none;
  color: rgba(77, 107, 79, 0.7);
  background-image: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: shimmer 2.8s linear calc(var(--k) * 0.25s) infinite;
}
.pt__tile--ph svg {
  width: 26px;
  height: 26px;
}
.pt__tile--ph span {
  font:
    600 0.8rem/1 Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.04em;
}
.pt__tile--ph:hover {
  transform: none;
  box-shadow: none;
}

.pt.is-armed .sxt-head {
  opacity: 0;
  transform: translateY(24px);
}
.pt.is-armed.is-in .sxt-head {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 1s var(--ease);
}
.pt.is-armed .pt__rail {
  opacity: 0;
  transform: translateY(30px);
}
.pt.is-armed.is-in .pt__rail {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s ease 0.25s,
    transform 1.1s var(--ease) 0.25s;
}
.pt.is-armed.is-in .pt__rail:nth-of-type(2) {
  transition-delay: 0.45s;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 860px) {
  .tk {
    height: 44px;
  }
  .tk__label {
    padding: 0 28px 0 16px;
  }
  .ct__stage {
    gap: 40px 28px;
  }
  .ct__item {
    width: clamp(150px, 42vw, 220px);
  }
  .nw__list > .nw__card:first-child:not(:last-child) {
    max-width: 420px;
  }
  .rv__score {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .rv__score .rv-stars {
    justify-content: center;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .tk__dot,
  .nw__chips li,
  .nw__bg i,
  .nw__megaphone,
  .nw__wave,
  .ct__halo,
  .rv__lines i,
  .pt__tile--ph {
    animation: none !important;
  }
  .tk__view.is-live .tk__track,
  .pt__rail.is-live .pt__track {
    animation: none;
  }
  .tk__view {
    overflow-x: auto;
  }
  .pt__rail.is-live {
    overflow-x: auto;
  }
  .ct__outline,
  .ct__inline {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    animation: none !important;
  }
  .ct__inner,
  .ct__name,
  .ct__halo {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ct__tick {
    transform: translateX(-50%) scale(1);
    transition: none;
  }
  .ct__tick path {
    stroke-dashoffset: 0;
    animation: none !important;
  }
  .rv-star__fill {
    clip-path: inset(0 calc(100% - var(--f) * 100%) 0 0);
    transition: none !important;
  }
  .rv-star {
    animation: none !important;
  }
  .nw.is-armed .sxt-head,
  .nw.is-armed .nw__card,
  .nw.is-armed .nw__empty,
  .rv.is-armed .sxt-head,
  .rv.is-armed .rv__score,
  .rv.is-armed .rv__card,
  .pt.is-armed .sxt-head,
  .pt.is-armed .pt__rail {
    opacity: 1;
    transform: none;
    transition: none;
  }
}