/* Landing page — page-specific styles */
:root {
  --bg-page: #0a0a0a;
  --bg-section: #0d0d0d;
  --bg-card: #383838;
  --bg-banner: #121212;
  --bg-ticker: #141414;
  --bg-arrow: #262626;
  --bg-img-light: #000000;
  --bg-img-dark: #474747;
  --bg-placeholder: #d9d9d9;

  --text-label: #878787;
  --text-dark: #0d0d0d;
  --text-black: #000000;

  --accent-yellow: #ffd257;
  --border-gray: #808080;
}

.page {
  width: 100%;
  background: var(--bg-page);
  position: relative;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: 580px;
  padding: 80px var(--content-gutter);
  background: var(--bg-section);
  overflow: hidden;
}

.hero__left {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  min-width: 0;
  z-index: 2;
}

.hero__logo {
  width: clamp(155px, 14.5vw, 205px);
  height: auto;
  flex-shrink: 0;
}

.hero__content {
  max-width: 420px;
}


.hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  color: var(--gold);
  text-transform: uppercase;
}

.hero__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(520px, 60vh);
  min-width: 0;
}

.hero__circle {
  position: absolute;
  width: min(460px, 38vw);
  height: min(460px, 38vw);
  border-radius: 50%;
  background:rgb(255, 249, 249);
  border: 4px solid var(--accent-yellow);
  box-shadow:
    0 0 40px rgba(255, 214, 10, 0.12),
    0 0 80px rgba(255, 214, 10, 0.08);
}

.hero__shoe {
  position: relative;
  z-index: 2;
  width: 560px;
  height: auto;
  filter: drop-shadow(1px 4px 9px rgba(0, 0, 0, 0.25))
          drop-shadow(4px 16px 17px rgba(0, 0, 0, 0.21))
          drop-shadow(9px 37px 23px rgba(0, 0, 0, 0.13));
}

/* ── Hero 3D model viewer ── */
.hero__shoe-3d {
  /* display:block is required here: before the model-viewer module script
     defines the <model-viewer> custom element, the browser treats it as an
     unknown inline element, and width/height do not apply to non-replaced
     inline elements. Without this, the 620x620 box collapses to ~0 on first
     paint and pops in once the script loads — this was the single biggest
     contributor to CLS on this page. */
  display: block;
  position: relative;
  z-index: 2;
  width: min(520px, 43vw);
  height: min(520px, 43vw);
  max-width: 100%;
  --poster-color: transparent;
  background-color: transparent;
  filter: drop-shadow(4px 16px 17px rgba(0, 0, 0, 0.25));
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  contain: layout paint;
}

.hero__shoe-3d.is-dragging { cursor: grabbing; }

.hero__shoe-3d:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 24px;
}

.hero__shoe-cue {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

/* ── Ticker ── */
.ticker {
  background: var(--bg-ticker);
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 210, 87, 0.06);
  border-bottom: 1px solid rgba(255, 210, 87, 0.06);
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker__track span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  padding-right: 0;
}

.ticker__track span::before {
  content: '◆';
  color: var(--gold);
  font-size: 8px;
  vertical-align: middle;
  margin: 0 20px;
  opacity: 0.7;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Decorative shoes ── */
.deco-shoe {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.deco-shoe--mid {
  left: 371px;
  top: 843px;
  width: 306px;
  height: 306px;
  object-fit: cover;
}

/* ── Section title ── */
.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Products ── */
.products {
  padding: 64px var(--content-gutter);
  background: var(--bg-section);
}

/* ── Shop page header ── */
.shop-header {
  padding: 56px var(--content-gutter) 8px;
  max-width: 640px;
}

.shop-header__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0;
}

.shop-header__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-subtle);
}

/* ── Featured products (homepage) ── */
.products__grid--featured {
  flex-wrap: wrap;
}

.products__grid--featured .product-card {
  flex: 1 1 calc((100% - 48px) / 3);
  min-width: 260px;
  scroll-snap-align: none;
}

