:root {
  --paper: #f7f3ed;
  --paper-soft: #fbfaf7;
  --line: #ddd6cc;
  --ink: #211f1c;
  --muted: #6d675f;
  --quiet: #8a8277;
  --stone: #e8e1d7;
  --button: #24221f;
  --button-hover: #3a362f;
  --shadow: 0 28px 80px rgba(38, 34, 29, 0.14);
}

/* Connected premium experience */
[hidden] {
  display: none !important;
}

.app-page {
  --app-bg: #f5f5f7;
  --app-card: rgba(255, 255, 255, 0.78);
  --app-ink: #111;
  --app-muted: #6e6e73;
  --app-line: rgba(17, 17, 17, 0.08);
  --app-shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
  min-height: 100vh;
  color: var(--app-ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.94), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(225, 228, 234, 0.48), transparent 30%),
    var(--app-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
}

.app-page .flow,
.app-page .credits-page {
  min-height: 100vh;
  background: transparent;
}

.app-page .site-header.app-header {
  inset: 18px clamp(16px, 3vw, 34px) auto;
  display: flex;
  justify-content: space-between;
  width: auto;
  min-height: 58px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.075);
  backdrop-filter: blur(28px) saturate(1.18);
  animation: headerAppear 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app-brand,
.app-page .header-actions,
.profile-menu summary,
.profile-popover a,
.profile-popover button,
.upload-action,
.app-page .credit-pill,
.app-page .price-row button {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 720;
}

.app-page .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-page .credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.065);
  border-radius: 999px;
  color: #111;
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
  box-shadow: none;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.app-page .credit-pill:hover,
.profile-menu summary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
}

.token-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #111;
  box-shadow: 0 0 0 5px rgba(17, 17, 17, 0.055);
}

.profile-menu {
  position: relative;
}

.profile-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 780;
}

.profile-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(28px) saturate(1.16);
  opacity: 0;
  transform: translate3d(0, -8px, 0) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-menu[open] .profile-popover {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.profile-popover a,
.profile-popover button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px;
  color: #111;
  background: transparent;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 640;
  cursor: pointer;
}

.profile-popover a:hover,
.profile-popover button:hover {
  background: rgba(17, 17, 17, 0.055);
}

.connected-home,
.app-page .choice-layout,
.app-page .loading-layout,
.app-page .result-layout {
  min-height: 100vh;
  padding: clamp(104px, 13vh, 150px) clamp(20px, 5vw, 76px) clamp(38px, 6vh, 72px);
}

.connected-home {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.connected-copy,
.app-page .choice-copy,
.app-page .credits-hero {
  max-width: 760px;
}

.connected-copy h1,
.app-page .choice-copy h1,
.app-page .credits-hero h1,
.app-page .result-main h1,
.app-page .loading-card h1 {
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.6rem, 7.4vw, 7.8rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.connected-copy .hero-subtitle,
.app-page .choice-copy .hero-subtitle,
.app-page .credits-hero .hero-subtitle {
  max-width: 560px;
  margin-top: 26px;
  color: var(--app-muted);
  font-size: clamp(1.04rem, 1.55vw, 1.34rem);
  line-height: 1.48;
}

.app-page .eyebrow {
  color: rgba(17, 17, 17, 0.48);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upload-hud,
.app-page .choice-panel,
.app-page .loading-card,
.app-page .result-actions,
.app-page .shop-hud,
.app-page .pricing-column {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(30px, 4vw, 46px);
  background: var(--app-card);
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(28px) saturate(1.12);
}

.upload-hud {
  position: relative;
  display: grid;
  gap: 24px;
  min-height: min(640px, 72vh);
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  animation: appFloat 7s ease-in-out infinite;
}

.upload-hud::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(17, 17, 17, 0.055);
  pointer-events: none;
}

.upload-hud.is-dragging {
  background: rgba(255, 255, 255, 0.94);
}

@keyframes appFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.upload-orb {
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(238, 239, 242, 0.84) 58%, rgba(225, 226, 230, 0.58) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 30px 80px rgba(0, 0, 0, 0.08);
}

.upload-orb span {
  position: relative;
  width: 42%;
  aspect-ratio: 1.18;
  border: 10px solid #111;
  border-radius: 34px;
}

.upload-orb span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  border: 8px solid #111;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.upload-orb span::after {
  content: "";
  position: absolute;
  right: 13%;
  top: 13%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #111;
}

.upload-hud-copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.upload-hud-copy h2 {
  margin: 8px 0 0;
  color: #111;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.upload-hud-copy p:not(.eyebrow),
.upload-note {
  color: var(--app-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.upload-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
}

.upload-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 740;
  cursor: pointer;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.upload-action.primary {
  color: #fff;
  background: #111;
}

.upload-action.secondary {
  border: 1px solid rgba(17, 17, 17, 0.09);
  color: #111;
  background: rgba(255, 255, 255, 0.7);
}

.upload-action:hover {
  transform: translateY(-2px);
}

.upload-note {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.92rem;
}

.app-page .choice-layout {
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  background: transparent;
}

.app-page .choice-panel {
  gap: 20px;
  padding: clamp(22px, 3vw, 38px);
}

.app-page .photo-summary {
  border-radius: 30px;
  background: rgba(245, 245, 247, 0.74);
}

.app-page .photo-summary img {
  border-radius: 24px;
}

.app-page .style-list,
.app-page .decor-choice,
.app-page .manual-panel {
  border-color: rgba(17, 17, 17, 0.075);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.54);
}

.app-page .style-card,
.app-page .decor-choice label,
.app-page .manual-toggle,
.app-page select,
.app-page .accessory-grid label {
  border-color: rgba(17, 17, 17, 0.075);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.app-page .style-card strong,
.app-page .decor-choice span {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.app-page .style-card small {
  color: var(--app-muted);
  line-height: 1.38;
}

.app-page .style-card:has(input:checked),
.app-page .decor-choice label:has(input:checked) {
  border-color: rgba(17, 17, 17, 0.18);
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.055);
}

.app-page .primary-button.full,
.app-page .download-link {
  border: 0;
  border-radius: 999px;
  background: #111;
  box-shadow: none;
}

.app-page .credits-page {
  padding: clamp(116px, 14vh, 160px) clamp(20px, 5vw, 76px) clamp(44px, 7vh, 86px);
}

.app-page .credits-shell {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: clamp(30px, 6vw, 96px);
}

.app-page .credits-hero {
  position: sticky;
  top: 128px;
}

.app-page .credits-message {
  color: #111;
  font-size: 0.96rem;
  font-weight: 680;
}

.app-page .pricing-columns {
  gap: 18px;
}

.app-page .pricing-heading {
  align-items: end;
  margin-bottom: 18px;
}

.app-page .pricing-heading span {
  color: #111;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.app-page .pricing-heading p {
  color: var(--app-muted);
  font-size: 0.96rem;
  line-height: 1.36;
}

.app-page .price-list {
  gap: 12px;
}

.app-page .price-row {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.065);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
}

.app-page .price-row.highlighted {
  margin-inline: 0;
  padding-inline: 18px;
  background: #fff;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.075);
}

.app-page .price-row strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.36rem, 2vw, 2rem);
  font-weight: 730;
  letter-spacing: -0.035em;
}

.app-page .price-row small {
  color: var(--app-muted);
  font-size: 0.94rem;
}

.app-page .price {
  color: #111;
  font-size: clamp(1.32rem, 2.2vw, 2rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.app-page .price-row button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111;
  font-weight: 740;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.app-page .price-row button:hover {
  transform: translateY(-1px);
  background: #000;
}

@media (max-width: 980px) {
  .connected-home,
  .app-page .choice-layout,
  .app-page .credits-shell,
  .app-page .result-layout {
    grid-template-columns: 1fr;
  }

  .app-page .credits-hero {
    position: static;
  }

  .upload-hud {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .app-page .site-header.app-header {
    inset: 10px 10px auto;
    min-height: 54px;
  }

  .app-brand {
    max-width: 132px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .app-page .credit-pill {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .token-dot {
    width: 8px;
    height: 8px;
  }

  .profile-menu summary {
    min-height: 40px;
    padding-right: 8px;
    font-size: 0;
  }

  .profile-avatar {
    width: 30px;
    height: 30px;
  }

  .connected-home,
  .app-page .choice-layout,
  .app-page .loading-layout,
  .app-page .result-layout,
  .app-page .credits-page {
    padding-inline: 16px;
    padding-top: 92px;
  }

  .connected-copy h1,
  .app-page .choice-copy h1,
  .app-page .credits-hero h1,
  .app-page .result-main h1,
  .app-page .loading-card h1 {
    font-size: clamp(3.1rem, 15vw, 4.7rem);
  }

  .upload-hud {
    min-height: auto;
    padding: 22px;
    border-radius: 34px;
  }

  .upload-orb {
    border-radius: 32px;
  }

  .upload-actions,
  .upload-action {
    width: 100%;
  }

  .app-page .price-row {
    grid-template-columns: 1fr;
  }

  .app-page .price {
    text-align: left;
  }
}

/* Frame-by-frame scroll hero */
.frame-home {
  color: #f6f3ee;
  background: #0e0e10;
  overflow-x: hidden;
}

.frame-home main {
  background: #0e0e10;
}

.conversion-header {
  position: fixed;
  z-index: 80;
  top: clamp(12px, 2.2vw, 24px);
  left: clamp(12px, 2.2vw, 28px);
  right: clamp(12px, 2.2vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #111;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  animation: headerAppear 760ms cubic-bezier(0.16, 1, 0.3, 1) 80ms forwards;
}

@keyframes headerAppear {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.conversion-brand,
.conversion-site-logo,
.conversion-login,
.conversion-signup,
.conversion-primary,
.floating-upload-button,
.frame-final-actions a {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
}

.conversion-brand {
  color: #111;
  font-size: 0.95rem;
  font-weight: 720;
  white-space: nowrap;
}

.conversion-site-logo {
  display: inline-flex;
  align-items: baseline;
  min-height: 36px;
  padding: 0;
  color: #111;
  font-size: clamp(0.98rem, 1.35vw, 1.28rem);
  font-weight: 440;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.72);
}

.conversion-site-logo .logo-strong {
  font-weight: 760;
}

.conversion-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.conversion-login,
.conversion-signup,
.conversion-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease, color 360ms ease;
}

.conversion-login {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: rgba(17, 17, 17, 0.82);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(22px) saturate(1.18);
}

.conversion-signup {
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(17, 19, 24, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px) saturate(1.14);
}

.conversion-primary {
  padding: 0 18px;
  color: #fff;
  background: #111318;
}

.conversion-login:hover,
.conversion-signup:hover,
.conversion-primary:hover,
.frame-final-actions a:hover,
.floating-upload-button:hover {
  transform: translateY(-1px);
}

.conversion-login:hover {
  color: #111;
  background: rgba(17, 17, 17, 0.055);
}

.conversion-primary:hover,
.conversion-signup:hover,
.frame-action-primary:hover,
.floating-upload-button:hover {
  background: #000;
}

.frame-hero {
  position: relative;
  width: 100vw;
  height: 280vh;
  background: #0e0e10;
}

.frame-stage {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0e0e10;
  isolation: isolate;
}

.frame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #0e0e10;
}

.frame-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 42%, transparent 34%, rgba(14, 14, 16, 0.28) 76%, rgba(14, 14, 16, 0.74) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.42) 0%, transparent 34%, rgba(14, 14, 16, 0.24) 100%);
  pointer-events: none;
}

.frame-scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  bottom: clamp(34px, 7vh, 76px);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(246, 243, 238, 0.22);
  border-radius: 36px;
  color: #f6f3ee;
  background: rgba(246, 243, 238, 0.12);
  backdrop-filter: blur(18px);
  opacity: var(--scroll-cue-opacity, 1);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 180ms linear;
}

.frame-scroll-cue span {
  color: rgba(246, 243, 238, 0.88);
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  animation: scrollCueTextBreath 4.2s ease-in-out infinite;
}

.frame-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(246, 243, 238, 0.48);
  transform-origin: top center;
  animation: scrollCueLineBreath 2.8s ease-in-out infinite;
}

.frame-scroll-cue i b {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(246, 243, 238, 0.78);
  transform: translateX(-50%);
  animation: scrollCueDot 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollCueDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  24% {
    opacity: 0.9;
  }
  78% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(clamp(42px, 7vh, 68px) - 5px));
  }
}

@keyframes scrollCueLineBreath {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.55;
  }
}

@keyframes scrollCueTextBreath {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.58;
  }
}

.frame-final-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: start;
  padding: clamp(88px, 9vw, 136px) clamp(20px, 7vw, 118px);
  text-align: left;
  opacity: var(--final-copy-opacity, 0);
  transform: translateY(calc((1 - var(--final-copy-opacity, 0)) * 28px));
  filter: blur(calc((1 - var(--final-copy-opacity, 0)) * 14px));
  transition: none;
  pointer-events: none;
}

.frame-opening-copy {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 7vw, 118px);
  top: 50%;
  width: min(900px, calc(100% - 40px));
  color: #f6f3ee;
  opacity: var(--opening-copy-opacity, 0);
  transform:
    translate3d(0, calc(-50% + (1 - var(--opening-copy-opacity, 0)) * 24px), 0)
    scale(calc(0.98 + var(--opening-copy-opacity, 0) * 0.02));
  filter: blur(calc((1 - var(--opening-copy-opacity, 0)) * 12px));
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.frame-opening-copy p {
  max-width: 850px;
  margin: 0;
  color: rgba(246, 243, 238, 0.92);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(4.2rem, 8.4vw, 10.2rem);
  font-weight: 670;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 24px 78px rgba(0, 0, 0, 0.28);
}

.frame-final-copy::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 14, 16, calc(var(--final-copy-opacity, 0) * 0.42));
  content: "";
}

.frame-final-copy > div {
  display: grid;
  width: min(1040px, 100%);
  margin-top: clamp(20px, 8vh, 90px);
}

.frame-final-copy h1 {
  max-width: 980px;
  margin: 0;
  color: #f6f3ee;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(3.8rem, 8.8vw, 10.6rem);
  font-weight: 660;
  line-height: 0.88;
  letter-spacing: 0;
}

