/* ==========================================================================
   YAHCHEH LAYOUT
   Section rhythm and grids for the scroll experience.
   ========================================================================== */

main {
  position: relative;
  z-index: var(--yah-z-content);
}

.yah-section {
  padding: var(--yah-space-7) 0;
  scroll-margin-top: 100px;
}

.yah-section__heading {
  margin-bottom: var(--yah-space-5);
  max-width: 720px;
}

.yah-section__heading h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

/* ---------- Hero ---------- */
.yah-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
}

.yah-hero__frame {
  position: relative;
  width: min(1180px, 100%);
  border-radius: var(--yah-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yah-border);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.yah-hero__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.yah-hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 8%;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 11, 0.55) 100%);
}

.yah-hero__title {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--yah-gold-bright);
  text-shadow: 0 0 40px rgba(240, 209, 138, 0.35);
}

.yah-hero__subtitle {
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--yah-text);
  margin-bottom: 30px;
}

.yah-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Grids ---------- */
.yah-grid {
  display: grid;
  gap: 24px;
}

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

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

/* ---------- Connect / footer section ---------- */
.yah-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

footer.yah-footer {
  position: relative;
  z-index: var(--yah-z-content);
  padding: 40px 0 60px;
  text-align: center;
  color: var(--yah-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .yah-grid--3,
  .yah-grid--4 {
    grid-template-columns: 1fr;
  }

  .yah-section {
    padding: var(--yah-space-6) 0;
  }
}
