/* Velura home page.
   Idea: the arched fitting-room mirror. The hero photo sits in an arch, like the mirrors in a boutique,
   and the VELURA wordmark stands at its foot. Everything else stays quiet. */
.home {
  --deep: #2B0F1A;
  --plum: #4A1C2E;
  --blush: #F2C6CF;
  --cream: #FAF3F0;
  --rose: #E7A9B6;
  background: var(--cream);
  color: var(--ink, #2B0F1A);
}
.home-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.home a:focus-visible, .home button:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }

/* ---------- top bar ---------- */
.home-bar { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; max-width: 1240px; margin: 0 auto; }
.home-mark { width: 40px; height: 40px; }
.home-bar-nav { display: flex; align-items: center; gap: 18px; }
.home-bar-nav > a { color: var(--blush); text-decoration: none; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.home-bar-nav > a:hover { color: #fff; }
.home-bar-nav .cart-link svg { width: 24px; height: 24px; }
.live-pill { gap: 6px; padding: 0 12px; min-height: 32px !important; border-radius: 999px; background: #C8102E; color: #fff !important; font-weight: 600; font-size: 13px !important; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livepulse 1.2s infinite; }

/* ---------- hero ---------- */
.home-hero {
  background: var(--deep);
  color: var(--cream);
  padding: 84px 20px 76px;
  display: grid; justify-items: center; text-align: center;
  overflow: hidden;
}
.home-hero-logo { position: relative; width: min(56vw, 250px); aspect-ratio: 1; display: grid; place-items: center; }

.home-hero-logo img { grid-area: 1 / 1; width: 100%; height: 100%; animation: logoIn 1s ease-out both; }
/* The outer ring turns slowly and endlessly; the V stays upright. */
.home-hero-logo .logo-ring { animation: logoIn 1s ease-out both, logoSpin 40s linear infinite; }
@keyframes logoSpin { to { transform: rotate(360deg); } }
@keyframes logoIn { from { opacity: 0; } to { opacity: 1; } }
.home-hero-text { display: grid; justify-items: center; }
.wordmark {
  font-family: var(--display, 'Playfair Display', serif); font-weight: 400;
  font-size: clamp(64px, 19vw, 168px); line-height: .9; letter-spacing: .14em; margin: 28px -0.14em 0 0;
  color: var(--cream); position: relative; z-index: 2;
  animation: wordIn 1.3s .25s cubic-bezier(.2, .7, .1, 1) both;
}
.home-tagline { font-family: var(--display, 'Playfair Display', serif); font-style: italic; font-size: clamp(20px, 5vw, 26px); color: var(--blush); margin-top: 18px; }
.home-intro { max-width: 34ch; color: rgba(250, 243, 240, .78); font-size: 16px; line-height: 1.6; margin-top: 12px; }
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.home-btn-main { background: var(--blush); color: var(--deep); }
.home-btn-main:hover { background: #fff; }
.home-btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(242, 198, 207, .6); }
.home-btn-ghost:hover { background: rgba(255, 255, 255, .08); }

@keyframes wordIn { from { opacity: 0; letter-spacing: .32em; } to { opacity: 1; letter-spacing: .14em; } }

@media (min-width: 900px) {
  /* Logo in the middle, VELURA right under it, on wide screens too. */
  .home-hero { padding: 112px 40px 96px; }
  .home-hero-logo { width: 300px; }
  .wordmark { font-size: clamp(96px, 11vw, 150px); }
}

/* ---------- collection strip ---------- */
.home-new { padding: 28px 0 48px; }
.home-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.home-head h2, .home-more-title { font-size: clamp(28px, 4vw, 38px); font-weight: 400; color: var(--plum); }
.home-head a { color: var(--plum); font-size: 15px; font-weight: 500; text-underline-offset: 4px; }
.home-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - 1080px) / 2)) 20px;
  scrollbar-width: thin; scroll-padding-inline: max(20px, calc((100vw - 1080px) / 2));
}
.strip-item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--plum); }
.strip-item img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 999px 999px 14px 14px; background: #EFE3DE; margin-bottom: 10px; }
.strip-item strong { font-family: var(--display, 'Playfair Display', serif); font-weight: 400; font-size: 18px; line-height: 1.25; }
.strip-item span { font-size: 14px; color: #7A5A66; }
.strip-item .strip-price { color: var(--plum); font-weight: 600; }
.strip-item:hover img { filter: brightness(1.04); }

/* ---------- shortcuts ---------- */
.home-shortcuts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px;
  max-width: 760px; margin: -36px auto 0; padding: 26px 16px 22px; position: relative; z-index: 3;
  background: var(--cream); border-radius: 28px 28px 0 0;
}
@media (min-width: 700px) { .home-shortcuts { grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 28px; box-shadow: 0 18px 40px -24px rgba(43, 15, 26, .45); } }
.home-shortcuts a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--plum); font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.sc-icon { width: 64px; height: 72px; border-radius: 999px 999px 18px 18px; background: var(--blush); color: var(--plum); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; position: relative; }
.sc-icon svg { width: 28px; height: 28px; }
.home-shortcuts a:hover .sc-icon { background: var(--plum); color: var(--cream); transform: translateY(-3px); }
.home-shortcuts a.is-live .sc-icon { background: #C8102E; color: #fff; }
.home-shortcuts a.is-live { color: #C8102E; font-weight: 600; }
.home-shortcuts a.has-profile .sc-icon::after { content: ''; position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #3F7A3A; border: 2px solid var(--blush); }



@media (prefers-reduced-motion: reduce) {
  .home-hero-logo img, .home-hero-logo .logo-ring, .wordmark, .live-pill i { animation: none; }
}

/* ---------- Tentang Velura slideshow ---------- */
.home-story { padding: 28px 0 56px; }
.story-nav { display: flex; gap: 8px; }
.story-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E3CCD2; background: #fff; color: var(--plum); display: grid; place-items: center; cursor: pointer; }
.story-arrow svg { width: 20px; height: 20px; }
.story-arrow:hover { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.story-viewport { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid #EEDDE1; touch-action: pan-y; }
.story-track { display: flex; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr; }
.slide-photo { padding: 20px 20px 0; }
.slide-photo img { width: 100%; aspect-ratio: 4 / 4.2; height: auto; object-fit: cover; border-radius: 999px 999px 18px 18px; background: #EFE3DE; display: block; }
.slide-text { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.slide-text h3 { font-size: clamp(26px, 6vw, 40px); font-weight: 400; color: var(--plum); line-height: 1.15; }
.slide-text p { font-size: 16px; line-height: 1.65; color: #6B4A57; max-width: 42ch; }
.slide-link { align-self: flex-start; margin-top: 6px; color: var(--plum); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.slide-link:hover { border-bottom-width: 3px; }
@media (min-width: 760px) {
  .slide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .slide-photo { padding: 28px 0 28px 28px; }
  .slide-photo img { aspect-ratio: 4 / 4.6; max-height: 460px; }
  .slide-text { padding: 32px 48px; }
}
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.story-dots button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.story-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: #DCC2C9; transition: width .3s ease, background .3s ease; }
.story-dots button[aria-current="true"]::before { width: 24px; background: var(--plum); }
@media (prefers-reduced-motion: reduce) { .story-track { transition: none; } }
