/* ============================================================
   Home Page Styles
   ============================================================ */

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  padding: 0 var(--container-pad);
  background: transparent;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);


}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-right: auto;
  padding-top: 0;
}


.nav-logo {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav-logo-image {
  width: clamp(150px, 14vw, 230px);
  height: auto;
  display: block;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3.25rem);
  padding-top: 0;
}

.nav-link,
.nav-item-trigger,
.btn-contact {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.nav-link,
.btn-contact {
  color: rgba(255, 255, 255, 0.96);
}

.nav-link,
.btn-contact {
  transition: color var(--duration-fast) var(--ease-out);
}

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 201;
}

.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 260ms var(--ease-out),
    opacity 200ms ease;
}

/* Mobile contact link inside nav panel — hidden on desktop */
.nav-mobile-cta {
  display: none;
}

.nav-link:hover,
.btn-contact:hover {
  color: var(--color-accent);
}

.nav-item {
  position: relative;
}

.nav-item-trigger {
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.96);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-item.open .nav-item-trigger,
.nav-item-trigger:hover {
  color: var(--color-accent);
}

.nav-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid currentColor;
  transform-origin: 50% 60%;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-item.open .nav-arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 218px;
  border-radius: 0 0 12px 12px;
  background: #d1e4f5;
  box-shadow: 0 24px 50px rgba(1, 3, 23, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.nav-item.open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 1rem 1rem 0.98rem;
  font-size: 1rem;
  font-weight: 600;
  color: #000141;
  border-top: 1px solid rgba(0, 3, 80, 0.1);
  background: transparent;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.dropdown li:first-child .dropdown-item {
  border-top: none;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: #000141;
  color: #ffffff;
}

.btn-contact {
  padding-top: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: visible;
  padding: 136px var(--container-pad) 0;
  background: linear-gradient(
    to bottom left,
    #d8d8fd 0%,
    #9294fe 10%,
    #0207ff 46%,
    #000141 73%,
    #000000 100%
  );
}


.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 14rem;
}

.hero-heading {
  max-width: 720px;
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(3.5rem, 6vw, 64.26px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}


.hero-sub {
  max-width: 620px;
  margin-bottom: 1cm;
  font-size: 1.15rem;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.93);
  padding-bottom: 40px;
}

.hero-tag {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 260px;
  padding: 0.5rem 1.9rem;
  border-radius: 999px;
  background: #abff43;
  color: #0e1118;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: none;
  transition:
    transform var(--duration-fast) var(--ease-out),
    filter var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(123, 255, 90, 0.35);
}

.btn-cta .arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.hero-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(7.8rem, 16.4vw, 10.3rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  text-align: left;
  color: rgba(255, 255, 255, 0.26);
  white-space: nowrap;
  transform: scaleX(1.04);
  transform-origin: left bottom;
  pointer-events: none;
  user-select: none;
}

.approach-section {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 4.4rem var(--container-pad) 5.4rem;
}

