/* =============================================================
   2 & 3. MARKUP tokens + STYLE
   ============================================================= */
.ombrion-hero {
  --hero-ink: #eaf0ff;
  --hero-slate: #a9b4d0;
  --hero-electric: #4d7dff;
  --hero-violet: #9b6bff;
  --hero-scrim-top: rgba(6, 9, 20, 0.55);
  --hero-scrim-bottom: rgba(6, 9, 20, 0.92);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #060914;
  color: var(--hero-ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  padding-top: 82px; /* clears the sticky header height */
}

/* ---- Background layers ---- */
.ombrion-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* Animated gradient fallback — always present, shown until (and
   unless) a video is attached. Three slow-drifting color fields
   stand in for footage on mobile / reduced-motion / slow links. */
.ombrion-hero-fallback {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(38% 42% at 18% 24%, rgba(77, 125, 255, 0.55), transparent 70%),
    radial-gradient(44% 46% at 82% 20%, rgba(155, 107, 255, 0.45), transparent 70%),
    radial-gradient(50% 55% at 50% 90%, rgba(45, 60, 130, 0.5), transparent 70%),
    #060914;
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .ombrion-hero-fallback { animation: none; }
}

.ombrion-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
.ombrion-hero-video.is-ready { opacity: 1; }

.ombrion-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--hero-scrim-top) 0%, var(--hero-scrim-bottom) 100%);
}

/* ---- Content ---- */
.ombrion-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.ombrion-hero__copy {
  max-width: 760px;
  animation: hero-rise 640ms var(--ease) both;
  animation-delay: 80ms;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ombrion-hero__copy,
  .ombrion-hero__actions,
  .ombrion-hero__scrollcue { animation: none !important; }
}

.ombrion-hero__headline {
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  color: var(--hero-ink);
}

.ombrion-hero__subline {
  margin: 0;
  max-width: 58ch;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--hero-slate);
}

/* ---- CTAs ---- */
.ombrion-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  animation: hero-rise 640ms var(--ease) both;
  animation-delay: 180ms;
}

.ombrion-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.ombrion-hero__btn--primary {
  color: #05070f;
  background: linear-gradient(120deg, var(--hero-electric), var(--hero-violet));
  box-shadow: 0 14px 30px -14px rgba(77, 125, 255, 0.65);
}
.ombrion-hero__btn--primary:hover,
.ombrion-hero__btn--primary:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 38px -14px rgba(77, 125, 255, 0.75);
}

.ombrion-hero__btn--ghost {
  color: var(--hero-ink);
  background: transparent;
  border: 1px solid rgba(234, 240, 255, 0.28);
}
.ombrion-hero__btn--ghost:hover,
.ombrion-hero__btn--ghost:focus-visible {
  border-color: rgba(234, 240, 255, 0.6);
  background: rgba(234, 240, 255, 0.06);
}
.ombrion-hero__btn--ghost svg {
  width: 16px; height: 16px;
  transition: transform 180ms var(--ease);
}
.ombrion-hero__btn--ghost:hover svg { transform: translateX(3px); }

.ombrion-hero__btn:focus-visible {
  outline: 2px solid var(--hero-electric);
  outline-offset: 3px;
}

/* ---- Capability marquee ---- */
.ombrion-hero__marquee {
  margin-top: clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(234, 240, 255, 0.14);
  padding-top: 1.1rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ombrion-hero__track {
  display: flex;
  width: max-content;
  gap: 0.6rem;
  animation: hero-marquee 28s linear infinite;
}

.ombrion-hero__marquee:hover .ombrion-hero__track,
.ombrion-hero__marquee:focus-within .ombrion-hero__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ombrion-hero__track { animation: none; flex-wrap: wrap; }
}

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ombrion-hero__tag {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hero-slate);
  border: 1px solid rgba(234, 240, 255, 0.16);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  text-decoration: none;
}

/* ---- Scroll cue ---- */
.ombrion-hero__scrollcue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2rem);
  transform: translateX(-50%);
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--hero-slate);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  animation: hero-rise 640ms var(--ease) both;
  animation-delay: 380ms;
}
@media (min-width: 640px) { .ombrion-hero__scrollcue { display: flex; } }

