@font-face {
  font-family: Nunito;
  src: url("assets/nunito-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --night: 0;
  --copy-day: 1;
  --copy-night: 0;
  --page: #eceeea;
  --ink: #293330;
  --muted: #5c6760;
  --line: rgba(40, 54, 47, 0.16);
  --panel: rgba(248, 249, 245, 0.8);
  --active: #fff;
  --active-ink: #24352b;
  --halo: 0;
  --progress: 0;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Nunito, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
button {
  touch-action: manipulation;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  transform: translateY(-200%);
  z-index: 20;
  padding: 12px;
  background: var(--active);
  color: var(--active-ink);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 94px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}
.wordmark {
  font-family: Montserrat, sans-serif;
  font-size: 25px;
  letter-spacing: -1.4px;
  font-weight: 600;
}
.wordmark span {
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 3px;
}
.header-product {
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-left: -38px;
  font-weight: 650;
}
.header-link {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-link span {
  font-size: 20px;
}
.light-journey {
  height: 290svh;
  position: relative;
}
.scene {
  height: 100svh;
  min-height: 650px;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.scene-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 113px 7% 96px;
}
.scene-copy {
  text-align: center;
  position: relative;
  z-index: 2;
}
.narrative-copy {
  display: grid;
  overflow: hidden;
  contain: paint;
  padding: 12px 0;
  margin: -12px 0;
  mask-image: linear-gradient(transparent, black 12px, black calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(
    transparent,
    black 12px,
    black calc(100% - 12px),
    transparent
  );
}
.story-panel {
  grid-area: 1 / 1;
  will-change: transform, opacity;
}
.story-panel:nth-child(2) {
  transform: translate3d(0, calc(100% + 24px), 0);
}
.story-panel:nth-child(3) {
  transform: translate3d(0, calc(200% + 48px), 0);
}
.scene-copy .story-title {
  font-size: clamp(44px, 5.1vw, 76px);
  min-height: 2.04em;
}
.story-title span {
  white-space: nowrap;
}
.narrative-copy .scene-caption {
  min-height: 1.6em;
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.19em;
  font-weight: 650;
  margin: 0 0 20px;
  line-height: 1.6;
}
h1,
h2 {
  font-family: Nunito, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 0;
}
h1 {
  font-size: clamp(44px, 5.1vw, 76px);
}
.scene-caption {
  font-size: 15px;
  color: var(--muted);
  margin: 18px 0 0;
}
.product-stage {
  height: 100%;
  position: relative;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.frame-image {
  position: relative;
  height: 100%;
  max-height: 510px;
  max-width: min(90vw, 670px);
  object-fit: contain;
  z-index: 1;
  will-change: opacity, transform;
  transform: translateY(5px) scale(1.04);
}
.reference-image {
  aspect-ratio: 1;
  mask-image: radial-gradient(ellipse at center, #000 34%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 34%, transparent 72%);
}
.floor-glow {
  position: absolute;
  left: 25%;
  right: 25%;
  height: 60px;
  bottom: 0;
  background: radial-gradient(ellipse, rgba(227, 237, 246, 0.4), transparent 70%);
  opacity: var(--halo);
  filter: blur(24px);
  transform: scale(1.5);
}
.ambient-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 55% at 50% 67%,
    rgba(226, 235, 244, 0.14),
    transparent 80%
  );
  opacity: var(--halo);
}
.scene-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 47px;
}
.side-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.right-note {
  text-align: right;
}
.scroll-cue {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 25px;
  background: var(--ink);
  opacity: 0.45;
}
.journey-rail {
  position: absolute;
  right: 4.5%;
  top: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.journey-rail div {
  height: 86px;
  width: 1px;
  background: var(--line);
  position: relative;
}
.journey-rail i {
  position: absolute;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  left: -2px;
  transform: translateY(-50%);
}
.evening-marker {
  position: absolute;
  top: 64%;
  height: 1px;
  width: 1px;
  pointer-events: none;
}
.light-controls {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 3px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 60px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 3px 25px #00000005;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.light-controls.is-out-of-scene {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}
.light-controls button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50px;
  height: 44px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.35s,
    color 0.35s;
}
.light-controls button[aria-pressed="true"] {
  background: var(--active);
  color: var(--active-ink);
  box-shadow: 0 2px 8px #00000008;
}
.light-controls svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.details {
  text-align: center;
  position: relative;
  padding: 145px 24px 100px;
  max-width: 1050px;
  margin: auto;
}
.gallery {
  --gallery-edge: clamp(24px, 4.5vw, 80px);
  --gallery-gap: clamp(18px, 2vw, 28px);
  --gallery-progress: 0;
  --gallery-visible: 0.5;
  padding: 64px 0 35px;
  scroll-margin-top: 28px;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 0 var(--gallery-edge) 30px;
}
.gallery-heading h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.gallery-navigation {
  display: flex;
  gap: 10px;
  align-items: center;
}
.round-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.round-button:hover:not(:disabled) {
  background: var(--panel);
}
.round-button:disabled {
  opacity: 0.3;
  cursor: default;
}
.round-button svg,
.gallery-expand svg,
.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-progress {
  position: relative;
  width: 75px;
  height: 2px;
  background: var(--line);
  margin-right: 14px;
}
.gallery-progress i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--gallery-visible) * 100%);
  left: calc(var(--gallery-progress) * (1 - var(--gallery-visible)) * 100%);
  background: var(--ink);
  border-radius: 2px;
}
.gallery-track {
  position: relative;
  display: flex;
  gap: var(--gallery-gap);
  width: 100%;
  margin: 0;
  padding: 6px var(--gallery-edge) 22px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gallery-edge);
  scrollbar-width: none;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: -2px;
}
.gallery-card {
  flex: 0 0 min(36vw, 560px);
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-card figure {
  margin: 0;
}
.gallery-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #29332d;
  overflow: hidden;
  cursor: inherit;
  color: white;
}
.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.5s;
}
.gallery-photo:focus-visible {
  outline-color: var(--ink);
  outline-offset: 4px;
}
.gallery-expand {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: #14221c60;
  backdrop-filter: blur(10px);
}
.gallery-card figcaption {
  padding: 18px 2px 0;
}
.gallery-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.gallery-card figcaption p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.gallery-footnote {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--gallery-edge) 0;
  color: var(--muted);
  font-size: 14px;
}
.gallery-swipe-hint {
  display: none;
}
.gallery-track.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}
.gallery-track.is-dragging .gallery-photo img {
  transform: none;
}
@media (hover: hover) {
  .gallery-photo:hover img {
    transform: scale(1.015);
  }
}
@media (pointer: coarse) {
  .gallery-drag-hint {
    display: none;
  }
  .gallery-swipe-hint {
    display: inline;
  }
}
.gallery-lightbox {
  --ink: #f1f4f0;
  --muted: #b7c0ba;
  --line: #f0f4f03d;
  --panel: #29332c;
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 20px 32px 24px;
  border: 0;
  background: #111713;
  color: var(--ink);
  overscroll-behavior: contain;
  overflow: hidden;
}
.gallery-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}
.gallery-lightbox::backdrop {
  background: #111713f2;
}
.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.lightbox-close {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 5px 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 16px;
}
.lightbox-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}
.lightbox-image-area img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}
.lightbox-footer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 24px;
  width: min(100%, 960px);
  margin: 0 auto;
}
.lightbox-caption {
  text-align: center;
}
.lightbox-caption h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.lightbox-caption p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 5px 0 0;
}
@media (max-width: 700px) {
  .gallery {
    --gallery-edge: 24px;
    --gallery-gap: 16px;
    padding-top: 42px;
  }
  .gallery-heading {
    padding-bottom: 22px;
    gap: 14px;
    align-items: center;
  }
  .gallery-heading h2 {
    font-size: 32px;
  }
  .gallery-navigation {
    gap: 8px;
  }
  .gallery-progress {
    display: none;
  }
  .gallery-card {
    flex-basis: 82vw;
  }
  .gallery-card figcaption {
    padding-top: 15px;
  }
  .gallery-track {
    padding-bottom: 18px;
  }
  .gallery-footnote {
    font-size: 13px;
    gap: 12px;
  }
  .gallery-drag-hint {
    display: none;
  }
  .gallery-swipe-hint {
    display: inline;
  }
  .gallery-lightbox {
    padding: 12px 16px max(20px, env(safe-area-inset-bottom));
  }
  .gallery-lightbox[open] {
    gap: 12px;
  }
  .lightbox-footer {
    gap: 10px;
  }
  .lightbox-caption h2 {
    font-size: 18px;
  }
  .lightbox-caption p {
    font-size: 14px;
  }
}
.details h2 {
  font-size: clamp(35px, 4.4vw, 60px);
  line-height: 1.13;
}
.details-intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 26px 0 65px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-facts > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-facts > div + div {
  border-left: 1px solid var(--line);
}
.fact-value {
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.detail-facts span:last-child {
  font-size: 14px;
  color: var(--muted);
}
.replay-button {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  margin-top: 60px;
  padding: 15px 23px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--ink);
  font-size: 15px;
}
.replay-button:hover {
  background: var(--panel);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 4.5% 115px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.site-footer > span:first-child {
  font-family: Montserrat, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.08em;
  color: var(--ink);
}
.scene-copy .story-title {
  position: relative;
}
.day-copy {
  display: block;
  opacity: var(--copy-day);
}
.night-copy {
  position: absolute;
  inset: 0;
  display: block;
  opacity: var(--copy-night);
}
.frame-art {
  height: 100%;
  aspect-ratio: 1;
  max-height: 510px;
  max-width: 90vw;
  position: relative;
  transform: translateY(5px) scale(1.12);

}
.frame-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none;
  mask-image: url("assets/product-mask.svg");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("assets/product-mask.svg");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  will-change: auto;
}
.frame-off {
  /* Day image stays static underneath the light-on layer. */
}
.on-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: var(--night);
  filter: drop-shadow(0 0 5px #edf6ff65);
}
.floor-glow {
  bottom: 0;
  left: 33%;
  right: 33%;
  height: 35px;
  filter: blur(17px);
  transform: scale(1.5);
}
@media (min-height: 950px) {
  .scene-layout {
    padding-top: 140px;
    padding-bottom: 110px;
  }
  .frame-art {
    max-height: 590px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 76px;
    padding: 0 6%;
  }
  .wordmark {
    font-size: 22px;
  }
  .header-product {
    display: none;
  }
  .header-link {
    font-size: 13px;
  }
  .scene {
    min-height: 590px;
  }
  .scene-layout {
    padding: 106px 5% 100px;
    grid-template-rows: auto minmax(0, 1fr) 30px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 47px;
    line-height: 1.02;
  }
  .scene-caption {
    font-size: 14px;
    margin-top: 15px;
  }
  .frame-image {
    max-width: 100vw;
    max-height: 460px;
    transform: translateY(0) scale(1.13);
  }
  .side-note {
    display: none;
  }
  .scene-bottom {
    justify-content: center;
    min-height: 30px;
  }
  .scroll-cue {
    font-size: 12px;
    gap: 7px;
  }
  .scroll-line {
    height: 17px;
  }
  .journey-rail {
    right: 6%;
    top: 48%;
    font-size: 9px;
  }
  .journey-rail div {
    height: 65px;
  }
  .light-controls {
    bottom: max(18px, env(safe-area-inset-bottom));
    padding: 4px;
    gap: 0;
    max-width: calc(100vw - 24px);
  }
  .light-controls button {
    padding: 0 13px;
    font-size: 12px;
    gap: 6px;
  }
  .light-controls svg {
    width: 14px;
  }
  .details {
    padding: 95px 25px 65px;
  }
  .details-intro {
    font-size: 16px;
    margin: 24px 0 40px;
  }
  .details-intro br {
    display: none;
  }
  .detail-facts {
    gap: 12px;
    padding: 26px 0;
  }
  .fact-value {
    font-size: 23px;
  }
  .detail-facts > div {
    gap: 10px;
  }
  .detail-facts span:last-child {
    font-size: 12px;
    line-height: 1.5;
  }
  .replay-button {
    margin-top: 40px;
  }
  .site-footer {
    padding: 27px 6% 115px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .prototype-note {
    width: 100%;
    font-size: 11px;
  }
}
@media (max-height: 740px) and (min-width: 701px) {
  .scene-layout {
    padding-top: 95px;
    padding-bottom: 88px;
  }
  .scene-copy .story-title {
    font-size: 48px;
  }
  .scene-caption {
    margin-top: 12px;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  .scene {
    min-height: 570px;
  }
  .frame-image {
    max-height: 335px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .frame-image,
  .story-panel {
    will-change: auto;
  }
}
@media (max-width: 700px) {
  .frame-art {
    max-width: 96vw;
    max-height: 460px;
    transform: translateY(0) scale(1.13);
  }
  .frame-image {
    max-height: none;
    max-width: none;
    transform: none;
  }
  .floor-glow {
    left: 24%;
    right: 24%;
  }
}
@media (max-height: 740px) and (min-width: 701px) {
  .frame-art {
    max-height: 335px;
  }
  .frame-image {
    max-height: none;
  }
}
.product-stage {
  container-type: size;
}
.frame-art {
  width: min(100cqh, 90cqw, 590px);
  height: auto;
  max-height: none;
  max-width: none;
  flex-shrink: 0;
}
.light-controls button {
  font-size: 14px;
  color: var(--control-ink, #435148);
}
.journey-rail {
  font-size: 12px;
}
@media (max-width: 700px) {
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .light-controls button {
    font-size: 14px;
    padding: 0 9px;
  }
  .journey-rail {
    font-size: 12px;
    right: 5%;
  }
  .detail-facts span:last-child {
    font-size: 14px;
  }
  .prototype-note {
    font-size: 12px;
  }
  .frame-art {
    width: min(100cqh, 95cqw);
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .scene {
    min-height: 100svh;
  }
  .scene-layout {
    padding-top: 85px;
    padding-bottom: 92px;
  }
  .scene-copy .story-title {
    font-size: 40px;
  }
  .scene-copy .eyebrow {
    margin-bottom: 12px;
  }
  .scene-caption {
    margin-top: 10px;
  }
  .journey-rail {
    top: 48%;
  }
}
@media (max-width: 700px) {
  .scene-copy .story-title {
    font-size: clamp(34px, 12vw, 47px);
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .scene-copy .story-title {
    font-size: clamp(34px, 12vw, 40px);
  }
}

/* Only composited layers change while scrolling. Theme tokens change once. */
:root[data-led-theme="dusk"] { --ink: #000; --muted: #000; }
:root[data-led-theme="twilight"], :root[data-led-theme="night"] {
  --page: #131a17;
  --ink: #f1ecdf;
  --muted: #aeb6ab;
  --line: rgba(228, 226, 211, .17);
  --panel: rgba(36, 44, 39, .94);
  --control-ink: #c8cfc5;
  --active: #e3ebf2;
  color-scheme: dark;
}
:root[data-led-theme="twilight"] { --ink: #fff; --muted: #fff; }
.scene { background: #eceeea; isolation: isolate; }
.scene-night { position: absolute; inset: 0; background: #131a17; opacity: 0; pointer-events: none; }
.scene-night, .scene .on-layer, .scene .ambient-light, .scene .floor-glow { will-change: opacity; }
.scene .frame-off { filter: drop-shadow(0 15px 17px rgba(0, 0, 0, .13)); }
.scene .journey-rail i { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .scene-night, .scene .on-layer, .scene .ambient-light, .scene .floor-glow,
  .scene .journey-rail i, .story-panel { will-change: auto; }
}

/* The native Razorpay plugin inserts its loader on product pages. The isolated
   shell omits its checkout stylesheet, so retain only the loader presentation.
   .show remains owned by Razorpay; no native payment-button or eligibility rule
   is imported. The inactive loader must never occupy document flow. */
body.tled-page #rzp-spinner-backdrop {
  position: fixed; inset: 0; z-index: 999999999999999;
  background: #000; visibility: hidden; opacity: 0;
}
body.tled-page #rzp-spinner-backdrop.show { visibility: visible; opacity: .4; }
body.tled-page #rzp-spinner {
  position: fixed; inset: 0; margin: auto; z-index: 999999999999999;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
}
body.tled-page #rzp-spinner.show { visibility: visible; opacity: 1; }
body.tled-page #rzp-spinner #loading-indicator {
  width: 80px; height: 80px; border: 4px solid;
  border-color: #3b7cf5 transparent #3b7cf5 #3b7cf5;
  border-radius: 50%; box-sizing: content-box; margin-top: 2px;
}
body.tled-page #rzp-spinner.show #loading-indicator { animation: tled-payment-spinner 1s linear infinite; }
body.tled-page #rzp-spinner #icon { position: absolute; }
body.tled-page #rzp-spinner #rzp-logo { width: auto; height: 80px; }
@keyframes tled-payment-spinner { to { transform: rotate(360deg); } }
@media (max-width: 768px), (max-height: 768px) {
  body.tled-page #rzp-spinner #loading-indicator { width: 45px; height: 45px; }
  body.tled-page #rzp-spinner #rzp-logo { height: 45px; }
}

/* The phone is the primary composition. Larger screens keep the same interaction. */
.arrival-section {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  scroll-margin-top: -82px;
}
.arrival-heading {
  text-align: center;
}
.arrival-heading h2 {
  font-size: 32px;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.arrival-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.arrival-explorer {
  margin-top: 20px;
}
.arrival-view {
  position: relative;
  height: min(68vw, 32svh);
  min-height: 175px;
  max-height: 300px;
  margin-bottom: 18px;
  isolation: isolate;
}
.arrival-image {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mask: url("assets/product-mask.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/product-mask.svg") center / 100% 100% no-repeat;
}
.arrival-lit {
  opacity: 0;
  transition: opacity 550ms ease;
}
.arrival-glow {
  position: absolute;
  inset: 20% 4% -4%;
  background: radial-gradient(ellipse at 50% 65%, #e1efff22, transparent 64%);
  opacity: 0;
  transition: opacity 550ms ease;
  pointer-events: none;
}
.arrival-explorer[data-part="light"] .arrival-lit,
.arrival-explorer[data-part="power"] .arrival-lit,
.arrival-explorer[data-part="light"] .arrival-glow,
.arrival-explorer[data-part="power"] .arrival-glow {
  opacity: 1;
}
.arrival-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 40px;
}
.arrival-tabs button {
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 32px;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
  font-weight: 550;
  transition:
    color 200ms,
    background 200ms;
}
.arrival-tabs button[aria-selected="true"] {
  background: var(--active);
  color: var(--active-ink);
}
.arrival-tabs button:focus-visible {
  outline-offset: 1px;
}
.arrival-notes {
  display: grid;
  text-align: center;
  margin: 21px 0 24px;
}
.arrival-notes [role="tabpanel"] {
  grid-area: 1 / 1;
  min-height: 90px;
}
.arrival-notes [role="tabpanel"]:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: 5px;
  border-radius: 4px;
}
.arrival-notes h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.arrival-notes p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.support-section {
  max-width: 620px;
  margin: 0 auto;
  padding: 42px 24px 30px;
  text-align: center;
}
.upgrades-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.upgrades-heading p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.included-upgrades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 420px;
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
}
.included-upgrades li {
  min-width: 0;
}
.upgrade-light {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 132px;
  max-width: 100%;
  margin: 0 auto 12px;
  isolation: isolate;
}
.upgrade-light::before {
  content: "";
  position: absolute;
  inset: -8px -8px 5px;
  z-index: -1;
  background: radial-gradient(ellipse, #e0eeff18 0%, #d8eaff08 42%, transparent 70%);
}
.upgrade-light::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 78px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e5f1ff38, #dfeeff0a 45%, transparent 72%);
  filter: blur(3px);
}
.upgrade-lens {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 1px solid #e4f0ff26;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #e4efff0c, #e4efff02 75%);
  box-shadow:
    inset 0 1px 1px #eef5ff16,
    inset 0 -1px 1px #e2edff12,
    0 8px 28px #dfeeff05;
}
.upgrade-symbol {
  display: block;
  width: 49px;
  height: 49px;
  overflow: visible;
  fill: none;
  stroke: #edf5ff;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px #d9edff80) drop-shadow(0 0 9px #d9edff38);
}
.upgrade-light-colour .upgrade-symbol {
  width: 54px;
  height: 54px;
}
.colour-ring {
  fill-opacity: 0.055;
  mix-blend-mode: screen;
}
.colour-ring-blue {
  stroke: #bfebff;
  fill: #bfebff;
}
.colour-ring-violet {
  stroke: #dbd4ff;
  fill: #dbd4ff;
}
.colour-ring-mint {
  stroke: #d1f3e8;
  fill: #d1f3e8;
}
.upgrade-copy h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.22;
  font-weight: 550;
  margin: 0;
}
.upgrade-copy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 11px 0 13px;
}
.upgrade-price {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 13px;
  line-height: 1.5;
}
.upgrade-price s {
  color: var(--muted);
}
.delivery-section {
  --route-progress: 0;
  --arrival-light: 0;
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  text-align: center;
}
.delivery-heading h2 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0;
}
.delivery-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.delivery-route {
  position: relative;
  overflow: clip;
  height: 166px;
  margin-top: 6px;
}
.delivery-route-inner {
  position: absolute;
  inset: 0 calc(100% / 6) 0;
}
.delivery-track {
  position: absolute;
  inset: auto 0 9px;
  height: 1px;
  background: var(--line);
}
.delivery-track > span {
  display: block;
  height: 100%;
  background: #e5edf3;
  box-shadow: 0 0 9px #dfedff44;
  transform-origin: left center;
  transform: scaleX(var(--route-progress));
}
.delivery-stop {
  position: absolute;
  bottom: 6px;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--page);
  border: 1px solid var(--muted);
  transform: translateX(-50%);
}
.delivery-stop-order {
  left: 0;
  background: var(--ink);
}
.delivery-stop-ship {
  left: 50%;
}
.delivery-stop-home {
  left: 100%;
}
.delivery-section[data-route-stage="ship"] .delivery-stop-ship,
.delivery-section[data-route-stage="home"] .delivery-stop-ship,
.delivery-section[data-route-stage="home"] .delivery-stop-home {
  background: var(--ink);
}
.travelling-frame {
  position: absolute;
  inset: auto 0 26px;
  height: 114px;
  transform: translate3d(calc(var(--route-progress) * 100%), 0, 0);
  pointer-events: none;
}
.travelling-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 114px;
  height: 114px;
  transform: translateX(-50%);
  object-fit: contain;
  mask: url("assets/product-mask.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/product-mask.svg") center / 100% 100% no-repeat;
}
.travelling-image-lit {
  opacity: var(--arrival-light);
}
.travelling-glow {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 140px;
  height: 110px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #d9edff20, transparent 68%);
  opacity: var(--arrival-light);
}
.delivery-dates {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 10px 0 24px;
  padding: 0;
  gap: 3px;
}
.delivery-dates li {
  display: grid;
  gap: 5px;
}
.delivery-dates strong {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.delivery-dates span {
  color: var(--muted);
  font-size: 12px;
}
.journey-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e3edfc06;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}
.journey-trigger svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-trigger:hover {
  background: #e3edfc0d;
}
.delivery-estimate {
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.page-replay {
  padding: 14px 24px 54px;
}
.page-replay .replay-button {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 13px 0;
  min-height: 48px;
  border-color: transparent;
  border-radius: 0;
  font-size: 14px;
}
.journey-sheet {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 620px;
  max-height: 88dvh;
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #e3ebf224;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  color: #f1ecdf;
  background: #1b2420;
  box-shadow: 0 -12px 80px #0004;
  color-scheme: dark;
}
.journey-sheet::backdrop {
  background: #08100bd9;
  backdrop-filter: blur(6px);
}
.journey-sheet[open] {
  animation: journey-sheet-enter 300ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.journey-sheet-content {
  padding: 27px 24px max(30px, env(safe-area-inset-bottom));
}
.journey-sheet-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  margin-top: -16px;
  background: #1b2420;
}
.journey-sheet-header > div {
  flex: 1;
}
.journey-sheet h2 {
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0;
}
.journey-sheet-header p {
  margin: 12px 0 0;
  font-size: 13px;
  color: #aeb6ab;
  line-height: 1.5;
}
#journey-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -8px -10px 0 0;
  border: 0;
  border-radius: 50%;
  background: #dfeefd09;
  color: inherit;
}
#journey-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.journey-milestones {
  list-style: none;
  margin: 28px 0 0;
  padding: 0 0 0 7px;
}
.journey-milestones li {
  position: relative;
  padding: 0 0 23px 21px;
  border-left: 1px solid #dfeafb24;
}
.journey-milestones li:last-child {
  border-color: transparent;
  padding-bottom: 0;
}
.journey-milestones li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5c4bc;
}
.journey-milestones h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.journey-milestones h3 span {
  display: block;
  margin: 3px 0 0;
  color: #aeb6ab;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.journey-milestones p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #c3cac1;
  line-height: 1.5;
}
.journey-sheet-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #dfeafb24;
  color: #aeb6ab;
  font-size: 12px;
  line-height: 1.6;
}
@keyframes journey-sheet-enter {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 701px) {
  .arrival-section {
    padding-top: 72px;
    scroll-margin-top: -38px;
  }
  .arrival-heading h2 {
    font-size: 40px;
  }
  .arrival-view {
    height: 360px;
    max-height: 360px;
    margin-top: 30px;
    margin-bottom: 28px;
  }
  .arrival-tabs {
    max-width: 380px;
    margin: 0 auto;
  }
  .arrival-notes {
    margin-top: 25px;
  }
  .delivery-section {
    padding-top: 60px;
  }
  .delivery-heading h2 {
    font-size: 40px;
  }
  .delivery-route {
    height: 195px;
  }
  .travelling-frame,
  .travelling-image {
    height: 140px;
  }
  .travelling-image {
    width: 140px;
  }
  .delivery-dates strong {
    font-size: 16px;
  }
  .delivery-dates span {
    font-size: 13px;
  }
  .journey-milestones h3 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }
  .journey-sheet-content {
    padding: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-sheet[open] {
    animation: none;
  }
  .arrival-lit,
  .arrival-glow,
  .arrival-tabs button {
    transition: none;
  }
}

