/* Home page. */

.aja-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background:
    radial-gradient(640px 380px at 50% 0%, rgba(255, 199, 4, .18), transparent 70%),
    linear-gradient(180deg, var(--aja-surface) 0%, var(--aja-bg) 100%);
}
.aja-hero-head { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.aja-hero-title {
  margin-bottom: .75rem;
  color: var(--aja-ink);
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.aja-hero-sub { max-width: 40ch; margin: 0 auto; color: var(--aja-muted); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); font-weight: 400; line-height: 1.6; }
.aja-hero-sub strong { color: var(--aja-ink); font-weight: 600; }
.aja-hero-kicker { margin-bottom: .9rem; color: var(--aja-muted); font-weight: 500; }
.aja-hero-kicker span { color: var(--aja-ink); font-weight: 600; }

.aja-hero-grid {
  display: grid;
  grid-template-areas: "visual" "info" "stats";
  gap: 2rem;
}

/* "Come out of your box": the hand rises out of the gold box and reaches up to touch the
   headline. Only the bottom edge is clipped (to the box's rounded corners), so the arm reads
   as coming out of the box while the finger is free to leave it. */
.aja-hero-visual {
  --box-top: 34%;
  grid-area: visual;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  justify-self: center;
  width: min(100%, 330px);
  height: 420px;
  margin-top: .75rem;
  clip-path: inset(-100% -100% 0 -100% round 0 0 var(--aja-radius-xl) var(--aja-radius-xl));
}
.aja-hero-visual::before {
  content: "";
  position: absolute;
  inset: var(--box-top) 0 0 0;
  border-radius: var(--aja-radius-xl);
  background:
    radial-gradient(260px 200px at 75% 10%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(170deg, var(--aja-gold) 0%, #ffe07a 55%, var(--aja-gold-50) 100%);
  box-shadow: var(--aja-shadow);
}
.aja-hero-img {
  position: relative;
  width: auto;
  height: calc(100% + 24px);
  margin-bottom: -24px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 22px 28px rgba(19, 33, 60, .28));
  animation: aja-reach 5s ease-in-out infinite;
}
@keyframes aja-reach {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .aja-hero-img { animation: none; } }

.aja-hero-info { grid-area: info; }
.aja-hero-stats { grid-area: stats; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.aja-hero-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem .75rem .75rem;
  border: 1px solid var(--aja-border);
  border-radius: 16px;
  background: var(--aja-surface);
  box-shadow: var(--aja-shadow-sm);
  color: var(--aja-ink);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.aja-hero-stat-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--aja-gold-50);
}
.aja-hero-stat-icon img { width: 66%; height: auto; }

.aja-x-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-width: 460px;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.aja-x-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border: 1px solid var(--aja-border);
  border-radius: 12px;
  background: var(--aja-surface);
  color: var(--aja-ink);
  font-size: .92rem;
  font-weight: 500;
}
.aja-x-list .bx {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--aja-danger-50);
  color: var(--aja-danger);
  font-size: 1.15rem;
}

