.user-concept {
  --accent: #b95d3d;
  --ink: #fffaf1;
  --muted: rgba(255, 250, 241, 0.78);
  background: #11100d;
}

.user-concept .world-stage {
  background: #11100d url("/brand-scroll-world-user/brand-story-desktop-poster.jpg") center / cover no-repeat;
}

.scroll-film-shell {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: none;
  overflow: hidden;
  background: transparent;
}

.scroll-film {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.035);
}

@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .video-scrub-ready .scroll-film-shell {
    display: block;
  }

  .video-scrub-ready .scroll-film--desktop {
    display: block;
  }

  .video-scrub-ready .scene > img {
    visibility: hidden;
  }
}

.user-concept .scene > img {
  filter: saturate(0.9) contrast(1.035);
}

.user-concept .scene--copy-left .scene-shade {
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.78) 0%, rgba(12, 11, 9, 0.46) 30%, rgba(12, 11, 9, 0.08) 58%, transparent 72%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.28), transparent 24%, transparent 74%, rgba(8, 8, 7, 0.26));
}

.user-concept .scene--copy-right .scene-shade {
  background:
    linear-gradient(270deg, rgba(12, 11, 9, 0.79) 0%, rgba(12, 11, 9, 0.48) 31%, rgba(12, 11, 9, 0.08) 59%, transparent 73%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.28), transparent 24%, transparent 74%, rgba(8, 8, 7, 0.26));
}

.user-concept .scene--consult .scene-shade {
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.8) 0%, rgba(12, 11, 9, 0.56) 26%, rgba(12, 11, 9, 0.15) 52%, transparent 70%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.24), transparent 28%, transparent 70%, rgba(8, 8, 7, 0.34));
}

.user-concept .scene-copy {
  width: min(680px, 47vw);
}

/* The opening promise is readable before the first scroll or video seek. */
.user-concept .scene[data-scene="0"] .scene-copy {
  opacity: 1;
  filter: none;
  transform: translate3d(0, -50%, 0);
}

.user-concept .scene--copy-right .scene-copy {
  width: min(650px, 45vw);
}

.user-concept .scene h1,
.user-concept .scene h2 {
  max-width: 720px;
  font-size: clamp(46px, 3.75vw, 70px);
  line-height: 1.13;
  letter-spacing: -0.058em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.36);
}

