@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/jetbrains-mono-400.ttf) format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/jetbrains-mono-500.ttf) format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/jetbrains-mono-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/kanit-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/kanit-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/kanit-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/kanit-700.ttf) format('truetype');
}
:root {
  color-scheme: dark;
  --bg: #070708;
  --bg-soft: #0e0b0e;
  --white: #f7f3f3;
  --text: #ccc5c9;
  --muted: #91858b;
  --red: #ff2848;
  --red-bright: #ff5067;
  --red-dark: #8d1026;
  --line: #3a2028;
  --line-soft: #25161b;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Noto Sans Thai", "Thonburi", Tahoma, Arial, sans-serif;
  --display: "Arial Narrow", "Noto Sans Thai", "Thonburi", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-shell { overflow: hidden; }
.skip-link { position: fixed; z-index: 50; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--red); color: #fff; }
.skip-link:focus { top: 1rem; }
a:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 5px; }

.site-header { position: relative; z-index: 10; width: min(calc(100% - 7rem), 1440px); height: 96px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(2rem, 4vw, 5rem); }
.nav-right { justify-content: flex-end; }
.site-header nav a { position: relative; color: #c8bfc3; font-size: .92rem; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a.current { color: #fff; }
.site-header nav a.current::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 100%; height: 2px; background: var(--red); box-shadow: 0 0 12px var(--red); }
.brand, .footer-brand { white-space: nowrap; font-family: "Arial Narrow", Impact, var(--sans); font-stretch: condensed; font-weight: 600; letter-spacing: .14em; }
.brand { display: inline-block; font-size: 2.05rem; line-height: 1; }
.brand span, .footer-brand span { color: var(--red-bright); text-shadow: 0 0 17px rgba(255,40,72,.48); }

