/* PRISM shares the storefront layout and owns its color palette. */
.theme-prism {
  --prism-black: #050505;
  --prism-surface: #101011;
  --prism-gold: #f5cc79;
  --prism-gold-bright: #ffe3a4;
  --prism-line: #cc9f5542;
  --prism-muted: #c4bdb2;
  --prism-gold-fill: linear-gradient(112deg, #c98a35, #ffe1a0 55%, #edaf4d);
  --blue: var(--prism-gold);
  --brand-gold: var(--prism-gold);
  background: var(--prism-black);
}

.theme-prism .site-header {
  border-color: var(--prism-line);
  background: #070707f7;
}
.theme-prism .site-header .header-search {
  border-color: var(--prism-line);
  background: #101010;
}
.theme-prism .prism-wordmark {
  color: var(--prism-gold-bright);
  text-shadow: 0 0 18px #e4ab5138;
}
.theme-prism .site-header .store-nav > a.active {
  color: var(--prism-gold-bright);
}
.theme-prism .site-header .store-nav > a.active::after {
  box-shadow: 0 0 9px #edba6ab0;
}
.theme-prism .site-header .predictive-search,
.theme-prism .site-header .predictive-all,
.theme-prism .catalog-sidebar,
.theme-prism .category-card,
.theme-prism .product-card,
.theme-prism .detail-grid article,
.theme-prism .cart-drawer,
.theme-prism .close-control,
.theme-prism .drawer-summary,
.theme-prism .access-card,
.theme-prism .registration-card,
.theme-prism .store-footer {
  border-color: var(--prism-line);
  background: var(--prism-surface);
}
.theme-prism .catalog-sidebar :is(input, select),
.theme-prism .quantity-control :is(button, input) {
  border-color: var(--prism-line);
  background: #080808;
  color: #f1eadf;
}
.theme-prism .catalog-sidebar label,
.theme-prism .catalog-sidebar h2,
.theme-prism .catalog-sidebar legend { color: #f1eadf; }
.theme-prism .catalog-sidebar .reset-link { color: var(--prism-gold); }
.theme-prism .block-highlights,
.theme-prism .block-contact,
.theme-prism .store-footer { background: #090909; }
.theme-prism .footer-grid :is(p, a) { color: var(--prism-muted); }
.theme-prism .footer-grid a:hover { color: var(--prism-gold); }
.theme-prism .store-footer .prism-wordmark { color: var(--prism-gold-bright); }
.theme-prism .button.primary,
.theme-prism .block-hero.layout-full .button.primary {
  border: 1px solid #ffd990;
  background: var(--prism-gold-fill);
  box-shadow: 0 0 24px #d990363d, inset 0 1px #fff4cb9c;
  color: #201407;
}
.theme-prism .button.primary:hover,
.theme-prism .block-hero.layout-full .button.primary:hover {
  background: #ffe3a4;
  box-shadow: 0 0 28px #e7a53f67;
}
.theme-prism .prism-transition { background: var(--prism-black); }
.theme-prism .prism-transition i { box-shadow: 0 0 17px #f5b956a0; }
.theme-prism .support-whatsapp > summary {
  border: 1px solid #d7a555a6;
  background: #111;
  color: var(--prism-gold-bright);
  box-shadow: 0 0 18px #e4a24246, 0 8px 22px #000a;
}
.theme-prism .support-whatsapp > summary:hover,
.theme-prism .support-whatsapp[open] > summary { background: #20180e; }
.theme-prism .whatsapp-popover,
.theme-prism .whatsapp-popover-heading { border-color: var(--prism-line); background: #141313; color: var(--prism-gold-bright); }
.theme-prism .whatsapp-popover-actions a { color: #f0e8dc; }
.theme-prism .whatsapp-popover-actions a:hover { background: #292116; color: var(--prism-gold); }

/* Home keeps editorial scenes in the normal page flow. */
.theme-prism-home .page-document { background: #050505; }
.theme-prism-home [data-prism-scroll-hero] {
  --prism-drift: 0;
  padding: 0;
  background: #050505;
}
.theme-prism-home .prism-scroll-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-grid {
  min-height: clamp(365px, calc(92svh - 116px), 670px);
}
.theme-prism-home [data-prism-scroll-hero] .hero-visual { margin: 0; }
.theme-prism-home [data-prism-scroll-hero] .hero-visual picture { display: block; height: 100%; }
.theme-prism-home [data-prism-scroll-hero] .hero-visual img {
  transform: translate3d(0, calc(var(--prism-drift) * 22px), 0) scale(calc(1 + var(--prism-drift) * .05));
  transform-origin: 69% 50%;
  object-position: 66% 47%;
}
.theme-prism-home [data-prism-scroll-hero] .hero-visual::after {
  background: linear-gradient(90deg, #050505 0%, #050505eb 23%, #0505058c 43%, transparent 70%),
    linear-gradient(0deg, #050505 0%, #05050520 23%, transparent 64%);
}
.theme-prism-home .prism-scroll-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: calc(.18 + var(--prism-drift) * .72);
  background: radial-gradient(ellipse at 75% 49%, #ffb7473d, transparent 47%);
}
.theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-intro {
  width: min(55%, 650px);
  padding: clamp(32px, 6vh, 75px) 0;
}
.theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-intro h1 {
  max-width: 15ch;
  margin: .28em 0 .34em;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1;
  color: #fff6e6;
  text-wrap: initial;
}
.theme-prism-home [data-prism-scroll-hero] .hero-intro > p { color: #ebdfca; margin: 0; }
.theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-buttons { margin-top: clamp(17px, 3vh, 32px); }
.theme-prism-home [data-prism-scroll-hero] .hero-second { color: var(--prism-gold-bright); }
.theme-prism-home .editable-block:not(.block-hero) {
  padding-block: min(var(--block-space), clamp(22px, 3.2vw, 48px));
}
.theme-prism-home .block-split {
  background: radial-gradient(ellipse at 70% 48%, #66421c46, transparent 59%), #050505;
}
.theme-prism-home .block-split .split-block {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0;
}
.theme-prism-home .block-split .split-image {
  height: clamp(300px, 34vw, 453px);
  min-height: 0;
  border: 1px solid var(--prism-line);
  box-shadow: 0 0 32px #be7e2c24;
}
.theme-prism-home .block-split .split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-prism-home .block-split .split-copy {
  position: relative;
  z-index: 1;
  margin-inline-start: clamp(-65px, -4vw, -25px);
  padding: clamp(22px, 4vw, 51px);
  border: 1px solid var(--prism-line);
  border-radius: 4px 22px 4px 22px;
  background: linear-gradient(145deg, #24201be8, #101011f7 64%);
  box-shadow: 0 18px 48px #0009, inset 0 1px #fff0c32e;
}
.theme-prism-home :is(.split-copy, .block-services, .cta-block) h2 {
  font: 400 clamp(2rem, 4.2vw, 3.8rem)/1.03 Georgia, serif;
  letter-spacing: -.045em;
  color: #fff0d9;
}
.theme-prism-home .block-split .editorial-body { color: #dfd4c5; }
.theme-prism-home .block-services .service-grid { gap: 14px; }
.theme-prism-home .block-services .service-grid article {
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid var(--prism-line);
  border-radius: 12px;
  background: linear-gradient(150deg, #221c15, #0c0c0d 58%);
  box-shadow: inset 0 1px #ffe4b326;
}
.theme-prism-home .block-services .service-grid article > span { display: none; }
.theme-prism-home .block-services .service-grid h3 { margin: 0 0 .6rem; }
.theme-prism-home .block-services .service-grid p { color: #d2c9ba; }
.theme-prism-home .block-services .service-grid a { color: var(--prism-gold-bright); }
.theme-prism-home .block-cta .cta-block {
  border: 1px solid var(--prism-line);
  background: radial-gradient(ellipse at 92% 24%, #a36b253d, transparent 63%), #111;
  box-shadow: inset 0 1px #ffe4b330;
}
.theme-prism-home .block-cta .cta-block { padding: clamp(21px, 3vw, 42px); }
.theme-prism-home .block-faq .text-block {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--prism-line);
  border-radius: 12px;
  background: linear-gradient(145deg, #1b1814, #0e0e0f 64%);
}
.theme-prism-home .block-faq h2 { color: #fff0d9; }
.theme-prism-home .block-faq .faq-row { border-color: var(--prism-line); }
.theme-prism-home .block-faq .faq-row p { color: #d7c9b6; }
.theme-prism-home .is-prism-revealing {
  animation: prism-rise .58s cubic-bezier(.18,.72,.28,1) both;
}
@keyframes prism-rise {
  from { opacity: .32; transform: translateY(17px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-grid {
    min-height: clamp(405px, 72svh, 535px);
    align-items: end;
  }
  .theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-intro {
    width: 100%;
    padding: 150px 0 30px;
  }
  .theme-prism-home .block-hero.layout-full[data-prism-scroll-hero] .hero-intro h1 {
    font-size: clamp(2.5rem, 9.2vw, 4rem);
  }
  .theme-prism-home [data-prism-scroll-hero] .hero-visual img { object-position: center 27%; }
  .theme-prism-home [data-prism-scroll-hero] .hero-visual::after {
    background: linear-gradient(0deg, #050505 3%, #050505f2 25%, #05050581 52%, #05050505 78%);
  }
  .theme-prism-home .block-split .split-block { grid-template-columns: minmax(0, 1fr); }
  .theme-prism-home .block-split .split-copy { margin: -18px 11px 0; }
  .theme-prism-home .block-split .split-image { height: clamp(195px, 58vw, 345px); }
}
@media (prefers-reduced-motion: reduce) {
  .theme-prism-home .is-prism-revealing { animation: none; }
}

/* PRISM scenes */
.prism-story {
  --scene-glow: #d6953d;
  padding-block: clamp(13px, 2vw, 28px);
}
.prism-story-heading {
  max-width: 720px;
  margin-bottom: clamp(19px, 3vw, 42px);
}
.prism-story-heading h2,
.prism-story-copy h3 {
  color: #fff1dc;
  font: 400 clamp(2.1rem, 4.3vw, 3.95rem)/1.04 Georgia, serif;
  letter-spacing: -.055em;
  margin: 0 0 .34em;
  text-wrap: balance;
}
.prism-story-heading p,
.prism-story-copy p { color: #d7c9b6; font-size: clamp(.94rem, 1.35vw, 1.1rem); }
.prism-story-heading p { margin: 0; }
.prism-story-sticky { display: none; }
.prism-story-steps { display: grid; gap: 16px; }
.prism-story-step {
  position: relative;
  min-width: 0;
  padding: 0;
}
.prism-story-inline {
  width: 100%;
  height: clamp(185px, 42vw, 390px);
  display: block;
  object-fit: cover;
  border: 1px solid #d4a86059;
  border-radius: 14px 14px 0 0;
}
.prism-story-copy {
  position: relative;
  isolation: isolate;
  padding: clamp(21px, 3.5vw, 44px);
  border: 1px solid #d4a8604f;
  border-radius: 1px 1px 14px 14px;
  background: radial-gradient(ellipse at 8% 0%, #60402055, transparent 58%), linear-gradient(150deg, #1c1916, #0f0e0e 74%);
  box-shadow: 0 18px 46px #0009, inset 0 1px #ffedc42d;
}
.prism-story-copy h3 { font-size: clamp(1.8rem, 3.1vw, 3rem); }
.prism-story-copy p { margin-block: 0; }
.prism-story-copy .text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 17px;
  color: #ffd995;
}
@media (min-width: 900px) and (min-height: 470px) and (prefers-reduced-motion: no-preference) {
  .prism-story.is-prism-story-active .prism-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
  }
  .prism-story.is-prism-story-active .prism-story-sticky {
    position: sticky;
    top: clamp(82px, 16vh, 128px);
    display: block;
    min-width: 0;
  }
  .prism-story.is-prism-story-active .prism-story-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: clamp(290px, 67svh, 650px);
    border: 1px solid #d4a86060;
    border-radius: 8px 27px 8px 27px;
    background: #0a0908;
    box-shadow: 0 20px 68px #000a, 0 0 42px #ac732431;
  }
  .prism-scene-layer,
  .prism-scene-reflection,
  .prism-story-stage::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .prism-scene-layer { opacity: 0; }
  .prism-scene-layer:first-child { opacity: 1; }
  .prism-scene-layer:first-child img { object-position: 83% 50%; }
  .prism-scene-layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .prism-story-stage::after {
    content: '';
    background: linear-gradient(0deg, #050505d9, transparent 28%),
      linear-gradient(110deg, #ffd89430, transparent 25%, transparent 81%, #dc9d3030);
    z-index: 2;
  }
  .prism-scene-reflection {
    z-index: 1;
    background: radial-gradient(ellipse at 73% 36%, #ffd48458, transparent 45%),
      linear-gradient(123deg, transparent 29%, #ffd48b24 53%, transparent 60%);
    transform-origin: 64% 40%;
    opacity: .25;
  }
  .prism-scene-meter {
    position: absolute;
    z-index: 3;
    inset-inline: 16px;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  .prism-scene-meter span {
    width: clamp(14px, 3vw, 29px);
    height: 2px;
    border-radius: 5px;
    background: #f4d197;
    opacity: .24;
  }
  .prism-story.is-prism-story-active .prism-story-steps { gap: 10px; }
  .prism-story.is-prism-story-active .prism-story-step {
    display: grid;
    align-content: center;
    min-height: clamp(255px, 55svh, 540px);
  }
  .prism-story.is-prism-story-active .prism-story-inline { display: none; }
  .prism-story.is-prism-story-active .prism-story-copy { border-radius: 13px; }
  .prism-story.is-prism-story-active .prism-story-step.is-current .prism-story-copy {
    border-color: #e4b8659c;
    box-shadow: 0 20px 48px #0009, 0 0 30px #c98b3a2b, inset 0 1px #fff0c462;
  }
}