.user-concept .scene-body {
  color: var(--muted);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.user-concept .scene-kicker {
  color: #d27a59;
}

.user-concept .primary-cta span {
  width: 21px;
  height: 21px;
}

.user-concept .primary-cta svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header,
.brand-mark img,
.site-nav a,
.scroll-progress {
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.site-header.is-over-epilogue {
  border-bottom-color: rgba(35, 31, 26, 0.12);
  background: rgba(244, 239, 232, 0.92);
  box-shadow: 0 8px 30px rgba(54, 43, 31, 0.05);
}

.site-header.is-over-epilogue .brand-mark img {
  filter: invert(1);
}

.site-header.is-over-epilogue .site-nav a {
  color: rgba(28, 25, 21, 0.66);
}

.site-header.is-over-epilogue .site-nav a:hover,
.site-header.is-over-epilogue .site-nav a:focus-visible,
.site-header.is-over-epilogue .site-nav a.is-current {
  color: #1c1915;
}

.scroll-progress.is-complete {
  opacity: 0;
}

.brand-epilogue {
  position: relative;
  z-index: 4;
  color: #29251f;
  background: #f4efe8;
}

.brand-epilogue__inner {
  width: min(1120px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 130px 0 48px;
  text-align: center;
}

.brand-epilogue__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin: 0 0 32px;
  color: #995035;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand-epilogue__eyebrow::before {
  content: "";
  width: 1px;
  height: 42px;
  background: #b98a72;
}

.brand-epilogue h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.brand-epilogue h2 span { display: block; }

.brand-epilogue__body,
.brand-epilogue__closing {
  color: #6e655c;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.brand-epilogue__body { margin: 32px 0 0; }
.brand-epilogue__closing { margin: 12px 0 0; }
.mobile-break { display: none; }

.brand-epilogue__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 46px;
}

.brand-epilogue__actions a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.epilogue-product {
  padding: 16px 24px;
  color: #fffaf1;
  background: #2b2722;
  transition: background-color 180ms ease;
}

.epilogue-product:hover { background: #5a4435; }
.epilogue-consult { color: #4f463d; border-bottom: 1px solid #b4a390; }
.epilogue-consult:hover { color: #995035; border-color: #995035; }
.brand-epilogue__actions a:focus-visible { outline: 2px solid #995035; outline-offset: 5px; }
.brand-epilogue__actions a span { font-size: 21px; font-weight: 400; }

.brand-epilogue__signature {
  margin: 90px 0 0;
  padding-top: 28px;
  border-top: 1px solid #ded4c7;
  color: #867a6e;
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  :root {
    --header-h: 68px;
    --gutter: 22px;
  }

  body {
    min-width: 0;
  }

  .site-header {
    padding: 0 20px;
  }

  .brand-mark {
    width: 142px;
  }

  .site-nav {
    gap: 16px;
    font-size: 12px;
  }

  .site-nav a {
    display: none;
    padding: 24px 0 20px;
  }

  .site-nav a.is-current,
  .site-nav a[href="/application/"] {
    display: block;
  }

  .site-nav a.is-current::after {
    inset: auto 0 13px;
  }

  .user-concept .world-stage {
    min-height: 640px;
    background-image: url("/brand-scroll-world-user/brand-story-mobile-poster.jpg");
  }

  .scene {
    background: #11100d;
  }

  .scene > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .scene-shade,
  .user-concept .scene--copy-left .scene-shade,
  .user-concept .scene--copy-right .scene-shade,
  .user-concept .scene--consult .scene-shade {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.08) 0%, rgba(8, 8, 7, 0.04) 38%, rgba(8, 8, 7, 0.46) 62%, rgba(8, 8, 7, 0.58) 100%),
      linear-gradient(90deg, rgba(8, 8, 7, 0.28) 0%, rgba(8, 8, 7, 0.08) 72%, transparent 100%);
  }

  .user-concept .scene-copy,
  .user-concept .scene--copy-right .scene-copy {
    top: auto;
    right: 22px;
    bottom: calc(108px + env(safe-area-inset-bottom));
    left: 22px;
    width: auto;
    max-width: 640px;
    transform: none !important;
  }

  .user-concept .scene h1,
  .user-concept .scene h2 {
    margin: 18px 0 16px;
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.14;
  }

  .scene-body {
    font-size: 14px;
    line-height: 1.62;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 2px 13px rgba(0, 0, 0, 0.9);
  }

  .scene-note {
    display: none;
  }

  .primary-cta {
    min-width: min(258px, 100%);
    margin-top: 24px;
  }

  .route-nav {
    top: auto;
    right: 10px;
    bottom: calc(4px + env(safe-area-inset-bottom));
    left: 10px;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    transform: none;
  }

  .route-nav button {
    min-width: 44px;
    min-height: 44px;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 7px;
  }

  .route-nav button span {
    display: none;
  }

  .route-nav button i {
    width: 5px;
  }

  .route-nav button.is-active i {
    width: 24px;
  }

  .scene-index {
    right: 22px;
    bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .scroll-hint {
    left: 22px;
    bottom: calc(58px + env(safe-area-inset-bottom));
    font-size: 8px;
    transform: none;
  }

  .scroll-hint span {
    height: 24px;
  }

  .image-fallback-active .scene {
    background: transparent;
  }

  .brand-epilogue__inner { width: calc(100% - 44px); }

}

@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .video-scrub-ready .scroll-film-shell,
  .video-scrub-ready .scroll-film--mobile {
    display: block;
  }

  .image-fallback-active .scene,
  .video-scrub-ready .scene {
    background: transparent;
  }

  .video-scrub-ready .scene > img {
    visibility: hidden;
  }
}

@media (max-width: 520px) {
  .site-nav a.is-current {
    display: none;
  }

  .scene h1,
  .scene h2 {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .brand-epilogue__inner { padding: 88px 0 30px; }
  .brand-epilogue__eyebrow { font-size: 11px; margin-bottom: 28px; gap: 24px; }
  .brand-epilogue h2 { font-size: clamp(26px, 7.4vw, 36px); line-height: 1.4; }
  .brand-epilogue__body,
  .brand-epilogue__closing { font-size: 14px; line-height: 1.85; }
  .brand-epilogue__body { margin-top: 26px; }
  .mobile-break { display: block; }
  .brand-epilogue__actions { flex-direction: column; gap: 14px; margin-top: 32px; }
  .brand-epilogue__actions a { width: min(280px, 100%); font-size: 14px; }
  .epilogue-consult { padding-inline: 6px; }
  .brand-epilogue__signature { margin-top: 62px; padding-top: 24px; }

}

@media (max-width: 520px) and (max-height: 700px) {
  .user-concept .world-stage {
    min-height: 0;
  }

  .site-header {
    height: 60px;
  }

  .brand-mark {
    width: 126px;
  }

  .site-nav a {
    padding-block: 20px 17px;
  }

  .user-concept .scene-copy,
  .user-concept .scene--copy-right .scene-copy {
    right: 18px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: 18px;
  }

  .user-concept .scene h1,
  .user-concept .scene h2 {
    margin: 12px 0 10px;
    font-size: clamp(24px, 7.4vw, 28px);
    line-height: 1.1;
  }

  .scene-kicker {
    gap: 9px;
    font-size: 9px;
  }

  .scene-kicker::before {
    width: 28px;
  }

  .scene-body {
    font-size: 12px;
    line-height: 1.48;
  }

  .primary-cta {
    min-height: 48px;
    margin-top: 12px;
    padding: 13px 16px 13px 18px;
    font-size: 13px;
  }

  .scene-index {
    right: 18px;
  }

  .scroll-hint {
    display: none;
  }
}

/* Readable document fallback when script execution is unavailable. */
.no-js .site-header {
  position: absolute;
}

.no-js .world-stage {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.no-js .scroll-film-shell,
.no-js .route-nav,
.no-js .scene-index,
.no-js .scroll-hint,
.no-js .scroll-progress,
.no-js .world-track {
  display: none;
}

.no-js .scene {
  position: relative;
  min-height: 100svh;
  opacity: 1;
  background:
    linear-gradient(145deg, rgba(185, 93, 61, 0.16), transparent 45%),
    #11100d;
}

.no-js .scene-copy,
.no-js .scene--copy-right .scene-copy {
  opacity: 1;
  filter: none;
  pointer-events: auto;
}
