@charset "UTF-8";
/* ---------- COLORS ---------- */
/* ---------- FONT FAMILIES ---------- */
/* ---------- TYPOGRAPHY ---------- */
/* ---------- CSS CUSTOM PROPERTIES (для runtime-доступа из JS/замеров) ---------- */
:root {
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-ivory: #F7F1DF;
  --c-light-gray: #FAFAF9;
  --c-gold: #B29261;
  --c-orange: #E60000;
  --ff-display: "Chiswick-stand", "Playfair Display", "Times New Roman", serif;
  --ff-sans: "CaslonDoric-stand", "Figtree", system-ui, -apple-system, sans-serif;
  --ff-script: "Shelley-stand", "Imperial Script", "Great Vibes", cursive;
}

.moment {
  width: 1440px;
  height: 1099px;
  background: #FFFFFF;
  padding: 160px 0 0;
  box-sizing: border-box;
  overflow: hidden; /* Script text overflows frame by design — маскируем. */
  position: relative;
  display: flex;
  flex-direction: column;
}
.moment__header {
  /* Figma Inner container 656 × 234 at (392, 160). */
  width: 656px;
  margin: 0 auto;
  text-align: center;
}
.moment__number {
  font-family: "CaslonDoric-stand", "Figtree", system-ui, -apple-system, sans-serif;
  font-weight: 450;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.83em;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
}
.moment__title {
  font-family: "Chiswick-stand", "Playfair Display", "Times New Roman", serif;
  font-weight: 300;
  font-size: 100px;
  line-height: 1.1;
  letter-spacing: 0;
  color: #000000;
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.moment__body {
  font-family: "Chiswick-stand", "Playfair Display", "Times New Roman", serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 24px 0 0;
}
.moment__content {
  /* Figma Content container 1599.56 × 585 at (-79.78, 394) — overflows frame. */
  width: 1599.56px;
  height: 585px;
  margin: 40px 0 0 -79.78px;
  position: relative;
}
.moment__script {
  /* Figma Decorative/H2 — Shelley Script → Great Vibes 140/0.9/0, GOLD. */
  font-family: "Shelley-stand", "Imperial Script", "Great Vibes", cursive;
  font-weight: 400;
  font-size: 140px;
  line-height: 0.9;
  letter-spacing: 0;
  color: #B29261;
  position: absolute;
  top: 83px;
  left: 70.88px;
  width: 1492.19px;
  height: 97.5px;
  margin: 0;
  white-space: nowrap;
  line-height: 0.9;
}
.moment__photo {
  /* Figma Frame 2147228885 — 436 × 436 at (581.56, 149) of content container.
     Demo placeholder: romantic couple close-up из Unsplash + fallback gradient. */
  position: absolute;
  left: 581.56px;
  top: 149px;
  width: 436px;
  height: 436px;
  border-radius: 50%;
  background: url("../../assets/img/sections/moment-photo.png") center/cover no-repeat, radial-gradient(circle at 50% 40%, #3a2818 0%, #20140c 70%, #100a06 100%);
  overflow: hidden;
}
.moment {
  /* ───── Responsive overrides ───── */
}
@media (max-width: 1023px) {
  .moment {
    width: 100%;
    height: auto;
    padding: 96px 32px 80px;
  }
  .moment__header {
    width: 100%;
  }
  .moment__title {
    font-size: 64px;
    white-space: normal;
    line-height: 1.1;
  }
  .moment__content {
    width: 100%;
    height: auto;
    margin: 60px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .moment__script {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    font-size: 88px;
    line-height: 0.9;
    text-align: center;
    /* let script slightly overflow but not horizontally scroll — clip at parent */
  }
  .moment__photo {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 24px;
    width: 340px;
    height: 340px;
  }
}
@media (max-width: 767px) {
  .moment {
    padding: 64px 20px 60px;
  }
  .moment__number {
    font-size: 11px;
  }
  .moment__title {
    font-size: 44px;
    margin-top: 10px;
  }
  .moment__body {
    font-size: 15px;
    line-height: 1.35;
  }
  .moment__content {
    margin-top: 40px;
  }
  .moment__script {
    font-size: 56px;
  }
  .moment__photo {
    width: 240px;
    height: 240px;
    margin-top: 16px;
  }
}