/* Prevent wide media from expanding mobile layout beyond the viewport. */
.lp-promo,
.lp-promo span,
.lp-hero > *,
.lp-hero__art,
.lp-feature > * {
  min-width: 0;
}

.lp-promo span,
.lp-hero h1,
.lp-hero__lead {
  overflow-wrap: anywhere;
}

:where(a, summary):focus-visible {
  outline: 3px solid #ffe071;
  outline-offset: 4px;
}

.lp-hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(36px, 4vw, 56px);
  padding-block: 58px;
}

.lp-hero h1 {
  max-width: 12ch;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.01;
}

.lp-hero__lead {
  max-width: 58ch;
  color: #cbc7bc;
  font-size: 18px;
  line-height: 1.62;
}

/* Keep every hero asset in its native family of proportions. */
.lp-hero__art {
  width: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 2;
}

.lp-hero__art img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.lp-hero__art[data-image^="history-"],
.lp-hero__art[data-image="showcase-fashion.webp"],
.lp-hero__art[data-image="hero-thumb-portrait.webp"],
.lp-hero__art[data-image="hero-thumb-travel.webp"],
.lp-hero__art[data-image="edit-portrait-v1.webp"] {
  aspect-ratio: 2 / 3;
  max-width: 500px;
  justify-self: center;
}

.lp-hero__art[data-image="capability-lamp.webp"],
.lp-hero__art[data-image="showcase-headphones.webp"],
.lp-hero__art[data-image="showcase-character.webp"] {
  aspect-ratio: 1;
}

.lp-feature__visual {
  width: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 2;
}

.lp-feature {
  align-items: center;
}

/* A tighter shared vertical rhythm keeps long SEO pages editorial, not sparse. */
.lp-section {
  padding-block: 56px;
}

.lp-heading {
  margin-bottom: 32px;
}

.lp-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.lp-heading p,
.lp-card p,
.lp-step p,
.lp-feature__copy p,
.lp-faq p,
.lp-list li {
  color: #c0bcb1;
}

.lp-grid {
  gap: 18px;
}

.lp-card {
  display: flex;
  min-height: 212px;
  flex-direction: column;
  padding: 26px;
}

.lp-card h3 {
  margin: 28px 0 10px;
  font-size: clamp(21px, 2vw, 25px);
}

.lp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.lp-feature__copy {
  min-height: 390px;
  padding: 42px;
}

.lp-feature__copy h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}

.lp-feature__copy p {
  font-size: 16px;
  line-height: 1.65;
}

.lp-step {
  min-height: 220px;
  padding: 28px;
}

.lp-list li,
.lp-related a {
  font-size: 15px;
  line-height: 1.5;
}

.lp-related a {
  color: #d2cec2;
  background: #1c1c18;
}

.lp-final {
  margin-block: 56px;
  padding: clamp(42px, 5vw, 56px);
}

.lp-feature__visual img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.lp-feature__visual[data-image^="history-"],
.lp-feature__visual[data-image="showcase-fashion.webp"],
.lp-feature__visual[data-image="hero-thumb-portrait.webp"],
.lp-feature__visual[data-image="hero-thumb-travel.webp"],
.lp-feature__visual[data-image="edit-portrait-v1.webp"] {
  aspect-ratio: 2 / 3;
}

.lp-feature__visual[data-image="capability-lamp.webp"],
.lp-feature__visual[data-image="showcase-headphones.webp"],
.lp-feature__visual[data-image="showcase-character.webp"] {
  aspect-ratio: 1;
}

/* The sequence asset is a wide triptych, not a portrait from the history series. */
.lp-feature__visual[data-image="history-sequence-v1.webp"] {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.lp-feature__visual[data-image="history-sequence-v1.webp"] img {
  height: 100%;
  object-fit: contain;
  background: #151512;
}

@media (max-width: 980px) {
  .lp-hero,
  .lp-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-hero__art {
    width: 100%;
    max-width: none;
  }

  .lp-hero__art[data-image^="history-"],
  .lp-hero__art[data-image="showcase-fashion.webp"],
  .lp-hero__art[data-image="hero-thumb-portrait.webp"],
  .lp-hero__art[data-image="hero-thumb-travel.webp"],
  .lp-hero__art[data-image="edit-portrait-v1.webp"] {
    width: min(100%, 520px);
  }

  .lp-feature__visual[data-image^="history-"],
  .lp-feature__visual[data-image="showcase-fashion.webp"],
  .lp-feature__visual[data-image="hero-thumb-portrait.webp"],
  .lp-feature__visual[data-image="hero-thumb-travel.webp"],
  .lp-feature__visual[data-image="edit-portrait-v1.webp"] {
    width: min(100%, 520px);
    justify-self: center;
  }
}

/* Decorative marks replace technical numbering across cards and steps. */
.lp-step__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 198, 47, .1);
  color: var(--accent);
  font-weight: 800;
}

