/* Sprintix homepage v2 — everything below the film intro */

.hp-main {
  position: relative;
  z-index: 1;
  background: #0A0908;
  color: #EFEAE0;
}

/* USP marquee strip — between hero & product rail */
.hp-usp-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #EFEAE0;
  border-top: 1px solid rgba(42, 39, 35, 0.08);
  border-bottom: 1px solid rgba(42, 39, 35, 0.08);
  padding: 13px 0;
}
.hp-usp-track {
  display: flex;
  width: max-content;
  animation: hpUspMarquee 45s linear infinite;
}
.hp-usp-track span {
  padding: 0 28px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2A2723;
}
.hp-usp-track span em {
  font-style: normal;
  color: #7C9473;
  margin-left: 28px;
}
@keyframes hpUspMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Theme editor — scroll target highlight */
.theme-section-highlight {
  outline: 2px solid rgba(124, 148, 115, 0.85);
  outline-offset: 4px;
  transition: outline-color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hp-usp-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
  }
  .hp-usp-track span em {
    display: none;
  }
}

/* LNDR-style product rail — after film hero */
.hp-rail,
.hp-rail-light {
  position: relative;
  z-index: 2;
  background: #F3F0EA;
  border-top: 1px solid rgba(42, 39, 35, 0.06);
  border-bottom: 1px solid rgba(42, 39, 35, 0.06);
  padding: 28px 0 36px;
}
.hp-rail-wrap {
  position: relative;
  max-width: 100%;
  padding: 0 52px;
}
.hp-rail-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
  scroll-snap-type: x proximity;
}
.hp-rail-track::-webkit-scrollbar {
  display: none;
}
.hp-rail-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(42, 39, 35, 0.1);
  background: #fff;
  color: #2A2723;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(42, 39, 35, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.hp-rail-nav:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(42, 39, 35, 0.16);
}
.hp-rail-prev { left: 12px; }
.hp-rail-next { right: 12px; }

.hp-rail-card {
  flex: 0 0 clamp(220px, 28vw, 280px);
  scroll-snap-align: start;
  opacity: 1;
}

.hp-product-grid .product-card,
.hp-story-visual {
  opacity: 1;
  transform: none;
}
.hp-rail-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
}
.hp-rail-card-img {
  aspect-ratio: 3 / 4;
  background: #C9C2B2;
  overflow: hidden;
  margin-bottom: 12px;
}
.hp-rail-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.hp-rail-card-link:hover .hp-rail-card-img img {
  transform: scale(1.02);
}
.hp-rail-colours {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A8577;
  margin-bottom: 10px;
}
.hp-rail-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C9473;
  border: 1px solid rgba(124, 148, 115, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.hp-rail-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #2A2723;
  margin-bottom: 6px;
  padding: 0 4px;
}
.hp-rail-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #8A8577;
  margin-bottom: 8px;
  padding: 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-rail-card .price-block {
  justify-content: center;
  margin-top: 4px;
}
.hp-rail-card .price-main {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2A2723;
}
.hp-rail-card .price-anchor,
.hp-rail-card .price-note {
  display: none;
}

.studio-grey-bg,
.card-thumb-studio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.card-thumb-studio {
  background: #C9C2B2 !important;
}

@media (max-width: 900px) {
  .hp-rail-wrap {
    padding: 0 8px;
  }
  .hp-rail-nav {
    display: none;
  }
  .hp-rail-track {
    gap: 12px;
    padding: 8px 16px 12px;
  }
  .hp-rail-card {
    flex: 0 0 72vw;
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  .hp-rail {
    padding: 20px 0 28px;
  }
}

/* Nav switches to light after leaving the hero */
body.hp-scrolled:has(.hero-film) .hero-head {
  background: rgba(239, 234, 224, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 39, 35, 0.08);
}
body.hp-scrolled:has(.hero-film) .hero-head .logo,
body.hp-scrolled:has(.hero-film) .hero-head a,
body.hp-scrolled:has(.hero-film) .hero-head button {
  color: #2A2723;
}
body.hp-scrolled:has(.hero-film) .hero-head .logo-tag {
  color: #7C9473;
}
body.hp-scrolled .hero-film-cat-nav {
  opacity: 0;
  pointer-events: none;
}

.hp-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B8A088;
  margin-bottom: 14px;
}

.hp-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8A088;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 160, 136, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.hp-link:hover {
  color: #EFEAE0;
  border-color: #EFEAE0;
}

