@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #08090d;
  --panel: #111319;
  --soft: #1b1e25;
  --paper: #f0f1eb;
  --muted: #a6a9ae;
  --acid: #d8ff3e;
  --line: rgba(240, 241, 235, 0.18);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
.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; left: 1rem; top: -4rem; z-index: 100; background: var(--acid); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-noise { position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { position: fixed; top: 0; left: 0; width: 100%; height: 84px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(8,9,13,.86); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.brand-mark { width: 28px; height: 28px; fill: var(--acid); }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); font-size: .85rem; font-weight: 600; }
.site-nav > a:not(.nav-contact) { color: #c8c9c6; transition: color .2s; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--paper); }
.nav-contact { border: 1px solid var(--line); padding: .7rem 1rem; transition: background .2s, color .2s; }
.nav-contact:hover { background: var(--acid); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; width: 42px; height: 42px; padding: 10px; }
.menu-toggle i { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .2s; }

.eyebrow, .section-number { font-family: "DM Mono", monospace; font-size: .75rem; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { color: var(--acid); }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 10vw, 11rem) clamp(1.25rem, 4vw, 4.5rem); }
.section-number { color: #7f8289; }
.text-link { display: inline-flex; gap: .7rem; align-items: center; font-size: .88rem; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.text-link span { color: var(--acid); }

.hero { position: relative; min-height: 100svh; max-width: 1800px; margin: 0 auto; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; padding: 7rem clamp(1.25rem, 4vw, 4.5rem) 3rem; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 1.3rem 0 1.8rem; font-size: clamp(3.5rem, 7.1vw, 8.3rem); line-height: .86; letter-spacing: -.075em; font-weight: 600; }
.hero h1 span { color: var(--acid); font-style: italic; font-weight: 400; }
.hero-intro { max-width: 600px; margin-left: clamp(0rem, 10vw, 10rem); color: #b7b9bd; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.hero-actions { margin: 2.6rem 0 0 clamp(0rem, 10vw, 10rem); display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 54px; padding: .85rem 1.25rem; font-weight: 700; font-size: .88rem; }
.button-primary { background: var(--acid); color: var(--ink); }
.button-primary:hover { background: var(--paper); }
.hero-system { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 900px; }
.orbit { width: min(48vw, 620px); overflow: visible; fill: none; stroke: rgba(216,255,62,.22); stroke-width: 1; animation: rotate 25s linear infinite; }
.orbit circle:first-child { stroke-dasharray: 3 12; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-a { width: 200px; height: 200px; background: radial-gradient(circle at 35% 30%, #efffae, var(--acid) 30%, #3d5113 70%, transparent 72%); box-shadow: 0 0 130px rgba(216,255,62,.18); animation: float 7s ease-in-out infinite; }
.orb-b { width: 66px; height: 66px; background: var(--paper); right: 16%; top: 20%; box-shadow: 0 0 50px rgba(255,255,255,.15); }
.grid-plane { position: absolute; width: 100%; height: 55%; bottom: -3%; background-image: linear-gradient(rgba(216,255,62,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(216,255,62,.14) 1px, transparent 1px); background-size: 40px 40px; transform: rotateX(68deg); mask-image: linear-gradient(to bottom, transparent, #000); }
.system-label { position: absolute; font-family: "DM Mono", monospace; font-size: .65rem; letter-spacing: .13em; color: #9b9da3; }
.system-label span { color: var(--acid); margin-right: .5rem; }
.label-a { left: 9%; top: 29%; }.label-b { right: 4%; top: 52%; }.label-c { left: 19%; bottom: 17%; }
.hero-index { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2rem; font-family: "DM Mono", monospace; font-size: .7rem; color: #777a81; }

.statement { display: grid; grid-template-columns: 1fr 3fr; border-top: 1px solid var(--line); }
.statement h2 { max-width: 1050px; margin: 1rem 0 4rem; font-size: clamp(2.3rem, 4.7vw, 5rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.statement-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); max-width: 770px; margin-left: auto; color: var(--muted); }
.services-preview { background: var(--paper); color: var(--ink); max-width: none; }
.services-preview > * { max-width: calc(var(--max) - 9rem); margin-left: auto; margin-right: auto; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.services-preview .section-number { color: #62656b; }
.service-row { display: grid; grid-template-columns: .35fr 1.25fr 1fr auto; gap: 2rem; align-items: center; padding: 2.3rem 0; border-top: 1px solid rgba(8,9,13,.2); transition: padding .25s, color .25s; }
.service-row:last-child { border-bottom: 1px solid rgba(8,9,13,.2); }
.service-row:hover { color: #465400; padding-left: 1rem; padding-right: 1rem; }
.service-index { font-family: "DM Mono", monospace; font-size: .7rem; }
.service-name { font-size: clamp(1.65rem, 3vw, 3rem); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.service-copy { color: #53565d; max-width: 420px; }
.service-arrow { font-size: 1.7rem; }

.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; margin-top: 4rem; }
.process h2 { margin: 1rem 0 0; font-size: clamp(2.3rem, 4vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1.5rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.process-list > li > span { font-family: "DM Mono", monospace; color: var(--acid); font-size: .72rem; }
.process-list h3 { margin: -.3rem 0 .35rem; font-size: 1.55rem; }
.process-list p { margin: 0; color: var(--muted); }
.contact-panel { max-width: none; background: var(--acid); color: var(--ink); position: relative; overflow: hidden; }
.contact-panel::after { content: "R"; position: absolute; right: -3vw; top: -22vw; font-size: min(48vw, 760px); font-weight: 800; line-height: 1; opacity: .08; pointer-events: none; }
.contact-panel .eyebrow { color: #4b5a00; }
.contact-panel h2 { position: relative; z-index: 1; margin: 1rem 0 4rem; font-size: clamp(4rem, 9vw, 10rem); line-height: .84; letter-spacing: -.07em; font-weight: 600; }
.contact-panel h2 em { font-weight: 400; }
.contact-links { position: relative; z-index: 1; display: flex; gap: clamp(2rem, 8vw, 9rem); align-items: center; flex-wrap: wrap; font-size: clamp(1.1rem, 1.8vw, 1.65rem); font-weight: 700; }
.contact-links a:first-child { border-bottom: 2px solid currentColor; }

.page-hero { min-height: 82svh; padding: 11rem clamp(1.25rem, 8vw, 9rem) 5rem; display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 1.5rem 0 2.5rem; font-size: clamp(3.8rem, 8.5vw, 9rem); line-height: .86; letter-spacing: -.075em; font-weight: 600; }
.page-hero > p:last-child { max-width: 640px; margin-left: auto; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.service-detail { border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.service-detail-head { display: flex; gap: 1.5rem; align-items: center; color: var(--acid); font-family: "DM Mono", monospace; font-size: .75rem; letter-spacing: .1em; }
.service-detail-head p { margin: 0; }
.service-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; margin-top: 5rem; }
.service-detail-grid h2 { margin: 0; font-size: clamp(2.7rem, 5.4vw, 6rem); line-height: .96; letter-spacing: -.06em; font-weight: 500; }
.service-detail-grid > div > p { color: var(--muted); font-size: 1.1rem; }
.service-detail-grid ul { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.service-detail-grid li { border-top: 1px solid var(--line); padding: 1rem 0; }
.compact-contact h2 { font-size: clamp(3.8rem, 8vw, 8rem); }

.legal-page { max-width: 1160px; margin: 0 auto; padding: 11rem clamp(1.25rem, 4vw, 4.5rem) 8rem; }
.legal-page header { padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
.legal-page h1 { margin: 1.5rem 0 2rem; font-size: clamp(3.5rem, 7vw, 7rem); line-height: .9; letter-spacing: -.06em; }
.legal-page header > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.15rem; }
.legal-content { max-width: 760px; margin: 5rem 0 0 auto; }
.legal-content section { margin-bottom: 3.5rem; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content p { color: #b8babd; }
.legal-content a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.error-page { min-height: 100svh; padding: 9rem clamp(1.25rem, 6vw, 7rem) 5rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; }
.error-code { margin: 0; color: var(--acid); font-size: clamp(8rem, 24vw, 24rem); font-weight: 800; line-height: .75; letter-spacing: -.1em; opacity: .9; }
.error-page h1 { margin: 1rem 0 2rem; font-size: clamp(3rem, 6vw, 6rem); line-height: .93; letter-spacing: -.06em; }
.error-page > div > p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; max-width: 460px; }

.site-footer { padding: 7rem clamp(1.25rem, 4vw, 4.5rem) 2rem; max-width: var(--max); margin: auto; }
.footer-title { font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.055em; margin: 1rem 0 5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-label { font-family: "DM Mono", monospace; color: var(--paper); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-grid a:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--line); color: #73767c; font-family: "DM Mono", monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }

.cookie-banner { position: fixed; z-index: 80; right: 1.25rem; bottom: 1.25rem; width: min(520px, calc(100% - 2.5rem)); padding: 1.35rem; background: var(--paper); color: var(--ink); box-shadow: 0 20px 70px rgba(0,0,0,.45); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; animation: cookie-in .4s both; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-hiding { opacity: 0; transform: translateY(10px); transition: .25s; }
.cookie-title { font-weight: 800; margin: 0 0 .25rem; }
.cookie-banner p:not(.cookie-title) { margin: 0; color: #55585e; font-size: .8rem; line-height: 1.45; }
.cookie-actions { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: .75rem; }
.cookie-actions a { text-decoration: underline; }
.cookie-actions button { border: 0; background: var(--ink); color: var(--paper); padding: .65rem 1rem; cursor: pointer; font-weight: 700; }

.reveal { animation: reveal .8s var(--delay, 0ms) both cubic-bezier(.2,.7,.2,1); }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } }
@keyframes float { 50% { transform: translateY(-18px) scale(1.03); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; background: var(--ink); padding: 7rem 1.5rem 3rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; font-size: 2.2rem; transform: translateX(100%); transition: transform .3s; }
  .site-nav.is-open { transform: translateX(0); }
  .nav-contact { margin-top: 1rem; font-size: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 8rem; }
  .hero-system { position: absolute; inset: 20% -30% auto 35%; min-height: 500px; opacity: .6; }
  .orbit { width: 620px; }
  .hero-copy { align-self: center; }
  .hero h1 { font-size: clamp(3.6rem, 13vw, 7rem); }
  .hero-intro, .hero-actions { margin-left: 0; }
  .statement { grid-template-columns: 1fr; gap: 3rem; }
  .statement-detail, .process-layout, .service-detail-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 42px 1fr auto; }
  .service-copy { grid-column: 2 / 3; }
  .process-layout { gap: 4rem; }
  .error-page { grid-template-columns: 1fr; align-content: center; }
  .error-code { font-size: 9rem; }
}

@media (max-width: 600px) {
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .brand { font-size: .73rem; }
  .hero { min-height: 900px; align-items: start; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .hero-system { inset: 48% -60% auto 2%; transform: scale(.78); }
  .statement h2 { font-size: 2.5rem; }
  .statement-detail { gap: 1rem; }
  .section-head { align-items: flex-start; gap: 1rem; }
  .service-row { grid-template-columns: 34px 1fr auto; gap: 1rem; padding: 1.7rem 0; }
  .service-copy { display: none; }
  .service-name { font-size: 1.65rem; }
  .contact-panel h2 { font-size: 4rem; }
  .page-hero { min-height: 720px; }
  .page-hero h1 { font-size: 3.6rem; }
  .service-detail-grid { margin-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { flex-direction: row; align-items: center; }
}

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