@media (min-width: 992px) {
  .aja-hero {
    padding: clamp(1.5rem, 1rem + 1.5vw, 2.75rem) 0 0;
    background:
      radial-gradient(640px 380px at 50% 0%, rgba(255, 199, 4, .18), transparent 70%),
      radial-gradient(460px 320px at 10% 60%, rgba(255, 199, 4, .10), transparent 70%),
      radial-gradient(460px 320px at 90% 60%, rgba(59, 130, 246, .08), transparent 70%),
      linear-gradient(180deg, var(--aja-surface) 0%, var(--aja-bg) 100%);
  }
  .aja-hero-sub { max-width: none; }
  /* Same composition as the old site: a big box that may run past the fold (the visitor
     scrolls to see the whole arm), with only the finger poking out above it to reach the
     subtitle. The side columns start level with the top of the box, so all of their text
     is on the first screen. */
  .aja-hero-grid {
    --visual-h: 640px;
    --visual-w: 440px;
    --box-top-px: 84px;
    grid-template-areas: ". visual ." "info visual stats";
    grid-template-columns: minmax(0, 1fr) var(--visual-w) minmax(0, 1fr);
    grid-template-rows: var(--box-top-px) auto;
    align-items: start;
    column-gap: clamp(2rem, 1rem + 3vw, 4rem);
    max-width: 1240px;
    margin: 0 auto;
  }
  .aja-hero-visual { --box-top: var(--box-top-px); width: var(--visual-w); height: var(--visual-h); margin-top: .5rem; }
  .aja-hero-info { justify-self: end; width: 100%; max-width: 340px; padding-top: 1.25rem; }
  .aja-x-list { grid-template-columns: 1fr; gap: .5rem; }
  .aja-x-list li { padding: .5rem .8rem; font-size: .95rem; }
  .aja-hero-stats { justify-self: start; grid-template-columns: 1fr; width: 100%; max-width: 300px; gap: 1rem; padding-top: 2rem; }
  .aja-hero-stat { padding: 1rem 1.25rem 1rem 1rem; font-size: 1.05rem; }
  .aja-hero-stat-icon { width: 56px; height: 56px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .aja-hero-grid { --visual-h: 560px; --visual-w: 340px; --box-top-px: 76px; column-gap: 1.5rem; }
}
@media (min-width: 992px) and (max-height: 720px) {
  .aja-hero { padding-top: 1rem; }
  .aja-hero-title { margin-bottom: .5rem; }
  .aja-hero-info { padding-top: .75rem; }
  .aja-hero-kicker { margin-bottom: .6rem; }
  .aja-x-list { gap: .4rem; margin-bottom: 1.1rem; }
  .aja-x-list li { padding: .4rem .75rem; }
  .aja-hero-info .btn-lg { --bs-btn-padding-y: .65rem; }
}

.aja-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--aja-navy);
  box-shadow: 0 10px 20px -12px rgba(19, 33, 60, .7);
}
.aja-stat-icon img { width: 58%; height: auto; }
.aja-stat-text { margin: 0; color: var(--aja-muted); font-size: .92rem; font-weight: 500; }
.aja-stat-text .aja-stat-value { display: block; margin: .2rem 0; font-size: clamp(1.1rem, .9rem + .9vw, 1.5rem); }

.aja-service-card { display: flex; flex-direction: column; overflow: hidden; }
.aja-service-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--aja-navy); }
.aja-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.aja-service-card:hover .aja-service-media img { transform: scale(1.04); }
.aja-service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 38, .88) 0%, rgba(11, 20, 38, .25) 55%, transparent 100%);
}
.aja-service-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(.85rem, .75rem + .4vw, 1rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.aja-service-body { display: flex; flex: 1; flex-direction: column; gap: 1rem; }
.aja-service-title { margin: 0; color: var(--aja-ink); font-size: 1.3rem; font-weight: 700; }
.aja-service-text { margin: 0; color: var(--aja-text); line-height: 1.7; }

.aja-about-text { margin-bottom: 1.5rem; color: var(--aja-text); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.8; }
.aja-about-visual { padding: 1.5rem; text-align: center; }
.aja-feature-title { margin-bottom: .5rem; color: var(--aja-ink); font-size: 1.15rem; font-weight: 600; }
.aja-feature-text { margin: 0; color: var(--aja-muted); font-size: .95rem; line-height: 1.7; }

.aja-faq-teaser { overflow: hidden; }
.aja-faq-teaser-media { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--aja-gold-50); }
.aja-faq-teaser-body { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.aja-faq-teaser-sub { margin-bottom: 1.25rem; color: var(--aja-muted); font-size: 1rem; font-weight: 500; }
.aja-faq-list { display: grid; gap: .55rem; margin: 0 0 1.75rem; padding: 0; list-style: none; counter-reset: faq; }
.aja-faq-list li { display: flex; align-items: center; gap: .75rem; color: var(--aja-ink); font-size: .95rem; counter-increment: faq; }
.aja-faq-list li::before {
  content: counter(faq);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--aja-surface-2);
  color: var(--aja-gold-700);
  font-size: .8rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .aja-faq-teaser-media { display: flex; align-items: center; height: 100%; }
  .aja-faq-teaser-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; }
}

.aja-social-platform { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--aja-ink); font-size: 1.15rem; font-weight: 600; }
.aja-social-platform img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.aja-social-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; }
.aja-social-logo { flex: none; width: 64px; height: 64px; padding: 6px; border-radius: 16px; background: var(--aja-surface-2); object-fit: contain; }
.aja-social-name { display: block; color: var(--aja-ink); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.aja-social-card:hover .aja-social-name { color: var(--aja-gold-700); }
.aja-social-text { margin: .2rem 0 0; color: var(--aja-muted); font-size: .88rem; }