.floating-upload-button {
  position: fixed;
  z-index: 75;
  right: auto;
  bottom: auto;
  left: var(--floating-left, auto);
  top: var(--floating-top, auto);
  display: inline-grid;
  grid-template-columns: 1fr 0;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  width: auto;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 19, 24, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  font-size: 0.95rem;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--floating-shift-x, 0), var(--floating-shift-y, 16px), 0);
  overflow: hidden;
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    color 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease,
    backdrop-filter 420ms ease,
    background 420ms ease;
}

.floating-upload-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(var(--floating-shift-x, 0), var(--floating-shift-y, 0), 0);
}

.floating-upload-button span {
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-upload-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
  transition: opacity 420ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-upload-button.is-camera {
  grid-template-columns: 0 1fr;
  width: 56px;
  min-height: 56px;
  padding: 0;
  border-radius: 999px;
}

.floating-upload-button.is-glass {
  border-color: rgba(255, 255, 255, 0.58);
  color: rgba(17, 17, 17, 0.78);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 48px rgba(24, 24, 28, 0.08);
  backdrop-filter: blur(26px) saturate(1.16);
}

.floating-upload-button.is-dark-glass {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(26px) saturate(1.18);
}

.floating-upload-button.is-camera span {
  opacity: 0;
  transform: translateX(-10px);
}

.floating-upload-button.is-camera svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.section-scroll-cue {
  position: absolute;
  z-index: 8;
  left: 50%;
  right: auto;
  bottom: clamp(24px, 5vh, 58px);
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 10px 13px 10px 19px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 36px;
  color: rgba(17, 17, 17, 0.68);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 54px rgba(24, 24, 28, 0.065);
  backdrop-filter: blur(22px) saturate(1.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: 0;
  text-decoration: none;
  opacity: 0.86;
  transform: translateX(-50%);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section-scroll-cue:hover {
  opacity: 1;
  transform: translate(-50%, -2px);
}

.section-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(17, 17, 17, 0.2);
}

.section-scroll-cue i b {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.58);
  transform: translateX(-50%);
  animation: sectionCueDot 2.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.section-scroll-cue-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.section-scroll-cue-light i {
  background: rgba(255, 255, 255, 0.28);
}

.section-scroll-cue-light i b {
  background: rgba(255, 255, 255, 0.72);
}

@keyframes sectionCueDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  24% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 39px);
  }
}

.frame-cta-section,
.frame-gallery-section {
  padding: clamp(84px, 14vh, 164px) clamp(18px, 5vw, 84px);
  background: #0e0e10;
}

.frame-cta-section {
  display: grid;
  align-items: center;
  min-height: 86vh;
  min-height: 86svh;
  text-align: left;
  background:
    linear-gradient(180deg, #0e0e10 0%, #101011 100%);
}

.frame-cta-inner {
  display: grid;
  justify-items: start;
  gap: clamp(18px, 3vh, 28px);
  width: min(880px, 100%);
  margin-inline: auto;
}

.frame-cta-inner h2,
.frame-gallery-section h2 {
  max-width: 840px;
  margin: 0;
  color: #f6f3ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 5.8vw, 6.4rem);
  font-weight: 540;
  line-height: 0.96;
  letter-spacing: 0;
}

.frame-cta-inner p:not(.luxury-eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(246, 243, 238, 0.62);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}

.editorial-photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: clamp(8px, 1.8vh, 18px);
  padding: 12px 18px;
  border: 1px solid rgba(246, 243, 238, 0.34);
  border-radius: 999px;
  color: rgba(246, 243, 238, 0.92);
  background: rgba(246, 243, 238, 0.045);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, color 260ms ease;
}

.editorial-photo-button:hover {
  border-color: rgba(246, 243, 238, 0.68);
  color: #0e0e10;
  background: #f6f3ee;
  transform: translateY(-1px);
}

.frame-gallery-section {
  min-height: 100vh;
}

.perception-experience {
  --perception-progress: 0;
  --perception-intro: 0;
  --perception-visual: 0;
  --perception-reveal: 0;
  --perception-final: 0;
  --perception-details: 0;
  position: relative;
  min-height: 240svh;
  background: #f5f5f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  isolation: isolate;
}

.perception-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(50% + var(--perception-reveal) * 16%) 22%, rgba(255, 255, 255, 0.86), rgba(245, 245, 247, 0) 36%),
    #f5f5f7;
}

.perception-intro,
.perception-final-copy,
.perception-details {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.perception-intro {
  left: clamp(18px, 7vw, 122px);
  top: clamp(64px, 13vh, 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.36fr);
  gap: clamp(30px, 8vw, 126px);
  align-items: end;
  width: min(1420px, calc(100% - clamp(36px, 10vw, 164px)));
  opacity: var(--perception-intro);
  transform:
    translate3d(0, calc((1 - var(--perception-intro)) * 38px - var(--perception-progress) * 26px), 0)
    scale(calc(0.985 + var(--perception-intro) * 0.015));
  filter: blur(calc((1 - var(--perception-intro)) * 16px + var(--perception-progress) * 4px));
  will-change: opacity, transform, filter;
}

.perception-intro h2 {
  max-width: 960px;
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(3.45rem, 7.2vw, 7.9rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: 0;
}

.perception-intro p {
  max-width: 430px;
  margin: 0 0 0.48em;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(1.04rem, 1.4vw, 1.35rem);
  font-weight: 450;
  line-height: 1.46;
  letter-spacing: 0;
}

.perception-visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 72px);
  opacity: var(--perception-visual);
  transform:
    translate3d(0, calc((1 - var(--perception-visual)) * 52px), 0)
    scale(calc(0.94 + var(--perception-visual) * 0.06 + var(--perception-reveal) * 0.02));
  filter: blur(calc((1 - var(--perception-visual)) * 18px));
  will-change: opacity, transform, filter;
}

.perception-frame {
  position: relative;
  width: min(1080px, 78vw);
  height: min(740px, 72svh);
  overflow: hidden;
  border-radius: clamp(34px, 3.6vw, 58px);
  background: #ececef;
  box-shadow:
    0 38px 120px rgba(18, 18, 22, 0.105),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform:
    translate3d(calc((var(--perception-progress) - 0.5) * -18px), calc((0.5 - var(--perception-progress)) * 12px), 0)
    scale(calc(1 + var(--perception-reveal) * 0.018));
  animation: perceptionFloat 8.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes perceptionFloat {
  0%, 100% {
    margin-top: -7px;
  }
  50% {
    margin-top: 7px;
  }
}

.perception-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  transform:
    translate3d(calc((var(--perception-progress) - 0.5) * -12px), calc(var(--perception-progress) * -10px), 0)
    scale(calc(1.005 + var(--perception-progress) * 0.015));
  will-change: clip-path, opacity, transform, filter;
}

.perception-before {
  filter:
    saturate(calc(0.78 + var(--perception-reveal) * 0.08))
    contrast(calc(0.94 + var(--perception-reveal) * 0.02))
    brightness(calc(0.98 + var(--perception-reveal) * 0.02));
}

.perception-after {
  clip-path: inset(0 calc((1 - var(--perception-reveal)) * 100%) 0 0);
  filter:
    saturate(calc(0.9 + var(--perception-reveal) * 0.13))
    contrast(calc(0.96 + var(--perception-reveal) * 0.07))
    brightness(calc(0.94 + var(--perception-reveal) * 0.08));
}

.perception-frame::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at calc(28% + var(--perception-reveal) * 30%) 20%, rgba(255, 255, 255, calc(0.02 + var(--perception-reveal) * 0.18)), transparent 36%),
    linear-gradient(0deg, rgba(10, 10, 12, calc(var(--perception-final) * 0.38)) 0%, rgba(10, 10, 12, calc(var(--perception-final) * 0.18)) 48%, rgba(10, 10, 12, calc(var(--perception-final) * 0.08)) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, 0.24) 0%, rgba(11, 11, 13, 0.02) 38%, rgba(255, 255, 255, 0.04) 100%);
  content: "";
  pointer-events: none;
}

.perception-scan {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: calc(var(--perception-reveal) * 100%);
  width: 1px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, 0.04),
    0 0 48px rgba(255, 255, 255, 0.6);
  opacity: clamp(0, var(--perception-reveal) * 5, 1);
  transform: translateX(-0.5px);
}

.perception-label {
  position: absolute;
  z-index: 5;
  bottom: clamp(22px, 3vw, 38px);
  color: rgba(255, 255, 255, 0.82);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 560;
  letter-spacing: 0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.24);
}

.perception-label-before {
  right: clamp(24px, 3.4vw, 48px);
  opacity: calc((1 - var(--perception-reveal)) * 0.92);
}

.perception-label-after {
  left: clamp(24px, 3.4vw, 48px);
  opacity: clamp(0, (var(--perception-reveal) - 0.62) * 2.8, 1);
}

.perception-final-copy {
  left: 50%;
  top: 54%;
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.4vh, 24px);
  width: min(1120px, calc(100% - 34px));
  color: #f8f6f0;
  text-align: center;
  opacity: var(--perception-final);
  transform:
    translate3d(-50%, calc(-50% + (1 - var(--perception-final)) * 42px), 0)
    scale(calc(0.97 + var(--perception-final) * 0.03));
  filter: blur(calc((1 - var(--perception-final)) * 16px));
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.38);
  will-change: opacity, transform, filter;
}

.perception-final-copy h2 {
  display: grid;
  gap: 0.05em;
  margin: 0;
  color: #f8f6f0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 5.6vw, 6.6rem);
  font-weight: 660;
  line-height: 0.9;
  letter-spacing: 0;
}

.perception-final-copy h2 span:last-child {
  color: rgba(248, 246, 240, 0.86);
}

.perception-final-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(248, 246, 240, 0.74);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 1.28vw, 1.16rem);
  font-weight: 450;
  line-height: 1.45;
}

.perception-details {
  right: clamp(18px, 6vw, 108px);
  bottom: clamp(28px, 7vh, 78px);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: var(--perception-details);
  transform: translate3d(0, calc((1 - var(--perception-details)) * 26px), 0);
  filter: blur(calc((1 - var(--perception-details)) * 10px));
  will-change: opacity, transform, filter;
}

.perception-details li {
  color: rgba(248, 246, 240, 0.7);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(0.74rem, 0.86vw, 0.9rem);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: right;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.34);
}

@media (max-width: 980px) {
  .perception-experience {
    min-height: 250svh;
  }

  .perception-intro {
    top: clamp(48px, 9vh, 92px);
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .perception-intro h2 {
    font-size: clamp(3.1rem, 10vw, 5.8rem);
    line-height: 0.92;
  }

  .perception-intro p {
    max-width: 560px;
    margin: 0;
  }

  .perception-frame {
    width: min(720px, 86vw);
    height: min(760px, 68svh);
  }

  .perception-details {
    right: 24px;
    bottom: 28px;
  }
}

@media (max-width: 700px) {
  .perception-experience {
    min-height: 245svh;
  }

  .perception-stage {
    min-height: 100svh;
  }

  .perception-intro {
    left: 18px;
    top: 54px;
    width: calc(100% - 36px);
  }

  .perception-intro h2 {
    font-size: clamp(2.8rem, 13.5vw, 4.4rem);
    line-height: 0.94;
  }

  .perception-intro p {
    font-size: 1.04rem;
    line-height: 1.42;
  }

  .perception-visual {
    padding: 14px;
  }

  .perception-frame {
    width: min(430px, 92vw);
    height: min(650px, 66svh);
    border-radius: 34px;
  }

  .perception-image {
    object-position: center 24%;
  }

  .perception-label {
    bottom: 22px;
  }

  .perception-label-before {
    right: 22px;
  }

  .perception-label-after {
    left: 22px;
  }

  .perception-final-copy {
    width: calc(100% - 28px);
  }

  .perception-final-copy h2 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
    line-height: 0.92;
  }

  .perception-final-copy p {
    max-width: 330px;
    font-size: 1rem;
  }

  .perception-details {
    right: 18px;
    bottom: 22px;
    gap: 7px;
  }

  .perception-details li {
    font-size: 0.72rem;
  }
}

.cinema-slides {
  --slide-bg: #050505;
  display: grid;
  gap: clamp(38px, 9vh, 118px);
  padding: clamp(24px, 5vh, 58px) clamp(14px, 4vw, 64px) clamp(94px, 14vh, 170px);
  background: var(--slide-bg);
  color: #f7f3ed;
  isolation: isolate;
}

.cinema-slide {
  position: relative;
  min-height: min(980px, 90svh);
  display: grid;
  align-items: start;
}

.cinema-card {
  --slide-progress: 0.62;
  position: relative;
  min-height: min(960px, 88svh);
  overflow: hidden;
  border-radius: clamp(40px, 4vw, 56px);
  background: #090909;
  box-shadow: 0 38px 130px rgba(0, 0, 0, 0.48);
  opacity: clamp(0.78, var(--slide-progress), 1);
  transform:
    translate3d(0, calc((1 - var(--slide-progress)) * 18px), 0)
    scale(calc(0.985 + var(--slide-progress) * 0.015));
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.cinema-card img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center;
  transform:
    translate3d(
      calc((var(--slide-progress) - 0.5) * -18px),
      calc((var(--slide-progress) - 0.5) * -24px),
      0
    )
    scale(calc(1.035 + var(--slide-progress) * 0.035));
  filter: saturate(0.98) contrast(1.08) brightness(1.18);
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter, opacity;
}

.cinema-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.34) 0%, rgba(5, 5, 5, 0.12) 38%, rgba(5, 5, 5, 0.02) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.38) 0%, rgba(5, 5, 5, 0.04) 46%, rgba(5, 5, 5, 0.04) 100%);
  pointer-events: none;
}

.cinema-card h2 {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 104px);
  bottom: clamp(28px, 8vh, 104px);
  max-width: min(760px, calc(100% - 48px));
  margin: 0;
  color: #f7f3ed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 5.8vw, 7.2rem);
  font-weight: 610;
  line-height: 0.94;
  letter-spacing: 0;
  opacity: clamp(0.74, (var(--slide-progress) - 0.08) * 2.6, 1);
  transform: translate3d(0, calc((1 - var(--slide-progress)) * 20px), 0);
  filter: blur(calc((1 - var(--slide-progress)) * 5px));
  will-change: opacity, transform, filter;
}

.presence-card {
  --presence-progress: 0;
}

