/* ================================================================
   SHHEK — Home Page Styles (styles.css)
   Page-unique styles only — shared tokens/reset in shared.css
   ================================================================ */

/* ---- Buttons (page-specific) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-body); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: var(--r-full);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--t-normal) var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.btn-primary:hover { background: var(--charcoal); border-color: var(--charcoal); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--white); transform: translateY(-1px); }

/* ---- Hero ---- */
.hero {
  padding: var(--sp-3xl) 0 var(--sp-4xl);
  background: var(--ivory);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: var(--sp-2xl);
  align-items: start;
}
.hero__main { display: flex; flex-direction: column; gap: var(--sp-xl); }
.hero__feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl); align-items: center; min-height: 520px;
}
.hero__feature-content { display: flex; flex-direction: column; gap: var(--sp-lg); }
.hero__feature-content .section-label { animation: fadeDown 0.8s var(--ease) both; }
.hero__feature-content h1 {
  font-family: var(--ff-head); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.04; color: var(--espresso);
  animation: fadeDown 0.8s 0.1s var(--ease) both;
}
.hero__feature-content p {
  font-size: var(--fs-md); color: var(--clr-muted);
  max-width: 36ch; line-height: 1.75;
  animation: fadeDown 0.8s 0.2s var(--ease) both;
}
.hero__feature-btns { display: flex; gap: var(--sp-md); flex-wrap: wrap; animation: fadeDown 0.8s 0.3s var(--ease) both; }
.hero__feature-img {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  height: 520px; animation: fadeIn 1s 0.15s var(--ease) both;
}
.hero__feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.hero__feature-img:hover img { transform: scale(1.04); }

/* Thumbnails */
.hero__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.hero__thumb {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; display: block;
  animation: fadeUp 0.7s var(--ease) both;
}
.hero__thumb:nth-child(2) { animation-delay: 0.1s; }
.hero__thumb:nth-child(3) { animation-delay: 0.2s; }
.hero__thumb:nth-child(4) { animation-delay: 0.3s; }
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.hero__thumb:hover img { transform: scale(1.06); }
.hero__thumb-label {
  position: absolute; bottom: 0.7rem; left: 0.7rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white); text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Accent */
.hero__accent {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  align-self: stretch; animation: fadeIn 1s 0.4s var(--ease) both;
}
.hero__accent img { width: 100%; height: 100%; object-fit: cover; }
.hero__accent-badge {
  position: absolute; top: var(--sp-md); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(246,242,238,0.96); color: var(--espresso);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.5rem 1rem; border-radius: var(--r-full);
  white-space: nowrap; box-shadow: var(--sh-sm);
}
.hero__accent-badge svg { width: 14px; height: 14px; stroke: var(--clay); fill: none; stroke-width: 2; }

/* ---- Marquee ---- */
.marquee-wrap {
  background: var(--espresso); overflow: hidden;
  padding: 0.85rem 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.marquee { display: flex; gap: 3rem; width: max-content; animation: marqueeScroll 30s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  white-space: nowrap; padding-right: 3rem; border-right: 1px solid rgba(255,255,255,0.12);
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Shop by Intent ---- */
.shop-intent { padding: var(--sp-4xl) 0; background: var(--white); }
.shop-intent .container { text-align: center; }
.shop-intent .section-title { margin-bottom: var(--sp-3xl); }
.intent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.intent-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; display: block;
  transition: transform var(--t-normal) var(--ease);
}
.intent-card:hover { transform: translateY(-4px); }
.intent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.intent-card:hover img { transform: scale(1.05); }
.intent-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,37,34,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; padding: var(--sp-xl);
  transition: background var(--t-normal) var(--ease);
}
.intent-card:hover .intent-card__overlay { background: linear-gradient(to top, rgba(42,37,34,0.88) 0%, rgba(42,37,34,0.1) 55%); }
.intent-card__title {
  font-family: var(--ff-head); font-size: var(--fs-xl); font-weight: 400;
  color: var(--white); line-height: 1.2; margin-bottom: var(--sp-xs);
}
.intent-card__link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sand);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}
.intent-card__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.intent-card:hover .intent-card__link { opacity: 1; transform: translateY(0); }

/* ---- Best Sellers ---- */
.best-sellers { padding: var(--sp-4xl) 0; background: var(--ivory); }
.best-sellers__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-3xl); gap: var(--sp-md); }
.best-sellers__view-all {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clr-muted);
  transition: color var(--t-fast) var(--ease);
}
.best-sellers__view-all:hover { color: var(--espresso); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }

/* ---- The Look ---- */
.the-look { padding: var(--sp-4xl) 0; background: var(--warm-beige); }
.the-look .section-title { text-align: center; margin-bottom: var(--sp-2xl); }
.look-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; gap: var(--sp-md);
}
.look-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; }
.look-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow) var(--ease); }
.look-item:hover img { transform: scale(1.04); }
.look-item__overlay {
  position: absolute; inset: 0; background: rgba(42,37,34,0);
  display: flex; align-items: flex-end; justify-content: center;
  padding: var(--sp-lg); transition: background var(--t-normal) var(--ease);
}
.look-item:hover .look-item__overlay { background: rgba(42,37,34,0.35); }
.look-item__btn {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white);
  background: rgba(42,37,34,0.85); border: none;
  padding: 0.7rem 1.5rem; border-radius: var(--r-full); cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}
