/* VAEL — home (drop page). Light, simple, shop-first: announcement bar, big logo, live counter,
   product cards, product detail, lookbook. Colours come from store.css. */

body.home { background: #fff; }
.home main { position: relative; }

/* announcement bar */
.announce { position: relative; z-index: 51; background: var(--silver); color: #fff; overflow: hidden; white-space: nowrap; font-size: 10px; height: 34px; display: flex; align-items: center; }
.announce-track { display: inline-flex; animation: ticker 38s linear infinite; }
.announce-track span { padding-right: 0.6em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* header: nav · logo · shop */
.head { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 14px var(--pad); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.head.scrolled { border-bottom-color: var(--line); }
.head-nav { display: flex; gap: 22px; }
.head-nav a { text-decoration: none; color: var(--mute); }
.head-nav a:hover { color: var(--silver); }
.head-logo { font-family: var(--sans); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.head-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.pill { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--silver); color: #fff; text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.pill:hover { background: #333; }
@media (max-width: 960px) {
  .head { grid-template-columns: auto 1fr auto; }
  .head-nav { display: none; }
  .head-logo { grid-column: 1; }
  .head-right { grid-column: 3; }
}

/* live counter hero */
.home .live { position: relative; min-height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); }
.live-copy { display: grid; align-content: center; justify-items: start; padding: clamp(40px, 7vh, 90px) var(--pad); }
.home .live-tag { color: var(--silver); }
.home .dot { background: #16a34a; animation: pulse-g 1.8s ease-out infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); } }
.home .count { margin: 3vh 0 1vh; }
.home .count-num { font-weight: 800; font-size: clamp(130px, 17vw, 300px); letter-spacing: -0.07em; line-height: 0.8; }
.home .count-label { font-size: 12px; }
.home .size-bars { width: min(440px, 100%); margin: 4vh 0 4vh; }
.home .size-bars u { background: var(--silver); }
.home .live-row { justify-items: start; }
.home .feed { margin-top: 4vh; }
.live-photo { position: relative; margin: 0; background: #e9e9e6; overflow: hidden; min-height: 78vh; }
.live-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.live-photo figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--mute); }
.home .live.closed .dot { background: var(--faint); animation: none; }
.home .live.sold .dot { background: var(--warn); animation: none; }

/* section heads */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 0 var(--pad); margin-bottom: 22px; }
.sec-title { font-family: var(--sans); font-weight: 800; font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.05em; line-height: 0.9; }
.sec-meta { color: var(--mute); text-decoration: none; }

/* product cards */
.drop { padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 6vh, 80px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 var(--pad); }
.card { display: grid; gap: 10px; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 1; background: #e0e0e0; overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 1.2s var(--ease); }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img { transform: scale(1.03); }
.card:hover .card-img img.alt { opacity: 1; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; font-style: normal; background: #fff; padding: 5px 8px; font-size: 9px; color: var(--mute); }
.card-row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.card-row b { font-weight: 600; }
.card-sub { color: var(--mute); }
.card.sold .card-sub { color: var(--warn); }

/* product detail */
.home .shop { background: #fff; padding: clamp(60px, 10vh, 120px) var(--pad); border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.gallery { position: sticky; top: 90px; align-self: start; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.g-main { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 1; background: #e0e0e0; overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-main.is-render::after { content: '3D render · photos coming soon'; position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; background: #fff; padding: 5px 8px; color: var(--mute); }
.g-thumbs { grid-column: 1; grid-row: 1; list-style: none; display: grid; align-content: start; gap: 8px; }
.g-thumb { width: 76px; height: 76px; background: #e0e0e0; border: 1px solid transparent; overflow: hidden; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.is-on { border-color: var(--silver); }
.home .buy-title { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 5vw, 84px); letter-spacing: -0.05em; line-height: 0.9; }
.home .price { font-family: var(--sans); font-weight: 600; font-size: 28px; margin: 14px 0 18px; }
.home .sizes label span b { font-family: var(--sans); font-weight: 600; font-size: 20px; }
.home .colors label span { border-radius: 0; }
.fit-note { color: var(--mute); margin: 12px 0 0; font-size: 10px; }
.home .btn { border-radius: 0; }
.home .facts { margin-top: 34px; border-top: 1px solid var(--line); }
.home .facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.home .facts dt { color: var(--mute); }
.home .facts dd { font-size: 15px; }

/* lookbook */
.look { padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--line); }
.look-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 34vw; gap: 10px; padding: 0 var(--pad); }
.look-grid figure { margin: 0; overflow: hidden; background: #e0e0e0; }
.look-grid figure.w2 { grid-column: span 2; }
.look-grid figure.w4 { grid-column: 1 / -1; }
.look-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.look-grid figure:hover img { transform: scale(1.03); }

/* story teaser */
.teaser { display: grid; justify-items: center; text-align: center; padding: clamp(80px, 14vh, 160px) var(--pad); border-top: 1px solid var(--line); background: var(--coal); }
.teaser-title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8vw, 140px); line-height: 0.9; letter-spacing: -0.02em; margin: 12px 0 18px; }
.teaser-title em { font-style: italic; }
.teaser-line { color: var(--mute); }
.teaser-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* footer */
.home .site-foot { padding-top: 30px; }
.foot-word { font-family: var(--sans); font-weight: 900; font-size: 30vw; letter-spacing: -0.07em; line-height: 0.75; text-align: center; margin-bottom: 30px; }
.foot-ask { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .home .live { grid-template-columns: 1fr; }
  .live-photo { min-height: 64vh; order: -1; }
  .live-copy { justify-items: center; text-align: center; }
  .home .live-row { justify-items: center; }
  .cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card-row { flex-direction: column; gap: 2px; font-size: 14px; }
  .home .shop { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .g-main { grid-column: 1; }
  .g-thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; justify-content: start; }
  .g-thumb { width: 64px; height: 64px; }
  .look-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 62vw; }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track, .home .dot { animation: none; }
}
