:root {
  --night: #071019;
  --night-2: #0b1722;
  --panel: rgba(15, 31, 44, .72);
  --panel-strong: #102332;
  --white: #f8fbff;
  --muted: #aebdca;
  --orange: #ff922b;
  --orange-bright: #ffad5c;
  --line: rgba(157, 190, 214, .16);
  --line-hot: rgba(255, 146, 43, .42);
  --shell: 1180px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 82% 8%, rgba(255, 126, 20, .12), transparent 26rem), radial-gradient(circle at 8% 58%, rgba(28, 83, 119, .18), transparent 30rem), linear-gradient(135deg, #071019 0%, #091521 55%, #050b11 100%); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
em { color: var(--orange); font-style: normal; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--orange); color: var(--night); font-weight: 900; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.grid-surface { position: relative; isolation: isolate; }
.grid-surface::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .62; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.grid-surface::after { content: ""; position: absolute; left: max(24px, calc((100% - var(--shell)) / 2)); top: 0; bottom: 0; width: 1px; z-index: -1; background: linear-gradient(transparent, var(--line-hot), transparent); }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(7, 16, 25, .82); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-size: 1rem; letter-spacing: -.02em; }
.brand img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 0 28px rgba(255, 146, 43, .12); }
.brand b { color: var(--orange); }
.main-menu { display: flex; align-items: center; gap: 25px; }
.main-menu > a:not(.button) { color: #d7e1e9; font-size: .88rem; text-decoration: none; }
.main-menu > a:not(.button):hover, .text-link:hover, .footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.menu-toggle { display: none; border: 1px solid var(--line-hot); border-radius: 8px; padding: 9px 14px; background: transparent; color: var(--white); font: inherit; font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid #ffb66f; border-radius: 7px; background: linear-gradient(135deg, var(--orange-bright), var(--orange)); color: #111820; font-weight: 900; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 146, 43, .15), 0 12px 34px rgba(255, 115, 18, .18); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 32px rgba(255, 146, 43, .27), 0 16px 38px rgba(0, 0, 0, .24); }
.button-small { min-height: 42px; padding: 9px 15px; }

.hero { min-height: 780px; display: grid; align-items: center; padding: 110px 0 78px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 76px; align-items: center; }
.hero-copy-block { position: relative; z-index: 2; }
.label { margin-bottom: 22px; color: #c6d2dc; font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.label span { display: inline-block; margin-right: 14px; color: var(--orange-bright); }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(3.4rem, 6.5vw, 6.6rem); line-height: .9; letter-spacing: -.068em; }
h1 em { text-shadow: 0 0 36px rgba(255, 137, 35, .18); }
.hero-copy { max-width: 650px; color: #c1ced8; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.text-link { color: var(--white); font-weight: 800; text-decoration: none; }
.trust-list { grid-column: 1 / -1; display: flex; gap: 16px 38px; margin: 34px 0 0; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trust-list li::before { content: "+"; margin-right: 9px; color: var(--orange); }
.hero-visual { position: relative; min-height: 470px; padding: 29px; overflow: hidden; border: 1px solid var(--line-hot); border-radius: 2px 30px 2px 30px; background: linear-gradient(145deg, rgba(16, 36, 51, .84), rgba(7, 15, 23, .76)); box-shadow: var(--shadow), inset 0 0 60px rgba(255, 145, 43, .03); backdrop-filter: blur(14px); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; pointer-events: none; }
.hero-visual::before { inset: 18px; border: 1px solid var(--line); }
.hero-visual::after { width: 190px; height: 1px; right: -40px; top: 110px; background: var(--orange); transform: rotate(-38deg); box-shadow: 0 0 16px var(--orange); }
.visual-index { display: flex; justify-content: space-between; position: relative; z-index: 1; color: var(--orange-bright); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.visual-index span { color: var(--muted); }
.visual-core { position: relative; width: 210px; aspect-ratio: 1; margin: 45px auto 35px; display: grid; place-items: center; border: 1px solid var(--line-hot); border-radius: 50%; box-shadow: 0 0 70px rgba(255, 125, 22, .10); }
.visual-core::before, .visual-core::after, .core-ring { content: ""; position: absolute; border-radius: 50%; }
.visual-core::before { inset: 18px; border: 1px dashed rgba(255,255,255,.23); }
.visual-core::after { inset: 48px; border: 1px solid rgba(255, 146, 43, .7); box-shadow: inset 0 0 35px rgba(255, 146, 43, .08); }
.core-ring { width: 270px; height: 85px; border: 1px solid rgba(255,255,255,.16); transform: rotate(-25deg); }
.core-mark { position: relative; z-index: 2; color: var(--orange-bright); font: 900 1.45rem/1 ui-monospace, monospace; text-shadow: 0 0 18px rgba(255,146,43,.5); }
.visual-statement { position: relative; z-index: 1; margin: 0; color: var(--white); font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.visual-data { position: absolute; left: 29px; right: 29px; bottom: 28px; display: flex; justify-content: space-between; color: var(--muted); font: 700 .66rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.orb-one { width: 430px; height: 430px; right: -190px; top: 80px; border: 1px solid rgba(255,146,43,.22); box-shadow: 0 0 90px rgba(255,108,0,.08); }
.orb-two { width: 220px; height: 220px; left: 42%; bottom: -150px; background: rgba(18, 63, 91, .19); filter: blur(45px); }

.section { padding: 118px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 70px; align-items: end; margin-bottom: 52px; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.058em; }
.section-heading > p { margin-bottom: 5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: 1.18fr .91fr .91fr; gap: 18px; }
.card, .project, .channel-list article { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(20, 43, 59, .76), rgba(10, 23, 34, .62)); backdrop-filter: blur(12px); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.card { min-height: 360px; padding: 30px; border-radius: var(--radius); }
.card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 170px; height: 170px; border: 1px solid var(--line); border-radius: 50%; }
.card-feature { border-color: var(--line-hot); transform: translateY(-14px); box-shadow: 0 28px 65px rgba(0,0,0,.22), inset 0 0 50px rgba(255,146,43,.025); }
.card-number, .project-type, .channel-list article > span { color: var(--orange-bright); font: 800 .68rem/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.card-icon { width: 48px; height: 48px; margin: 54px 0 25px; display: grid; place-items: center; border: 1px solid var(--line-hot); color: var(--orange); font-size: 1.35rem; transform: rotate(-4deg); }
.card h3, .project h3, .channel-list h3 { margin-bottom: 10px; font-size: 1.55rem; line-height: 1.08; }
.card p, .project p, .channel-list p { color: var(--muted); }
.card-tag { position: absolute; bottom: 28px; left: 30px; color: #dce5ec; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

.process { background: linear-gradient(110deg, rgba(4, 10, 16, .72), rgba(12, 28, 40, .55)); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 120px; }
.process-intro h2 { font-size: clamp(2.35rem, 4.2vw, 4.5rem); }
.process-intro > p:last-child { max-width: 500px; margin-top: 30px; color: var(--muted); }
.steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--orange); font: 800 .73rem/1 ui-monospace, monospace; }
.steps strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.28rem; }
.steps p { margin: 0; color: var(--muted); }

.projects { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 18px; align-items: start; }
.project { min-height: 370px; padding: 31px; border-radius: 2px 24px 2px 24px; }
.project:nth-child(2) { margin-top: 54px; }
.project:nth-child(3) { margin-top: 108px; }
.project h3 { margin-top: 85px; font-size: clamp(1.9rem, 3vw, 3rem); }
.project strong, .channel-list strong { position: absolute; left: 31px; bottom: 28px; color: #cfdae3; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.channels { background: #050c12; }
.channel-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.channel-layout header > p:last-child { max-width: 470px; margin-top: 26px; color: var(--muted); }
.channel-list { display: grid; gap: 16px; }
.channel-list article { min-height: 245px; padding: 31px; border-radius: var(--radius); }
.channel-list article:nth-child(2) { margin-left: 70px; border-color: var(--line-hot); }
.channel-list h3 { margin-top: 52px; font-size: 1.8rem; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.about-copy { padding: 38px; border-left: 1px solid var(--line-hot); background: linear-gradient(90deg, rgba(255,146,43,.035), transparent); color: #c3d0da; font-size: 1.08rem; }
.about-copy p:last-child { margin-bottom: 0; }
.contact { padding: 95px 0; background: linear-gradient(100deg, #d9660c, var(--orange) 50%, #ffad5c); color: #101820; }
.contact .label, .contact .label span, .contact em { color: #101820; }
.contact-box { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.button-light { flex: 0 0 auto; border-color: #18232c; background: #08121b; color: var(--white); box-shadow: 0 16px 34px rgba(39,22,8,.25); }
.button-light:hover { filter: none; background: #132534; }
.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.07); background: #04090e; color: var(--muted); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand img { width: 48px; height: 48px; }
.footer p { margin: 0; }
.footer-grid > div { display: flex; gap: 24px; }
.footer a { text-decoration: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-menu { display: none; position: absolute; top: 66px; left: 24px; right: 24px; padding: 20px; border: 1px solid var(--line-hot); border-radius: 14px; background: #0b1823; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-menu.open { display: flex; }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-layout, .section-heading, .process-grid, .channel-layout, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 430px; }
  .process-intro { position: static; }
  .cards, .projects { grid-template-columns: 1fr; }
  .card-feature, .project:nth-child(2), .project:nth-child(3) { margin-top: 0; transform: none; }
  .card { min-height: 330px; }
  .project { min-height: 320px; }
  .channel-list article:nth-child(2) { margin-left: 0; }
  .contact-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .shell { width: min(var(--shell), calc(100% - 30px)); }
  .site-header .brand span { max-width: 130px; line-height: 1.05; }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 46px; height: 46px; }
  .main-menu { left: 15px; right: 15px; }
  h1 { font-size: clamp(3rem, 15vw, 4.1rem); }
  .hero { padding: 68px 0 54px; }
  .hero-layout { gap: 46px; }
  .actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 8px 2px; }
  .hero-visual { min-height: 410px; padding: 24px; }
  .visual-core { width: 180px; margin-top: 54px; }
  .core-ring { width: 220px; }
  .visual-data { left: 24px; right: 24px; }
  .trust-list { gap: 13px; flex-direction: column; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  h2, .contact h2 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .card, .project, .channel-list article { padding: 25px; }
  .project strong, .channel-list strong { left: 25px; right: 25px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .about-copy { padding: 28px 22px; }
  .contact { padding: 74px 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid > div { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
