:root {
  color-scheme: dark;
  --background: #060c13;
  --foreground: #f2f5f8;
  --secondary: #a9bed0;
  --accent: #b6deef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
::selection { background: #477e97; color: #fff; }
:focus-visible { outline: 2px solid #9edbf4; outline-offset: 7px; }

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 800px;
  min-height: max(800px, 100svh);
  overflow: hidden;
}

.hero-scene, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-scene { background: var(--background); }
.hero-scene picture, .hero-scene img, .hero-scene canvas { display: block; width: 100%; height: 100%; }
.hero-scene picture, .hero-scene canvas { position: absolute; inset: 0; }
.hero-scene img { object-fit: cover; object-position: 100% 50%; }
.hero-scene canvas { pointer-events: none; }
.hero-shade {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgb(6 12 19 / .88) 0%, transparent 16%, transparent 84%, rgb(6 12 19 / .28) 100%),
    linear-gradient(90deg, rgb(6 12 19 / .98) 0%, rgb(6 12 19 / .89) 25%, rgb(6 12 19 / .66) 37%, rgb(6 12 19 / .13) 59%, transparent 74%);
}

.site-header, .hero-content, .site-footer { padding-inline: clamp(24px, 4.6vw, 88px); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.wordmark { font-size: 1.9rem; font-weight: 500; letter-spacing: -.065em; line-height: 1; text-decoration: none; }
.header-contact { font-size: .9375rem; text-decoration: none; color: #cfdae4; padding: 12px 0; transition: color .15s ease; }
.header-contact:hover { color: #fff; }

.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 72px 88px; }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: .8125rem; font-weight: 500; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; max-width: 9.3em; font-size: clamp(3.5rem, 5.2vw, 5.6rem); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
h1 span { display: block; }
.pillars { max-width: 34rem; margin: 28px 0 0; color: var(--secondary); font-size: clamp(.9375rem, 1.13vw, 1.0625rem); line-height: 1.85; font-weight: 400; }
.pillars span { padding-inline: .3em; opacity: .75; }
.pillars .mobile-separator { display: none; }
.contact { margin: 32px 0 0; color: #a7b9c8; font-size: .9375rem; line-height: 1.7; }
.contact a { display: inline-block; margin-left: 5px; padding-block: 3px; color: #e6f3fb; text-decoration-color: #66889c; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact a:hover { color: #fff; text-decoration-color: #c3eaff; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding-block: 20px; }
.site-footer p { margin: 0; color: #9aafbf; font-size: .8125rem; line-height: 1.5; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; background: rgb(7 15 24 / .66); color: #c3d3df; border: 1px solid rgb(161 194 215 / .22); border-radius: 4px; cursor: pointer; font-size: .8125rem; line-height: 1.4; }
.motion-toggle:hover { color: #fff; border-color: rgb(161 194 215 / .6); }
.motion-toggle svg { flex: none; }
.skip-link { position: absolute; top: -80px; left: 24px; z-index: 10; padding: 12px 18px; background: #edf6fc; color: #09111b; border-radius: 2px; }
.skip-link:focus { top: 16px; }

@media (min-width: 1900px) {
  .site-shell { min-height: max(940px, 100svh); }
  .hero-content { padding-block: 100px; }
}

@media (max-width: 900px) {
  .site-shell { min-height: max(1000px, 100svh); }
  .site-header { min-height: 86px; }
  .hero-content { justify-content: flex-start; padding-top: 64px; padding-bottom: 430px; }
  .hero-scene { top: auto; bottom: 48px; height: 580px; mask-image: linear-gradient(180deg, transparent, #000 9%, #000 92%, transparent); }
  .hero-shade { background: linear-gradient(180deg, #060c13 0%, #060c13 36%, rgb(6 12 19 / .94) 42%, rgb(6 12 19 / .35) 57%, transparent 74%, rgb(6 12 19 / .92) 100%); }
  h1 { font-size: clamp(3.2rem, 7.6vw, 4.9rem); }
  .eyebrow { margin-bottom: 20px; }
  .pillars { font-size: 1rem; }
  .site-footer { min-height: 76px; }
}

@media (max-width: 540px) {
  .site-shell { min-height: max(850px, 100svh); }
  .site-header { min-height: 80px; }
  .wordmark { font-size: 1.7rem; }
  .hero-content { padding-top: 42px; padding-bottom: 86vw; }
  h1 { font-size: clamp(2.4rem, 11.3vw, 3.6rem); line-height: 1.06; }
  .eyebrow { font-size: .75rem; margin-bottom: 20px; }
  .pillars { font-size: .9375rem; max-width: 22rem; margin-top: 24px; line-height: 1.8; }
  .desktop-break { display: none; }
  .pillars .mobile-separator { display: inline; }
  .contact { margin-top: 24px; font-size: .9375rem; }
  .hero-scene { height: 86vw; bottom: 72px; }
  .hero-shade { background: linear-gradient(180deg, #060c13 0%, #060c13 41%, rgb(6 12 19 / .95) 46%, rgb(6 12 19 / .25) 62%, transparent 79%, #060c13 96%); }
  .site-footer { align-items: center; flex-wrap: wrap; min-height: 76px; padding-top: 14px; padding-bottom: 18px; gap: 10px; }
  .site-footer p { font-size: .75rem; }
  .motion-toggle { font-size: .75rem; padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