.lp-step h3 {
  margin-top: 28px;
}

/* The yellow CTA uses dark labels; inherited kicker colors are too pale here. */
.lp-final .lp-kicker {
  color: #4b3500;
}

/* One footer structure across every internal page. */
.lp-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
  gap: 52px 64px;
}

.lp-footer__brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: #9e9b92;
  font-size: 15px;
}

.lp-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.lp-footer__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.lp-footer__group strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.lp-footer__group a {
  color: #9e9b92;
  font-size: 14px;
  line-height: 1.45;
}

.lp-footer__bottom {
  grid-column: 1 / -1;
}

@media (max-width: 850px) {
  .lp-footer__grid {
    grid-template-columns: 1fr;
  }

  .lp-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .lp-step h3 {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .lp-hero {
    gap: 30px;
    padding-block: 40px;
  }

  .lp-hero h1 {
    max-width: none;
    font-size: clamp(37px, 11vw, 46px);
    line-height: 1.02;
  }

  .lp-hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .lp-section {
    padding-block: 40px;
  }

  .lp-heading {
    margin-bottom: 26px;
  }

  .lp-heading h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .lp-card,
  .lp-step {
    min-height: 0;
    padding: 22px;
  }

  .lp-card h3 {
    margin-top: 22px;
  }

  .lp-feature__copy {
    min-height: 0;
    padding: 30px 24px;
  }

  .lp-feature__copy h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .lp-final {
    margin-block: 40px;
    padding: 36px 24px;
    border-radius: 28px;
  }

  .lp-promo a,
  .lp-back,
  .lp-footer__group a,
  .lp-footer__bottom a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding-block: 7px;
  }

  .lp-back {
    justify-content: center;
  }
}

/* Media surfaces are edge-to-edge. Borders belong to content cards, not images. */
.lp-hero__art,
.lp-feature__visual,
.lp-proof__stage figure,
.lp-proof__image {
  border: 0 !important;
  outline: 0;
  box-shadow: none;
}

.lp-hero__art,
.lp-feature__visual,
.lp-proof__image {
  overflow: hidden;
  background: #171714;
}

.lp-hero__art img,
.lp-feature__visual img,
.lp-proof__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quality Engine 2.0: meaningful product proof and intent coverage. */
.lp-proof__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.lp-proof__stage figure,
.lp-proof__prompt {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.lp-proof__stage figure {
  display: flex;
  flex-direction: column;
}

.lp-proof__image {
  aspect-ratio: 3 / 2;
  flex: none;
  overflow: hidden;
  background: #20201c;
}

.lp-proof__stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Proof assets are authored at 3:2 with an internal safe area. Keep that
   complete composition visible at every breakpoint. */
.lp-proof__stage figure[data-image*="-v11"] .lp-proof__image,
.lp-proof__stage figure[data-image*="motion-leaves-frame"] .lp-proof__image {
  aspect-ratio: 3 / 2;
}

.lp-proof__stage figure[data-image*="-v11"] img,
.lp-proof__stage figure[data-image*="motion-leaves-frame"] img {
  object-fit: contain;
  background: #171714;
}

/* Portrait halves are shown in their native ratio instead of being cropped into strips. */
.lp-proof__stage figure[data-image*="russian-"] .lp-proof__image,
.lp-proof__stage figure[data-image*="merge-chair-"] .lp-proof__image,
.lp-proof__stage figure[data-image*="-v4"] .lp-proof__image {
  aspect-ratio: 3 / 4;
}

.lp-motion-preview {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

.lp-motion-preview img {
  transform: scale(1.025);
  transform-origin: center;
  transition: filter .5s ease;
}

.lp-motion-preview::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: linear-gradient(110deg, transparent 28%, rgba(93,255,176,.2) 48%, rgba(93,205,255,.1) 62%, transparent 76%);
  opacity: 0;
  transform: translate3d(-42%,0,0) skewX(-8deg);
  pointer-events: none;
}

.lp-motion-preview.is-playing img {
  animation: lp-camera-drift 9s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  filter: saturate(1.08) brightness(1.04);
}

.lp-motion-preview.is-playing::after {
  opacity: 1;
  animation: lp-aurora-flow 5.8s ease-in-out infinite alternate;
}

.lp-motion-preview--frames::after {
  display: none;
}

.lp-motion-preview--frames img {
  animation: none;
  filter: none;
}

.lp-motion-preview--frames .lp-motion-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  backface-visibility: hidden;
}