.ombrion-hero__scrollcue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--hero-slate), transparent);
  animation: hero-scroll-drift 1.8s var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ombrion-hero__scrollcue span { animation: none; }
}
@keyframes hero-scroll-drift {
  0%   { transform: translateY(0); opacity: 0.4; }
  50%  { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.4; }
}




/* =============================================================
   2 & 3. MARKUP tokens + STYLE
   ============================================================= */
.ombrion-services {
  --surface-tint: #EAF0FD;
  --line: rgba(15, 27, 45, 0.08);
  --ink: #0f1b2d;
  --slate: #5b6b85;
  --electric: #2f6bff;
  --violet: #7c4dff;
  --scrim-top: rgba(6, 9, 20, 0.06);
  --scrim-bottom: rgba(6, 9, 20, 0.86);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  background: var(--surface-tint);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.ombrion-services__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ---- Header row ---- */
.ombrion-services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.ombrion-services__copy { max-width: 46ch; }

.ombrion-services__heading {
  margin: 0 0 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
}

.ombrion-services__intro {
  margin: 0;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  opacity: 0;
  transform: translateY(16px);
}

.ombrion-services.is-revealed .ombrion-services__heading,
.ombrion-services.is-revealed .ombrion-services__intro {
  animation: services-rise 640ms var(--ease) both;
}
.ombrion-services.is-revealed .ombrion-services__intro { animation-delay: 90ms; }

@keyframes services-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ombrion-services__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.8rem 0 0.35rem;
  border-bottom: 1px solid var(--line);
}
.ombrion-services__cta svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.ombrion-services__cta:hover svg, .ombrion-services__cta:focus-visible svg { transform: translateX(4px); }
.ombrion-services__cta:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; }

/* ---- Bento grid ---- */
.ombrion-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "t1 t1 t2 t2"
    "t1 t1 t3 t3"
    "t4 t5 t6 t6";
  gap: clamp(0.75rem, 2vw, 1.1rem);
}

.ombrion-tile {
  --tile-area: t1;
  grid-area: var(--tile-area);
  position: relative;
  display: block;
  min-height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;

  clip-path: inset(0 0 100% 0 round var(--radius));
  opacity: 0;
}
.ombrion-services.is-revealed .ombrion-tile {
  animation: tile-wipe 620ms var(--ease) both;
}
.ombrion-tile:nth-of-type(1) { animation-delay: 60ms; }
.ombrion-tile:nth-of-type(2) { animation-delay: 130ms; }
.ombrion-tile:nth-of-type(3) { animation-delay: 200ms; }
.ombrion-tile:nth-of-type(4) { animation-delay: 270ms; }
.ombrion-tile:nth-of-type(5) { animation-delay: 320ms; }
.ombrion-tile:nth-of-type(6) { animation-delay: 370ms; }

@keyframes tile-wipe {
  from { clip-path: inset(0 0 100% 0 round 18px); opacity: 0; }
  to   { clip-path: inset(0 0 0% 0 round 18px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ombrion-services__heading, .ombrion-services__intro, .ombrion-tile {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
}

.ombrion-tile--large { min-height: 440px; }
.ombrion-tile--wide  { min-height: 210px; }
.ombrion-tile--small { min-height: 210px; }

.ombrion-tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0f1b2d;
}
.ombrion-tile__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04);
  transition: transform 700ms var(--ease);
}
.ombrion-tile:hover .ombrion-tile__media img,
.ombrion-tile:focus-visible .ombrion-tile__media img { transform: scale(1.12); }

.ombrion-tile__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 700ms var(--ease);
}
.ombrion-tile__media video.is-ready { opacity: 1; }

.ombrion-tile__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(190deg, var(--scrim-top) 0%, var(--scrim-bottom) 78%);
}

.ombrion-tile__icon {
  position: absolute; top: 1.1rem; left: 1.1rem;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.ombrion-tile__icon svg { width: 19px; height: 19px; }

.ombrion-tile__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}

