.yw-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 6vw, 92px);
  padding-block: clamp(26px, 5vw, 68px);
}

.yw-home-copy h1 {
  margin: 0;
  color: #263d34;
  font: 500 clamp(2.8rem, 5.3vw, 5rem)/1.08 var(--serif, Georgia, serif);
  letter-spacing: -.045em;
}

.yw-home-copy h1 em {
  color: #ad4f41;
  font-style: normal;
}

.yw-home-copy p {
  max-width: 36ch;
  color: #59645c;
  line-height: 1.75;
  margin: 22px 0 28px;
}

.yw-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yw-home-stage {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 52px);
  border: 1px solid #eadccd;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 16% 90%, #e5eddf, transparent 58%),
    radial-gradient(ellipse at 86% 12%, #f5ddcf, transparent 56%),
    #faf1e4;
}

.yw-home-feature {
  display: grid;
  gap: 12px;
  width: min(100%, 254px);
  padding: 9px 9px 12px;
  border: 1px solid #fff;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 22px 42px #4c3a3529;
  color: #36483d;
  text-decoration: none;
}

.yw-home-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 13px;
  background: #f6ede1;
}

.yw-home-feature > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-inline: 4px;
  font-size: .82rem;
  font-weight: 650;
}

#homeShowcase { scroll-margin-top: 88px; }
#homeShowcase .format-shelves { gap: 22px; }
#homeShowcase .format-shelf {
  padding: clamp(14px, 2.2vw, 24px) !important;
  border: 1px solid #e6dfd2;
  border-radius: 22px;
  background: #fffaf3;
}

#homeShowcase .format-shelf[data-format="h5"] { background: #f1f4ed; }
#homeShowcase .format-shelf[data-format="video"] { background: #f7efe8; }
#homeShowcase .format-shelf-kicker { display: none; }

#homeShowcase .format-shelf .showcase-card {
  display: flex;
  flex-direction: column;
  border-radius: 13px;
  height: 100%;
}

#homeShowcase .format-shelf .showcase-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  padding: 0 !important;
  background: #f2e9dd;
}

#homeShowcase .format-shelf .showcase-media:has(video) { background: #151923; }

#homeShowcase .format-shelf .showcase-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

#homeShowcase .format-shelf .showcase-more { margin-top: auto; }

main .occasion-section { padding-block: 22px 58px; }
main .occasion-card { border-radius: 18px; }
main .home-recipient-section { padding-block: 42px; }
main > .home-stage-note {
  width: min(720px, calc(100% - 32px));
  margin: 34px auto 18px;
  text-align: center;
}

@media (max-width: 760px) {
  .yw-home-hero { grid-template-columns: 1fr; }
  .yw-home-feature { width: min(68%, 230px); }
  #homeShowcase .format-shelf .format-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #homeShowcase .format-shelf-head { flex-wrap: wrap; gap: 7px; }
}

@media (max-width: 380px) {
  .yw-home-copy h1 { font-size: 2.35rem; }
  .yw-home-stage { padding: 19px; }
}
/* Give the hero and the galleries a shared, quieter palette. */
.yw-home-hero {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 0 clamp(36px, 7vw, 100px);
  margin-block: 28px 36px;
  padding: clamp(26px, 4vw, 48px);
  box-sizing: border-box;
  border-radius: 28px;
  background: linear-gradient(115deg, #f3e9dc, #fbf4e9 52%, #f4e6d4);
}

.yw-home-copy h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.5rem);
  line-height: 1.13;
}

.yw-home-copy p { font-size: clamp(1rem, 1.25vw, 1.12rem); }
.yw-home-actions .btn span { margin-inline-start: .35em; }

.yw-home-stage {
  padding: 0;
  border: 0;
  background: none;
}

.yw-home-feature {
  width: min(100%, 266px);
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 16px;
  background: #263d34;
  color: #fffaf1;
  box-shadow: 0 18px 34px #44332038;
}

