/* Daylight studio. Product, satellite and their soft shadows share the same light. */
.hero,
html[dir="ltr"] .hero {
  --studio-ink: #102f46;
  --studio-muted: #405f6d;
  --studio-teal: #09696f;
  --studio-seam: #53788b38;
  color-scheme: light;
  --studio-edge: max(calc((100% - 1320px) / 2), clamp(18px, 4vw, 64px));
  color: var(--studio-ink);
  background: #f3f8f7;
  border: 0;
}
.studio-environment {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 3% 15%,#c6eee5 0,transparent 48%),
    radial-gradient(ellipse at 92% 5%,#d8eeff 0,transparent 44%),
    linear-gradient(115deg,#fbfcfb,#eef5f4 64%,#f8faf9);
}
.hero .hero-grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
  padding: 0;
}
.hero-copy {
  grid-area: 1/1;
  align-self: start;
  justify-self: center;
  width: calc(100% - 2 * var(--studio-edge));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17ch, 34ch) auto;
  grid-template-areas: "brand intro links" "title intro links";
  align-items: center;
  gap: 0 clamp(18px, 3.5vw, 64px);
  padding: clamp(15px, 1.4vw, 25px) 0 clamp(9px, .9vw, 15px);
  pointer-events: none;
}
.hero-kicker {
  grid-area: brand;
  align-self: center;
  justify-self: start;
  color: #27535f;
  gap: 7px;
  font-size: .91rem;
  font-weight: 700;

}
.hero-kicker > span:first-child {
  width: 22px;
  height: 13px;
  flex: 0 0 22px;
  background: linear-gradient(120deg, transparent 0 23%, #977943 24% 38%, transparent 39% 48%, #0d797b 49% 63%, transparent 64%);
}
html[lang="en"] .hero-kicker {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .13em;
}
.hero #hero-title,
html[lang="ps"] .hero #hero-title,
html[lang="en"] .hero #hero-title {
  grid-area: title;
  margin: 0;
  padding: .02em 0 .04em;
  color: var(--studio-ink);
  font-weight: 900;
  text-align: start;
}
html[lang="ps"] .hero #hero-title {
  font-size: clamp(2.65rem, 3.95vw, 4.7rem);
  line-height: max(1.28, var(--ps-heading-leading));
}
html[lang="en"] .hero #hero-title {
  font-size: clamp(2.65rem, 3.95vw, 4.7rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: -.047em;
  font-style: normal;
}
.hero #hero-title span,
html[lang="en"] .hero #hero-title span {
  display: inline;
  margin: 0;
  color: var(--studio-ink);
}
.hero #hero-title span:last-child,
html[lang="en"] .hero #hero-title span:last-child {
  color: var(--studio-teal);
}
.hero-description,
html[lang="en"] .hero-description {
  grid-area: intro;
  justify-self: start;
  max-width: 34ch;
  margin: 0;
  color: var(--studio-muted);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.62;

}
.studio-links {
  grid-area: links;
  justify-self: end;
  pointer-events: auto;
}
.studio-links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 5px 12px;
  border: 1px solid #53838c65;
  border-radius: 99px;
  background: #ffffffad;
  color: var(--studio-ink);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px #16384a0b;
  font-size: .88rem;
  font-weight: 700;
}
.studio-links a:is(:hover,:focus-visible) { background: #fff; border-color: #0a6971; }
.studio-film-link::before {
  content: "";
  width: .62rem;
  height: .7rem;
  background: #09696f;
  clip-path: polygon(0 0,100% 50%,0 100%);
}
.hero .product-view {
  grid-area: 2/1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
}
.hero .scene {
  grid-area: 1/1/2/-1;
  width: 100%;
  height: clamp(400px, min(55vw, 61svh), 700px);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
/* A brushed-gold orbit wraps the blue satellite. The rear half sits behind the globe. */
.studio-horizon, .studio-floorlight, .studio-shafts { position: absolute; pointer-events: none; }
.hero .scene {
  --planet-size: clamp(78px, 9.85vw, 158px);
  --planet-left: 7%;
  --planet-top: 3.5%;
  --orbit-metal: conic-gradient(from 216deg,#815021,#ddb56d 16%,#fff3ce 26%,#aa742f 43%,#efd395 58%,#9b641f 74%,#fee9ab 88%,#815021);
}
.studio-horizon {
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(ellipse 49% 74% at 4% 8%,#bcece8b3,transparent 80%),
    radial-gradient(ellipse 43% 56% at 97% 3%,#b8e1fea8,transparent 89%),
    radial-gradient(ellipse 62% 51% at 50% 45%,#ffffffeb,transparent 85%),
    linear-gradient(180deg,#eef7fb 0%,#f8fafa 48%,#dbe8e9 73%,#c4d7d9 82%,#eaf2f0 100%);
}
.studio-horizon::before, .studio-shafts::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: calc(var(--planet-size) * 1.79);
  height: calc(var(--planet-size) * .52);
  transform: rotate(-24deg);
  border-radius: 50%;
  padding: clamp(2px, .28vw, 4px);
  background: var(--orbit-metal);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.studio-horizon::before {
  left: calc(var(--planet-left) - var(--planet-size) * .395);
  top: calc(var(--planet-top) + var(--planet-size) * .25);
}
.studio-horizon::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(ellipse at 80% 71%,rgba(var(--active-rgb),.18),transparent 53%),
    radial-gradient(ellipse at 24% 20%,#c2f0ed,transparent 64%),
    linear-gradient(145deg,#f9fdfd 16%,#dff0f7 70%,#b1d3e0);
}
.studio-shafts {
  z-index: -4;
  width: var(--planet-size);
  aspect-ratio: 1;
  left: var(--planet-left);
  top: var(--planet-top);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 20% 18% at 31% 23%,#eefbff 0%,#d6f6ffb8 22%,transparent 75%),
    radial-gradient(ellipse 54% 29% at 72% 88%,#96dedf78,transparent 76%),
    radial-gradient(circle at 33% 27%,#b2effa 1%,#75cfe9 16%,#339bc8 42%,#126d9c 64%,#124f77 81%,#8bb2c4 98%);
  box-shadow: inset 1.3px 1.6px 3px #f0ffffb8, inset -2px -2px 6px #27567c50;
}
.studio-shafts::after {
  left: -39.5%;
  top: 25%;
  clip-path: inset(47% -2% -4%);
}
.studio-floorlight {
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(ellipse 12% 2% at 14% 80%,#38596e22,transparent 95%),
    radial-gradient(ellipse 31% 3% at 50% 87%,#3f627224,transparent 91%),
    linear-gradient(171deg, transparent 56%, #ffffff28 62%, transparent 69%),
    radial-gradient(ellipse 55% 17% at 67% 91%,#fff9,transparent 87%);
}
/* A second, room-scale orbit is grazed by the floor light. Its edge enters from outside the frame. */
.studio-floorlight::before {
  content: "";
  position: absolute;
  left: -19%;
  top: 31%;
  width: 133%;
  height: 51%;
  border-radius: 50%;
  border-bottom: clamp(1px,.17vw,3px) solid #bd9350ad;
  border-left: 1px solid #c59c5999;
  border-right: 1px solid #d9bb8655;
  transform: rotate(-8deg);
  box-shadow: 0 1.2px 0 #fff7;
  mask-image: linear-gradient(95deg,transparent 3%,#000 34%,#000c 58%,transparent 94%);
}
.hero .scene:is([data-shot="label"],[data-shot="lid"]) :is(.studio-floorlight,.studio-shafts) { opacity: 0; }
.hero .scene:is([data-shot="label"],[data-shot="lid"]) .studio-horizon::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .studio-horizon::after, .studio-floorlight, .studio-shafts { transition: opacity .52s cubic-bezier(.21,.7,.27,1); }
}
.hero .orbit-field {
  inset: 4% max(3%, calc((100% - 1030px) / 2));
  z-index: -1;
  background: radial-gradient(ellipse at center,#f6fffb80,transparent 69%);
}
.hero .orbit-field i {
  border-color: #a07731a3;
  box-shadow: 0 1px 0 #fff9;
}
.hero .orbit-field i:nth-child(2) { border-color: #3b919e85; }
.hero .orbit-field i:nth-child(3) { border-color: #ad915b88; }
.hero .orbit-field b { background: radial-gradient(ellipse,#fff8d8,#e8d8a944 28%,transparent 68%); }
/* These three photographic stand-ins need their own screen-space lanes while the mesh loads. */
.hero .scene-fallback { container-type: size; }
.hero .scene-fallback img {
  height: min(74cqh, 74cqw);
  top: 45.5%;
  transform: translate(-50%, -50%) rotate(7deg);
  filter: drop-shadow(3px 9px 7px #21405134);
}
.hero .scene-fallback .fallback-back-left, .hero .scene-fallback .fallback-back-right {
  height: min(51cqh, 40cqw);
  top: 49%;
  opacity: .9;
  filter: drop-shadow(2px 7px 6px #2140512b);
}
.hero .scene-fallback .fallback-back-left { left: 16%; transform: translate(-50%, -50%) rotate(-6deg); }
.hero .scene-fallback .fallback-back-right { left: 84%; transform: translate(-50%, -50%) rotate(6deg); }
@media (min-width: 760px) {
  .hero .scene-fallback .fallback-back-left { left: 23%; }
  .hero .scene-fallback .fallback-back-right { left: 77%; }
}
.hero :is(a,button):focus-visible { outline: 3px solid #0e617b; outline-offset: 2px; }
.hero .viewer-dock {
  grid-area: 2/1/3/-1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 1.8vw, 25px);
  align-items: stretch;
  width: 100%;
  margin-inline: auto;
  padding: 0 var(--studio-edge);
  color: var(--studio-ink);
  border-block: 1px solid var(--studio-seam);
  background: linear-gradient(110deg,#f8fbf7,#eef5f3 54%,#f1f7f9);
}
.hero .viewer-bar,
.hero .viewer-shop {
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 14px;
  min-height: 76px;
}
.hero .viewer-bar { grid-column: 1; }
.hero .viewer-shop { grid-column: 2; justify-self: end; }
.hero .viewer-product { gap: 12px; }
.hero .viewer-product h2 { color: var(--studio-ink); font-size: clamp(1.13rem, 1.65vw, 1.69rem); }
.hero .product-indicator {
  height: 27px;
  background: color-mix(in srgb,var(--active) 70%,#47636a);
  box-shadow: inset 0 0 0 1px #384f591e;
}
.hero .viewer-product p, .hero .shop-price small { color: var(--studio-muted); }
.hero .shop-price { display: grid; gap: .08rem; }
.hero .shop-price strong { color: var(--studio-ink); }
.hero .shop-buy {
  min-width: 108px;
  min-height: 47px;
  color: #fff;
  border: 1px solid #76653e;
  border-radius: 99px;
  background: linear-gradient(110deg,#123951,#075c66);
  box-shadow: inset 0 1px 0 #e5cfa3a8,0 3px 8px #1d515633;
}
.hero .shop-buy:hover { background: #0b5b63; }
.has-js .hero .flavor-rail.js-only {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 12px;
}
.hero .flavor-rail button {
  min-width: 0;
  gap: clamp(5px, .6vw, 10px);
  min-height: 62px;
  padding: 5px 4px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--studio-seam);
  color: #385965;
  background: transparent;
}
.hero .flavor-rail button:hover { background: #e0eeeb; color: var(--studio-ink); }
.hero .flavor-rail button[aria-pressed="true"] {
  color: var(--studio-ink);
  border-bottom-color: #1d6971;
  background: linear-gradient(0deg,#dceee9,transparent);
}
.hero .flavor-rail button[aria-pressed="true"]::after { height: 2px; background: #17717a; }
.hero .flavor-rail button:focus-visible { z-index: 2; outline-offset: -3px; }
.hero .flavor-rail i { display: none; }
.flavor-mini {
  width: 19px;
  height: 39px;
  object-fit: contain;
  transform: rotate(-9deg);
  filter: drop-shadow(2px 3px 2px #0006);
}
.hero .flavor-rail button[aria-pressed="true"] .flavor-mini { transform: rotate(-5deg) scale(1.06); }
@media (max-width: 1000px) and (min-width: 721px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr) minmax(16ch, 27ch) auto; gap: 0 12px; }
  html[lang="ps"] .hero #hero-title, html[lang="en"] .hero #hero-title { font-size: clamp(2.5rem,4.3vw,3.2rem); }
  .hero-description, html[lang="en"] .hero-description { font-size: .98rem; }
  .hero .scene { height: clamp(375px, min(53vw, 59svh), 590px); }
  .hero .viewer-dock { grid-template-columns: minmax(0,1.18fr) minmax(185px,.92fr) minmax(0,.78fr); gap: 9px; }
  .hero .viewer-bar, .hero .viewer-shop { gap: 7px; }
}
@media (max-width: 720px) {
  .hero .hero-grid { display: block; }
  .hero-copy {
    display: grid;
    width: var(--wrap);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand links" "title links";
    align-items: center;
    gap: 0 7px;
    margin-inline: auto;
    padding: 10px 0 3px;
  }
  .hero-kicker { gap: .35rem; font-size: .8rem; }
  html[lang="en"] .hero-kicker { font-size: .78rem; letter-spacing: .075em; }
  .hero-kicker > span:first-child { width: 15px; flex-basis: 15px; height: 11px; }
  html[lang="ps"] .hero #hero-title, html[lang="en"] .hero #hero-title { font-size: clamp(1.95rem,7.5vw,3.25rem); }
  .hero-description { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .studio-links { align-self: center; }
  .studio-links a { font-size: .85rem; padding-inline: .72rem; }
  .hero .scene { height: clamp(328px, 78vw, 459px); }
  .hero .scene { --planet-size: clamp(48px, 10.8vw, 73px); --planet-left: 4%; --planet-top: 1.9%; }
  .hero .viewer-dock {
    grid-area: 2/1/3/-1;
    width: var(--wrap);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 13px 0;
    border-top: 0;
    background: none;
  }
  .hero .viewer-bar, .has-js .hero .viewer-shop.js-only { display: contents !important; }
  .hero .viewer-product { grid-area: 1/1; }
  .hero .viewer-product h2 { font-size: clamp(1.25rem, 4.2vw, 1.65rem); }
  .hero .product-indicator { flex-basis: 3px; height: 30px; }
  .hero .shop-price { grid-area: 2/1; display: flex; padding-inline-start: 15px; }
  .hero .shop-buy {
    grid-area: 1/2/3/3;
    justify-self: end;
    align-self: center;
    min-width: clamp(100px, 29vw, 165px);
    min-height: 52px;
    font-size: 1.05rem;
  }
  .has-js .hero .flavor-rail.js-only {
    display: flex !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #829fa3 #e2ecea;
    padding: 0 0 5px;
    margin-bottom: 13px;
  }
  .hero .flavor-rail button { min-height: 50px; flex: 1 0 102px; }
}
@media (max-width: 520px) {
  .hero .scene { height: clamp(305px,83vw,400px); }
}
@media (forced-colors: active) {
  .hero #hero-title span, .hero #hero-title span:last-child { -webkit-text-fill-color: CanvasText; filter: none; }
}
