: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; }
}
