/* ============================================================
   ABOUT US PAGE — Sastena
   Loaded AFTER styles.css. All classes are .a-* prefixed to
   avoid collisions with the home page (.s-*). Reuses :root
   tokens, .s-container / .s-h2 / .is-accent / .s-btn / .s-dots,
   the carousel JS hooks (.s-carousel and .s-slide) and the marquee
   keyframe (the s-logo-marquee keyframe).
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO  (dark)
   ------------------------------------------------------------ */
.a-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--deep);
}
/* full-bleed photo IS the hero background */
.a-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}
/* dark gradient fades the deep-green top seamlessly down into the photo */
.a-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    var(--deep) 0%,
    var(--deep) 54%,
    rgba(15, 26, 18, 0.80) 66%,
    rgba(15, 26, 18, 0.42) 78%,
    rgba(15, 26, 18, 0.10) 90%,
    rgba(15, 26, 18, 0) 100%);
  pointer-events: none;
}
.a-hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-top: clamp(175px, 18vh, 235px);
  padding-bottom: clamp(60px, 12vh, 150px);
}
.a-hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 26px;
  max-width: min(96%, 1200px);
}
.a-hero-lede {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: min(94%, 800px);
  margin: 0 0 34px;
}
.a-hero-actions { display: flex; justify-content: flex-start; }

/* ------------------------------------------------------------
   2. INTRO / STATS  (dark) + full-bleed marquee strip
   ------------------------------------------------------------ */
.a-intro {
  position: relative;
  background: linear-gradient(180deg, var(--deep-2), var(--deep));
  padding: clamp(64px, 8vw, 110px) 0 0;
  overflow: hidden;
}
.a-intro-copy { position: relative; z-index: 1; }
.a-intro-copy .s-h2 {
  max-width: min(94%, 1180px);
  margin: 0 auto 26px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}
.a-intro-stats {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.8;
  color: var(--body);
  max-width: min(94%, 1200px);
  margin: 0 auto;
}
.a-intro-stats b { color: var(--leaf); font-weight: 800; }

/* full-bleed marquee — reuses @keyframes s-logo-marquee (translateX -50%) */
.a-strip {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.a-strip-track {
  display: flex;
  width: max-content;
  animation: s-logo-marquee 55s linear infinite;
  will-change: transform;
}
.a-strip:hover .a-strip-track,
.a-strip:focus-within .a-strip-track { animation-play-state: paused; }
.a-strip-group { display: flex; align-items: stretch; }
.a-strip-item { flex: 0 0 auto; padding: 0 6px; }
.a-strip-item img {
  height: clamp(280px, 30vw, 400px);
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--deep-3);
}

/* ------------------------------------------------------------
   3. THE SASTENA DIFFERENCE  (LIGHT / cream flip)
   ------------------------------------------------------------ */
.a-diff {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  color: var(--ink);
  padding: clamp(70px, 8vw, 120px) 0;
}
.a-diff-head { max-width: 1240px; margin: 0 auto clamp(40px, 5vw, 64px); }
.a-diff-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.a-diff-h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: min(96%, 1240px);
  margin: 0 auto 18px;
}
.a-diff-sub {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: #4d5d54;
  max-width: min(94%, 900px);
  margin: 0 auto;
}
.a-diff-sub b { color: #2c4a39; font-weight: 700; }

.a-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 64px);
}
.a-card--rev .a-card-media { order: 2; }
.a-card--rev .a-card-copy  { order: 1; }

.a-card-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--deep-3);
  box-shadow: 0 24px 50px rgba(15, 26, 18, 0.14);
}
.a-card-media img { width: 100%; height: 100%; object-fit: cover; }

