/* Setup — "The Setup" creator loadout page */

.su-main {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 0 16px calc(98px + env(safe-area-inset-bottom));
}

/* Hero */
.su-hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgb(140 101 31 / 0.7);
  border-radius: var(--radius-md);
  background: #050708;
  box-shadow: var(--shadow-card);
}

.su-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1404 / 1027;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
}

.su-hero__copy {
  padding: 20px 18px 24px;
  background: #080a0b;
}

.su-eyebrow {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.su-hero__copy h1 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 12vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: 0.05em;
}

.su-hero__copy p:last-child {
  max-width: 48ch;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Section scaffold */
.su-section {
  margin-top: 40px;
}

.su-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.su-section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

.su-section__head .su-index {
  color: var(--color-gold);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.su-section__head span[aria-hidden] {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(214 165 65 / 0.5), transparent);
}

.su-section__intro {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Core Rig — immersive slider feature + premium spec rail */
.su-corerig {
  display: grid;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgb(140 101 31 / 0.5);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #0e1210, #070909 70%);
  box-shadow: var(--shadow-card);
}

.su-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(140 101 31 / 0.55);
  border-radius: var(--radius-sm);
  background: #050708;
}

.su-slider__viewport {
  position: relative;
  aspect-ratio: 1404 / 1027;
}

.su-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 620ms ease;
  pointer-events: none;
}

.su-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.su-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .su-slide { transition: none; }
}

.su-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgb(214 165 65 / 0.5);
  border-radius: 50%;
  background: rgb(5 7 8 / 0.66);
  color: var(--color-text);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.su-slider__nav svg { width: 20px; height: 20px; }
.su-slider__nav--prev { left: 12px; }
.su-slider__nav--next { right: 12px; }

.su-slider__nav:hover,
.su-slider__nav:focus-visible {
  background: rgb(5 7 8 / 0.85);
  border-color: var(--color-gold-bright);
  outline: none;
}

.su-slider__dots {
  position: absolute;
  inset: auto 0 12px 0;
  z-index: 2;
  display: flex;
  gap: 9px;
  width: max-content;
  margin-inline: auto;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgb(5 7 8 / 0.5);
  backdrop-filter: blur(2px);
}

.su-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgb(214 165 65 / 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.su-slider__dot[aria-selected="true"] {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  transform: scale(1.15);
}

.su-slider__dot:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }

.su-specs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.su-spec {
  padding: 14px 14px 16px;
  border: 1px solid rgb(140 101 31 / 0.55);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #12140f, #090c0d);
}

.su-spec dt {
  color: var(--color-gold);
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.su-spec dd {
  margin: 6px 0 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.su-spec--wide { grid-column: 1 / -1; }

/* Product rail */
.su-rail {
  display: grid;
  gap: 14px;
}

.su-product {
  display: grid;
  overflow: hidden;
  border: 1px solid rgb(140 101 31 / 0.6);
  border-radius: var(--radius-sm);
  background: #090c0d;
}

/* One selected image per product, shown complete (never cropped). The media
   frame gives cards a consistent height; contain keeps the whole product
   visible with a neutral backdrop for any letterboxing. */
.su-product__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, #0d1113, #070909 78%);
  border-bottom: 1px solid rgb(214 165 65 / 0.14);
}

.su-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.su-product__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.su-product__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.su-product__descriptor {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.su-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 40px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgb(214 165 65 / 0.7);
  border-radius: var(--radius-sm);
  background: rgb(214 165 65 / 0.1);
  color: var(--color-text);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.su-product__cta:hover,
.su-product__cta:focus-visible {
  border-color: var(--color-gold-bright);
  background: rgb(214 165 65 / 0.18);
  outline: none;
}

.su-product__note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.74rem;
}

.su-product__disclosure {
  margin: 2px 0 0;
  color: var(--color-text-muted);
  font-size: 0.68rem;
}

.su-product--pending .su-product__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  color: rgb(214 165 65 / 0.45);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  background: repeating-linear-gradient(135deg, #0b0e0f, #0b0e0f 10px, #0d1012 10px, #0d1012 20px);
}

.su-product--pending .su-product__media::before { content: none; }

.su-rail__loading {
  color: var(--color-text-muted);
}

@media (min-width: 700px) {
  .su-main { padding-inline: 30px; }
  .su-hero img { position: absolute; inset: 0; height: 100%; max-height: none; aspect-ratio: auto; }
  .su-hero { min-height: 360px; display: flex; align-items: flex-end; }
  .su-hero__copy {
    position: relative;
    width: 100%;
    padding: 36px;
    background: linear-gradient(0deg, rgb(4 6 8 / 0.94) 8%, rgb(4 6 8 / 0.5) 46%, rgb(4 6 8 / 0.1));
  }
  .su-corerig {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.45fr);
    align-items: stretch;
    gap: 22px;
    padding: 22px;
  }
  .su-slider__viewport { aspect-ratio: 16 / 10; }
  .su-slider__nav { width: 46px; height: 46px; }
  .su-specs {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 12px;
  }
  .su-spec { padding: 16px 18px 18px; }
  .su-spec--wide { grid-column: auto; }
  .su-spec dt { font-size: 0.63rem; }
  .su-spec dd { font-size: 1.24rem; margin-top: 7px; }
  .su-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .su-product { grid-template-rows: auto 1fr; }
  .su-product--pending { align-self: start; }
  .su-product--pending .su-product__media { aspect-ratio: 16 / 6; }
}

@media (min-width: 1040px) {
  .su-section { margin-top: 58px; }
  .su-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .su-corerig { gap: 28px; padding: 26px; }
  .su-spec dd { font-size: 1.34rem; }
}
