/* =====================================================================
   AESTH — home.css (homepage only)
   Hero, promises, collections, sale, shelves, promo, gift tag,
   maker story, reviews.
   ===================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--space-6) var(--space-7);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  line-height: 1;
  color: var(--rose-600);
  margin-bottom: -.1em;
  margin-left: -.05em;
}
.hero__title {
  font-size: var(--fs-2xl);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
}
.hero__text {
  margin-top: var(--space-5);
  max-width: 42ch;
  font-size: var(--fs-md);
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero .chip-row { margin-top: var(--space-6); }

/* Art: the logo's own watercolour with photos sitting in it */
.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 560px);
  margin-inline: auto;
}
.hero__wash {
  position: absolute;
  z-index: 0;
  width: 150%;
  max-width: none;
  left: -25%;
  top: -2%;
  pointer-events: none;
  user-select: none;
}
.hero__arch {
  position: absolute;
  z-index: 1;
  left: 22%;
  top: 4%;
  width: 60%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  border: 8px solid var(--white);
  background: var(--blush-100);
  box-shadow: var(--shadow-soft);
}
.hero__arch img,
.hero__round img { width: 100%; height: 100%; object-fit: cover; }
.hero__round {
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: 6%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  background: var(--blush-100);
  box-shadow: var(--shadow-soft);
}
.hero__sticker {
  position: absolute;
  z-index: 3;
  right: 4%;
  top: 12%;
  display: grid;
  place-content: center;
  justify-items: center;
  width: clamp(96px, 22%, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose-700);
  color: #fff;
  line-height: 1;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), var(--shadow-soft);
  transition: transform .3s var(--ease);
}
.hero__sticker:hover { transform: rotate(-4deg) scale(1.04); }
.hero__sticker span { font-size: 12px; font-weight: 700; }
.hero__sticker strong {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 500;
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem);
  margin-block: .1rem;
}

/* One orchestrated entrance, on page load only */
@media (prefers-reduced-motion: no-preference) {
  .hero__arch    { animation: rise .9s var(--ease) both; }
  .hero__round   { animation: pop .7s .35s var(--ease) both; }
  .hero__sticker { animation: stamp .6s .6s var(--ease) both; }
  .hero__wash    { animation: fade 1.2s ease both; }
}
@keyframes rise  { from { opacity: 0; transform: translateY(28px); } }
@keyframes pop   { from { opacity: 0; transform: scale(.7); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(1.4); } }
@keyframes fade  { from { opacity: 0; } }

/* ---------- Phones & small tablets: headline → photos → text → buttons → chips ---------- */
@media (max-width: 899px) {
  .hero { padding-block: var(--space-5) var(--space-6); }
  .hero__grid { gap: 0; justify-items: center; text-align: center; }
  .hero__copy { display: contents; }            /* lets the photos sit between headline and text */

  .hero__script { order: 1; font-size: clamp(2.6rem, 2rem + 3vw, 3.2rem); margin: 0 0 -.15em; }
  .hero__title  { order: 2; max-width: 13ch; margin-inline: auto; font-size: clamp(2.35rem, 1.7rem + 3.4vw, 3.2rem); }
  .hero__art    { order: 3; width: min(92%, 400px); margin-top: var(--space-4); }
  .hero__text   { order: 4; max-width: 34ch; margin: var(--space-3) auto 0; font-size: var(--fs-base); }
  .hero__actions { order: 5; width: 100%; max-width: 440px; justify-content: center; margin-top: var(--space-5); }
  .hero .chip-row { order: 6; justify-content: center; margin-top: var(--space-4); }
}
@media (max-width: 520px) {
  .hero__actions { flex-wrap: nowrap; gap: var(--space-2); }
  .hero__actions .btn { flex: 1 1 0; min-height: 50px; padding-inline: .7rem; font-size: var(--fs-sm); }
  .hero .chip-row { gap: .45rem; }
  .hero .chip-row .chip { min-height: 36px; padding: .3rem .9rem; font-size: var(--fs-sm); }
}

@media (min-width: 900px) {
  .hero { padding-block: var(--space-7) var(--space-8); }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-7); }
}

