/* SECTION */
.about-chooser{
  background: linear-gradient(to bottom, #ffffff 0%, #FFFFB5 100%);
  padding: clamp(40px, 6vw, 80px) 16px;
}

.about-chooser__inner{
  max-width: 1200px;
  margin: 0 auto;
}

.about-chooser__title{
  text-align: center;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 clamp(20px, 4vw, 44px);
  color: #000;
}

.about-chooser__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 820px){
  .about-chooser__grid{ grid-template-columns: 1fr; }
}

/* CTA CARD */
.cta-card{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.cta-card__media{
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.cta-card__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay gradient on top of the image (white -> transparent) */
.cta-card__fade{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.55) 22%,
    rgba(255,255,255,0.00) 55%
  );
  pointer-events: none;
}

.cta-card__headline{
  position: absolute;
  top: clamp(14px, 2vw, 26px);
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  color: #000;
  padding: 0 16px;
}

/* bottom button block */
.cta-card__btn{
  display: grid;
  place-items: center;
  height: 96px;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 40px);
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-card__btn--gold{ background: #ECD57B; }
.cta-card__btn--blue{ background: #0077B6; }

/* Optional: hover feel (subtle) */
.cta-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.cta-card{
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* OVERLAY BUTTON */
.cta-card{
  position: relative;
}

.cta-card__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 96px;
  display: grid;
  place-items: center;

  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 40px);
  letter-spacing: -0.02em;
  color: #fff;

  transform: translateY(0);
  transition:
    height 320ms ease,
    transform 320ms ease;
  z-index: 5;
}

/* Colors */
.cta-card__overlay--gold{ background: #ECD57B; }
.cta-card__overlay--blue{ background: #0077B6; }

/* Hover effect: overlay grows upward */
.cta-card:hover .cta-card__overlay{
  height: 100%;
  transform: translateY(0);
}

/* Keep text centered while growing */
.cta-card__overlay span{
  pointer-events: none;
}

/* Optional: fade out image content slightly */
.cta-card:hover img{
  transform: scale(1.03);
}

.cta-card img{
  transition: transform 320ms ease;
}

html {
  scroll-behavior: smooth;
}

/* If you have a sticky header, this prevents the section title from being hidden behind it */
#samurais,
#jimnys {
  scroll-margin-top: 90px; /* adjust to your header height */
}