@font-face {
  font-family: LED Script;
  src: url("assets/builder/DancingScript-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: LED Serif;
  src: url("assets/builder/Lora.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
/* Header controls are in document flow; nothing floats over the product. */
.site-header {
  height: 82px;
  padding: 0 20px;
  gap: 12px;
}
.site-header .wordmark {
  font-size: 21px;
}
.site-header .light-controls {
  position: static;
  inset: auto;
  transform: none;
  max-width: none;
  margin: 0;
  padding: 3px;
  gap: 0;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header .light-controls button {
  height: 44px;
  min-width: 44px;
  padding: 0 8px;
  font-size: 12px;
}
.site-header .light-controls button span {
  display: none;
}
.site-header .light-controls button[data-mode="auto"] {
  min-width: 80px;
}
.site-header .light-controls svg {
  width: 16px;
  height: 16px;
}
.personalise-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 54px;
  width: 100%;
  padding: 13px 22px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--active);
  color: var(--active-ink);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 0 28px #e0edff0a;
}
.builder-invitation {
  max-width: 620px;
  padding: 42px 24px 34px;
  margin: auto;
  text-align: center;
}
.builder-invitation h2 {
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}
.builder-invitation p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
}
.builder-invitation > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.product-builder-dock {
  position: fixed;
  z-index: 15;
  inset: auto 0 0;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  backdrop-filter: blur(18px);
  box-shadow: 0 -6px 30px #07170e08;
}
.product-builder-dock > div {
  min-width: 83px;
}
.product-builder-dock > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.product-builder-dock strong {
  font-size: 19px;
  font-weight: 600;
}
.product-builder-dock > button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--active);
  color: var(--active-ink);
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
}
.product-builder-dock svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body:has(dialog[open]) .product-builder-dock {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 600px) {
  .product-builder-dock {
    border-radius: 0;
    border-inline: 0;
    padding-inline: 16px;
    gap: 12px;
  }
}
.led-builder {
  --builder-ink: #eef1e9;
  --builder-muted: #adb9b0;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  background: #141d18;
  color: var(--builder-ink);
  color-scheme: dark;
  overflow: clip;
}
.led-builder::backdrop,
.preview-bag::backdrop {
  background: #08100bee;
  backdrop-filter: blur(10px);
}
.led-builder[open] {
  display: block;
}
.led-builder [hidden],
.preview-bag [hidden] {
  display: none !important;
}
.builder-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-width: 1180px;
  margin: auto;
  position: relative;
}
.builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 10px;
  min-height: 76px;
}
.builder-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #a6b5ab;
  margin-bottom: 5px;
}
.builder-header h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
}
.builder-icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #e4eef522;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 18px;
}
.builder-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 20px;
  padding-bottom: 12px;
  gap: 4px;
  border-bottom: 1px solid #e3efeb18;
}
.builder-steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 7px 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #aab6ad;
  font-size: 13px;
}
.builder-steps button span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  border: 1px solid #dcebe727;
}
.builder-steps [aria-current="step"] {
  color: #eaf2ec;
  background: #e5f0ec0c;
}
.builder-steps [aria-current="step"] span {
  background: #e5f0ef;
  color: #24372c;
  border-color: transparent;
}
.builder-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  min-height: 0;
}
.builder-workspace {
  padding: 0 20px 24px;
}
.builder-preview {
  padding: 8px 0 20px;
  text-align: center;
}
.builder-preview-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(210px, 33svh, 300px);
  isolation: isolate;
  transition: background 0.5s ease;
}
.builder-preview-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 70%, #d3e7ff19, transparent 62%);
  opacity: 1;
  transition: opacity 0.5s;
}
.builder-product {
  position: relative;
  height: 85%;
  aspect-ratio: 0.77;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.builder-acrylic {
  position: relative;
  width: 87%;
  max-height: 92%;
  aspect-ratio: 1000/1446;
  flex-shrink: 1;
  min-height: 0;
  border: 1px solid #e7f5ff9c;
  border-radius: 7% / 5%;
  padding: 2px;
  box-shadow:
    0 0 4px #dcebff66,
    0 0 22px #dceaff20;
  transition:
    border-color 0.5s,
    box-shadow 0.5s;
}
.builder-artwork {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6% / 4%;
  touch-action: pan-y;
  outline-offset: 6px;
  object-fit: contain;
}
.led-builder[data-step="0"] #builder-canvas.has-photo {
  touch-action: none;
  cursor: grab;
}
.led-builder[data-step="0"] #builder-canvas.has-photo:active {
  cursor: grabbing;
}
.builder-base {
  position: relative;
  display: block;
  width: 110%;
  height: auto;
  flex-shrink: 0;
  margin-top: -7%;
  z-index: 1;
  filter: drop-shadow(0 9px 8px #0006);
}
.builder-base-lit {
  opacity: 1;
  transition: opacity 0.5s;
}
.builder-preview-scene[data-lit="false"] .builder-base-lit,
.builder-preview-scene[data-lit="false"] .builder-preview-halo {
  opacity: 0;
}
.builder-preview-scene[data-lit="false"] .builder-acrylic {
  border-color: #b7bcb566;
  box-shadow:
    0 0 1px #eaf0f333,
    0 8px 25px #0003;
}
.builder-light-switch {
  display: inline-flex;
  border: 1px solid #e3edf223;
  border-radius: 40px;
  padding: 3px;
  gap: 3px;
}
.builder-light-switch button {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #b3bdb5;
  font-size: 13px;
}
.builder-light-switch [aria-pressed="true"] {
  background: #e5edf2;
  color: #293b30;
}
.builder-light-switch svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.builder-editors h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 10px;
  outline: none;
}
.builder-help {
  font-size: 14px;
  line-height: 1.6;
  color: #acbbb0;
  margin: 0 0 18px;
}
.builder-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: 100%;
  min-height: 48px;
  padding: 12px 17px;
  border: 0;
  border-radius: 32px;
  background: #e5eef1;
  color: #25372e;
  font-size: 15px;
  font-weight: 650;
}
.builder-primary:disabled {
  opacity: 0.45;
  cursor: wait;
}
.builder-text-button {
  display: block;
  margin: 8px auto 0;
  min-height: 44px;
  padding: 10px 12px;
  background: none;
  border: 0;
  color: #c9d5cd;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.builder-file-note {
  font-size: 12px;
  line-height: 1.6;
  color: #97a99c;
  text-align: center;
  margin: 10px 0 0;
}