.presence-card .presence-base {
  filter:
    saturate(calc(0.72 + var(--presence-progress) * 0.12))
    contrast(calc(0.92 + var(--presence-progress) * 0.06))
    brightness(calc(0.98 - var(--presence-progress) * 0.22));
}

.presence-card .presence-final {
  opacity: clamp(0, (var(--presence-progress) - 0.08) * 1.18, 1);
  filter:
    saturate(calc(0.88 + var(--presence-progress) * 0.16))
    contrast(calc(0.98 + var(--presence-progress) * 0.08))
    brightness(calc(0.72 + var(--presence-progress) * 0.12));
  mix-blend-mode: normal;
}

.presence-card .cinema-shade {
  background:
    radial-gradient(circle at calc(54% + var(--presence-progress) * 10%) 35%, rgba(216, 189, 134, calc(0.02 + var(--presence-progress) * 0.18)), transparent 34%),
    linear-gradient(90deg, rgba(5, 5, 5, calc(0.7 - var(--presence-progress) * 0.16)) 0%, rgba(5, 5, 5, calc(0.28 - var(--presence-progress) * 0.04)) 44%, rgba(5, 5, 5, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.84) 0%, rgba(5, 5, 5, calc(0.2 - var(--presence-progress) * 0.08)) 48%, rgba(5, 5, 5, 0.16) 100%);
}

.editorial-transition,
.apple-visual-cards {
  background: #f5f5f7;
  color: #111;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.editorial-transition {
  position: relative;
  padding: clamp(132px, 19vh, 228px) clamp(18px, 5vw, 84px) clamp(86px, 12vh, 146px);
}

.editorial-transition-inner {
  --editorial-progress: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.48fr);
  gap: clamp(44px, 9vw, 142px);
  align-items: center;
  width: min(1460px, 100%);
  margin-inline: auto;
}

.frame-home .editorial-transition h2 {
  max-width: 980px;
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(4rem, 7.2vw, 6.4rem);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: 0;
  opacity: clamp(0.06, var(--editorial-progress), 1);
  transform:
    translate3d(0, calc((1 - var(--editorial-progress)) * 46px), 0)
    scale(calc(0.965 + var(--editorial-progress) * 0.035));
  filter: blur(calc((1 - var(--editorial-progress)) * 18px));
  will-change: opacity, transform, filter;
}

.frame-home .editorial-transition p {
  max-width: 430px;
  margin: 0;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(1.14rem, 1.42vw, 1.42rem);
  line-height: 1.42;
  font-weight: 460;
  letter-spacing: 0;
  opacity: clamp(0.04, (var(--editorial-progress) - 0.18) * 1.5, 1);
  transform:
    translate3d(0, calc((1 - var(--editorial-progress)) * 32px), 0)
    scale(calc(0.985 + var(--editorial-progress) * 0.015));
  filter: blur(calc((1 - var(--editorial-progress)) * 12px));
  will-change: opacity, transform, filter;
}

.apple-visual-cards {
  position: relative;
  padding: 0 clamp(18px, 4vw, 72px) clamp(132px, 18vh, 220px);
}

.apple-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.1vw, 34px);
  width: min(1580px, 100%);
  margin-inline: auto;
}

.apple-visual-card {
  position: relative;
  min-height: clamp(520px, 58vw, 760px);
  overflow: hidden;
  border-radius: clamp(32px, 3vw, 44px);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.055);
  transition:
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.apple-visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.012);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-piece-card img {
  object-position: center 42%;
  transform: scale(1.075);
}

.apple-visual-card:hover {
  box-shadow: 0 32px 94px rgba(0, 0, 0, 0.085);
  transform: translateY(-6px) scale(1.01);
}

.apple-visual-card:hover img {
  transform: scale(1.032);
}

.apple-piece-card:hover img {
  transform: scale(1.095);
}

.smart-shopping-section {
  background:
    radial-gradient(circle at 36% 48%, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0) 38%),
    radial-gradient(circle at 78% 62%, rgba(226, 213, 198, 0.26), rgba(245, 245, 247, 0) 30%),
    #f5f5f7;
  color: #111;
  padding: clamp(124px, 15vh, 188px) clamp(16px, 4vw, 72px) clamp(156px, 19vh, 238px);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

.smart-shopping-stage {
  --shopping-progress: 0;
  --coat-progress: 0;
  --title-progress: 0;
  --subtitle-progress: 0;
  --hud-progress: 0;
  position: relative;
  width: min(1580px, 100%);
  min-height: clamp(820px, 92svh, 1060px);
  margin-inline: auto;
  isolation: isolate;
}

.shopping-product {
  position: absolute;
  z-index: 2;
  left: clamp(430px, 38vw, 660px);
  top: 60%;
  width: min(31vw, 520px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: var(--coat-progress);
  transform:
    translate3d(calc((1 - var(--coat-progress)) * -72px), calc(-50% + (1 - var(--coat-progress)) * 34px), 0)
    rotate(calc((1 - var(--coat-progress)) * -2.4deg))
    scale(calc(0.9 + var(--coat-progress) * 0.1));
  filter:
    drop-shadow(0 46px 74px rgba(38, 25, 16, 0.16))
    drop-shadow(0 12px 24px rgba(38, 25, 16, 0.08))
    blur(calc((1 - var(--coat-progress)) * 12px));
  animation: coatFloat 6.2s ease-in-out infinite;
  will-change: opacity, transform, filter;
}

@keyframes coatFloat {
  0%, 100% {
    margin-top: -16px;
  }
  50% {
    margin-top: 16px;
  }
}

.shopping-product img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.02);
}

.shopping-copy {
  position: absolute;
  z-index: 5;
  left: clamp(22px, 5vw, 88px);
  right: auto;
  top: clamp(28px, 7vh, 76px);
  width: min(720px, 50vw);
  pointer-events: none;
}

.frame-home .shopping-copy h2 {
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(3.15rem, 5vw, 6rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: 0;
  opacity: var(--title-progress);
  transform: translate3d(0, calc((1 - var(--title-progress)) * 36px), 0);
  filter: blur(calc((1 - var(--title-progress)) * 14px));
  will-change: opacity, transform, filter;
}

.frame-home .shopping-copy p {
  max-width: 560px;
  margin: clamp(18px, 2.4vh, 28px) 0 0;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(1.12rem, 1.35vw, 1.34rem);
  font-weight: 450;
  line-height: 1.44;
  opacity: var(--subtitle-progress);
  transform: translate3d(0, calc((1 - var(--subtitle-progress)) * 28px), 0);
  filter: blur(calc((1 - var(--subtitle-progress)) * 10px));
  will-change: opacity, transform, filter;
}

.shopping-line {
  position: absolute;
  z-index: 3;
  left: min(63vw, 1000px);
  top: 57%;
  width: min(13vw, 210px);
  height: 96px;
  opacity: clamp(0, (var(--hud-progress) - 0.1) * 1.6, 1);
  transform: translate3d(0, calc((1 - var(--hud-progress)) * 12px), 0);
  pointer-events: none;
}

.shopping-line::before {
  position: absolute;
  left: 0;
  top: 20px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: none;
  background: rgba(177, 114, 62, 0.42);
  box-shadow: 0 0 0 5px rgba(177, 114, 62, 0.08);
  content: "";
}

.shopping-line span {
  position: absolute;
  inset: 22px 0 0 0;
  border-top: 1px solid rgba(64, 55, 47, 0.24);
  border-right: 1px solid rgba(64, 55, 47, 0.14);
  border-top-right-radius: 64px;
  transform: scaleX(var(--hud-progress));
  transform-origin: left center;
}

.shopping-hud {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 4vw, 74px);
  top: 58%;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(430px, 31vw);
  min-width: 350px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 34px 86px rgba(24, 24, 28, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(1.2);
  opacity: var(--hud-progress);
  transform:
    translate3d(calc((1 - var(--hud-progress)) * 62px), calc(-50% + (1 - var(--hud-progress)) * 24px), 0)
    rotate(calc((1 - var(--hud-progress)) * 1.2deg))
    scale(calc(0.94 + var(--hud-progress) * 0.06));
  filter: blur(calc((1 - var(--hud-progress)) * 11px));
  animation: hudFloat 6.8s ease-in-out infinite;
  will-change: opacity, transform, filter;
}

@keyframes hudFloat {
  0%, 100% {
    margin-top: -13px;
  }
  50% {
    margin-top: 13px;
  }
}

.shopping-hud-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(244, 241, 236, 0.72) 68%),
    #f5f2ed;
}

.shopping-hud-media img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  object-fit: contain;
  transform: scale(1.35) translateY(4%);
  filter: drop-shadow(0 18px 24px rgba(38, 25, 16, 0.14));
}

.shopping-hud-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.shopping-hud-kicker {
  color: rgba(110, 110, 115, 0.92);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}

.shopping-hud h3 {
  margin: 0;
  color: #111;
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: 0;
}

.shopping-hud p {
  margin: 0;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  line-height: 1.25;
}

.shopping-swatches {
  display: flex;
  gap: 8px;
  margin: 4px 0 2px;
}

.shopping-swatches span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.shopping-hud a,
.shopping-hud button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  border-radius: 999px;
  font: inherit;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

.shopping-hud a {
  color: #fff;
  background: #111318;
  box-shadow: 0 12px 28px rgba(17, 19, 24, 0.16);
}

.shopping-hud button {
  border: 1px solid rgba(17, 19, 24, 0.12);
  color: #111318;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.home-pricing-section {
  position: relative;
  display: grid;
  gap: clamp(34px, 6vh, 72px);
  padding: clamp(96px, 15vh, 170px) clamp(18px, 5vw, 84px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0) 36%),
    #f5f5f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

.home-pricing-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.pricing-kicker,
.price-label,
.popular-pill {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.pricing-kicker {
  margin: 0;
  color: rgba(17, 17, 17, 0.46);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-pricing-intro h2 {
  max-width: 920px;
  margin: 0;
  color: #111;
  font-size: clamp(3.5rem, 8vw, 9.4rem);
  font-weight: 720;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.home-pricing-intro p {
  max-width: 640px;
  margin: 0;
  color: #6e6e73;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.48;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: min(1360px, 100%);
  margin-inline: auto;
  align-items: stretch;
}

.mobile-slider-hud {
  display: none;
}

.home-price-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: clamp(34px, 6vh, 72px);
  min-height: clamp(430px, 42vw, 560px);
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(32px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.075);
  backdrop-filter: blur(26px) saturate(1.12);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 520ms ease;
}

.home-price-card::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(17, 17, 17, 0.045);
  border-radius: clamp(24px, 3vw, 36px);
  content: "";
  pointer-events: none;
}

.home-price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.105);
}

.home-price-card.is-featured {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
    #111318;
  box-shadow: 0 34px 120px rgba(17, 19, 24, 0.2);
}

.home-price-card.is-featured::before {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-price-card.is-featured .price-label {
  color: rgba(255, 255, 255, 0.56);
}

.home-price-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.35rem, 4.1vw, 4.8rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.home-price-card p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #6e6e73;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.42;
}

.home-price-card.is-featured p {
  color: rgba(255, 255, 255, 0.66);
}

.popular-pill {
  position: absolute;
  top: clamp(18px, 2vw, 26px);
  right: clamp(18px, 2vw, 26px);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 760;
}

.home-price {
  display: grid;
  gap: 8px;
}

.home-price strong {
  color: inherit;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 760;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.home-price span {
  color: #86868b;
  font-size: 0.96rem;
  font-weight: 520;
}

.home-price-card.is-featured .home-price span {
  color: rgba(255, 255, 255, 0.58);
}

.home-price-card a,
.home-subscription-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: #111318;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.home-price-card.is-featured a {
  color: #111;
  background: #fff;
}

.home-price-card a:hover,
.home-subscription-strip a:hover {
  transform: translateY(-1px);
}

.home-subscription-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 12px 12px 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.065);
  backdrop-filter: blur(24px) saturate(1.12);
}

.home-subscription-strip span {
  color: #111;
  font-weight: 760;
  white-space: nowrap;
}

.home-subscription-strip p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.98rem;
}

.home-subscription-strip strong {
  color: #111;
}

.editorial-transition [data-reveal],
.apple-visual-cards [data-reveal] {
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 700px) {
  .conversion-header {
    top: 10px;
    left: 14px;
    right: 14px;
    width: auto;
    min-height: 46px;
    padding: 0;
  }

  .conversion-nav {
    gap: 6px;
  }

  .conversion-login,
  .conversion-signup,
  .conversion-primary {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .conversion-login {
    padding: 0 12px;
  }

  .conversion-signup {
    padding: 0 13px;
  }

  .conversion-site-logo {
    max-width: 42vw;
    padding-inline: 0;
    font-size: 0.9rem;
    overflow: hidden;
  }

  .floating-upload-button {
    min-height: 48px;
    width: min(300px, calc(100% - 28px));
  }

  .floating-upload-button.is-visible {
    transform: translate3d(var(--floating-shift-x, 0), var(--floating-shift-y, 0), 0);
  }

  .floating-upload-button.is-camera {
    width: 54px;
    min-height: 54px;
  }

  .section-scroll-cue {
    left: 50%;
    right: auto;
    bottom: 18px;
    min-height: 50px;
    padding: 8px 11px 8px 16px;
    font-size: 0.82rem;
  }

  .cinema-slides {
    gap: 34px;
    padding: 22px 12px 92px;
  }

  .cinema-slide {
    min-height: 80svh;
  }

  .cinema-card {
    min-height: 78svh;
    border-radius: 40px;
  }

  .cinema-card img {
    inset: -5%;
    width: 110%;
    height: 110%;
    object-position: 72% center;
  }

  .cinema-shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.04) 0%, rgba(5, 5, 5, 0.14) 44%, rgba(5, 5, 5, 0.74) 100%);
  }

  .cinema-card h2 {
    left: 24px;
    right: 24px;
    bottom: 34px;
    max-width: none;
    font-size: clamp(2.55rem, 13vw, 4.7rem);
  }

  .presence-card .cinema-shade {
    background:
      radial-gradient(circle at 58% 30%, rgba(216, 189, 134, calc(0.02 + var(--presence-progress) * 0.14)), transparent 36%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.22) 44%, rgba(5, 5, 5, 0.9) 100%);
  }
}

