:root {
  --bg: #050507;
  --surface: #0a0a0f;
  --surface-2: #0f0f16;
  --ink: #f4f4f7;
  --muted: #9696a1;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #6b2df5;
  --blue: #275ef5;
  --orange: #f45a32;
  --acid: #b9f44f;
  --gradient: linear-gradient(100deg, #7130ee 0%, #275ef5 48%, #f45a32 100%);
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --shell: min(1120px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
body::before { position: fixed; z-index: 20; top: 0; left: 0; width: var(--scroll-progress, 0%); height: 2px; background: var(--gradient); content: ""; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #8c5cff; outline-offset: 4px; }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; border-radius: 99px; background: var(--ink); color: #050507; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 18; top: 0; display: flex; width: 100%; height: 72px; align-items: center; justify-content: space-between; padding-inline: max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid var(--line); background: rgba(5, 5, 7, .72); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; white-space: nowrap; }
.brand-wordmark { display: block; width: 158px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #b9b9c1; font-size: 13px; }
.site-nav > a:not(.button) { position: relative; transition: color .25s ease; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--gradient); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.site-nav > a:not(.button):hover { color: var(--ink); }
.site-nav > a:not(.button):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; background: var(--gradient); color: white; font-size: 13px; font-weight: 700; box-shadow: 0 12px 32px rgba(78, 47, 237, .2); }
.button-small { min-height: 42px; padding-inline: 20px; background: var(--ink); color: #09090b; box-shadow: none; }
.text-link { display: inline-flex; width: max-content; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.32); color: #d8d8dd; font-size: 13px; }

.hero { position: relative; display: grid; min-height: calc(100svh - 72px); place-items: center; overflow: hidden; padding-block: 90px 68px; text-align: center; isolation: isolate; }
.hero::before { position: absolute; z-index: -3; inset: 0 calc(50% - 50vw); background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 72px 72px; content: ""; mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent); }
.hero-glow { position: absolute; z-index: -2; width: min(920px, 100vw); height: 560px; border-radius: 50%; background: radial-gradient(circle at 30% 45%, rgba(244,90,50,.16), transparent 42%), radial-gradient(circle at 67% 58%, rgba(85,39,242,.2), transparent 46%); filter: blur(28px); }
.hero .eyebrow { margin: 0 0 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; color: #8d66ff; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero .eyebrow { justify-content: center; padding: 7px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #b8b8c2; background: rgba(8,8,12,.6); }
.hero .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); content: ""; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(58px, 9vw, 116px); font-weight: 600; letter-spacing: -.065em; line-height: .94; }
.hero h1 span { display: inline-block; color: var(--ink); }
.hero h1 em { display: inline-block; background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; }
.hero-bottom { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }
.hero-bottom > p { max-width: 650px; margin: 0; color: #aaaab4; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero-actions .text-link { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; text-align: center; }
.scroll-note { position: absolute; bottom: 14px; left: 50%; width: 100vw; margin: 0; color: #61616b; font-size: 9px; letter-spacing: .28em; text-align: center; transform: translateX(-50%); white-space: nowrap; }
.scroll-note span { display: none; }
.signal { position: absolute; z-index: -1; width: 250px; height: 310px; opacity: .55; }
.signal::before, .signal::after, .signal i { position: absolute; border-color: currentColor; border-style: dashed; content: ""; }
.signal-left { left: calc(50% - 720px); bottom: 55px; color: #e8663c; }
.signal-right { right: calc(50% - 720px); bottom: 45px; color: #5734ed; transform: scaleX(-1); }
.signal::before { top: 0; left: 0; width: 135px; height: 106px; border-width: 1px 1px 0 0; }
.signal::after { top: 106px; left: 135px; width: 95px; height: 80px; border-width: 1px 0 0 1px; }
.signal i:nth-child(1) { top: 186px; left: 230px; width: 1px; height: 78px; border-width: 0 0 0 1px; }
.signal i:nth-child(2) { top: 264px; left: 230px; width: 65px; height: 1px; border-width: 1px 0 0; }
.signal i:nth-child(3) { top: 181px; left: 226px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #08080b; color: #9b9ba5; white-space: nowrap; }
.marquee div { width: max-content; padding-block: 15px; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.marquee i { margin-inline: 24px; color: #7448f5; font-style: normal; }

.section { position: relative; padding-block: clamp(88px, 10vw, 150px); border-bottom: 1px solid var(--line); }
.section::before { position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: radial-gradient(circle at 60% 0%, rgba(86,42,226,.07), transparent 38%); content: ""; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); gap: 72px; align-items: end; }
.section h2, .contact h2 { max-width: 940px; margin: 0; font-family: var(--display); font-size: clamp(42px, 5.1vw, 66px); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
.section-intro > p, .section-intro > div, .contact-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.section-intro > div p { margin: 0 0 18px; }

.discipline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 70px; }
.discipline-grid article { position: relative; min-height: 240px; padding: 28px 26px; overflow: hidden; border: 1px solid var(--line); border-top-color: var(--card-color, #6b2df5); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.006)); }
.discipline-grid article:nth-child(1) { --card-color: #6b2df5; }
.discipline-grid article:nth-child(2) { --card-color: #275ef5; }
.discipline-grid article:nth-child(3) { --card-color: #b9f44f; }
.discipline-grid article:nth-child(4) { --card-color: #f45a32; }
.discipline-index { position: absolute; top: 33px; right: 24px; color: #50505b; font-size: 10px; }
.discipline-letter { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--card-color); border-radius: 12px; color: var(--card-color); font-family: var(--display); font-size: 20px; font-weight: 600; box-shadow: inset 0 0 18px color-mix(in srgb, var(--card-color) 8%, transparent); }
.discipline-grid h3, .process-list h3, .tab-panels h3, .project h3 { margin: 52px 0 8px; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.discipline-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.method { background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 64px 64px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 74px 0 0; padding: 0; list-style: none; }
.process-list li { position: relative; min-height: 310px; padding: 30px 28px; border: 1px solid var(--line); border-right: 0; background: rgba(5,5,7,.8); }
.process-list li:first-child { border-radius: 18px 0 0 18px; }
.process-list li:last-child { border-right: 1px solid var(--line); border-radius: 0 18px 18px 0; }
.process-list li > span { color: #6e6e78; font-size: 11px; }
.process-list h3 { margin-top: 78px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.process-list li::after { position: absolute; top: 28px; right: -5px; z-index: 2; width: 9px; height: 9px; border: 2px solid var(--bg); border-radius: 50%; background: var(--purple); box-shadow: 0 0 14px #7448f5; content: ""; }
.process-list li:last-child::after { display: none; }

.capabilities h2 { max-width: 880px; }
.capability-layout { margin-top: 54px; }
.tab-list { display: flex; gap: 10px; margin-bottom: 34px; }
.tab-list button { min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #b0b0ba; cursor: pointer; font-size: 13px; }
.tab-list button span { display: none; }
.tab-list button[aria-selected="true"] { border-color: transparent; background: var(--gradient); color: white; }
.tab-panels { min-height: 360px; padding: 44px 50px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(140deg, rgba(255,255,255,.025), rgba(255,255,255,.008)); }
.tab-panels article { position: relative; }
.panel-letter { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 34px; border: 1px solid #6b2df5; border-radius: 15px; color: #8150ff; font-family: var(--display); font-size: 24px; font-weight: 600; }
.tab-panels h3 { margin: 0 0 14px; font-size: 30px; }
.tab-panels p { max-width: 670px; margin: 0; color: #b2b2bb; font-size: 14px; }
.tab-panels ul { position: absolute; top: 0; right: 0; display: flex; max-width: 54%; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tab-panels li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: #a8a8b2; font-size: 11px; }
.tab-panels .text-link { margin-top: 28px; }

.work-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; margin-top: 64px; }
.project { min-width: 0; }
.project-large { grid-row: span 2; }
.project-visual { position: relative; display: grid; height: 340px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; isolation: isolate; }
.project-large .project-visual { height: 680px; }
.project-visual::before { position: absolute; z-index: -1; inset: -20%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 16%), radial-gradient(circle at 60% 65%, rgba(255,255,255,.12), transparent 24%), repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,.04) 20px 21px); content: ""; }
.project-visual span { position: absolute; top: 20px; left: 20px; z-index: 2; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .12em; }
.project-visual b { font-family: var(--display); font-size: clamp(120px, 18vw, 250px); font-weight: 700; letter-spacing: -.1em; line-height: 1; opacity: .84; text-shadow: 0 20px 70px rgba(0,0,0,.25); }
.blue { background: linear-gradient(145deg, #151157, #2e56ec 55%, #8047ed); }
.lime { background: linear-gradient(145deg, #80a638, #b9f44f 55%, #f5ffbd); color: #0b1711; }
.red { background: linear-gradient(145deg, #7e1723, #f45a32 55%, #ff9c61); }
.project > p { margin: 18px 0 6px; color: #8257ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.project h3 { margin: 0 0 6px; font-size: 21px; }
.project > span { color: var(--muted); font-size: 12px; }

.about { overflow: hidden; }
.about::after { position: absolute; z-index: -1; right: -180px; bottom: -280px; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; background: radial-gradient(circle, rgba(89,43,239,.16), transparent 64%); box-shadow: 0 0 0 80px rgba(255,255,255,.012), 0 0 0 160px rgba(255,255,255,.008); content: ""; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 76px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.012); }
.stats > div { min-height: 180px; padding: 30px; border-right: 1px solid var(--line); }
.stats > div:last-child { border: 0; }
.stats strong { display: block; background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--display); font-size: 56px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.stats span { display: block; max-width: 120px; margin-top: 18px; color: var(--muted); font-size: 12px; }

.faq-list { max-width: 760px; margin: 64px 0 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-family: var(--display); font-size: 17px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #8d66ff; transition: transform .25s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 650px; margin: -4px 0 24px; color: var(--muted); font-size: 14px; }

.contact { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 160px); border-bottom: 1px solid var(--line); }
.contact::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 10% 80%, rgba(244,90,50,.15), transparent 34%), radial-gradient(circle at 90% 20%, rgba(82,39,237,.2), transparent 34%); content: ""; }
.contact-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.contact-heading p { max-width: 330px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; margin-top: 72px; }
.contact-direct { display: flex; flex-direction: column; gap: 16px; }
.contact-direct a { display: grid; grid-template-columns: 42px 1fr; gap: 0 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); font-size: 14px; }
.contact-direct a > span { display: grid; grid-row: span 2; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #15151d; color: #8d66ff; font-weight: 700; }
.contact-direct small { color: #666672; font-size: 9px; letter-spacing: .16em; }
.contact-note, .form-note { margin: 0; color: #6f6f79; font-size: 10px; }
form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
label { display: flex; flex-direction: column; gap: 8px; color: #8a8a95; font-size: 11px; }
input, select, textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: #7950ef; box-shadow: 0 1px 0 #7950ef; }
option { background: #111118; }
.full { grid-column: 1 / -1; }
form .button { justify-self: start; }
.form-note { align-self: center; }

.site-footer { display: grid; grid-template-columns: 1fr 1.2fr .5fr; gap: 50px; padding-block: 54px 30px; }
.site-footer > p { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; }
.site-footer > div { display: flex; flex-direction: column; gap: 8px; color: #b7b7c0; font-size: 12px; }
.site-footer .copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: #5f5f69; }

@media (max-width: 900px) {
  :root { --shell: min(calc(100vw - 36px), 720px); }
  .site-header { height: 66px; padding-inline: 18px; }
  .brand-wordmark { width: 142px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 18px 26px; border-bottom: 1px solid var(--line); background: rgba(5,5,7,.98); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 48px; padding-block: 12px; }
  .site-nav .button { margin-top: 12px; }
  .hero { min-height: calc(100svh - 66px); padding-block: 76px 56px; }
  .hero h1 { font-size: clamp(49px, 15vw, 80px); }
  .hero-bottom > p { max-width: 560px; font-size: 15px; }
  .signal { opacity: .28; transform: scale(.75); }
  .signal-left { left: -90px; }
  .signal-right { right: -90px; transform: scaleX(-1) scale(.75); }
  .section-intro { grid-template-columns: 1fr; gap: 26px; }
  .discipline-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .process-list li, .process-list li:first-child, .process-list li:last-child { min-height: 250px; border: 1px solid var(--line); border-radius: 16px; }
  .process-list li::after { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .project-large { grid-row: auto; }
  .project-large .project-visual { height: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-heading { align-items: start; flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 32px); }
  .hero { min-height: 720px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .15em; }
  .hero h1 { font-size: clamp(44px, 14.4vw, 64px); line-height: .98; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; }
  .hero-actions .text-link { display: flex; justify-content: center; text-align: center; }
  .signal { display: none; }
  .section { padding-block: 84px; }
  .section h2, .contact h2 { font-size: clamp(34px, 10.8vw, 48px); }
  .discipline-grid, .process-list { grid-template-columns: 1fr; }
  .discipline-grid article { min-height: 220px; }
  .process-list li { min-height: 220px; }
  .process-list h3 { margin-top: 44px; }
  .tab-list { overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: 0 0 auto; }
  .tab-panels { min-height: 490px; padding: 30px 24px; }
  .tab-panels ul { position: static; max-width: none; justify-content: flex-start; margin-top: 26px; }
  .project-visual, .project-large .project-visual { height: 340px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { min-height: 150px; padding: 22px; }
  .stats strong { font-size: 46px; }
  .faq-list { margin-top: 42px; }
  .faq summary { min-height: 74px; font-size: 14px; }
  form { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