.yw-home-feature img {
  border-radius: 16px 16px 0 0;
  background: #263d34;
}

.yw-home-feature > span { padding: 10px 14px; }

.yw-home-formats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid #5b4f3e26;
}

.yw-home-formats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: #31493e;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

.yw-home-formats a:hover,
.yw-home-formats a:focus-visible { background: #fff9ef; }

#homeShowcase .format-shelf {
  scroll-margin-top: 92px;
  padding: 25px 0 !important;
  border: 0;
  border-top: 1px solid #ded6c9;
  border-radius: 0;
  background: transparent;
}

#homeShowcase .format-shelf[data-format] { background: transparent; }
#homeShowcase .format-shelf-grid { gap: clamp(10px, 1.4vw, 20px) !important; }
#homeShowcase .format-shelf .showcase-card { border-color: #e3dbcf; }
#homeShowcase .format-shelf[data-format="h5"] .showcase-media:has(video) { background: #12221e; }
#homeShowcase .format-shelf[data-format="video"] .showcase-media:has(video) { background: #191a22; }
#homeShowcase .format-shelf[data-format="card"] .showcase-media {
  padding: 10px !important;
  box-sizing: border-box;
  background: #f3ebdf;
}

main .home-recipient-section { background: #eaf0e8; }

@media (max-width: 760px) {
  .yw-home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-block: 20px 30px;
    padding: clamp(16px, 5vw, 32px);
    border-radius: 20px;
  }

  .yw-home-feature { width: min(76%, 246px); }
  .yw-home-formats { margin-top: 0; gap: 4px; }
  .yw-home-formats a { padding: 6px 3px; font-size: .82rem; }
}
.yw-home-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, .95fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 510px;
  margin-block: 24px 42px;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid #eadfd0;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 78% 45%, #f2ddc4 0, #f4e8d9 35%, transparent 67%),
    linear-gradient(120deg, #f7efe5, #fbf7ef 58%, #f1e6d9);
}

.yw-home-copy { max-width: 590px; }
.yw-home-copy::before {
  content: "YUNIWISH  ·  MADE WITH LOVE";
  display: block;
  margin-bottom: 24px;
  color: #8c7259;
  font: 700 11px/1.4 var(--sans, sans-serif);
  letter-spacing: .18em;
}

.yw-home-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 5.3vw, 5.15rem);
  line-height: 1.13;
  letter-spacing: -.055em;
}

.yw-home-copy p {
  max-width: 39ch;
  margin-block: 23px 30px;
  color: #5e665e;
}

.yw-home-actions .btn { min-height: 48px; padding-inline: 21px; }

.yw-home-stage {
  position: relative;
  min-height: 405px;
  align-self: stretch;
  overflow: visible;
}

.yw-home-feature {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(65%, 286px);
  transform: translate(-50%, -50%) rotate(2deg);
  transition: transform .25s ease, box-shadow .25s ease;
}

.yw-home-feature:hover {
  transform: translate(-50%, -50%) rotate(0) scale(1.025);
  box-shadow: 0 25px 48px #44332048;
}

.yw-home-feature img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

@media (max-width: 760px) {
  .yw-home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    margin-block: 14px 30px;
    padding: 30px 24px 18px;
    border-radius: 22px;
    background:
      radial-gradient(ellipse at 80% 74%, #f2ddc4 0, #f4e8d9 35%, transparent 67%),
      linear-gradient(120deg, #f7efe5, #fbf7ef 58%, #f1e6d9);
  }

  .yw-home-copy::before { margin-bottom: 13px; font-size: 9px; }
  .yw-home-copy h1 { max-width: 12ch; font-size: clamp(2.65rem, 11vw, 3.5rem); }
  .yw-home-copy p { margin-block: 15px 20px; }
  .yw-home-stage { min-height: 355px; }
  .yw-home-feature { width: min(66%, 230px); }
}