@media (max-width: 1100px) {
  .editorial-transition-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-transition p {
    max-width: 620px;
  }

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

  .apple-visual-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .smart-shopping-section {
    padding-top: 72px;
  }

  .smart-shopping-stage {
    display: grid;
    gap: 28px;
    min-height: auto;
  }

  .shopping-product,
  .shopping-copy,
  .shopping-hud {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
  }

  .shopping-copy {
    order: 1;
    width: min(720px, 100%);
    margin-inline: auto;
    text-align: center;
  }

  .shopping-product {
    order: 2;
    width: min(560px, 92%);
    margin: -6px auto 0;
  }

  .shopping-line {
    display: none;
  }

  .shopping-hud {
    order: 3;
    grid-template-columns: 112px minmax(0, 1fr);
    width: min(460px, 100%);
    min-width: 0;
    margin-inline: auto;
  }

}

@media (max-width: 700px) {
  .editorial-transition {
    padding: 96px 18px 58px;
  }

  .frame-home .editorial-transition h2 {
    font-size: clamp(2.65rem, 12.6vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: 0;
  }

  .frame-home .editorial-transition p {
    font-size: 1.08rem;
    line-height: 1.52;
  }

  .apple-visual-cards {
    padding: 0 14px 104px;
  }

  .apple-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .apple-visual-card,
  .apple-visual-card:last-child {
    grid-column: auto;
    min-height: min(650px, 118svh);
    border-radius: 34px;
  }

  .smart-shopping-section {
    padding: 80px 14px 104px;
  }

  .shopping-copy {
    text-align: left;
  }

  .frame-home .shopping-copy h2 {
    max-width: 350px;
    font-size: clamp(2.75rem, 13vw, 4.15rem);
    line-height: 0.94;
  }

  .frame-home .shopping-copy p {
    max-width: 350px;
    font-size: 1.08rem;
  }

  .shopping-product {
    width: min(420px, 96%);
    margin-inline: auto;
  }

  .shopping-hud {
    grid-template-columns: 96px minmax(0, 1fr);
    border-radius: 30px;
    padding: 12px;
  }

  .shopping-hud-media {
    border-radius: 22px;
  }

  .home-pricing-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .home-price-card {
    min-height: 420px;
  }

  .home-subscription-strip {
    align-items: stretch;
    flex-direction: column;
    border-radius: 32px;
    padding: 18px;
    text-align: center;
  }

  .home-subscription-strip a {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .frame-hero {
    height: 238vh;
  }

  .frame-scroll-cue {
    left: 50%;
    right: auto;
    bottom: 74px;
    gap: 15px;
    min-height: 62px;
    padding: 9px 13px 9px 20px;
    border-color: rgba(246, 243, 238, 0.34);
    background: rgba(246, 243, 238, 0.16);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  }

  .frame-scroll-cue i {
    height: 56px;
  }

  .frame-final-copy h1 {
    font-size: clamp(3.1rem, 14vw, 5.6rem);
  }

  .frame-final-copy {
    padding: 92px 18px 104px;
  }

  .frame-final-copy > div {
    margin-top: 62px;
  }

  .frame-opening-copy {
    left: 18px;
    top: 48%;
  }

  .frame-opening-copy p {
    font-size: clamp(3rem, 14vw, 5.8rem);
  }

  .frame-final-copy p {
    max-width: 350px;
    font-size: 1rem;
  }

  .frame-final-actions {
    gap: 9px;
  }

  .frame-final-actions a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .frame-cta-section,
  .frame-gallery-section {
    padding: 72px 16px;
  }

  .frame-cta-inner h2,
  .frame-gallery-section h2 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  .frame-cta-section {
    min-height: 78svh;
  }

  .frame-cta-inner {
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .perception-experience {
    min-height: 214svh;
  }

  .section-scroll-cue {
    left: 50%;
    right: auto;
    bottom: 18px;
    min-height: 58px;
    padding: 9px 13px 9px 19px;
    border-color: rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(22px) saturate(1.16);
  }

  .section-scroll-cue span {
    font-size: 0.9rem;
    font-weight: 680;
  }

  .section-scroll-cue i {
    height: 52px;
    background: rgba(17, 17, 17, 0.26);
  }

  .section-scroll-cue i b {
    width: 6px;
    height: 6px;
    background: rgba(17, 17, 17, 0.62);
  }

  .section-scroll-cue-light {
    color: #f7f7f8;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(17, 17, 17, 0.24);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.16);
  }

  .section-scroll-cue-light i {
    background: rgba(255, 255, 255, 0.38);
  }

  .section-scroll-cue-light i b {
    background: rgba(255, 255, 255, 0.78);
  }

  .editorial-transition .section-scroll-cue,
  .apple-visual-cards .section-scroll-cue,
  .smart-shopping-stage .section-scroll-cue {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin: 26px auto 0;
  }

  .perception-stage .section-scroll-cue {
    bottom: 26px;
  }

  .frame-scroll-cue {
    bottom: 96px;
  }

  .apple-visual-cards {
    padding: 0 0 110px;
    overflow: hidden;
  }

  .apple-card-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 18px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .apple-card-grid::-webkit-scrollbar,
  .home-pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .apple-visual-card,
  .apple-visual-card:last-child {
    flex: 0 0 min(84vw, 350px);
    min-height: min(590px, 72svh);
    border-radius: 34px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .apple-visual-card:first-child img {
    object-position: center 72%;
    transform: scale(1.08);
  }

  .mobile-slider-hud {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: max-content;
    min-height: 34px;
    margin: 8px auto 0;
    padding: 5px 8px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px) saturate(1.14);
  }

  .mobile-slider-hud button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.24);
    cursor: pointer;
    transition:
      width 360ms cubic-bezier(0.16, 1, 0.3, 1),
      background 360ms ease,
      opacity 360ms ease;
  }

  .mobile-slider-hud button.is-active {
    width: 24px;
    background: #111;
  }

  .smart-shopping-section {
    padding: 76px 14px 108px;
  }

  .smart-shopping-stage {
    gap: 20px;
  }

  .shopping-copy {
    text-align: left;
  }

  .shopping-product {
    width: min(430px, 106vw);
    margin: 0 auto -8px;
    transform-origin: center;
    transform:
      translate3d(0, calc((1 - var(--coat-progress)) * 20px), 0)
      scale(calc(0.96 + var(--coat-progress) * 0.04));
  }

  .shopping-product picture,
  .shopping-product img {
    display: block;
    width: 100%;
  }

  .shopping-product img {
    transform: scale(1.035);
    filter:
      drop-shadow(0 34px 56px rgba(70, 46, 25, 0.16))
      drop-shadow(0 10px 18px rgba(70, 46, 25, 0.08));
  }

  .shopping-hud {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    width: min(360px, 100%);
    padding: 11px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.76);
  }

  .shopping-hud-media img {
    transform: scale(1.08);
  }

  .home-pricing-section {
    gap: 30px;
    padding: 84px 0 92px;
    overflow: hidden;
  }

  .home-pricing-intro {
    padding-inline: 18px;
  }

  .home-pricing-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 18px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-price-card {
    flex: 0 0 min(84vw, 350px);
    min-height: 430px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .home-subscription-strip {
    width: calc(100% - 36px);
  }

  .rgpd-shell {
    padding: 104px 16px 54px;
  }

  .rgpd-hero {
    text-align: left;
  }

  .rgpd-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .rgpd-card {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .rgpd-card article {
    min-height: 220px;
    border-radius: 34px;
  }
}

/* Luxury graphite homepage */
.luxury-home {
  --graphite: #0e0e10;
  --graphite-soft: #151518;
  --warm-white: #f4efe7;
  --warm-muted: rgba(244, 239, 231, 0.68);
  --champagne: #d8bd86;
  --champagne-soft: rgba(216, 189, 134, 0.18);
  color: var(--warm-white);
  background: var(--graphite);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

.luxury-home h1,
.luxury-home h2,
.luxury-home h3,
.luxury-home p {
  margin: 0;
}

.luxury-home h1,
.luxury-home h2 {
  color: var(--warm-white);
  font-weight: 560;
  letter-spacing: 0;
}

.luxury-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 72px);
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.78), rgba(14, 14, 16, 0));
  backdrop-filter: blur(18px);
}

.luxury-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--warm-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 760;
  white-space: nowrap;
}

.luxury-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.luxury-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.luxury-nav a:not(.credit-pill),
.luxury-nav .credit-pill,
.luxury-nav .logout-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 239, 231, 0.14);
  color: rgba(244, 239, 231, 0.78);
  background: rgba(244, 239, 231, 0.055);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 720;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.luxury-nav a:hover,
.luxury-nav .logout-button:hover {
  border-color: rgba(216, 189, 134, 0.5);
  color: var(--warm-white);
  background: rgba(244, 239, 231, 0.1);
  transform: translateY(-1px);
}

.luxury-hero {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(112px, 16vh, 178px) clamp(18px, 5vw, 84px) clamp(42px, 8vh, 86px);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #09090a;
}

.hero-frame {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  filter: saturate(0.86) contrast(1.08) brightness(0.72);
  transform: scale(1.06);
  animation: cinematicFrames 18s ease-in-out infinite;
}

.frame-two {
  animation-delay: 6s;
}

.frame-three {
  animation-delay: 12s;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, 0.96) 0%, rgba(14, 14, 16, 0.72) 38%, rgba(14, 14, 16, 0.16) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.94) 0%, transparent 42%),
    radial-gradient(circle at 72% 28%, rgba(216, 189, 134, 0.18), transparent 32%);
  content: "";
}

.film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 28%),
    repeating-radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

@keyframes cinematicFrames {
  0%, 24% {
    opacity: 1;
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  31%, 100% {
    opacity: 0;
    transform: scale(1.12) translate3d(-1.6%, -1.2%, 0);
  }
}

.hero-content {
  display: grid;
  gap: clamp(22px, 3vh, 34px);
  width: min(980px, 100%);
  padding-bottom: clamp(18px, 5vh, 70px);
}

.hero-content[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  animation: heroIntro 900ms ease 180ms forwards;
}

@keyframes heroIntro {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.luxury-eyebrow {
  color: rgba(216, 189, 134, 0.82);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 1040px;
  font-size: clamp(4.8rem, 11vw, 12.6rem);
  line-height: 0.82;
}

.hero-subtitle {
  max-width: 760px;
  color: var(--warm-muted);
  font-size: clamp(1.16rem, 2vw, 1.75rem);
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.luxury-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.luxury-button.primary {
  border: 1px solid rgba(244, 239, 231, 0.92);
  color: #111112;
  background: var(--warm-white);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.36);
}

.luxury-button.secondary {
  border: 1px solid rgba(244, 239, 231, 0.18);
  color: var(--warm-white);
  background: rgba(244, 239, 231, 0.06);
}

.luxury-button:hover {
  transform: translateY(-2px);
}

.luxury-button.primary:hover {
  box-shadow: 0 22px 68px rgba(216, 189, 134, 0.16);
}

.hero-note {
  color: rgba(244, 239, 231, 0.52);
  font-size: 0.9rem;
}

.luxury-section,
.psychology-section,
.process-section,
.status-section,
.final-luxury-cta {
  padding: clamp(78px, 13vh, 152px) clamp(18px, 5vw, 84px);
}

.section-kicker {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin-bottom: clamp(34px, 6vh, 70px);
}

.section-kicker h2,
.psychology-copy h2,
.status-copy h2,
.final-luxury-cta h2 {
  max-width: 1080px;
  font-size: clamp(2.75rem, 6.4vw, 7.8rem);
  line-height: 0.9;
}

.transformation-section {
  background:
    linear-gradient(180deg, #0e0e10 0%, #151518 100%);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(14px, 2vw, 28px);
  align-items: stretch;
}

.luxury-compare {
  --position: 52%;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(244, 239, 231, 0.08);
  border-radius: 8px;
  background: #1c1c1f;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  touch-action: none;
}

.luxury-compare.large {
  grid-row: span 2;
  min-height: min(86vh, 920px);
}

.luxury-compare.tall {
  min-height: 620px;
}

.luxury-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  pointer-events: none;
}

.luxury-compare .compare-before {
  position: absolute;
  inset: 0;
  filter: saturate(0.82) contrast(0.94) brightness(0.82);
}

.luxury-compare .compare-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  border-right: 1px solid rgba(244, 239, 231, 0.86);
}

.luxury-compare .compare-handle::before {
  width: 42px;
  height: 42px;
  border-color: rgba(244, 239, 231, 0.82);
  background: rgba(14, 14, 16, 0.64);
  backdrop-filter: blur(12px);
}

.luxury-compare figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(244, 239, 231, 0.14);
  border-radius: 999px;
  color: rgba(244, 239, 231, 0.82);
  background: rgba(14, 14, 16, 0.48);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 720;
}

.psychology-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 7vw, 118px);
  align-items: start;
  background: #f4efe7;
  color: #111112;
}

.psychology-copy {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 22px;
}

.psychology-copy h2,
.status-copy h2 {
  color: #111112;
}

.psychology-copy p:not(.luxury-eyebrow),
.status-copy p {
  max-width: 720px;
  color: rgba(17, 17, 18, 0.66);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.48;
}

.psychology-points,
.process-grid,
.proof-grid {
  display: grid;
  gap: 12px;
}

.psychology-points article,
.process-grid article,
.proof-grid article {
  border: 1px solid rgba(216, 189, 134, 0.18);
  border-radius: 8px;
}

.psychology-points article {
  padding: clamp(24px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.56);
}

.psychology-points span,
.step-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: #9f7d42;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.psychology-points h3,
.process-grid h3 {
  color: inherit;
  font-size: clamp(1.6rem, 2.6vw, 2.55rem);
  font-weight: 560;
  line-height: 1;
}

.psychology-points p,
.process-grid p {
  margin-top: 14px;
  color: rgba(17, 17, 18, 0.62);
}

.proof-section,
.process-section {
  background: #0e0e10;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-grid article,
.process-grid article {
  padding: clamp(24px, 3vw, 38px);
  background: rgba(244, 239, 231, 0.045);
}

.proof-grid p {
  color: rgba(244, 239, 231, 0.84);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.36;
}

.proof-grid span {
  display: block;
  margin-top: 34px;
  color: rgba(216, 189, 134, 0.78);
  font-size: 0.86rem;
  font-weight: 760;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.process-grid article::after {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 54px;
  height: 1px;
  background: rgba(216, 189, 134, 0.5);
  content: "";
  transform-origin: right center;
  transition: transform 300ms ease;
}

.process-grid article:hover::after {
  transform: scaleX(1.8);
}

.process-grid h3 {
  color: var(--warm-white);
}

.process-grid p {
  color: rgba(244, 239, 231, 0.58);
}

.status-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  background: #f4efe7;
}

.status-copy {
  display: grid;
  gap: 22px;
}

.status-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 22px);
  align-items: end;
}

