:root {
  --color-primary: #000000;
  --color-ink: #000000;
  --color-on-primary: #ffffff;
  --color-on-primary-mute: #f0f0fa;
  --color-canvas-night: #000000;
  --color-canvas-night-soft: #0a0a0a;
  --color-hairline-on-dark: #3a3a3f;
  --color-ink-mute: #5a5a5f;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-space: clamp(24px, 5vw, 76px);
  --content-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-canvas-night); }
body { margin: 0; overflow-x: hidden; color: var(--color-on-primary); background: var(--color-canvas-night); font-family: var(--font-body); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; color: var(--color-ink); background: var(--color-on-primary); }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 30; top: 0; left: 0; width: 100%; height: 88px; padding: 0 var(--page-space); display: flex; align-items: center; gap: clamp(28px, 4vw, 60px); transition: height .3s ease, background .3s ease, backdrop-filter .3s ease; }
.site-header.scrolled { height: 70px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); }
.wordmark { display: inline-block; flex: 0 0 auto; font-family: var(--font-display); font-size: 19px; line-height: 1; font-weight: 700; letter-spacing: .27em; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.25vw, 36px); margin-right: auto; }
.nav-link, .language-link { position: relative; padding: 10px 0; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .096em; text-transform: uppercase; }
.desktop-nav .nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 1px; background: var(--color-on-primary); transition: right .25s ease; }
.desktop-nav .nav-link:hover::after { right: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; align-content: center; gap: 7px; }
.menu-toggle i { display: block; width: 24px; height: 1px; margin-left: auto; background: var(--color-on-primary); transition: transform .25s ease; }
.menu-toggle.active i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 25; inset: 0; padding: 120px 24px 40px; display: flex; flex-direction: column; justify-content: center; background: var(--color-canvas-night); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .28s ease, transform .28s ease, visibility .28s ease; }
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mobile-menu .nav-link { padding: 8px 0; font-family: var(--font-display); font-size: clamp(38px, 12vw, 56px); line-height: .96; letter-spacing: .02em; }
.mobile-cta { margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--color-hairline-on-dark); display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: .09em; }

.panel { position: relative; min-height: max(720px, 100svh); overflow: hidden; isolation: isolate; display: flex; align-items: center; background: var(--color-canvas-night); }
.panel-media { position: absolute; z-index: -3; inset: 0; overflow: hidden; background: var(--color-canvas-night-soft); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.012); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.photo-panel:hover .panel-media img { transform: scale(1.04); }
.panel-content { position: relative; z-index: 2; width: min(600px, calc(100% - 2 * var(--page-space))); margin: 0 var(--page-space); padding-top: 44px; }
.align-left { margin-right: auto; }
.align-right { margin-left: auto; margin-right: clamp(6vw, 11vw, 170px); }
h1, h2 { max-width: 11.5em; margin: 0; font-family: var(--font-display); font-size: clamp(48px, 4vw, 72px); line-height: .95; letter-spacing: .018em; font-weight: 700; text-wrap: balance; }
.hero h1 { max-width: 10em; font-size: clamp(56px, 4.7vw, 72px); }
.panel-content p { max-width: 500px; margin: 24px 0 0; color: var(--color-on-primary-mute); font-size: 16px; line-height: 1.7; letter-spacing: .02em; }
.ghost-button { min-height: 52px; margin-top: 30px; padding: 18px 24px; border: 1px solid var(--color-on-primary); border-radius: 4px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font-size: 13px; line-height: .94; font-weight: 700; letter-spacing: .09em; transition: color .22s ease, background .22s ease; }
.ghost-button span { font-size: 20px; line-height: 0; font-weight: 400; }
.ghost-button:hover { color: var(--color-ink); background: var(--color-on-primary); }

.hero { background: radial-gradient(circle at 72% 47%, #0a0a0a 0, #000000 58%); }
.starfield { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .78; pointer-events: none; }
.moon-stage { position: absolute; z-index: 1; pointer-events: none; }
.hero-moon { width: min(62vw, 920px); aspect-ratio: 1; right: -9vw; top: 50%; transform: translateY(-50%); }
.moon-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(240,240,250,.08), transparent 68%); filter: blur(18px); }
.moon-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.moon-fallback { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; animation: moon-spin 34s linear infinite; transform-origin: center; }
.moon-stage.no-webgl .moon-canvas { display: none; }
.moon-stage.no-webgl .moon-fallback { display: block; }
.hero-content { width: min(650px, calc(100% - 2 * var(--page-space))); margin-right: auto; }
.motion-toggle { position: absolute; z-index: 5; right: var(--page-space); bottom: 32px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--color-hairline-on-dark); border-radius: 50%; background: rgba(0,0,0,.42); cursor: pointer; font-size: 12px; }

.technology::after, .finance::after, .industries::after { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.technology::after { background: linear-gradient(90deg, transparent 28%, rgba(0,0,0,.22) 52%, rgba(0,0,0,.9) 83%, rgba(0,0,0,.96)); }
.technology .panel-media img { object-position: center; filter: brightness(.92) contrast(1.04); }
.finance::after { background: linear-gradient(90deg, rgba(0,0,0,.94) 0, rgba(0,0,0,.72) 34%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.25)); }
.finance .panel-media img { object-position: center; filter: brightness(.9) contrast(1.03); }
.industries::after { background: linear-gradient(90deg, transparent 24%, rgba(0,0,0,.16) 50%, rgba(0,0,0,.78) 82%, rgba(0,0,0,.94)); }
.industries .panel-media img { object-position: center; filter: brightness(.94) contrast(1.02); }
.industries .panel-content { width: min(700px, calc(100% - 2 * var(--page-space))); }

