/* SPECTRλ product page — Figma 305:934. */
.theme-spectra {
  --spectra-bg: #1b1d24;
  --spectra-violet: #6f408f;
  background: var(--spectra-bg);
  color: #fff;
}

.theme-spectra .site-header {
  position: absolute;
  height: 80px;
  background: transparent;
  box-shadow: none;
}

.theme-spectra .site-header .brand {
  top: 28px;
  left: 2.847222%;
  min-height: 44px;
}

.theme-spectra .site-header .brand img {
  filter: none;
}

.spectra-page,
.spectra-page h1,
.spectra-page h2,
.spectra-page p,
.spectra-page figure,
.spectra-page ul {
  margin: 0;
}

.spectra-page {
  overflow: hidden;
  background: var(--spectra-bg);
  color: #fff;
  font-family: var(--poppins);
}

.spectra-hero {
  position: relative;
  isolation: isolate;
  height: clamp(680px, 61.041667vw, 1050px);
  min-height: 680px;
  overflow: hidden;
  background: #061316;
}

.spectra-hero-photo,
.spectra-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spectra-hero-photo {
  z-index: -3;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.spectra-hero-shade {
  z-index: -2;
  background: linear-gradient(to bottom, transparent, #000);
  top: auto;
  height: 24.35%;
  pointer-events: none;
}

.spectra-products-link {
  position: absolute;
  top: 35px;
  right: 2.55%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 220px;
  min-height: 44px;
  padding: 8px 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 13.665px;
  line-height: 1.4;
  text-decoration: none;
}

.spectra-products-link:hover,
.spectra-products-link:focus-visible,
.spectra-gallery-stage:focus-visible {
  border-color: #fff;
}

.spectra-hero-lockup {
  position: absolute;
  bottom: 5.69%;
  left: 50%;
  width: min(640px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.spectra-hero-lockup p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 27.5px;
  line-height: 33px;
  letter-spacing: -0.022em;
}

.spectra-content {
  min-height: 3049px;
}

.spectra-intro {
  padding-top: 83px;
}

.spectra-statement {
  display: grid;
  grid-template-columns: 24px minmax(0, 1056px) 24px;
  align-items: center;
  justify-content: center;
  gap: 39px;
  width: calc(100% - 72px);
  max-width: 1182px;
  margin-inline: auto;
}

.spectra-statement > img {
  justify-self: center;
}

.spectra-statement p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 63px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(251, 251, 253, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: center;
  backdrop-filter: blur(8px);
}

.spectra-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 508px) 503px;
  gap: 100px;
  width: calc(100% - 48px);
  max-width: 1166px;
  min-height: 247px;
  margin: 100px auto 0;
}

.spectra-intro-copy {
  align-self: center;
}

.spectra-intro-copy h2 {
  margin-bottom: 12px;
  font-size: 25.31px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.spectra-intro-copy p {
  max-width: 508px;
  font-size: 15.114px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.spectra-intro-copy strong {
  font-weight: 600;
}

.spectra-filter-frames {
  display: grid;
  align-content: start;
  gap: 29px;
}

.spectra-filter-frames a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 25.31px;
  font-weight: 600;
  position: relative;
  height: 63px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#2d2f36, #2d2f36) padding-box,
    linear-gradient(90deg, #6f408f, #3a7db8, #d2be26, #c83927) border-box;
  backdrop-filter: blur(8px);
}

.spectra-story {
  display: grid;
  height: 455px;
  margin-inline: auto;
}

.spectra-story--biohacking {
  grid-template-columns: 502px minmax(0, 600px);
  gap: 89px;
  width: calc(100% - 48px);
  max-width: 1191px;
  margin-top: 160px;
}

.spectra-story--sport {
  grid-template-columns: minmax(0, 603px) 502px;
  gap: 88px;
  width: calc(100% - 48px);
  max-width: 1193px;
  margin-top: 81px;
}

.spectra-story--therapeutic {
  grid-template-columns: 503px minmax(0, 500px);
  gap: 100px;
  width: calc(100% - 48px);
  max-width: 1103px;
  margin-top: 159px;
}

.spectra-story-visual {
  position: relative;
  height: 455px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: #0d0e12;
}

.spectra-story-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.spectra-story-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 59px;
  padding-bottom: 7px;
  background: url("/assets/images/spectra/Rectangle261.svg") center / 100% 100% no-repeat;
  color: #f6f6f6;
  font-size: 12.8px;
  line-height: 19.2px;
  text-align: center;
}

.spectra-story-copy h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: -0.02em;
}

.spectra-story--biohacking figcaption,
.spectra-story--therapeutic figcaption {
  background-image: url("/assets/images/spectra/Rectangle260.svg");
}

.spectra-story-copy {
  min-width: 0;
}

.spectra-story-copy > p {
  margin-top: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: -0.01em;
}

.spectra-story-copy > p strong {
  font-weight: 700;
}

.spectra-story--biohacking .spectra-story-copy {
  padding-top: 95px;
}

.spectra-story--sport .spectra-story-copy {
  padding: 66px 59px 0 3px;
}

.spectra-story--therapeutic .spectra-story-copy {
  padding-top: 68px;
}

.spectra-story--therapeutic .spectra-story-copy h2 {
  max-width: 430px;
  line-height: 40px;
}

.spectra-swatches {
  display: flex;
  align-items: center;
  width: 395px;
  max-width: 100%;
  gap: 4.75px;
  height: 46px;
  margin-top: 4px;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#2d2f36, #2d2f36) padding-box,
    linear-gradient(90deg, #6f408f, #3a7db8, #d2be26, #c83927) border-box;
  backdrop-filter: blur(8px);
}

.spectra-swatches img {
  display: block;
  width: 31.072px;
  height: 28.654px;
  min-width: 0;
  flex: 0 1 31.072px;
}

.spectra-swatches--biohacking {
  width: 110px;
}

.spectra-story--biohacking .spectra-story-copy > p {
  max-width: 502px;
}

.spectra-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px !important;
  padding: 0;
  list-style: none;
}

.spectra-pills li,
.spectra-gallery-tags li {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(251, 251, 253, 0.12);
  color: #f6f6f6;
  font-size: 12.8px;
  line-height: 19.2px;
  backdrop-filter: blur(8px);
}

.spectra-story--sport .spectra-swatches,
.spectra-story--therapeutic .spectra-swatches {
  margin-top: 24px;
}

.spectra-story--sport .spectra-pills,
.spectra-story--therapeutic .spectra-pills {
  margin-top: 44px !important;
}

.spectra-gallery {
  position: relative;
  height: 480px;
  margin-top: 226px;
  margin-bottom: 84px;
}

.spectra-gallery-stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 480px;
  transform: translateX(-50%);
}

