:root {
  --pink-50:  #fdf2f4;
  --pink-100: #fbe6ea;
  --pink-200: #f7d4dc;
  --pink-300: #f1bac6;
  --pink-500: #c97a8a;
  --pink-700: #8a4757;
  --ink:      #6b3947;
  --ink-soft: #8d5566;
  --bouquet-w: 1003;
  --bouquet-h: 910;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--pink-100);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100svh; }

/* ---------- Hero layout: side-by-side on desktop, stacked on mobile ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* ---------- Left: text panel with painted-pink wash ---------- */
.hero__text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(247, 186, 199, 0.55), transparent 70%),
    radial-gradient(ellipse 70% 50% at 70% 80%, rgba(245, 200, 210, 0.45), transparent 65%),
    linear-gradient(135deg, #fce8ec 0%, #f9d8df 55%, #f5cad3 100%);
  overflow: hidden;
}

/* Soft watercolor splash echoing the original artwork */
.hero__text::before {
  content: "";
  position: absolute;
  inset: -10% -15% auto auto;
  width: 70%;
  aspect-ratio: 1.4 / 1;
  background:
    radial-gradient(ellipse 60% 55% at 35% 45%, rgba(233, 142, 162, 0.55), transparent 70%),
    radial-gradient(ellipse 55% 40% at 70% 60%, rgba(220, 110, 135, 0.35), transparent 75%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero__text::after {
  content: "";
  position: absolute;
  inset: auto auto -20% -15%;
  width: 65%;
  aspect-ratio: 1.6 / 1;
  background:
    radial-gradient(ellipse 60% 55% at 60% 40%, rgba(248, 200, 215, 0.6), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 30rem;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* ---------- Brand wordmark ---------- */
.brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.brand__script {
  font-family: "Allura", "Snell Roundhand", cursive;
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--pink-700);
  letter-spacing: 0.01em;
}

.brand__sub {
  display: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.25rem;
}

/* ---------- Tagline ---------- */
.tagline {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--pink-700);
  padding-left: 0.25rem;
}

/* ---------- Domain info block ---------- */
.domain {
  display: inline-flex;
  flex-direction: column;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 0.85rem 1.25rem;
  border-left: 2px solid var(--pink-500);
}

.domain__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-700);
}

.domain__sub {
  margin-top: 0.35rem;
  font-size: clamp(0.7rem, 1vw, 0.78rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Contact CTA button ---------- */
.contact {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--pink-700);
  color: #fdf2f4;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -8px rgba(138, 71, 87, 0.55);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.contact:hover,
.contact:focus-visible {
  background: #6f3543;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(138, 71, 87, 0.7);
  outline: none;
}

.contact:active { transform: translateY(0); }

.contact svg { flex: 0 0 auto; }

.js-fallback {
  margin-top: 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.js-fallback em { font-style: normal; opacity: 0.7; padding: 0 0.15em; }

/* ---------- Right: bouquet photograph ---------- */
.hero__photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--pink-100) url("images/bouquet-lqip.jpg") center / cover no-repeat;
}

.hero__photo picture,
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Soft seam blending the photo into the text panel on wide viewports */
.hero__photo::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12%;
  background: linear-gradient(to right, rgba(249, 216, 223, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Responsive: overlay under 720px ---------- */
/* Photo fills the viewport as backdrop; text sits on top in the same grid cell. */
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 100svh;
  }

  .hero__photo {
    grid-area: 1 / 1;
    aspect-ratio: auto;
    height: 100%;
    max-height: none;
    z-index: 0;
  }

  .contact {
    align-self: center;
  }

  /* Drop the desktop side seam — the photo is now full-bleed. */
  .hero__photo::before { display: none; }

  .hero__text {
    grid-area: 1 / 1;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 1.5rem;
    text-align: center;
    /* Translucent pink wash so the bouquet shows through but text stays readable. */
    background:
      radial-gradient(ellipse 90% 60% at 50% 25%, rgba(252, 232, 236, 0.92), rgba(249, 216, 223, 0.78) 55%, rgba(245, 202, 211, 0.35) 90%, transparent 100%),
      linear-gradient(180deg, rgba(252, 232, 236, 0.6) 0%, rgba(249, 216, 223, 0.25) 70%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  /* Soften the watercolor splashes so they don't fight the photo. */
  .hero__text::before,
  .hero__text::after { opacity: 0.45; }

  .hero__inner { 
    text-align: center; 
    display: flex;
    flex-direction: column;
  }
  .brand { align-items: center; }
  .brand__sub { padding-left: 0; }
  .tagline { padding-left: 0; }

  .domain {
    align-self: center;
    border-left: none;
    border-top: 2px solid var(--pink-500);
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    text-align: center;
    align-items: center;
    /* Slight glass panel under the CTA so it stays legible against the bouquet. */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}

/* ---------- Ultra-wide: keep content from sprawling ---------- */
@media (min-width: 1800px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__inner { max-width: 34rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .domain { transition: none; }
}