.purpose { background: radial-gradient(circle at 76% 48%, #0a0a0a 0, #000000 55%); padding-bottom: 114px; }
.purpose-stars { opacity: .46; }
.purpose-moon { width: min(52vw, 760px); aspect-ratio: 1; right: -4vw; top: 48%; transform: translateY(-50%) rotate(-10deg); }
.purpose-moon .moon-fallback { animation-direction: reverse; animation-duration: 38s; }
footer { position: absolute; z-index: 4; left: var(--page-space); right: var(--page-space); bottom: 0; min-height: 92px; border-top: 1px solid var(--color-hairline-on-dark); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; color: var(--color-on-primary-mute); }
.footer-mark { color: var(--color-on-primary); font-size: 15px; }
footer p, footer small { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .075em; }

.reveal { opacity: 1; transform: none; }
.js .reveal:not(.visible) { opacity: 1; transform: translateY(12px); }
.js .reveal { transition: opacity .48s ease, transform .48s cubic-bezier(.2, .8, .2, 1); }
.motion-paused .moon-fallback { animation-play-state: paused; }
@keyframes moon-spin { to { transform: rotate(360deg); } }

@media (max-width: 780px) {
  :root { --page-space: 24px; }
  .site-header, .site-header.scrolled { height: 68px; padding: 0 20px; background: linear-gradient(180deg, rgba(0,0,0,.72), transparent); backdrop-filter: none; }
  .wordmark { font-size: 16px; letter-spacing: .24em; }
  .desktop-nav { display: none; }
  .header-actions { gap: 14px; }
  .language-link { font-size: 11px; }
  .menu-toggle { display: grid; }
  .panel { min-height: 100svh; display: grid; grid-template-rows: minmax(58svh, 1fr) auto; align-items: stretch; }
  .panel-media { position: relative; grid-row: 1; height: 60svh; z-index: -1; }
  .panel-content, .align-left, .align-right { grid-row: 2; align-self: stretch; width: auto; max-width: none; margin: 0; padding: 28px 24px 42px; background: var(--color-canvas-night); }
  h1, h2, .hero h1 { max-width: 12em; font-size: clamp(36px, 10.3vw, 40px); line-height: .98; letter-spacing: .018em; }
  .panel-content p { margin-top: 18px; font-size: 16px; line-height: 1.55; }
  .ghost-button { min-height: 50px; margin-top: 24px; padding: 17px 20px; }
  .hero { display: grid; grid-template-rows: 58svh auto; background: var(--color-canvas-night); }
  .hero::before, .purpose::before { content: ""; position: absolute; z-index: -3; top: 0; left: 0; right: 0; height: 58svh; background: radial-gradient(circle at 50% 45%, #0a0a0a, #000000 68%); }
  .starfield { height: 58svh; bottom: auto; opacity: .72; }
  .hero-moon { width: min(78vw, 470px); right: 50%; top: 29svh; transform: translate(50%, -50%); }
  .hero-content { padding-top: 30px; padding-bottom: 44px; }
  .motion-toggle { right: 20px; bottom: calc(42svh + 18px); width: 42px; height: 42px; }
  .technology::after, .finance::after, .industries::after { top: 0; bottom: auto; height: 60svh; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 30%); }
  .technology .panel-media img { object-position: 43% center; filter: brightness(1) contrast(1.02); }
  .finance .panel-media img { object-position: 66% center; filter: brightness(.98) contrast(1.02); }
  .industries .panel-media img { object-position: 62% center; filter: brightness(1) contrast(1.02); }
  .industries .panel-content { width: auto; }
  .purpose { padding-bottom: 0; grid-template-rows: 58svh auto 144px; }
  .purpose::before { height: 58svh; }
  .purpose-stars { height: 58svh; }
  .purpose-moon { width: min(74vw, 440px); right: 50%; top: 29svh; transform: translate(50%, -50%) rotate(-10deg); }
  .purpose .panel-content { grid-row: 2; }
  footer { position: relative; grid-row: 3; left: auto; right: auto; bottom: auto; min-height: 144px; margin: 0 24px; grid-template-columns: 1fr auto; grid-template-rows: 1fr 1fr; gap: 8px 20px; }
  footer p { grid-column: 1 / -1; grid-row: 2; align-self: start; }
  footer small { justify-self: end; }
}

@media (max-width: 390px) {
  :root { --page-space: 20px; }
  .panel-content, .align-left, .align-right { padding-left: 20px; padding-right: 20px; }
  .wordmark { font-size: 15px; }
  .language-link { display: none; }
  footer { margin-left: 20px; margin-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .moon-fallback { animation: none; }
  .panel-media img, .photo-panel:hover .panel-media img, .reveal, .js .reveal:not(.visible) { transform: none; transition: none; }
  .reveal, .js .reveal:not(.visible) { opacity: 1; }
}