.spectra-gallery-card,
.spectra-gallery-wing {
  position: absolute;
  display: block;
}

.spectra-gallery-card {
  object-fit: cover;
}

.spectra-gallery-card--outer-left {
  transform: scaleX(-1);
  top: 0;
  left: -49px;
  width: 316px;
  height: 480px;
}

.spectra-gallery-wing {
  top: 106px;
  width: 176px;
  height: 268px;
  background: url("/assets/images/spectra/Vector35.svg") center / 100% 100% no-repeat;
}

.spectra-gallery-wing--left {
  left: 305px;
  background-image: url("/assets/images/spectra/Vector36.svg");
  transform: scaleX(-1);
}

.spectra-gallery-card--left {
  transform: scaleX(-1);
  top: 140px;
  left: 506px;
  width: 133px;
  height: 198px;
}

.spectra-gallery-card--center {
  top: 149px;
  left: 658px;
  width: 124px;
  height: 182px;
  border: 1px solid #000;
  border-radius: 20px;
}

.spectra-gallery-card--right {
  top: 140px;
  left: 801px;
  width: 133px;
  height: 198px;
}

.spectra-gallery-wing--right {
  right: 305px;
}

.spectra-gallery-card--outer-right {
  top: 0;
  right: -49px;
  width: 316px;
  height: 480px;
}

