:root {
  --black: #0b0c0e;
  --black-soft: #111316;
  --graphite: #343433;
  --silver: #9e9da0;
  --mist: #e7e7e8;
  --paper: #f4f4f2;
  --white: #ffffff;
  --orange: #fd5b01;
  --orange-hot: #ff7929;
  --line: rgba(255, 255, 255, 0.13);
  --muted: #a9aaad;
  --radius: 18px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--orange);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.site-shell { position: relative; overflow: hidden; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 90px;
  display: flex;
  align-items: center;
  background: rgba(11, 12, 14, .76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: height .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  height: 76px;
  background: rgba(11, 12, 14, .92);
  border-color: var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-frame {
  display: flex;
  align-items: center;
  width: 236px;
  height: 58px;
  padding: 3px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  background: rgba(247, 247, 246, .96);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .22);
}
.brand-frame img { display: block; width: 100%; transform: scale(1.1); }
.primary-nav { display: flex; align-items: center; gap: 2rem; color: #cacacd; font-size: .86rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav > a:not(.button) { position: relative; padding-block: .6rem; transition: color .2s ease; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-nav > a:not(.button):hover, .primary-nav > a:not(.button):focus-visible { color: var(--white); }
.primary-nav > a:not(.button):hover::after, .primary-nav > a:not(.button):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 12px 9px; border: 1px solid var(--line); background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 52px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--compact { min-height: 42px; padding: .55rem 1rem; }
.button--outline { border-color: rgba(253, 91, 1, .75); color: #ff8b4b; }
.button--outline:hover, .button--outline:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--white); }
.button--primary { background: var(--orange); color: var(--white); box-shadow: 0 0 0 0 rgba(253, 91, 1, 0); }
.button--primary:hover, .button--primary:focus-visible { background: var(--orange-hot); box-shadow: 0 12px 40px rgba(253, 91, 1, .24); }
.button--large { min-width: 190px; min-height: 60px; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: #d4d4d6; border-bottom: 1px solid #4a4b4e; padding: .6rem 0; font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.text-link span { color: var(--orange); transition: transform .2s ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(4px); }
.text-link--light { color: var(--graphite); border-bottom-color: #bebec1; }

.hero { position: relative; min-height: 810px; padding: 190px 0 110px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -4; background: radial-gradient(circle at 72% 44%, rgba(253, 91, 1, .09), transparent 23%), linear-gradient(135deg, #101216 0%, #0b0c0e 52%, #111316 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -3; opacity: .52; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 78%, transparent); }
.hero::after { content: ""; position: absolute; z-index: -2; width: 800px; height: 1px; top: 48%; right: -200px; background: linear-gradient(90deg, transparent, rgba(253,91,1,.55), transparent); transform: rotate(-42deg); box-shadow: 0 0 26px rgba(253,91,1,.28); }
.orb { position: absolute; z-index: -2; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.orb--one { width: 460px; height: 460px; top: 115px; right: 4%; }
.orb--two { width: 640px; height: 640px; top: 24px; right: -4%; opacity: .45; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.eyebrow, .section-index { margin: 0 0 1.5rem; color: var(--silver); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #b4b4b8; }
.eyebrow > span { display: inline-block; width: 34px; height: 1px; background: var(--orange); box-shadow: 0 0 12px rgba(253,91,1,.6); }
.hero h1 { max-width: 800px; margin: 0; color: var(--white); font-size: clamp(3.4rem, 5.8vw, 6.3rem); font-weight: 760; letter-spacing: -.065em; line-height: .95; }
.hero h1 em { display: block; color: var(--silver); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 650px; margin: 2rem 0 0; color: #b7b8bb; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; }
.capability-list { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 2.6rem 0 0; list-style: none; }
.capability-list li { padding: .55rem .78rem; border: 1px solid var(--line); color: #939498; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.system-panel { position: relative; min-height: 448px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: linear-gradient(145deg, rgba(35,37,41,.83), rgba(16,17,20,.96)); box-shadow: 0 34px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.system-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.system-panel::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-image: linear-gradient(135deg, var(--orange), transparent 28%, transparent 70%, rgba(255,255,255,.2)) 1; pointer-events: none; }
.panel-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.panel-title { color: #d1d1d3; }
.live-state { display: flex; align-items: center; gap: .55rem; color: #8f9094; }
.live-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 13px rgba(253,91,1,.9); animation: pulse 1.8s infinite; }
.code-window { position: relative; z-index: 1; padding: 2.4rem 1.6rem 2rem; }
.line { display: grid; grid-template-columns: 34px 1fr; min-height: 38px; align-items: center; color: #aaabad; }
.line-no { color: #4e5054; font: .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.line code { font: .85rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.line code b { color: #d9d9da; font-weight: 600; }
.line code span { color: var(--orange-hot); }
.line code q { color: #c0c0c4; quotes: "'" "'"; }
.line code q::before, .line code q::after { color: #696a6f; }
.line--active { margin-top: .3rem; background: linear-gradient(90deg, rgba(253,91,1,.08), transparent); border-left: 1px solid var(--orange); }
.line--active code i { display: inline-block; width: 7px; height: 16px; margin-left: 5px; background: var(--orange); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.system-readout { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.system-readout div { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.system-readout div:last-child { border-right: 0; }
.system-readout span { color: var(--orange); font: .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.system-readout p { margin: .35rem 0 0; color: #c7c7ca; font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.panel-corner { position: absolute; right: 18px; top: 66px; color: rgba(255,255,255,.045); font-size: 6.8rem; font-weight: 850; letter-spacing: -.12em; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 4px rgba(253,91,1,.3); } }
@keyframes blink { 50% { opacity: 0; } }

.signal-bar { overflow: hidden; border-block: 1px solid var(--line); background: #101114; }
.signal-track { width: max-content; min-width: 100%; display: flex; justify-content: center; align-items: center; gap: 2.5rem; padding: 1.05rem 2rem; color: #77787d; font: 700 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.signal-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px rgba(253,91,1,.65); }

.section { padding: 120px 0; }
.services { color: var(--graphite); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: .42fr 1.58fr; gap: 2rem; align-items: start; margin-bottom: 4.5rem; }
.section-index { color: #7c7d80; }
.section-heading h2, .approach h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.1rem); line-height: 1; letter-spacing: -.055em; }
.section-heading h2 span { color: var(--silver); font-weight: 520; }
.section-heading > div > p { max-width: 650px; margin: 1.6rem 0 0; color: #696a6d; font-size: 1.05rem; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d3d3d4; }
.service-card { position: relative; min-height: 430px; padding: 2.2rem; border-right: 1px solid #d3d3d4; background: rgba(255,255,255,.32); transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { z-index: 2; transform: translateY(-8px); background: var(--white); box-shadow: 0 24px 60px rgba(25,26,29,.12); }
.service-card--featured { background: #ececeb; }
.card-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 3.5rem; border: 1px solid #c9c9ca; color: var(--orange); background: var(--paper); }
.card-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.card-number { margin: 0 0 .8rem; color: var(--orange); font: 700 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-card h3 { margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
.service-card > p:not(.card-number) { margin: 1.2rem 0 4rem; color: #6a6b6e; line-height: 1.7; }
.card-tag { position: absolute; bottom: 2.2rem; left: 2.2rem; color: #7d7e81; font: 700 .63rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }

.approach { color: var(--graphite); background: var(--mist); }
.approach-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(4rem, 10vw, 9rem); align-items: start; }
.approach-copy { position: sticky; top: 120px; }
.approach h2 span { color: #929397; font-weight: 520; }
.approach-copy > p:not(.section-index) { max-width: 590px; margin: 2rem 0; color: #68696c; line-height: 1.8; }
.method-list { padding: 0; margin: 0; border-top: 1px solid #bfc0c2; list-style: none; }
.method-list li { display: grid; grid-template-columns: 72px 1fr; gap: 1.3rem; padding: 2rem .5rem; border-bottom: 1px solid #bfc0c2; }
.method-list > li > span { padding-top: .2rem; color: var(--orange); font: 700 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.method-list h3 { margin: 0; font-size: 1.28rem; }
.method-list p { margin: .55rem 0 0; color: #707175; line-height: 1.65; }

.principles { padding: 54px 0; background: var(--graphite); }
.principles-line { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.principles-line .section-index { margin: 0; color: #9a9a9d; }
.principles-line > p:not(.section-index) { margin: 0; color: #dddde0; font-size: .84rem; font-weight: 720; letter-spacing: .035em; }
.principles-line i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.contact { position: relative; background: var(--black); }
.contact::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.contact-panel { position: relative; padding: 5rem; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.contact-panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; bottom: -250px; border: 1px solid rgba(253,91,1,.5); border-radius: 50%; box-shadow: 0 0 100px rgba(253,91,1,.08); }
.contact h2 { max-width: 900px; color: var(--white); }
.contact h2 em { color: var(--silver); font-style: normal; font-weight: 500; }
.contact-panel > p:not(.eyebrow) { max-width: 630px; margin: 1.8rem 0 2.3rem; color: #9fa0a4; font-size: 1.05rem; line-height: 1.75; }
.contact-code { position: absolute; top: 2rem; right: 2.4rem; color: rgba(255,255,255,.08); font: 700 4rem ui-monospace, SFMono-Regular, Menlo, monospace; }

.site-footer { border-top: 1px solid var(--line); background: #08090a; }
.footer-layout { min-height: 180px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 3rem; }
.brand-frame--footer { width: 210px; height: 54px; }
.footer-layout > p { color: #85868a; font-size: .8rem; }
.footer-meta { display: flex; gap: 2rem; color: #68696d; font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer-meta b { font-weight: inherit; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .22s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .primary-nav { gap: 1.15rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .system-panel { width: min(100%, 640px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; border-right: 0; border-bottom: 1px solid #d3d3d4; }
  .service-card:last-child { border-bottom: 0; }
  .approach-layout { grid-template-columns: 1fr; }
  .approach-copy { position: static; }
  .principles-line { flex-wrap: wrap; justify-content: flex-start; }
  .principles-line .section-index { width: 100%; }
  .footer-layout { grid-template-columns: 220px 1fr; padding: 2.5rem 0; }
  .footer-meta { grid-column: 1 / -1; justify-content: space-between; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { height: 78px; }
  .brand-frame { width: 190px; height: 50px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 78px 0 auto; display: grid; gap: 0; padding: 1.2rem 20px 1.7rem; background: rgba(11,12,14,.98); border-bottom: 1px solid var(--line); transform: translateY(-125%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav > a:not(.button) { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 1.2rem; }
  .hero { min-height: auto; padding: 145px 0 80px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .hero-layout { gap: 4rem; }
  .system-panel { min-height: 425px; transform: none; }
  .code-window { padding-inline: 1rem; }
  .line { grid-template-columns: 28px 1fr; }
  .line code { font-size: .74rem; }
  .system-readout div { padding-inline: .8rem; }
  .system-readout p { font-size: .61rem; }
  .signal-track { justify-content: flex-start; }
  .section { padding: 84px 0; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .section-heading h2, .approach h2, .contact h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .service-card { padding: 1.6rem; }
  .card-tag { left: 1.6rem; }
  .method-list li { grid-template-columns: 45px 1fr; }
  .principles-line { display: grid; grid-template-columns: 1fr; }
  .principles-line i { display: none; }
  .contact-panel { padding: 3.3rem 1.5rem; }
  .contact-code { top: 1rem; right: 1rem; font-size: 2.5rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-meta { grid-column: auto; flex-direction: column; gap: .6rem; }
}

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