.hp-btn {
  display: inline-block;
  padding: 15px 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.hp-btn-dark {
  background: #EFEAE0;
  color: #0A0908;
}
.hp-btn-dark:hover {
  background: #7C9473;
  color: #EFEAE0;
}
.hp-btn-light {
  background: transparent;
  color: #EFEAE0;
  border: 1px solid rgba(239, 234, 224, 0.35);
}
.hp-btn-light:hover {
  background: #EFEAE0;
  color: #0A0908;
}

/* Bridge — dark to content */
.hp-bridge {
  padding: 72px 8vw 64px;
  background: linear-gradient(180deg, #0A0908 0%, #121110 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hp-bridge-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hp-bridge-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7C9473;
  margin-bottom: 20px;
}
.hp-bridge-text {
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.35;
  color: #EFEAE0;
  margin-bottom: 32px;
}
.hp-bridge-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8577;
}
.hp-bridge-meta strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: #EFEAE0;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
}

/* Shop by category — LNDR-style black carousel */
.hp-cat-shop {
  padding: 56px 0 64px;
  background: #0A0908;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hp-cat-shop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 8vw;
  margin-bottom: 28px;
}
.hp-cat-shop-title {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.hp-cat-shop-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.hp-cat-shop-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hp-cat-shop-arrow:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
}
.hp-cat-shop-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 8vw 4px;
  scroll-snap-type: x proximity;
}
.hp-cat-shop-track::-webkit-scrollbar {
  display: none;
}
.hp-cat-shop-card {
  flex: 0 0 clamp(200px, 22vw, 280px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-cat-shop-img {
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: #1E1C1A;
}
.hp-cat-shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}
.hp-cat-shop-card:hover .hp-cat-shop-img img {
  transform: scale(1.03);
}
.hp-cat-shop-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* Section header (shared) */
.hp-section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.hp-section-top h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.1;
}

/* Product grid */
.hp-products {
  padding: 100px 8vw 120px;
  background: #E4DDCE;
  color: #2A2723;
}
.hp-products .hp-kicker {
  color: #7C9473;
}
.hp-products .hp-link {
  color: #2A2723;
  border-color: rgba(42, 39, 35, 0.25);
}
.hp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
}
.hp-product-grid .product-card.style-grid {
  opacity: 1;
  transform: none;
  background: #EFEAE0;
  border-radius: 2px;
  overflow: hidden;
}
.hp-product-grid .product-card.style-grid .card-thumb {
  aspect-ratio: 3 / 4;
  background: #C9C2B2;
}
.hp-product-grid .product-card.style-grid .card-body {
  padding: 16px 16px 18px;
}
.hp-product-grid .product-card.style-grid .card-name {
  font-size: 14px;
  line-height: 1.35;
}
.hp-product-grid .product-card.style-grid .card-actions {
  padding: 0 16px 16px;
}

/* Philosophy */
.hp-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  background: #0A0908;
}
.hp-story-visual {
  position: relative;
  min-height: 480px;
  background: #1E1C1A;
  overflow: hidden;
}
.hp-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hp-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 8vw;
}
.hp-story-copy h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hp-story-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: #C9C2B2;
  max-width: 400px;
  margin-bottom: 32px;
}