.spectra-gallery-tags {
  position: absolute;
  z-index: 2;
  top: 374px;
  left: 50%;
  display: flex;
  gap: 8px;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.theme-spectra .site-footer {
  min-height: 153px;
  padding: 45px 52px 20px;
  background: var(--spectra-bg);
}

.theme-spectra .site-footer .footer-brand > img {
  width: 128px;
  filter: brightness(0) invert(1);
}

.theme-spectra .site-footer .social-links {
  margin-top: 18px;
  gap: 7px;
}

.theme-spectra .site-footer .social-links a,
.theme-spectra .site-footer .social-links > span {
  width: 24px;
  height: 24px;
}

.theme-spectra .site-footer .social-links img {
  width: 18px;
  height: 18px;
}

@media (max-width: 1200px) {
  .spectra-content {
    min-height: 0;
  }

  .spectra-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 48px;
  }

  .spectra-story,
  .spectra-story--biohacking,
  .spectra-story--sport,
  .spectra-story--therapeutic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    width: calc(100% - 64px);
    max-width: 940px;
    height: auto;
    min-height: 455px;
  }

  .spectra-story--sport .spectra-story-copy {
    padding-right: 0;
  }

  .spectra-gallery {
    margin-top: 150px;
  }
}

/* Mobile uses a single reading column and native swipe navigation. */
.spectra-gallery-hint {
  display: none;
}