.status-gallery img {
  width: 100%;
  height: min(64vh, 720px);
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(17, 17, 18, 0.16);
}

.status-gallery img:nth-child(2) {
  transform: translateY(-42px);
}

.seo-section {
  background: #111113;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-links a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid rgba(244, 239, 231, 0.09);
  border-radius: 8px;
  color: rgba(244, 239, 231, 0.82);
  background: rgba(244, 239, 231, 0.045);
  font-weight: 760;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.seo-links a:hover {
  border-color: rgba(216, 189, 134, 0.42);
  background: rgba(244, 239, 231, 0.08);
  transform: translateY(-1px);
}

.final-luxury-cta {
  display: grid;
  place-items: center;
  min-height: 82svh;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.54), rgba(14, 14, 16, 0.96)),
    url("assets/luxury-hero.png") center top / cover;
  text-align: center;
}

.final-luxury-cta > div {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 1040px;
}

.mobile-sticky-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(10px);
  transition: opacity 800ms ease, transform 800ms ease, filter 800ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame,
  [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .compare-grid,
  .psychology-section,
  .proof-grid,
  .process-grid,
  .status-section,
  .seo-links {
    grid-template-columns: 1fr;
  }

  .psychology-copy {
    position: static;
  }

  .luxury-compare.large,
  .luxury-compare.tall {
    min-height: 560px;
  }

  .status-gallery img:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 700px) {
  .luxury-header {
    min-height: 58px;
    padding: 10px 14px;
  }

  .luxury-brand span,
  .luxury-nav a[href="#psychologie"],
  .luxury-nav a[href="/blog/"],
  .luxury-nav .credit-pill,
  .luxury-nav .logout-button {
    display: none;
  }

  .luxury-nav {
    margin-left: auto;
  }

  .luxury-nav a:not(.credit-pill) {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .luxury-hero {
    min-height: 100svh;
    padding: 92px 16px 96px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(14, 14, 16, 0.32), rgba(14, 14, 16, 0.9) 54%, rgba(14, 14, 16, 0.98) 100%),
      radial-gradient(circle at 60% 20%, rgba(216, 189, 134, 0.16), transparent 36%);
  }

  .hero-content {
    align-self: end;
    gap: 18px;
  }

  .hero-content h1 {
    font-size: clamp(4rem, 18vw, 6.6rem);
    line-height: 0.84;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    width: 100%;
  }

  .luxury-button {
    width: 100%;
    min-height: 52px;
  }

  .luxury-section,
  .psychology-section,
  .process-section,
  .status-section,
  .final-luxury-cta {
    padding: 72px 16px;
  }

  .section-kicker h2,
  .psychology-copy h2,
  .status-copy h2,
  .final-luxury-cta h2 {
    font-size: clamp(2.75rem, 13vw, 4.8rem);
  }

  .luxury-compare,
  .luxury-compare.large,
  .luxury-compare.tall {
    min-height: 430px;
    border-radius: 6px;
  }

  .status-gallery {
    grid-template-columns: 1fr;
  }

  .status-gallery img {
    height: auto;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 50;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .cinematic-complete .mobile-sticky-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-cta label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 1px solid rgba(244, 239, 231, 0.9);
    border-radius: 999px;
    color: #111112;
    background: rgba(244, 239, 231, 0.94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
    font-weight: 820;
    backdrop-filter: blur(18px);
  }
}

/* Editorial dark premium homepage */
.editorial-home {
  color: #f4eee5;
  background:
    radial-gradient(circle at 78% 18%, rgba(121, 92, 59, 0.24), transparent 28%),
    linear-gradient(180deg, #171411 0%, #211b16 52%, #eee7dc 52%, #f5efe6 100%);
  overflow-x: hidden;
}

.editorial-header {
  justify-content: space-between;
  min-height: 58px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: #171411;
  border: 0;
  backdrop-filter: none;
}

.editorial-header .header-mark {
  width: 42px;
  height: 42px;
}

.editorial-header .credit-pill,
.editorial-header .logout-button,
.editorial-header .nav-link {
  border-color: rgba(244, 238, 229, 0.18);
  color: rgba(244, 238, 229, 0.82);
  background: rgba(244, 238, 229, 0.08);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(184, 170, 152, 0.78);
  color: var(--ink);
  background: #fffdf9;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(86px, 12vh, 124px) clamp(22px, 5vw, 78px) clamp(44px, 7vh, 78px);
}

.editorial-copy {
  max-width: 640px;
}

.editorial-copy .eyebrow {
  color: rgba(221, 191, 148, 0.78);
}

.editorial-copy h1 {
  max-width: 680px;
  color: #f7f0e6;
  font-size: clamp(3.6rem, 7vw, 7.8rem);
  line-height: 0.9;
}

.editorial-copy .hero-subtitle {
  max-width: 470px;
  color: rgba(244, 238, 229, 0.74);
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  line-height: 1.35;
}

.editorial-copy .primary-button,
.editorial-final .primary-button {
  border-color: #f4eee5;
  color: #171411;
  background: #f4eee5;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.editorial-copy .support-text {
  color: rgba(244, 238, 229, 0.6);
}

.editorial-compare {
  --position: 50%;
  position: relative;
  width: min(100%, 690px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  overflow: hidden;
  margin: 0;
  border-radius: 4px;
  background: #2b241d;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.42);
  touch-action: none;
}

.editorial-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.split-photo::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.88), transparent);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.34);
  content: "";
  pointer-events: none;
}

.occasion-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 42px);
  padding: clamp(76px, 12vh, 132px) clamp(22px, 5vw, 78px);
  background: #eee7dc;
}

.occasion-section figure,
.immersive-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d8cfc2;
  box-shadow: 0 28px 90px rgba(42, 34, 27, 0.18);
}

.occasion-section img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
  object-position: center top;
  transition: transform 900ms ease, filter 900ms ease;
}

.occasion-section figure:hover img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.02);
}

.occasion-section figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: #f8f2e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}

.manifesto-section {
  display: grid;
  place-items: center;
  min-height: 54vh;
  padding: clamp(62px, 10vh, 120px) clamp(22px, 5vw, 78px);
  color: #f6efe5;
  background: #171411;
  text-align: center;
}

.manifesto-section p {
  max-width: 1040px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  line-height: 0.95;
}

.marketing-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(70px, 10vh, 122px) clamp(22px, 5vw, 78px);
  color: #171411;
  background: #f5efe6;
}

.marketing-section h2 {
  max-width: 860px;
  color: #171411;
  font-size: clamp(2.5rem, 5.2vw, 5.6rem);
  line-height: 0.96;
}

.marketing-section p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: #5f574e;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
}

.marketing-links {
  display: grid;
  gap: 10px;
}

.marketing-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(193, 155, 98, 0.28);
  color: #211f1c;
  background: rgba(255, 253, 249, 0.72);
  font-weight: 760;
  text-decoration: none;
}

.marketing-links a:hover {
  border-color: rgba(193, 155, 98, 0.68);
  background: #fffdf9;
}

.immersive-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(80px, 12vh, 132px) clamp(22px, 5vw, 78px);
  background: #eee7dc;
}

.immersive-gallery figure {
  --position: 50%;
  aspect-ratio: 4 / 5;
  touch-action: none;
}

.immersive-gallery figure:nth-child(even) {
  transform: translateY(44px);
}

.immersive-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.editorial-final {
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: clamp(80px, 13vh, 150px) clamp(22px, 5vw, 78px);
  color: #171411;
  background: #f5efe6;
  text-align: center;
}

.editorial-final h2 {
  max-width: 980px;
  color: #171411;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.94;
}

@media (prefers-reduced-motion: no-preference) {
  .editorial-compare,
  .occasion-section figure,
  .manifesto-section p,
  .immersive-gallery figure,
  .editorial-final h2 {
    animation: editorialReveal 900ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

@keyframes editorialReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .editorial-hero,
  .occasion-section,
  .immersive-gallery,
  .marketing-section {
    grid-template-columns: 1fr;
  }

  .editorial-compare {
    width: min(100%, 560px);
    justify-self: start;
  }

  .occasion-section img {
    height: auto;
  }

  .immersive-gallery figure:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .editorial-header {
    padding: 8px 12px;
  }

  .editorial-header .header-mark {
    width: 36px;
    height: 36px;
  }

  .editorial-hero {
    gap: 28px;
    padding: 78px 16px 42px;
  }

  .editorial-copy h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .occasion-section,
  .immersive-gallery,
  .marketing-section,
  .editorial-final {
    padding-inline: 16px;
  }
}

.seo-page {
  color: #f5efe6;
  background: #171411;
}

.seo-page main {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 9vh, 96px) 0;
}

.seo-page h1 {
  max-width: 920px;
  color: #f7f0e6;
  font-size: clamp(3rem, 7vw, 7rem);
}

.seo-page h2 {
  color: #f7f0e6;
}

.seo-page p {
  max-width: 780px;
  margin: 0;
  color: rgba(245, 239, 230, 0.76);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
}

.seo-page img {
  width: min(100%, 760px);
  max-height: 720px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.seo-page section {
  display: grid;
  gap: 18px;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.seo-link-grid a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 238, 229, 0.18);
  color: #f7f0e6;
  background: rgba(244, 238, 229, 0.08);
  font-weight: 760;
  text-decoration: none;
}

.seo-link-grid a:hover {
  border-color: rgba(193, 155, 98, 0.68);
  background: rgba(244, 238, 229, 0.13);
}

/* Premium homepage refresh */
.premium-home {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 253, 249, 0.86), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f3ed 54%, #f3ede4 100%);
}

.premium-header {
  justify-content: space-between;
  min-height: 56px;
  padding: 10px clamp(18px, 4vw, 62px);
  background: rgba(251, 250, 247, 0.72);
  border: 0;
  backdrop-filter: blur(18px);
}

.header-mark {
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 46px;
  text-decoration: none;
}

.header-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(38, 34, 29, 0.12));
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(82px, 11vh, 118px) clamp(22px, 5vw, 72px) clamp(34px, 6vh, 64px);
}

.premium-copy {
  max-width: 680px;
}

.premium-copy .eyebrow {
  margin-bottom: 20px;
}

.premium-copy h1 {
  max-width: 680px;
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
  line-height: 0.94;
}

.premium-copy .hero-subtitle {
  max-width: 570px;
  margin-top: 26px;
  color: #423d35;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.36;
}

.premium-visual {
  position: relative;
  min-height: min(76svh, 760px);
  isolation: isolate;
}

.premium-main-compare {
  --position: 52%;
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: min(64%, 520px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eee8df;
  box-shadow: 0 34px 110px rgba(38, 34, 29, 0.2);
  transform: translate(-50%, -50%);
  touch-action: none;
}

.premium-main-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  pointer-events: none;
}

.premium-main-compare .compare-handle::before {
  width: 42px;
  height: 42px;
  background: rgba(33, 31, 28, 0.5);
}

.support-card {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #eee8df;
  box-shadow: 0 24px 80px rgba(38, 34, 29, 0.13);
  opacity: 0.62;
  animation: premiumDrift 18s ease-in-out infinite;
}

.support-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.support-card::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9), transparent);
  content: "";
}

.support-card-one {
  left: 2%;
  top: 8%;
  width: 31%;
  aspect-ratio: 4 / 5;
  filter: blur(0.2px);
}

.support-card-two {
  right: 0;
  top: 14%;
  width: 28%;
  aspect-ratio: 3 / 4;
  animation-delay: -5s;
}

.support-card-three {
  left: 8%;
  bottom: 4%;
  width: 27%;
  aspect-ratio: 1 / 1;
  animation-delay: -10s;
}

.support-card-four {
  right: 7%;
  bottom: 2%;
  width: 29%;
  aspect-ratio: 4 / 5;
  animation-delay: -14s;
}