.hero { width: min(calc(100% - 7rem), 1440px); min-height: 720px; margin: auto; display: grid; grid-template-columns: 49% 51%; position: relative; }
.hero-copy { position: relative; z-index: 5; align-self: center; padding: 3rem 0 6rem; }
.hero-kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 2rem; color: #a99ba1; font: .65rem/1.5 var(--mono); letter-spacing: .31em; }
.hero-kicker span { display: inline-block; width: 30px; height: 1px; background: var(--red); box-shadow: 0 0 9px var(--red); }
.hero h1 { margin: 0 0 1.7rem; font-family: var(--display); font-size: clamp(3.35rem, 5.65vw, 6.4rem); font-weight: 800; line-height: 1.18; letter-spacing: -.065em; white-space: nowrap; text-shadow: 0 3px 20px rgba(0,0,0,.4); }
.hero h1 span { color: var(--red); text-shadow: 0 0 30px rgba(255,40,72,.25); }
.hero-lead { margin: 0 0 1rem; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 400; line-height: 1.4; letter-spacing: -.015em; }
.hero-detail { max-width: 33rem; margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; margin-top: 2.65rem; }
.button-primary { min-height: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 1.8rem; padding: .7rem 1.55rem; border: 1px solid #ff7286; border-radius: 999px; background: linear-gradient(110deg, #e51636, #ff2548 62%, #e81839); box-shadow: 0 0 20px rgba(255,40,72,.28), inset 0 1px rgba(255,255,255,.22); font-weight: 700; font-size: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 0 32px rgba(255,40,72,.55), inset 0 1px rgba(255,255,255,.3); }
.button-primary svg, .closing-link svg { width: 20px; height: 20px; stroke-width: 2; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--red); padding: .35rem 0; transition: color .2s ease, gap .2s ease; }
.text-link:hover { color: var(--red-bright); gap: 1rem; }
.play-icon { width: 43px; height: 43px; display: inline-grid; place-items: center; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font: .75rem var(--sans); padding-left: 2px; box-shadow: 0 0 16px rgba(255,40,72,.15); }
.hero-footnote { position: absolute; left: 0; bottom: 2rem; display: flex; align-items: center; gap: .9rem; color: #927e86; font: .64rem var(--mono); letter-spacing: .32em; }
.hero-footnote .red-rule { width: 33px; height: 1px; background: var(--red); }
.hero-footnote span:nth-child(2) { color: var(--red); }

.hero-stage { position: relative; min-height: 720px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 50% 42%, rgba(102,9,28,.22), transparent 54%); }
.hero-stage::before { content: ""; position: absolute; z-index: 0; width: 104%; aspect-ratio: 1; top: 1%; left: -1%; border-radius: 50%; background: repeating-conic-gradient(from 7deg, rgba(255,56,81,.46) 0deg .13deg, transparent .13deg 10deg); -webkit-mask-image: radial-gradient(circle, transparent 0 28%, #000 38% 67%, transparent 73%); mask-image: radial-gradient(circle, transparent 0 28%, #000 38% 67%, transparent 73%); opacity: .55; }
.hero-stage::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 17%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,62,86,.45); border-radius: 50%; box-shadow: inset 0 0 12px rgba(255,25,62,.09), 0 0 12px rgba(255,25,62,.12); }
.orbit-one { width: 75%; aspect-ratio: 1; top: 7%; left: 9%; }
.orbit-two { width: 94%; aspect-ratio: 1; top: -2%; left: 0; border-style: dashed; border-color: rgba(255,62,86,.24); }
.orbit-three { width: 109%; height: 42%; top: 35%; left: -5%; transform: rotate(-13deg); border-color: rgba(255,50,80,.28); }
.orbit-cross, .star { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 7px 3px var(--red), 0 0 18px 7px rgba(255,40,72,.4); }
.orbit-cross::before, .star::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: 35px; transform: translate(-50%,-50%); background: linear-gradient(transparent, var(--red), transparent); }
.orbit-cross::after, .star::after { content: ""; position: absolute; left: 50%; top: 50%; width: 35px; height: 1px; transform: translate(-50%,-50%); background: linear-gradient(90deg, transparent, var(--red), transparent); }
.orbit-cross-top { top: 9%; left: 58%; }
.orbit-cross-right { top: 45%; right: 3%; }
.star-one { top: 24%; left: 8%; transform: scale(.6); }
.star-two { top: 14%; right: 14%; transform: scale(.5); }
.star-three { bottom: 26%; right: 13%; transform: scale(.55); }
.bear-art { position: absolute; z-index: 2; width: min(86%, 655px); max-width: none; height: auto; left: 10%; bottom: -26%; filter: drop-shadow(0 0 34px rgba(255,31,63,.18)); animation: bear-rise 7s ease-in-out infinite; }
.hero-stage-label { position: absolute; z-index: 4; top: 25%; right: 0; color: #a08d93; font: .6rem/1.9 var(--mono); letter-spacing: .27em; }
.hero-stage-label::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: .65rem; background: var(--red); }

