/* =========================================================
   SAENGÉ — Page sections
   ========================================================= */

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  background: var(--grad-bloom);
  overflow: clip;
  padding-block: clamp(3rem, 1rem + 6vw, 6rem) var(--space-section);
}

.hero__petal {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  background: var(--grad-petal);
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero__petal--1 { width: 220px; height: 220px; top: -40px; right: 8%; }
.hero__petal--2 { width: 140px; height: 140px; bottom: 12%; left: 4%; animation-delay: -4s; opacity: 0.4; }
.hero__petal--3 { width: 90px; height: 90px; top: 30%; left: 38%; animation-delay: -8s; opacity: 0.3; }

@keyframes drift {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-26px) rotate(14deg); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__copy {
  max-width: 38ch;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  margin-block: var(--space-md) var(--space-md);
  overflow-wrap: break-word;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--color-rose-deep);
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  max-width: 42ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-gold-deep);
}

.stars svg { width: 16px; height: 16px; }

.hero__trust small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero__halo {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(96% 0.03 18 / 0.9), transparent 68%);
  box-shadow: inset 0 0 80px oklch(85% 0.08 14 / 0.5);
}

.hero__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid oklch(75% 0.06 16 / 0.4);
}

.hero__ring--2 { inset: 16%; opacity: 0.6; }

.hero__bottle {
  position: relative;
  z-index: 2;
  width: clamp(180px, 22vw, 280px);
  filter: drop-shadow(0 30px 50px oklch(55% 0.12 16 / 0.35));
  animation: float 6s var(--ease-out-expo) infinite alternate;
}

.hero__photo {
  position: relative;
  z-index: 2;
  width: min(86%, 380px);
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s var(--ease-out-expo) infinite alternate;
}

@keyframes float {
  from { transform: translateY(-10px); }
  to { transform: translateY(10px); }
}

.hero__badge {
  position: absolute;
  z-index: 3;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
}

.hero__badge svg { width: 28px; height: 28px; color: var(--color-rose-deep); }
.hero__badge strong { display: block; font-size: var(--text-sm); }
.hero__badge span { font-size: var(--text-xs); color: var(--color-text-muted); }

.hero__badge--top { top: 8%; left: -4%; animation: float 7s ease-in-out infinite alternate; }
.hero__badge--bot { bottom: 10%; right: -2%; animation: float 8s ease-in-out infinite alternate-reverse; }

/* ---------------- MARQUEE ---------------- */
.marquee {
  background: var(--color-text);
  color: var(--color-on-dark);
  padding-block: var(--space-sm);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: scroll-x 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: var(--space-lg);
  white-space: nowrap;
  opacity: 0.85;
}

.marquee__track span::after {
  content: "✦";
  color: var(--color-gold);
  font-style: normal;
}

@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__bottle, .hero__photo, .hero__petal, .hero__badge { animation: none; }
}

/* ---------------- BENTO ---------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-md);
}

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tile__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.tile:hover .tile__bg { transform: scale(1.05); }

.tile__bg--bloom { background: var(--grad-bloom); }
.tile__bg--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tile__bg--contain {
  background-size: clamp(120px, 42%, 200px);
  background-position: right -6px center;
  background-color: oklch(97% 0.015 70);
}
.tile__scrim--strong {
  background: linear-gradient(180deg, oklch(30% 0.06 16 / 0.05) 35%, oklch(28% 0.06 16 / 0.55));
}
.tile--photo h3 { color: var(--color-on-dark); }
.tile--photo p { color: oklch(96% 0.01 30 / 0.92); }
/* keep wide photo-tile copy clear of the contained product shot on the right */
.tile--wide.tile--photo h3,
.tile--wide.tile--photo p { max-width: 60%; }
.tile__bg--petal { background: var(--grad-petal); }
.tile__bg--cream { background: linear-gradient(160deg, var(--color-surface-2), var(--color-blush)); }
.tile__bg--gold { background: var(--grad-gold); }
.tile__bg--deep { background: linear-gradient(150deg, oklch(82% 0.1 14), oklch(66% 0.14 12)); }