@keyframes premiumDrift {
  0%, 100% {
    opacity: 0.38;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  32%, 66% {
    opacity: 0.76;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.trust-strip,
.how-section,
.gallery-section,
.reassurance-section,
.final-cta {
  padding-inline: clamp(22px, 5vw, 72px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: clamp(56px, 8vh, 92px);
}

.trust-strip article {
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(221, 214, 204, 0.86);
  background: rgba(251, 250, 247, 0.62);
  backdrop-filter: blur(14px);
}

.trust-strip span {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  border: 1px solid rgba(193, 155, 98, 0.6);
  border-radius: 50%;
}

.trust-strip h2,
.steps-grid h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.trust-strip p,
.steps-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-bottom: clamp(26px, 4vh, 42px);
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.96;
}

.how-section,
.gallery-section {
  padding-top: clamp(54px, 8vh, 96px);
  padding-bottom: clamp(54px, 8vh, 96px);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(221, 214, 204, 0.88);
}

.steps-grid article {
  padding: clamp(22px, 3vw, 42px);
  background: rgba(251, 250, 247, 0.86);
}

.steps-grid span {
  display: block;
  margin-bottom: 32px;
  color: #a77f49;
  font-size: 0.92rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: clamp(16px, 2.3vw, 30px);
  align-items: end;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eee8df;
  box-shadow: 0 24px 80px rgba(38, 34, 29, 0.12);
}

.gallery-grid figure:nth-child(2) {
  transform: translateY(-34px);
}

.gallery-grid img {
  width: 100%;
  height: min(58vh, 620px);
  object-fit: cover;
  object-position: center top;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(251, 250, 247, 0.92);
  font-weight: 750;
}

.reassurance-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: clamp(42px, 7vh, 78px);
  padding-bottom: clamp(54px, 8vh, 96px);
  background: rgba(221, 214, 204, 0.74);
}

.reassurance-section p {
  margin: 0;
  padding: clamp(18px, 2.5vw, 30px);
  color: #312d27;
  background: #f7f3ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.78rem);
  line-height: 1.16;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding-top: clamp(62px, 10vh, 112px);
  padding-bottom: clamp(62px, 10vh, 112px);
  text-align: center;
  background: #eee5d8;
}

.final-cta h2 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.96;
}

@media (prefers-reduced-motion: no-preference) {
  .trust-strip article,
  .how-section,
  .gallery-section,
  .reassurance-section,
  .final-cta {
    animation: sectionReveal 900ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .premium-hero,
  .trust-strip,
  .steps-grid,
  .gallery-grid,
  .reassurance-section {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    padding-top: 86px;
  }

  .premium-visual {
    min-height: 560px;
  }

  .premium-main-compare {
    width: min(70%, 470px);
  }

  .support-card-one,
  .support-card-two,
  .support-card-three,
  .support-card-four {
    width: 28%;
  }

  .gallery-grid figure:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .premium-header {
    min-height: 52px;
    padding: 8px 12px;
  }

  .header-mark {
    width: 38px;
    height: 38px;
  }

  .premium-hero {
    gap: 24px;
    padding: 72px 16px 34px;
  }

  .premium-copy h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .premium-copy .hero-subtitle {
    font-size: 1.03rem;
  }

  .premium-visual {
    min-height: 420px;
  }

  .premium-main-compare {
    width: min(78%, 330px);
  }

  .support-card-one,
  .support-card-four {
    width: 31%;
  }

  .support-card-two,
  .support-card-three {
    display: none;
  }

  .trust-strip,
  .how-section,
  .gallery-section,
  .reassurance-section,
  .final-cta {
    padding-inline: 16px;
  }

  .gallery-grid img {
    height: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.home-page,
.auth-page {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 46px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(247, 243, 237, 0.78), rgba(247, 243, 237, 0));
  border-bottom: 0;
  backdrop-filter: blur(16px);
}

.logout-button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(251, 250, 247, 0.82);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(184, 170, 152, 0.78);
  color: var(--ink);
  background: #fffdf9;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.credit-pill.active,
.credit-pill:hover {
  background: var(--button);
  border-color: var(--button);
  color: #fff;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.14rem, 1.5vw, 1.46rem);
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.brand.slogan {
  max-width: min(780px, calc(100vw - 44px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.92rem, 1.24vw, 1.08rem);
  font-weight: 520;
  color: #37332d;
}

.header-logo-link,
.auth-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  width: clamp(104px, 11vw, 148px);
  height: auto;
}

.auth-logo {
  width: min(100%, 430px);
  height: auto;
}

.auth-compare {
  --position: 50%;
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
  background: #efe8de;
  box-shadow: 0 30px 90px rgba(38, 34, 29, 0.17);
  touch-action: none;
}

.auth-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  pointer-events: none;
}

.auth-compare figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(33, 31, 28, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-hero,
.choice-layout,
.result-layout,
.loading-layout {
  min-height: 100vh;
  padding: clamp(84px, 10vh, 108px) clamp(22px, 5vw, 72px) clamp(22px, 4vh, 42px);
}

.choice-layout {
  padding-top: clamp(68px, 8vh, 86px);
}

.choice-layout .choice-copy {
  padding-top: 4px;
}

.home-page .home-hero {
  min-height: 100svh;
  padding-top: clamp(66px, 8vh, 78px);
  padding-bottom: clamp(14px, 3vh, 24px);
  overflow: clip;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 253, 249, 0.92), transparent 28%),
    linear-gradient(115deg, rgba(255, 253, 249, 0.72) 0%, rgba(247, 243, 237, 0) 55%);
}

.home-hero,
.choice-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.74fr) minmax(520px, 1.26fr);
  gap: clamp(28px, 4.8vw, 74px);
  align-items: center;
}

.choice-layout {
  align-items: start;
}

.home-copy,
.choice-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.3rem, 7vw, 6.7rem);
}

.home-page h1 {
  font-size: clamp(2.9rem, 5.2vw, 5.05rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: #47423b;
  font-size: clamp(1.18rem, 1.75vw, 1.68rem);
  line-height: 1.24;
}

.home-page .hero-subtitle {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
}

.single-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 34px;
}

.home-page .single-upload {
  margin-top: 24px;
}

.home-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-reasons span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(193, 155, 98, 0.32);
  color: #3e3931;
  background: rgba(255, 253, 249, 0.62);
  font-size: 0.86rem;
  font-weight: 750;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 310px);
  min-height: 68px;
  padding: 20px 34px;
  border: 1px solid var(--button);
  border-radius: 4px;
  color: #fff;
  background: var(--button);
  box-shadow: 0 16px 38px rgba(36, 34, 31, 0.18);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--button-hover);
  box-shadow: 0 18px 44px rgba(36, 34, 31, 0.24);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.52;
  transform: none;
}

.primary-button.full {
  width: 100%;
}

.support-text {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-compare,
.result-compare {
  --position: 50%;
  position: relative;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(135deg, #eee8df, #fbfaf7);
  box-shadow: var(--shadow);
  touch-action: none;
}

.hero-compare {
  aspect-ratio: 4 / 5;
  height: min(78vh, 760px);
  min-height: 500px;
}

.studio-showcase {
  position: relative;
  height: min(calc(100svh - 94px), 760px);
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}

.studio-showcase::before,
.studio-showcase::after {
  position: absolute;
  inset: 9% 5%;
  border: 1px solid rgba(193, 155, 98, 0.14);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.studio-showcase::after {
  inset: 20% 19%;
  border-color: rgba(33, 31, 28, 0.08);
}

.studio-title {
  position: absolute;
  z-index: 10;
  inset: 50% auto auto 50%;
  width: clamp(154px, 17vw, 240px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 34px rgba(38, 34, 29, 0.18));
}

.studio-title img {
  width: 100%;
  height: auto;
}

.studio-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #eee8df;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(38, 34, 29, 0.16);
  animation: studioOrbit 20s cubic-bezier(0.45, 0, 0.22, 1) infinite;
  will-change: transform, opacity;
}

.studio-card::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95), transparent);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
  content: "";
  animation: compareLine 7.5s ease-in-out infinite;
}

.studio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
}

.studio-card-a {
  z-index: 5;
  left: 3%;
  top: 9%;
  width: 30%;
  aspect-ratio: 4 / 5;
  animation-delay: -1s;
}

.studio-card-b {
  z-index: 5;
  right: 3%;
  top: 8%;
  width: 32%;
  aspect-ratio: 4 / 5;
  animation-delay: -6s;
}

.studio-card-c {
  z-index: 4;
  left: 8%;
  bottom: 5%;
  width: 31%;
  aspect-ratio: 4 / 5;
  animation-delay: -10s;
}

.studio-card-d {
  z-index: 4;
  right: 5%;
  bottom: 7%;
  width: 29%;
  aspect-ratio: 4 / 5;
  animation-delay: -14s;
}

.studio-card-e {
  z-index: 1;
  left: 39%;
  top: 2%;
  width: 17%;
  aspect-ratio: 4 / 5;
  animation-delay: -8s;
}

.studio-card-f {
  z-index: 1;
  left: 42%;
  bottom: 2%;
  width: 17%;
  aspect-ratio: 4 / 5;
  animation-delay: -4s;
}

.studio-card-g {
  z-index: 3;
  left: 28%;
  top: 20%;
  width: 16%;
  aspect-ratio: 1 / 1;
  animation-delay: -12s;
}

.studio-card-h {
  z-index: 3;
  right: 28%;
  top: 19%;
  width: 17%;
  aspect-ratio: 3 / 4;
  animation-delay: -16s;
}

.studio-card-i {
  z-index: 3;
  left: 30%;
  bottom: 16%;
  width: 16%;
  aspect-ratio: 1 / 1;
  animation-delay: -2s;
}

.studio-card-j {
  z-index: 3;
  right: 29%;
  bottom: 15%;
  width: 16%;
  aspect-ratio: 3 / 4;
  animation-delay: -18s;
}

@keyframes studioOrbit {
  0%, 100% {
    opacity: 0.18;
    transform: translate3d(0, 22px, 0) scale(0.965);
  }
  16% {
    opacity: 0.86;
  }
  32%, 62% {
    opacity: 1;
    transform: translate3d(8px, -10px, 0) scale(1);
  }
  82% {
    opacity: 0.62;
    transform: translate3d(-8px, -22px, 0) scale(0.985);
  }
}

@keyframes compareLine {
  0%, 100% {
    left: 42%;
    opacity: 0.42;
  }
  45% {
    left: 58%;
    opacity: 0.9;
  }
  70% {
    left: 50%;
    opacity: 0.58;
  }
}

.result-compare {
  aspect-ratio: 4 / 5;
  width: min(100%, 820px);
  max-height: calc(100vh - 170px);
  min-height: 0;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-compare img,
.result-compare img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.compare-before {
  filter: saturate(0.88) contrast(0.96) brightness(0.96);
}

.compare-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  border-right: 1px solid rgba(255, 255, 255, 0.92);
}

.compare-after img {
  filter: saturate(1.04) contrast(1.03) brightness(1.04);
}

.compare-after.has-result img {
  filter: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 44px;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(33, 31, 28, 0.56);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  content: "";
  transform: translate(-50%, -50%);
}

.hero-compare figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 3px;
  color: #fff;
  background: rgba(33, 31, 28, 0.58);
  font-size: 0.86rem;
}

.flow {
  background:
    linear-gradient(90deg, transparent 0, transparent 56%, rgba(255, 253, 249, 0.58) 56%, rgba(255, 253, 249, 0.58) 100%),
    var(--paper);
}

.choice-panel,
.shop-hud {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.84);
  box-shadow: 0 18px 60px rgba(38, 34, 29, 0.08);
}

.photo-summary {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.photo-summary img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  background: var(--stone);
}

.photo-summary p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.style-list,
.decor-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.compact-grid legend {
  grid-column: 1 / -1;
}

.style-list legend,
.decor-choice legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.style-card,
.decor-choice label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
  cursor: pointer;
}

.style-card:has(input:checked),
.decor-choice label:has(input:checked) {
  border-color: #9c9284;
  background: #fffdf9;
}

.style-card input,
.decor-choice input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--button);
}

.style-card strong,
.decor-choice span {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 400;
  line-height: 1.12;
}

.style-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.96rem;
}

.manual-toggle {
  min-height: 58px;
  border: 1px solid #9c9284;
  color: var(--ink);
  background: #fffdf9;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.manual-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.78);
}

.manual-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.manual-group {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(221, 214, 204, 0.84);
  background: rgba(251, 250, 247, 0.82);
}

.manual-group label {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.manual-group select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font: inherit;
}

.color-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 8px;
}

.color-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid rgba(221, 214, 204, 0.82);
  background: #fffdf9;
  cursor: pointer;
}

.color-choice input {
  position: absolute;
  opacity: 0;
}

.color-choice .swatch {
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 1px rgba(33, 31, 28, 0.12);
}

.color-choice:has(input:checked) {
  border-color: #8f806f;
  background: #f7f3ed;
}

.color-choice input:checked + .swatch {
  box-shadow: 0 0 0 2px var(--button), inset 0 0 0 2px #fffdf9;
}

.swatch-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.swatch-card span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(33, 31, 28, 0.18);
  border-radius: 50%;
}

.swatch.blue {
  background: #315f8f;
}

.swatch.white {
  background: #f8f6ef;
}

.swatch.beige {
  background: #cbb99d;
}

.swatch.black {
  background: #1f1f1f;
}

.swatch.gray {
  background: #7d7b76;
}

.swatch.green {
  background: #506b55;
}

.swatch.navy {
  background: #1d2e44;
}

.swatch.camel {
  background: #b58b5b;
}

.swatch.burgundy {
  background: #6b2636;
}

.swatch.ivory {
  background: #f1eadc;
}

.swatch.brown {
  background: #5a3f2d;
}

.swatch.blush {
  background: #d6aaa4;
}

.manual-accessories {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(221, 214, 204, 0.84);
  background: rgba(251, 250, 247, 0.82);
}

.manual-accessories legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 9px;
}

.accessory-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
}

.accessory-grid label:has(input:checked) {
  border-color: #8f806f;
  background: #f7f3ed;
}

.accessory-grid input {
  accent-color: var(--button);
}

.loading-layout {
  display: grid;
  place-items: center;
}

.loading-card {
  width: min(780px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.88);
  box-shadow: var(--shadow);
}

.loading-card h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.loading-card p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

.progress-line {
  position: relative;
  overflow: hidden;
  height: 3px;
  margin-top: 42px;
  background: #ded7cd;
}

.progress-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: var(--button);
  animation: progressSlide 1.35s ease-in-out infinite;
}

@keyframes progressSlide {
  0% {
    transform: translateX(-110%);
  }
  50% {
    transform: translateX(90%);
  }
  100% {
    transform: translateX(270%);
  }
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(420px, 1fr) minmax(300px, 380px);
  gap: clamp(18px, 2.8vw, 38px);
  align-items: start;
}

.result-main {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.result-main h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  text-align: center;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 1px solid var(--button);
  color: #fff;
  background: var(--button);
  font-weight: 650;
  text-decoration: none;
}

.shop-hud,
.result-actions {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 124px);
  overflow: auto;
}

.result-actions {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.84);
  box-shadow: 0 18px 60px rgba(38, 34, 29, 0.08);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf9;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.shop-hud p {
  margin: 0;
  color: var(--muted);
}

.shop-links {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shop-links a {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf9;
  box-shadow: 0 10px 28px rgba(38, 34, 29, 0.05);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shop-links a:hover {
  border-color: #a99f92;
  box-shadow: 0 14px 34px rgba(38, 34, 29, 0.1);
  transform: translateY(-1px);
}

.shop-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.shop-body {
  display: grid;
  gap: 4px;
}

.shop-links strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.2;
}

.shop-links small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.25;
}

.shop-links em {
  color: var(--quiet);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.25;
}

.shop-action {
  justify-self: start;
  margin-top: 8px;
  padding: 8px 11px;
  color: #fff;
  background: var(--button);
  font-size: 0.82rem;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.auth-page {
  min-height: 100vh;
  background: var(--paper);
}

.auth-page-premium {
  display: grid;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0) 42%),
    #f5f5f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

.connexion-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(26px, 5vw, 64px);
}