.look-item:hover .look-item__btn { opacity: 1; transform: translateY(0); }
.look-item__btn:active { transform: scale(0.95); }
.look-item--1 { grid-row: 1 / 3; min-height: 560px; }
.look-item--4 { grid-row: 1 / 3; min-height: 560px; }
.look-item--2, .look-item--3, .look-item--5, .look-item--6 { aspect-ratio: 4/3; }

/* ---- Crafted ---- */
.crafted { padding: var(--sp-4xl) 0; background: var(--white); }
.crafted .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: center; }
.crafted__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.crafted__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.crafted__img:hover img { transform: scale(1.03); }
.crafted__content { display: flex; flex-direction: column; gap: var(--sp-lg); }
.crafted__content h2 { font-family: var(--ff-head); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.1; }
.crafted__content p { font-size: var(--fs-md); color: var(--clr-muted); line-height: 1.8; max-width: 46ch; }
.crafted__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); padding-top: var(--sp-lg); border-top: 1px solid var(--clr-border); }
.crafted__stat { display: flex; flex-direction: column; gap: 0.3rem; }
.crafted__stat-number { font-family: var(--ff-head); font-size: var(--fs-2xl); font-weight: 300; color: var(--espresso); line-height: 1; }
.crafted__stat-label { font-size: var(--fs-xs); color: var(--clr-muted); letter-spacing: 0.06em; }

/* ---- Newsletter / Elevate ---- */
.elevate { padding: 7rem 0; background: var(--espresso); text-align: center; }
.elevate .container { display: flex; flex-direction: column; align-items: center; gap: var(--sp-lg); }
.elevate .section-label { color: var(--sand); }
.elevate h2 { font-family: var(--ff-head); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; color: var(--white); line-height: 1.1; }
.elevate p { font-size: var(--fs-md); color: rgba(255,255,255,0.85); max-width: 48ch; line-height: 1.7; }
.elevate__form {
  display: flex; width: 100%; max-width: 480px;
  border-radius: var(--r-full); overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07); margin-top: var(--sp-xs);
}
.elevate__input {
  flex: 1; padding: 0.9rem 1.5rem; background: transparent;
  border: none; color: var(--white); font-family: var(--ff-body); font-size: var(--fs-base); outline: none;
}
.elevate__input:focus { border-color: rgba(255,255,255,0.6); }
.elevate__input::placeholder { color: rgba(255,255,255,0.6); }
.elevate__submit {
  padding: 0.9rem 1.8rem; background: var(--clay); color: var(--espresso);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.elevate__submit:hover { background: #E5B6AB; }
.elevate__terms { font-size: var(--fs-xs); color: rgba(255,255,255,0.65); }

/* ---- Styled By You ---- */
.styled-by-you { padding: var(--sp-4xl) 0; background: var(--ivory); }
.styled-by-you .section-title { text-align: center; letter-spacing: 0.15em; margin-bottom: var(--sp-2xl); }
.ugc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-md); }
.ugc-item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; transition: transform var(--t-normal) var(--ease); }
.ugc-item:hover { transform: translateY(-3px); }
.ugc-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ugc-item:hover img { transform: scale(1.05); }
.ugc-item__overlay {
  position: absolute; inset: 0; background: rgba(42,37,34,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-normal) var(--ease);
}
.ugc-item:hover .ugc-item__overlay { background: rgba(42,37,34,0.35); }
.ugc-item__icon {
  width: 40px; height: 40px; background: rgba(246,242,238,0.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8);
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}
.ugc-item__icon svg { width: 18px; height: 18px; stroke: var(--espresso); fill: none; stroke-width: 1.5; }
.ugc-item:hover .ugc-item__icon { opacity: 1; transform: scale(1); }
.ugc-item__tag {
  position: absolute; bottom: 0.6rem; left: 0.7rem;
  font-size: var(--fs-xs); font-weight: 600; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ---- Animations ---- */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__accent { display: none; }
  .hero__feature { grid-template-columns: 1fr 1fr; min-height: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .look-grid { grid-template-columns: repeat(2, 1fr); }
  .look-item--1, .look-item--4 { grid-row: auto; min-height: 300px; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .ugc-item:nth-child(n+4) { display: none; }
  .intent-grid { grid-template-columns: 1fr 1fr; }
  .intent-card:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .hero { padding: var(--sp-xl) 0 var(--sp-2xl); }
  .hero__feature { grid-template-columns: 1fr; }
  .hero__feature-img { height: 420px; order: -1; }
  .hero__thumbs { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
  .crafted .container { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .crafted__stats { grid-template-columns: repeat(3, 1fr); }
  .look-grid { grid-template-columns: 1fr; }
  .look-item--1, .look-item--2, .look-item--3, .look-item--4, .look-item--5, .look-item--6 { grid-row: auto; min-height: 260px; aspect-ratio: 4/3; }
  .intent-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .intent-card:nth-child(3) { display: block; }
  .elevate__form { flex-direction: column; border-radius: var(--r-md); }
  .elevate__submit { padding: 1rem; border-radius: 0 0 var(--r-md) var(--r-md); }
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .ugc-item { display: block !important; }
  .ugc-item:nth-child(5) { display: none !important; }
}