.a-card-copy {
  background: linear-gradient(180deg, #eef6ea, #e4f0e0);
  border: 1px solid rgba(93, 204, 93, 0.22);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 52px);
}
.a-card-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(15, 26, 18, 0.28);
  padding: 7px 16px;
  border-radius: var(--pill);
  margin-bottom: 20px;
}
.a-card-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
}
.a-card-copy p { color: #41514a; line-height: 1.7; }
.a-card .is-accent { color: var(--leaf-dark); }   /* #5dcc5d too light on cream */

/* ------------------------------------------------------------
   4. TESTIMONIALS  (dark) — reuses [data-carousel] JS
   ------------------------------------------------------------ */
.a-quotes {
  background: linear-gradient(180deg, var(--deep), var(--deep-2));
  padding: clamp(80px, 9vw, 130px) 0;
}
.a-quotes-carousel { max-width: var(--maxw); padding: 0; }

/* outlined pill on dark bg (matches the Fairatmos "SEE WHAT THEY SAY") */
.a-pill-outline {
  display: inline-block;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: var(--pill);
  margin-bottom: 24px;
}

/* each slide is a 2-col grid; keep flex:0 0 100% so the JS translate math holds */
.a-tslide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: stretch;
  min-height: 500px;
  padding: 8px 4px;
}
/* top-align the copy and reserve room at the bottom for the controls so a long
   quote can never overlap the dots/arrows */
.a-tslide-copy { display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 96px; }
.a-tslide-name {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
}
.a-tslide-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin: 8px 0 22px;
}
.a-tslide-quote-mark {
  font-size: 4.5rem;
  line-height: 0.5;
  color: var(--leaf);
  font-weight: 800;
  height: 36px;
}
.a-tslide .a-tslide-quote {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  color: var(--body);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  max-width: 56ch;
}
.a-tslide-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--deep-3);
  box-shadow: var(--shadow);
}
.a-tslide-media img { width: 100%; height: 100%; object-fit: cover; }

/* controls: sit at the bottom-left, inside the space reserved by .a-tslide-copy padding */
.a-quotes-controls {
  position: absolute;
  left: 4px;
  right: auto;
  bottom: 16px;
  z-index: 3;
}

/* ------------------------------------------------------------
   5. PROOF OF OUR JOURNEY  (dark)
   ------------------------------------------------------------ */
.a-proof {
  background: linear-gradient(180deg, var(--deep-2), var(--deep));
  padding: clamp(70px, 8vw, 120px) 0;
}
.a-proof-head { max-width: 780px; margin-bottom: 26px; }
.a-proof-head .s-h2 { margin-bottom: 16px; text-align: left; }
.a-proof-head .s-lede { margin-bottom: 0; }
.a-proof-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 28px 0 clamp(36px, 5vw, 56px);
}
.a-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.a-proof-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.a-proof-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.a-proof-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.a-proof-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.a-proof-card:hover .a-proof-media img { transform: scale(1.05); }
.a-proof-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 12, 0.35), rgba(8, 18, 12, 0.72));
}
.a-proof-overlay-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: var(--leaf);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}
.a-proof-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px 28px;
}
.a-proof-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.3;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  .a-hero { min-height: auto; }
  .a-hero-inner { padding-top: 120px; padding-bottom: clamp(220px, 42vh, 360px); }
  .a-hero-bg { object-position: center 40%; }

  .a-card { grid-template-columns: 1fr; gap: 28px; }
  .a-card--rev .a-card-media { order: 0; }
  .a-card--rev .a-card-copy  { order: 0; }

  .a-tslide { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .a-tslide-copy { padding-bottom: 0; }
  .a-tslide-media { order: -1; }
  .a-quotes-controls { position: static; left: auto; bottom: auto; justify-content: flex-start; margin-top: 28px; }

  .a-proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .a-strip-item img { height: 220px; }
  .a-card-copy { padding: 26px; }
  .a-proof-overlay-title { font-size: clamp(1.05rem, 4vw, 1.35rem); padding: 22px; }
  .a-proof-foot { padding: 20px 20px 24px; }
}

/* ------------------------------------------------------------
   Reduced motion (styles.css rule only names .s-marquee-track)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .a-strip-track { animation: none !important; }
  .a-proof-card:hover { transform: none !important; }
  .a-proof-card:hover .a-proof-media img { transform: none !important; }
}