.ticker { height: 65px; display: flex; align-items: center; justify-content: space-around; gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); color: #9d818a; font: .66rem var(--mono); letter-spacing: .35em; overflow: hidden; white-space: nowrap; }
.ticker i { width: 3px; height: 3px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.section { width: min(calc(100% - 7rem), 1280px); margin: auto; scroll-margin-top: 3rem; }
.section-index { display: flex; align-items: center; gap: .8rem; color: #ae9da3; font: .7rem var(--mono); letter-spacing: .2em; }
.section-index span { color: var(--red); font-size: .82rem; }
.section-index i { display: inline-block; width: clamp(65px, 12vw, 180px); height: 1px; background: var(--red-dark); }
.capabilities { position: relative; padding: 7.5rem 0 7rem; }
.capabilities::before { content: ""; position: absolute; z-index: 0; right: -6%; top: 1rem; width: 49%; height: 450px; background: url("/bear-neon.webp") center 22% / cover no-repeat; opacity: .18; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, transparent 97%); mask-image: linear-gradient(90deg, transparent, #000 35%, transparent 97%); pointer-events: none; }
.section-heading { position: relative; z-index: 1; }
.section-heading h2, .workflow h2, .closing h2 { font-family: var(--display); font-size: clamp(3rem, 5.4vw, 5.7rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.18; }
.section-heading h2 { margin: 1.2rem 0 1rem; }
.section-heading h2 span, .workflow h2 span, .closing h2 span { color: var(--red); }
.section-heading p { margin: 0; color: var(--text); font-size: 1.22rem; }
.capability-list { position: relative; z-index: 1; margin-top: 4rem; border-top: 1px solid var(--red-dark); }
.capability { min-height: 180px; display: grid; grid-template-columns: 95px 115px 1fr 190px; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--red-dark); }
.capability-number { color: var(--red); font: 3.5rem/1 var(--display); letter-spacing: -.06em; }
.capability-icon { width: 56px; height: 56px; display: grid; place-items: center; color: #ff8090; }
.capability-icon svg { width: 100%; height: 100%; stroke-width: 1.8; filter: drop-shadow(0 0 8px rgba(255,40,72,.45)); }
.capability-copy h3 { margin: 0 0 .4rem; font-size: 1.75rem; letter-spacing: -.03em; }
.capability-copy p { max-width: 34rem; margin: 0; color: var(--text); font-size: 1rem; line-height: 1.85; }
.capability-tag { justify-self: end; color: #8d747d; font: .63rem var(--mono); letter-spacing: .22em; }
.workflow { padding: 6rem 0 8rem; border-top: 1px solid var(--line-soft); }
.workflow-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 1rem 0 3.6rem; }
.workflow h2 { margin: 0; }
.workflow-intro p { max-width: 21rem; margin: 0 0 .65rem; color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.workflow-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 0; margin: 0; list-style: none; }
.workflow-steps::before { content: ""; position: absolute; top: 37px; left: calc(16.666% + 1px); right: calc(16.666% + 1px); height: 1px; background: linear-gradient(90deg, var(--red), #faf3f3 50%, var(--red)); box-shadow: 0 0 12px rgba(255,40,72,.38); }
.workflow-steps li { position: relative; text-align: center; }
.step-number { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 1.4rem; border: 2px solid var(--red); border-radius: 50%; background: var(--bg); color: var(--red); font: 2rem var(--display); box-shadow: 0 0 17px rgba(255,40,72,.2); }
.workflow-steps li:nth-child(2) .step-number { color: var(--white); border-color: var(--white); }
.workflow-steps h3 { margin: 0 0 .45rem; font-size: 1.65rem; }
.workflow-steps p { max-width: 18rem; margin: 0 auto; color: var(--text); line-height: 1.7; }
.closing { position: relative; min-height: 670px; display: grid; place-items: center; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,8,.05) 25%, rgba(7,7,8,.16) 65%, var(--bg) 100%), url("/red-horizon.webp") center center / cover no-repeat; border-top: 1px solid var(--line-soft); }
.closing-inner { position: relative; z-index: 1; text-align: center; padding: 7rem 0 6rem; }
.closing .section-index { justify-content: center; }
.closing h2 { margin: 2.5rem 0 1rem; text-shadow: 0 2px 25px rgba(0,0,0,.75); }
.closing p { margin: 0; color: var(--text); font-size: 1.25rem; }
.closing-link { display: inline-flex; align-items: center; gap: .85rem; margin-top: 4rem; padding: .5rem 0; color: var(--red-bright); border-bottom: 1px solid var(--red); }
.closing-link:hover { color: var(--white); }
.site-footer { width: min(calc(100% - 7rem), 1440px); min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: auto; border-top: 1px solid var(--line); color: #9b858d; font: .66rem var(--mono); letter-spacing: .2em; }
.footer-brand { color: var(--white); font-size: 1.1rem; letter-spacing: .08em; }

@keyframes bear-rise { 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) {
  .site-header, .hero, .section, .site-footer { width: min(calc(100% - 4rem), 1440px); }
  .hero { min-height: 650px; grid-template-columns: 51% 49%; }
  .hero-stage { min-height: 650px; }
  .hero h1 { font-size: clamp(3.1rem, 5.45vw, 5.2rem); }
  .bear-art { width: 105%; left: -2%; bottom: -27%; }
  .capability { grid-template-columns: 70px 75px 1fr 140px; gap: 1rem; }
}
@media (max-width: 760px) {
  .site-header, .hero, .section, .site-footer { width: calc(100% - 2.5rem); }
  .site-header { min-height: 110px; height: auto; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1.2rem 0 .8rem; }
  .site-header .brand { grid-column: 1 / -1; grid-row: 1; justify-self: center; font-size: 1.7rem; }
  .site-header .nav-left { grid-column: 1; grid-row: 2; }
  .site-header .nav-right { grid-column: 2; grid-row: 2; justify-content: flex-end; gap: 1.25rem; }
  .site-header nav a { font-size: .82rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 3rem 0 .5rem; }
  .hero-kicker { font-size: .52rem; letter-spacing: .16em; margin-bottom: 1.5rem; }
  .hero-kicker span { width: 15px; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.2rem); line-height: 1.22; white-space: normal; margin-bottom: 1.2rem; }
  .hero-lead { font-size: 1.17rem; }
  .hero-detail { font-size: .95rem; }
  .hero-actions { gap: 1.2rem; margin-top: 1.7rem; }
  .button-primary { min-height: 53px; padding: .5rem 1.25rem; font-size: .91rem; gap: 1rem; }
  .text-link { font-size: .9rem; }
  .play-icon { width: 36px; height: 36px; }
  .hero-footnote { display: none; }
  .hero-stage { width: 100%; min-height: 390px; height: 105vw; max-height: 550px; margin-top: .3rem; }
  .hero-stage::before { width: 112%; left: -6%; }
  .bear-art { width: min(100%, 480px); left: 50%; bottom: -30%; transform: translateX(-50%); animation: none; }
  .hero-stage-label { right: 0; top: 30%; font-size: .45rem; }
  .ticker { height: 52px; justify-content: flex-start; padding: 0 1.25rem; font-size: .53rem; letter-spacing: .18em; }
  .capabilities { padding: 5rem 0; }
  .capabilities::before { width: 70%; height: 350px; right: -20%; opacity: .12; }
  .section-heading h2, .workflow h2, .closing h2 { font-size: clamp(2.5rem, 8vw, 3.8rem); }
  .section-heading p { font-size: 1rem; }
  .capability-list { margin-top: 2.7rem; }
  .capability { grid-template-columns: 45px 50px 1fr; gap: .7rem; min-height: 0; padding: 1.6rem 0; align-items: start; }
  .capability-number { font-size: 2.1rem; }
  .capability-icon { width: 42px; height: 42px; }
  .capability-copy h3 { font-size: 1.27rem; }
  .capability-copy p { font-size: .9rem; line-height: 1.65; }
  .capability-tag { display: none; }
  .workflow { padding: 4.5rem 0 5rem; }
  .workflow-intro { display: block; margin: 1.1rem 0 2.8rem; }
  .workflow-intro p { margin-top: .7rem; font-size: .95rem; }
  .workflow-steps { display: block; margin-left: 1rem; }
  .workflow-steps::before { top: 0; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--red), #eee 50%, var(--red)); }
  .workflow-steps li { min-height: 130px; display: grid; grid-template-columns: 58px 1fr; column-gap: 1.2rem; text-align: left; align-content: start; }
  .step-number { grid-row: 1 / 3; width: 58px; height: 58px; margin: 0; font-size: 1.45rem; }
  .workflow-steps h3 { margin: .3rem 0 0; font-size: 1.4rem; }
  .workflow-steps p { margin: .2rem 0 0; font-size: .92rem; }
  .closing { min-height: 570px; background-position: 30% center; }
  .closing-inner { padding: 5rem 0 4rem; }
  .closing h2 { margin: 2rem 0 1rem; }
  .closing p { font-size: 1.02rem; }
  .closing-link { margin-top: 3rem; }
  .site-footer { min-height: 95px; padding: 1.5rem 0; flex-wrap: wrap; justify-content: flex-start; font-size: .58rem; }
  .site-footer span:last-child { width: 100%; }
}
@media (max-width: 390px) {
  .site-header .nav-right { gap: .75rem; }
  .site-header nav a { font-size: .76rem; }
  .hero h1 { font-size: 2.52rem; }
  .hero-stage { min-height: 355px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bear-art { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Motion layer: decorative only, never captures input. */
.cursor-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; }
.orbit-two { animation: orbit-turn 85s linear infinite; }
.star, .orbit-cross { animation: star-glimmer 4s ease-in-out infinite alternate; }
.star-two, .orbit-cross-right { animation-delay: -2s; }
.star-three { animation-delay: -1s; }
.capabilities::before { background-image: url('/bear-face-left.webp'); background-position: center; background-size: contain; width: 53%; height: 440px; right: -4%; top: -1rem; opacity: .38; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.motion-arrive { animation: section-arrive .8s cubic-bezier(.2,.7,.3,1) both; }
.capability-icon { transition: transform .35s ease, filter .35s ease; }
.capability:hover .capability-icon { transform: translateY(-4px); filter: drop-shadow(0 0 8px #ff284877); }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes star-glimmer { from { opacity: .4; } to { opacity: 1; } }
@keyframes section-arrive { from { opacity: .4; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .capabilities::before { width: 66%; height: 300px; right: -12%; top: 0; opacity: .24; } }
@media (prefers-reduced-motion: reduce) { .cursor-stars { display: none; } .orbit-two, .star, .orbit-cross, .motion-arrive { animation: none; } .capability:hover .capability-icon { transform: none; } }

/* Anchor the portrait from the top so wide mobile layouts never clip the ears. */
.bear-art { top: clamp(28px, 5vw, 64px); bottom: auto; }
@media (max-width: 760px) { .bear-art { top: 24px; bottom: auto; } }

/* Black primary action. */
.button-primary { background: #000; border-color: #505054; color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.08); }
.button-primary:hover { background: #101012; border-color: #85858b; box-shadow: 0 6px 24px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.12); }

:root { --sans: "Kanit", sans-serif; --display: "Kanit", sans-serif; --mono: "JetBrains Mono", monospace; }
.brand, .footer-brand, .capability-number, .step-number { font-family: var(--mono); }
.brand, .footer-brand { letter-spacing: -.045em; font-weight: 700; }
.hero h1, .section-heading h2, .workflow h2, .closing h2 { font-weight: 600; letter-spacing: -.035em; }
.capability-copy h3, .workflow-steps h3 { font-weight: 500; letter-spacing: 0; }

/* Layered scene motion, inspired by illustrated scroll experiences. */
.hero-stage { --scene-x: 0px; --scene-y: 0px; --scene-scroll: 0px; }
.bear-art { translate: var(--scene-x) calc(var(--scene-y) + var(--scene-scroll)); }
.hero-stage::before { translate: calc(var(--scene-x) * -.6) calc(var(--scene-scroll) * -.3); }
.scene-haze { position: absolute; inset: -15%; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 35% 75%, #ff164525, transparent 55%), linear-gradient(125deg, transparent 35%, #ff284810 45%, transparent 60%); animation: haze-drift 14s ease-in-out infinite alternate; }
.scene-embers { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.scene-embers i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ff7b8f; box-shadow: 0 0 9px #ff2848; bottom: -10px; left: 15%; animation: ember-rise 9s linear infinite; }
.scene-embers i:nth-child(3n) { width: 2px; height: 2px; }
.scene-embers i:nth-child(2) { left: 28%; animation-delay: -4s; }
.scene-embers i:nth-child(3) { left: 39%; animation-delay: -7s; }
.scene-embers i:nth-child(4) { left: 51%; animation-delay: -2s; }
.scene-embers i:nth-child(5) { left: 64%; animation-delay: -5s; }
.scene-embers i:nth-child(6) { left: 78%; animation-delay: -8s; }
.scene-embers i:nth-child(7) { left: 91%; animation-delay: -3s; }
.scene-embers i:nth-child(8) { left: 8%; animation-delay: -6s; }
.scene-embers i:nth-child(9) { left: 45%; animation-delay: -1s; }
.scene-embers i:nth-child(10) { left: 70%; animation-delay: -6.5s; }
.scene-embers i:nth-child(11) { left: 22%; animation-delay: -8.5s; }
.scene-embers i:nth-child(12) { left: 85%; animation-delay: -1.5s; }
.hero-copy > * { animation: scene-enter 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-copy > :nth-child(6) { animation-delay: .5s; }
.motion-arrive { animation-name: scene-enter; animation-duration: 1s; }
.workflow-steps li:nth-child(2).motion-arrive { animation-delay: .12s; }
.workflow-steps li:nth-child(3).motion-arrive { animation-delay: .24s; }
.capabilities { --portrait-shift: 0px; }
.capabilities::before { translate: 0 var(--portrait-shift); }
.closing { --horizon-shift: 0px; background-position: center calc(50% + var(--horizon-shift)); }
@keyframes scene-enter { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes haze-drift { from { transform: translate(-3%,2%) rotate(-4deg); opacity: .45; } to { transform: translate(3%,-2%) rotate(4deg); opacity: 1; } }
@keyframes ember-rise { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .75; } 85% { opacity: .45; } 100% { transform: translate(35px,-600px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-copy > *, .scene-haze, .scene-embers i { animation: none; } .scene-embers { display: none; } .bear-art, .hero-stage::before, .capabilities::before { translate: none; } .closing { background-position: center; } }

/* Five independent image planes, far to near. */
.five-layer-scene { background: #070708; }
.five-layer-scene::before { display: none; }
.five-layer-scene::after { z-index: 7; height: 12%; }
.scene-layer { position: absolute; pointer-events: none; max-width: none; will-change: translate; }
.layer-sky { z-index: 0; inset: -5%; width: 110%; height: 110%; object-fit: cover; opacity: .75; translate: calc(var(--scene-x) * -.25) calc(var(--scene-y) * -.25); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent); }
.layer-portal { z-index: 1; width: 103%; height: auto; top: 1%; left: -1.5%; translate: calc(var(--scene-x) * -.65) calc(var(--scene-y) * -.6 + var(--scene-scroll) * -.25); animation: portal-breathe 9s ease-in-out infinite alternate; }
.layer-terrain { z-index: 2; width: 120%; height: 58%; left: -10%; bottom: -3%; object-fit: cover; opacity: .8; mask-image: linear-gradient(transparent, #000 48%); translate: calc(var(--scene-x) * .35) calc(var(--scene-scroll) * .3); }
.five-layer-scene .bear-art { z-index: 3; top: 15%; left: 13%; width: 84%; animation: bear-rise 7s ease-in-out infinite; }
.layer-crystals { z-index: 5; width: 116%; height: auto; left: -8%; bottom: -4%; translate: calc(var(--scene-x) * 1.9) calc(var(--scene-y) * 1.4 + var(--scene-scroll) * -.3); }
.five-layer-scene .hero-stage-label { z-index: 6; top: 5%; right: 4%; color: #d0a1ac; font-size: .5rem; }
.five-layer-scene .scene-embers { z-index: 6; }
@keyframes portal-breathe { from { filter: brightness(.8); transform: rotate(-3deg); } to { filter: brightness(1.15); transform: rotate(3deg); } }
@media (max-width: 1100px) and (min-width: 761px) { .five-layer-scene .bear-art { width: 100%; left: 0; top: 19%; } }
@media (max-width: 760px) {
 .five-layer-scene .bear-art { width: min(91%, 465px); left: 50%; top: 13%; transform: translateX(-50%); animation: none; }
 .layer-portal { width: min(108%, 540px); left: 50%; top: -2%; transform: translateX(-50%); animation: portal-light 9s ease-in-out infinite alternate; }
 .layer-crystals { width: 120%; left: -10%; bottom: -2%; }
}
@keyframes portal-light { from { filter: brightness(.8); } to { filter: brightness(1.15); } }
@media (prefers-reduced-motion: reduce) { .scene-layer { translate: none; animation: none !important; will-change: auto; } }

/* Blend the illustration into the page and keep every foreground detail behind the bear. */
.five-layer-scene {
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 63% 70% at 50% 48%, #000 50%, transparent 96%);
  mask-image: radial-gradient(ellipse 63% 70% at 50% 48%, #000 50%, transparent 96%);
}
.five-layer-scene::after { display: none; }
.layer-sky { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%); }
.layer-terrain { -webkit-mask-image: radial-gradient(ellipse 56% 56% at 50% 68%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 56% 56% at 50% 68%, #000 35%, transparent 100%); }
.layer-crystals { z-index: 3; opacity: .7; }
.five-layer-scene .bear-art { z-index: 4; }
.five-layer-scene .scene-embers { z-index: 3; }
