@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #090b0f;
  --surface: #11151b;
  --ink: #f4f5f7;
  --muted: #a4aab2;
  --quiet: #77808a;
  --line: #29313b;
  --blue: #0e6fb7;
  --blue-light: #72c2ff;
  --page: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(5rem, 10vw, 9rem);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-light); }
a:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--blue-light); color: #08111a; }
.section-wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .75rem 1rem; background: var(--blue-light); color: #08111a; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 3; display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); width: min(100% - 2 * var(--gutter), 1440px); margin: auto; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex: 0 0 10rem; width: 10rem; height: 1.75rem; align-items: center; overflow: hidden; }
.wordmark-logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.main-nav, .language-nav, .footer-languages { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.65rem); }
.main-nav { margin-left: auto; }
.main-nav a, .language-nav a, .footer-languages a { color: var(--muted); font-size: .78rem; transition: color .18s ease; }
.main-nav a:hover, .language-nav a:hover, .footer-languages a:hover, .language-nav a[aria-current="page"], .footer-languages a[aria-current="page"] { color: var(--ink); }
.language-nav { gap: .8rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.header-cta { display: inline-flex; align-items: center; gap: .65rem; padding: .62rem .9rem; border: 1px solid #3f596d; font-size: .78rem; }
.header-cta span, .button span { color: var(--blue-light); }

/* Hero artwork is a real, decorative asset; copy remains readable if it fails to load. */
.hero { position: relative; isolation: isolate; display: flex; min-height: min(800px, calc(100svh - 72px)); flex-direction: column; justify-content: center; overflow: hidden; padding: 5rem 0 7rem; background: var(--bg); }
.hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #090b0f 0%, #090b0f 35%, #090b0fdd 56%, #090b0f40 78%, #090b0f22 100%), linear-gradient(0deg, #090b0f 0%, transparent 30%, #090b0f30 100%); content: ""; }
.hero-visual { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; animation: current-drift 24s ease-in-out infinite alternate; }
.hero::after { position: absolute; z-index: 0; inset: 0; background: url("/assets/images/current-trace.svg") center / 100% 100% no-repeat; opacity: .7; pointer-events: none; content: ""; }
.hero-copy { position: relative; z-index: 1; padding-top: 1rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.35rem; color: var(--blue-light); font-size: .68rem; font-weight: 700; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.status-dot { width: .42rem; height: .42rem; flex: 0 0 auto; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 14px #72c2ff80; animation: status-pulse 2.4s ease-in-out infinite alternate; }
.hero h1, .intro h2, .section-heading h2, .collab-intro h2, .approach h2, .principles h2, .contact h2 { margin: 0; font-weight: 560; letter-spacing: -.075em; }
.hero h1 { max-width: 950px; font-size: clamp(4rem, 8.4vw, 8rem); line-height: .92; }
.accent-text { color: var(--blue-light); }
.hero h1 .accent-text { display: inline-block; }
.hero-lede { max-width: 570px; margin: 1.8rem 0 0; color: #d1d5dc; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .8rem; padding: .8rem 1.1rem; border: 1px solid var(--blue-light); font-size: .84rem; font-weight: 700; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary span { color: #fff; }
.button-primary:hover { transform: translateY(-2px); background: #0b5f9f; color: #fff; }
.text-link { color: #e1e5e9; font-size: .84rem; }
.hero-note { margin: 1.6rem 0 0; color: #9aa3ad; font-size: .72rem; }
.hero-index { position: absolute; right: 0; bottom: 1.8rem; left: 0; display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid #ffffff33; color: #bbc3cb; font-size: .58rem; letter-spacing: .15em; }

.intro { position: relative; display: grid; grid-template-columns: 7rem 1fr .64fr; align-items: end; gap: 1.5rem 2rem; padding-top: var(--section-space); padding-bottom: var(--section-space); border-top: 1px solid var(--line); }
.intro::before { position: absolute; top: 0; left: 0; width: 1px; height: 4rem; background: linear-gradient(var(--blue-light), transparent); content: ""; }
.intro::after { grid-column: 1; grid-row: 1 / span 2; align-self: start; color: var(--blue-light); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 300; letter-spacing: -.08em; content: "01"; }
.intro .eyebrow { grid-column: 2 / -1; }
.intro h2 { grid-column: 2; max-width: 900px; font-size: clamp(3.2rem, 6vw, 6.25rem); line-height: .98; }
.muted { color: #8c949e; }
.intro-copy { max-width: 430px; margin: 0 0 .35rem; color: var(--muted); font-size: .96rem; line-height: 1.8; }

.services { position: relative; padding-top: var(--section-space); padding-bottom: var(--section-space); border-top: 1px solid var(--line); }
.services::before { position: absolute; top: .8rem; right: var(--gutter); color: var(--blue-light); font-size: .66rem; letter-spacing: .2em; opacity: .65; content: "02 / 05"; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.5rem; }
.section-heading h2, .collab-intro h2, .approach h2, .principles h2 { font-size: clamp(3rem, 5.8vw, 5.6rem); line-height: .98; }
.section-heading > p { max-width: 390px; margin: 0 0 .35rem; color: var(--muted); font-size: .96rem; line-height: 1.8; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 7vw, 7rem); }
.service-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.5rem; align-items: start; gap: .8rem; min-height: 190px; padding: 1.7rem .2rem; border-top: 1px solid #293744; transition: padding .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease; }
.service-row:first-child { grid-column: 1 / -1; grid-template-columns: 7rem minmax(0, 1.2fr) minmax(220px, .8fr); align-items: center; min-height: 300px; margin-bottom: 1.5rem; padding: 2.5rem 2rem; border: 1px solid #34536b; background: radial-gradient(ellipse at 85% 50%, #0e6fb733, transparent 55%), linear-gradient(115deg, #111923, #0b1017); }
.service-row:last-child { border-bottom: 1px solid #293744; }
.service-row:hover, .service-row:focus-within { padding-left: .8rem; border-color: #4b91c2; background-color: #1023334d; transform: translateY(-3px); }
.service-row.is-current { border-color: #72c2ff; background-color: #10233366; }
.service-row.is-current .service-number { text-shadow: 0 0 18px #72c2ff99; }
.service-row:first-child:hover { padding-left: 2rem; background-color: transparent; }
.service-number, .service-arrow { color: var(--blue-light); font-size: .76rem; }
.service-row:first-child .service-number { align-self: start; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -.09em; }
.service-row:first-child h3 { font-size: clamp(2rem, 4vw, 3.5rem); }
.service-row h3, .collab-options h3, .principle-grid h3, .process-list h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 550; letter-spacing: -.04em; line-height: 1.25; }
.service-row p { max-width: 720px; margin: .55rem 0 0; color: var(--muted); font-size: .91rem; line-height: 1.8; }
.service-arrow { justify-self: end; font-size: 1rem; }
.service-row:first-child p { max-width: 390px; font-size: 1rem; }

.collaboration { position: relative; isolation: isolate; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 7vw, 7rem); width: 100%; padding: clamp(4rem, 8vw, 8rem) max(var(--gutter), calc((100% - var(--page)) / 2)); border: 0; border-block: 1px solid #398ac1; background: radial-gradient(ellipse at 8% 10%, #227fc1 0, transparent 38%), linear-gradient(118deg, #0e6fb7 0%, #0c3150 62%, #09121c 100%); }
.collaboration::before { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 46%; background: repeating-linear-gradient(135deg, transparent 0 48px, #b7e3ff10 49px 50px, transparent 51px 98px); content: ""; }
.collab-intro { align-self: center; }
.collab-intro .eyebrow, .collab-options article > span { color: #c5e7ff; }
.collab-intro h2 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); }
.collab-intro > p:last-child, .collab-options p { max-width: 470px; color: #d5e6f2; font-size: .91rem; line-height: 1.8; }
.collab-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: end; border-top: 1px solid #b7ddf84d; }
.collab-options article { min-height: 260px; padding: 1.45rem 1.2rem 1rem 0; border-bottom: 1px solid #b7ddf84d; }
.collab-options article + article { padding-left: 1.2rem; border-left: 1px solid #b7ddf84d; }
.collab-options article > span, .principle-grid article > span { display: block; margin-bottom: 2.5rem; font-size: .63rem; letter-spacing: .13em; }
.collab-options h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.collab-options p { margin: .55rem 0 0; }

.approach { position: relative; display: grid; grid-template-columns: 1fr; gap: 4rem; width: 100%; padding: var(--section-space) max(var(--gutter), calc((100% - var(--page)) / 2)); background: #0e1219; }
.approach-head::before { display: block; width: 3.5rem; height: 3px; margin-bottom: 1.8rem; background: var(--blue); content: ""; }
.approach-head > p:last-child { max-width: 410px; margin-top: 1.5rem; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.process-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list::before { position: absolute; top: 1.5rem; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--blue-light), #264057 65%, #293744); content: ""; }
.process-list::after { position: absolute; z-index: 1; top: calc(1.5rem - 2px); left: 0; width: 5rem; height: 5px; border-radius: 999px; background: var(--blue-light); box-shadow: 0 0 16px #72c2ff; content: ""; animation: route-travel 6s ease-in-out infinite alternate paused; }
.process-list.is-in-view::after { animation-play-state: running; }
.process-list li { position: relative; display: grid; grid-template-rows: 3rem auto; align-content: start; gap: 1.1rem; min-height: 230px; padding: 0 1.4rem 1rem 0; border: 0; transition: color .3s ease, transform .3s ease; }
.process-list li:last-child { border: 0; }
.process-list li:hover, .process-list li.is-current { padding-left: 0; color: var(--blue-light); transform: translateY(-5px); }
.process-list li::before { top: calc(1.5rem - 5px); left: 0; width: 11px; height: 11px; border: 2px solid var(--blue-light); background: #0e1219; transition: box-shadow .3s ease, background-color .3s ease; }
.process-list li.is-current::before { background: var(--blue-light); box-shadow: 0 0 0 7px #72c2ff20, 0 0 18px #72c2ff; }
.process-list li > span { display: flex; width: 3rem; height: 3rem; align-items: end; color: var(--blue-light); font-size: 1.15rem; font-weight: 500; }
.process-list p, .principle-grid p { max-width: 600px; margin: .5rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.75; }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); padding-top: var(--section-space); padding-bottom: var(--section-space); border-block: 0; }
.principles h2 { max-width: 700px; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; }
.principle-grid { display: grid; grid-template-columns: 1fr; align-content: center; gap: 0; }
.principle-grid article { display: grid; grid-template-columns: 3rem 1fr; gap: .4rem 1rem; padding: 1.1rem 0; border-top: 1px solid #3b4b5a; }
.principle-grid article > span { grid-row: span 2; margin: .1rem 0 0; color: var(--blue-light); }
.principle-grid h3 { font-size: 1.2rem; }

.contact { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem 5rem; overflow: hidden; width: 100%; margin: 0; padding: clamp(5rem, 10vw, 9rem) max(var(--gutter), calc((100% - var(--page)) / 2)); border: 0; background: linear-gradient(105deg, #0e6fb7, #0b3455 75%, #0b1a28); text-align: left; }
.contact .eyebrow { grid-column: 1 / -1; justify-content: flex-start; color: #c5e7ff; }
.contact h2 { position: relative; z-index: 1; max-width: 850px; margin: 0; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .96; }
.contact .accent-text { color: #d8efff; }
.contact > p:last-of-type { position: relative; z-index: 1; max-width: 500px; margin: 0; color: #e0edf6; font-size: 1rem; line-height: 1.8; }
.contact .button-primary { grid-column: 2; justify-self: start; margin-top: 0; border-color: #f2f3ef; background: #f2f3ef; color: #0b1723; }
.contact .button-primary span { color: var(--blue); }
.contact .button-primary:hover { background: #dfeefa; }
.contact-orbit { position: absolute; z-index: -1; top: 13%; right: -4rem; width: min(42vw, 540px); height: 72%; border: 1px solid #d9efff26; border-left: 0; border-radius: 0 55% 55% 0; opacity: .8; }
.contact-orbit::before { position: absolute; top: 50%; left: -1rem; width: 2rem; height: 2rem; border: 1px solid #d9efff88; border-radius: 50%; background: #0e6fb7; box-shadow: 0 0 26px #d9efff88; content: ""; transform: translateY(-50%); }
.contact-orbit::after { position: absolute; top: 50%; right: 0; width: 42%; border-top: 1px solid #d9efff66; content: ""; }
.contact-orbit span { display: none; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); width: min(100% - 2 * var(--gutter), 1440px); margin: auto; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.site-footer p, .site-footer small { margin: 0; color: var(--quiet); font-size: .7rem; }
.site-footer small { justify-self: end; }
.footer-languages { gap: .8rem; }

@keyframes current-drift { from { transform: scale(1.04) translate3d(-.5%, .2%, 0); } to { transform: scale(1.1) translate3d(.6%, -.5%, 0); } }
@keyframes status-pulse { from { opacity: .55; box-shadow: 0 0 4px #72c2ff55; } to { opacity: 1; box-shadow: 0 0 15px #72c2ff; } }
@keyframes route-travel { from { transform: translateX(0); } to { transform: translateX(calc(100% - 5rem)); } }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: center; margin: 0; padding-top: .8rem; }
  .header-cta { margin-left: auto; }
  .hero { min-height: 690px; }
  .hero h1 { max-width: 760px; font-size: clamp(4rem, 9vw, 6.8rem); }
  .collaboration, .approach, .principles { grid-template-columns: 1fr; }
  .collab-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border: 0; }
  .collab-options article { min-height: 220px; border-top: 1px solid #b7ddf84d; }
  .principle-grid { gap: 1rem; }
  .site-footer { grid-template-columns: auto 1fr auto; }
  .site-footer small { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  :root { --gutter: 1.2rem; --section-space: 5.5rem; }
  .site-header { gap: .7rem; padding: 1rem 0; }
  .wordmark { flex-basis: 8rem; width: 8rem; height: 1.65rem; }
  .main-nav { order: 4; justify-content: flex-start; gap: 1.2rem; overflow-x: auto; padding: .85rem 0 0; }
  .main-nav a { white-space: nowrap; font-size: .74rem; }
  .language-nav { gap: .55rem; margin-left: auto; padding-left: .65rem; }
  .language-nav a { font-size: .68rem; }
  .header-cta { display: none; }
  .hero { min-height: 740px; justify-content: flex-start; padding-top: 4.5rem; padding-bottom: 5.2rem; }
  .hero::before { background: linear-gradient(90deg, #090b0f 0%, #090b0fe8 34%, #090b0f70 100%), linear-gradient(0deg, #090b0f 0%, #090b0f 5%, transparent 48%, #090b0f38 100%); }
  .hero-visual { top: 10rem; height: 24rem; object-position: 67% center; }
  .hero::after { display: block; inset: 28% 0 9% 0; opacity: .75; }
  .hero-visual { animation-duration: 20s; }
  .hero h1 { max-width: 12ch; font-size: clamp(3rem, 10.5vw, 4rem); line-height: .95; }
  .hero-lede { max-width: 34rem; margin-top: 1.4rem; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
  .hero-note { max-width: 20rem; margin-top: 1.3rem; }
  .hero-index { bottom: 1.25rem; font-size: .46rem; }
  .hero-index span:last-child { max-width: 62%; }
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .intro::after { grid-column: 1; grid-row: auto; font-size: 2.4rem; }
  .intro .eyebrow { grid-column: 1; }
  .intro h2 { grid-column: 1; }
  .intro h2 { font-size: clamp(3rem, 10.8vw, 4.2rem); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1.25rem; margin-bottom: 2.7rem; }
  .section-heading h2, .collab-intro h2, .approach h2, .principles h2 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .section-heading > p { max-width: 35rem; }
  .service-list { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.2rem minmax(0, 1fr) 1rem; gap: .65rem; min-height: 0; padding: 1.45rem 0; }
  .service-row:first-child { grid-column: auto; grid-template-columns: 2.2rem minmax(0, 1fr) 1rem; gap: .65rem; min-height: 0; margin-bottom: .8rem; padding: 1.6rem .8rem; }
  .service-row:first-child .service-number { font-size: 1rem; }
  .service-row:first-child h3 { font-size: 1.35rem; }
  .service-row:first-child p { font-size: .88rem; }
  .service-row h3 { font-size: 1.2rem; }
  .service-row p { font-size: .84rem; }
  .collaboration { width: 100%; gap: 1.5rem; padding: 4rem var(--gutter); }
  .collab-options { grid-template-columns: 1fr; gap: 0; }
  .collab-options article, .collab-options article + article { min-height: 0; padding: 1.2rem 0; border-left: 0; }
  .collab-options article > span { margin-bottom: 1rem; }
  .approach { gap: 2rem; }
  .process-list { grid-template-columns: 1fr; padding-left: 1.4rem; }
  .process-list::before { top: 1.5rem; right: auto; bottom: 1.4rem; left: 0; width: 1px; height: auto; background: linear-gradient(var(--blue-light), #264057 65%, #293744); }
  .process-list::after { top: 1.5rem; left: -2px; width: 5px; height: 4rem; animation-name: route-travel-vertical; }
  .process-list li { grid-template-rows: auto; grid-template-columns: 2.4rem 1fr; min-height: 150px; gap: .4rem 1rem; padding: .35rem 0 1.5rem; }
  .process-list li > span { width: auto; height: auto; align-items: start; }
  .process-list li::before { top: .45rem; left: -1.7rem; }
  .process-list li:hover, .process-list li.is-current { padding-left: .25rem; }
  .principles { gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
  .principle-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .contact { grid-template-columns: 1fr; gap: 1.2rem; margin: 0; padding: 5rem var(--gutter); }
  .contact .eyebrow, .contact .button-primary { grid-column: 1; }
  .contact > p:last-of-type { margin-top: .5rem; }
  .contact h2 { font-size: clamp(3rem, 11vw, 4.5rem); }
  .contact-orbit { top: 20%; right: -14rem; width: 80vw; height: 68%; }
  .site-footer { grid-template-columns: 1fr auto; gap: .9rem; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .footer-languages { flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
  .footer-languages a { font-size: .68rem; }
  .site-footer small { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .language-nav { gap: .4rem; }
  .language-nav a { font-size: .62rem; }
  .hero { min-height: 780px; }
  .hero h1 { font-size: clamp(3.05rem, 11.2vw, 3.7rem); }
  .hero-index span:last-child { max-width: 12rem; text-align: right; }
  .button { font-size: .76rem; }
  .contact h2 { font-size: 2.8rem; }
}

@keyframes route-travel-vertical { from { transform: translateY(0); } to { transform: translateY(9rem); } }

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