.ombrion-tile__label {
  font-weight: 600; letter-spacing: -0.005em;
  font-size: 1.08rem; line-height: 1.3;
}
.ombrion-tile--large .ombrion-tile__label { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.ombrion-tile__desc {
  font-weight: 400; font-size: 0.86rem; line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
}
.ombrion-tile--small .ombrion-tile__desc { display: none; }

.ombrion-tile__go {
  margin-top: 0.35rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500; color: #fff;
}
.ombrion-tile__go svg {
  width: 14px; height: 14px;
  transition: transform 220ms var(--ease);
}
.ombrion-tile:hover .ombrion-tile__go svg,
.ombrion-tile:focus-visible .ombrion-tile__go svg { transform: translateX(4px); }

.ombrion-tile:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
  border-radius: var(--radius);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ombrion-services__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "t1 t1"
      "t2 t3"
      "t4 t5"
      "t6 t6";
  }
  .ombrion-tile--large { min-height: 320px; }
}

@media (max-width: 560px) {
  .ombrion-services__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "t1" "t2" "t3" "t4" "t5" "t6";
  }
  .ombrion-tile--large,
  .ombrion-tile--wide,
  .ombrion-tile--small { min-height: 240px; }
  .ombrion-tile--small .ombrion-tile__desc { display: block; }
}


/* ===== Local Fonts ===== */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/cormorant-garamond/CormorantGaramond-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/cormorant-garamond/CormorantGaramond-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== About Hero Section ===== */
.about-hero {
    position: relative;
    width: 100%;
    background: #0a0e17;
    overflow: hidden;
    padding: 0;
}

.about-hero__container {
    display: flex;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 520px;
    position: relative;
}

/* Left Content */
.about-hero__content {
    flex: 0 0 42%;
    max-width: 520px;
    padding: 80px 60px 80px 80px;
    z-index: 2;
    position: relative;
}

.about-hero__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
}

.about-hero__heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(36px, 4.2vw, 52px);
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 22px 0;
    letter-spacing: -0.5px;
}

.about-hero__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 36px 0;
    max-width: 440px;
}

/* Button */
.about-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border: 1.5px solid rgba(0, 200, 255, 0.45);
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.about-hero__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 180, 255, 0.12), rgba(100, 80, 255, 0.12));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.about-hero__btn:hover {
    border-color: rgba(0, 210, 255, 0.85);
    box-shadow: 0 0 24px rgba(0, 180, 255, 0.25);
    transform: translateY(-2px);
}

.about-hero__btn:hover::before {
    opacity: 1;
}

.about-hero__btn-icon {
    transition: transform 0.3s ease;
}

.about-hero__btn:hover .about-hero__btn-icon {
    transform: translateX(4px);
}

/* Right Visual */
.about-hero__visual {
    flex: 1;
    position: relative;
    height: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.about-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.about-hero__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #0a0e17 0%,
        rgba(10, 14, 23, 0.85) 12%,
        rgba(10, 14, 23, 0.35) 35%,
        transparent 55%
    );
    pointer-events: none;
    z-index: 1;
}

/* ===== Animations (CSS only – no external libs) ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade"] {
    transform: none;
}

[data-animate="rise"] {
    transform: translateY(28px);
}

[data-animate="pan"] {
    transform: translateX(40px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .about-hero__content {
        flex: 0 0 48%;
        padding: 60px 40px 60px 50px;
    }
    .about-hero__heading {
        font-size: clamp(32px, 4vw, 44px);
    }
}

@media (max-width: 900px) {
    .about-hero__container {
        flex-direction: column;
        min-height: auto;
    }
    .about-hero__content {
        flex: none;
        max-width: 100%;
        padding: 60px 32px 40px;
        text-align: left;
    }
    .about-hero__visual {
        width: 100%;
        min-height: 360px;
        order: -1; /* image on top on mobile if preferred, remove to keep below */
    }
    .about-hero__visual-overlay {
        background: linear-gradient(
            180deg,
            transparent 40%,
            rgba(10, 14, 23, 0.6) 75%,
            #0a0e17 100%
        );
    }
}