.approach-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.approach-heading {
  font-family: "Neuton", Georgia, serif;
  margin-bottom: 4.1rem;
  font-size: clamp(4.4rem, 8vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  color: #00039F;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(320px, 1fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.approach-lead,
.approach-copy {
  margin: 0;
  color: #111111;
}

.approach-lead {
  max-width: 500px;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;

}

.approach-copy {
  max-width: 720px;
  padding-top: 0.2rem;
  font-size: clamp(1.3rem, 2vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  word-spacing: 4px;
}

.services-section {
  background: #FAFAFA;
  padding: 4.4rem var(--container-pad) 5.4rem;
  padding-bottom: 4rem;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-heading {
  font-family: "Neuton", Georgia, serif;
  margin-bottom: 4.1rem;
  font-size: clamp(4.4rem, 8vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  color: #00039F;
}


.services-body {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(280px, 0.85fr);
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}


.service-item {
  border-bottom: 1px solid rgba(18, 22, 36, 0.12);
}

.service-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr) 2rem;
  align-items: center;
  column-gap: 1.1rem;
  padding: 1.15rem 0;
  text-align: left;
  color: #111111;
  transition: color var(--duration-fast) var(--ease-out);
}

.service-trigger:hover {
  color: #00039f;
}

.service-index {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(17, 17, 17, 0.34);
}

.service-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.9rem, 3vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}

.service-index {
  cursor: pointer;
}

.service-icon {
  justify-self: end;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: #111111;
  cursor: pointer;
}

.service-panel {
  padding: 0 2rem 1.25rem 4.8rem;
}

.service-item.is-open .service-panel {
  animation: panel-reveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-panel.is-closing {
  animation: panel-close 280ms cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes panel-reveal {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes panel-close {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-14px); }
}



.service-panel p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 20px);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: #222222;
}


.services-media-frame {
  width: min(100%, 360px);
  height: 420px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #efefef;
  justify-self: end;
  align-self: start;
}

.services-media-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.services-media-frame:hover .services-media-image {
  transform: scale(1.04);
}



@media (max-width: 980px) {
  .nav-inner {
    min-height: auto;

    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
  }

  .btn-contact {
    padding-top: 0;
  }

  .nav-brand {
    padding-top: 0;
  }

  .hero {
    min-height: 690px;
    padding-top: 124px;
  }


  .hero-watermark {
    bottom: -0.06em;
    font-size: clamp(6.5rem, 15.8vw, 9.6rem);
  }
/* 
  .approach-section {
    padding-top: 3.8rem;
    padding-bottom: 4.75rem;
  } */

  .approach-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .services-body {
    grid-template-columns: 1fr;
    row-gap: 2.4rem;
  }

  .services-media-frame {
    margin-top: 0;
    width: min(100%, 360px);
    height: auto;
    aspect-ratio: 0.84;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  /* ── Mobile nav ── */

  /* Navbar strip always above the overlay */
  .navbar {
    z-index: 300;
  }

  .nav-inner {
    flex-wrap: nowrap;
    align-items: center;
    min-height: 64px;
  }

  .nav-hamburger {
    display: flex;
    width: 48px;
    height: 48px;
  }

  /* ── Full-viewport overlay ─────────────────────────────────
     Use 100vh (explicit viewport units) so height never depends
     on body/parent dimensions. display:none avoids overflow-x
     clip artifacts from body { overflow-x: hidden }.          */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* dynamic viewport on modern mobile */
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    /* 64px pushes content below the navbar strip */
    padding: 64px 0 0;
    background: rgba(5, 5, 30, 0.97);
    overflow: hidden; /* no scroll — items are sized to fit */
  }

  body.nav-open .nav-links {
    display: flex;
    animation: mobile-nav-in 200ms ease both;
  }

  @keyframes mobile-nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Desktop contact button — hidden on mobile */
  .btn-contact {
    display: none;
  }

  /* ── Main nav rows ─────────────────────────────────────────
     Sized so all 4 items + CTA fit inside 100vh without scroll */
  .nav-links > li > .nav-link,
  .nav-links > li > .nav-item-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem clamp(1.5rem, 6vw, 2.4rem);
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
  }

  .nav-links > li > .nav-link:active,
  .nav-links > li > .nav-item-trigger:active {
    background: rgba(255, 255, 255, 0.04);
  }

  /* Hover color inside mobile overlay — beats page-specific overrides */
  .nav-links > li > .nav-link:hover,
  .nav-links > li > .nav-item-trigger:hover,
  body .nav-links .nav-item.open .nav-item-trigger {
    color: #abff43;
  }

  /* Active page highlight */
  .nav-links > li > .nav-link.active,
  .nav-links > li > .nav-item-trigger.active {
    color: #abff43;
  }

  /* ── Services sub-menu — max-height slide animation ───────── */
  .nav-links .dropdown {
    position: static;
    display: block;          /* always in DOM for animation */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    transform: none;
    pointer-events: none;
    transition:
      max-height 240ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity    200ms ease;
  }

  .nav-links .nav-item.open .dropdown {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .dropdown-item {
    display: block;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.62rem clamp(2.2rem, 8vw, 3.5rem);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-links .dropdown-item:last-child {
    border-bottom: none;
  }

  .nav-links .dropdown-item:active,
  .nav-links .dropdown-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links .dropdown-item.active {
    color: #d1e4f5;
  }

  /* ── "Contact Us" pinned at bottom of overlay ─────────────── */
  .nav-mobile-cta {
    display: block;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .nav-mobile-cta .nav-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem clamp(1.5rem, 6vw, 2.4rem) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #abff43 !important;
    border-bottom: none !important;
    letter-spacing: 0.01em;
  }

  /* ── Hamburger → X animation ─────────────────────────────── */
  body.nav-open .nav-hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.nav-open .nav-hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.nav-open .nav-hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hamburger always white when overlay is open */
  body.nav-open .nav-hamburger {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* nav-arrow points down by default; rotates up when open */
  .nav-links .nav-arrow {
    flex-shrink: 0;
    transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links .nav-item.open .nav-arrow {
    transform: rotate(180deg);
  }

  .nav-logo {
    font-size: 1.9rem;
  }

  .hero {
    min-height: 620px;
    padding-top: 108px;
  }


.hero-sub {
  max-width: 100%;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

  .hero-watermark {
    bottom: -0.04em;
    font-size: clamp(5rem, 18vw, 7.1rem);
    white-space: nowrap;
    line-height: 0.86;
    transform: scaleX(1.02);
  }

  /* .approach-section {
    padding-top: 2.4rem;
    padding-bottom: 3.25rem;
  } */


  .approach-grid {
    row-gap: 1.5rem;
  }





  .service-trigger {
    grid-template-columns: 2.8rem minmax(0, 1fr) 1.8rem;
    column-gap: 0.8rem;
    padding: 0.95rem 0;
  }

  .service-panel {
    padding-left: 3.6rem;
    padding-right: 0.5rem;
  }

  .service-icon {
    font-size: 1.7rem;
  }

  .services-media-frame {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 0.9;
    justify-self: start;
  }
}

.insights-section {
  background: #ffffff;
  padding: 1.75rem var(--container-pad) 6rem;
}

.insights-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.insights-heading {
  font-family: "Neuton", Georgia, serif;
  margin-bottom: 4.1rem;
  font-size: clamp(4.4rem, 8vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0em;
  color: #0d10a8;
}

.insights-sub {
  max-width: 540px;
  margin: 0 0 2.8rem;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #1d1d1d;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.insight-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 326 / 434;
  border-radius: 8px;
  background: #ececec;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.insight-hover-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  width: 3.45rem;
  height: 3.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #abff43;
  opacity: 0;
  transform: scale(0.82);
  pointer-events: none;
  transition:
    opacity var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.insight-hover-arrow img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.insight-card:hover .insight-hover-arrow,
.insight-card:focus-visible .insight-hover-arrow {
  opacity: 1;
  transform: scale(1);
}

.insight-image-frame {
  position: absolute;
  inset: 0;
}

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

.insight-card-copy {
  position: absolute;
  left: 10px;
  width: calc(100% - 20px);
  bottom: 10px;
  aspect-ratio: 306 / 164;
  padding: 0.7rem 0.75rem 0.8rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.insight-tag {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.8);
}

.insight-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #111111;
}

.insights-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 260px;
  width: max-content;
  margin: 2.2rem auto 0;
  padding: 0.5rem 1.9rem;
  border-radius: 999px;
  background: #abff43;
  color: #0e1118;
  font-size: 1rem;
  font-weight: 700;
  transition:
    transform var(--duration-fast) var(--ease-out),
    filter var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.insights-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(123, 255, 90, 0.35);
}



@media (max-width: 1100px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .insights-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
  }

  .insights-heading {
    font-size: clamp(3.2rem, 12vw, 4.6rem);
  }

  .insights-sub {
    margin-bottom: 2rem;
    font-size: 0.96rem;
  }

  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-card {
    aspect-ratio: 326 / 434;
  }
}

@media (max-width: 480px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    aspect-ratio: 4 / 3;
  }
}

.testimonials-section {
  background: #fafafa;
  padding: 1.5rem var(--container-pad) 6rem;
}

.testimonials-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-heading {
  margin: 0 0 2.5rem;
  font-family: "Neuton", Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  color: #0d10a8;
}

.testimonials-carousel {
  position: relative;
  min-height: 480px;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 480px;
}

.testimonial-mark {
  position: absolute;
  font-size: clamp(4rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: #0d10a8;
}

.testimonial-mark-top {
  top: 2rem;
  right: 1rem;
  font-family: "Neuton", Georgia, serif;
}

.testimonial-mark-bottom {
  position: static;
  display: block;
  /* margin-bottom: 0.35rem; */

  font-size: 4.2rem;
  font-family: "Neuton", Georgia, serif;
}

.testimonial-quote {
  max-width: 900px;
  margin: 0 0 0 auto;
  padding: 4.9rem 0 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: right;
  color: #111111;
}


.testimonial-footer {
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  max-width: 300px;
}

.testimonial-name {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

.testimonial-role {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111111;
}

.testimonial-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 7rem;
}

.testimonial-arrow {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0d10a8;
  border-radius: 50%;
  color: #0d10a8;
  background: transparent;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.testimonial-arrow:disabled {
  border-color: #9f9f9f;
  color: #9f9f9f;
  cursor: default;
}

.testimonial-arrow:not(:disabled):hover {
  border-color: #000141;
  color: #000141;
}

@media (max-width: 980px) {
  .testimonials-carousel,
  .testimonial-slide {
    min-height: 430px;
  }

  .testimonial-quote {
    max-width: 100%;
    padding-top: 4rem;
    font-size: clamp(1.7rem, 4.6vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding-top: 0.75rem;
    padding-bottom: 4rem;
  }

  .testimonials-heading {
    margin-bottom: 2rem;
    font-size: clamp(3.2rem, 12vw, 4.8rem);
  }

  .testimonials-carousel,
  .testimonial-slide {
    min-height: 420px;
  }

  .testimonial-mark-top {
    top: 0.5rem;
    right: 0;
  }

  .testimonial-quote {
    padding-top: 3.2rem;
    font-size: clamp(1.45rem, 7vw, 2.2rem);
    text-align: right;
  }

  .testimonial-footer {
    position: static;
    margin-top: 2rem;
    max-width: 100%;
  }

  .testimonial-controls {
    position: static;
    justify-content: flex-end;
    margin-top: 2rem;
  }
}

.clients-section {
  background: #f2f2f2;
  padding: 2rem 0 3.5rem;
  overflow: hidden;
}

.clients-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.clients-heading {
  margin: 0 0 1.8rem;
  padding: 0 var(--container-pad);
  font-family: "Neuton", Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  text-align: center;
  color: #0d10a8;
}

.clients-marquee {
  display: grid;
  row-gap: 1.7rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.clients-row {
  overflow: hidden;
}

.clients-track {
  width: max-content;
  display: flex;
  gap: 1.6rem;
  animation-duration: 38s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.clients-row-top .clients-track {
  animation-name: clients-marquee-left;
}

.clients-row-bottom .clients-track {
  animation-name: clients-marquee-right;
}

.clients-marquee:hover .clients-track,
.clients-marquee:focus-within .clients-track {
  animation-play-state: paused;
}

.client-box {
  width: 214px;
  height: 214px;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

@keyframes clients-marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.8rem));
  }
}

@keyframes clients-marquee-right {
  from {
    transform: translateX(calc(-50% - 0.8rem));
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .clients-section {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .clients-heading {
    margin-bottom: 1.4rem;
    font-size: clamp(3.2rem, 12vw, 4.8rem);
  }

  .clients-track {
    gap: 1rem;
    animation-duration: 30s;
  }

  .client-box {
    width: 214px;
    height: 214px;
  }
}