.led-builder input[type="range"] {
  accent-color: #d7e5df;
  display: block;
  width: 100%;
  height: 36px;
  margin: 3px 0 7px;
  cursor: pointer;
  touch-action: pan-y;
}
.crop-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
}
.crop-buttons button {
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid #e2efea20;
  border-radius: 12px;
  font-size: 13px;
  color: #c6d4ca;
  background: transparent;
}
.builder-photo-quality {
  font-size: 12px;
  line-height: 1.5;
  color: #b8c6bd;
  margin: 13px 0 0;
}
.word-edit {
  position: relative;
  width: 100%;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px 28px 16px 0;
  margin: 0 0 3px;
  border: 0;
  border-top: 1px solid #e4efe321;
  border-radius: 0;
  background: transparent;
  color: #dce6dc;
}
.word-edit > span:first-child {
  font-size: 13px;
  color: #a6b6aa;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.word-edit small {
  font-size: 11px;
  color: #92a397;
}
.word-edit strong {
  display: block;
  font-weight: 400;
  line-height: 1.5;
  font-size: 17px;
  margin-top: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.word-edit-arrow {
  position: absolute;
  right: 0;
  top: 35px;
}
.builder-fonts,
.builder-payment {
  border: 0;
  padding: 0;
  margin: 22px 0;
}
.builder-fonts legend,
.builder-payment legend {
  font-size: 14px;
  padding: 0;
  margin: 0 0 10px;
  color: #d5e0d7;
}
.font-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.font-choices button {
  flex: 1;
  min-height: 44px;
  border: 1px solid #dce8e320;
  border-radius: 12px;
  background: transparent;
  color: #cbd8cf;
  font-size: 14px;
  padding: 7px 9px;
}
.font-choices button[aria-pressed="true"] {
  border-color: #dae9e699;
  background: #e8f3ef0d;
  color: #f0f4ee;
}
.font-script {
  font-family:
    LED Script,
    cursive;
  font-size: 19px !important;
}
.font-serif {
  font-family:
    LED Serif,
    serif;
}

.extra-group {
  margin: 24px 0 26px;
}
.extra-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.extra-heading h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.extra-heading > span {
  font-size: 13px;
  color: #b5c5b9;
}
.extra-options {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 106px;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 10px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #617668 transparent;
}
.extra-card {
  position: relative;
  scroll-snap-align: start;
}
.extra-option {
  width: 100%;
  height: 100%;
  padding: 5px 5px 10px;
  min-height: 143px;
  background: #e1f2e805;
  border: 1px solid #e2ede520;
  border-radius: 13px;
  color: #c9d9cd;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
}
.extra-zoom {
  position: absolute;
  top: 56px;
  right: 3px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #f2f7f4;
  background: transparent;
}
.extra-zoom::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #e8f2ec70;
  border-radius: 50%;
  background: #15251eef;
  box-shadow: 0 2px 6px #0003;
}
.extra-zoom:hover::before,
.extra-zoom:focus-visible::before {
  background: #385345;
  border-color: #e8f2ec;
}
.extra-zoom:focus-visible {
  outline-offset: 0;
}
.extra-zoom svg {
  position: relative;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.extra-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: #121d17;
  color: #edf3ed;
  overflow: hidden;
  color-scheme: dark;
}
.extra-lightbox::backdrop {
  background: #0d1714ed;
}
.extra-lightbox-inner {
  height: 100%;
  max-width: 820px;
  padding: max(14px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  margin: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}
.extra-lightbox header,
.extra-lightbox footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.extra-lightbox h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.extra-lightbox figure {
  margin: 0;
  min-height: 0;
}
.extra-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.extra-lightbox footer {
  font-size: 13px;
  color: #b8c9bc;
}
.extra-lightbox-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
#extra-lightbox-counter {
  min-width: 32px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.extra-lightbox button:disabled {
  opacity: 0.3;
  cursor: default;
}
.extra-option img {
  display: block;
  width: 94px;
  height: 94px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto 9px;
}
.extra-option .no-extra {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  font-size: 26px;
  color: #93a497;
  margin-bottom: 9px;
}
.extra-option span:last-child {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}
.extra-option[aria-pressed="true"] {
  border-color: #dfeddf;
  background: #e5f1e50c;
}
.extra-option[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e7eee7;
  color: #263c2b;
  font-size: 13px;
  line-height: 20px;
}
.extra-selected {
  font-size: 13px;
  color: #a7baac;
  margin: 9px 0 0;
}
.review-words {
  border-top: 1px solid #e0efe323;
  border-bottom: 1px solid #e0efe323;
  padding: 16px 0;
  text-align: center;
}
.review-words > span {
  font-family:
    LED Script,
    cursive;
  font-size: 27px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-words > p {
  font-size: 15px;
  color: #c1cfc3;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin: 10px 0 0;
}
.review-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.review-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #c4d4c8;
}
.review-extra img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}
.builder-payment label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  border-top: 1px solid #deede425;
  padding: 12px 0;
  font-size: 15px;
  cursor: pointer;
}
.builder-payment input {
  accent-color: #dceadc;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.builder-payment label > span {
  flex: 1;
}
.builder-payment small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #aabbaf;
  margin-top: 4px;
}
.builder-payment strong {
  font-size: 16px;
  font-weight: 500;
}
.builder-totals {
  margin: 20px 0;
  font-size: 14px;
}
.builder-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 9px 0;
  color: #b8c9bd;
}
.builder-totals dd {
  margin: 0;
  white-space: nowrap;
}
.builder-totals > div:last-child {
  border-top: 1px solid #e1ede320;
  margin-top: 16px;
  padding-top: 16px;
  color: #edf3e9;
  font-size: 18px;
}
.builder-feedback {
  color: #e4d7b6;
  font-size: 14px;
  line-height: 1.5;
  margin: 15px 0 0;
  overflow-wrap: anywhere;
}
.builder-feedback:empty {
  display: none;
}
.builder-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: #17221bcc;
  padding: 12px 20px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid #d5ebda20;
  backdrop-filter: blur(14px);
}
.builder-footer > div {
  min-width: 90px;
  max-width: 45%;
}
.builder-footer strong {
  display: block;
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.builder-footer > div > span {
  font-size: 11px;
  line-height: 1.3;
  color: #a1b4a5;
  display: block;
  margin-top: 3px;
}
.builder-footer .builder-primary {
  width: auto;
  min-width: 144px;
  max-width: 58%;
  font-size: 14px;
  padding: 12px 17px;
}
/* Enter safe typing mode from focus, not from keyboard/viewport events. */
.led-builder.is-typing .builder-scroll,
.led-builder.is-typing .builder-steps,
.led-builder.is-typing .builder-footer {
  visibility: hidden;
  pointer-events: none;
}
.builder-typing {
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  padding: 0 20px;
  background: #141d18;
  z-index: 3;
}
.typing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
}
.typing-toolbar label {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.typing-toolbar button {
  min-height: 44px;
  border: 1px solid #dcecdc38;
  border-radius: 30px;
  background: #e5f0e512;
  color: #e3ece0;
  font-size: 14px;
  padding: 9px 17px;
}
#typing-input {
  width: 100%;
  height: 95px;
  max-height: 120px;
  resize: none;
  border: 1px solid #cbdcc83f;
  border-radius: 15px;
  background: #e6f0e605;
  color: #f1f5ed;
  font-family: Nunito, sans-serif;
  font-size: 22px;
  line-height: 1.4;
  padding: 14px;
  outline-offset: 3px;
  scroll-margin-top: 0;
}
.typing-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: #a1b49f;
}
.typing-meta span:first-child {
  max-width: 75%;
}
.preview-bag {
  width: min(100% - 24px, 520px);
  max-height: 85dvh;
  border: 1px solid #dbe7dc33;
  border-radius: 24px;
  padding: 0;
  background: #1a261e;
  color: #eaf0e7;
  color-scheme: dark;
  overscroll-behavior: contain;
}
.preview-bag-inner {
  padding: 24px;
}
.preview-bag header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.preview-bag h2 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 0;
}
.preview-bag-inner > p {
  font-size: 13px;
  color: #b4c5b7;
  line-height: 1.5;
  margin: 15px 0 22px;
}
.bag-item {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid #d7e8da20;
  padding: 18px 0;
}
.bag-item img {
  width: 76px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  background: #111c15;
}
.bag-item > div {
  min-width: 0;
  flex: 1;
}
.bag-item h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 0 0 8px;
}
.bag-item p {
  font-size: 13px;
  line-height: 1.5;
  color: #b5c8b9;
  margin: 4px 0;
}
.bag-item a {
  font-size: 13px;
  display: inline-block;
  margin-top: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 701px) {
  .site-header {
    height: 94px;
    padding: 0 4.5%;
  }
  .site-header .wordmark {
    font-size: 25px;
  }
  .site-header .light-controls button {
    padding: 0 14px;
    height: 44px;
    font-size: 13px;
  }
  .site-header .light-controls button span {
    display: inline;
  }
  .builder-header {
    padding: 20px 30px;
  }
  .builder-header h2 {
    font-size: 24px;
  }
  .builder-steps {
    max-width: 440px;
    margin: 0 30px 0 auto;
    width: calc(50% - 40px);
  }
  .builder-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 28px 30px 40px;
    align-items: start;
  }
  .builder-preview {
    position: sticky;
    top: 0;
  }
  .builder-preview-scene {
    height: min(58vh, 510px);
  }
  .builder-editors {
    max-width: 440px;
  }
  .builder-editors h3 {
    font-size: 32px;
  }
  .builder-footer {
    padding: 16px 30px;
  }
  .builder-footer .builder-primary {
    min-width: 240px;
  }
  .builder-typing {
    top: 120px;
    max-width: 560px;
    left: 50%;
    transform: translateX(-50%);
  }
  #typing-input {
    height: 130px;
  }
  .builder-invitation {
    padding-top: 60px;
  }
}
@media (max-width: 360px) {
  .site-header {
    padding-inline: 16px;
    gap: 8px;
  }
  .site-header .wordmark {
    font-size: 19px;
  }
  .site-header .light-controls button {
    min-width: 44px;
    padding-inline: 6px;
  }
  .site-header .light-controls button[data-mode="auto"] {
    min-width: 78px;
  }
  .builder-header {
    padding-inline: 16px;
  }
  .builder-steps {
    margin-inline: 16px;
  }
  .builder-workspace {
    padding-inline: 16px;
  }
  .builder-footer {
    padding-inline: 16px;
    gap: 8px;
  }
  .builder-footer .builder-primary {
    min-width: 132px;
    font-size: 13px;
  }
  .builder-preview-scene {
    height: 210px;
  }
  .builder-editors h3 {
    font-size: 25px;
  }
  .builder-typing {
    padding-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .builder-scroll {
    scroll-behavior: auto;
  }
  .builder-preview-scene,
  .builder-preview-halo,
  .builder-acrylic,
  .builder-base-lit {
    transition: none;
  }
}
.typing-live-preview {
  max-width: 300px;
  margin: 24px auto 0;
  opacity: 0.92;
}
.typing-live-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
@media (max-height: 700px) and (max-width: 700px) {
  .builder-header {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 6px;
  }
  .builder-header h2 {
    font-size: 18px;
  }
  .builder-steps {
    padding-bottom: 7px;
  }
  .builder-steps button {
    min-height: 36px;
  }
  .builder-preview {
    padding-top: 0;
  }
  .builder-preview-scene {
    height: 150px;
  }
  .builder-product {
    height: 94%;
  }
  .builder-light-switch button {
    height: 32px;
  }

  .builder-editors h3 {
    font-size: 24px;
  }
  .builder-help {
    margin-bottom: 13px;
  }
  .builder-typing {
    top: 68px;
  }
  .typing-live-preview {
    max-width: 245px;
    margin-top: 18px;
  }
}
.bag-remove {
  display: inline-block;
  margin: 6px 0 0 10px;
  min-height: 36px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #b3c7b7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.empty-bag {
  font-size: 14px;
  line-height: 1.5;
  color: #bcccbf;
  margin: 16px 0 24px;
}
/* Photo and Words are composed workspaces, sized from the available screen. */
.led-builder:is([data-step="0"], [data-step="1"]) .builder-workspace {
  height: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(164px, 1fr) auto;
  gap: 0;
  padding-block: 0 10px;
}
.led-builder:is([data-step="0"], [data-step="1"]) .builder-preview {
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  padding: 5px 0 10px;
  gap: 4px;
}
.led-builder:is([data-step="0"], [data-step="1"]) .builder-preview-scene {
  height: 100%;
  width: 100%;
  min-height: 0;
}
.builder-product {
  height: 90%;
}
.builder-acrylic {
  width: 78%;
  flex-shrink: 0;
  max-height: none;
  padding: 1px;
  border-color: #f4faff;
  box-shadow:
    0 0 3px 1px #fff9,
    0 0 16px #edf6ff55,
    0 0 42px #e5efff22;
}
.builder-acrylic::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 -7px 16px #f4faff30,
    inset 0 0 4px #fff8;
  background: linear-gradient(0deg, #edf7ff26, transparent 38%);
  opacity: 1;
  transition: opacity 0.55s ease;
}
.builder-artwork {
  filter: brightness(1.12) saturate(1.05);
  transition: filter 0.55s ease;
}
.builder-base {
  width: 100%;
}
.builder-base-unlit {
  filter: brightness(0.48) saturate(0.65);
}
.builder-base-lit {
  filter: drop-shadow(0 0 5px #fff9);
}
.builder-preview-halo {
  inset: -4% -8%;
  background: radial-gradient(ellipse at 50% 57%, #e9f3ff30, #d9e8ff0b 40%, transparent 69%);
}
.builder-preview-scene::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e6f1ff50, #e9f3ff14 44%, transparent 72%);
  filter: blur(7px);
  opacity: 1;
  z-index: -1;
  transition: opacity 0.55s ease;
}
.builder-preview-scene[data-lit="false"] .builder-artwork {
  filter: brightness(0.72) saturate(0.86);
}
.builder-preview-scene[data-lit="false"] .builder-acrylic::after,
.builder-preview-scene[data-lit="false"]::after {
  opacity: 0;
}
.builder-preview-scene[data-lit="false"] .builder-acrylic {
  border-color: #939d9680;
  box-shadow: 0 4px 14px #0005;
}
.builder-light-switch {
  padding: 0;
}
.builder-light-switch button {
  height: 44px;
}
.frame-word-target {
  position: absolute;
  z-index: 2;
  left: 4.7%;
  width: 90.6%;
  height: 11.75%;
  border: 1px dashed transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: text;
}
.frame-heading-target {
  top: 75.2%;
}
.frame-message-target {
  top: 86.95%;
}
.frame-word-target:hover:not(:disabled),
.frame-word-target:focus-visible {
  border-color: #fff9;
  background: #e8f6ff12;
  outline-offset: 2px;
}
.frame-word-target:disabled {
  display: none;
}
.photo-actions,
.crop-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.photo-actions > button,
.crop-buttons button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #dbe9e02a;
  border-radius: 14px;
  color: #e0ebe4;
  background: #dae8e908;
  white-space: nowrap;
}
.photo-actions > #choose-photo {
  flex: 1;
  padding-inline: 8px;
  background: #c5d6cc;
  border-color: #c5d6cc;
  color: #20372a;
  font-weight: 650;
}
.photo-actions > #choose-photo:hover:not(:disabled) {
  background: #d7e5dd;
  border-color: #d7e5dd;
}
.crop-buttons {
  flex-wrap: nowrap;
}
.crop-buttons button {
  padding-inline: 9px;
}
.crop-buttons #remove-photo {
  min-width: 44px;
  font-size: 20px;
  padding-inline: 8px;
}
.photo-actions #sample-photo {
  margin: 0;
  border: 0;
  text-decoration: none;
}
.photo-zoom-row,
.backdrop-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 12px;
  color: #acbcb1;
}
.photo-zoom-row input[type="range"],
.backdrop-control input[type="range"] {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 44px;
  margin: 0;
}
.photo-zoom-row output {
  min-width: 33px;
  font-variant-numeric: tabular-nums;
}
.photo-gesture-hint {
  margin: 0;
  font-size: 11px;
  color: #9cab9f;
  text-align: center;
}
.builder-photo-quality {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.4;
}
.word-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e1ebe320;
  gap: 8px;
}
.word-tabs button {
  position: relative;
  min-height: 44px;
  border: 0;
  padding: 8px;
  font-size: 14px;
  color: #99aaa0;
  background: transparent;
}
.word-tabs button[aria-selected="true"] {
  color: #f0f5f2;
}
.word-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 20%;
  right: 20%;
  bottom: 0;
  background: #e1edf3;
  box-shadow: 0 0 9px #deeeff66;
  border-radius: 2px;
}
.word-control-panel {
  height: 112px;
  padding-top: 8px;
}
.word-edit {
  min-height: 96px;
  height: 100%;
  margin: 0;
  padding: 8px 24px 8px 0;
  border: 0;
  justify-content: center;
}
.word-edit strong {
  line-height: 1.25;
  font-size: 16px;
  margin-top: 5px;
}
.word-edit > span:first-child {
  font-size: 12px;
}
.word-edit-arrow {
  top: 50%;
  transform: translateY(-50%);
}
.builder-fonts {
  margin: 0 0 3px;
}
.font-choices {
  flex-wrap: nowrap;
}
.font-choices button {
  padding-inline: 6px;
}
.font-choices .font-script {
  font-size: 18px !important;
}
.led-builder:is([data-step="0"], [data-step="1"]) .builder-feedback {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
@media (min-width: 701px) {
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-workspace {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: minmax(220px, 1fr);
    gap: 44px;
    padding-block: 20px 28px;
    align-items: stretch;
  }
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-editors {
    align-self: center;
    width: 100%;
  }
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-preview-scene {
    max-height: 580px;
    align-self: end;
  }
}
@media (max-height: 700px) and (max-width: 700px) {
  .builder-steps button {
    min-height: 44px;
  }
  .builder-light-switch button {
    height: 44px;
  }
  .builder-product {
    height: 94%;
  }
}
@media (prefers-reduced-motion: reduce) {
  #builder-canvas,
  .builder-acrylic::after,
  .builder-preview-scene::after {
    transition: none;
  }
}

@media (max-width: 700px) {
  .builder-product {
    max-height: calc((100vw - 56px) * 1.29);
  }
}

.photo-upload-status {display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:12px;line-height:1.4;margin:8px 0;color:var(--muted);}
.photo-upload-status[hidden],.photo-upload-status [hidden] {display:none;}
.photo-upload-status progress {width:64px;height:6px;accent-color:#51765b;}
.photo-upload-status button {min-height:36px;padding:6px 10px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;font:inherit;cursor:pointer;}

.payment-shipping-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
#payment-options {
  scroll-margin-top: 24px;
}
.payment-choices {
  --payment-ink: var(--ink);
  --payment-muted: var(--muted);
  --payment-line: var(--line);
  --payment-fill: color-mix(in srgb, var(--ink) 5%, transparent);
  --payment-glow: color-mix(in srgb, var(--ink) 12%, transparent);
  --payment-badge-ink: var(--page);
  margin: 28px 0 0;
  text-align: left;
  color: var(--payment-ink);
}
.led-builder .payment-choices {
  --payment-ink: #eef1e9;
  --payment-muted: #adb9b0;
  --payment-line: #deede425;
  --payment-fill: #d7eff009;
  --payment-glow: #e9f8ff18;
  --payment-badge-ink: #18231c;
}
.payment-choices [hidden] {
  display: none !important;
}
.payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--payment-muted);
}
.payment-total strong {
  color: var(--payment-ink);
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}
.payment-inclusions {
  margin: -6px 0 22px;
}
.payment-inclusions > p {
  margin: 0 0 16px;
  color: var(--payment-muted);
  font-size: 13px;
  line-height: 1.5;
}
.payment-saving-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--payment-line);
  border-radius: 18px;
  background: linear-gradient(110deg, var(--payment-glow), var(--payment-fill) 75%);
  box-shadow:
    inset 0 1px 0 var(--payment-glow),
    0 7px 30px var(--payment-fill);
}
.payment-saving-badge {
  flex: 0 0 59px;
  width: 59px;
  min-height: 59px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 16px;
  background: var(--payment-ink);
  color: var(--payment-badge-ink);
  box-shadow: 0 0 24px var(--payment-glow);
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
}
.payment-saving-badge small {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 650;
  margin-top: 4px;
}
.payment-saving-highlight strong {
  display: block;
  color: var(--payment-ink);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.payment-saving-highlight > span > span {
  display: block;
  margin-top: 4px;
  color: var(--payment-muted);
  font-size: 12px;
}
.payment-choices fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.payment-choices legend {
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.payment-option {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 145px;
  padding: 15px 12px 12px;
  border: 1px solid var(--payment-line);
  border-radius: 18px;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}
.payment-option:has(input:checked) {
  border-color: var(--payment-muted);
  background: var(--payment-fill);
  box-shadow:
    inset 0 1px 15px var(--payment-glow),
    0 0 20px var(--payment-glow);
}
.payment-option:has(input:focus-visible) {
  outline: 2px solid var(--payment-ink);
  outline-offset: 3px;
}
.payment-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.payment-option::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}
.payment-option:has(input:checked)::after {
  background: var(--payment-ink);
  box-shadow: 0 0 9px var(--payment-ink);
}
.payment-option-title {
  font-size: 13px;
  font-weight: 600;
  padding-right: 9px;
}
.payment-option-detail {
  font-size: 12px;
  color: var(--payment-muted);
  margin-top: 5px;
}
.payment-option strong {
  font-size: clamp(19px, 5.5vw, 23px);
  font-weight: 550;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-top: auto;
  padding-top: 12px;
}
.payment-option-caption {
  font-size: 11px;
  color: var(--payment-muted);
  margin-top: 1px;
}
.payment-explanation {
  min-height: 185px;
  padding-top: 22px;
}
.payment-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.payment-stages li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-right: 5px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--payment-muted);
}
.payment-stages li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 10px;
  right: 0;
  height: 1px;
  background: var(--payment-line);
}
.payment-stage-dot {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--payment-muted);
  border-radius: 50%;
  margin-bottom: 2px;
}
.payment-stages li:first-child .payment-stage-dot {
  background: var(--payment-ink);
  border-color: var(--payment-ink);
  box-shadow:
    0 0 12px var(--payment-glow),
    0 0 5px var(--payment-ink);
}
.payment-stages strong {
  color: var(--payment-ink);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.payment-choices p.payment-terms {
  font-size: 11px;
  line-height: 1.55;
  color: var(--payment-muted);
  margin: 16px 0 0;
}
.payment-full-details {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
}
.payment-full-details strong,
.payment-full-details div > span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}
.payment-full-details div > span {
  color: var(--payment-muted);
  font-size: 12px;
}
.payment-settled {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--payment-fill);
  box-shadow: 0 0 24px var(--payment-glow);
  border: 1px solid var(--payment-line);
}
.arrival-section .personalise-button {
  margin-top: 4px;
}
@media (min-width: 960px) {
  .builder-invitation {
    max-width: 620px;
  }
  .payment-option {
    padding: 18px 16px 15px;
  }
  .payment-option-title {
    font-size: 14px;
  }
  .payment-option::after {
    top: 18px;
  }
  .payment-explanation {
    min-height: 174px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .payment-option {
    transition: none;
  }
}

/* Desktop composition; the compact phone workspace keeps its own layout. */
@media (min-width: 960px) {
  .product-builder-dock {
    inset: auto 24px 24px auto;
    width: 320px;
    max-width: none;
    margin: 0;
    padding: 12px 14px;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
  }
  .product-builder-dock > div {
    min-width: 70px;
  }
  .product-builder-dock > button {
    font-size: 14px;
    gap: 10px;
  }

  .builder-shell {
    width: calc(100% - 64px);
    max-width: 1120px;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 31vw, 400px);
    grid-template-rows: auto minmax(24px, 1fr) auto minmax(0, auto) auto minmax(24px, 1fr);
    column-gap: clamp(32px, 4vw, 56px);
  }
  .builder-header {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 24px 0 12px;
  }
  .builder-header h2 {
    font-size: 24px;
  }
  .builder-steps {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 16px;
  }
  .builder-steps button {
    min-height: 44px;
    font-size: 14px;
  }

  /* Expose preview and tools to one shared grid without duplicating the mobile DOM. */
  .led-builder .builder-scroll,
  .led-builder .builder-workspace,
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-workspace {
    display: contents;
  }
  .led-builder .builder-preview,
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-preview {
    grid-column: 1;
    grid-row: 2 / -1;
    position: relative;
    top: auto;
    align-self: stretch;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: 8px;
    padding: 12px 0 34px;
  }
  .led-builder .builder-preview-scene,
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-preview-scene {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
  }
  .builder-product {
    height: min(90%, 600px);
  }
  .led-builder .builder-editors,
  .led-builder:is([data-step="0"], [data-step="1"]) .builder-editors {
    grid-column: 2;
    grid-row: 4;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    max-height: calc(100dvh - 280px);
    max-width: none;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: #617668 transparent;
  }
  .builder-footer {
    grid-column: 2;
    grid-row: 5;
    padding: 20px 0 0;
    margin: 0;
    gap: 16px;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
  }
  .builder-footer .builder-primary {
    min-width: 0;
    max-width: none;
    flex: 1;
  }
  .builder-footer > div {
    min-width: 86px;
    max-width: 42%;
  }
  .photo-actions > button,
  .crop-buttons button {
    font-size: 14px;
  }
  .photo-zoom-row,
  .backdrop-control {
    font-size: 14px;
    margin-top: 10px;
  }
  .photo-gesture-hint {
    font-size: 12px;
    margin-top: 8px;
  }
  .word-control-panel {
    height: 142px;
  }
  .word-edit > span:first-child {
    font-size: 14px;
  }
  .word-edit small {
    font-size: 12px;
  }
  .word-edit strong {
    margin-top: 12px;
    font-size: 18px;
  }
  .builder-editors h3 {
    font-size: 28px;
  }
  .builder-help {
    font-size: 16px;
  }

  /* The same input stays in the tool column while the full frame remains live. */
  .led-builder.is-typing .builder-scroll,
  .led-builder.is-typing .builder-steps,
  .led-builder.is-typing .builder-footer {
    visibility: visible;
    pointer-events: auto;
  }
  .led-builder.is-typing .builder-editors {
    display: none;
  }
  .builder-typing {
    grid-column: 2;
    grid-row: 4;
    position: static;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 280px);
    overflow: auto;
    padding: 24px 0;
    background: transparent;
  }
  #typing-input {
    height: 150px;
    max-height: none;
    font-size: 22px;
    outline-offset: -3px;
  }
  .typing-meta {
    font-size: 12px;
  }
  .typing-live-preview {
    display: none;
  }
  .led-builder[data-editing-word="heading"] .frame-heading-target,
  .led-builder[data-editing-word="message"] .frame-message-target {
    border-color: #f4faff80;
    background: #e8f6ff0d;
  }
  .extra-options {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }
  .extra-option img,
  .extra-option .no-extra {
    width: 100%;
    max-width: 110px;
  }
  .extra-group:first-child {
    margin-top: 20px;
  }
  .extra-group:last-child {
    margin-bottom: 0;
  }

  .support-section {
    max-width: 1040px;
    padding: 80px 32px 60px;
  }
  .upgrades-heading h2 {
    font-size: 36px;
  }
  .upgrades-heading p {
    font-size: 16px;
  }
  .included-upgrades {
    max-width: 680px;
    gap: 96px;
    margin-top: 40px;
  }
  .upgrade-light {
    width: 164px;
    height: 176px;
    margin-bottom: 20px;
  }
  .upgrade-lens {
    width: 128px;
    height: 128px;
  }
  .upgrade-symbol {
    width: 64px;
    height: 64px;
  }
  .upgrade-light-colour .upgrade-symbol {
    width: 70px;
    height: 70px;
  }
  .upgrade-light::after {
    width: 110px;
    height: 18px;
  }
  .upgrade-copy h3 {
    font-size: 23px;
  }
  .upgrade-copy p {
    font-size: 16px;
  }
  .upgrade-price {
    font-size: 14px;
  }

  .delivery-section {
    max-width: 1040px;
    padding: 64px 32px 56px;
  }
  .delivery-heading h2 {
    font-size: 48px;
  }
  .delivery-heading p {
    font-size: 16px;
  }
  .delivery-route {
    height: 240px;
    margin-top: 24px;
  }
  .travelling-frame,
  .travelling-image {
    height: 170px;
  }
  .travelling-image {
    width: 170px;
  }
  .travelling-glow {
    width: 196px;
    height: 150px;
  }
  .delivery-dates {
    margin: 14px 0 32px;
  }
  .delivery-dates strong {
    font-size: 18px;
  }
  .delivery-dates span {
    font-size: 14px;
  }
  .journey-trigger {
    max-width: 480px;
    margin-inline: auto;
    font-size: 16px;
  }
  .delivery-estimate {
    font-size: 14px;
  }
}