@media (max-width: 600px) {
    .about-hero__content {
        padding: 48px 24px 40px;
    }
    .about-hero__heading {
        font-size: 30px;
    }
    .about-hero__desc {
        font-size: 14.5px;
    }
    .about-hero__btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .about-hero__visual {
        min-height: 280px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



/* =============================================================
   2 & 3. MARKUP tokens + STYLE
   ============================================================= */
.ombrion-about {
  --ab-surface: #EAF0FD;
  --ab-ink: #0f1b2d;
  --ab-slate: #5b6b85;
  --ab-line: rgba(15, 27, 45, 0.1);
  --ab-electric: #2f6bff;
  --ab-violet: #7c4dff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  background: var(--ab-surface);
  color: var(--ab-ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.ombrion-about__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 960px) {
  .ombrion-about__inner { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); align-items: center; }
}

/* ---- Media panel + collage ---- */
.ombrion-about__media {
  position: relative;
  padding-bottom: 2.5rem;
  padding-right: 2rem;
}

.ombrion-about__panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.ombrion-about.is-visible .ombrion-about__panel { opacity: 1; transform: translateY(0); }

.ombrion-about__img,
.ombrion-about__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ombrion-about__video {
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.ombrion-about__video.is-ready { opacity: 1; }
.ombrion-about__video.is-ready ~ .ombrion-about__img { opacity: 0; }

.ombrion-about__card {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(15, 27, 45, 0.35);
  border: 6px solid var(--ab-surface);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  transition-delay: 160ms;
  animation: about-card-drift 7s ease-in-out infinite;
  animation-play-state: paused;
}
.ombrion-about.is-visible .ombrion-about__card {
  opacity: 1; transform: translateY(0);
  animation-play-state: running;
}

@keyframes about-card-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.ombrion-about__card img {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 599px) {
  .ombrion-about__media { padding-right: 1.25rem; padding-bottom: 3.5rem; }
  .ombrion-about__card { width: 54%; right: -0.75rem; bottom: -1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ombrion-about__panel, .ombrion-about__card { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ---- Content column ---- */
.ombrion-about__content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  transition-delay: 80ms;
}
.ombrion-about.is-visible .ombrion-about__content { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ombrion-about__content { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.ombrion-about__heading {
  margin: 0 0 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  max-width: 18ch;
}

.ombrion-about__text {
  margin: 0 0 1.1rem;
  max-width: 52ch;
  color: var(--ab-slate);
  line-height: 1.7;
  font-size: 1rem;
}

.ombrion-about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 2.25rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ab-ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ab-ink);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.ombrion-about__cta svg { width: 15px; height: 15px; transition: transform 180ms var(--ease); }
.ombrion-about__cta:hover, .ombrion-about__cta:focus-visible { color: var(--ab-electric); border-color: var(--ab-electric); }
.ombrion-about__cta:hover svg { transform: translateX(3px); }
.ombrion-about__cta:focus-visible { outline: 2px solid var(--ab-electric); outline-offset: 4px; }

/* ---- Stats ---- */
.ombrion-about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ab-line);
}

.ombrion-about__stat-value {
  display: block;
  /* font-family: "Cormorant Garamond", serif; */
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--ab-electric), var(--ab-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.ombrion-about__stat-label {
  display: block;
  max-width: 22ch;
  color: var(--ab-slate);
  font-size: 0.85rem;
  line-height: 1.5;
}


/* ===== Why Hero Section ===== */
.why-hero {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 40%, #f5f8ff 100%);
    overflow: hidden;
    padding: 70px 0;
}

.why-hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 30px;
}

/* Left Content */
.why-hero__content {
    flex: 0 0 32%;
    max-width: 400px;
    z-index: 2;
}

.why-hero__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #5b6b8a;
    margin-bottom: 16px;
}

.why-hero__heading {
        font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(32px, 3.6vw, 44px);
    line-height: 1.18;
    color: #1a2744;
    margin: 0 0 18px 0;
    letter-spacing: -0.4px;
}

.why-hero__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5a78;
    margin: 0 0 32px 0;
    max-width: 360px;
}

/* Button */
.why-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border: 1.5px solid #5b7cfa;
    border-radius: 50px;
    background: transparent;
    color: #2a3f7a;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.why-hero__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(91, 124, 250, 0.1), rgba(120, 100, 255, 0.1));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.why-hero__btn:hover {
    border-color: #3d5ce8;
    box-shadow: 0 6px 22px rgba(91, 124, 250, 0.22);
    transform: translateY(-2px);
    color: #1a2f6e;
}

.why-hero__btn:hover::before {
    opacity: 1;
}

.why-hero__btn-icon {
    transition: transform 0.3s ease;
}

.why-hero__btn:hover .why-hero__btn-icon {
    transform: translateX(4px);
}

/* Center Visual */
.why-hero__visual {
    flex: 0 0 36%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.why-hero__img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(60, 100, 200, 0.15));
}

