@font-face {
  font-family: Unbounded;
  src: url("/assets/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Unbounded;
  src: url("/assets/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  color-scheme: dark;
  --black: #090810;
  --ink: #f5f2fb;
  --muted: #b5afc2;
  --violet: #bda8ff;
  --line: #ffffff20;
  --display: Unbounded, system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--black); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
::selection { color: #161025; background: #c7b8ff; }
:focus-visible { outline: 2px solid #e4d7ff; outline-offset: 5px; }
.shell { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }
.skip { position: fixed; inset: 1rem auto auto 1rem; z-index: 10; padding: .5rem 1rem; background: var(--ink); color: var(--black); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { position: absolute; inset: 0 0 auto; z-index: 3; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.3rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; flex: none; font: 780 .77rem/.94 var(--display); letter-spacing: -.055em; }
.wordmark-sub { display: block; margin-top: .24rem; font-size: .54rem; font-weight: 560; letter-spacing: .16em; color: var(--muted); }
.mark { display: block; width: 1.95rem; aspect-ratio: 1; flex: none; background: var(--violet); clip-path: polygon(5% 70%,55% 12%,78% 12%,29% 70%,5% 70%,45% 84%,94% 26%,94% 52%,68% 84%,45% 84%); }
.masthead nav { display: flex; align-items: center; gap: clamp(1rem, 3.5vw, 3.8rem); font-size: .88rem; font-weight: 650; color: #e4deed; }
.masthead nav a, .to-top { transition: color .2s ease; }
.masthead nav a:hover, .to-top:hover { color: var(--violet); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(53rem, 100svh); padding-block: clamp(8rem,16vh,11rem) 6rem; overflow: clip; background: #0b0915; }
.hero-visual, .hero-grain { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-visual { transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0) scale(1.04); overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#090810f5 0%,#09081089 42%,#0908100b 78%),linear-gradient(0deg,#090810 0%,transparent 26%,transparent 78%,#09081068 100%); pointer-events: none; }
.hero-grain { z-index: 1; opacity: .18; background: repeating-linear-gradient(transparent 0 3px,#d8cbff0d 4px,transparent 5px); }
.hero-orbit { position: absolute; z-index: -1; width: min(64vw, 66rem); aspect-ratio: 1; right: -18%; top: -44%; border: 1px solid #c5b4ff29; border-radius: 50%; pointer-events: none; }
.hero-orbit::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; inset: auto auto 12% 16%; background: #e8ddff; box-shadow: 0 0 16px 4px #b99aff96; animation: beacon 4s ease-in-out; }
.hero-inner { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .72rem; color: var(--violet); font: 650 .84rem/1.4 var(--mono); letter-spacing: .155em; }
.eyebrow > span { width: 1rem; height: 1px; flex: none; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero h1 { margin-top: .44em; font: 810 clamp(3.15rem, 8.55vw, 8.2rem)/.975 var(--display); letter-spacing: -.058em; word-spacing: .045em; }
.hero h1 > span { display: block; }
.hero h1 > span + span { font-size: .79em; color: #e3dbf4; }
.period { color: var(--violet); }
.hero-description { margin-top: 1.8rem; max-width: 32rem; color: #dbd3e9; font-size: clamp(1rem, 1.45vw, 1.28rem); line-height: 1.52; }
.cta { position: relative; display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; padding: .84rem 1.2rem; border: 1px solid #d6c7ff; border-radius: .27rem; background: #d8c9ff; color: #191125; font-size: .91rem; font-weight: 780; box-shadow: 0 0 1.5rem #a88af42c; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.cta:hover { transform: translateY(-3px); background: #f0e7ff; box-shadow: 0 0 2rem #c5adff66; }
.cta-glyph { width: .88rem; aspect-ratio: 1; background: linear-gradient(currentColor,currentColor) left top/35% 35%,linear-gradient(currentColor,currentColor) right top/35% 35%,linear-gradient(currentColor,currentColor) left bottom/35% 35%,linear-gradient(currentColor,currentColor) right bottom/35% 35%; background-repeat: no-repeat; }
.hero-base { position: absolute; inset: auto 0 1.7rem; display: flex; align-items: center; gap: .65rem; pointer-events: none; }
.hero-base span:first-child { width: 3.5rem; height: 1px; background: #cbbaff9c; box-shadow: 0 0 11px #ac8cff; }
.hero-base span:last-child { flex: 1; height: 1px; background: var(--line); }

.projects { padding-block: clamp(3.8rem, 8vw, 8rem) clamp(5rem, 10vw, 10rem); scroll-margin-top: 1.6rem; }
.section-head .eyebrow, .studio .eyebrow { margin-bottom: 1.1rem; }
.section-head h2, .studio h2 { max-width: 17ch; font: 700 clamp(2rem, 4.5vw, 4.65rem)/1.13 var(--display); letter-spacing: -.055em; word-spacing: .035em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.1vw, 2rem); margin-top: clamp(2.1rem, 5vw, 4.6rem); align-items: start; }
.project { --accent: #c7ee93; --surface: #101713; background: var(--surface); border: 1px solid #c9ffc227; border-radius: .6rem; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.project.mystic { --accent: #ffbda4; --surface: #1b1221; border-color: #ffbda42c; margin-top: clamp(2.2rem, 4vw, 4rem); }
.project:hover { border-color: color-mix(in srgb, var(--accent) 56%, transparent); box-shadow: 0 1.25rem 4rem #0006; }
.project-art { position: relative; isolation: isolate; aspect-ratio: 1.51; overflow: hidden; background: #1b2220; }
.mystic .project-art { background: #2a1e2f; }
.project-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.045); }
.project-art::after { content: ""; position: absolute; inset: 55% 0 0; pointer-events: none; background: linear-gradient(transparent,#080a10d4); }
.art-grid { position: absolute; inset: 1rem; border: 1px solid #ffffff28; border-radius: .2rem; pointer-events: none; }
.project-art figcaption { position: absolute; z-index: 1; bottom: 1.55rem; left: 1.6rem; display: flex; align-items: center; gap: .5rem; color: #fff; font: 700 .77rem/1 var(--mono); letter-spacing: .1em; }
.project-art figcaption i { background: var(--accent); width: .36rem; height: .36rem; border-radius: 50%; }
.project-body { display: grid; gap: .8rem; padding: clamp(1.25rem, 3vw, 2.4rem); }
.project-body .eyebrow { color: var(--accent); }
.project-body h3 { font: 750 clamp(1.9rem, 4vw, 4.2rem)/1.05 var(--display); letter-spacing: -.055em; }
.project-body > p:last-child { max-width: 45ch; color: #d5cde1; font-size: clamp(1rem, 1.4vw, 1.13rem); }

.studio { position: relative; isolation: isolate; overflow: clip; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 78% 76%,#32204c 0%,#160f25 35%,#100d19 65%); scroll-margin-top: 1rem; }
.studio-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; min-height: 28rem; padding-block: clamp(3.5rem, 8vw, 7rem); }
.studio-copy { z-index: 1; }
.studio-copy > p:last-child { max-width: 37rem; margin-top: 1.4rem; color: #d4ccdf; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.studio-orbit { position: relative; display: grid; place-items: center; width: min(38vw,29rem); aspect-ratio: 1; justify-self: center; margin-block: -5rem; color: #bca5ff; }
.studio-orbit i { position: absolute; width: 90%; height: 34%; border: 1px solid #c0a6ff77; border-radius: 50%; transform: rotate(-31deg); }
.studio-orbit i:nth-child(2) { transform: rotate(29deg); opacity: .53; }
.studio-orbit i:nth-child(3) { width: 63%; height: 63%; border-style: dashed; opacity: .41; }
.studio-orbit i:nth-child(4) { width: 87%; height: 87%; opacity: .21; }
.studio-orbit .mark { width: 24%; height: auto; filter: drop-shadow(0 0 1rem #cfb8ff); }
.studio-orbit.visible i:nth-child(3) { animation: spin 4.5s cubic-bezier(.18,.69,.29,1); }
.studio-orbit.visible .mark { animation: float 4.5s ease-in-out; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 7rem; gap: 1rem; padding-block: 1.3rem; color: var(--muted); font-size: .84rem; }
.footer .wordmark { color: var(--ink); }
.to-top { color: var(--ink); }

.motion .hero-eyebrow, .motion .hero h1 > span, .motion .hero-description, .motion .cta { animation: enter .78s cubic-bezier(.2,.7,.2,1) backwards; }
.motion .hero h1 > span { animation-delay: .09s; }
.motion .hero h1 > span + span { animation-delay: .17s; }
.motion .hero-description { animation-delay: .24s; }
.motion .cta { animation-delay: .32s; }
.motion [data-reveal] { transition: opacity .75s ease, translate .75s cubic-bezier(.22,.72,.25,1), border-color .3s ease, box-shadow .3s ease; }
.motion [data-reveal]:not(.visible) { opacity: 0; translate: 0 1.4rem; }
@keyframes enter { from { opacity: 0; transform: translateY(1.4rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(-90deg); } to { transform: rotate(0); } }
@keyframes beacon { 50% { opacity: .28; } }
@keyframes float { 50% { transform: translateY(-.7rem); } }

@media (max-width: 47rem) {
  .hero { min-height: max(38rem, 88svh); padding-block: 9rem 5.2rem; }
  .hero-visual img { object-position: 63% center; }
  .hero::after { background: linear-gradient(90deg,#090810da 0%,#09081060 78%),linear-gradient(0deg,#090810 0%,transparent 34%); }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 5.3rem); }
  .hero h1 > span + span { font-size: .72em; }
  .hero-orbit { width: 90vw; top: -15%; right: -34%; }
  .project-grid { grid-template-columns: 1fr; }
  .project.mystic { margin-top: 0; }
  .studio-grid { grid-template-columns: 1fr; min-height: 0; }
  .studio-orbit { position: absolute; opacity: .25; right: -10%; width: 58vw; }
}
@media (max-width: 27rem) {
  .masthead-inner { min-height: 4.25rem; gap: .65rem; }
  .masthead nav { gap: .85rem; font-size: .84rem; }
  .wordmark { gap: .45rem; }
  .masthead .mark { width: 1.5rem; }
  .desktop-break { display: none; }
  .footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion [data-reveal]:not(.visible) { opacity: 1; translate: none; }
}