/* CTA */
.hp-cta {
  padding: 120px 8vw;
  text-align: center;
  background: linear-gradient(180deg, #121110 0%, #0A0908 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hp-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  margin-bottom: 16px;
}
.hp-cta-sub {
  font-size: 13px;
  color: #8A8577;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

/* Footer stays dark — slight top border */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1100px) {
  .hp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hp-cat-shop-card {
    flex: 0 0 68vw;
    max-width: 260px;
  }
  .hp-story {
    grid-template-columns: 1fr;
  }
  .hp-story-visual {
    min-height: 56vw;
  }
  .hp-story-copy {
    padding: 56px 8vw 72px;
  }
  .hp-section-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .hp-bridge-meta {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-cat-shop-img img {
    transition: none;
  }
}

/* ── Dynamic homepage builder sections ── */
.hp-announce {
  position:relative;
  z-index:120;
  background:#2A2723;
  color:#EFEAE0;
  text-align:center;
  padding:10px 16px;
  font-size:12px;
  letter-spacing:0.06em;
}
.hp-announce a { color:inherit; text-decoration:none; }
.hp-announce a:hover { text-decoration:underline; }

.hp-banner-split {
  background:#0A0908;
  color:#EFEAE0;
  border-top:1px solid rgba(255,255,255,0.06);
}
.hp-banner-split-inner {
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  min-height:480px;
}
.hp-banner-split.layout-image_right .hp-banner-split-inner {
  grid-template-columns:0.9fr 1.1fr;
}
.hp-banner-visual {
  position:relative;
  min-height:420px;
  background:#1E1C1A;
  overflow:hidden;
}
.hp-banner-visual img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.hp-banner-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:72px 8vw;
  gap:8px;
}
.hp-banner-copy h2 {
  font-family:"Fraunces", serif;
  font-size:clamp(32px, 4.5vw, 52px);
  font-weight:400;
  line-height:1.1;
  margin:0 0 12px;
}
.hp-banner-copy p {
  font-size:15px;
  line-height:1.75;
  color:#C9C2B2;
  max-width:420px;
  margin:0 0 28px;
}
.hp-banner-products {
  padding:40px 8vw 64px;
}

.hp-banner-solid {
  padding:100px 8vw;
  border-top:1px solid rgba(255,255,255,0.06);
}
.hp-banner-solid.align-center { text-align:center; }
.hp-banner-solid.align-left { text-align:left; }
.hp-banner-solid-inner {
  max-width:720px;
  margin:0 auto;
}
.hp-banner-solid.align-left .hp-banner-solid-inner { margin:0; }
.hp-banner-solid h2 {
  font-family:"Fraunces", serif;
  font-size:clamp(32px, 5vw, 56px);
  font-weight:400;
  margin:8px 0 16px;
}
.hp-banner-solid p {
  font-size:15px;
  line-height:1.7;
  opacity:0.85;
  margin:0 0 28px;
}

.hp-text-block {
  padding:80px 8vw;
  background:#0A0908;
  color:#EFEAE0;
  border-top:1px solid rgba(255,255,255,0.06);
}
.hp-text-block.align-center { text-align:center; }
.hp-text-block.align-left { text-align:left; }
.hp-text-inner { max-width:680px; margin:0 auto; }
.hp-text-block.align-left .hp-text-inner { margin:0; }
.hp-text-block h2 {
  font-family:"Fraunces", serif;
  font-size:clamp(28px, 4vw, 48px);
  font-weight:400;
  margin:8px 0 16px;
}
.hp-text-block p {
  font-size:15px;
  line-height:1.75;
  color:#C9C2B2;
  margin:0;
}

.hp-story.layout-image_right { direction:rtl; }
.hp-story.layout-image_right > * { direction:ltr; }

.hp-rail-title {
  padding:0 52px 8px;
  max-width:100%;
}
.hp-rail-title h2 {
  font-size:clamp(22px, 3vw, 32px);
  color:#2A2723;
  margin:0;
}

@media (max-width:900px) {
  .hp-banner-split-inner,
  .hp-banner-split.layout-image_right .hp-banner-split-inner {
    grid-template-columns:1fr;
  }
  .hp-banner-visual { min-height:56vw; }
  .hp-banner-copy { padding:56px 8vw 72px; }
  .hp-story.layout-image_right { direction:ltr; }
}

/* Site-wide announcement + marquee + logo image */
.hp-announce {
  position: sticky;
  top: 0;
  z-index: 160;
  background: #2A2723;
  color: #EFEAE0;
  text-align: center;
  padding: 0;
  letter-spacing: 0.06em;
}
.hp-announce-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 40px;
  min-height: 36px;
}
.hp-announce-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-announce-link:hover { text-decoration: underline; }
.hp-announce-cta {
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.92;
}
.hp-announce-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px 8px;
}
.hp-announce-close:hover { opacity: 1; }

.hp-site-marquee {
  position: relative;
  z-index: 50;
  overflow: hidden;
  border-top: 1px solid rgba(42, 39, 35, 0.08);
  border-bottom: 1px solid rgba(42, 39, 35, 0.08);
  padding: 11px 0;
}
.hp-site-marquee-track {
  display: flex;
  width: max-content;
  animation: hpSiteMarquee var(--marquee-duration, 40s) linear infinite;
}
.hp-site-marquee.dir-right .hp-site-marquee-track {
  animation-name: hpSiteMarqueeReverse;
}
.hp-site-marquee-track span {
  padding: 0 28px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hp-site-marquee-track span em {
  font-style: normal;
  opacity: 0.45;
  margin-left: 28px;
}
@keyframes hpSiteMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes hpSiteMarqueeReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.logo.has-logo-img,
.logo:has(.site-logo-img:not([hidden])) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}
.site-logo-text[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hp-site-marquee-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hp-site-marquee-track span em { display: none; }
}