/* Right Features */
.why-hero__features {
    flex: 0 0 26%;
    max-width: 280px;
}

.why-hero__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-hero__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.why-hero__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(91, 124, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3d5ce8;
    transition: all 0.3s ease;
}

.why-hero__item:hover .why-hero__icon {
    background: rgba(91, 124, 250, 0.18);
    transform: scale(1.06);
}

.why-hero__feature-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #1a2744;
    line-height: 1.3;
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade"] {
    transform: none;
}

[data-animate="rise"] {
    transform: translateY(26px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="120"] { transition-delay: 0.12s; }
[data-delay="160"] { transition-delay: 0.16s; }
[data-delay="180"] { transition-delay: 0.18s; }
[data-delay="240"] { transition-delay: 0.24s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="320"] { transition-delay: 0.32s; }
[data-delay="390"] { transition-delay: 0.39s; }
[data-delay="460"] { transition-delay: 0.46s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .why-hero__container {
        gap: 20px;
        padding: 0 30px;
    }
    .why-hero__content {
        flex: 0 0 34%;
    }
    .why-hero__visual {
        flex: 0 0 34%;
    }
    .why-hero__features {
        flex: 0 0 28%;
    }
}

@media (max-width: 900px) {
    .why-hero {
        padding: 50px 0;
    }
    .why-hero__container {
        flex-direction: column;
        text-align: left;
        gap: 40px;
    }
    .why-hero__content {
        flex: none;
        max-width: 100%;
        order: 1;
    }
    .why-hero__visual {
        flex: none;
        width: 100%;
        max-width: 420px;
        order: 2;
    }
    .why-hero__features {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: 3;
    }
    .why-hero__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 24px;
    }
}

@media (max-width: 560px) {
    .why-hero__container {
        padding: 0 20px;
    }
    .why-hero__heading {
        font-size: 28px;
    }
    .why-hero__desc {
        font-size: 14.5px;
    }
    .why-hero__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-hero__btn {
        padding: 11px 22px;
        font-size: 14px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}




/* ============================================
   LOCAL FONTS
   ============================================ */


/* ============================================
   SECTION BASE
   ============================================ */
.tes_partners-section {
    --gold: #c9a227;
    --gold-light: #e8d48b;
    --gold-dim: rgba(201, 162, 39, 0.35);
    --navy: #050b1a;
    --navy-mid: #0a1628;
    --card-bg: rgba(8, 18, 36, 0.85);
    --card-border: rgba(201, 162, 39, 0.45);
    --text-light: #e8eef8;
    --text-muted: #a0aec0;
    --blue-glow: #1e3a5f;

    position: relative;
    padding: 100px 0 90px;
    background: radial-gradient(ellipse at 50% 0%, #0d1f3c 0%, var(--navy) 55%, #02060f 100%);
    overflow: hidden;
    color: var(--text-light);
    font-family: 'Poppins', system-ui, sans-serif;
}

.tes_partners-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.tes_partners-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.55;
}

.tes_partners-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.tes_partners-header {
    text-align: center;
    margin-bottom: 56px;
}

.tes_partners-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--gold);
    letter-spacing: 0.02em;
    margin: 0 0 18px;
    line-height: 1.15;
}

.tes_partners-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.tes_divider-line {
    display: block;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tes_divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--gold-dim);
}

.tes_partners-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0;
    max-width: 560px;
    margin-inline: auto;
}

/* ============================================
   SLIDER STRUCTURE
   ============================================ */
.tes_partners-slider-wrap {
    position: relative;
}

.tes_partners-slider {
    overflow: hidden;
    margin: 0 -8px;
    padding: 12px 8px 24px;
}

.tes_partners-track {
    display: flex;
    gap: 24px;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */
.tes_testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.tes_card-inner {
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    /* margin-top: -50px; */
}

.tes_card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
    opacity: 0.7;
}

.tes_testimonial-card:hover .tes_card-inner {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, 0.7);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(201, 162, 39, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tes_quote-mark {
    margin-bottom: 18px;
    opacity: 0.95;
}

.tes_testimonial-quote {
    flex: 1;
    margin: 0 0 28px;
}

.tes_testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
}

/* Author */
.tes_testimonial-author {
    margin-top: auto;
}

.tes_author-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.tes_author-line {
    flex: 1;
    max-width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim));
}