.connexion-topbar {
  position: fixed;
  z-index: 5;
  top: clamp(14px, 2vw, 24px);
  left: clamp(14px, 3vw, 48px);
  right: clamp(14px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.connexion-brand {
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0;
  text-decoration: none;
  pointer-events: auto;
}

.connexion-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #111;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.075);
  backdrop-filter: blur(24px) saturate(1.14);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background 320ms ease;
}

.connexion-home-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.connexion-card {
  display: grid;
  gap: 18px;
  width: min(420px, 100%);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 96px rgba(24, 24, 28, 0.08);
  backdrop-filter: blur(26px) saturate(1.14);
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: authCardAppear 1000ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

@keyframes authCardAppear {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.connexion-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 2px;
}

.connexion-heading h1 {
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 720;
  line-height: 0.95;
  letter-spacing: 0;
}

.connexion-heading p {
  margin: 0;
  color: #6e6e73;
  font-size: 1rem;
  line-height: 1.42;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.055);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: #6e6e73;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 680;
  transition: background 280ms ease, color 280ms ease, transform 280ms ease;
}

.auth-tabs button.is-active {
  color: #111;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(24, 24, 28, 0.06);
}

.google-premium {
  min-height: 50px;
  border-radius: 999px;
}

.connexion-form {
  gap: 12px;
}

.connexion-form label {
  color: #6e6e73;
}

.connexion-form input {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.auth-main-submit {
  min-height: 52px;
  border-radius: 999px;
  background: #111318;
}

.forgot-password {
  justify-self: center;
  color: rgba(17, 17, 17, 0.52);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.forgot-password:hover {
  color: #111;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(340px, 460px);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(22px, 4vw, 52px);
  overflow: visible;
}

.auth-copy {
  max-width: 760px;
  display: grid;
  justify-items: start;
  gap: 20px;
}

.auth-copy .brand {
  display: inline-flex;
  margin-bottom: 46px;
}

.auth-logo-link {
  margin-bottom: 24px;
}

.auth-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
}

.auth-panel {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.9);
  box-shadow: var(--shadow);
}

.auth-panel h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.oauth-actions,
.auth-form {
  display: grid;
  gap: 12px;
}

.oauth-button,
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf9;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.oauth-button {
  gap: 12px;
}

.oauth-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.oauth-button.dark {
  color: #fff;
  background: #211f1c;
  border-color: #211f1c;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--quiet);
  font-size: 0.9rem;
}

.auth-separator::before,
.auth-separator::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.credits-page {
  min-height: 100vh;
  padding: clamp(78px, 10vh, 108px) clamp(22px, 5vw, 72px) clamp(28px, 5vh, 52px);
}

.credits-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.credits-hero {
  position: sticky;
  top: 82px;
  max-width: 620px;
}

.credits-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

.credits-message {
  min-height: 28px;
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.pricing-columns {
  display: grid;
  gap: 18px;
}

.pricing-column {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(221, 214, 204, 0.9);
  background: rgba(251, 250, 247, 0.72);
  box-shadow: 0 20px 70px rgba(38, 34, 29, 0.07);
}

.subscription-pricing {
  background: #fffdf9;
  border-color: #b8aa98;
}

.pricing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pricing-heading span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1;
}

.pricing-heading p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.3;
  text-align: right;
}

.price-list {
  display: grid;
  gap: 0;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(221, 214, 204, 0.82);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row.highlighted {
  margin-inline: -12px;
  padding-inline: 12px;
  background: rgba(232, 225, 215, 0.38);
}

.price-row strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.34rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.price-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  min-width: 92px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.price-row button {
  min-width: 96px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--button);
  color: #fff;
  background: var(--button);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.price-row button:hover,
.price-row button:focus-visible {
  background: var(--button-hover);
}

@media (max-width: 980px) {
  .home-hero,
  .choice-layout,
  .result-layout,
  .credits-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .credits-hero {
    position: static;
  }

  .pricing-heading {
    align-items: start;
    flex-direction: column;
  }

  .pricing-heading p {
    max-width: none;
    text-align: left;
  }

  .hero-compare {
    height: auto;
    min-height: auto;
    max-height: 58vh;
  }

  .studio-showcase {
    height: 58svh;
    min-height: 430px;
    margin-top: 6px;
  }

  .studio-title {
    width: min(66%, 420px);
  }

  .studio-card-a,
  .studio-card-b,
  .studio-card-c,
  .studio-card-d {
    width: 34%;
  }

  .studio-card-e,
  .studio-card-f,
  .studio-card-g,
  .studio-card-h,
  .studio-card-i,
  .studio-card-j {
    display: none;
  }

  .result-compare {
    min-height: auto;
    max-height: 760px;
  }

  .shop-hud {
    position: static;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: center;
    padding-block: 24px;
  }

  .auth-copy {
    justify-items: center;
    text-align: center;
  }

  .auth-logo {
    width: min(72vw, 320px);
  }

  .auth-compare {
    width: min(72vw, 300px);
  }

  .auth-logo-link {
    margin-bottom: 10px;
  }

  .auth-copy p {
    max-width: 520px;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 50px;
    padding-inline: 10px;
  }

  .header-logo {
    width: 84px;
  }

  .header-actions {
    gap: 6px;
  }

  .credit-pill,
  .logout-button {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 0.7rem;
  }

  .home-hero,
  .choice-layout,
  .result-layout {
    padding-top: 68px;
  }

  .home-page .home-hero {
    gap: 16px;
    padding-top: 60px;
    padding-bottom: 12px;
  }

  .home-page .eyebrow {
    margin-bottom: 12px;
  }

  .home-page h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .home-page .hero-subtitle {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.22;
  }

  .home-page .single-upload {
    gap: 8px;
    margin-top: 16px;
  }

  .home-reasons {
    gap: 6px;
    margin-top: 12px;
  }

  .home-reasons span {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .home-page .hero-compare {
    max-height: 38svh;
  }

  .studio-showcase {
    order: -1;
    height: 34svh;
    min-height: 260px;
    margin-top: 0;
  }

  .studio-title {
    width: clamp(112px, 30vw, 148px);
    padding: 0;
  }

  .studio-card-a {
    left: -4%;
    top: 8%;
    width: 38%;
  }

  .studio-card-b {
    right: -5%;
    top: 5%;
    width: 43%;
  }

  .studio-card-c {
    left: 8%;
    bottom: 0;
    width: 35%;
  }

  .studio-card-d {
    right: 9%;
    bottom: 0;
    width: 34%;
  }

  .studio-card-c,
  .studio-card-d {
    opacity: 0.72;
  }

  .auth-layout {
    padding: 14px;
    gap: 12px;
    align-content: start;
  }

  .auth-copy p {
    display: none;
  }

  .auth-compare {
    width: min(68vw, 190px);
  }

  .auth-panel {
    gap: 10px;
    padding: 16px;
  }

  .auth-panel .eyebrow {
    margin-bottom: 4px;
  }

  .auth-panel h2 {
    font-size: 2rem;
  }

  .auth-form {
    gap: 8px;
  }

  .oauth-actions {
    gap: 8px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .primary-button {
    width: 100%;
    min-width: 0;
  }

  .single-upload {
    width: 100%;
  }

  .photo-summary {
    grid-template-columns: 78px 1fr;
  }

  .photo-summary img {
    width: 78px;
    height: 98px;
  }

  .compact-grid {
    grid-template-columns: 1fr;
  }

  .manual-grid {
    grid-template-columns: 1fr;
  }

  .credits-page {
    padding-top: 66px;
  }

  .credits-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .price-row {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    min-height: 0;
  }

  .price-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .price {
    min-width: 82px;
  }
}

/* Final homepage locks: keep the luxury page independent from legacy page styles. */
.luxury-home h1,
.luxury-home h2,
.luxury-home h3,
.luxury-home .luxury-brand,
.luxury-home .luxury-button,
.luxury-home .luxury-nav,
.luxury-home .hero-subtitle,
.luxury-home .hero-note,
.luxury-home .luxury-eyebrow {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.luxury-home .luxury-eyebrow {
  letter-spacing: 0.18em;
}

.luxury-home .hero-content h1 {
  color: #f4efe7;
  font-size: clamp(4.8rem, 11vw, 12.6rem);
  font-weight: 620;
  line-height: 0.82;
}

.luxury-home .hero-subtitle {
  color: rgba(244, 239, 231, 0.72);
  font-size: clamp(1.16rem, 2vw, 1.75rem);
  line-height: 1.28;
}

.luxury-home .hero-note {
  color: rgba(244, 239, 231, 0.54);
}

.luxury-home .luxury-button.primary {
  color: #111112;
}

@media (max-width: 700px) {
  .luxury-home .hero-content h1 {
    font-size: clamp(4rem, 18vw, 6.6rem);
    line-height: 0.84;
  }

  .luxury-home .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* Scroll-cinematic homepage experience */
.cinematic-scroll {
  --hero-progress: 0;
  --hero-stage: 0;
  position: relative;
  min-height: 360svh;
  background: #0e0e10;
  color: #f6f3ee;
}

.cinematic-stage {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.cinematic-portrait {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #0e0e10;
}

.cinematic-image {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  object-position: center top;
  transform:
    translate3d(calc((var(--hero-progress) - 0.5) * -2.6vw), calc(var(--hero-progress) * -3vh), 0)
    scale(calc(1.08 - var(--hero-progress) * 0.035));
  transition: none;
  will-change: opacity, transform, filter;
}

.cinematic-before {
  opacity: calc(1 - var(--hero-progress) * 1.22);
  filter:
    grayscale(calc(0.35 - var(--hero-progress) * 0.25))
    saturate(calc(0.62 + var(--hero-progress) * 0.2))
    contrast(calc(0.88 + var(--hero-progress) * 0.04))
    brightness(calc(0.48 + var(--hero-progress) * 0.16));
}

.cinematic-after {
  opacity: calc(var(--hero-progress) * 1.34);
  clip-path: inset(0 calc((1 - var(--hero-progress)) * 100%) 0 0);
  filter:
    saturate(calc(0.82 + var(--hero-progress) * 0.22))
    contrast(calc(0.94 + var(--hero-progress) * 0.08))
    brightness(calc(0.58 + var(--hero-progress) * 0.28));
}

.cinematic-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(18% + var(--hero-progress) * 48%) calc(34% - var(--hero-progress) * 10%), rgba(216, 189, 134, calc(0.04 + var(--hero-progress) * 0.18)), transparent 34%),
    linear-gradient(90deg, rgba(14, 14, 16, calc(0.9 - var(--hero-progress) * 0.16)) 0%, rgba(14, 14, 16, calc(0.72 - var(--hero-progress) * 0.18)) 40%, rgba(14, 14, 16, calc(0.26 - var(--hero-progress) * 0.1)) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.96) 0%, rgba(14, 14, 16, calc(0.55 - var(--hero-progress) * 0.22)) 48%, rgba(14, 14, 16, 0.16) 100%);
}

.cinematic-grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 3px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 34%);
  pointer-events: none;
}

.cinematic-opening,
.cinematic-slogan,
.cinematic-words span {
  position: absolute;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.cinematic-opening {
  left: clamp(18px, 5vw, 84px);
  bottom: clamp(34px, 8vh, 92px);
  display: grid;
  gap: 12px;
  opacity: calc(1 - var(--hero-progress) * 5);
  transform: translateY(calc(var(--hero-progress) * -18px));
  filter: blur(calc(var(--hero-progress) * 14px));
}

.cinematic-opening p:not(.luxury-eyebrow) {
  color: rgba(246, 243, 238, 0.62);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
}

.cinematic-words {
  position: absolute;
  inset: 0;
}

.cinematic-words span {
  --word-alpha-in: clamp(0, (var(--hero-progress) - var(--start)) * 12, 1);
  --word-alpha-out: clamp(0, (var(--end) - var(--hero-progress)) * 12, 1);
  left: clamp(18px, 6vw, 110px);
  top: calc(20% + var(--start) * 58%);
  color: rgba(246, 243, 238, 0.86);
  font-size: clamp(2.4rem, 7vw, 8.2rem);
  font-weight: 600;
  line-height: 0.94;
  opacity: calc(var(--word-alpha-in) * var(--word-alpha-out) * 0.9);
  transform: translate3d(0, calc((1 - var(--word-alpha-in)) * 32px), 0);
  filter: blur(calc((1 - var(--word-alpha-in)) * 14px));
}

.cinematic-words span:nth-child(even) {
  right: clamp(18px, 7vw, 118px);
  left: auto;
}

.cinematic-slogan {
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  text-align: center;
  opacity: clamp(0, (var(--hero-progress) - 0.74) * 5, 1);
  transform: translateY(calc((1 - var(--hero-progress)) * 42px));
  filter: blur(calc((1 - var(--hero-progress)) * 16px));
}

.cinematic-slogan h1 {
  color: #f6f3ee;
  font-size: clamp(4rem, 10.8vw, 12.5rem);
  font-weight: 620;
  line-height: 0.84;
  letter-spacing: 0;
}

.minimal-cta-section {
  display: grid;
  place-items: center;
  min-height: 92svh;
  padding: clamp(78px, 13vh, 150px) clamp(18px, 5vw, 84px);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 189, 134, 0.1), transparent 34%),
    #0e0e10;
  color: #f6f3ee;
  text-align: center;
}

.minimal-cta-section > div {
  display: grid;
  justify-items: center;
  gap: 26px;
  width: min(1040px, 100%);
}

.minimal-cta-section h2 {
  max-width: 980px;
  color: #f6f3ee;
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 590;
  line-height: 0.88;
  letter-spacing: 0;
}

.minimal-cta-copy {
  max-width: 720px;
  color: rgba(246, 243, 238, 0.62);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.45;
}

.giant-photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(68px, 8vw, 96px);
  min-width: min(100%, 520px);
  padding: 22px 42px;
  border: 1px solid rgba(246, 243, 238, 0.88);
  border-radius: 999px;
  color: #101011;
  background: #f6f3ee;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  font-size: clamp(1.02rem, 1.45vw, 1.32rem);
  font-weight: 820;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.giant-photo-button:hover {
  background: #fffaf2;
  box-shadow: 0 30px 90px rgba(216, 189, 134, 0.14);
  transform: translateY(-2px) scale(1.01);
}

.luxury-home .transformation-section {
  padding-top: clamp(90px, 15vh, 170px);
}

.luxury-home .luxury-header {
  opacity: clamp(0.42, var(--hero-progress, 0) * 2, 1);
}