/* ---------- Promises ---------- */
.promises {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.promises__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  padding-block: var(--space-6);
}
.promises__list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.promises__list .icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: var(--blush-200);
  color: var(--rose-700);
}
.promises__list strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.promises__list span { display: block; margin-top: .15rem; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.45; }
@media (min-width: 1024px) {
  .promises__list { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}

/* ---------- Collections ---------- */
.collections__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 140px;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--space-1) var(--gutter) var(--space-3);
  scrollbar-width: none;
}
.collections__list::-webkit-scrollbar { display: none; }
.collections__list > li { scroll-snap-align: start; }
@media (min-width: 1080px) {
  .collections__list { grid-auto-columns: minmax(0, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

.ctile { display: grid; justify-items: center; text-align: center; gap: .25rem; }
.ctile__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  background: var(--blush-100);
  outline: 2px solid transparent;
  outline-offset: 4px;
  transition: outline-color .25s;
  margin-bottom: var(--space-2);
}
.ctile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ctile:hover .ctile__media { outline-color: var(--blush-400); }
.ctile:hover .ctile__media img { transform: scale(1.05); }
.ctile__name { font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.2; }
.ctile__count { font-size: var(--fs-xs); color: var(--ink-soft); }

/* ---------- Sale ---------- */
.sale { background: var(--blush-100); }
.sale .pcard__media { background: var(--white); }

.countdown { display: flex; align-items: center; gap: var(--space-2); }
.countdown__label { font-weight: 700; font-size: var(--fs-sm); margin-right: var(--space-1); }
.countdown__unit {
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: .45rem .4rem .35rem;
  border-radius: var(--r-sm);
  background: var(--white);
  line-height: 1;
}
.countdown__unit b {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 500;
  font-size: var(--fs-lg);
  font-variant-numeric: tabular-nums;
}
.countdown__unit small { margin-top: .25rem; font-size: 11px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Category shelves ---------- */
.shelf + .shelf { padding-top: 0; }
.chip-row--sub {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: calc(var(--space-2) * -1) calc(var(--gutter) * -1) var(--space-6);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.chip-row--sub::-webkit-scrollbar { display: none; }
.chip-row--sub .chip { white-space: nowrap; }
@media (min-width: 1080px) {
  .chip-row--sub { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------- Promo banner ---------- */
.promo__card {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--blush-200);
}
.promo__wash {
  position: absolute;
  right: -20%;
  top: -30%;
  width: 90%;
  max-width: none;
  opacity: .9;
  pointer-events: none;
}
.promo__copy {
  position: relative;
  z-index: 1;
  padding: var(--space-7) var(--space-5) var(--space-5);
}
.promo__script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem);
  line-height: 1;
  color: var(--rose-600);
}
.promo__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 1;
  letter-spacing: -0.03em;
}
.promo__text { margin-top: var(--space-4); max-width: 40ch; color: var(--ink-soft); }
.promo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-6); }

.coupon {
  display: inline-flex;
  align-items: stretch;
  min-height: 54px;
  border-radius: var(--r-pill);
  border: 1.5px dashed var(--rose-600);
  background: var(--white);
  overflow: hidden;
}
.coupon__code {
  display: grid;
  place-items: center;
  padding-inline: 1.2rem;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: var(--fs-md);
}
.coupon__action {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-inline: 1rem;
  border-left: 1.5px dashed var(--blush-300);
  color: var(--rose-700);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: background-color .2s;
}
.coupon__action .icon { width: 17px; height: 17px; }
.coupon:hover .coupon__action { background: var(--blush-100); }
.coupon.is-copied .coupon__action { color: var(--sage-700); }

.promo__media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0 var(--space-5) var(--space-6);
}
.promo__media img {
  width: min(360px, 80%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-arch);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-soft);
}
.promo__moon { position: relative; width: min(300px, 70%); aspect-ratio: 1; color: var(--white); }
.promo__moon > .icon:first-child {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 30px rgba(160, 79, 94, .3));
}
.promo__star { position: absolute; color: var(--white); }
.promo__star--1 { width: 34px; height: 34px; right: 6%;  top: 8%; }
.promo__star--2 { width: 20px; height: 20px; right: 24%; top: 30%; color: var(--sage-300); }
.promo__star--3 { width: 26px; height: 26px; left: 2%;   bottom: 10%; }

@media (min-width: 900px) {
  .promo__card { grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 420px; }
  .promo__copy { padding: var(--space-8) var(--space-7); }
  .promo__media { padding: var(--space-6); }
}

/* ---------- Gift tag ---------- */
.gift__tag {
  --notch: 34px;
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding: calc(var(--notch) + var(--space-6)) var(--space-5) var(--space-6);
  background: var(--paper);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  clip-path: polygon(0 var(--notch), var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
  background-image: radial-gradient(circle at 1px 1px, var(--blush-300) 1px, transparent 0);
  background-size: 18px 18px;
  text-align: center;
  justify-items: center;
}
.gift__hole {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 4px var(--sage-300);
}
.gift__copy { max-width: 46ch; }
.gift__title { font-size: var(--fs-xl); }
.gift__copy p { margin-top: var(--space-3); color: var(--ink-soft); font-size: var(--fs-md); }
.gift__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

@media (min-width: 900px) {
  .gift__tag {
    --notch: 56px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: var(--space-7) var(--space-7) var(--space-7) calc(var(--notch) + var(--space-7));
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
    text-align: left;
    justify-items: start;
  }
  .gift__hole { top: 50%; left: calc(var(--notch) - 6px); margin: -11px 0 0; }
}

/* ---------- Maker ---------- */
.maker { background: var(--paper); }
.maker__grid { display: grid; gap: var(--space-7); align-items: center; }
.maker__photo {
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  background: var(--blush-100);
}
.maker__photo img { width: 100%; height: 100%; object-fit: cover; }
.maker__copy { max-width: 48ch; }
.maker__copy > p:not(.maker__sign) { margin-top: var(--space-4); font-size: var(--fs-md); color: var(--ink-soft); }
.maker__sign {
  margin: var(--space-3) 0 var(--space-5);
  font-family: var(--font-script);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--rose-600);
}
@media (min-width: 900px) {
  .maker__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* ---------- Reviews ---------- */
.reviews__list { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .reviews__list { grid-template-columns: repeat(3, 1fr); } }
.review { padding: var(--space-5); border-radius: var(--r-md); background: var(--blush-100); }
.review__stars { color: var(--rose-600); letter-spacing: .1em; }
.review__stars span { color: var(--blush-300); }
.review blockquote { margin-top: var(--space-3); font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.5; }
.review__by { margin-top: var(--space-4); font-size: var(--fs-sm); font-weight: 700; }
