/* AURA's shared frame. Project artwork retains its own palette and geometry. */
:root { background: #101114; color-scheme: dark; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: aura-page-out 190ms ease-out both; }
::view-transition-new(root) { animation: aura-page-in 360ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes aura-page-out { to { opacity: 0; } }
@keyframes aura-page-in { from { opacity: 0; } to { opacity: 1; } }

body.aura-system {
  --aura-ground: #101114;
  --aura-panel: #17191d;
  --aura-ink: #e8e9eb;
  --aura-muted: #a2a6af;
  --aura-rule: #d8dce32c;
  --aura-silver: #c4c8cf;
  --shell-paper: var(--aura-ground);
  --shell-ink: var(--aura-ink);
  --shell-muted: var(--aura-muted);
  --shell-rule: var(--aura-rule);
  --shell-blue: #24262d;
  --corona-ink: #f0f2f5;
  accent-color: #cbd0d8;
}
body.aura-system:is([data-page="samples"], [data-page="inquiry"], [data-page="connections"], [data-page="studio"]) {
  background-color: var(--aura-ground);
  color: var(--aura-ink);
  color-scheme: dark;
}
.aura-system ::selection { background: #c4c8cf; color: #101114; }
.aura-system :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #d7e2ef;
  outline-offset: 5px;
}
.aura-system .skip-link { background: #e8e9eb; color: #101114 !important; }
.aura-system .site-header {
  color: #e8e9eb;
  border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease;
}
.aura-system[data-aura-scrolled="true"] .site-header:not(.spotlight-nav) {
  background: #101114ee;
  border-color: #d8dce31c;
  backdrop-filter: blur(18px);
}
.aura-system .site-wordmark { color: #e8e9eb; }
.aura-system :is(.site-wordmark small, .site-location) { color: #a2a6af; }
.aura-system .site-wordmark small { border-color: #d8dce335; }
.aura-system .site-nav { gap: 3px; }
.aura-system .site-nav a {
  position: relative;
  min-height: 44px;
  padding-right: 20px;
  padding-left: 20px;
  background: #101114b8;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: #acb0b9;
  backdrop-filter: blur(14px);
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.aura-system .site-nav a::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 3px;
  left: 20px;
  height: 1px;
  background: #dadddf;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.aura-system .site-nav a[aria-current="page"] {
  color: #f0f1f3;
  background: #17191dc9;
  border-color: #d8dce328;
  box-shadow: none;
}
.aura-system .site-nav a[aria-current="page"]::after,
.aura-system .site-nav a:hover::after,
.aura-system .site-nav a:focus-visible::after { transform: scaleX(1); }
.aura-system .site-nav a:hover { color: #f1f2f4; background: #24262dbf; border-color: #d8dce340; box-shadow: none; }
.aura-system :is(.page-footer, .connections-footer) { border-color: var(--aura-rule); color: #a2a6af; }

/* A native project has its own world; the studio's surrounding information is shared. */
body.aura-system[data-page="project"] :is(.sample-header, .sample-footer) {
  color: #e8e9eb;
  background: #101114;
  border-color: #d8dce32c;
}
body.aura-system[data-page="project"] .sample-header .inquiry-link { color: #a2a6af; }
body.aura-system[data-page="project"] .sample-header .inquiry-link:hover { color: #f0f1f3; }
body.aura-system[data-page="project"] .sample-header > a:first-child {
  background: #17191d;
  color: #e8e9eb;
  border-color: #d8dce34c;
}
body.aura-system[data-page="project"] .sample-header > a:first-child:hover {
  background: #24262d;
  color: #f0f1f3;
  border-color: #d8dce37a;
}
body.aura-system[data-page="project"] .intention {
  --surface: #101114;
  --text: #e8e9eb;
  --muted: #a2a6af;
  --line: #d8dce32c;
  background: #101114;
  color: #e8e9eb;
  border-color: #d8dce32c;
}
body.aura-system[data-page="project"] .sample-footer a { color: #e8e9eb; }
body.aura-system[data-page="project"] .case-intent,
body.aura-system[data-page="project"] .implementation {
  background: #17191d;
  color: #e8e9eb;
  border-color: #d8dce32c;
}
body.aura-system[data-page="project"] :is(.case-intent, .implementation) :is(h2, h3, dt) { color: #e8e9eb; }
body.aura-system[data-page="project"] :is(.case-intent, .implementation) :is(p, dd, .case-eyebrow, .section-eyebrow) { color: #aeb2bb; }
body.aura-system[data-page="project"] :is(.case-purpose-summary > div, .case-intent-note, .scope-list article, .scope-note) { border-color: #d8dce32c; }
body.aura-system[data-page="project"] .implementation :is(.scope-list article > span, .scope-note > span) { color: #a2a6af; }
body.aura-system[data-page="project"] .case-next { background: #101114; color: #e8e9eb; border-color: #d8dce32c; }
body.aura-system[data-page="project"] .case-next :is(small, a) { color: inherit; }
body.aura-system[data-page="project"] .case-next nav > a:first-child { border-color: #d8dce34c; }
body.aura-system[data-page="project"] .case-navigation { background: #101114; color: #e8e9eb; border-color: #d8dce32c; mix-blend-mode: normal; }
body.aura-system[data-page="project"] .case-navigation .brand { color: #e8e9eb; }
body.aura-system[data-page="project"] .case-navigation nav > a { color: #d5d8de; }
body.aura-system[data-page="project"] .case-navigation nav > a:first-child { border-color: #d8dce34c; }

/* Effects sit above the layout and never crop, tint or transform source imagery. */
.aura-system-progress {
  position: fixed;
  z-index: 109;
  inset: 0 0 auto;
  height: 1px;
  background: #e8ecf3;
  box-shadow: 0 0 7px #d9e2f040;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.aura-system-pointer {
  position: fixed;
  z-index: 111;
  width: 96px;
  height: 96px;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease-out;
  mix-blend-mode: screen;
  will-change: transform;
}
.aura-system-pointer .aura-corona { inset: 0; width: 100%; height: 100%; }
.aura-system-pointer[data-visible="true"] { opacity: .38; }
.aura-system-frame {
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  border: 1px solid #e3e9f04a;
  transition: opacity 100ms ease-out;
  color: #e0e8f1a6;
  background: transparent;
}
.aura-system-frame::before,
.aura-system-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-color: currentColor;
  border-style: solid;
  pointer-events: none;
}
.aura-system-frame::before { border-width: 1px 0; clip-path: polygon(0 0,12px 0,12px 2px,calc(100% - 12px) 2px,calc(100% - 12px) 0,100% 0,100% 100%,calc(100% - 12px) 100%,calc(100% - 12px) calc(100% - 2px),12px calc(100% - 2px),12px 100%,0 100%); }
.aura-system-frame::after { border-width: 0 1px; clip-path: polygon(0 0,100% 0,100% 12px,calc(100% - 2px) 12px,calc(100% - 2px) calc(100% - 12px),100% calc(100% - 12px),100% 100%,0 100%,0 calc(100% - 12px),2px calc(100% - 12px),2px 12px,0 12px); }
.aura-system-frame-label {
  position: absolute;
  top: -22px;
  left: -1px;
  max-width: calc(100vw - 16px);
  padding: 2px 5px;
  background: #000e;
  color: #d8e0e8;
  font: 8px/15px 'Courier New', monospace;
  letter-spacing: .035em;
  white-space: nowrap;
}
.aura-system-frame[data-label-inside="true"] .aura-system-frame-label { top: 6px; left: 6px; }
.aura-system-frame[data-label-align="right"] .aura-system-frame-label { left: auto; right: -1px; }
.aura-system-frame[data-visible="true"] { opacity: 1; }
.aura-system[data-page="connections"] .aura-system-pointer[data-visible="true"] { opacity: .25; }
.aura-system[data-page="connections"] .aura-system-frame { color: #e0e8f16b; border-color: #e3e9f017; }
.aura-system[data-aura-paused="true"] :is(.aura-system-pointer, .aura-system-frame) { opacity: 0; transition: none; }

@media (max-width: 650px) {
  .aura-system .site-nav a { padding-right: 8px; padding-left: 8px; }
  .aura-system .site-nav a::after { right: 10px; left: 10px; }
}
@media (hover: none), (pointer: coarse) {
  .aura-system-pointer, .aura-system-frame { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .aura-system :is(.site-header, .site-nav a, .site-nav a::after) { transition: none; }
  .aura-system-pointer, .aura-system-frame { display: none; }
}

