/* Homepage customer stories, option 6b "Story cards, green band" (Amit, Nov 23), cards as a sliding carousel (Amit's
   pick, Nov 23). Homepage only; /testimonials uses stories-20261123.css. White section, slanted deep-green band that
   ends just below the arrows and dots, faint dashed guides, staggered portrait cards in a scroll-snap row that runs to
   the section's right edge so the next card peeks in. Script: home-stories-20261123.js. New file for the 7-day cache
   (replaces home-stories-20261123.css). */
.hs { --bleed: max(24px, (100vw - 1120px) / 2); position: relative; overflow: hidden; isolation: isolate; background: var(--white, #fff); color: #fff; padding: 72px 24px 150px; }
.hs::before { content: ""; position: absolute; inset: 0; z-index: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 170px), 0 calc(100% - 24px));
  background: radial-gradient(60% 80% at 85% 10%, rgba(82,192,153,.28), transparent 70%), linear-gradient(120deg, #03392a, #021710 70%); }
.hs__guides { position: absolute; inset: 0 24px; z-index: 1; pointer-events: none; max-width: 1120px; margin: 0 auto;
  background-image: linear-gradient(to bottom, rgba(160,230,205,.12) 50%, transparent 50%), linear-gradient(to bottom, rgba(160,230,205,.12) 50%, transparent 50%),
    linear-gradient(to bottom, rgba(160,230,205,.12) 50%, transparent 50%), linear-gradient(to bottom, rgba(160,230,205,.12) 50%, transparent 50%),
    linear-gradient(to bottom, rgba(160,230,205,.12) 50%, transparent 50%);
  background-size: 1px 8px; background-repeat: repeat-y; background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0; }
.hs__in { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: 36px; align-items: start; }
.hs__lead { position: relative; display: grid; gap: 18px; padding: 28px 0 0 16px; min-width: 0; }
.hs__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-400, #52c099); }
.hs__title { margin: 0; color: #fff; font-size: clamp(30px, 1.2rem + 1.9vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.hs__sub { margin: 0; max-width: 40ch; color: #b9cdc5; font-size: 17px; line-height: 1.6; }
.hs__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.hs__pill, .hs__link { font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; }
.hs__pill { background: var(--mint-400, #52c099); color: var(--green-950, #021710); padding: 10px 18px; }
.hs__pill:hover { background: var(--mint-300, #7dd5b4); }
.hs__link { color: #fff; padding: 10px 2px; }
.hs__link:hover { color: var(--mint-300, #7dd5b4); }
.hs__pill:focus-visible, .hs__link:focus-visible { outline: 3px solid var(--mint-300, #7dd5b4); outline-offset: 3px; }

.hs__car { min-width: 0; }
/* Track: content box = the right column, padding runs it on to the section edge so the next card peeks in there. */
.hs__cards { --peek: max(0px, 64px - var(--bleed)); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px - var(--peek)) / 3);
  gap: 16px; align-items: start; margin: -6px calc(-1 * var(--bleed)) -24px -6px; padding: 6px var(--bleed) 44px 6px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 6px; scrollbar-width: none; }
.hs__cards::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .hs__cards { scroll-behavior: smooth; } }
.hs__item { min-width: 0; scroll-snap-align: start; }
.hs__item:nth-child(4n+1) { margin-top: 44px; }
.hs__item:nth-child(4n+3) { margin-top: 84px; }
.hs__item:nth-child(4n+4) { margin-top: 20px; }
.hs__ctrl { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.hs__ctrl[hidden] { display: none; }
.hs__arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; cursor: pointer; }
.hs__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs__arrow--prev svg { transform: rotate(180deg); }
.hs__arrow:hover:not(:disabled) { background: var(--mint-400, #52c099); border-color: var(--mint-400, #52c099); color: var(--green-950, #021710); }
.hs__arrow:disabled { opacity: .35; cursor: default; }
.hs__arrow:focus-visible, .hs__dots button:focus-visible { outline: 3px solid var(--mint-300, #7dd5b4); outline-offset: 3px; }
.hs__dots { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.hs__dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.hs__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.35); }
.hs__dots button[aria-current="true"] { width: 48px; }
.hs__dots button[aria-current="true"]::before { width: 40px; background: var(--mint-400, #52c099); }
.hs-card { position: relative; margin: 0; aspect-ratio: 200 / 290; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px; color: #fff; text-decoration: none; background: #03392a;
  box-shadow: 0 18px 40px -18px rgba(2,23,16,.55), 0 2px 6px rgba(2,23,16,.12); }
.hs-card > * { position: relative; z-index: 1; }
.hs-card > .hs-card__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-card--video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,57,42,.35), rgba(3,57,42,.15) 35%, rgba(2,23,16,.88)); }
.hs-card--t2::before { background: linear-gradient(180deg, rgba(11,90,67,.55), rgba(19,120,91,.35) 40%, rgba(2,23,16,.9)); }
.hs-card--video > .hs-card__top, .hs-card--video > .hs-card__bot { z-index: 2; }
.hs-card--video:hover { box-shadow: 0 22px 44px -16px rgba(2,23,16,.7), 0 0 0 2px rgba(125,213,180,.7); }
.hs-card--video:focus-visible { outline: 3px solid var(--mint-300, #7dd5b4); outline-offset: 3px; }
.hs-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.hs-card__logo { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 5px 7px; max-width: 72%; }
.hs-card__logo img { display: block; height: 16px; width: auto; max-width: 100%; object-fit: contain; }
.hs-card__play { flex: none; width: 22px; height: 22px; }
.hs-card__bot { display: grid; gap: 4px; }
.hs-card__who { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.82); }
.hs-card__go { font-size: 14px; font-weight: 600; }
.hs-card--quote { background: linear-gradient(160deg, #0b5a43, #03392a 70%); }
.hs-card__mark { display: block; height: 28px; font: 600 54px/0.8 Georgia, "Times New Roman", serif; color: var(--mint-400, #52c099); }
.hs-card__quote { margin: 0; }
.hs-card__quote p { margin: 0; font-size: clamp(14px, .6rem + .55vw, 17px); font-weight: 500; line-height: 1.4; color: #fff; }

@media (min-width: 1480px) {
  /* Very wide screens: the row would show a fourth whole card, so it stops 150px past the column and fades out there. */
  .hs__cards { margin-right: -150px; padding-right: 150px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 70px), transparent); }
}
@media (max-width: 980px) {
  .hs__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hs__lead { padding: 0; }
}
@media (max-width: 640px) {
  /* Phones: one card plus a peek of the next, no stagger, controls under the row. */
  .hs { --bleed: 16px; padding: 48px 16px 110px; }
  .hs::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 0 calc(100% - 20px)); }
  .hs__guides { display: none; }
  .hs__in { gap: 28px; }
  .hs__sub { font-size: 15.5px; }
  .hs__cards { grid-auto-columns: min(240px, calc(100% - 64px)); }
  .hs__item:nth-child(n) { margin-top: 0; }
  .hs-card__quote p { font-size: 15.5px; }
}