.products__cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ── header row: title + scroll arrows ── */
.products__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.products__nav {
  display: flex;
  gap: 8px;
}

.products__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1e1e1e;
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}

.products__arrow:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(255, 210, 87, 0.08);
}

.products__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.products__arrow svg {
  width: 18px;
  height: 18px;
}

/* ── horizontal scroll carousel ── */
.products__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 
}

.products__scroll::-webkit-scrollbar {
  display: none;
}

.products__grid {
  display: flex;
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 72px) / 3.5);
  background: var(--bg-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(255, 210, 87, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-img-light);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  padding: 0 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  border-radius: 10px;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
}

.product-card__status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}

.product-card__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card__price {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ── Featured grid skeleton (CLS placeholder) ── */
.product-card--skeleton {
  pointer-events: none;
}

.product-card--skeleton .product-card__image,
.product-card--skeleton .product-card__status,
.product-card--skeleton .product-card__name,
.product-card--skeleton .product-card__price {
  color: transparent;
  background: linear-gradient(
    100deg,
    var(--bg-card) 40%,
    #454545 50%,
    var(--bg-card) 60%
  );
  background-size: 200% 100%;
  animation: skeleton-pulse 1.6s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Work With ── */
.work-with {
  padding: 64px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-divider);
}

.work-with .section-title {
  margin-bottom: 36px;
  padding: 0 var(--content-gutter);
}

.work-with__scroll {
  overflow: hidden;
  width: 100%;
}

.work-with__track {
  display: flex;
  align-items: center;
  gap: 120px;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.work-with__logo {
  height: 70px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(0.5);
  transition: filter 0.2s;
}

.work-with__logo:hover {
  filter: brightness(0) invert(0.9);
}

/* ── CTA + Process (combined: CTA left, steps right) ── */
.cta-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  padding: 100px var(--content-gutter);
  background: var(--bg-banner);
  position: relative;
  border-top: 1px solid rgba(255, 210, 87, 0.06);
  border-bottom: 1px solid rgba(255, 210, 87, 0.06);
}

.cta-section__cta {
  flex: 0 1 420px;
  max-width: 420px;
}

.cta-section__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-section__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.cta-section__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-subtle);
  margin-bottom: 40px;
}

.cta-section__process {
  flex: 1;
}

.cta-section__process-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-section__process-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.step-list {
  display: flex;
  gap: 40px;
}

.step-row {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* connecting horizontal line between steps */
.step-row:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 150px;
  left: calc(50% + 150px + 10px);
  width: calc(100% - 300px - 20px);
  height: 1px;
  background: rgba(255, 210, 87, 0.25);
}

.step-row__icon {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--white, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 18px;
}

.step-row__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.step-row__number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.step-row__title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.step-row__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-subtle);
  max-width: 310px;
}

/* ── Reviews ── */
.reviews {
  padding: 72px var(--content-gutter) 80px;
  background: var(--bg-banner);
  position: relative;
}

.reviews__header {
  margin-bottom: 48px;
}

.reviews__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.reviews__underline {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 12px;
  border-radius: 2px;
}

.reviews__subtitle {
  font-size: 16px;
  color: var(--text-subtle);
  line-height: 1.5;
}

.reviews__grid {
  display: flex;
  gap: 90px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
  justify-content: center;
  -webkit-overflow-scrolling: touch; 
}

/* ── FAQ ── */
.faq {
  padding: 80px var(--content-gutter);
  background: var(--bg-section);
  position: relative;
  border-top: 1px solid var(--border-divider);
}

.faq__heading {
  margin-bottom: 56px;
}

.faq__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__visual {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  width: 100%;
  max-width: 740px;
  aspect-ratio: 1;
  justify-self: end;
  transform: translate(-60px, -40px);
}