.tile__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, oklch(30% 0.06 16 / 0.45));
}

.tile h3 {
  font-size: var(--text-xl);
  color: var(--color-on-dark);
}

.tile p {
  color: oklch(95% 0.01 30 / 0.92);
  font-size: var(--text-sm);
  margin-top: 0.3rem;
  max-width: 32ch;
}

.tile--light h3 { color: var(--color-text); }
.tile--light p { color: var(--color-text-soft); }

.tile--feature { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }

.tile__stat {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--color-text);
}

.tile__stat + p { color: var(--color-text-soft); }

.tile__bottle {
  position: absolute;
  z-index: -1;
  width: 120px;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.92;
  filter: drop-shadow(0 18px 28px oklch(55% 0.1 16 / 0.3));
}

.tile__chip {
  align-self: flex-start;
  background: oklch(100% 0 0 / 0.85);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: auto;
  backdrop-filter: blur(6px);
}

/* ---------------- INGREDIENTS ---------------- */
.ingredients {
  background: var(--color-surface-2);
}

.ingredients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.ing-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid oklch(90% 0.02 20 / 0.6);
  transition: transform var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal);
}

.ing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-petal);
  box-shadow: var(--shadow-sm);
}

.ing-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-bloom);
  color: var(--color-rose-deep);
  margin-bottom: var(--space-sm);
}

.ing-card__icon svg { width: 26px; height: 26px; }

.ing-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

.ing-card p {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  margin-top: 0.35rem;
}

/* ---------------- RITUAL ---------------- */
.ritual__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-surface-2);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-petal);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.step h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
}

/* ---------------- REVIEWS ---------------- */
.reviews { background: var(--grad-bloom); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.review {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.review .stars { color: var(--color-gold-deep); }

.review blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-text);
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-petal);
  display: grid;
  place-items: center;
  color: var(--color-on-dark);
  font-weight: 600;
  font-size: var(--text-sm);
}

.review__author strong { display: block; font-size: var(--text-sm); }
.review__author span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---------------- NEWSLETTER ---------------- */
.newsletter {
  background: var(--color-text);
  color: var(--color-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "생";
  position: absolute;
  font-family: var(--font-display);
  font-size: 28rem;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  color: oklch(100% 0 0 / 0.04);
  pointer-events: none;
}

.newsletter h2 {
  color: var(--color-on-dark);
  font-size: var(--text-2xl);
  position: relative;
}

.newsletter p {
  color: oklch(90% 0.01 30 / 0.8);
  max-width: 46ch;
  margin: var(--space-sm) auto var(--space-lg);
  position: relative;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin-inline: auto;
  position: relative;
  flex-wrap: wrap;
}

.newsletter__form input {
  flex: 1;
  min-width: 200px;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid oklch(100% 0 0 / 0.2);
  background: oklch(100% 0 0 / 0.08);
  color: var(--color-on-dark);
  font: inherit;
}

.newsletter__form input::placeholder { color: oklch(90% 0 0 / 0.5); }
.newsletter__form input:focus-visible { outline-color: var(--color-gold); }

.newsletter small {
  display: block;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: oklch(90% 0.01 30 / 0.55);
  position: relative;
}

/* ---------------- FOOTER ---------------- */
.footer {
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-surface-2);
}

.footer__brand p {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
  max-width: 32ch;
  margin-top: var(--space-sm);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-surface-2);
  color: var(--color-text-soft);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.footer__social a:hover {
  background: var(--color-rose-deep);
  color: var(--color-on-dark);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer__col a {
  display: block;
  color: var(--color-text-soft);
  font-size: var(--text-sm);
  padding-block: 0.35rem;
  transition: color var(--duration-fast), padding-left var(--duration-fast);
}

.footer__col a:hover {
  color: var(--color-rose-deep);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__bottom .pay {
  display: flex;
  gap: 0.5rem;
  opacity: 0.7;
}
