/* Homepage hero — full-bleed stage + lane strip */
.hero {
  display: grid;
  gap: 0.65rem;
  margin: 0 0.65rem 0.25rem;
  color: var(--paper);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(28rem, 78vh, 44rem);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-lift);
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
  animation: heroZoom 12s var(--ease) both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 16, 14, 0.78) 0%, rgba(18, 16, 14, 0.48) 34%, rgba(18, 16, 14, 0.12) 58%, transparent 78%),
    linear-gradient(0deg, rgba(18, 16, 14, 0.45) 0%, transparent 36%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 0 0 clamp(1.6rem, 4vh, 2.6rem);
  max-width: 34rem;
  animation: heroIn 0.85s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 0.55rem;
  color: var(--paper);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.45rem;
  color: var(--paper);
  max-width: 16ch;
}

.hero-line {
  margin: 0 0 1.15rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  max-width: 28ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-ctas .btn {
  box-shadow: var(--shadow-soft);
}

.hero .btn-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

.hero-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-lane {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  min-height: 6.5rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.hero-lane:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.hero-lane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease);
}

.hero-lane:hover img {
  transform: scale(1.05);
}

.hero-lane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 14, 0.55), transparent 65%);
  pointer-events: none;
}

.hero-lane span {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@media (max-width: 720px) {
  .hero-stage {
    min-height: clamp(24rem, 70vh, 34rem);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .hero-lanes {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hero-lane {
    aspect-ratio: 3 / 1;
    min-height: 4.75rem;
  }
  .hero-copy h1 {
    max-width: none;
  }
}

/* Sale band */
.sale-band {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 1.25rem 0.75rem;
  box-shadow: var(--shadow-lift);
}

.sale-copy {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sale-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mute);
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--sale);
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.sale-copy h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.75rem;
}

.sale-copy p {
  color: var(--mute);
  margin-bottom: 1rem;
  max-width: 26rem;
  font-size: var(--text-base);
}

.sale-copy .countdown {
  margin-bottom: 1.15rem;
}

.sale-media {
  position: relative;
  min-height: 12rem;
  max-height: 18rem;
}

.sale-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: filter 0.7s var(--ease);
}

.sale-band:hover .sale-media img {
  filter: none;
}

@media (max-width: 900px) {
  .sale-band {
    grid-template-columns: 1fr;
  }
}

/* Trending split */
.trending-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trending-feature {
  position: relative;
  overflow: hidden;
  background: var(--line-soft);
  min-height: 18rem;
  max-height: 24rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.trending-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.trending-feature:hover img {
  transform: scale(1.05);
}

.trending-card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.trending-card .eyebrow {
  margin-bottom: 0.5rem;
}

.trending-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .trending-split {
    grid-template-columns: 1fr;
  }
}

/* Promo banner */
.promo-banner {
  position: relative;
  min-height: 12rem;
  height: clamp(12rem, 28vh, 16rem);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 1.25rem 0.75rem;
  box-shadow: var(--shadow-lift);
}

.promo-banner img,
.promo-banner .shade {
  pointer-events: none;
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner .shade {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 22, 0.42);
}

.promo-banner .copy {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.25rem;
  max-width: 36rem;
}

.promo-banner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.promo-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.1rem;
  font-size: var(--text-base);
  max-width: 28rem;
  margin-inline: auto;
}

.promo-banner .copy {
  pointer-events: auto;
}

/* Editorial */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blush);
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.editorial-copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-copy h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.editorial-copy p {
  color: var(--stone);
  margin-bottom: 1.15rem;
  max-width: 28rem;
  font-size: var(--text-base);
}

.editorial-media {
  min-height: 14rem;
  max-height: 20rem;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .editorial {
    grid-template-columns: 1fr;
  }
}

/* Product detail */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
}

.pdp-gallery {
  display: grid;
  gap: 0.75rem;
}

.pdp-main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pdp-thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--line-soft);
  border-radius: var(--radius);
}

.pdp-thumbs button.is-active,
.pdp-thumbs button:hover {
  border-color: var(--ink);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info .price {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 1rem 0 1.5rem;
}

.pdp-info .price .compare {
  color: var(--mute);
  text-decoration: line-through;
  margin-right: 0.65rem;
  font-weight: 400;
  font-size: var(--text-base);
}

.pdp-block {
  margin-bottom: 1.75rem;
}

.pdp-block h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pdp-actions {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.pdp-desc {
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Cart / checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

.summary-card {
  background: var(--ivory);
  padding: 1.75rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.summary-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: var(--text-sm);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: var(--text-base);
}

.cart-table .cart-line {
  grid-template-columns: 5.5rem 1fr auto auto;
  align-items: center;
}

@media (max-width: 900px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
}

/* Lookbook */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  padding: 3rem 0 5rem;
}

.look-item {
  position: relative;
  overflow: hidden;
  background: var(--line-soft);
  min-height: 18rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.look-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.look-item:hover img {
  transform: scale(1.04);
}

.look-item .caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.look-item.span-7 { grid-column: span 7; min-height: 28rem; }
.look-item.span-5 { grid-column: span 5; min-height: 28rem; }
.look-item.span-4 { grid-column: span 4; }
.look-item.span-8 { grid-column: span 8; }
.look-item.span-6 { grid-column: span 6; }

@media (max-width: 768px) {
  .look-item.span-7,
  .look-item.span-5,
  .look-item.span-4,
  .look-item.span-8,
  .look-item.span-6 {
    grid-column: span 12;
    min-height: 18rem;
  }
}

/* Account */
.account-layout {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

.account-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--stone);
}

.account-nav a.is-active,
.account-nav a:hover {
  color: var(--ink);
}

.auth-card {
  width: min(100%, 28rem);
  margin: 3rem auto 5rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.auth-card h1 {
  font-size: var(--text-3xl);
  margin-bottom: 0.5rem;
}

.auth-card .sub {
  color: var(--stone);
  margin-bottom: 1.75rem;
}

.auth-card .alt {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: var(--stone);
  text-align: center;
}

.auth-card .alt a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}

/* Content pages */
.prose {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.prose h2 {
  font-size: var(--text-3xl);
  margin: 2rem 0 1rem;
}

.prose h3 {
  font-size: var(--text-2xl);
  margin: 1.5rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card .meta {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.blog-card h3 {
  font-size: var(--text-2xl);
}

.blog-card p {
  color: var(--stone);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.article-hero {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  text-align: center;
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  margin: 2rem 0;
}

/* Stores */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 0 5rem;
}

.store-card {
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.store-card img {
  border-radius: var(--radius);
}

.store-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.75rem;
}

.store-card p {
  color: var(--stone);
  font-size: var(--text-sm);
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }
}

/* Careers */
.job-list {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.job-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.job-item h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.35rem;
}

.job-item p {
  color: var(--stone);
  font-size: var(--text-sm);
}

/* Order track */
.track-result {
  border: 1px solid var(--line);
  padding: 1.75rem;
  margin-top: 1.5rem;
  display: none;
  border-radius: var(--radius-lg);
}

.track-result.is-visible {
  display: block;
}

.track-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.track-step {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.track-step .dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--line);
  margin-top: 0.35rem;
}

.track-step.done .dot {
  background: var(--success);
}

.track-step.active .dot {
  background: var(--champagne);
}