.lp-motion-preview--frames .lp-motion-frame--1 {
  position: relative;
  z-index: 1;
}

.lp-motion-preview--frames .lp-motion-frame--2,
.lp-motion-preview--frames .lp-motion-frame--3 {
  z-index: 2;
  opacity: 0;
}

.lp-motion-preview--frames.is-playing .lp-motion-frame--1 {
  animation: lp-frame-1 1.65s ease-in-out infinite;
}

.lp-motion-preview--frames.is-playing .lp-motion-frame--2 {
  animation: lp-frame-2 1.65s ease-in-out infinite;
}

.lp-motion-preview--frames.is-playing .lp-motion-frame--3 {
  animation: lp-frame-3 1.65s ease-in-out infinite;
}

.lp-motion-preview.is-offscreen *,
.lp-motion-preview.is-offscreen::after {
  animation-play-state: paused !important;
}

.lp-motion-toggle { margin-top: 18px; }

.lp-motion-toggle--proof {
  position: relative;
  z-index: 3;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
}

@keyframes lp-camera-drift {
  to { transform: scale(1.105) translate3d(-1.25%, -.6%, 0); }
}

@keyframes lp-aurora-flow {
  to { transform: translate3d(32%, 2%, 0) skewX(8deg); }
}

@keyframes lp-frame-1 {
  0%, 24% { opacity: 1; transform: scale(1); }
  34%, 90% { opacity: 0; transform: scale(1.006); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes lp-frame-2 {
  0%, 24%, 67%, 100% { opacity: 0; transform: scale(1.002); }
  34%, 57% { opacity: 1; transform: scale(1.006); }
}

@keyframes lp-frame-3 {
  0%, 57%, 100% { opacity: 0; transform: scale(1.004); }
  67%, 90% { opacity: 1; transform: scale(1.008); }
}

.lp-proof__stage figcaption {
  padding: 14px 18px;
  color: #d2cec2;
  font-size: 14px;
  font-weight: 700;
}

.lp-proof__prompt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(150deg, #292314, #181815 68%);
}

.lp-proof__prompt small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lp-proof__prompt p {
  margin: 18px 0 28px;
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 720;
  line-height: 1.35;
}

.lp-card--compact {
  min-height: 250px;
}

.lp-insight-panel {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 190, 35, .13), transparent 34%),
    linear-gradient(145deg, #1d1d18, #151513);
}

.lp-insight-panel span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lp-insight-panel h3 {
  max-width: 14ch;
  margin: 18px 0 14px;
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.02;
}

.lp-insight-panel p {
  max-width: 52ch;
  margin: 0;
  color: #d2cec2;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

@supports (content-visibility: auto) {
  .lp-main > .lp-section:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-block-size: auto 760px;
  }
}

.lp-audience {
  width: min(1220px, calc(100% - 40px));
  padding-inline: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,198,47,.075), rgba(255,255,255,.02));
}

.lp-feature--reverse .lp-feature__copy {
  order: 2;
}

.lp-feature--reverse .lp-feature__visual {
  order: 1;
}

.lp-checklist {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.lp-checklist li {
  color: #d2cec2;
  font-size: 15px;
}

.lp-checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 980px) {
  .lp-proof__stage {
    grid-template-columns: 1fr 1fr;
  }

  .lp-proof__prompt {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .lp-proof__stage {
    grid-template-columns: 1fr;
  }

  .lp-proof__prompt {
    grid-column: auto;
    grid-row: auto;
    padding: 24px;
  }

  .lp-proof__stage figure {
    min-height: 0;
  }

  .lp-audience {
    width: calc(100% - 28px);
    padding-inline: 0;
    border: 0;
    background: transparent;
  }

  .lp-feature--reverse .lp-feature__copy,
  .lp-feature--reverse .lp-feature__visual {
    order: initial;
  }
}