@media (max-width: 820px) {
  .theme-spectra .site-header .brand {
    top: 16px;
    left: 20px;
  }

  .spectra-hero {
    height: auto;
    min-height: 0;
    padding-top: 80px;
    background: #061316;
  }

  .spectra-hero-photo {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 2752 / 1536;
    object-fit: contain;
    object-position: center;
  }

  .spectra-hero-shade {
    display: none;
  }

  .spectra-products-link {
    top: 16px;
    right: 20px;
    width: auto;
    max-width: calc(100% - 144px);
    min-height: 44px;
    gap: 12px;
    padding: 10px 0;
    font-size: 13px;
    white-space: normal;
  }

  .spectra-products-link img {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
  }

  .spectra-hero-lockup {
    position: relative;
    bottom: auto;
    left: auto;
    width: calc(100% - 40px);
    max-width: 420px;
    margin-inline: auto;
    padding-block: 24px 28px;
    transform: none;
  }

  .spectra-hero-lockup p {
    color: #fff;
    font-size: clamp(21px, 5.5vw, 26px);
    line-height: 1.35;
    text-wrap: balance;
  }

  .spectra-intro {
    padding-top: 32px;
  }

  .spectra-statement {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 40px);
    max-width: 560px;
  }

  .spectra-statement > img {
    display: none;
  }

  .spectra-statement p {
    min-height: 0;
    padding: 20px;
    border-radius: 16px;
    font-size: 20px;
    line-height: 1.4;
    text-wrap: balance;
  }

  .spectra-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: calc(100% - 40px);
    max-width: 560px;
    min-height: 0;
    margin-top: 32px;
  }

  .spectra-intro-copy h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.3;
    text-wrap: balance;
  }

  .spectra-intro-copy p,
  .spectra-story-copy > p {
    max-width: none;
    color: #e5e5e9;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
  }

  .spectra-filter-frames {
    gap: 10px;
  }

  .spectra-filter-frames a {
    justify-content: space-between;
    min-height: 52px;
    height: auto;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .spectra-filter-frames a::after {
    content: "↓";
    font-size: 20px;
    font-weight: 400;
  }

  .spectra-story,
  .spectra-story--biohacking,
  .spectra-story--sport,
  .spectra-story--therapeutic {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: calc(100% - 40px);
    max-width: 560px;
    height: auto;
    min-height: 0;
    margin-top: 56px;
  }

  .spectra-story--sport .spectra-story-visual {
    order: -1;
  }

  .spectra-story-visual {
    height: auto;
    aspect-ratio: 503 / 456;
    border-radius: 20px;
  }

  .spectra-story-visual figcaption,
  .spectra-story--biohacking figcaption,
  .spectra-story--therapeutic figcaption {
    align-items: center;
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    background: rgb(15 17 23 / 85%);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    backdrop-filter: blur(8px);
  }

  .spectra-story-copy,
  .spectra-story--biohacking .spectra-story-copy,
  .spectra-story--sport .spectra-story-copy,
  .spectra-story--therapeutic .spectra-story-copy {
    padding: 0;
  }

  .spectra-story-copy h2,
  .spectra-story--therapeutic .spectra-story-copy h2 {
    max-width: none;
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.2;
    text-wrap: balance;
  }

  .spectra-story-copy > p {
    margin-top: 14px;
  }

  .spectra-swatches,
  .spectra-story--sport .spectra-swatches,
  .spectra-story--therapeutic .spectra-swatches {
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 44px;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    margin-top: 20px;
    border-radius: 14px;
  }

  .spectra-swatches img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
  }

  .spectra-story--sport .spectra-pills,
  .spectra-story--therapeutic .spectra-pills,
  .spectra-pills {
    gap: 8px;
    margin-top: 16px !important;
  }

  .spectra-pills li,
  .spectra-gallery-tags li {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  .spectra-gallery {
    height: auto;
    margin-top: 64px;
    margin-bottom: 40px;
  }

  .spectra-gallery > h2 {
    /* Override the shared sr-only positioning when the heading is visible. */
    position: static !important;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    margin-inline: 20px;
    white-space: normal;
    font-size: 24px;
    line-height: 1.3;
  }

  .spectra-gallery-hint {
    display: block;
    margin: 8px 20px 20px !important;
    color: #c5c6cc;
    font-size: 14px;
    line-height: 1.5;
  }

  .spectra-gallery-stage {
    position: relative;
    left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    padding: 0 20px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    transform: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: thin;
    scrollbar-color: #858591 #292b33;
  }

  .spectra-gallery-wing {
    display: none;
  }

  .spectra-gallery-card,
  .spectra-gallery-card--outer-left,
  .spectra-gallery-card--left,
  .spectra-gallery-card--center,
  .spectra-gallery-card--right,
  .spectra-gallery-card--outer-right {
    position: static;
    width: min(68vw, 280px);
    height: auto;
    aspect-ratio: 2 / 3;
    flex: 0 0 min(68vw, 280px);
    border-radius: 16px;
    object-fit: contain;
    scroll-snap-align: start;
  }

  .spectra-gallery-tags {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 20px 0 !important;
    transform: none;
  }

  .theme-spectra .site-footer {
    min-height: 0;
    padding: 24px 20px max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid rgb(255 255 255 / 12%);
  }

  .theme-spectra .site-footer .social-links {
    gap: 8px;
    margin-top: 16px;
  }

  .theme-spectra .site-footer .social-links a,
  .theme-spectra .site-footer .social-links > span {
    width: 44px;
    height: 44px;
  }

  .theme-spectra .site-footer .social-links img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 359px) {
  .spectra-products-link {
    font-size: 12px;
    gap: 8px;
  }

  .spectra-swatches img {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spectra-gallery-stage {
    scroll-behavior: auto;
  }
}

.spectra-filter-frames a:focus-visible,
.spectra-products-link:focus-visible,
.spectra-gallery-stage:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.spectra-story h2 {
  scroll-margin-top: 24px;
}
