:root {
  color-scheme: dark;
  --accent: #ff8652;
  --accent-light: #ffb183;
  --copy: #d5d9dc;
  --gutter: clamp(32px, 6.25vw, 90px);
  font-family: "Open Sans", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: #fff; background: #000; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
:where(button, a, input, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }
.skip { position: absolute; z-index: 40; inset: 8px auto auto 12px; padding: 8px 16px; background: white; color: #000; transform: translateY(-160%); }
.skip:focus { transform: none; }
.arrow { position: relative; display: inline-block; width: 16px; height: 12px; flex: none; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 15px; height: 1.5px; top: 5px; background: currentColor; }
.arrow::after { width: 8px; height: 8px; right: 1px; top: 2px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.backward { transform: rotate(180deg); }

.showcase {
  position: relative; isolation: isolate;
  padding-bottom: clamp(52px, 5.2vw, 88px); background-color: #000;
}
.fiber-field {
  --fiber-x: 50%;
  --fiber-y: 0%;
  --fiber-shade: linear-gradient(0deg, #000 0%, transparent 37%);
  position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
  background: #000 url("/flux-core/site/media/flux-field.webp") var(--fiber-x) var(--fiber-y) / cover no-repeat;
}
.fiber-field canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.fiber-field .fiber-sparks { mix-blend-mode: screen; }
.fiber-field::after {
  content: ""; position: absolute; inset: 0; background: var(--fiber-shade);
}
.hero-copy { padding-block: clamp(80px, 7.65vw, 134px) clamp(70px, 7.5vw, 125px); }
.hero-copy h1 {
  max-width: 52%; font-size: clamp(40px, 3.78vw, 58px); line-height: 1.05;
  font-weight: 650; letter-spacing: -.025em;
}
.hero-copy h1 span { display: inline-block; color: var(--accent); }
.hero-copy p { margin-top: 18px; max-width: 54%; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; font-weight: 500; }
.outline-button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 58px; margin-top: 28px; padding: 13px 33px; border: 1px solid var(--accent); border-radius: 2px;
  color: white; background: #130b07cc; font-weight: 600; letter-spacing: .025em;
  transition: background-color .18s, border-color .18s;
}
.outline-button:hover, .outline-button:focus-visible { background: #854321; border-color: var(--accent-light); }
.hero-copy .outline-button { min-width: 190px; }
.story-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.story {
  display: flex; min-width: 0; flex-direction: column; overflow: hidden;
  color: white; background: #020303; border: 1px solid #393d40; border-radius: 12px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.story:hover, .story:focus-visible { border-color: var(--accent); box-shadow: 0 0 18px #ff865238; }
@media (hover: hover) and (min-width: 1183px) { .story:hover { transform: translateY(-4px); } }
.story:focus-visible { outline-offset: -3px; }
.story-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.story-copy { flex: 1; display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 18px 18px 20px; overflow-wrap: anywhere; }
.story-copy h2 { font-weight: 620; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.35; }
.story-copy p { color: #e0e3e4; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.story-link { color: var(--accent); font-weight: 600; padding-top: 12px; margin-top: auto; }
.story:hover .story-link { text-decoration: underline; text-underline-offset: 3px; }
.story-controls { display: flex; justify-content: center; }
.story-controls button { cursor: pointer; border: 0; background: none; padding: 0 4px; height: 44px; }
.story-controls button::after { content: ""; display: block; width: 32px; height: 3px; background: #778186; }
.story-controls button[aria-pressed="true"]::after { width: 60px; background: var(--accent); }
.feedback { padding: 22px 0; color: var(--copy); }

.service-section, .guide-section { padding-block: clamp(72px, 7vw, 118px); }
.service-section { text-align: center; background: radial-gradient(ellipse at 50% 100%, #251b17 0%, #17120f 38%, #0c0a09 76%); }
.section-intro { max-width: 800px; margin: auto; }
.eyebrow { color: var(--accent); font-size: 17px; font-weight: 600; }
.section-intro h2, .guide-section h2 { margin: 12px 0 18px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.14; font-weight: 600; }
.section-intro > p:last-child, .guide-layout > div > p:not(.eyebrow) { color: var(--copy); font-size: 18px; }
.service-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(28px, 4.4vw, 70px); margin-top: 55px; }
.service-columns section { padding: 24px 10px 0; border-top: 1px solid #465054; }
.service-columns h3, .steps h3 { font-size: 24px; line-height: 1.4; font-weight: 600; }
.service-columns p, .steps p { color: var(--copy); margin-top: 11px; }
.service-section .outline-button { margin-top: 45px; }
.guide-section { background: #0d0e10; }
.guide-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.steps { list-style: decimal-leading-zero; padding-left: 34px; margin: 0; }
.steps li { border-top: 1px solid #3a4247; padding: 18px 0 24px 8px; }
.steps li::marker { font-size: 16px; color: var(--accent); }
.steps p { margin-top: 4px; }

@media (min-width: 1400px) {
  .showcase { min-height: 1024px; }
  .story-copy { min-height: 210px; }
}
@media (max-width: 1182px) {
  .story-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .story { flex: 0 0 calc((100% - 10px) / 2); scroll-snap-align: start; }
  .highlights[data-controls] .story-track { scrollbar-width: none; }
  .highlights[data-controls] .story-track::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: clamp(20px, 8.2vw, 36px); }
  .showcase { padding-bottom: 32px; }
  .showcase > .fiber-field {
    inset: 0 0 auto; height: clamp(330px, 99vw, 560px);
    --fiber-x: 84%;
    --fiber-shade: linear-gradient(0deg, #000 0%, #000b 28%, transparent 70%);
  }
  .hero-copy { padding-block: clamp(168px, 56vw, 258px) 41px; }
  .hero-copy h1 { max-width: 100%; font-size: 32px; line-height: 1.1; }
  .hero-copy p { max-width: 100%; font-size: 17.5px; line-height: 1.5; margin-top: 14px; }
  .outline-button { margin-top: 23px; min-height: 55px; padding: 12px 27px; }
  .hero-copy .outline-button { min-width: 174px; }
  .story-track { margin-right: calc(-1 * var(--gutter)); }
  .story-track::after { content: ""; flex: 0 0 calc(var(--gutter) - 10px); }
  .story { flex-basis: calc(100% - var(--gutter)); }
  .story-copy h2 { font-size: 19px; }
  .service-columns, .guide-layout { grid-template-columns: 1fr; gap: 25px; }
  .service-columns { margin-top: 35px; }
  .guide-layout { gap: 38px; }
  .service-section, .guide-section { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .fiber-field canvas { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
