:root {
  --ink: #07111f;
  --ink-soft: #152239;
  --paper: #f4f1e9;
  --paper-deep: #e8e3d8;
  --blue: #4d72ff;
  --blue-bright: #7290ff;
  --acid: #d7ff5c;
  --orange: #ff7657;
  --line: rgba(7, 17, 31, 0.16);
  --radius: 22px;
  --max-width: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 82px;
  padding: 0 clamp(24px, 4vw, 68px);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, height 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  height: 68px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 6px; width: max-content; font-size: 21px; font-weight: 750; letter-spacing: -0.04em; }
.brand small { margin-left: 1px; font-size: 8px; letter-spacing: 0.08em; opacity: 0.65; }

.brand-mark { position: relative; display: flex; gap: 2px; align-items: flex-end; width: 20px; height: 19px; margin-right: 3px; }
.brand-mark span { display: block; width: 4px; border-radius: 10px; background: currentColor; transform: skew(-15deg); }
.brand-mark span:nth-child(1) { height: 11px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 14px; }

.desktop-nav { display: flex; gap: 34px; font-size: 13px; }
.desktop-nav a, .header-contact { transition: opacity 0.2s ease; }
.desktop-nav a:hover, .header-contact:hover { opacity: 0.58; }

.header-contact { justify-self: end; display: flex; align-items: center; gap: 9px; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 100%; background: var(--acid); box-shadow: 0 0 0 4px rgba(215, 255, 92, 0.12); }
.scrolled .status-dot { background: #3cdb8c; box-shadow: 0 0 0 4px rgba(60, 219, 140, 0.12); }

.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  padding: clamp(138px, 17vh, 210px) clamp(24px, 6.5vw, 110px) 34px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(110deg, rgba(24, 41, 75, 0.2), transparent 42%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.orb { position: absolute; border-radius: 100%; filter: blur(1px); pointer-events: none; }
.orb-one { right: -12vw; bottom: -38vw; width: 76vw; height: 76vw; background: radial-gradient(circle at 45% 40%, rgba(77, 114, 255, 0.45), rgba(77, 114, 255, 0.06) 46%, transparent 66%); }
.orb-two { top: -42vw; left: 22vw; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(62, 106, 255, 0.16), transparent 66%); }

.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 740px; }
.eyebrow { display: flex; gap: 24px; margin: 0 0 clamp(36px, 6vh, 74px); color: rgba(255, 255, 255, 0.5); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span + span::before { content: "·"; margin-right: 24px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.062em; }
h1 { margin-bottom: 34px; font-size: clamp(66px, 8.2vw, 128px); font-weight: 550; line-height: 0.84; }
h1 em, h2 em { color: var(--blue-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.07em; }

.hero-intro { max-width: 600px; margin: 0 0 40px; color: rgba(255, 255, 255, 0.68); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 58px; padding: 0 20px 0 25px; border-radius: 100px; font-size: 13px; font-weight: 650; transition: transform 0.25s ease, background 0.25s ease; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.button-primary { color: var(--ink); background: var(--acid); }
.button-primary:hover { background: white; transform: translateY(-2px); }
.text-link { font-size: 13px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform 0.2s ease; }
.text-link:hover span { transform: translateY(4px); }

.hero-visual { position: relative; z-index: 2; align-self: center; justify-self: end; width: min(100%, 600px); aspect-ratio: 1 / 0.9; }
.visual-grid { position: absolute; inset: 2% 0 0 0; opacity: 0.15; background-image: linear-gradient(rgba(255,255,255,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.23) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle, black 5%, transparent 68%); }
.interface-card { position: absolute; padding: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045)); box-shadow: 0 30px 80px rgba(0,0,0,.3); backdrop-filter: blur(15px); }
.card-primary { top: 12%; left: 5%; width: 67%; aspect-ratio: 1.03; transform: rotate(-2.5deg); }
.card-topline { display: flex; justify-content: space-between; color: rgba(255,255,255,.48); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.live-label { display: flex; align-items: center; gap: 7px; }
.live-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); }
.idea-orbit { position: absolute; top: 50%; left: 50%; width: 64%; aspect-ratio: 1; transform: translate(-50%,-50%); }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: 7%; left: 18%; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.ring-two { inset: 18%; animation-direction: reverse; animation-duration: 12s; }
.ring-two::before { top: auto; bottom: -3px; left: 48%; width: 6px; height: 6px; background: var(--acid); box-shadow: 0 0 18px var(--acid); }
.orbit-core { position: absolute; inset: 35%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: white; background: rgba(77,114,255,.4); box-shadow: 0 0 36px rgba(77,114,255,.35); font-family: Georgia, serif; font-size: 25px; font-style: italic; }
.node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: white; }
.node-a { top: 40%; left: 1%; }.node-b { top: 14%; right: 16%; }.node-c { right: 4%; bottom: 25%; }
.card-footer { position: absolute; right: 22px; bottom: 20px; left: 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.progress { flex: 1; height: 1px; background: rgba(255,255,255,.16); }
.progress i { display: block; width: 68%; height: 100%; background: var(--acid); }
.card-small { width: 38%; min-width: 170px; padding: 18px; }
.card-top { top: 7%; right: 0; transform: rotate(4deg); }
.card-bottom { right: 4%; bottom: 8%; transform: rotate(-3deg); }
.mini-label { display: block; margin-bottom: 13px; color: rgba(255,255,255,.38); font-size: 8px; letter-spacing: .14em; }
.card-small strong { font-size: 16px; font-weight: 550; }
.bars { display: flex; align-items: end; gap: 4px; height: 24px; margin-top: 18px; }
.bars i { flex: 1; height: 30%; border-radius: 2px; background: var(--blue-bright); }
.bars i:nth-child(2) { height: 50%; }.bars i:nth-child(3) { height: 38%; }.bars i:nth-child(4) { height: 72%; }.bars i:nth-child(5) { height: 56%; }.bars i:nth-child(6) { height: 88%; background: var(--acid); }.bars i:nth-child(7) { height: 75%; }
.card-bottom > div { display: flex; align-items: end; gap: 14px; }
.card-bottom strong { color: var(--acid); font-size: 38px; line-height: .9; letter-spacing: -.05em; }
.card-bottom div span { color: rgba(255,255,255,.46); font-size: 9px; line-height: 1.35; text-transform: uppercase; }
.signal-line { position: absolute; height: 1px; transform-origin: left; background: linear-gradient(90deg, transparent, rgba(215,255,92,.7), transparent); }
.line-one { top: 32%; right: 1%; width: 25%; transform: rotate(-22deg); }
.line-two { right: 6%; bottom: 31%; width: 28%; transform: rotate(20deg); }
.visual-caption { position: absolute; bottom: 0; left: 9%; color: rgba(255,255,255,.32); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

.hero-bottom { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; align-self: end; margin-top: 60px; color: rgba(255,255,255,.3); font-size: 8px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.hero-bottom span:last-child { margin-left: auto; }
.scroll-line { width: 72px; height: 1px; background: rgba(255,255,255,.14); }
.scroll-line i { display: block; width: 25%; height: 100%; background: white; animation: slide 2.4s ease-in-out infinite; }

.manifesto, .services { padding: clamp(90px, 11vw, 170px) clamp(24px, 7.5vw, 120px); }
.section-label { margin: 0 0 48px; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-label::before { content: ""; display: inline-block; width: 25px; height: 1px; margin: 0 11px 3px 0; background: currentColor; }
.manifesto-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 10vw; }
.manifesto h2, .section-heading h2, .process h2, .contact h2 { margin: 0; font-size: clamp(48px, 6.5vw, 102px); font-weight: 510; line-height: .98; }
.manifesto h2 em, .section-heading h2 em { color: var(--blue); }
.manifesto-copy { align-self: end; padding-bottom: 4px; }
.manifesto-copy p { margin-bottom: 30px; color: #5a6069; font-size: 16px; line-height: 1.7; }
.arrow-link { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 650; }
.arrow-link span { transition: transform .2s ease; }.arrow-link:hover span { transform: translate(3px,-3px); }

.services { padding-top: 30px; }
.section-heading { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; margin-bottom: 78px; }
.section-heading .section-label { margin-bottom: 37px; }
.section-heading > p { margin-bottom: 4px; color: #686c72; line-height: 1.65; }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 50px 90px 1fr auto; gap: clamp(16px, 3vw, 46px); align-items: center; min-height: 200px; padding: 34px 20px 34px 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.service-item:hover { padding-left: 20px; background: rgba(255,255,255,.45); }
.service-number { align-self: start; padding-top: 5px; color: #8a8b88; font-size: 9px; }
.service-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--blue); background: white; }
.service-icon svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.service-content { display: grid; grid-template-columns: minmax(250px, .8fr) 1fr; gap: 50px; align-items: center; }
.service-content h3 { margin: 0; font-size: clamp(24px, 2.2vw, 36px); font-weight: 530; letter-spacing: -.04em; }
.service-content p { max-width: 470px; margin: 0; color: #646970; font-size: 14px; line-height: 1.65; }
.service-arrow { font-size: 22px; transition: transform .25s ease; }.service-item:hover .service-arrow { transform: translate(4px,-4px); }

.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; padding: clamp(90px, 12vw, 170px) clamp(24px, 7.5vw, 120px); color: white; background: var(--blue); }
.section-label-light { color: rgba(255,255,255,.7); }
.process h2 em { color: var(--acid); }
.process-copy > p:last-child { max-width: 470px; margin: 42px 0 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.process-steps { align-self: end; border-top: 1px solid rgba(255,255,255,.25); }
.process-steps article { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.process-steps article > span { color: rgba(255,255,255,.5); font-size: 9px; }
.process-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 570; }
.process-steps p { max-width: 430px; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.55; }

.contact { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(100px, 13vw, 190px) 24px; overflow: hidden; text-align: center; }
.contact .section-label { margin-bottom: 34px; }
.contact h2 { position: relative; z-index: 1; font-size: clamp(70px, 10vw, 150px); line-height: .81; }
.contact h2 em { color: var(--blue); }
.contact-copy { position: relative; z-index: 1; max-width: 510px; margin: 46px 0 38px; color: #666b72; line-height: 1.65; }
.contact-email { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(30px, 7vw, 100px); padding: 18px 4px; border-bottom: 1px solid var(--ink); font-size: clamp(19px, 2.1vw, 31px); font-weight: 540; letter-spacing: -.03em; }
.contact-email span { font-size: 24px; transition: transform .2s ease; }.contact-email:hover span { transform: translate(4px,-4px); }
.contact-orbit { position: absolute; top: 54%; left: 50%; width: min(72vw, 850px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(77,114,255,.09); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border: 1px solid rgba(77,114,255,.08); border-radius: 50%; }
.contact-orbit::before { inset: 14%; }.contact-orbit::after { inset: 29%; }
.contact-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.contact-orbit i:nth-child(1) { top: 14%; left: 22%; }.contact-orbit i:nth-child(2) { right: 4%; bottom: 30%; background: var(--orange); }.contact-orbit i:nth-child(3) { bottom: 9%; left: 30%; background: var(--acid); box-shadow: 0 0 0 1px rgba(7,17,31,.2); }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; padding: 50px clamp(24px, 6.5vw, 110px); color: white; background: var(--ink); }
.brand-footer { align-self: start; }
footer > p { margin: 0; color: rgba(255,255,255,.48); font-family: Georgia, serif; font-size: 18px; font-style: italic; line-height: 1.4; }
.footer-meta { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; color: rgba(255,255,255,.45); font-size: 11px; }
.footer-meta a { color: white; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { 0%,100% { transform: translateX(0); } 50% { transform: translateX(300%); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-contact { display: none; }
  .menu-button { display: grid; gap: 6px; width: 38px; padding: 10px 5px; border: 0; color: currentColor; background: transparent; cursor: pointer; }
  .menu-button span { height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; gap: 0; padding: 10px 24px 24px; color: var(--ink); border-bottom: 1px solid var(--line); background: rgba(244,241,233,.98); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-visual { justify-self: center; width: min(90%, 620px); margin-top: 70px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-copy { max-width: 520px; margin-left: auto; }
  .service-content { grid-template-columns: 1fr; gap: 12px; }
  .process { grid-template-columns: 1fr; }
  .process-steps { margin-top: 40px; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .hero { min-height: auto; padding: 122px 20px 28px; }
  .eyebrow { margin-bottom: 40px; }
  .eyebrow span:last-child { display: none; }
  h1 { font-size: clamp(59px, 19vw, 82px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-visual { width: 105%; margin: 65px -2.5% 0; }
  .card-primary { left: 0; width: 71%; }
  .card-small { min-width: 145px; }
  .card-bottom { right: 0; }
  .hero-bottom { margin-top: 50px; }
  .hero-bottom .scroll-line, .hero-bottom span:first-child { display: none; }
  .manifesto, .services { padding-inline: 20px; }
  .section-label { margin-bottom: 32px; }
  .manifesto h2, .section-heading h2, .process h2 { font-size: 47px; }
  .manifesto-copy { margin-top: 44px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 46px; }
  .section-heading > p { max-width: 430px; }
  .service-item { grid-template-columns: 32px 58px 1fr; gap: 12px; min-height: 0; padding: 28px 0; }
  .service-item:hover { padding-left: 0; background: transparent; }
  .service-number { grid-column: 1; }
  .service-icon { grid-column: 2; width: 52px; height: 52px; }
  .service-icon svg { width: 27px; }
  .service-content { grid-column: 3; }
  .service-content h3 { font-size: 22px; }
  .service-content p { font-size: 13px; }
  .service-arrow { display: none; }
  .process { padding: 90px 20px; }
  .contact { padding: 110px 20px; }
  .contact h2 { font-size: clamp(67px, 22vw, 100px); }
  .contact-email { gap: 22px; font-size: 18px; }
  footer { grid-template-columns: 1fr 1fr; gap: 55px 30px; padding: 45px 20px; }
  footer > p { justify-self: end; }
  .footer-meta { grid-column: 1 / -1; align-items: flex-start; }
}

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