.tes_author-line:last-child {
    background: linear-gradient(90deg, var(--gold-dim), transparent);
}

.tes_author-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold-dim);
}

.tes_author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tes_author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tes_author-name {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.01em;
}

.tes_author-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   CSS LOGO SHAPES (no external icons)
   ============================================ */
.tes_author-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
}

.tes_logo-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 34px solid var(--logo-color);
    position: relative;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--logo-color) 50%, transparent));
}
.tes_logo-triangle::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 10px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--navy-mid);
}

.tes_logo-hexagon {
    width: 36px;
    height: 20px;
    background: var(--logo-color);
    position: relative;
    margin-top: 8px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    box-shadow: 0 0 10px color-mix(in srgb, var(--logo-color) 40%, transparent);
}

.tes_logo-polyhedron {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--logo-color), color-mix(in srgb, var(--logo-color) 60%, #fff));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 10px color-mix(in srgb, var(--logo-color) 40%, transparent);
}

.tes_logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--logo-color), #e8d48b, var(--logo-color));
    box-shadow: 0 0 10px color-mix(in srgb, var(--logo-color) 40%, transparent);
    position: relative;
}
.tes_logo-circle::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--navy-mid);
}

.tes_logo-diamond {
    width: 28px;
    height: 28px;
    background: var(--logo-color);
    transform: rotate(45deg);
    margin: 4px 0 0 4px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--logo-color) 40%, transparent);
}

/* ============================================
   NAVIGATION
   ============================================ */
.tes_partners-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.tes_nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: rgba(8, 18, 36, 0.7);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.tes_nav-btn:hover,
.tes_nav-btn:focus-visible {
    background: rgba(201, 162, 39, 0.15);
    border-color: var(--gold);
    transform: scale(1.08);
    outline: none;
    box-shadow: 0 0 16px var(--gold-dim);
}

.tes_nav-btn:active {
    transform: scale(0.96);
}

.tes_partners-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tes_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
}

.tes_dot:hover,
.tes_dot:focus-visible {
    background: rgba(201, 162, 39, 0.6);
    outline: none;
}

.tes_dot.tes_active {
    width: 24px;
    border-radius: 4px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-dim);
}

/* ============================================
   ANIMATIONS (custom, no external libs)
   ============================================ */

