/* Scopebloom's independent visual system. Both packagers copy these exact bytes
   into their own asset folder; edit this source, never the generated copies. */
@font-face {
  font-family: Inter;
  src: url("./fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #111214;
  --surface: #1b1c20;
  --ink: #f7f7f8;
  --ink-secondary: #a9abb4;
  --line: #34353c;
  --blue: #4168f9;
  --blue-hover: #3055e6;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --width: 1160px;
  font: 400 16px / 1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { line-height: 1.07; letter-spacing: -.065em; text-wrap: balance; }
h3 { line-height: 1.2; }
p { color: var(--ink-secondary); }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid #8fa6ff; outline-offset: 5px; }
main:focus { outline: none; }
section:focus:not(:focus-visible) { outline: none; }
.container { width: min(calc(100% - 80px), var(--width)); margin-inline: auto; }
.light-section { color-scheme: light; --canvas: #f5f5f7; --surface: #fff; --ink: #18191e; --ink-secondary: #5c5e69; --line: #d8d9de; color: var(--ink); background: var(--canvas); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--ink-secondary); font: .67rem / 1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; background: #7794ff; }
.light-section .eyebrow::before { background: var(--blue); }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 18px; background: #fff; color: #111214; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: #111214f5; backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; min-height: 86px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -.075em; }
.brand-symbol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 23px; height: 23px; transform: rotate(-8deg); }
.brand-symbol span { background: #7794ff; }
.brand-symbol span:nth-child(1) { border-radius: 0 9px 0 9px; }
.brand-symbol span:nth-child(2) { border-radius: 9px 0 9px 0; }
.brand-symbol span:nth-child(3) { border-radius: 9px 0 9px 0; }
.brand-symbol span:nth-child(4) { border-radius: 0 9px 0 9px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 29px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .79rem; color: var(--ink-secondary); text-decoration: none; }
.main-nav a[data-active], .main-nav a:hover { color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: #7794ff; transform: scaleX(0); transform-origin: left; }
.main-nav a[data-active]::after { transform: scaleX(1); }
.language-switch { display: flex; padding-left: 20px; border-left: 1px solid var(--line); }
.language-switch a { display: grid; place-items: center; min-width: 44px; min-height: 44px; font: .67rem var(--mono); color: var(--ink-secondary); text-decoration: none; }
.language-switch a[aria-current="page"] { color: var(--ink); background: #292b33; }
.language-switch a:hover { color: #fff; background: #343640; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 4px; color: #fff; background: var(--blue); font-size: .81rem; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: var(--blue-hover); }
.button:active { background: #2443bd; transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; min-height: 44px; font-size: .8rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.text-link:active { color: #91a7ff; }
.arrow { position: relative; display: inline-block; flex: 0 0 13px; width: 13px; height: 10px; }
.arrow::before { content: ""; position: absolute; top: 4px; left: 0; width: 12px; height: 1.5px; background: currentColor; }
.arrow::after { content: ""; position: absolute; right: 0; top: 1px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 38px 60px; padding-block: 83px 78px; }
.contact h2 { margin-top: 20px; font-size: clamp(2.1rem, 4.5vw, 3.7rem); }
.contact p:not(.eyebrow) { max-width: 420px; margin-top: 22px; font-size: .93rem; }
.contact-action { justify-self: end; }
.email-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 54px; border-bottom: 1px solid var(--ink); font-size: clamp(1rem, 2.1vw, 1.5rem); letter-spacing: -.035em; text-decoration: none; }
.email-link:hover { color: #3055d4; border-color: currentColor; }
.contact-action p:not(.eyebrow) { font-family: var(--mono); font-size: .65rem; margin-top: 13px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 33px 25px; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.065em; text-decoration: none; }
.footer-note { font-size: .75rem; margin-top: 2px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-secondary); font-size: .71rem; text-decoration: none; }
.legal-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.copyright { margin-top: 25px; color: var(--ink-secondary); font: .61rem / 1.7 var(--mono); }
.title-line { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em; }
.title-line > span { display: block; }
/* One motion vocabulary: brief entrances, gentle surface response, then rest. */
@media (prefers-reduced-motion: no-preference) {
  /* CSS starts the hero on its first paint, before deferred JS/observers run. */
  [data-entrance] { animation: entrance-rise 820ms cubic-bezier(.22, 1, .36, 1) both; }
  [data-entrance="line"] { animation-name: title-unmask; animation-duration: 1050ms; }
  [data-entrance][data-delay="60"] { animation-delay: 60ms; }
  [data-entrance][data-delay="150"] { animation-delay: 150ms; }
  [data-entrance][data-delay="250"] { animation-delay: 250ms; }
  [data-entrance][data-delay="260"] { animation-delay: 260ms; }
  [data-entrance][data-delay="330"] { animation-delay: 330ms; }
  [data-entrance]:focus-within { animation: none; }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #7794ff; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; pointer-events: none; }
  .main-nav a::after { transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
  .main-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
  .arrow { transition: transform 320ms cubic-bezier(.22, 1, .36, 1); }
  :is(.button, .text-link, .email-link):is(:hover, :focus-visible) .arrow { transform: translateX(4px); }
  .brand-symbol { transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
  .brand:is(:hover, :focus-visible) .brand-symbol { transform: rotate(0deg); }
  .project-teaser, .flagship { transition: border-color 400ms ease; }
  :is(.project-teaser, .flagship):is(:hover, :focus-within) { border-color: #6c7599; }
  .teaser-art img, .world-art { transition: transform 1100ms cubic-bezier(.22, 1, .36, 1); }
  :is(.project-teaser, .flagship):is(:hover, :focus-within) :is(.teaser-art img, .world-art) { transform: scale(1.025); }
  .email-link { position: relative; border-bottom-color: #a2a3ad; }
  .email-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 450ms cubic-bezier(.22, 1, .36, 1); }
  .email-link:is(:hover, :focus-visible)::after { transform: scaleX(1); }
}
@keyframes entrance-rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes title-unmask { from { transform: translate3d(0, 105%, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 1000px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 23px; }
  .contact { gap: 32px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 145px; }
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding-top: 12px; min-height: auto; }
  .brand-name { font-size: 1.45rem; }
  .brand-symbol { width: 21px; height: 21px; }
  .language-switch { grid-column: 2; grid-row: 1; padding-left: 0; border-left: none; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; margin: 10px 0 0; border-top: 1px solid var(--line); justify-content: space-between; gap: 15px; }
  .main-nav a { min-height: 49px; font-size: .74rem; }
  .main-nav a::after { bottom: 0; }
  .eyebrow { font-size: .62rem; }
  .button { padding: 13px 18px; gap: 22px; }
  .contact { grid-template-columns: 1fr; padding-block: 55px; gap: 28px; }
  .contact-action { justify-self: start; max-width: 100%; }
  .contact h2 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .email-link { font-size: clamp(1rem, 4.8vw, 1.5rem); gap: 20px; }
  .footer-top { gap: 16px; }
  .legal-nav { gap: 0 19px; }
  .copyright { font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