/* Each occasion has its own destination, using the same product application. */
.tled-family {max-width:1000px;margin:0 auto;padding:32px 24px 48px;}
.tled-family p {font-size:18px;margin:0 0 16px;}
.tled-family > div {display:flex;gap:10px;overflow:auto;padding-bottom:10px;scrollbar-width:thin;}
.tled-family a {flex:none;border:1px solid var(--line);border-radius:999px;padding:12px 18px;font-size:14px;}
.tled-family a:hover {background:var(--panel);}
.tled-base-price {font-size:16px!important;color:var(--ink)!important;}

/* The production bottom-navigation plugin uses .bottom-nav. Restore its own
   display rules when the builder closes, without changing the shared plugin. */
body.led-builder-open .bottom-nav,
body.led-builder-open .product-builder-dock {
  display: none !important;
}
body.led-builder-open .site-header {
  visibility: hidden;
  pointer-events: none;
}
/* A fixed-size tool slot keeps the selected field and Continue within reach. */
.photo-angle-done {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #d7e5dd55;
  border-radius: 12px;
  background: #e5f0e510;
  color: #e0ebe4;
  font: inherit;
}
#photo-rotation-row {
  gap: 8px;
}
#photo-rotation-row output {
  min-width: 37px;
  text-align: right;
}
#rotate-photo[aria-expanded="true"] {
  border-color: #d6eaffaa;
  background: #e6f2ff18;
}
.word-control-panel {
  height: 172px;
  padding-top: 0;
}
.word-control-panel[data-word-panel="style"] {
  height: 172px;
  display: flex;
  align-items: center;
}
.word-control-panel .backdrop-control {
  width: 100%;
}
.word-tool-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 4px 0;
}
.word-tool-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 5px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #a5b8aa;
  font-size: 14px;
}
.word-tool-tabs button[aria-selected="true"] {
  color: #f1f8f2;
  background: #e3f2ec15;
  box-shadow: inset 0 0 0 1px #d9ede726;
}
.word-tool-panel {
  height: 120px;
  padding-top: 2px;
}
.word-tool-panel .word-edit {
  min-height: 76px;
  height: 76px;
  padding-block: 4px;
}
.word-tool-panel .word-edit strong {
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-tool-label {
  display: block;
  font-size: 11px;
  color: #a7b9ab;
  margin: 4px 0 5px;
}
.word-tool-panel select {
  width: 100%;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #dfebe335;
  border-radius: 12px;
  background: #1c2a21;
  color: #edf5ee;
  font-size: 16px;
}
.word-tool-panel option {
  background: #1c2a21;
  color: #edf5ee;
}
.text-size-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #b7cbbb;
  min-height: 26px;
}
.text-size-label output {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.text-size-slider,
.text-layout-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.word-tool-panel input[type="range"] {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 44px;
  margin: 0;
  accent-color: #d7e5df;
}
.word-tool-panel button:not([role="tab"]):not(.word-edit) {
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  border: 1px solid #dcecdc32;
  border-radius: 12px;
  background: transparent;
  color: #d9e8dc;
}
.text-size-slider button {
  font-size: 20px;
}
.text-layout-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  border-bottom: 1px solid #dfebe31a;
}
.text-layout-tabs button {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: #a5b8aa;
  font-size: 12px;
}
.text-layout-tabs button[aria-selected="true"] {
  color: #f1f8f2;
}
.text-layout-tabs button[aria-selected="true"]::after {
  position: absolute;
  content: "";
  bottom: -1px;
  inset-inline: 16%;
  height: 2px;
  border-radius: 2px;
  background: #d9e9e4;
}
.text-layout-panel {
  padding-top: 2px;
}
.text-layout-slider output {
  min-width: 42px;
  font-size: 12px;
  color: #c4d8c9;
  text-align: right;
}
.text-position-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.text-position-controls button {
  font-size: 17px;
}
.text-position-controls [data-center-text],
.text-position-controls [data-reset-text] {
  font-size: 11px;
}
.word-tool-panel .text-position-controls button:not([role="tab"]) {
  flex: 1;
  padding-inline: 4px;
}
.text-font-colours {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
}
.text-font-colours .text-tool-label {
  margin: 0;
  font-size: 12px;
}
.text-colour-options {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 8px;
  flex: 1;
}
.text-colour-options button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  font-size: 13px;
}
.text-colour-options button[aria-pressed="true"] {
  border-color: #e4f3e6 !important;
  background: #e7f5e90d !important;
}
.text-colour-options span {
  width: 19px;
  height: 19px;
  border: 1px solid #fff6;
  border-radius: 50%;
}
.word-tool-panel button:disabled {
  opacity: 0.3;
  cursor: default;
}
.frame-word-target {
  touch-action: none;
  cursor: grab;
}
.frame-word-target:active {
  cursor: grabbing;
}
.frame-photo-target {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 75.2%;
  border: 1px dashed transparent;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.frame-photo-target:focus-visible {
  outline: 2px solid #e5f0ed;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .led-builder .builder-preview {
    overflow-x: clip;
  }
  .led-builder[data-step="1"] .builder-workspace {
    grid-template-rows: minmax(146px, 1fr) auto;
  }
}
@media (min-width: 960px) {
  .word-control-panel {
    height: 210px;
  }
  .word-control-panel[data-word-panel="style"] {
    height: 210px;
  }
  .word-tool-tabs {
    gap: 6px;
    padding-block: 10px;
  }
  .word-tool-tabs button {
    font-size: 14px;
  }
  .word-tool-panel {
    height: 146px;
    padding-top: 6px;
  }
  .word-tool-panel .word-edit {
    height: 100px;
  }
  .word-tool-panel select {
    font-size: 18px;
  }
  .text-tool-label,
  .text-size-label,
  .text-layout-tabs button {
    font-size: 13px;
  }
  .text-layout-panel {
    padding-top: 8px;
  }
  .text-font-colours {
    margin-bottom: 16px;
  }
}