.faq__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq__cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.faq__contact-note {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq__contact-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.faq__contact-note a:hover {
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .cta-section {
    gap: 48px;
  }

  .faq__layout {
    gap: 48px;
  }

  .deco-shoe--mid {
    display: none;
  }

  .product-card {
    flex-basis: calc((100% - 48px) / 2.5);
  }


  .hero {
    gap: 48px;
  }

  .hero__content {
    max-width: 340px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__visual {
    height: 400px;
  }

  .hero__circle {
    width: 380px;
    height: 380px;
  }

  .hero__shoe {
    width: 380px;
  }

  .hero__shoe-3d {
    width: 420px;
    height: 420px;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    padding: 56px var(--content-gutter);
    min-height: auto;
    gap: 48px;
  }

  .hero__content {
    padding-right: 0;
    max-width: 100%;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__visual {
    height: 320px;
  }

  .hero__circle {
    width: 280px;
    height: 280px;
  }

  .hero__shoe {
    width: 300px;
  }

  .hero__shoe-3d {
    width: 320px;
    height: 320px;
  }

  .cta-section {
    flex-direction: column;
    padding: 72px var(--content-gutter);
    gap: 56px;
  }

  .cta-section__cta,
  .cta-section__process {
    max-width: 100%;
  }

  .cta-section__title {
    font-size: 36px;
  }

  .step-list {
    flex-direction: column;
    gap: 36px;
  }

  .step-row {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
  }

  .step-row__icon {
    width: 120px;
    height: 120px;
    margin-bottom: 0;
  }

  .step-row__title {
    font-size: 21px;
  }

  .step-row__text {
    font-size: 15px;
    max-width: none;
  }

  .step-row:not(:last-child)::after {
    display: none;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq__visual {
    position: relative;
    top: auto;
    max-width: 340px;
    justify-self: center;
    transform: none;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .products {
    padding: 48px var(--content-gutter);
  }

  .products__arrow {
    width: 44px;
    height: 44px;
  }

  .work-with {
    padding: 48px var(--content-gutter);
  }

  .work-with__arrow {
    display: none;
  }


  .work-with__track {
    gap: 60px;
  }

  .work-with__logo {
    height: 48px;
  }

  .reviews {
    padding: 56px var(--content-gutter) 64px;
  }

  .reviews__grid {
    gap: 16px;
    justify-content: flex-start;
  }

  .faq {
    padding: 56px var(--content-gutter) 64px;
  }

  .faq__heading {
    margin-bottom: 40px;
  }

  .products__grid {
    gap: 16px;
  }

  .product-card {
    flex-basis: calc((100% - 16px) / 1.5);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 34px;
  }

  .hero__visual {
    height: 260px;
  }

  .hero__circle {
    width: 240px;
    height: 240px;
  }

  .hero__shoe {
    width: 260px;
  }

  .hero__shoe-3d {
    width: 260px;
    height: 260px;
  }

  .cta-section__title {
    font-size: 32px;
  }

  .shop-header__title {
    font-size: 30px;
  }

  .cta-section__process-title {
    font-size: 22px;
  }


  .step-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .step-row__icon {
    width: 90px;
    height: 90px;
  }

  .step-row__icon img {
    padding: 10px;
  }

  .products__grid {
    gap: 12px;
  }

  .product-card {
    flex-basis: 90%;
  }
}

/* ── Mobile hero fix ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    align-items: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero__left {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero__logo {
    width: 150px;
    max-width: 42vw;
    height: auto;
  }

  .hero__content {
    width: 100%;
    max-width: 620px;
  }

  .hero__title {
    font-size: clamp(34px, 8vw, 42px);
  }

  .hero__subtitle {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__visual {
    width: 100%;
    height: 340px;
    max-width: 100%;
  }

  .hero__shoe-cue { bottom: 0; }
}

@media (max-width: 480px) {
  .hero {
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero__logo {
    width: 115px;
    max-width: 32vw;
  }

  .hero__content {
    padding: 0 10px;
  }

  .hero__label {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero__buttons {
    gap: 10px;
  }

  .hero__visual {
    height: 285px;
  }

  .hero__circle {
    width: 230px;
    height: 230px;
  }

  .hero__shoe-3d {
    width: 260px;
    height: 260px;
    max-width: 100%;
  }
}