/* Rise */
.tes_anim-rise {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.tes_anim-rise.tes_in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Fade */
.tes_anim-fade {
    opacity: 0;
    transition: opacity 0.9s ease;
}
.tes_anim-fade.tes_in-view {
    opacity: 1;
}

/* Pop */
.tes_anim-pop {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.tes_anim-pop.tes_in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Blur */
.tes_anim-blur {
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.8s ease, filter 0.8s ease;
}
.tes_anim-blur.tes_in-view {
    opacity: 1;
    filter: blur(0);
}

/* Drift */
.tes_anim-drift {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.tes_anim-drift.tes_in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Skate */
.tes_anim-skate {
    opacity: 0;
    transform: translateX(40px) rotate(2deg);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.tes_anim-skate.tes_in-view {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Stagger delays for cards */
.tes_testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.tes_testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.tes_testimonial-card:nth-child(3) { transition-delay: 0.25s; }
.tes_testimonial-card:nth-child(4) { transition-delay: 0.1s; }
.tes_testimonial-card:nth-child(5) { transition-delay: 0.2s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .tes_testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
    .tes_partners-section {
        padding: 80px 0 70px;
    }
}

@media (max-width: 680px) {
    .tes_testimonial-card {
        flex: 0 0 100%;
    }
    .tes_partners-slider {
        margin: 0;
        padding: 8px 0 20px;
    }
    .tes_partners-track {
        gap: 16px;
    }
    .tes_card-inner {
        padding: 28px 22px 24px;
    }
    .tes_partners-header {
        margin-bottom: 40px;
    }
    .tes_partners-section {
        padding: 70px 0 60px;
    }
    .tes_nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .tes_partners-container {
        padding: 0 16px;
    }
    .tes_testimonial-quote p {
        font-size: 0.9rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tes_anim-rise,
    .tes_anim-fade,
    .tes_anim-pop,
    .tes_anim-blur,
    .tes_anim-drift,
    .tes_anim-skate,
    .tes_partners-track,
    .tes_card-inner,
    .tes_nav-btn,
    .tes_dot {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}





/* ==========================================================================
   Clients Showcase — Ombrion AI Labs
   Self-contained, scoped under .clients so it can drop into any page
   without leaking styles. Font families/fallback stacks match the
   single @font-face block already printed once by header.php
   (local Poppins + Cormorant Garamond .woff2 files, no external
   requests, no CDN). Respects prefers-reduced-motion throughout.
   ========================================================================== */

.clients {
  --clients-bg: #EAF0FD;
  --clients-ink: #14141b;
  --clients-muted: #5b5a66;
  --clients-line: #ecebf2;
  --clients-accent: #4f3ff0;
  --clients-accent-soft: #ede9fe;
  --clients-radius: 14px;
  --clients-max: 1180px;
  --clients-ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: var(--clients-bg);
  color: var(--clients-ink);
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem;
  overflow: hidden;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

.clients__inner {
  max-width: var(--clients-max);
  margin: 0 auto;
}

/* ---------------------------------- Intro -------------------------------- */

.clients__intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.clients__heading {
  /* font-family: "Cormorant Garamond", serif; */
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 0 1rem;
}

.clients__heading-accent {
  font-style: italic;
  font-weight: 600;
  color: var(--clients-accent);
}

.clients__subtext {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: clamp(0.97rem, 1.4vw, 1.08rem);
  line-height: 1.6;
  color: var(--clients-muted);
  margin: 0 auto 1.75rem;
  max-width: 52ch;
}

.clients__cta {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--clients-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  border-bottom: 1.5px solid var(--clients-ink);
  transition: color 0.25s var(--clients-ease), border-color 0.25s var(--clients-ease);
}

.clients__cta-icon {
  transition: transform 0.3s var(--clients-ease);
}

.clients__cta:hover,
.clients__cta:focus-visible {
  color: var(--clients-accent);
  border-color: var(--clients-accent);
}

.clients__cta:hover .clients__cta-icon,
.clients__cta:focus-visible .clients__cta-icon {
  transform: translateX(4px);
}

.clients__cta:focus-visible {
  outline: 2px solid var(--clients-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ------------------------------- Logo marquee ---------------------------- */

.clients__marquee {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;

  /* Fade the marquee edges with a local CSS mask — no image asset needed */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  will-change: transform;
}

.clients-track--row1 {
  animation: clients-drift-left 42s linear infinite;
}

.clients-track--row2 {
  animation: clients-drift-right 48s linear infinite;
}

.clients__marquee:hover .clients-track,
.clients__marquee:focus-within .clients-track {
  animation-play-state: paused;
}

.clients-track__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--clients-line);
  border-radius: var(--clients-radius);
  background: #fff;
}

.clients-track__logo {
  display: block;
  height: 60px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s var(--clients-ease), transform 0.3s var(--clients-ease);
}

.clients-track__item:hover .clients-track__logo {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}

@keyframes clients-drift-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes clients-drift-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ------------------------------ Entrance motion --------------------------- */
/* One orchestrated reveal on scroll-into-view; JS toggles .is-visible.     */

.anim-target {
  opacity: 0;
}

.anim-target[data-anim="rise"] {
  transform: translateY(22px);
  transition: opacity 0.7s var(--clients-ease), transform 0.7s var(--clients-ease);
}

.anim-target[data-anim="fade"] {
  transition: opacity 0.7s var(--clients-ease);
}

.anim-target[data-anim="pop"] {
  transform: scale(0.92);
  transition: opacity 0.5s var(--clients-ease), transform 0.5s var(--clients-ease);
}

.anim-target.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------- Responsive ------------------------------ */

@media (max-width: 720px) {
  .clients__marquee {
    gap: 0.85rem;
  }

  .clients-track {
    gap: 1.5rem;
  }

  .clients-track__item {
    padding: 0.7rem 1rem;
  }

  .clients-track__logo {
    height: 50px;
  }
}

@media (max-width: 420px) {
  .clients__heading {
    font-size: 1.7rem;
  }
}

/* ------------------------------ Reduced motion ----------------------------- */

@media (prefers-reduced-motion: reduce) {
  .clients-track--row1,
  .clients-track--row2 {
    animation: none;
  }

  .clients__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .anim-target,
  .anim-target[data-anim="rise"],
  .anim-target[data-anim="pop"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}