.frame-preview-zoom {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #dbe9e435;
  border-radius: 22px;
  background: #19251fde;
  color: #e4eee8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.frame-preview-zoom svg,
.extra-choice-heading svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame-preview-zoom:disabled {
  opacity: 0.4;
  cursor: default;
}
.frame-full-view {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #121d17;
  color: #edf3ed;
  color-scheme: dark;
  overflow: hidden;
}
.frame-full-view::backdrop {
  background: #0d1714f5;
}
.frame-full-view-inner {
  height: 100%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}
.frame-full-view header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.frame-full-view h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.frame-full-view footer {
  text-align: center;
}
.frame-full-view-scene {
  width: 100%;
  height: 100%;
  min-height: 0;
  container-type: size;
}
.frame-full-view-scene .builder-product {
  height: min(92cqh, 128cqw);
  max-height: none;
}
.frame-full-view .builder-artwork {
  touch-action: pan-y pinch-zoom;
}
.extra-inclusion {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #dfece52c;
  border-radius: 17px;
  text-align: left;
  background: #e0f4e504;
  cursor: pointer;
}
.extra-inclusion.is-included {
  border-color: #c8ded070;
  background: #d5eade09;
}
.extra-inclusion > img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 9px;
}
.extra-inclusion > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.extra-inclusion strong {
  font-size: 18px;
  font-weight: 500;
}
.extra-inclusion small {
  color: #b3c5b9;
  font-size: 12px;
  line-height: 1.4;
}
.extra-inclusion span > span {
  color: #e0ebe3;
  font-size: 13px;
}
.extra-inclusion input {
  width: 23px;
  height: 23px;
  accent-color: #cce0d4;
  cursor: pointer;
}
.extra-choice-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 10px 0 6px;
  color: #b5c9bd;
  font-size: 13px;
}
.extra-choice-heading > div {
  display: flex;
  gap: 4px;
}
.extra-choice-heading button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e0ede526;
  border-radius: 50%;
  color: #d8e7dd;
  background: transparent;
  cursor: pointer;
}
.led-builder .extra-options {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: 106px;
  overflow-x: auto;
  gap: 10px;
}
.led-builder .extra-group:first-child {
  margin-top: 20px;
}
.led-builder .extra-group:last-child {
  margin-bottom: 0;
}
.product-builder-dock > div > span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}
@media (max-width: 360px) {
  .extra-inclusion {
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 10px;
  }
  .extra-inclusion > img {
    width: 64px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-full-view * {
    transition: none !important;
  }
}

.community-section {
  display: block;
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 48px 0;
  scroll-margin-top: -82px;
}
.community-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
  margin-bottom: 24px;
}
.community-heading h2 {
  font-size: clamp(29px, 5.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0;
}
.community-heading p:not(.community-eyebrow) {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 12px 0 0;
}
.community-eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
}
.community-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-position {
  min-width: 48px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.community-section svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.community-arrow {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  transition: background 180ms;
}
.community-arrow:not(:disabled):hover {
  background: var(--panel);
}
.community-section button:disabled {
  opacity: 0.32;
  cursor: default;
}
.community-track {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 5px 24px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.community-track::-webkit-scrollbar {
  display: none;
}
.community-track > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}
.film-card {
  width: min(74vw, 292px);
}
.film-open {
  position: relative;
  display: block;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 9 / 15;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #17201b;
  color: #fff;
  text-align: left;
  box-shadow: 0 12px 26px #0000000c;
}
.film-open > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.film-open::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #0003, transparent 35%, #060e08bb 82%, #060e08ee);
  z-index: 0;
  pointer-events: none;
}
.film-open:hover > img {
  transform: scale(1.035);
}
.film-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 12px #000;
}
.film-play > svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 19px;
  border-radius: 50%;
  background: #f6fbf2eb;
  color: #293a31;
  fill: currentColor;
  stroke-width: 0;
  box-shadow:
    0 0 0 9px #fff2,
    0 0 40px #eff8ff40;
  transition: box-shadow 300ms;
}
.film-open:hover .film-play > svg {
  box-shadow:
    0 0 0 12px #fff2,
    0 0 55px #eff8ff66;
}
.film-duration {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  border: 1px solid #ffffff55;
  border-radius: 20px;
  background: #16241c66;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.film-caption {
  position: absolute;
  inset: auto 20px 22px;
  display: grid;
  gap: 9px;
  z-index: 1;
}
.film-caption > span {
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.76;
}
.film-caption strong {
  font-size: 23px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.community-swipe {
  margin: 0;
  padding: 0 24px;
  font-size: 12px;
  color: var(--muted);
}
.community-swipe > span {
  margin-left: 8px;
}
.film-section > .community-heading .community-navigation {
  display: none;
}
.reviews-section > .community-heading {
  align-items: start;
}
.review-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.review-score > strong {
  font-size: 35px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.review-score small {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
}
.review-score > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.community-stars {
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 1.5;
}
.community-empty-stars {
  opacity: 0.5;
}
.review-score .community-stars {
  font-size: 12px;
}
.community-average-stars {
  position: relative;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.community-average-stars > span:first-child {
  opacity: 0.3;
}
.community-average-stars > span:last-child {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rating-fill);
  overflow: hidden;
}
.community-navigation[hidden] {
  display: none !important;
}
.review-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px 16px;
}
.review-filters {
  display: flex;
  border-radius: 28px;
  padding: 3px;
  border: 1px solid var(--line);
  gap: 2px;
}
.review-filters button {
  min-height: 44px;
  padding: 8px 12px;
  color: var(--muted);
  border: 0;
  border-radius: 24px;
  background: transparent;
  font-size: 12px;
}
.review-filters button > span {
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.75;
}
.review-filters button[aria-pressed="true"] {
  color: var(--active-ink);
  background: var(--active);
}
.review-toolbar .community-position {
  display: none;
}
.review-toolbar .community-navigation {
  margin-left: auto;
}
.review-card {
  width: min(82vw, 320px);
  height: 374px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--panel) 40%, transparent);
}
.review-card-copy {
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.words-only .review-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review-card h3 {
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 9px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-quote {
  white-space: pre-line;
  line-height: 1.55;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.has-photo .review-quote {
  -webkit-line-clamp: 2;
}
.has-photo h3 {
  font-size: 16px;
  -webkit-line-clamp: 1;
  margin: 5px 0;
}
.review-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.review-author {
  font-weight: 650;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.review-card .review-author {
  min-width: 0;
  max-width: 52%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-read {
  font-size: 11px;
  min-height: 44px;
  padding: 5px 0 5px 6px;
  white-space: nowrap;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.review-read > span {
  margin-left: 6px;
}
.review-photo {
  display: block;
  position: relative;
  height: 146px;
  margin: -7px -7px 12px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #b8bfb922;
  color: white;
}
.review-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-photo > span:not(.review-photo-unavailable) {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #0d1c18aa;
  backdrop-filter: blur(8px);
  border: 1px solid #fff4;
  border-radius: 50%;
}
.review-photo-unavailable {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}
.review-source {
  padding: 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.review-source p {
  margin: 0;
}
.review-source a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.community-dialog {
  --ink: #f0f3ec;
  --muted: #abb6ad;
  --line: #ffffff20;
  --panel: #ffffff10;
  color-scheme: dark;
  padding: 0;
  border: 0;
  margin: auto;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100%;
  overflow: clip;
  background: #121b17;
  color: var(--ink);
}
.community-dialog::backdrop {
  background: #060e0bce;
  backdrop-filter: blur(10px);
}
.community-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
}
.community-dialog-header {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 20px 14px;
}
.community-dialog-header > div {
  min-width: 0;
}
.community-dialog-header p {
  margin: 0 0 5px;
  font-size: 11px;
  color: var(--muted);
}
.community-dialog-header h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.community-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}
.film-player {
  display: grid;
  place-items: center;
  min-height: 0;
  position: relative;
  background: #080c0a;
}
.film-player video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
}
.film-error {
  position: absolute;
  margin: 24px;
  padding: 24px;
  border-radius: 20px;
  background: #152219ee;
  text-align: center;
}
.film-error[hidden] {
  display: none;
}
.community-text-button {
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 24px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.film-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px max(16px, env(safe-area-inset-bottom));
}
.film-selector button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  min-height: 52px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.film-selector button > span {
  line-height: 1.35;
}
.film-selector button[aria-pressed="true"] {
  background: #ffffff12;
  color: var(--ink);
  border-color: #edf9f16b;
  box-shadow: 0 0 20px #e2f0ff0a;
}
.review-dialog-counter {
  font-size: 13px;
}
.review-reader {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 20px 24px;
}
.review-reader-photos {
  display: grid;
  gap: 16px;
}
.review-reader-photos:empty {
  display: none;
}
.review-reader-photos img {
  width: 100%;
  height: auto;
  max-height: min(45dvh, 420px);
  object-fit: contain;
  background: #080d0a;
  border-radius: 16px;
}
.review-reader-copy {
  max-width: 560px;
  margin: 22px auto;
}
.review-reader-copy h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.review-reader-copy > p {
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
  color: var(--muted);
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
.review-reader-navigation {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  gap: 12px;
  border-top: 1px solid var(--line);
}
.review-reader-navigation button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}
@media (min-width: 600px) {
  .community-dialog {
    width: calc(100% - 48px);
    max-width: 860px;
    height: min(840px, calc(100dvh - 48px));
    border: 1px solid var(--line);
    border-radius: 24px;
  }
  .review-dialog {
    height: min(720px, calc(100dvh - 64px));
  }
  .review-reader:has(img) {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .review-reader-photos img {
    max-height: 530px;
  }
  .review-toolbar .community-position {
    display: block;
  }
  .film-section > .community-heading .community-navigation {
    display: flex;
  }
}
@media (min-width: 960px) {
  .community-section {
    padding: 72px 24px;
  }
  .film-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 36px;
    padding: 0 24px;
  }
  .film-section > .community-heading {
    padding: 0;
    display: block;
    margin: 0;
  }
  .film-section > .community-heading h2 {
    font-size: 40px;
  }
  .film-section > .community-heading .community-navigation {
    margin-top: 30px;
  }
  .film-track {
    padding: 6px 4px 18px;
    scroll-padding-inline: 4px;
    gap: 20px;
  }
  .film-card {
    width: calc((100% - 20px) / 2);
  }
  .community-swipe {
    display: none;
  }
  .reviews-section > .community-heading {
    align-items: center;
    margin-bottom: 34px;
  }
  .review-score {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0 14px;
  }
  .review-score > strong {
    grid-row: 1 / 3;
  }
  .review-score .community-stars {
    align-self: end;
  }
  .review-score > span:last-child {
    align-self: start;
  }
  .review-card {
    width: 320px;
  }
}
@media (max-width: 360px) {
  .community-heading,
  .review-toolbar {
    padding-inline: 20px;
  }
  .community-track {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .community-heading {
    gap: 20px;
  }
  .review-score {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .review-score > strong {
    font-size: 28px;
  }
  .review-toolbar {
    gap: 10px;
  }
  .review-toolbar .community-navigation {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-section *,
  .community-section *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html:has(body.tled-page) { background:#fff; }
body.tled-page .tresneria-site-shell__header { background:#fff; }
body.tled-page { background:var(--page); }
.tled-scope {position:relative;font-family:Nunito,Arial,sans-serif;background:var(--page);color:var(--ink);}
.tled-header-label {font-size:12px;letter-spacing:.03em;}
body.tled-page .tled-scope #top {background:var(--page);color:var(--ink);}
.tled-scope button,.tled-scope input,.tled-scope select,.tled-scope textarea {font-family:inherit;}
.tled-useful {max-width:900px;margin:0 auto;padding:48px 24px 72px;line-height:1.65;}
.tled-useful h2 {font-size:28px;font-weight:500;margin:24px 0 16px;}
.tled-useful p {color:var(--muted);font-size:16px;}
.tled-useful details {border-bottom:1px solid var(--line);padding:18px 0;}
.tled-useful summary {cursor:pointer;font-size:17px;}
.tled-useful a {text-decoration:underline;text-underline-offset:3px;}
.tled-breadcrumbs {font-size:12px;color:var(--muted);}
body.led-builder-open .tresneria-site-shell__header,
body.led-builder-open #wpadminbar {visibility:hidden;pointer-events:none;}
body.tled-page .tresneria-site-shell__product-main {padding:0;}
body.tled-page .product-builder-dock {bottom:calc(68px + env(safe-area-inset-bottom,0px));}
@media(min-width:960px){body.tled-page .product-builder-dock {bottom:16px;}}
