/* About: final editorial chapter. Copy and image share one measured grid. */
@media (min-width: 761px) {
  .tsf-about-aman__future {
    align-items: start;
    box-sizing: border-box;
    column-gap: clamp(56px, 5vw, 96px);
    grid-template-columns: minmax(0, 1.24fr) minmax(420px, .76fr);
    max-width: 1760px;
    padding: 0 clamp(52px, 4.2vw, 80px) clamp(92px, 8vw, 132px);
    width: 100%;
  }

  .tsf-about-aman__future .tsf-about-aman__copy {
    align-self: start;
    margin: 0;
    max-width: none;
  }

  .tsf-about-aman__future .tsf-about-aman__copy h2 {
    font-size: clamp(48px, 3.45vw, 64px);
    line-height: .94;
    margin: 16px 0 26px;
    max-width: 23ch;
  }

  .tsf-about-aman__future .tsf-about-aman__copy p {
    font-size: clamp(18px, 1.18vw, 22px);
    line-height: 1.5;
    margin-bottom: 19px;
    max-width: none;
  }

  .tsf-about-aman__future figure {
    align-self: start;
    height: clamp(420px, 32vw, 580px);
    justify-self: stretch;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .tsf-about-aman__future .tsf-about-aman__note {
    font-size: clamp(32px, 2.65vw, 46px);
    margin-left: clamp(28px, 3.2vw, 58px);
    max-width: none;
  }
}

@media (max-width: 760px) {
  .tsf-about-aman__desktop-break { display: none; }
}

/* The 2011 chapter is a reading block beside a large image, not a display
 * hero. Keep its hierarchy calm enough for the whole story to fit together. */
.tsf-about-aman__chapter .tsf-about-aman__copy h2 {
  font-size: clamp(40px, 3.2vw, 54px);
  line-height: .96;
}

.tsf-about-aman__chapter .tsf-about-aman__copy > p:not(.tsf-about-aman__eyebrow):not(.tsf-about-aman__note) {
  font-size: clamp(17px, 1.05vw, 20px);
  line-height: 1.48;
}

@media (max-width: 760px) {
  .tsf-about-aman__chapter .tsf-about-aman__copy h2 {
    font-size: clamp(38px, 10vw, 48px);
  }
}

/* The service rail is deliberately self-contained: the tall image card owns
 * its own overlay, typography and action without affecting other card types. */
.tsf-about-aman__services-track a {
  color: #fff;
  overflow: hidden;
  position: relative;
}

.tsf-about-aman__services-track a::after {
  background: linear-gradient(180deg, rgba(6, 5, 4, .04) 22%, rgba(6, 5, 4, .88) 100%);
  content: '';
  display: block;
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tsf-about-aman__services-track img {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tsf-about-aman__services-track span {
  bottom: 0;
  left: 0;
  padding: clamp(20px, 2vw, 30px);
  position: absolute;
  right: 0;
  z-index: 1;
}

.tsf-about-aman__services-track small {
  color: #fff;
  font-weight: 700;
  letter-spacing: .09em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.tsf-about-aman__services-track strong {
  color: #fff;
  font-size: clamp(30px, 2.55vw, 44px);
  line-height: .95;
}

.tsf-about-aman__services-track b {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  display: flex;
  font-family: var(--tsf-font-ui);
  font-size: 10px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: .09em;
  margin-top: 18px;
  padding-top: 14px;
  text-transform: uppercase;
}

.tsf-about-aman__services-track b i {
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  line-height: .5;
}

@media (min-width: 761px) {
  .tsf-about-aman__services-track { gap: 32px; }
  .tsf-about-aman__services-track a {
    aspect-ratio: .84;
    flex-basis: calc((100vw - 5.3vw - 64px) / 3);
  }
}

@media (max-width: 760px) {
  .tsf-about-aman__services-track a {
    aspect-ratio: .84;
    min-height: 0;
  }
}

/* Match the compact scale of the related-service rail used on the Chupinazo
 * landing: this section is an introduction to the categories, not a hero. */
.tsf-about-aman__services {
  padding-bottom: clamp(54px, 6.5vw, 84px);
  padding-top: clamp(54px, 6.5vw, 84px);
}

.tsf-about-aman__services header {
  margin-bottom: clamp(28px, 3.2vw, 42px);
}

.tsf-about-aman__services header h2 {
  font-size: clamp(38px, 3vw, 52px);
  line-height: .92;
}

@media (min-width: 761px) {
  .tsf-about-aman__services-track a {
    aspect-ratio: 1.25;
  }
}

.tsf-about-aman__services-track span {
  padding: clamp(18px, 1.5vw, 24px);
}

.tsf-about-aman__services-track strong {
  font-size: clamp(24px, 1.7vw, 31px);
  line-height: 1;
}

.tsf-about-aman__services-track small {
  font-size: 10px;
  margin-bottom: 8px;
}

.tsf-about-aman__services-track b {
  margin-top: 12px;
  padding-top: 10px;
}

/* Reuse the Chupinazo carousel geometry: a three-card viewport with clear
 * side gutters reserved for the navigation arrows. */
.tsf-about-aman__services-rail {
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
}

.tsf-about-aman__services-viewport {
  cursor: grab;
  margin: 0 auto;
  max-width: 1180px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.tsf-about-aman__services-viewport::-webkit-scrollbar { display: none; }
.tsf-about-aman__services-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tsf-about-aman__services-viewport.is-dragging * { cursor: grabbing; }

.tsf-about-aman__services-track {
  display: flex;
  gap: clamp(15px, 2vw, 26px);
  margin: 0;
  max-width: none;
  padding: 0;
  width: max-content;
}

@media (min-width: 761px) {
  .tsf-about-aman__services-track a {
    aspect-ratio: auto;
    flex: 0 0 calc((min(1180px, 100vw - 10vw) - clamp(30px, 4vw, 52px)) / 3);
    height: clamp(320px, 32vw, 430px);
    scroll-snap-align: start;
  }
}

.tsf-about-aman__services-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 32px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .2s ease, transform .2s ease;
  width: 42px;
  z-index: 2;
}

.tsf-about-aman__services-arrow:hover,
.tsf-about-aman__services-arrow:focus-visible { transform: translateY(-50%) scale(1.12); }
.tsf-about-aman__services-arrow:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.tsf-about-aman__services-arrow:disabled { cursor: default; opacity: .25; pointer-events: none; }
.tsf-about-aman__services-arrow--previous { left: clamp(-58px, -4vw, -24px); }
.tsf-about-aman__services-arrow--next { right: clamp(-58px, -4vw, -24px); }

@media (max-width: 760px) {
  .tsf-about-aman__services-viewport { margin-right: -5vw; }
  .tsf-about-aman__services-track a { flex-basis: min(78vw, 340px); }
  .tsf-about-aman__services-arrow { display: none; }
}