@media (max-width: 700px) {
  .cinematic-scroll {
    min-height: 330svh;
  }

  .cinematic-image {
    inset: -4%;
    width: 108%;
    height: 108%;
    object-position: 58% top;
  }

  .cinematic-light {
    background:
      linear-gradient(180deg, rgba(14, 14, 16, 0.12), rgba(14, 14, 16, 0.72) 56%, rgba(14, 14, 16, 0.98) 100%),
      radial-gradient(circle at 58% 26%, rgba(216, 189, 134, calc(0.08 + var(--hero-progress) * 0.16)), transparent 38%);
  }

  .cinematic-opening {
    right: 16px;
    bottom: 84px;
    left: 16px;
  }

  .cinematic-words span,
  .cinematic-words span:nth-child(even) {
    right: auto;
    left: 16px;
    max-width: calc(100% - 32px);
    font-size: clamp(2.7rem, 15vw, 5.6rem);
  }

  .cinematic-slogan {
    width: calc(100% - 28px);
  }

  .cinematic-slogan h1 {
    font-size: clamp(3.8rem, 17vw, 6.5rem);
  }

  .minimal-cta-section {
    min-height: 84svh;
    padding: 72px 16px 110px;
  }

  .minimal-cta-section h2 {
    font-size: clamp(3.2rem, 16vw, 5.8rem);
  }

  .giant-photo-button {
    width: 100%;
    min-width: 0;
  }
}

/* Connected premium experience overrides */
.app-page .site-header.app-header {
  inset: 18px clamp(16px, 3vw, 34px) auto;
  display: flex;
  justify-content: space-between;
  width: auto;
  min-height: 58px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.075);
  backdrop-filter: blur(28px) saturate(1.18);
}

.app-page .choice-layout,
.app-page .credits-shell,
.connected-home {
  display: grid;
}

.app-page .choice-layout {
  align-items: start;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
}

.connected-home {
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.connected-home,
.app-page .choice-layout,
.app-page .loading-layout,
.app-page .result-layout {
  min-height: 100vh;
  padding: clamp(104px, 13vh, 150px) clamp(20px, 5vw, 76px) clamp(38px, 6vh, 72px);
}

.app-page .choice-panel,
.upload-hud,
.app-page .pricing-column,
.app-page .loading-card,
.app-page .result-actions,
.app-page .shop-hud {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(30px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(28px) saturate(1.12);
}

.app-page .style-card,
.app-page .decor-choice label,
.app-page .manual-toggle,
.app-page select,
.app-page .accessory-grid label,
.app-page .photo-summary,
.app-page .style-list,
.app-page .decor-choice,
.app-page .manual-panel {
  border-radius: 24px;
}

.app-page .photo-summary img {
  border-radius: 22px;
}

.app-page .style-card strong,
.app-page .decor-choice span {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.app-page .primary-button.full,
.app-page .download-link,
.app-page .price-row button {
  border: 0;
  border-radius: 999px;
  background: #111;
  box-shadow: none;
}

.app-page .credits-page {
  padding: clamp(116px, 14vh, 160px) clamp(20px, 5vw, 76px) clamp(44px, 7vh, 86px);
}

.app-page .credits-shell {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: clamp(30px, 6vw, 96px);
}

.app-page .credits-hero {
  position: sticky;
  top: 128px;
}

.app-page .price-list {
  gap: 12px;
}

.app-page .price-row {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.065);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
}

.app-page .price-row.highlighted {
  margin-inline: 0;
  padding-inline: 18px;
  background: #fff;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.075);
}

@media (max-width: 980px) {
  .connected-home,
  .app-page .choice-layout,
  .app-page .credits-shell,
  .app-page .result-layout {
    grid-template-columns: 1fr;
  }

  .app-page .credits-hero {
    position: static;
  }

  .app-page .mode-list,
  .app-page .manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-page .result-layout {
    grid-template-columns: 1fr;
  }

  .shop-hud,
  .result-actions {
    position: relative;
    top: auto;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .connected-home,
  .app-page .choice-layout,
  .app-page .loading-layout,
  .app-page .result-layout,
  .app-page .credits-page {
    padding-inline: 16px;
    padding-top: 92px;
  }

  .app-page .connected-home {
    gap: 24px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .app-page .choice-layout {
    gap: 20px;
  }

  .app-page .photo-summary,
  .app-page .mode-list,
  .app-page .manual-grid {
    grid-template-columns: 1fr;
  }

  .app-page .style-card {
    min-height: 112px;
  }

  .app-page .manual-panel {
    padding: 16px;
  }

  .app-page .result-actions {
    order: 2;
  }

  .app-page .result-main {
    order: 1;
  }

  .app-page .shop-hud {
    order: 3;
  }
}

.app-page .profile-menu summary:hover {
  color: #fff;
  background: #1c1c1e;
}

.app-page .profile-popover .logout-button {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px;
  color: #111;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 640;
  text-align: left;
}

.app-page .profile-popover .logout-button:hover {
  color: #111;
  background: rgba(17, 17, 17, 0.055);
}

.rgpd-shell {
  min-height: 100vh;
  padding: clamp(124px, 15vh, 168px) clamp(18px, 5vw, 76px) clamp(54px, 8vh, 96px);
}

.rgpd-hero {
  display: grid;
  gap: 22px;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.rgpd-hero h1 {
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.5rem, 8vw, 9rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.rgpd-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 auto;
  color: #6e6e73;
  font-size: clamp(1.04rem, 1.45vw, 1.32rem);
  line-height: 1.5;
}

.rgpd-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin: clamp(44px, 8vh, 86px) auto 0;
}

.rgpd-card article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(30px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(26px) saturate(1.12);
}

.rgpd-card span {
  color: rgba(17, 17, 17, 0.38);
  font-size: 0.78rem;
  font-weight: 760;
}

.rgpd-card h2 {
  margin: 22px 0 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.rgpd-card p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #6e6e73;
  font-size: 1rem;
  line-height: 1.48;
}

.app-page .upload-hud-copy h2,
.app-page .pricing-heading span,
.app-page .price-row strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
}

.app-page .connected-home {
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 0.82fr);
  min-height: 100svh;
}

.app-page .connected-copy h1,
.app-page .choice-copy h1,
.app-page .result-main h1 {
  letter-spacing: -0.055em;
}

.app-page .upload-hud {
  min-height: min(640px, 70svh);
  border-radius: clamp(34px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.72);
}

.app-page .upload-orb {
  border-radius: clamp(34px, 5vw, 54px);
}

.app-page .choice-layout {
  grid-template-columns: minmax(320px, 0.7fr) minmax(520px, 1.3fr);
}

.app-page .choice-panel {
  display: grid;
  gap: 18px;
  border-radius: clamp(34px, 4vw, 52px);
}

.app-page .photo-summary {
  grid-template-columns: minmax(180px, 0.52fr) 1fr;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(17, 17, 17, 0.055);
  border-radius: 34px;
  background: rgba(245, 245, 247, 0.72);
}

.app-page .photo-summary img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.analysis-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.analysis-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 999px;
  color: rgba(17, 17, 17, 0.66);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 720;
}

.app-page .mode-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.app-page .mode-list legend {
  grid-column: 1 / -1;
}

.app-page .style-card,
.app-page .decor-choice label {
  min-height: 132px;
  grid-template-columns: 1fr;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease, box-shadow 360ms ease;
}

.app-page .style-card input {
  position: absolute;
  opacity: 0;
}

.app-page .style-card:has(input:checked) {
  background: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.075);
  transform: translateY(-2px);
}

.app-page .style-card strong,
.app-page .decor-choice span,
.app-page .manual-group label,
.app-page .shop-links strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.app-page .manual-toggle {
  min-height: 72px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.app-page .manual-panel,
.app-page .manual-group,
.app-page .manual-accessories {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.64);
}

.app-page .manual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-page .manual-group select {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.app-page .color-choice,
.app-page .accessory-grid label {
  border-radius: 999px;
}

.app-page .result-layout {
  grid-template-columns: minmax(200px, 240px) minmax(420px, 1fr) minmax(320px, 410px);
}

.app-page .result-compare {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(32px, 4vw, 54px);
  background: #f5f5f7;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.09);
}

.app-page .compare-after.show-before {
  clip-path: inset(0 100% 0 0);
}

.app-page .compare-after.show-before + .compare-handle {
  opacity: 0;
}

.app-page .shop-links a {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
}

/* Editor redesign */
.app-page .connected-home {
  position: relative;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 0.78fr);
  gap: clamp(36px, 7vw, 118px);
  overflow: hidden;
  isolation: isolate;
}

.app-page .connected-home::before {
  position: absolute;
  z-index: -1;
  right: -12vw;
  top: 10vh;
  width: min(760px, 64vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.92), rgba(226, 229, 235, 0.42) 52%, rgba(245, 245, 247, 0) 72%);
  content: "";
  animation: appFloat 8.5s ease-in-out infinite;
}

.app-page .connected-copy {
  align-self: center;
}

.app-page .connected-copy h1 {
  max-width: 780px;
  font-size: clamp(4.6rem, 9vw, 10.8rem);
}

.app-page .upload-hud {
  position: relative;
  min-height: min(720px, 74svh);
  align-content: end;
  border-radius: clamp(38px, 5vw, 64px);
  overflow: hidden;
}

.app-page .upload-hud::after {
  position: absolute;
  inset: 18px 18px auto;
  height: min(56%, 430px);
  border-radius: clamp(34px, 4vw, 58px);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.96), rgba(239, 240, 244, 0.76) 58%, rgba(226, 228, 233, 0.48) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 28px 90px rgba(0, 0, 0, 0.07);
  content: "";
}

.app-page .upload-orb {
  position: absolute;
  z-index: 2;
  top: clamp(48px, 8vh, 90px);
  left: 50%;
  width: min(320px, 52%);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  animation: appFloat 6.8s ease-in-out infinite;
}

.app-page .upload-orb span {
  border-width: 9px;
}

.app-page .upload-hud-copy,
.app-page .upload-actions,
.app-page .upload-note {
  position: relative;
  z-index: 3;
}

.app-page .upload-actions {
  gap: 12px;
}

.app-page .upload-action {
  min-height: 54px;
  border-radius: 999px;
}

.app-page .upload-note {
  margin-top: -6px;
}

.app-page .choice-layout {
  display: block;
  padding-top: clamp(104px, 12vh, 140px);
}

.app-page .choice-layout .choice-copy {
  max-width: 1080px;
  margin: 0 auto clamp(28px, 5vh, 54px);
  text-align: center;
}

.app-page .choice-layout .choice-copy h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(3.4rem, 7vw, 8.4rem);
}

.choice-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  width: min(1540px, 100%);
  margin-inline: auto;
}

.app-page .choice-photo-card {
  position: sticky;
  top: 104px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(14px, 2vw, 18px);
  border-radius: clamp(36px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(28px) saturate(1.12);
}

.app-page .choice-photo-card img {
  aspect-ratio: 4 / 5;
  border-radius: clamp(28px, 3vw, 46px);
}

.app-page .choice-photo-card p {
  margin: 0 0 8px;
  color: rgba(17, 17, 17, 0.42);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.app-page .choice-photo-card strong {
  display: block;
  color: #111;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.app-page .choice-photo-card span {
  display: block;
  max-width: 470px;
  margin-top: 12px;
  color: #6e6e73;
  font-size: 1rem;
  line-height: 1.42;
}

.app-page .choice-panel {
  gap: 16px;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: clamp(34px, 4vw, 52px);
}

.app-page .style-list legend,
.app-page .decor-choice legend,
.app-page .manual-accessories legend {
  color: rgba(17, 17, 17, 0.44);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.app-page .mode-list {
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 10px;
}

.app-page .compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.app-page .style-card {
  min-height: 118px;
  padding: 16px;
}

.app-page .style-card small {
  margin-top: 8px;
  font-size: 0.87rem;
  line-height: 1.28;
}

.app-page .manual-toggle {
  margin-top: 4px;
}

.app-page .manual-panel {
  gap: 16px;
  padding: clamp(16px, 2.2vw, 24px);
}

.app-page .manual-intro {
  max-width: 720px;
  color: #6e6e73;
}

.app-page .manual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-page .manual-group {
  gap: 12px;
  padding: 16px;
}

.app-page .color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.app-page .color-choice {
  min-width: 0;
  min-height: 36px;
  padding: 5px 9px;
}

.app-page .accessory-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.app-page .decor-choice label {
  min-height: 74px;
}

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

  .app-page .choice-photo-card {
    position: relative;
    top: auto;
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .app-page .mode-list,
  .app-page .compact-grid,
  .app-page .manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .app-page .connected-copy h1 {
    font-size: clamp(3.7rem, 17vw, 5.4rem);
  }

  .app-page .upload-hud {
    min-height: 620px;
  }

  .app-page .choice-layout .choice-copy {
    text-align: left;
  }

  .app-page .choice-layout .choice-copy h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .app-page .mode-list,
  .app-page .compact-grid,
  .app-page .manual-grid {
    grid-template-columns: 1fr;
  }

  .app-page .style-card {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .app-page .connected-home,
  .app-page .choice-layout,
  .app-page .result-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .app-page .connected-home {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .app-page .mode-list,
  .app-page .manual-grid,
  .app-page .photo-summary {
    grid-template-columns: 1fr;
  }
}

.app-page .upload-hud-copy h2 {
  margin: 8px 0 0;
  color: #111;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.frame-home .home-pricing-section,
.frame-home .home-pricing-section h2,
.frame-home .home-pricing-section h3,
.frame-home .home-pricing-section p,
.frame-home .home-pricing-section a,
.frame-home .home-pricing-section span,
.frame-home .home-pricing-section strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

.frame-home .home-pricing-intro h2 {
  color: #111;
  font-size: clamp(3.35rem, 7.4vw, 8.4rem);
  font-weight: 720;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.frame-home .home-price-card h3 {
  color: inherit;
  font-size: clamp(2.35rem, 4.1vw, 4.8rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.frame-home .home-price strong {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 760;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

@media (max-width: 700px) {
  .frame-home .home-pricing-section {
    padding: 82px 14px 96px;
  }

  .frame-home .home-pricing-intro h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .rgpd-shell {
    padding: 104px 16px 54px;
  }

  .rgpd-hero {
    text-align: left;
  }

  .rgpd-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .rgpd-card {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .rgpd-card article {
    min-height: 220px;
    border-radius: 34px;
  }
}
