/* Home page — Figma 2272:313 (1920 frame, 1290 container) */

/* ---------- Hero (home copy is longer than Figma's, so trim the faded bottom band to keep 1092px @1920) ---------- */
.hero { padding-bottom: clamp(5rem, 1rem + 14.1vw, 17rem); }

/* ---------- Intro (ornament quote + travel schedule + note) ---------- */
.home-intro { margin-top: -2.0625rem; padding-top: 0; padding-bottom: clamp(3rem, 2rem + 3vw, 6.5rem); overflow: clip; }
.home-intro__glow { --glow-size: 77rem; bottom: -52rem; left: -46rem; opacity: 0.55; }
.home-intro__waves { --waves-width: 70rem; right: -30rem; bottom: -14rem; opacity: 0.5; }

.home-intro__inner { text-align: center; }

.home-intro__title {
  max-width: 59.3125rem;              /* 949 */
  text-wrap: balance;
}

.home-intro__schedule {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 5.5rem);
  font-size: var(--fs-lg);
  line-height: 1.4;                   /* 35 / 25 */
  color: var(--c-white);
}

.home-intro__text {
  --flow-space: 0.5rem;
  max-width: 73.5625rem;              /* 1177 */
  margin: clamp(1.75rem, 1rem + 2vw, 2.75rem) auto 0;
  font-size: var(--fs-sm);
  line-height: 1.875;                 /* 30 / 16 */
  color: var(--c-text);
}
.home-intro__strong { font-weight: 500; }

/* ---------- About ---------- */
.home-about { padding-block: 0; }

.home-about__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 1rem + 4vw, 7rem); /* 112 at 1920 */
  max-width: 78rem;                   /* 1248 */
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.25rem);
}

.home-about__media {
  flex: 1 1 0%;
  max-width: 32.3125rem;              /* 517 */
}
.home-about__img { aspect-ratio: 517 / 452; }

.home-about__content {
  --flow-space: 0.75rem;
  flex: 1 1 0%;
  max-width: 38.75rem;                /* 620 */
  font-size: var(--fs-sm);
  line-height: 1.875;
  color: var(--c-text);
}
.home-about__content .heading-3 { margin-bottom: 0.25rem; }
.home-about__action { padding-top: 1.25rem; }

/* ---------- Gallery teaser ---------- */
.home-gallery { padding-top: clamp(3.5rem, 1rem + 7.5vw, 10.5625rem); padding-bottom: 0; isolation: isolate; overflow: clip; }

.home-gallery__word {
  position: absolute;
  z-index: -1;
  top: clamp(-1.4rem, -1vw, 0rem);
  left: 50%;
  transform: translateX(-50%);
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-column-gap: 1.875rem;          /* 30 */
  grid-row-gap: 1.375rem;             /* 22 */
  align-items: stretch;
  justify-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-gallery__action {
  margin-top: clamp(2.5rem, 1.5rem + 2vw, 4.3125rem);  /* 69 */
  text-align: center;
}
.home-gallery__action .btn { min-width: 15.375rem; }  /* 246 */

/* ---------- Reviews / client logos ---------- */
.home-reviews { padding-top: clamp(3.5rem, 2rem + 5.4vw, 8.5rem); overflow: clip; }
.home-reviews__waves { --waves-width: 80rem; left: -38rem; top: 4rem; opacity: 0.45; }

.home-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-column-gap: 1.25rem;           /* 20 */
  grid-row-gap: 1.6875rem;            /* 27 */
  align-items: start;
  justify-items: stretch;
  max-width: 66.25rem;                /* 1060 */
  margin: clamp(2rem, 1.5rem + 1.5vw, 2.75rem) auto 0;
  padding: 0;
  list-style: none;
}

.home-reviews__tile {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;           /* 20 / 28 */
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xs);
}
.home-reviews__tile--small { justify-self: start; width: auto; }

.home-reviews__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 3.625rem;               /* 58 */
  object-fit: contain;
}
.home-reviews__tile--small .home-reviews__logo { width: 4.75rem; }

.home-reviews__caption {
  font-size: var(--fs-xs);
  color: var(--c-light);
  text-align: center;
}
.home-reviews__caption a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .home-about__row { flex-direction: column; align-items: stretch; margin-inline: auto; max-width: 40rem; }
  .home-about__media,
  .home-about__content { flex: none; max-width: none; }
  .home-gallery__grid { grid-template-columns: 1fr 1fr 1fr 1fr; grid-column-gap: 1rem; grid-row-gap: 1rem; }
}

@media (max-width: 767px) {
  .home-gallery__grid { grid-template-columns: 1fr 1fr; }
  .home-reviews__grid { grid-template-columns: 1fr; }
  .home-intro__schedule { font-size: var(--fs-md); }
}

@media (max-width: 479px) {
  .home-reviews__tile { padding: 1rem; }
}
